Commit Graph

880 Commits

Author SHA1 Message Date
John Mark Bell
d718a30c57 [project @ 2004-09-29 03:33:24 by jmb]
Lose redundant font table.
Rework bold and italic font support.
This is now user-configurable but I've little intention of writing GUI Choices code for this.
Smallcaps is still broken and needs some thinking about - probably best to drop the smallcaps font variants and convert lowercase chars to uppercase. Quite how this works for non-latin text, I've no idea.

svn path=/import/netsurf/; revision=1293
2004-09-29 03:33:24 +00:00
John Mark Bell
5802723281 [project @ 2004-09-27 05:21:00 by jmb]
Improve !Boot file and support protocol fallback positions.

svn path=/import/netsurf/; revision=1287
2004-09-27 05:21:00 +00:00
John Mark Bell
e8c7058873 [project @ 2004-09-24 23:52:40 by jmb]
German translation support (needs templates et al.)

svn path=/import/netsurf/; revision=1282
2004-09-24 23:52:40 +00:00
John Mark Bell
dd183bcb7e [project @ 2004-09-14 14:48:51 by jmb]
Fix stupidity related to font table initialisation.

svn path=/import/netsurf/; revision=1279
2004-09-14 14:48:51 +00:00
John Mark Bell
b74184c247 [project @ 2004-09-13 23:59:30 by jmb]
Add some #defines

svn path=/import/netsurf/; revision=1276
2004-09-13 23:59:30 +00:00
John Mark Bell
8f9221c6ca [project @ 2004-09-13 23:56:45 by jmb]
Fixup to handle changed option variable name

svn path=/import/netsurf/; revision=1275
2004-09-13 23:56:45 +00:00
John Mark Bell
c358b80cc5 [project @ 2004-09-13 23:56:18 by jmb]
Make fonts user-configurable.
This loses font-style support, though it shouldn't be hard to put it back again.

svn path=/import/netsurf/; revision=1274
2004-09-13 23:56:18 +00:00
Richard Wilson
8e0b3d8136 [project @ 2004-09-07 23:24:32 by rjw]
Fix for renamed hotlist icon

svn path=/import/netsurf/; revision=1273
2004-09-07 23:24:32 +00:00
Richard Wilson
52ac79872c [project @ 2004-09-07 23:14:31 by rjw]
Norcroft fix and update relating to CVS filename change

svn path=/import/netsurf/; revision=1272
2004-09-07 23:14:31 +00:00
Richard Wilson
289cca466d [project @ 2004-09-07 23:05:34 by rjw]
Updates for new theme format along with a few minor bug fixes.

svn path=/import/netsurf/; revision=1269
2004-09-07 23:05:34 +00:00
John Mark Bell
101c87958d [project @ 2004-09-04 16:41:28 by jmb]
Fix jpeg redraw
Move png.c/h to /image and rework to use the bitmap code
Make RISC OS bitmap struct publically accessible (via riscos/bitmap.h)
Draw export now embeds JPEGs and PNGs/MNGs/JNGs correctly again.
Background images are now plotted correctly again.

svn path=/import/netsurf/; revision=1268
2004-09-04 16:41:28 +00:00
John Tytgat
e223757e35 [project @ 2004-09-04 14:37:57 by joty]
Norcroft compile fixes.

svn path=/import/netsurf/; revision=1267
2004-09-04 14:37:57 +00:00
James Bursa
a9e62d78f7 [project @ 2004-09-04 07:08:26 by bursa]
Add missing files.

svn path=/import/netsurf/; revision=1266
2004-09-04 07:08:26 +00:00
James Bursa
3371a27391 [project @ 2004-09-03 22:44:47 by bursa]
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken.

svn path=/import/netsurf/; revision=1265
2004-09-03 22:44:48 +00:00
Richard Wilson
fa9cc913e5 [project @ 2004-09-01 20:57:25 by rjw]
Fix for incorrect stop button shading. Some fixes to stop a lack of content causing menu code to fail.

svn path=/import/netsurf/; revision=1261
2004-09-01 20:57:25 +00:00
Richard Wilson
fceba6cbc6 [project @ 2004-09-01 16:48:25 by rjw]
Fix for previous stupidity.

svn path=/import/netsurf/; revision=1260
2004-09-01 16:48:25 +00:00
Richard Wilson
13ae21f22b [project @ 2004-08-31 19:51:29 by rjw]
Remove flicker from repeatedly setting icons as shaded.

svn path=/import/netsurf/; revision=1259
2004-08-31 19:51:29 +00:00
Richard Wilson
b14219359d [project @ 2004-08-31 19:50:15 by rjw]
GIF reading now assumes files follow the spec and works bad files only in special cases.

svn path=/import/netsurf/; revision=1258
2004-08-31 19:50:15 +00:00
Richard Wilson
a8661b3a64 [project @ 2004-08-31 18:01:22 by rjw]
Further theme related fixes

svn path=/import/netsurf/; revision=1257
2004-08-31 18:01:22 +00:00
Richard Wilson
98d17f19a6 [project @ 2004-08-30 21:57:47 by rjw]
Various small theme related fixes

svn path=/import/netsurf/; revision=1256
2004-08-30 21:57:47 +00:00
Richard Wilson
c6ffb4b578 [project @ 2004-08-30 21:04:11 by rjw]
Removal of redundant files.

svn path=/import/netsurf/; revision=1255
2004-08-30 21:04:11 +00:00
Richard Wilson
bf57d852ae [project @ 2004-08-30 21:03:48 by rjw]
Reworking of themes and toolbars.

svn path=/import/netsurf/; revision=1254
2004-08-30 21:03:48 +00:00
John Mark Bell
e1f1c5de19 [project @ 2004-08-27 23:10:55 by jmb]
Fix exporting of GIFs as Sprite.

svn path=/import/netsurf/; revision=1253
2004-08-27 23:10:55 +00:00
John Tytgat
f34a485dc6 [project @ 2004-08-26 22:58:19 by joty]
warn_user() : made warn_buffer static local.
die() : a too long error message is now correctly NUL terminated; got rid of static variable.

svn path=/import/netsurf/; revision=1251
2004-08-26 22:58:19 +00:00
James Bursa
e44249f6ed [project @ 2004-08-25 23:56:48 by bursa]
Experimental overflow: scroll code.

