Commit Graph

129 Commits

Author SHA1 Message Date
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
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
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
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
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
John Mark Bell
aed81aa917 [project @ 2004-04-04 18:07:44 by jmb]
Add pointer to containing content struct to box_selection and update box_under_area accordingly
This ensures relative links in frames etc. are url_joined correctly.

svn path=/import/netsurf/; revision=721
2004-04-04 18:07:44 +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
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
0dab93fe76 [project @ 2004-01-20 19:08:34 by jmb]
Allow toggling of POST support.
Add new toolbar icon numbers to riscos/gui.h

svn path=/import/netsurf/; revision=490
2004-01-20 19:08:34 +00:00
John Mark Bell
62245d13ec [project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.

svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
John Mark Bell
adc3476157 [project @ 2003-12-21 22:10:15 by jmb]
Tidy up and integrate frames code. Still incomplete.

svn path=/import/netsurf/; revision=439
2003-12-21 22:10:15 +00:00
James Bursa
9805610091 [project @ 2003-12-11 01:23:57 by bursa]
Clean up key handling and implement scrolling using cursor keys.

svn path=/import/netsurf/; revision=425
2003-12-11 01:23:57 +00:00
James Bursa
9e13c0f9a3 [project @ 2003-11-20 00:16:31 by bursa]
Clean up and simplify themes, remove old history code.

svn path=/import/netsurf/; revision=420
2003-11-20 00:16:31 +00:00
James Bursa
64941a66d2 [project @ 2003-11-15 00:26:41 by bursa]
New history window.

svn path=/import/netsurf/; revision=418
2003-11-15 00:26:42 +00:00
James Bursa
28f974f00f [project @ 2003-10-25 14:13:49 by bursa]
URL encoded POST support.

svn path=/import/netsurf/; revision=375
2003-10-25 14:13:49 +00:00
James Bursa
f1375fe19d [project @ 2003-10-25 00:35:49 by bursa]
Split out and clean up form submit code.

svn path=/import/netsurf/; revision=374
2003-10-25 00:35:49 +00:00
James Bursa
287986b28a [project @ 2003-09-22 21:55:08 by bursa]
Experimental textarea editing code.

svn path=/import/netsurf/; revision=309
2003-09-22 21:55:08 +00:00
James Bursa
5031b80b33 [project @ 2003-07-17 23:01:02 by bursa]
Fix 670947, tidy gui code, move some headers.

svn path=/import/netsurf/; revision=231
2003-07-17 23:01:02 +00:00
James Bursa
889ae885c6 [project @ 2003-07-14 22:57:45 by bursa]
Add content instances.

svn path=/import/netsurf/; revision=216
2003-07-14 22:57:45 +00:00
James Bursa
017fc4eb4b [project @ 2003-06-30 12:44:02 by bursa]
New file headers.

svn path=/import/netsurf/; revision=190
2003-06-30 12:44:03 +00:00
James Bursa
0c0ff3c596 [project @ 2003-06-17 19:24:20 by bursa]
Change fetchcache system to store loading contents in cache.

svn path=/import/netsurf/; revision=180
2003-06-17 19:24:21 +00:00
James Bursa
09b1ede5a3 [project @ 2003-04-15 17:53:00 by bursa]
Inline images and related.

svn path=/import/netsurf/; revision=125
2003-04-15 17:53:00 +00:00
James Bursa
e2efda19df [project @ 2003-03-04 11:59:35 by bursa]
More compiler warning fixes.

svn path=/import/netsurf/; revision=104
2003-03-04 11:59:36 +00:00
James Bursa
64e1781eb4 [project @ 2003-03-03 22:40:39 by bursa]
Fix many browser warnings.

svn path=/import/netsurf/; revision=103
2003-03-03 22:40:39 +00:00
James Bursa
817421cb0f [project @ 2003-02-28 11:49:13 by bursa]
More status messages, bug fixes.

svn path=/import/netsurf/; revision=102
2003-02-28 11:49:13 +00:00
James Bursa
9209f8e6cb [project @ 2003-02-09 19:32:24 by bursa]
Fix some warnings.

svn path=/import/netsurf/; revision=99
2003-02-09 19:33:32 +00:00
James Bursa
a4c5929a2f [project @ 2003-02-09 12:58:14 by bursa]
Reorganization and rewrite of fetch, cache, and content handling.

svn path=/import/netsurf/; revision=96
2003-02-09 12:58:15 +00:00
James Bursa
30c5f817ba [project @ 2003-01-12 17:48:44 by bursa]
Implement title element.

svn path=/import/netsurf/; revision=94
2003-01-12 17:48:44 +00:00
Phil Mellor
20ea5ea00f [project @ 2002-12-30 22:56:30 by monkeyson]
Forms are now interactive - user can manipulate checkbox, radio, text, textarea,
select elements.

svn path=/import/netsurf/; revision=76
2002-12-30 22:56:30 +00:00
James Bursa
24080add5c [project @ 2002-11-02 22:28:05 by bursa]
Memory cache.

svn path=/import/netsurf/; revision=47
2002-11-02 22:28:05 +00:00
Phil Mellor
eab796506b [project @ 2002-10-15 10:41:12 by monkeyson]
GUI: menus, toolbar, adjustable window width.

svn path=/import/netsurf/; revision=44
2002-10-15 10:41:12 +00:00
James Bursa
fcbe2cebae [project @ 2002-09-26 21:38:32 by bursa]
New Unicode font handling and rendering code.

svn path=/import/netsurf/; revision=39
2002-09-26 21:38:33 +00:00
Phil Mellor
811106028f [project @ 2002-09-11 14:24:02 by monkeyson]
RISC OS Wimp GUI.

svn path=/import/netsurf/; revision=33
2002-09-11 14:24:02 +00:00