Commit Graph

224 Commits

Author SHA1 Message Date
James Bursa da5d07f0be [project @ 2004-10-22 20:58:11 by bursa]
Fix form textarea scrolling. The scrollbar now works properly.

svn path=/import/netsurf/; revision=1334
2004-10-22 20:58:11 +00:00
John Mark Bell 963c3766d5 [project @ 2004-10-20 23:31:31 by jmb]
Reimplement draw groups

svn path=/import/netsurf/; revision=1332
2004-10-20 23:31:32 +00:00
James Bursa de33b16b87 [project @ 2004-10-17 21:11:29 by bursa]
Scrollbar and dragging work.

svn path=/import/netsurf/; revision=1315
2004-10-17 21:11:29 +00:00
James Bursa 0c898cdedf [project @ 2004-10-17 21:03:19 by bursa]
New target-independent interface for plotting and RISC OS screen implementation.

svn path=/import/netsurf/; revision=1312
2004-10-17 21:03:19 +00:00
Richard Wilson 403f12872d [project @ 2004-10-04 23:54:42 by rjw]
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.

svn path=/import/netsurf/; revision=1301
2004-10-04 23:54:42 +00:00
John Mark Bell 428a1b5841 [project @ 2004-10-01 23:19:08 by jmb]
Referer header is now preserved across redirects

svn path=/import/netsurf/; revision=1299
2004-10-01 23:19:08 +00:00
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 1202ad9c44 [project @ 2004-09-30 16:48:04 by jmb]
Prevent crash when radio button outside a form block is selected.
Make url bar update slightly more sane - doesn't update if the fetch is a download.

svn path=/import/netsurf/; revision=1295
2004-09-30 16:48:04 +00:00
Michael Drake 4439cbc204 [project @ 2004-09-28 15:30:48 by tlsa]
Support invalid polygon shape name in image maps.

svn path=/import/netsurf/; revision=1292
2004-09-28 15:30:48 +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 c4772ea99c [project @ 2004-09-14 00:20:29 by jmb]
Revert last change

svn path=/import/netsurf/; revision=1278
2004-09-14 00:20:29 +00:00
John Mark Bell bcecdaf9eb [project @ 2004-09-14 00:20:06 by jmb]
Prod NC build - looks like dependencies are screwed

svn path=/import/netsurf/; revision=1277
2004-09-14 00:20:06 +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
John Tytgat 6b46a8d916 [project @ 2004-08-26 22:59:02 by joty]
die() doesn't need extra ().

svn path=/import/netsurf/; revision=1252
2004-08-26 22:59:02 +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 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 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 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
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
James Bursa 8337acfc78 [project @ 2004-08-08 19:13:40 by bursa]
Fix form submitting with an empty file upload. Update form_textarea_value(). Purge xcalloc() etc from form.c and handle memory exhaustion.

svn path=/import/netsurf/; revision=1195
2004-08-08 19:13:40 +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
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 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 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 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 b65c4d4102 [project @ 2004-07-28 22:38:17 by bursa]
Renamed curl_memdebug() to memdebug_memdebug().

svn path=/import/netsurf/; revision=1157
2004-07-28 22:38:17 +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
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
John Tytgat 0383834501 [project @ 2004-07-21 14:20:43 by joty]
brownser_window_go_post() : disown the caret.

svn path=/import/netsurf/; revision=1134
2004-07-21 14:20:43 +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
John Tytgat c93b54b07c [project @ 2004-07-19 20:40:11 by joty]
form.h (struct form_control): renamed caret_char_offset to caret_box_offset; Added caret_form_offset & length.
form.c: initialise new entries in struct form_control; form_successful_controls() : code reshuffling to improve readibility.
box.h: TABing.
box.c (box_input): init struct form_control::length.
browser.c (browser_window_input_callback): UTF-8 support. Text area code needs similar changes.

svn path=/import/netsurf/; revision=1117
2004-07-19 20:40:11 +00:00
James Bursa c4a502219f [project @ 2004-07-19 15:02:22 by bursa]
Use browser_redraw_box() when updating form select controls.

svn path=/import/netsurf/; revision=1106
2004-07-19 15:02:22 +00:00
James Bursa 9bd3eadbe6 [project @ 2004-07-19 14:31:31 by bursa]
Update and simplify textarea code. Now uses BOX_BR instead of more than one inline container. Prepare for use of UTF-8 in textareas and inputs.

svn path=/import/netsurf/; revision=1104
2004-07-19 14:31:31 +00:00
John Mark Bell c4b561e841 [project @ 2004-07-18 22:57:22 by jmb]
Remove unnecessary declaration of external function.

svn path=/import/netsurf/; revision=1100
2004-07-18 22:57:22 +00:00
James Bursa c1dc4b555e [project @ 2004-07-18 22:41:49 by bursa]
Reverse accidental checkin (breaks autobuilder).

svn path=/import/netsurf/; revision=1099
2004-07-18 22:41:49 +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 b09fdba4ed [project @ 2004-07-18 00:12:18 by bursa]
Fix form text input bug.

svn path=/import/netsurf/; revision=1095
2004-07-18 00:12:18 +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
John Mark Bell ba22b4e753 [project @ 2004-07-10 02:35:30 by jmb]
Use libcurl's progress callback functionality to display fetch status.
This will update the status line once a second, more frequently requires hacking libcurl.

svn path=/import/netsurf/; revision=1066
2004-07-10 02:35:31 +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
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
John Mark Bell a2960c79f2 [project @ 2004-07-04 15:20:20 by jmb]
Bow to user pressure and display URL immediately.

svn path=/import/netsurf/; revision=1045
2004-07-04 15:20:20 +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 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