svn path=/import/netsurf/; revision=1250
2004-08-25 23:56:49 +00:00
James Bursa
6e795f9cb5 [project @ 2004-08-25 22:11:14 by bursa]
Handle some more expected errors when renaming file during download (fixes #1014444).

svn path=/import/netsurf/; revision=1248
2004-08-25 22:11:14 +00:00
James Bursa
e92f0ce2f0 [project @ 2004-08-20 21:30:45 by bursa]
Fix font anti-aliasing with blending off.

svn path=/import/netsurf/; revision=1246
2004-08-20 21:30:45 +00:00
John Mark Bell
5611d2c739 [project @ 2004-08-19 01:01:31 by jmb]
Add option to force text colour to black when printing

svn path=/import/netsurf/; revision=1245
2004-08-19 01:01:31 +00:00
John Mark Bell
c7fab5b727 [project @ 2004-08-18 22:07:20 by jmb]
Don't read screen origin when printing

svn path=/import/netsurf/; revision=1244
2004-08-18 22:07:20 +00:00
John Mark Bell
21b9ca0bf1 [project @ 2004-08-17 19:51:30 by jmb]
Lose optimisation

svn path=/import/netsurf/; revision=1241
2004-08-17 19:51:30 +00:00
Richard Wilson
b5e04ee27a [project @ 2004-08-15 22:36:13 by rjw]
Fix for sprite rendering. Merge alpha and opaque plotting functions

svn path=/import/netsurf/; revision=1240
2004-08-15 22:36:13 +00:00
John Mark Bell
583bb12c5a [project @ 2004-08-15 19:53:52 by jmb]
Standardise swis.h include

svn path=/import/netsurf/; revision=1238
2004-08-15 19:53:52 +00:00
John Mark Bell
bc65aec751 [project @ 2004-08-15 19:53:06 by jmb]
Remove spurious include

svn path=/import/netsurf/; revision=1237
2004-08-15 19:53:06 +00:00
John Mark Bell
006344401c [project @ 2004-08-15 19:06:23 by jmb]
Rationalise image redraw.
Supply background colour when redrawing contents
Reenable printing of background images
Require Tinct 0.07

svn path=/import/netsurf/; revision=1234
2004-08-15 19:06:24 +00:00
Richard Wilson
f36a8d6ba8 [project @ 2004-08-15 12:14:22 by rjw]
Updated defines for Tinct 0.06

svn path=/import/netsurf/; revision=1233
2004-08-15 12:14:22 +00:00
John Tytgat
7264ae50e5 [project @ 2004-08-14 15:07:19 by joty]
- Rename len() to css_len2px().
- Less compiler warnings concerning float/int implicit casts.
- More stddef.h type usuage.

svn path=/import/netsurf/; revision=1232
2004-08-14 15:07:21 +00:00
John Tytgat
402c4ca66c [project @ 2004-08-14 14:30:10 by joty]
Removed a chunk of Norcroft compiler warnings.  Re-ident some pieces.

svn path=/import/netsurf/; revision=1231
2004-08-14 14:30:12 +00:00
John Tytgat
7d3a242132 [project @ 2004-08-14 12:57:00 by joty]
Using more stddef.h types.

svn path=/import/netsurf/; revision=1230
2004-08-14 12:57:02 +00:00
John Tytgat
44c418dc73 [project @ 2004-08-14 12:44:17 by joty]
Removed useless current_zoom_gui variable.

svn path=/import/netsurf/; revision=1229
2004-08-14 12:44:17 +00:00
John Tytgat
fc828f0f7e [project @ 2004-08-14 12:18:24 by joty]
Adopt the house identation rules (part 2).

svn path=/import/netsurf/; revision=1228
2004-08-14 12:18:24 +00:00
John Tytgat
c9c3e1d966 [project @ 2004-08-14 12:16:44 by joty]
Keypresses are wchar_t typed data.

svn path=/import/netsurf/; revision=1227
2004-08-14 12:16:45 +00:00
Richard Wilson
98a6a5fa99 [project @ 2004-08-14 00:32:31 by rjw]
Changes for Tinct printing support

svn path=/import/netsurf/; revision=1225
2004-08-14 00:32:31 +00:00
John Mark Bell
a1811d3eef [project @ 2004-08-13 16:59:42 by jmb]
Improve column spacing

svn path=/import/netsurf/; revision=1223
2004-08-13 16:59:42 +00:00
John Mark Bell
d7627ceceb [project @ 2004-08-13 00:55:59 by jmb]
Rewrite of plugin handling. This is now much nicer than before although it has about the same amount of functionality.
Note: This is now configurable via an option (defaults to OFF)
This has only really been tested with the Flash plugin and seems to work reasonably.

svn path=/import/netsurf/; revision=1216
2004-08-13 00:55:59 +00:00
James Bursa
0a93f2d264 [project @ 2004-08-12 12:08:39 by bursa]
Fix various history functions to check for history->current.

svn path=/import/netsurf/; revision=1215
2004-08-12 12:08:39 +00:00
James Bursa
acfb4c0adb [project @ 2004-08-11 22:08:25 by bursa]
Remove content_add_instance(), content_remove_instance(), content_reshape_instance(). Add content_open(), content_close(). Implement for CONTENT_HTML.

svn path=/import/netsurf/; revision=1213
2004-08-11 22:08:26 +00:00
John Mark Bell
45b241906e [project @ 2004-08-11 21:36:30 by jmb]
Make message handling more robust

svn path=/import/netsurf/; revision=1212
2004-08-11 21:36:30 +00:00
James Bursa
bc727dda1c [project @ 2004-08-11 19:02:32 by bursa]
Start work on removing instances and making content types non-shareable. Clean up some #includes.

svn path=/import/netsurf/; revision=1211
2004-08-11 19:02:32 +00:00
John Mark Bell
dba4904ddb [project @ 2004-08-11 16:38:04 by jmb]
Add gui and plugin sources missed from previous checkin

svn path=/import/netsurf/; revision=1210
2004-08-11 16:38:04 +00:00
John Mark Bell
d6ceb37fad [project @ 2004-08-11 16:27:30 by jmb]
Cast correctly for url_nice - missed from url function work a couple of days ago

svn path=/import/netsurf/; revision=1209
2004-08-11 16:27:30 +00:00
John Mark Bell
912d09b1cb [project @ 2004-08-11 16:26:13 by jmb]
Make content_redraw return a bool
Printing of foreground images now uses OS_SpriteOp
Printing of background images disabled
Mega-paranoid SWI result checking in htmlredraw.c
Rearranged GIF data structure slightly - updates to reflect this.
Other stuff I've probably forgotten

svn path=/import/netsurf/; revision=1208
2004-08-11 16:26:13 +00:00
John Mark Bell
c682f9a5ea [project @ 2004-08-09 17:04:32 by jmb]
Fix rectangle positioning bug which resulted in garbage printouts.
Break out hard-coded scale factor
Protect against invalid memory access.

svn path=/import/netsurf/; revision=1207
2004-08-09 17:04:32 +00:00
John Mark Bell
c9bd6fa9fc [project @ 2004-08-09 16:11:58 by jmb]
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.

svn path=/import/netsurf/; revision=1206
2004-08-09 16:11:58 +00:00
John Mark Bell
91e6c7c65b [project @ 2004-08-09 09:05:34 by jmb]
Ignore dataloadack unless we actually expected it

svn path=/import/netsurf/; revision=1205
2004-08-09 09:05:34 +00:00
John Mark Bell
196c5a3c08 [project @ 2004-08-09 07:07:20 by jmb]
Unbreak ncos build. Warning - not very nice

svn path=/import/netsurf/; revision=1202
2004-08-09 07:07:20 +00:00
John Mark Bell
07baa16e05 [project @ 2004-08-09 06:29:46 by jmb]
Ignore shaded text inputs when finding a place for the caret

svn path=/import/netsurf/; revision=1200
2004-08-09 06:29:46 +00:00
John Mark Bell
c992f6252c [project @ 2004-08-09 06:28:56 by jmb]
Printing support.
Some issues remain - see the todo list at the top of print.c for more details

svn path=/import/netsurf/; revision=1199
2004-08-09 06:28:57 +00:00
John Mark Bell
a5bb9c38fd [project @ 2004-08-09 06:25:10 by jmb]
Fix for background colour redraw when background images are turned off

svn path=/import/netsurf/; revision=1198
2004-08-09 06:25:10 +00:00
Richard Wilson
afa046e1be [project @ 2004-08-08 20:16:17 by rjw]
Internal changes for theme handling. Tinct is now an external resource.

svn path=/import/netsurf/; revision=1196
2004-08-08 20:16:17 +00:00
John Tytgat
94103b8c96 [project @ 2004-08-08 11:45:28 by joty]
Minor change : update comment + explicit cast.

svn path=/import/netsurf/; revision=1194
2004-08-08 11:45:28 +00:00
John Tytgat
f14d765ca7 [project @ 2004-08-08 11:39:31 by joty]
Explicit #include of some header files to avoid Norcroft depth 8 limitation
when using UnixLib version currently at CVS trunk.

svn path=/import/netsurf/; revision=1193
2004-08-08 11:39:31 +00:00
John Mark Bell
3cfb34bc4a [project @ 2004-08-07 12:58:46 by jmb]
Handle malloc failure

svn path=/import/netsurf/; revision=1191
2004-08-07 12:58:46 +00:00
John Mark Bell
2119440878 [project @ 2004-08-07 01:43:43 by jmb]
Add search menu entry.
Update messages files

svn path=/import/netsurf/; revision=1190
2004-08-07 01:43:43 +00:00
Richard Wilson
33f6d42b94 [project @ 2004-08-06 23:45:21 by rjw]
Scale view window are now persistent. Fix for incorrect buffering option saving. Background images extend to the full window dimensions.

svn path=/import/netsurf/; revision=1189
2004-08-06 23:45:21 +00:00
John Mark Bell
09afabf63c [project @ 2004-08-06 22:19:12 by jmb]
Anchor support

svn path=/import/netsurf/; revision=1187
2004-08-06 22:19:13 +00:00
Richard Wilson
1d76b7efae [project @ 2004-08-05 23:10:24 by rjw]
Added home and search toolbar buttons. Fixed homepage menu entry to open in same window.

svn path=/import/netsurf/; revision=1185
2004-08-05 23:10:24 +00:00
John Mark Bell
fc50ed2eca [project @ 2004-08-05 22:38:26 by jmb]
Fix bug relating to window contents changing

svn path=/import/netsurf/; revision=1184
2004-08-05 22:38:26 +00:00
John Mark Bell
f3bef9fdcb [project @ 2004-08-05 22:03:56 by jmb]
Tidy up and bugfix search implementation

svn path=/import/netsurf/; revision=1183
2004-08-05 22:03:56 +00:00
John Mark Bell
4f3691d183 [project @ 2004-08-05 20:32:00 by jmb]
Text search. Press F4 to access it

svn path=/import/netsurf/; revision=1182
2004-08-05 20:32:00 +00:00
Richard Wilson
33937fe2e5 [project @ 2004-08-05 19:27:31 by rjw]
Fix for hotlist toolbar not being updated for directory double clicks. Fix for OS3.7 buffered redraw error masking. Fix for error reporting stopping functionality.

svn path=/import/netsurf/; revision=1181
2004-08-05 19:27:31 +00:00
James Bursa
892fcd5fba [project @ 2004-08-03 22:43:38 by bursa]
Fix width of new pages when scale is not 100%.

svn path=/import/netsurf/; revision=1179
2004-08-03 22:43:38 +00:00
John Mark Bell
db2b05cfae [project @ 2004-08-01 23:58:26 by jmb]
Allow dragging in of CSS files

svn path=/import/netsurf/; revision=1176
2004-08-01 23:58:26 +00:00
James Bursa
9e1dbe3a36 [project @ 2004-08-01 13:08:18 by bursa]
More work on overflow. Modify block centering to left-align when insufficient space. Fix caret positioning for form controls with padding.

svn path=/import/netsurf/; revision=1171
2004-08-01 13:08:19 +00:00
John Mark Bell
a6eca8d3e8 [project @ 2004-07-31 12:56:25 by jmb]
Prevent UnixLib munging suffixes

svn path=/import/netsurf/; revision=1169
2004-07-31 12:56:25 +00:00
John Mark Bell
8e650e3e39 [project @ 2004-07-30 23:40:00 by jmb]
Rework stylesheet fetching code to remove dependence on magic numbers (now uses
values defined in html.h)
Make ad blocking optional.

svn path=/import/netsurf/; revision=1168
2004-07-30 23:40:01 +00:00
James Bursa
999ded28b8 [project @ 2004-07-30 18:35:31 by bursa]
Fix hotlist loading crash.

svn path=/import/netsurf/; revision=1166
2004-07-30 18:35:31 +00:00
James Bursa
54d25de371 [project @ 2004-07-30 16:16:07 by bursa]
Implement content_quit() and ro_gui_window_quit() to free resources on quit.

svn path=/import/netsurf/; revision=1164
2004-07-30 16:16:07 +00:00
James Bursa
f0c6cb6d1a [project @ 2004-07-30 16:14:43 by bursa]
Plug some minor leaks.

svn path=/import/netsurf/; revision=1163
2004-07-30 16:14:44 +00:00
James Bursa
f2ebc60ef0 [project @ 2004-07-29 11:40:48 by bursa]
Rewrite saving to use libxml2. Clean up and simplify loading.

svn path=/import/netsurf/; revision=1162
2004-07-29 11:40:48 +00:00
James Bursa
0f7e16c04f [project @ 2004-07-28 23:07:52 by bursa]
Implement gui_init2() and move RISC OS-specific code in main() to it. Use intro page if option_homepage_url is "".

svn path=/import/netsurf/; revision=1158
2004-07-28 23:07:52 +00:00
James Bursa
3244e3440d [project @ 2004-07-28 22:23:34 by bursa]
Fix double-free, and read from Choices: instead of Choices$Write.

svn path=/import/netsurf/; revision=1155
2004-07-28 22:23:34 +00:00
John Mark Bell
67b0b7be62 [project @ 2004-07-27 20:44:46 by jmb]
Language configuration menu
Make adjust clicks on font size arrows style guide compliant

svn path=/import/netsurf/; revision=1154
2004-07-27 20:44:46 +00:00
James Bursa
534b464bec [project @ 2004-07-27 15:49:28 by bursa]
Implement proxy authentication. Bring templates in line with style guide (icon sizes and fill display fields), and remove dead icons. Clean up choices dialog code. Fix persistent dialog code. Make browser choices the default pane.

svn path=/import/netsurf/; revision=1153
2004-07-27 15:49:28 +00:00
John Mark Bell
d378575d4c [project @ 2004-07-27 02:34:13 by jmb]
Fix redraw issue with themes config
Prevent deselection of all radio icons
Fix read from NULL pointer when setting homepage URL

svn path=/import/netsurf/; revision=1152
2004-07-27 02:34:13 +00:00
Richard Wilson
456077353c [project @ 2004-07-26 22:23:40 by rjw]
Hotlist toolbar icon shading. Fix for GIF animation artifacts under certain conditions.

svn path=/import/netsurf/; revision=1151
2004-07-26 22:23:40 +00:00
Andrew Timmins
b59616c9ab [project @ 2004-07-26 20:13:45 by atimmins]
Updated to support new config options (homepage, open on startup).  Bug fixes with new config pane window (sticky selected radio icon bug!).  Also includes up-to-date French templates.

svn path=/import/netsurf/; revision=1150
2004-07-26 20:13:45 +00:00
Richard Wilson
b0fa41bb11 [project @ 2004-07-25 22:47:54 by rjw]
Fix for fix for broken hotlist loading. Removed debug comments from mng.c

svn path=/import/netsurf/; revision=1148
2004-07-25 22:47:54 +00:00
Richard Wilson
9ff81cb0ee [project @ 2004-07-25 21:45:37 by rjw]
Fix for broken hotlist loading.

svn path=/import/netsurf/; revision=1147
2004-07-25 21:45:37 +00:00
Richard Wilson
de4d151285 [project @ 2004-07-25 20:45:15 by rjw]
Support for MNGs and JNGs. Bug fix for help token regression. Minor GUI fixes.

svn path=/import/netsurf/; revision=1144
2004-07-25 20:45:16 +00:00
Andrew Timmins
b02f6fa9a0 [project @ 2004-07-25 19:25:26 by atimmins]
Updated to support paned config dialog.

svn path=/import/netsurf/; revision=1143
2004-07-25 19:25:26 +00:00
Richard Wilson
d89753a11b [project @ 2004-07-21 20:02:13 by rjw]
Less compiler warnings. Fixed create_folder window title indirection from being too small. Support for help keys for greyed out menu items/icons.

svn path=/import/netsurf/; revision=1135
2004-07-21 20:02:13 +00:00
John Tytgat
68de81fe8f [project @ 2004-07-21 14:19:21 by joty]
Added gui_window_remove_caret() to disown the caret.

svn path=/import/netsurf/; revision=1133
2004-07-21 14:19:21 +00:00
Richard Wilson
7d1a21d758 [project @ 2004-07-20 22:20:58 by rjw]
Support for complete buffering of all output.

svn path=/import/netsurf/; revision=1132
2004-07-20 22:20:58 +00:00
Richard Wilson
6ee54bec7a [project @ 2004-07-20 20:02:59 by rjw]
Fix for buffered text plotting. GUI control over font blending and buffering.

svn path=/import/netsurf/; revision=1129
2004-07-20 20:02:59 +00:00
James Bursa
f40918e0c9 [project @ 2004-07-20 11:30:03 by bursa]
Key presses are now an int.

svn path=/import/netsurf/; revision=1126
2004-07-20 11:30:03 +00:00
Richard Wilson
7f089d63cf [project @ 2004-07-20 00:19:20 by rjw]
Support for 16bpp and 32bpp screenmodes. Removed debug code. Improved memory calculations.

svn path=/import/netsurf/; revision=1123
2004-07-20 00:19:20 +00:00
Richard Wilson
d18f4397c7 [project @ 2004-07-19 23:35:12 by rjw]
Double buffering for animations to remove flicker. Background font blending turned on by default.

svn path=/import/netsurf/; revision=1121
2004-07-19 23:35:12 +00:00
James Bursa
586cf7f27c [project @ 2004-07-19 01:00:25 by bursa]
Position caret correctly in scaled windows.

svn path=/import/netsurf/; revision=1102
2004-07-19 01:00:25 +00:00
John Mark Bell
45ea97d750 [project @ 2004-07-18 22:58:40 by jmb]
Remove unused variable from gui_init. Correctly apostrophise don't before Chocky complains.

svn path=/import/netsurf/; revision=1101
2004-07-18 22:58:40 +00:00
Andrew Timmins
86f60c4c0a [project @ 2004-07-18 22:21:32 by atimmins]
svn path=/import/netsurf/; revision=1097
2004-07-18 22:21:32 +00:00
James Bursa
58e2d033ec [project @ 2004-07-18 17:38:01 by bursa]
Improve form control interaction code. Replace box_under_area() with simpler box_at_point(). Detect objects for menu once on menu opening. Remove obsolete text selection code.

svn path=/import/netsurf/; revision=1096
2004-07-18 17:38:01 +00:00
James Bursa
f23fd2a094 [project @ 2004-07-17 23:32:08 by bursa]
Rewrite and simplify mouse click handling.

svn path=/import/netsurf/; revision=1094
2004-07-17 23:32:09 +00:00
James Bursa
e4a6e982e5 [project @ 2004-07-17 13:00:38 by bursa]
Simplify gui_window structure. Clean up various parts of the gui code.

svn path=/import/netsurf/; revision=1092
2004-07-17 13:00:38 +00:00
John Mark Bell
a0d23659b6 [project @ 2004-07-16 20:57:14 by jmb]
Fix silly rjwness

svn path=/import/netsurf/; revision=1090
2004-07-16 20:57:14 +00:00
John Mark Bell
51af46fde6 [project @ 2004-07-16 20:26:49 by jmb]
Preliminary overflow support. This also goes some way to making the horizontal scrollbar work.

svn path=/import/netsurf/; revision=1088
2004-07-16 20:26:49 +00:00
Richard Wilson
b7bb766e95 [project @ 2004-07-16 19:47:02 by rjw]
Fix for hotlist menu selection. Interface for MNG/JNG display.

svn path=/import/netsurf/; revision=1083
2004-07-16 19:47:03 +00:00
Richard Wilson
8b0aaef01d [project @ 2004-07-16 16:45:42 by rjw]
Fix for missing parameters.

svn path=/import/netsurf/; revision=1082
2004-07-16 16:45:42 +00:00
Richard Wilson
abaa8a9093 [project @ 2004-07-16 16:33:44 by rjw]
Various fixes for the GUI. Persistant windows are closed when upon a change of content. Hotlist saves in the same format as !Browse. Neater login window. Support for interactive help from hotlist windows.

svn path=/import/netsurf/; revision=1081
2004-07-16 16:33:45 +00:00
Richard Wilson
99d1c18252 [project @ 2004-07-16 00:05:31 by rjw]
Updates to the interactive help text to reflect current interface. Removed development code so the hotlist can be saved.

svn path=/import/netsurf/; revision=1080
2004-07-16 00:05:32 +00:00
Richard Wilson
2858f0b685 [project @ 2004-07-15 23:58:08 by rjw]
Hotlist loading now uses libxml. Hotlist loading supports the !Browse file format.

svn path=/import/netsurf/; revision=1079
2004-07-15 23:58:08 +00:00
John Tytgat
bce89473cc [project @ 2004-07-14 19:38:05 by joty]
Lose GCC compiler warnings.

svn path=/import/netsurf/; revision=1078
2004-07-14 19:38:05 +00:00
John Tytgat
4f0e75a515 [project @ 2004-07-14 19:18:30 by joty]
- More accurate Draw file generation (like better radio & checkbox, borders, etc)
- Draw grouping
- Removed all Norcroft warnings.

svn path=/import/netsurf/; revision=1077
2004-07-14 19:18:30 +00:00
John Tytgat
866b0b84c5 [project @ 2004-07-14 19:16:49 by joty]
Removed debug fprint line.

svn path=/import/netsurf/; revision=1076
2004-07-14 19:16:49 +00:00
Richard Wilson
2fe0085f53 [project @ 2004-07-13 20:08:53 by rjw]
Adjust click on the iconbar icon opens the hotlist, Shift+Adjust opens the debug window.

svn path=/import/netsurf/; revision=1075
2004-07-13 20:08:53 +00:00
Richard Wilson
fb07fba4f8 [project @ 2004-07-12 19:55:49 by rjw]
Improved caret handling for persistant windows. Window submenu moved from Display to Utilities.

svn path=/import/netsurf/; revision=1073
2004-07-12 19:55:49 +00:00
Richard Wilson
eb8f6921f5 [project @ 2004-07-11 23:14:24 by rjw]
Hotlist folder/entry creation.

svn path=/import/netsurf/; revision=1072
2004-07-11 23:14:24 +00:00
Richard Wilson
6e3995cc65 [project @ 2004-07-11 21:45:51 by rjw]
Inversion of hotlist icon functionality. Automatic placement of caret for dialog windows. Escape closes dialog windows.

svn path=/import/netsurf/; revision=1071
2004-07-11 21:45:51 +00:00
James Bursa
89a23311ea [project @ 2004-07-11 13:05:38 by bursa]
Clean up save box code by implementing ro_gui_save_open().

svn path=/import/netsurf/; revision=1070
2004-07-11 13:05:38 +00:00
John Mark Bell
02559e8cbd [project @ 2004-07-11 00:22:05 by jmb]
Set filetype correctly on completion of drag

svn path=/import/netsurf/; revision=1069
2004-07-11 00:22:05 +00:00
Richard Wilson
c273d17ae5 [project @ 2004-07-09 21:22:03 by rjw]
Fix for content-type auto updating

svn path=/import/netsurf/; revision=1065
2004-07-09 21:22:03 +00:00
Richard Wilson
5c804fe3b2 [project @ 2004-07-09 21:03:26 by rjw]
Various minor GUI fixes

svn path=/import/netsurf/; revision=1064
2004-07-09 21:03:26 +00:00
Richard Wilson
962b3dd828 [project @ 2004-07-09 17:03:34 by rjw]
Tidier hotlist code. URL normalisation. Redraw uses Tinct.

svn path=/import/netsurf/; revision=1063
2004-07-09 17:03:35 +00:00
James Bursa
403e39f5a4 [project @ 2004-07-09 10:58:45 by bursa]
Fix race condition in schedule_run() (fixes download-related crashes).

svn path=/import/netsurf/; revision=1062
2004-07-09 10:58:45 +00:00
Richard Wilson
e387d5e34a [project @ 2004-07-08 22:05:35 by rjw]
Lose compiler warnings. Fix for dragging hotlist item to itself failing. Initial work on adding/editing entries.

svn path=/import/netsurf/; revision=1061
2004-07-08 22:05:35 +00:00
John Tytgat
4d3423003e [project @ 2004-07-08 20:16:23 by joty]
- Lose compiler warnings.
- Adopt the house identation rules (part 1).

svn path=/import/netsurf/; revision=1060
2004-07-08 20:16:23 +00:00
John Tytgat
9f1497ac80 [project @ 2004-07-08 20:14:54 by joty]
Lose compiler warnings.

svn path=/import/netsurf/; revision=1059
2004-07-08 20:14:54 +00:00
John Mark Bell
7148840fbe [project @ 2004-07-08 17:34:02 by jmb]
Lose compiler warning.

svn path=/import/netsurf/; revision=1057
2004-07-08 17:34:02 +00:00
Richard Wilson
6cc16835e0 [project @ 2004-07-08 17:28:56 by rjw]
Save window cancel button implementation. Persistant child window handling.

svn path=/import/netsurf/; revision=1056
2004-07-08 17:28:56 +00:00
Richard Wilson
70bc073f10 [project @ 2004-07-07 22:17:24 by rjw]
Fix for broken compile

svn path=/import/netsurf/; revision=1055
2004-07-07 22:17:24 +00:00
Richard Wilson
cfe6cd43dc [project @ 2004-07-07 22:09:26 by rjw]
Minor GUI fixes for hotlist. Hotlist toolbar.

svn path=/import/netsurf/; revision=1054
2004-07-07 22:09:26 +00:00
Richard Wilson
c01b0bf645 [project @ 2004-07-07 00:31:57 by rjw]
Basic hotlist management facilities

svn path=/import/netsurf/; revision=1053
2004-07-07 00:31:57 +00:00
Richard Wilson
b9c4038e5f [project @ 2004-07-05 22:17:59 by rjw]
Minor hotlist GUI fixes. Further hotlist menu development.

svn path=/import/netsurf/; revision=1052
2004-07-05 22:17:59 +00:00
John Mark Bell
f8a1933c15 [project @ 2004-07-05 22:09:11 by jmb]
Avoid some compiler warnings.
Work around issue with GCC3.3 pre2

svn path=/import/netsurf/; revision=1051
2004-07-05 22:09:11 +00:00
John Mark Bell
3969531018 [project @ 2004-07-05 21:54:02 by jmb]
Fixup include of utils.h

svn path=/import/netsurf/; revision=1050
2004-07-05 21:54:02 +00:00
John Tytgat
a0d511734a [project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.

svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
Richard Wilson
ab11d2c94d [project @ 2004-07-04 23:16:12 by rjw]
Fix for trailing spaces for hotlist saving/loading [warning - drunken code]

svn path=/import/netsurf/; revision=1048
2004-07-04 23:16:12 +00:00
John Mark Bell
9ef5ac0890 [project @ 2004-07-04 19:27:41 by jmb]
Fixup duplicated message key usage.

svn path=/import/netsurf/; revision=1047
2004-07-04 19:27:42 +00:00
Richard Wilson
5db1eae529 [project @ 2004-07-04 18:44:51 by rjw]
Loading/saving of hotlists. Initial work for hotlist menu.

svn path=/import/netsurf/; revision=1046
2004-07-04 18:44:51 +00:00
Richard Wilson
4f664d1559 [project @ 2004-07-04 14:59:29 by rjw]
Futher hotlst development. Minor GUI tweaks.

svn path=/import/netsurf/; revision=1044
2004-07-04 14:59:29 +00:00
John Tytgat
4613dbb2e6 [project @ 2004-07-04 12:42:54 by joty]
Norcroft fixes.

svn path=/import/netsurf/; revision=1043
2004-07-04 12:42:54 +00:00
Richard Wilson
c499ad907d [project @ 2004-07-03 17:30:27 by rjw]
Further development of the selection and display code.

svn path=/import/netsurf/; revision=1042
2004-07-03 17:30:28 +00:00
John Mark Bell
7212736a62 [project @ 2004-07-03 16:28:09 by jmb]
Rework last_date, add_date and add last_visit_to_string()

svn path=/import/netsurf/; revision=1041
2004-07-03 16:28:09 +00:00
Richard Wilson
cbe561b7c5 [project @ 2004-07-01 23:20:40 by rjw]
Fix for icon selection colour in Select.

svn path=/import/netsurf/; revision=1038
2004-07-01 23:20:40 +00:00
Richard Wilson
89bef6d650 [project @ 2004-07-01 22:56:26 by rjw]
Hotlist visit count monitoring. Hotlist redraw optimisations. Hotlist entry content type icons.

svn path=/import/netsurf/; revision=1037
2004-07-01 22:56:26 +00:00
Richard Wilson
2a636f53b3 [project @ 2004-06-30 23:11:11 by rjw]
Simple selection code

svn path=/import/netsurf/; revision=1035
2004-06-30 23:11:11 +00:00
John Mark Bell
8facc29e58 [project @ 2004-06-30 22:09:20 by jmb]
Fixes for Norcroft

svn path=/import/netsurf/; revision=1034
2004-06-30 22:09:20 +00:00
Richard Wilson
0401fcdc55 [project @ 2004-06-30 18:13:31 by rjw]
URLs can be launched.

svn path=/import/netsurf/; revision=1033
2004-06-30 18:13:31 +00:00
Richard Wilson
146a529ac0 [project @ 2004-06-30 17:59:18 by rjw]
Minor window extent bugfixes

svn path=/import/netsurf/; revision=1032
2004-06-30 17:59:18 +00:00
Richard Wilson
fece5a0287 [project @ 2004-06-30 17:44:11 by rjw]
Missing file from last commit.

svn path=/import/netsurf/; revision=1031
2004-06-30 17:44:11 +00:00
Richard Wilson
4da7fcd8f5 [project @ 2004-06-29 23:13:40 by rjw]
Experimental hotlist code

svn path=/import/netsurf/; revision=1030
2004-06-29 23:13:40 +00:00
John Mark Bell
bc533957fd [project @ 2004-06-29 19:08:19 by jmb]
Full reload support for HTML contents. Adjust click the reload button

svn path=/import/netsurf/; revision=1029
2004-06-29 19:08:19 +00:00
John Mark Bell
afd366ecae [project @ 2004-06-29 17:26:42 by jmb]
Reinstate Object->reload menu entry and make it work.

svn path=/import/netsurf/; revision=1028
2004-06-29 17:26:42 +00:00
James Bursa
6efe47b59d [project @ 2004-06-29 12:38:49 by bursa]
Fix bug in rewrite_urls(): xmlNodes may have no name.

svn path=/import/netsurf/; revision=1027
2004-06-29 12:38:49 +00:00
James Bursa
08b8e8cc21 [project @ 2004-06-29 12:37:06 by bursa]
Fix crash when downloads are closed after finishing.

svn path=/import/netsurf/; revision=1026
2004-06-29 12:37:06 +00:00
John Mark Bell
05c46359ba [project @ 2004-06-28 23:57:26 by jmb]
Correct behaviour of unknown URL launching mechanism. the ANT load never occurred.

svn path=/import/netsurf/; revision=1025
2004-06-28 23:57:26 +00:00
Richard Wilson
5d0bc4e758 [project @ 2004-06-28 19:40:57 by rjw]
Fix for Ctrl-N not working correctly.

svn path=/import/netsurf/; revision=1024
2004-06-28 19:40:57 +00:00
Richard Wilson
4479072d16 [project @ 2004-06-28 19:35:04 by rjw]
Optional window size inheritance to appease tlsa. Updates to code comments. Ctrl-N shortcut to open a new window.

svn path=/import/netsurf/; revision=1023
2004-06-28 19:35:04 +00:00
James Bursa
bc89d52e4c [project @ 2004-06-27 23:29:02 by bursa]
Fix divide by 0.

svn path=/import/netsurf/; revision=1021
2004-06-27 23:29:02 +00:00
James Bursa
a1d73ecd11 [project @ 2004-06-27 23:24:11 by bursa]
Rewritten download window. Now downloads direct to file. New download window gui.

svn path=/import/netsurf/; revision=1020
2004-06-27 23:24:11 +00:00
Richard Wilson
79a10e41a4 [project @ 2004-06-27 15:34:46 by rjw]
Missing file from last commit

svn path=/import/netsurf/; revision=1019
2004-06-27 15:34:46 +00:00
Richard Wilson
50e0ebf3fa [project @ 2004-06-27 14:41:14 by rjw]
Improved window positioning

svn path=/import/netsurf/; revision=1018
2004-06-27 14:41:14 +00:00
John Mark Bell
afceb17b80 [project @ 2004-06-27 00:25:08 by jmb]
Remove compiler warning

svn path=/import/netsurf/; revision=1017
2004-06-27 00:25:08 +00:00
Richard Wilson
78ea6b315c [project @ 2004-06-26 23:10:51 by rjw]
Dynamic updation on menu navigation status

svn path=/import/netsurf/; revision=1016
2004-06-26 23:10:51 +00:00
Richard Wilson
4d190d89ee [project @ 2004-06-26 22:31:34 by rjw]
Visual representation of navigation features availble

svn path=/import/netsurf/; revision=1015
2004-06-26 22:31:34 +00:00
John Mark Bell
002a353042 [project @ 2004-06-25 23:10:46 by jmb]
background-attachment: fixed; support. Disabled for the moment due to redraw issues.

svn path=/import/netsurf/; revision=1012
2004-06-25 23:10:46 +00:00
John Mark Bell
807f7ac284 [project @ 2004-06-25 17:52:05 by jmb]
Fix swi error reporting

svn path=/import/netsurf/; revision=1009
2004-06-25 17:52:05 +00:00
John Mark Bell
45b1be0d67 [project @ 2004-06-25 17:38:39 by jmb]
Tighten up parameter checking in ro_gui_window_click.

svn path=/import/netsurf/; revision=1008
2004-06-25 17:38:39 +00:00
John Mark Bell
b3d4ce0883 [project @ 2004-06-25 16:52:01 by jmb]
Background blend fonts if we can (and the user wants us to). Turned off by default.

svn path=/import/netsurf/; revision=1007
2004-06-25 16:52:01 +00:00
James Bursa
aa6e904604 [project @ 2004-06-25 14:28:29 by bursa]
Parse CSS background shorthand property. Background rendering improvements.

svn path=/import/netsurf/; revision=1006
2004-06-25 14:28:29 +00:00
John Mark Bell
bca6a63c45 [project @ 2004-06-25 01:23:41 by jmb]
Fix background clipping rectangle issue reported by Andrew Duffell.

svn path=/import/netsurf/; revision=1005
2004-06-25 01:23:41 +00:00
James Bursa
73248cdd90 [project @ 2004-06-24 23:29:46 by bursa]
Scheduling fix.

svn path=/import/netsurf/; revision=1004
2004-06-24 23:29:46 +00:00
John Mark Bell
86e56dc173 [project @ 2004-06-24 16:54:28 by jmb]
Update content->size to more accurate value.

svn path=/import/netsurf/; revision=1002
2004-06-24 16:54:28 +00:00
Richard Wilson
958f5828d1 [project @ 2004-06-23 22:53:50 by rjw]
Bug fix for vertical positioning.
Padding is now taken into account for %age calculations.
Fix for calculations using internal units rather than OS units.

svn path=/import/netsurf/; revision=1000
2004-06-23 22:53:50 +00:00
Richard Wilson
ce0285328a [project @ 2004-06-23 21:05:56 by rjw]
Improved background image positioning for non-tiled images.

svn path=/import/netsurf/; revision=999
2004-06-23 21:05:56 +00:00
Richard Wilson
05552edb21 [project @ 2004-06-23 20:34:49 by rjw]
Improved background image positioning.

svn path=/import/netsurf/; revision=998
2004-06-23 20:34:49 +00:00
James Bursa
07ef69aea3 [project @ 2004-06-22 20:39:16 by bursa]
Implement reload, with ^R shortcut.

svn path=/import/netsurf/; revision=994
2004-06-22 20:39:16 +00:00
James Bursa
a9365b5077 [project @ 2004-06-22 17:39:00 by bursa]
Remove unused and unimplemented gui_window_show() and gui_window_hide().

svn path=/import/netsurf/; revision=991
2004-06-22 17:39:00 +00:00
James Bursa
1fa1786d83 [project @ 2004-06-21 15:49:59 by bursa]
Remove obsolete files and some dead code.

svn path=/import/netsurf/; revision=989
2004-06-21 15:49:59 +00:00
James Bursa
86206259fe [project @ 2004-06-21 15:25:35 by bursa]
Remove obsolete files and some dead code.

svn path=/import/netsurf/; revision=988
2004-06-21 15:27:56 +00:00
James Bursa
b4723c1d05 [project @ 2004-06-21 15:09:58 by bursa]
Merge memory cache into content module.

svn path=/import/netsurf/; revision=986
2004-06-21 15:09:59 +00:00
James Bursa
7a13a0b607 [project @ 2004-06-20 23:10:50 by bursa]
Implement stop toolbar button and Escape as key shortcut.

svn path=/import/netsurf/; revision=983
2004-06-20 23:10:50 +00:00
John Tytgat
b08c7135fe [project @ 2004-06-20 19:49:40 by joty]
Src cleanup.

svn path=/import/netsurf/; revision=981
2004-06-20 19:49:40 +00:00
James Bursa
408e042c19 [project @ 2004-06-18 17:03:22 by bursa]
Also warn user if Inet$Resolvers is set but empty.

svn path=/import/netsurf/; revision=978
2004-06-18 17:03:22 +00:00
James Bursa
0ebbc1330c [project @ 2004-06-12 17:43:37 by bursa]
Fix limit zooming by ^Q / ^W. Increase limit to 1000.

svn path=/import/netsurf/; revision=967
2004-06-12 17:43:37 +00:00
Richard Wilson
2419316c77 [project @ 2004-06-11 21:09:50 by rjw]
Update to PNG title data to make it display the data size

svn path=/import/netsurf/; revision=964
2004-06-11 21:09:50 +00:00
Richard Wilson
53ca329cc8 [project @ 2004-06-11 20:59:53 by rjw]
Bug fix for GIFs with a single broken frame. Relaxation of error conditions to display GIFs. Re-introduction of GIF details in the title bar.

svn path=/import/netsurf/; revision=963
2004-06-11 20:59:53 +00:00
John Mark Bell
adb9ed58f4 [project @ 2004-06-11 12:52:23 by jmb]
Cast to avoid compiler warning

svn path=/import/netsurf/; revision=962
2004-06-11 12:52:23 +00:00
James Bursa
0efd285302 [project @ 2004-06-11 12:19:56 by bursa]
New "About NetSurf" page, and menu item to open it.

svn path=/import/netsurf/; revision=960
2004-06-11 12:19:57 +00:00
John Mark Bell
faa24817b4 [project @ 2004-06-11 00:08:53 by jmb]
Scale view keyboard shortcuts a la !Draw

svn path=/import/netsurf/; revision=959
2004-06-11 00:08:53 +00:00
John Mark Bell
bd6ec25190 [project @ 2004-06-10 22:39:56 by jmb]
Compiler warning purge

svn path=/import/netsurf/; revision=954
2004-06-10 22:39:56 +00:00
Richard Wilson
fb4e2fc476 [project @ 2004-06-10 22:11:44 by rjw]
GUI control of background images. Scaled background images.

svn path=/import/netsurf/; revision=953
2004-06-10 22:11:44 +00:00
James Bursa
c360e16950 [project @ 2004-06-10 20:57:20 by bursa]
Implement debug window listing contents.

svn path=/import/netsurf/; revision=952
2004-06-10 20:57:20 +00:00
James Bursa
08177fa581 [project @ 2004-06-10 20:41:26 by bursa]
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.

svn path=/import/netsurf/; revision=951
2004-06-10 20:41:26 +00:00
Richard Wilson
ff5e70f865 [project @ 2004-06-10 18:13:16 by rjw]
Fix for tiled background redraw.

svn path=/import/netsurf/; revision=950
2004-06-10 18:13:16 +00:00
John Mark Bell
bbd66fca97 [project @ 2004-06-10 17:21:58 by jmb]
Fix some redraw issues caused by the background rendering code
Remove some spurious minus signs

svn path=/import/netsurf/; revision=949
2004-06-10 17:21:58 +00:00
James Bursa
18ea7c459c [project @ 2004-06-10 13:05:43 by bursa]
Fix focus for new windows without URL bar.

svn path=/import/netsurf/; revision=948
2004-06-10 13:05:43 +00:00
John Mark Bell
8cb25b425d [project @ 2004-06-09 23:21:24 by jmb]
Add background attribute to URL rewriting engine

svn path=/import/netsurf/; revision=946
2004-06-09 23:21:24 +00:00
Richard Wilson
b6570bb7a8 [project @ 2004-06-09 23:15:34 by rjw]
Fix for bounding box calculations with clear codes.
The first frame is decoded when the GIF is initialised.

svn path=/import/netsurf/; revision=945
2004-06-09 23:15:34 +00:00
James Bursa
d3217d5be0 [project @ 2004-06-09 21:04:45 by bursa]
Log value of Inet$Resolvers.

svn path=/import/netsurf/; revision=943
2004-06-09 21:04:45 +00:00
John Mark Bell
9b1cbd7622 [project @ 2004-06-09 20:05:14 by jmb]
Remove magic numbers. Now uses sensible tinct_FOO style flag names

svn path=/import/netsurf/; revision=941
2004-06-09 20:05:14 +00:00
John Mark Bell
db528c82f2 [project @ 2004-06-09 19:56:13 by jmb]
Proper names for flagword flags. "Magic numbers are evil" (zamez :P)

svn path=/import/netsurf/; revision=939
2004-06-09 19:56:13 +00:00
John Mark Bell
78594f3f60 [project @ 2004-06-09 19:55:06 by jmb]
Implement background-image, background-repeat, background-position and background-attachment CSS properties.

background-attachment and background-position need more work.
Some redraw issues remain.

svn path=/import/netsurf/; revision=938
2004-06-09 19:55:06 +00:00
John Tytgat
ec820df42f [project @ 2004-06-08 21:35:28 by joty]
Buffer overflow checks. Reident.

svn path=/import/netsurf/; revision=937
2004-06-08 21:35:28 +00:00
James Bursa
07c981bfc7 [project @ 2004-06-06 19:58:36 by bursa]
Stricter preconditions for enumerate_fonts().

svn path=/import/netsurf/; revision=933
2004-06-06 19:58:36 +00:00
James Bursa
a6f59ccd76 [project @ 2004-06-06 19:57:16 by bursa]
Use url_nice() instead of ro_gui_download_leaf().

svn path=/import/netsurf/; revision=932
2004-06-06 19:57:16 +00:00
James Bursa
6879c02a33 [project @ 2004-06-06 19:39:17 by bursa]
Add and improve error handling of save_complete. Save HTML as UTF-8 to prevent encoding issues.

svn path=/import/netsurf/; revision=931
2004-06-06 19:39:17 +00:00
James Bursa
6ad8aa088c [project @ 2004-06-05 16:07:13 by bursa]
Rename template "config_th_pa" to "config_th_p" to fix suspected 12-character problem with Wimp_LoadTemplate.

svn path=/import/netsurf/; revision=929
2004-06-05 16:07:13 +00:00
James Bursa
27a6af1739 [project @ 2004-06-02 21:43:07 by bursa]
Reflow back if xosfile_save_stamped() fails.

svn path=/import/netsurf/; revision=925
2004-06-02 21:43:07 +00:00
James Bursa
f28b24d306 [project @ 2004-06-02 21:38:06 by bursa]
Remove frames-related code.

svn path=/import/netsurf/; revision=923
2004-06-02 21:38:06 +00:00
James Bursa
6710971eec [project @ 2004-06-02 21:27:07 by bursa]
Simplify animation redraw code.

svn path=/import/netsurf/; revision=922
2004-06-02 21:27:07 +00:00
James Bursa
9f36f6144c [project @ 2004-06-02 21:26:12 by bursa]
Handle memory exhaustion and errors.

svn path=/import/netsurf/; revision=921
2004-06-02 21:26:12 +00:00
James Bursa
e3369389a4 [project @ 2004-06-02 21:25:16 by bursa]
Handle errors from save_as_draw().

svn path=/import/netsurf/; revision=920
2004-06-02 21:25:16 +00:00
James Bursa
de10519be4 [project @ 2004-06-02 21:24:39 by bursa]
Remove #include <setjmp.h> for debug build issue.

svn path=/import/netsurf/; revision=919
2004-06-02 21:24:39 +00:00
James Bursa
cafb24a336 [project @ 2004-06-02 21:23:27 by bursa]
Remove obsolete files.

svn path=/import/netsurf/; revision=918
2004-06-02 21:23:27 +00:00
Richard Wilson
3f39cf8d42 [project @ 2004-05-31 21:51:35 by rjw]
History window shows the last frame of GIFs with a finite loop count, the first frame otherwise.

svn path=/import/netsurf/; revision=905
2004-05-31 21:51:35 +00:00
Richard Wilson
ae59bb9482 [project @ 2004-05-31 20:03:20 by rjw]
Fix for interlaced GIFs with very small heights.

svn path=/import/netsurf/; revision=903
2004-05-31 20:03:20 +00:00
Richard Wilson
58bca93f8c [project @ 2004-05-31 14:37:02 by rjw]
Added #define for Tinct_AvailableFeatures (Tinct version 0.04+).

svn path=/import/netsurf/; revision=901
2004-05-31 14:37:02 +00:00
James Bursa
bbad5f0461 [project @ 2004-05-29 21:01:36 by bursa]
Remove obsolete parameters. Visibility bug fix.

svn path=/import/netsurf/; revision=900
2004-05-29 21:01:36 +00:00
Richard Wilson
2af77b03e5 [project @ 2004-05-26 21:13:07 by rjw]
Fix for FP exceptions.

svn path=/import/netsurf/; revision=897
2004-05-26 21:13:07 +00:00
James Bursa
de6ba3a7aa [project @ 2004-05-25 10:42:28 by bursa]
Remove obsolete gui_window_in_list(), clean up gui_create_browser_window().

svn path=/import/netsurf/; revision=896
2004-05-25 10:42:28 +00:00
Richard Wilson
1d75176293 [project @ 2004-05-24 20:50:57 by rjw]
Added option for maximum GIF animation speed (currently defaults to 10cs).
Fix for scaled animations not being correctly updated due to rounding issues.

svn path=/import/netsurf/; revision=895
2004-05-24 20:50:57 +00:00
Richard Wilson
b28605cd5f [project @ 2004-05-24 20:47:32 by rjw]
Simple theme pane handling.

svn path=/import/netsurf/; revision=894
2004-05-24 20:47:32 +00:00
John Mark Bell
af576a9bc7 [project @ 2004-05-23 16:37:30 by jmb]
Fix acknowledgement of URI_MProcess. Thanks to John Baker for reporting.

svn path=/import/netsurf/; revision=893
2004-05-23 16:37:30 +00:00
Richard Wilson
d721c0473d [project @ 2004-05-23 12:50:37 by rjw]
Fix for my stupidity.

svn path=/import/netsurf/; revision=892
2004-05-23 12:50:37 +00:00
Richard Wilson
9d305e4ec0 [project @ 2004-05-23 12:22:05 by rjw]
Improved style guide compliance and (incomplete) option to save window starting characteristics.

svn path=/import/netsurf/; revision=891
2004-05-23 12:22:05 +00:00
Richard Wilson
38befac56a [project @ 2004-05-23 11:22:10 by rjw]
Added detection for generic interactive help applications.

svn path=/import/netsurf/; revision=890
2004-05-23 11:22:10 +00:00
James Bursa
6ac57d946b [project @ 2004-05-22 23:04:44 by bursa]
Work on new theme choices dialog.

svn path=/import/netsurf/; revision=889
2004-05-22 23:04:44 +00:00
John Tytgat
9feb8b694c [project @ 2004-05-22 14:38:59 by joty]
gui_gadget_combo() : fix for spurious crash when RISC OS menu gets shown.

svn path=/import/netsurf/; revision=888
2004-05-22 14:38:59 +00:00
John Tytgat
dca6e2370b [project @ 2004-05-22 14:27:03 by joty]
gui_gadget_combo() : small changes.

svn path=/import/netsurf/; revision=887
2004-05-22 14:27:03 +00:00
James Bursa
4a500f5614 [project @ 2004-05-21 23:42:26 by bursa]
Fix and clean code for radio and checkbox inputs.

svn path=/import/netsurf/; revision=884
2004-05-21 23:42:26 +00:00
James Bursa
c2ebb7e4de [project @ 2004-05-21 10:29:54 by bursa]
Fix divide-by-zero bug.

svn path=/import/netsurf/; revision=879
2004-05-21 10:29:54 +00:00
Richard Wilson
cfb09ad4f6 [project @ 2004-05-20 21:51:50 by rjw]
Animations now default to looping once.

svn path=/import/netsurf/; revision=875
2004-05-20 21:51:50 +00:00
Richard Wilson
9eb483c6e8 [project @ 2004-05-19 17:36:55 by rjw]
Faster GIF decoding

svn path=/import/netsurf/; revision=869
2004-05-19 17:36:55 +00:00
Richard Wilson
a2e2222ac8 [project @ 2004-05-19 17:31:34 by rjw]
Fix for WindowManager 3.98

svn path=/import/netsurf/; revision=868
2004-05-19 17:31:34 +00:00
John Tytgat
25cca6f2a7 [project @ 2004-05-14 20:23:52 by joty]
Removed compiler warning (and odd construction).

svn path=/import/netsurf/; revision=865
2004-05-14 20:23:52 +00:00
Richard Wilson
48ace0dd89 [project @ 2004-05-14 19:59:09 by rjw]
Interactive help tokens now fall back to their base key when not available.
Help menu is now fully implemented.
F1 opens the help page.

svn path=/import/netsurf/; revision=864
2004-05-14 19:59:09 +00:00
Richard Wilson
4474156c22 [project @ 2004-05-14 17:36:30 by rjw]
Added support for more windows.
Fixed separators reporting the parent menu help message.

svn path=/import/netsurf/; revision=862
2004-05-14 17:36:30 +00:00
Richard Wilson
020080956a [project @ 2004-05-14 17:35:00 by rjw]
Begone status bar widget flicker!

svn path=/import/netsurf/; revision=861
2004-05-14 17:35:00 +00:00
James Bursa
837d60cc37 [project @ 2004-05-13 14:39:43 by bursa]
Fix URL protocol termination bug (reported by Fred Bambrough). Change from xcalloc to malloc and add error handling.

svn path=/import/netsurf/; revision=859
2004-05-13 14:39:43 +00:00
John Mark Bell
fa40b93632 [project @ 2004-05-12 10:43:34 by jmb]
Fix my inability to read

svn path=/import/netsurf/; revision=857
2004-05-12 10:43:34 +00:00
Richard Wilson
3f0f5d7be9 [project @ 2004-05-12 10:23:07 by rjw]
Interactive help keys made more descriptive.
Message key length increased to 24.

svn path=/import/netsurf/; revision=856
2004-05-12 10:23:07 +00:00
John Mark Bell
0ee5786458 [project @ 2004-05-12 08:05:35 by jmb]
Fix input focus when right clicking a link.

svn path=/import/netsurf/; revision=855
2004-05-12 08:05:35 +00:00
Richard Wilson
388e8a8a90 [project @ 2004-05-11 23:40:07 by rjw]
Interactive help support.

svn path=/import/netsurf/; revision=853
2004-05-11 23:40:07 +00:00
Richard Wilson
924fe5c995 [project @ 2004-05-10 22:53:36 by rjw]
Animations with a limited number of loops now stop on the last frame rather than the first.

svn path=/import/netsurf/; revision=850
2004-05-10 22:53:36 +00:00
Richard Wilson
47ab606edf [project @ 2004-05-10 22:14:33 by rjw]
Added support for NETSCAPE2.0 application extension for limited looping.
GIF decoding attempts all images, irrespective of whether they adhere to the GIF87/GIF89a spec.
Disabled logging.

svn path=/import/netsurf/; revision=849
2004-05-10 22:14:33 +00:00
Richard Wilson
7fa938d09c [project @ 2004-05-09 21:15:54 by rjw]
Temporary fix for decoding certain images.

svn path=/import/netsurf/; revision=848
2004-05-09 21:15:54 +00:00
Richard Wilson
e5863b17d0 [project @ 2004-05-09 21:05:24 by rjw]
Local options are now adhered to (dither, filter, animate).

svn path=/import/netsurf/; revision=847
2004-05-09 21:05:24 +00:00
John Tytgat
226c002d57 [project @ 2004-05-09 16:49:53 by joty]
Type change of struct content_html.encoding from xmlCharEncoding to xmlChar; Pickup Content-Type charset in the HTML file and use this if the server didn't send it or there was no server involved (e.g. HTML loading from disk).

svn path=/import/netsurf/; revision=846
2004-05-09 16:49:53 +00:00
Richard Wilson
f29ad7e266 [project @ 2004-05-09 16:12:24 by rjw]
Improved GIF animation and a decoding bug fix.

svn path=/import/netsurf/; revision=845
2004-05-09 16:12:24 +00:00
James Bursa
29340cf8c8 [project @ 2004-05-08 20:44:00 by bursa]
Break out ro_gui_dialog_load_template(). Replace xcalloc() with malloc() and add some error handling.

svn path=/import/netsurf/; revision=844
2004-05-08 20:44:00 +00:00
James Bursa
b148ed230f [project @ 2004-05-08 18:12:36 by bursa]
Move some functions from gui.c to window.c. Simplify and add error handling to gui_window_set_pointer().

svn path=/import/netsurf/; revision=842
2004-05-08 18:12:36 +00:00
James Bursa
24fb50b120 [project @ 2004-05-07 19:14:54 by bursa]
Implement multitasking warning dialog. Warn user if resolvers not set.

svn path=/import/netsurf/; revision=841
2004-05-07 19:14:54 +00:00
John Mark Bell
2d8ba47e70 [project @ 2004-05-07 00:06:26 by jmb]
Gain input focus when clicked

svn path=/import/netsurf/; revision=839
2004-05-07 00:06:26 +00:00
Richard Wilson
fac94deeb8 [project @ 2004-05-06 22:24:37 by rjw]
Background redraw bug fix.

svn path=/import/netsurf/; revision=838
2004-05-06 22:24:37 +00:00
John Tytgat
255bf8f1ed [project @ 2004-05-06 21:18:26 by joty]
[ Again, the same commit of 2004-05-03 ]
ro_gui_set_icon_string() :
  - anti-flicker test didn't work when string is longer than icon text
    buffer length.
  - make sure we have a NUL char terminated string when new icon text is
    longer than icon buffer.

svn path=/import/netsurf/; revision=837
2004-05-06 21:18:26 +00:00
James Bursa
7cb9b4d79b [project @ 2004-05-06 20:37:48 by bursa]
Remove obsolete theme files. Hide some unimplemented toolbar icons. F2 moves caret to URL bar and clears it to "www.". Simplify some of the toolbar code. Fix menu-related crash (reported by Jerome Mathevet).

svn path=/import/netsurf/; revision=836
2004-05-06 20:37:48 +00:00
James Bursa
c0a4ab450b [project @ 2004-05-06 12:14:47 by bursa]
Some save-related fixes.

svn path=/import/netsurf/; revision=835
2004-05-06 12:14:47 +00:00
John Mark Bell
f01ebe2648 [project @ 2004-05-06 01:26:37 by jmb]
Remove Object->Reload menu entry as it does nothing.
Save the correct URL when exporting the URL of an object (previously it saved the URL of the link target (if appropriate) of ofla (if not). Now save the URL of the object.
TODO - saving of link targets and their URLs

svn path=/import/netsurf/; revision=834
2004-05-06 01:26:37 +00:00
John Mark Bell
4193007532 [project @ 2004-05-06 00:56:15 by jmb]
Fix previous checkin - don't ack when saving complete - it breaks otherwise.

svn path=/import/netsurf/; revision=833
2004-05-06 00:56:15 +00:00
John Mark Bell
d93e102899 [project @ 2004-05-06 00:52:31 by jmb]
Convert "magic" number usage to an enum to appease James.
Send message dataload after successful save - now possible to save directly to other apps.

svn path=/import/netsurf/; revision=832
2004-05-06 00:52:31 +00:00
Richard Wilson
c4fe8ccf18 [project @ 2004-05-05 20:04:37 by rjw]
Status window now correctly respects the horizontal scroll bar height.

svn path=/import/netsurf/; revision=829
2004-05-05 20:04:37 +00:00
James Bursa
bb41604045 [project @ 2004-05-05 16:33:15 by bursa]
Fix some compiler warnings. Ignore size attribute for file inputs.

svn path=/import/netsurf/; revision=828
2004-05-05 16:33:15 +00:00
John Mark Bell
9deb539031 [project @ 2004-05-05 00:19:51 by jmb]
Fixes for Norcroft

svn path=/import/netsurf/; revision=827
2004-05-05 00:19:51 +00:00
John Mark Bell
0f8e3e06e4 [project @ 2004-05-05 00:02:13 by jmb]
Implement saving of Links as URI, URL and Text
Implement saving of page objects in their original format
Implement export of page images as Sprite
Fix NULL pointer causing ofla when extracting page charset from libxml

svn path=/import/netsurf/; revision=826
2004-05-05 00:02:13 +00:00
Richard Wilson
e7da747f5f [project @ 2004-05-04 22:21:37 by rjw]
Revised GUI.

svn path=/import/netsurf/; revision=823
2004-05-04 22:23:44 +00:00
James Bursa
8da6079f6f [project @ 2004-05-03 22:05:40 by bursa]
Implement dragging files into <input type="file" ...>.

svn path=/import/netsurf/; revision=821
2004-05-03 22:05:40 +00:00
John Tytgat
24c57d3215 [project @ 2004-05-03 21:00:14 by joty]
ro_gui_set_icon_string() :
  - anti-flicker test didn't work when string is longer than icon text
    buffer length
  - make sure we have a NUL char terminated string when new icon text is
    longer than icon buffer.

svn path=/import/netsurf/; revision=820
2004-05-03 21:00:14 +00:00
John Mark Bell
e42361b684 [project @ 2004-05-02 17:38:29 by jmb]
Move save_complete_init() call to gui_init()

svn path=/import/netsurf/; revision=818
2004-05-02 17:38:29 +00:00
John Mark Bell
afb5e4209b [project @ 2004-05-02 17:01:37 by jmb]
Remove #ifdef nastiness. Now uses alloca.

svn path=/import/netsurf/; revision=816
2004-05-02 17:01:37 +00:00
John Tytgat
f310036536 [project @ 2004-05-02 14:49:28 by joty]
Corrupted PNG files will no longer result in assert() calling.  See
test suite at http://www.schaik.com/pngsuite/pngsuite.html.

svn path=/import/netsurf/; revision=815
2004-05-02 14:49:28 +00:00
John Mark Bell
51bea40b9a [project @ 2004-05-02 01:04:38 by jmb]
A couple more Norcroft-related patches.
The use of #ifdef __GNU_C__ in both of these can be avoided. I'm not entirely sure whether it would be sensible to do so, so I've left them as-is.

svn path=/import/netsurf/; revision=814
2004-05-02 01:04:38 +00:00
John Mark Bell
8cb321ec78 [project @ 2004-05-02 00:21:40 by jmb]
Minimal fixes to allow compilation with Norcroft

svn path=/import/netsurf/; revision=813
2004-05-02 00:21:41 +00:00
John Tytgat
8d57502f04 [project @ 2004-05-02 00:16:23 by joty]
Ack successful save with message_DATA_LOAD.

svn path=/import/netsurf/; revision=812
2004-05-02 00:16:23 +00:00
John Tytgat
75871a2ac5 [project @ 2004-05-01 23:40:37 by joty]
Workaround for Norcroft oddity.

svn path=/import/netsurf/; revision=811
2004-05-01 23:40:37 +00:00
John Mark Bell
dcfa1164d3 [project @ 2004-05-01 20:16:38 by jmb]
Escape @import in doxygen comments

svn path=/import/netsurf/; revision=809
2004-05-01 20:16:38 +00:00
James Bursa
199eee4b0b [project @ 2004-04-26 13:47:51 by bursa]
Fix scaled GIF animations.

svn path=/import/netsurf/; revision=805
2004-04-26 13:47:51 +00:00
Matthew Hambley
d44ab700d0 [project @ 2004-04-25 11:40:05 by matthewh]
A more human face to download bytecounts.  Needs someone who can speak French to correct the fr messages file.

svn path=/import/netsurf/; revision=803
2004-04-25 11:40:05 +00:00
James Bursa
1f07fc6de5 [project @ 2004-04-24 23:42:31 by bursa]
Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds.

svn path=/import/netsurf/; revision=801
2004-04-24 23:42:32 +00:00
James Bursa
a7dbc01677 [project @ 2004-04-21 22:26:54 by bursa]
Fix background clipping bug.

svn path=/import/netsurf/; revision=798
2004-04-21 22:26:54 +00:00
James Bursa
9bd6721a73 [project @ 2004-04-21 21:36:06 by bursa]
Fix redraw bugs; change plotting of radio and checkboxes to make them scalable.

svn path=/import/netsurf/; revision=796
2004-04-21 21:36:06 +00:00
Richard Wilson
dc510627d9 [project @ 2004-04-17 20:50:33 by rjw]
Fixed animation disposal handling.

svn path=/import/netsurf/; revision=790
2004-04-17 20:50:33 +00:00
Richard Wilson
6f5dd247ad [project @ 2004-04-17 16:45:46 by rjw]
Improved Scale window GUI functionality.
Improved icon update code.

svn path=/import/netsurf/; revision=789
2004-04-17 16:45:46 +00:00
James Bursa
31c76750f9 [project @ 2004-04-13 23:19:44 by bursa]
Remove some obsolete options.

svn path=/import/netsurf/; revision=777
2004-04-13 23:19:44 +00:00
Andrew Duffell
1bd8727c69 [project @ 2004-04-13 21:57:12 by andrew]
removal of redundant options bor browser

svn path=/import/netsurf/; revision=776
2004-04-13 21:57:12 +00:00
Richard Wilson
033e1cda54 [project @ 2004-04-13 19:04:32 by rjw]
Added extra menu options.
Fixed bug in menu creation for values not present in the Messages file.

svn path=/import/netsurf/; revision=774
2004-04-13 19:04:32 +00:00
John Mark Bell
f5d8e5856c [project @ 2004-04-13 16:15:23 by jmb]
Move hot spot of caret pointer down.
Tidy up caret pointer sprite

svn path=/import/netsurf/; revision=772
2004-04-13 16:15:23 +00:00
John Mark Bell
1df9d83656 [project @ 2004-04-13 13:31:54 by jmb]
Fix bug in URL rewriting affecting pages with embedded HTML documents.
Rename save_complete_internal to save_complete_html to aid clarity

svn path=/import/netsurf/; revision=770
2004-04-13 13:31:54 +00:00
John Mark Bell
04cdfb6151 [project @ 2004-04-12 23:59:01 by jmb]
Fix flawed check for URL scheme we can handle

svn path=/import/netsurf/; revision=768
2004-04-12 23:59:01 +00:00
John Mark Bell
226f3efbe8 [project @ 2004-04-12 22:04:51 by jmb]
Fix calculation of string width

svn path=/import/netsurf/; revision=767
2004-04-12 22:04:51 +00:00
John Mark Bell
d0a3543e72 [project @ 2004-04-12 21:46:08 by jmb]
Add popup tooltip containing URL when mouse is over history window entry

svn path=/import/netsurf/; revision=766
2004-04-12 21:46:08 +00:00
Richard Wilson
7d165500d3 [project @ 2004-04-12 19:40:57 by rjw]
Theme height now reported as 2 OS units larger.

svn path=/import/netsurf/; revision=762
2004-04-12 19:40:57 +00:00
James Bursa
b7c5c93e59 [project @ 2004-04-12 17:43:54 by bursa]
Replace / in docs file names with _.

svn path=/import/netsurf/; revision=757
2004-04-12 17:43:54 +00:00
Richard Wilson
cc48a49f21 [project @ 2004-04-11 14:30:18 by rjw]
Fixed memory leak.
Fixed background not being cleared for thumbnails that are not oversampled.

svn path=/import/netsurf/; revision=753
2004-04-11 14:30:18 +00:00
Richard Wilson
568ea65400 [project @ 2004-04-11 14:29:30 by rjw]
Added ability to turn off 32bpp thumbnails.

svn path=/import/netsurf/; revision=752
2004-04-11 14:29:30 +00:00
John Mark Bell
076b8c8a96 [project @ 2004-04-10 23:41:12 by jmb]
Fix use of wrong variable when rewriting <style> elements

svn path=/import/netsurf/; revision=749
2004-04-10 23:41:12 +00:00
John Mark Bell
02915fd4cd [project @ 2004-04-10 23:12:28 by jmb]
Add text under thumbnails again.

svn path=/import/netsurf/; revision=748
2004-04-10 23:12:28 +00:00
Richard Wilson
88bf9d7ddc [project @ 2004-04-10 20:04:11 by rjw]
Fix for thumbnail palette bug.
Fix for upper case iconsprite names.
Uses thumbnail sprite creation routines.

svn path=/import/netsurf/; revision=747
2004-04-10 20:04:11 +00:00
Richard Wilson
f61d7fe881 [project @ 2004-04-10 18:19:35 by rjw]
Thumnails now created with a palette to fix incorrect colour rendition.
Thumnails output to a 32bpp sprite where possible.
Thumnails oversampled to improve display if desired.

svn path=/import/netsurf/; revision=744
2004-04-10 18:19:35 +00:00
Richard Wilson
4934762dd6 [project @ 2004-04-10 18:12:58 by rjw]
Added option for thumbnail oversampling.

svn path=/import/netsurf/; revision=743
2004-04-10 18:12:58 +00:00
James Bursa
e90e01cd49 [project @ 2004-04-09 21:06:10 by bursa]
Add FixFonts to attempt to fix common font problem.

svn path=/import/netsurf/; revision=741
2004-04-09 21:06:10 +00:00