Commit Graph

131 Commits

Author SHA1 Message Date
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
Rob Kendrick
04d8cae4c8 nsgtk warning squashes
svn path=/trunk/netsurf/; revision=3270
2007-05-06 17:50:28 +00:00
Rob Kendrick
0b763a04f7 Initialise some of the gui_window structure for nsgtk to remove a conditional jump on uninitalised data later on
svn path=/trunk/netsurf/; revision=3265
2007-05-05 13:59:16 +00:00
James Bursa
3d91ed1ab5 Add a few asserts to catch some bugs.
svn path=/trunk/netsurf/; revision=3258
2007-04-30 02:31:38 +00:00
Rob Kendrick
212b92f66e Reformat and apply Darren Salt's scrollwheel and keyboard scrolling patch, although I still can't get the keyboard scrolling to work.
svn path=/trunk/netsurf/; revision=3199
2007-03-06 21:29:51 +00:00
Rob Kendrick
9549165a2b Another warning squash in gtk/
svn path=/trunk/netsurf/; revision=3174
2007-02-10 02:27:06 +00:00
Rob Kendrick
bdf7affb19 Fix almost all warnings in gtk/
svn path=/trunk/netsurf/; revision=3173
2007-02-10 02:21:32 +00:00
James Bursa
cd98970628 Fix mouse events. Fix some GTK warnings.
svn path=/trunk/netsurf/; revision=3150
2007-01-27 19:29:28 +00:00
John Mark Bell
b057bdc2aa Update project URL (partially lost during merge)
Merge r3071 into gtk_window.c after gtk frames merge (again, lost in merge)

