Commit Graph

84 Commits

Author SHA1 Message Date
Michael Drake 2319b6032e + Change core to handle different front end click behaviour
styles. (Act on mouse button press or on button release.)
+ Click hold on CSS scrollbar arrows now pauses before
  starting to auto-repeat.
+ Click hold on scrollbar wells will now auto-repeat.

svn path=/trunk/netsurf/; revision=4268
2008-06-06 13:58:56 +00:00
John Mark Bell b15a6af3d2 s/wchar_t/uint32_t/g
We always assumed that the keycode type was 32bits wide, anyway. wchar_t isn't guaranteed to be that big, so isn't remotely portable.

svn path=/trunk/netsurf/; revision=4165
2008-05-16 09:37:22 +00:00
Daniel Silverstone f025f23c52 Remove the old and crap gesture core
svn path=/trunk/netsurf/; revision=3537
2007-09-14 18:33:32 +00:00
Vincent Sanders 2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
John Mark Bell cc684469df Fix division by 0 caused by uninitialised scale value.
Break out initialisation of common parts of struct browser_window into their own function.

svn path=/trunk/netsurf/; revision=3481
2007-08-07 07:58:04 +00:00
James Bursa 07c54283e3 Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
svn path=/trunk/netsurf/; revision=3478
2007-08-07 03:55:18 +00:00
Daniel Silverstone 6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Richard Wilson 00af899230 Open window targets with a new name in a new window. Fix handling of Adjust-click on a form submit when new window opening is disabled.
svn path=/trunk/netsurf/; revision=3248
2007-04-07 23:08:31 +00:00
Rob Kendrick 2df3d592f3 Apply Darren Salt's keypress callbacl claiming patch, with addition of doc comment updates
svn path=/trunk/netsurf/; revision=3201
2007-03-06 23:50:06 +00:00
John Mark Bell df4dbaf4cf Handle cookies in unverifiable transactions
svn path=/trunk/netsurf/; revision=3151
2007-01-27 20:58:20 +00:00
James Bursa bda01b3135 Fix parsing error when an empty HTML data is returned. Add HTTP status and other information to status bar.
svn path=/trunk/netsurf/; revision=3140
2007-01-13 00:21:15 +00:00
Richard Wilson 1353585036 Implement form targets (fix 1619094)
svn path=/trunk/netsurf/; revision=3125
2006-12-30 00:34:26 +00:00
Michael Drake ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa ec563e60ca Add browser_window_reformat() and use it instead of content_reformat() to remove browser_window calls from html.c.
svn path=/trunk/netsurf/; revision=3071
2006-11-26 21:04:42 +00:00
James Bursa 21af6f7fda Move frames-related code out of browser.c into a new file. Remove some browser_window calls from html.c.
svn path=/trunk/netsurf/; revision=3070
2006-11-26 20:11:20 +00:00
Richard Wilson 02a8722cc6 Fix 1553282.
svn path=/trunk/netsurf/; revision=2932
2006-09-08 16:57:26 +00:00
Richard Wilson 74fa727509 Experimental new frames code.
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
Adrian Lees 5295d21743 Reposition caret when browser window reformatted
svn path=/trunk/netsurf/; revision=2839
2006-08-13 03:05:55 +00:00
Richard Wilson a102f34fa6 Make adjust-clicking submit open a new window (fix 1430135)
svn path=/trunk/netsurf/; revision=2716
2006-07-05 01:23:25 +00:00
Daniel Silverstone 8a86b6b2b4 Added rudimentary gesture engine and test in gtk frontend
svn path=/trunk/netsurf/; revision=2611
2006-06-02 07:48:13 +00:00
Richard Wilson c7f77b0165 Finish history cloning.
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
John Mark Bell c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Daniel Silverstone dc3287127a [project @ 2006-03-27 00:19:19 by dsilvers]
Defer scheduling a refresh until the content is loaded. This prevents assertion failures in the rare case that a schedule_run ends up being called before a content object containing a refresh which is due is fully loaded

svn path=/import/netsurf/; revision=2193
2006-03-27 00:19:19 +00:00
James Bursa 5a72700817 [project @ 2006-03-25 20:30:35 by bursa]
Split local history into portable and RISC OS specific code. Improve layout of history tree.

svn path=/import/netsurf/; revision=2164
2006-03-25 20:30:35 +00:00
Richard Wilson e6f311f97c [project @ 2005-12-31 04:30:49 by rjw]
Updates to work with new url_store system.

svn path=/import/netsurf/; revision=1909
2005-12-31 04:30:49 +00:00
Adrian Lees 1a1901d19b [project @ 2005-07-20 23:27:27 by adrianl]
2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end)

svn path=/import/netsurf/; revision=1812
2005-07-20 23:27:28 +00:00
Adrian Lees 31c659a2ea [project @ 2005-04-20 12:24:41 by adrianl]
text import from global clipboard, other apps & files and additional keys for editing text in textareas

svn path=/import/netsurf/; revision=1673
2005-04-20 12:24:41 +00:00
John Mark Bell ee9a4712cd [project @ 2005-04-15 18:00:19 by jmb]
Split out generic text input code.
Support internationalised text input.
Fix textarea-related bugs.

svn path=/import/netsurf/; revision=1642
2005-04-15 18:00:21 +00:00
Adrian Lees 28e757a362 [project @ 2005-04-15 05:52:25 by adrianl]
Text selection, page drag scrolling, drag-saving images

svn path=/import/netsurf/; revision=1638
2005-04-15 05:52:25 +00:00
Richard Wilson 950d8e27a0 [project @ 2005-03-13 09:04:44 by rjw]
Update title and extent on scale change.

svn path=/import/netsurf/; revision=1534
2005-03-13 09:04:44 +00:00
Richard Wilson db41dc3dac [project @ 2005-02-07 14:28:43 by rjw]
Initial work for global history (currently incomplete)

svn path=/import/netsurf/; revision=1497
2005-02-07 14:28:43 +00:00
James Bursa 2583180b79 [project @ 2005-01-24 22:14:59 by bursa]
Simplify browser_window_go(). Replace browser_window_go_post() with browser_window_go() where possible.

svn path=/import/netsurf/; revision=1466
2005-01-24 22:14:59 +00:00
James Bursa f0b264670e [project @ 2005-01-13 22:42:38 by bursa]
Start on theme auto-install. Fix content_add_user() not to broadcast error on memory exhaustion.

svn path=/import/netsurf/; revision=1448
2005-01-13 22:42:39 +00:00
John Mark Bell 77de9c1336 [project @ 2005-01-03 02:09:20 by jmb]
Shift + Click == download

svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
James Bursa a31f6306f9 [project @ 2004-11-20 00:02:56 by bursa]
Improvements to overflow and scrolling: scrollbars now have most of the usual RISC OS behaviour. Better rendering of dotted and dashed borders.

svn path=/import/netsurf/; revision=1363
2004-11-20 00:02:56 +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
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
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
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 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
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 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
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 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