Commit Graph

635 Commits

Author SHA1 Message Date
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