svn path=/trunk/netsurf/; revision=3076
2006-11-27 17:36:30 +00:00
John Mark Bell
5aae53ef91 Merge GTK frames branch to trunk.
svn path=/trunk/netsurf/; revision=3075
2006-11-27 17:13:24 +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
Rob Kendrick
d9137f99f7 Add menu item to toggle debug rendering to nsgtk
svn path=/trunk/netsurf/; revision=3047
2006-11-11 12:57:22 +00:00
Rob Kendrick
8043344eb8 Finish GTK about box
svn path=/trunk/netsurf/; revision=3030
2006-11-04 23:38:18 +00:00
John Mark Bell
00155f279f Fix GTK build
svn path=/trunk/netsurf/; revision=2950
2006-09-10 23:43:33 +00:00
Richard Wilson
f775b64fb7 Possibly fix the GTK build and implement frameset scaling.
svn path=/trunk/netsurf/; revision=2933
2006-09-08 17:11:01 +00:00
John Mark Bell
c356081c88 Fix GTK build
svn path=/trunk/netsurf/; revision=2927
2006-09-07 20:27:59 +00:00
John Mark Bell
48adbd97db Make GTK build compile again (don't expect frames to work, however)
Squash warnings in GTK plotters.

svn path=/trunk/netsurf/; revision=2921
2006-09-06 11:29:14 +00:00
Rob Kendrick
2fa6c3a7ad Implement user-defined new window placement in nsgtk
svn path=/trunk/netsurf/; revision=2901
2006-08-29 00:42:30 +00:00
Rob Kendrick
fa24f64b60 Set caret position in URL bar to the end when core updates it
svn path=/trunk/netsurf/; revision=2899
2006-08-28 20:36:01 +00:00
Rob Kendrick
82cba2801b Make nsgtk's gui_window_remove_caret actually remove the caret
svn path=/trunk/netsurf/; revision=2898
2006-08-28 20:31:21 +00:00
Rob Kendrick
170c992d2a Force nsgtk caret plotting to use GDK. Move plotting to stand-alone function.
svn path=/trunk/netsurf/; revision=2897
2006-08-28 20:24:45 +00:00
Rob Kendrick
f4da0b414b Improve resource finding, and start groundwork on making it installable - you must now run the "netsurf" shellscript to run nsgtk, and not nsgtk directly.
svn path=/trunk/netsurf/; revision=2888
2006-08-24 17:24:36 +00:00
Rob Kendrick
43bb5b652d Very simple global history implementation for nsgtk, misc fixes
svn path=/trunk/netsurf/; revision=2867
2006-08-18 11:44:24 +00:00
Rob Kendrick
20d7717c7d Redraw nsgtk browser windows when Choices...Apply is clicked.
svn path=/trunk/netsurf/; revision=2860
2006-08-17 20:03:28 +00:00
Rob Kendrick
af6a2cd2e0 Fix nsgtk choices window. I have no idea why it worked before.
svn path=/trunk/netsurf/; revision=2858
2006-08-17 19:20:13 +00:00
Rob Kendrick
8ab966398f Merge new glade nsgtk window code into trunk.
svn path=/trunk/netsurf/; revision=2853
2006-08-15 21:29:20 +00:00
James Bursa
e298837af7 Do not send referer when Home button is used. Fix some compile warnings.
svn path=/trunk/netsurf/; revision=2814
2006-08-06 15:18:53 +00:00
Rob Kendrick
6452fc8199 Turn more recent GTK calls into properties sets for compatibility with GTK 2.6
svn path=/trunk/netsurf/; revision=2803
2006-07-31 11:28:37 +00:00
Rob Kendrick
8387cc53d9 Fix key press event handling in drawing area for nsgtk
svn path=/trunk/netsurf/; revision=2802
2006-07-30 12:46:37 +00:00
Rob Kendrick
286567b673 nsgtk URL completion: fix problem with pressing enter on a completion not working correctly.
svn path=/trunk/netsurf/; revision=2798
2006-07-28 15:47:48 +00:00
Rob Kendrick
546efe6d6c Initial work on URL completion in nsgtk. Some problems still exist.
1. It works without the code that should be required to make it do so.  Boggle.
2. It appears to include the URLs to images and other resources as well as pages
3. Although you can highlight a completion with the cursor keys, pressing enter on one doesn't work - you need to click on it with the mouse.

svn path=/trunk/netsurf/; revision=2795
2006-07-25 20:55:10 +00:00
Rob Kendrick
754b0c0c73 Initial code to support usable Choices window in nsgtk. Unsupported choices are currently greyed out. Additionally, only the home page URL is current saved when Apply is clicked.
svn path=/trunk/netsurf/; revision=2792
2006-07-23 18:26:11 +00:00
Rob Kendrick
dfd0110726 Add tracking of open windows to nsgtk
svn path=/trunk/netsurf/; revision=2789
2006-07-21 10:50:11 +00:00
Rob Kendrick
dad7a41e93 Tidies for eventual gladification of main browser window in nsgtk
svn path=/trunk/netsurf/; revision=2784
2006-07-20 12:20:56 +00:00
Rob Kendrick
d6a0ad67fe Add simple (currently non-functional) options window for nsgtk
svn path=/trunk/netsurf/; revision=2779
2006-07-19 13:41:57 +00:00
Rob Kendrick
e510114844 GTK zoom fixes, misc multi-window fix
svn path=/trunk/netsurf/; revision=2750
2006-07-14 11:52:51 +00:00
Daniel Silverstone
7eb826bdd7 Basic multi-window support for nsgtk
svn path=/trunk/netsurf/; revision=2749
2006-07-14 10:26:03 +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
Rob Kendrick
db548c1e49 Fix some warnings and casting errors in GTK version
svn path=/trunk/netsurf/; revision=2575
2006-05-01 11:55:58 +00:00
John Mark Bell
4113543268 Fix GTK build
svn path=/trunk/netsurf/; revision=2550
2006-04-22 22:10:08 +00:00
Rob Kendrick
3e0e5f4d17 Basic support for typing text into textual form elements.
svn path=/trunk/netsurf/; revision=2539
2006-04-20 16:26:26 +00:00
Rob Kendrick
c3da525dbc Simple throbber for nsgtk
svn path=/trunk/netsurf/; revision=2521
2006-04-10 15:11:02 +00:00
Rob Kendrick
5d434ff002 [project @ 2006-03-29 15:26:53 by rjek]
Moved homepage_url option into core from riscos, and use it in the GTK frontend

svn path=/import/netsurf/; revision=2481
2006-03-29 15:26:54 +00:00
Rob Kendrick
94a3993be6 [project @ 2006-03-26 21:35:54 by rjek]
Implement Home button in GTK build

svn path=/import/netsurf/; revision=2184
2006-03-26 21:35:54 +00:00
Daniel Silverstone
feb7f10e78 [project @ 2006-03-26 17:40:15 by dsilvers]
Implement reload button for nsgtk

svn path=/import/netsurf/; revision=2179
2006-03-26 17:40:15 +00:00
Daniel Silverstone
41b71fc15a [project @ 2006-03-26 17:22:29 by dsilvers]
Implement the history window, and re-tabify gtk_window.c

svn path=/import/netsurf/; revision=2178
2006-03-26 17:22:29 +00:00
Daniel Silverstone
231adb8949 [project @ 2006-03-26 15:34:33 by dsilvers]
rudimentary nsgtk support for back/forward

svn path=/import/netsurf/; revision=2176
2006-03-26 15:34:33 +00:00
Daniel Silverstone
bb6e9288dd [project @ 2006-03-26 15:11:51 by dsilvers]
Partial page-load progressive render for GTK frontend

svn path=/import/netsurf/; revision=2175
2006-03-26 15:11:51 +00:00
Daniel Silverstone
6d21c43a97 [project @ 2006-03-26 15:07:25 by dsilvers]
Fix up a missing GTK_TOOLBAR() and implement the stop button as a throbber/stop-button for now

svn path=/import/netsurf/; revision=2174
2006-03-26 15:07:25 +00:00
Rob Kendrick
ee528d96f4 [project @ 2006-03-26 14:58:15 by rjek]
Add extra buttons to toolbar, including (semi-)working scaling

svn path=/import/netsurf/; revision=2173
2006-03-26 14:58:15 +00:00
Rob Kendrick
b82d35b061 [project @ 2006-03-25 23:31:41 by rjek]
Initial GTK thumbnail rendering implementation (still gets fonts too big)

svn path=/import/netsurf/; revision=2166
2006-03-25 23:31:42 +00:00
Rob Kendrick
dd6bb64347 [project @ 2006-03-20 10:56:54 by rjek]
Source cleanup and true/false to TRUE/FALSE conversion for GTK plotters

svn path=/import/netsurf/; revision=2142
2006-03-20 10:56:54 +00:00
Rob Kendrick
1af8434032 [project @ 2006-03-19 20:53:46 by rjek]
Some GTK plotters now use Cairo if it is available for higher render quality

svn path=/import/netsurf/; revision=2137
2006-03-19 20:53:46 +00:00
Daniel Silverstone
35bb5f96d5 [project @ 2006-03-19 17:49:32 by dsilvers]
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had

svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
Daniel Silverstone
d8b38299e9 [project @ 2006-03-14 14:24:00 by dsilvers]
Apparently five centiseconds works better for GTK gui reflow

svn path=/import/netsurf/; revision=2128
2006-03-14 14:24:00 +00:00
Daniel Silverstone
e057817d51 [project @ 2006-03-10 09:46:26 by dsilvers]
Very basic GTK cursor support.

svn path=/import/netsurf/; revision=2124
2006-03-10 09:46:26 +00:00
Daniel Silverstone
17d059f53f [project @ 2006-03-10 09:09:03 by dsilvers]
Minor refactor to pass the gui_window to gui_window_set_pointer and gui_window_hide_pointer

svn path=/import/netsurf/; revision=2123
2006-03-10 09:09:03 +00:00
Daniel Silverstone
444cb18984 [project @ 2006-03-10 08:53:49 by dsilvers]
very beginning of cursor support in GTK port

svn path=/import/netsurf/; revision=2122
2006-03-10 08:53:49 +00:00
Daniel Silverstone
2bb8de019c [project @ 2006-03-10 03:07:44 by dsilvers]
GTK: resizing window now reformats nicely. Window can go smaller than initially requested 600x600

svn path=/import/netsurf/; revision=2120
2006-03-10 03:07:44 +00:00
Daniel Silverstone
78f85340ae [project @ 2006-03-10 01:42:53 by dsilvers]
Ensure gui_window_update_box causes an expose of the right kind in the GTK frontend (enables animations etc)

svn path=/import/netsurf/; revision=2118
2006-03-10 01:42:53 +00:00
James Bursa
10291d72b3 [project @ 2005-12-19 22:50:23 by bursa]
Add headers and get rid of all externs in .c files.

svn path=/import/netsurf/; revision=1901
2005-12-19 22:50:23 +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
James Bursa
eb6a570aa6 [project @ 2005-07-03 15:41:07 by bursa]
Implement gui_window_get_height() for the GTK build.

svn path=/import/netsurf/; revision=1782
2005-07-03 15:41:07 +00:00
John Mark Bell
cf1d79f389 [project @ 2005-04-25 20:58:22 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=1684
2005-04-25 20:58:22 +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
Adrian Lees
93b5270bc8 [project @ 2005-04-18 12:07:27 by adrianl]
Update gtk build before z notices I broke it

svn path=/import/netsurf/; revision=1668
2005-04-18 12:07:27 +00:00
John Mark Bell
34b92e905f [project @ 2005-04-15 16:30:37 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=1641
2005-04-15 16:30:37 +00:00
Adrian Lees
530e185124 [project @ 2005-04-15 05:52:17 by adrianl]
Stub functions for GTK following text selection, page drag scrolling and drag-saving of images

svn path=/import/netsurf/; revision=1637
2005-04-15 05:52:17 +00:00
James Bursa
8550695710 [project @ 2005-02-27 16:03:02 by bursa]
Fix the GTK build.

svn path=/import/netsurf/; revision=1527
2005-02-27 16:03:02 +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
01b28b7538 [project @ 2005-01-24 20:59:15 by bursa]
Fix input focus behaviour. Remove obsolete gui_window_get_url().

svn path=/import/netsurf/; revision=1465
2005-01-24 20:59:15 +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
892a348b73 [project @ 2004-10-17 21:51:06 by bursa]
Update to use plotters for HTML redraw.

svn path=/import/netsurf/; revision=1322
2004-10-17 21:51:06 +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
John Mark Bell
79964fe982 [project @ 2004-08-15 19:10:08 by jmb]
Make GTK build work again

svn path=/import/netsurf/; revision=1236
2004-08-15 19:10:08 +00:00
James Bursa
34c2bf9297 [project @ 2004-07-22 12:03:37 by bursa]
Make the gtk build compile again and implement mouse clicks.

svn path=/import/netsurf/; revision=1137
2004-07-22 12:03:37 +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
James Bursa
e4d780c476 [project @ 2004-06-22 18:48:33 by bursa]
Experimental gtk interface.

svn path=/import/netsurf/; revision=993
2004-06-22 18:48:33 +00:00