Commit Graph

175 Commits

Author SHA1 Message Date
John Mark Bell
49ce807e3c [project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.

Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).

svn path=/import/netsurf/; revision=1297
2004-10-01 21:31:55 +00:00
John Mark Bell
39ad1632eb [project @ 2004-10-01 00:06:49 by jmb]
Send HTTP referer header. This is _only_ sent when a link is clicked (theoretically, at least).

svn path=/import/netsurf/; revision=1296
2004-10-01 00:06:49 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
John Mark Bell
9de746e0a0 [project @ 2004-04-08 23:46:41 by jmb]
Improve keypress handling in form text boxes.
Note: Not yet implemented for textareas as these need more work anyway.

svn path=/import/netsurf/; revision=740
2004-04-08 23:46:41 +00:00
John Mark Bell
9dded4a01c [project @ 2004-04-03 17:28:04 by jmb]
Wrap window offset every 5 windows.

svn path=/import/netsurf/; revision=715
2004-04-03 17:28:04 +00:00
John Mark Bell
0a31d736c2 [project @ 2004-04-03 12:36:48 by jmb]
Add fixed offset when opening new windows.

svn path=/import/netsurf/; revision=711
2004-04-03 12:36:48 +00:00
James Bursa
c38ea1026a [project @ 2004-04-02 15:52:28 by bursa]
Fix scrolling and resizing of scaled windows.

svn path=/import/netsurf/; revision=702
2004-04-02 15:52:28 +00:00
James Bursa
dcca670d43 [project @ 2004-03-30 22:47:23 by bursa]
Disable mouse gesture code, since it is unmaintained and broken.

svn path=/import/netsurf/; revision=693
2004-03-30 22:47:23 +00:00
John Mark Bell
66bab3a14a [project @ 2004-03-30 20:24:00 by jmb]
Make save button work

svn path=/import/netsurf/; revision=692
2004-03-30 20:24:00 +00:00
James Bursa
74b1c3986b [project @ 2004-03-27 18:46:08 by bursa]
Save complete gui and F3 etc.

svn path=/import/netsurf/; revision=677
2004-03-27 18:46:08 +00:00
John Mark Bell
c18775f4fb [project @ 2004-03-25 00:31:45 by jmb]
Make text export use stdio.
Move save_text.[ch] to desktop.

svn path=/import/netsurf/; revision=666
2004-03-25 00:31:45 +00:00
John Mark Bell
7d0b144391 [project @ 2004-03-24 23:51:08 by jmb]
Text Export support.

svn path=/import/netsurf/; revision=665
2004-03-24 23:51:08 +00:00
James Bursa
423f0f1e70 [project @ 2004-03-21 13:55:51 by bursa]
Implement gui_window_update_box() and use in response to CONTENT_MSG_REDRAW.

svn path=/import/netsurf/; revision=644
2004-03-21 13:55:51 +00:00
James Bursa
5a7d38ea9f [project @ 2004-03-13 13:03:01 by bursa]
Disable clean_cookiejar() due to reliability problems.

svn path=/import/netsurf/; revision=612
2004-03-13 13:03:01 +00:00
James Bursa
b56bc523b8 [project @ 2004-03-09 23:57:40 by bursa]
Set caret in new window url line.

svn path=/import/netsurf/; revision=596
2004-03-09 23:57:40 +00:00
James Bursa
1c85bf0429 [project @ 2004-03-02 18:02:17 by bursa]
Add new url functions and modify to use them.

svn path=/import/netsurf/; revision=578
2004-03-02 18:02:41 +00:00
James Bursa
c05d6fdc8b [project @ 2004-02-26 17:52:10 by bursa]
Implement back and forward using history.

svn path=/import/netsurf/; revision=572
2004-02-26 17:52:10 +00:00
James Bursa
0a4caa5687 [project @ 2004-02-26 17:25:51 by bursa]
Improvements to history window.

svn path=/import/netsurf/; revision=571
2004-02-26 17:26:01 +00:00
James Bursa
318869e90e [project @ 2004-02-26 00:44:42 by bursa]
Implement drag saving of drawfiles and clean up drag/drop/save code.

svn path=/import/netsurf/; revision=568
2004-02-26 00:44:42 +00:00
James Bursa
7897a98a4c [project @ 2004-02-25 15:12:57 by bursa]
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.

svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00
John Mark Bell
6839622183 [project @ 2004-02-17 12:41:38 by jmb]
Begin save complete support.
Fix memory leak when using Select PNG renderer. (commented out lines can probably removed)

svn path=/import/netsurf/; revision=556
2004-02-17 12:41:38 +00:00
John Mark Bell
3720fafac0 [project @ 2004-02-14 22:26:35 by jmb]
Draw export module.

svn path=/import/netsurf/; revision=541
2004-02-14 22:26:35 +00:00
James Bursa
b0c5b74987 [project @ 2004-02-02 00:22:59 by bursa]
Start at margin / padding / border support.

svn path=/import/netsurf/; revision=529
2004-02-02 00:22:59 +00:00