Commit Graph

19 Commits

Author SHA1 Message Date
John Mark Bell 355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
Rob Kendrick ec034af671 Apply contributions from Mark Benjamin and Chris Tarnowski, with some reworking from me. Beware; glade nastyness ahead.
svn path=/trunk/netsurf/; revision=7136
2009-04-20 20:31:13 +00:00
John Mark Bell 2531079866 Revert r6973. Apparently, it causes loads of problems.
svn path=/trunk/netsurf/; revision=7047
2009-04-05 19:17:24 +00:00
John Mark Bell 58cd142338 Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus)
svn path=/trunk/netsurf/; revision=6793
2009-03-17 12:26:41 +00:00
Rob Kendrick afdf592637 Merge Mike's tabs changes. Still needs some cleaning.
svn path=/trunk/netsurf/; revision=5189
2008-08-24 10:31:38 +00:00
John Mark Bell 5fa68a06c2 Merged revisions 4114-4265,4267-4272,4275-4285,4287-4325 via svnmerge from
svn://source.netsurf-browser.org/branches/mikeL/netsurf

........
  r4116 | mikeL | 2008-05-01 22:15:12 +0100 (Thu, 01 May 2008) | 2 lines
  
  Redesigned right-click menu: added back, forward, and reload, previously default menu items are now hidden unless view->toolbars->menu bar is disabled
........
  r4117 | mikeL | 2008-05-02 03:54:10 +0100 (Fri, 02 May 2008) | 2 lines
  
  Added a Current Page button to Preferences next to the url entry for setting the home page
........
  r4118 | mikeL | 2008-05-02 04:27:37 +0100 (Fri, 02 May 2008) | 1 line
  
  Cleanup
........
  r4119 | mikeL | 2008-05-02 21:09:44 +0100 (Fri, 02 May 2008) | 1 line
  
  Preferences window is now initialized the first time edit->preferences is clicked instead of during nsgtk initialization. Expedites start-up time because preferences is a non-essential dialog.
........
  r4123 | mikeL | 2008-05-04 15:43:20 +0100 (Sun, 04 May 2008) | 1 line
  
  Converted Preferences window to a dialog. Fixed spacing and naming in Preferences dialog. Split Preferences section of the Glade file into its own gtk_options.glade file. Moved all Preferences related files to gtk/dialogs.
........
  r4127 | mikeL | 2008-05-05 20:45:44 +0100 (Mon, 05 May 2008) | 1 line
  
  Fixed a glaring error in directory structure. All glade files are now stored in the res directory.
........
  r4128 | mikeL | 2008-05-05 20:52:08 +0100 (Mon, 05 May 2008) | 1 line
  
  Added directory 'dialogs' to revision control
........
  r4129 | mikeL | 2008-05-05 20:58:53 +0100 (Mon, 05 May 2008) | 1 line
  
  Cleaned up gtk folder by removing gtk_options.c and gtk_options.h (Moved to dialogs folder)
........
  r4130 | mikeL | 2008-05-05 23:42:15 +0100 (Mon, 05 May 2008) | 1 line
  
  Huzzah\! Preferences dialog is now instant apply\!
........
  r4131 | mikeL | 2008-05-06 20:43:26 +0100 (Tue, 06 May 2008) | 1 line
  
  nsgtk_reflow_all_windows() is now called whenever an option that requires redrawing of the current page is changed. Preferences dialog is now *completely* instant apply
........
  r4132 | mikeL | 2008-05-06 20:55:05 +0100 (Tue, 06 May 2008) | 1 line
  
  Renamed macros to better reflect their purpose
........
  r4133 | mikeL | 2008-05-06 21:30:44 +0100 (Tue, 06 May 2008) | 1 line
  
  Added gtk/res/options.glade to svn control
........
  r4134 | mikeL | 2008-05-06 21:39:12 +0100 (Tue, 06 May 2008) | 1 line
  
  Preferences window is now resizable
........
  r4135 | mikeL | 2008-05-06 21:42:00 +0100 (Tue, 06 May 2008) | 1 line
  
  Fixed reload menu item in popup menu
........
  r4136 | mikeL | 2008-05-07 00:24:35 +0100 (Wed, 07 May 2008) | 1 line
  
  Proxy configurations are now insensitive if proxy type is set to no proxy. Changing the home page with the Current Page button is now saved. Moved Current Page button in Preferences window and added Default Page.
........
  r4137 | mikeL | 2008-05-07 00:41:29 +0100 (Wed, 07 May 2008) | 1 line
  
  Solved a problem with all options being saved prematurely on initialization
........
  r4145 | mikeL | 2008-05-11 18:07:06 +0100 (Sun, 11 May 2008) | 1 line
  
  Optimized prefences window signal handling, entry signals are now caught on focus-out-event and checked for changes
........
  r4146 | mikeL | 2008-05-11 18:16:04 +0100 (Sun, 11 May 2008) | 1 line
  
  Fixed regression where 'Set Current Page' button stopped working
........
  r4147 | mikeL | 2008-05-11 18:32:10 +0100 (Sun, 11 May 2008) | 1 line
  
  Added 'Default Page' button functionality
........
  r4148 | mikeL | 2008-05-11 18:33:03 +0100 (Sun, 11 May 2008) | 1 line
  
  Updated TODO list
........
  r4149 | mikeL | 2008-05-12 01:04:00 +0100 (Mon, 12 May 2008) | 1 line
  
  Added 'Hide Advertisement' functionality
........
  r4150 | mikeL | 2008-05-12 01:30:40 +0100 (Mon, 12 May 2008) | 1 line
  
  Re-activated the option 'Disable Animation' and fixed bug where it would actually enable animation
........
  r4151 | mikeL | 2008-05-12 01:42:43 +0100 (Mon, 12 May 2008) | 1 line
  
  Added 'Send site referral information' functionality
........
  r4152 | mikeL | 2008-05-12 02:01:00 +0100 (Mon, 12 May 2008) | 1 line
  
  Added 'Disc cache age' functionality
........
  r4154 | mikeL | 2008-05-13 20:35:29 +0100 (Tue, 13 May 2008) | 1 line
  
  Fixed regression where preferences were not written to file in some cases and preferences dialog could not be reopened.
........
  r4158 | mikeL | 2008-05-14 21:57:50 +0100 (Wed, 14 May 2008) | 1 line
  
  Added 'preview' button to fonts tab of preferences dialog. nsgtk_reflow_all_windows is now called only when that button is clicked.
........
  r4162 | mikeL | 2008-05-15 20:09:30 +0100 (Thu, 15 May 2008) | 1 line
  
  Possible fix to segfault due to invalid test
........
  r4163 | mikeL | 2008-05-15 20:25:28 +0100 (Thu, 15 May 2008) | 1 line
  
  Fixed typo that caused preferences dialog to be unopenable
........
  r4164 | mikeL | 2008-05-15 20:57:49 +0100 (Thu, 15 May 2008) | 1 line
  
  Added initialization statement for preferences_dialog to make sure that
........
  r4169 | mikeL | 2008-05-17 00:30:54 +0100 (Sat, 17 May 2008) | 1 line
  
  Added a 'parent_window' initialization parameter to the preferences dialog so that it may center itself on parent. This also optimizes the closing code as destroy is now called on the dialog when the main window is closed
........
  r4174 | mikeL | 2008-05-18 15:46:43 +0100 (Sun, 18 May 2008) | 1 line
  
  Animation speed option is now insensitive when 'Disable animations' is true
........
  r4175 | mikeL | 2008-05-18 15:50:06 +0100 (Sun, 18 May 2008) | 1 line
  
  Added tooltip to preview button
........
  r4176 | mikeL | 2008-05-18 16:04:05 +0100 (Sun, 18 May 2008) | 1 line
  
  Animation speed is now always sensitive
........
  r4177 | mikeL | 2008-05-19 02:32:21 +0100 (Mon, 19 May 2008) | 1 line
  
  Redesigned about dialog as a GtkAboutDialog and removed the respective section from netsurf.glade (May need string revision)
........
  r4178 | mikeL | 2008-05-19 02:36:15 +0100 (Mon, 19 May 2008) | 1 line
  
  Fixed compile warning relating to improper cast of netsurf_version
........
  r4180 | mikeL | 2008-05-19 21:42:04 +0100 (Mon, 19 May 2008) | 1 line
  
  Updated credits
........
  r4181 | mikeL | 2008-05-19 21:43:16 +0100 (Mon, 19 May 2008) | 1 line
  
  launch_url is no longer static 
........
  r4182 | mikeL | 2008-05-19 21:50:03 +0100 (Mon, 19 May 2008) | 1 line
  
  netsurf_version is now const in function which addresses jmb's concern
........
  r4183 | mikeL | 2008-05-19 21:59:55 +0100 (Mon, 19 May 2008) | 1 line
  
  Updated header
........
  r4184 | mikeL | 2008-05-19 22:03:28 +0100 (Mon, 19 May 2008) | 1 line
  
  local variables are now static
........
  r4186 | mikeL | 2008-05-21 22:03:43 +0100 (Wed, 21 May 2008) | 1 line
  
  Removed 'Main Development Team' from the beginning of all credits
........
  r4219 | mikeL | 2008-05-28 18:17:12 +0100 (Wed, 28 May 2008) | 1 line
  
  Removed wndOpenFile from glade file.
........
  r4236 | mikeL | 2008-05-31 23:25:32 +0100 (Sat, 31 May 2008) | 1 line
  
  Fixed proxy options for both riscos and gtk versions thanks to a tip from Leon Stringer
........
  r4275 | mikeL | 2008-06-06 17:16:29 +0100 (Fri, 06 Jun 2008) | 1 line
  
  Added support for dragging, clicks are now emited on button release
........
  r4276 | mikeL | 2008-06-06 17:18:18 +0100 (Fri, 06 Jun 2008) | 1 line
  
  gtk_window.c now sets the current_redraw_browser. Text selection now highlights properly
........
  r4277 | mikeL | 2008-06-06 17:47:35 +0100 (Fri, 06 Jun 2008) | 1 line
  
  Cleaned up the button detection code
........
  r4278 | mikeL | 2008-06-06 17:58:51 +0100 (Fri, 06 Jun 2008) | 1 line
  
  Removed leftover variables
........
  r4279 | mikeL | 2008-06-06 18:13:58 +0100 (Fri, 06 Jun 2008) | 1 line
  
  Enabled 'Select All'
........
  r4280 | mikeL | 2008-06-06 18:31:56 +0100 (Fri, 06 Jun 2008) | 1 line
  
  Fixed bug where mouse state would always remain as PRESS even if dragging
........
  r4281 | mikeL | 2008-06-06 18:45:16 +0100 (Fri, 06 Jun 2008) | 1 line
  
  Fixed regression where mouse state was cleared improperly
........
  r4287 | mikeL | 2008-06-07 00:21:32 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Mouse code can now handle modifiers. Fixed bug where end of drag was not detected until mouse moved after being released. Improved mouse handling.
........
  r4294 | mikeL | 2008-06-07 03:21:03 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Added ability to handle modifiers pressed during a drag event. Mouse movement handling now uses switch statements (Thanks tlsa)
........
  r4295 | mikeL | 2008-06-07 03:40:11 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Fixed bug where modifier keys were being detected incorrectly
........
  r4296 | mikeL | 2008-06-07 03:42:31 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Reversed accidental file modification
........
  r4299 | mikeL | 2008-06-07 21:32:15 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Fixed inclusion of gtk_about source file instead of header
........
  r4300 | mikeL | 2008-06-07 22:27:39 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Fixed problem with about.h not linking properly.
........
  r4301 | mikeL | 2008-06-07 22:37:28 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Moved definitions of gui_window and browser_mouse to gtk_window.h. Moved all selection related functions to gtk_selection.c. Implemented copy functionality.
........
  r4302 | mikeL | 2008-06-07 22:48:18 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Implemented paste functionality
........
  r4303 | mikeL | 2008-06-07 22:48:40 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Removed old test case
........
  r4304 | mikeL | 2008-06-07 22:53:56 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Fixed bug where click would be sent at the end of a button 2 drag (Thanks tlsa)
........
  r4305 | mikeL | 2008-06-07 23:48:01 +0100 (Sat, 07 Jun 2008) | 1 line
  
  Prevented gui_copy_to_clipboard from overwriting clipboard with a NULL string.
........
  r4306 | mikeL | 2008-06-08 00:00:55 +0100 (Sun, 08 Jun 2008) | 1 line
  
  Fixed regression where the state of the modifier keys would alternate as the mouse moved. Fixed bug that prevented drags from being registered if a modifier key was pressed
........
  r4308 | mikeL | 2008-06-08 00:53:26 +0100 (Sun, 08 Jun 2008) | 1 line
  
  Changed 'Select All' menu item to stock
........
  r4314 | mikeL | 2008-06-09 19:09:23 +0100 (Mon, 09 Jun 2008) | 1 line
  
  Added function nsgtk_scaffolding_set_sensitive
........
  r4315 | mikeL | 2008-06-09 19:14:14 +0100 (Mon, 09 Jun 2008) | 1 line
  
  Added function nsgtk_scaffolding_set_sensitive
........
  r4316 | mikeL | 2008-06-09 19:20:16 +0100 (Mon, 09 Jun 2008) | 1 line
  
  Removed option 'Use Cairo for anti-aliased rendering'
........
  r4317 | mikeL | 2008-06-09 20:10:55 +0100 (Mon, 09 Jun 2008) | 1 line
  
  Fixed bug where text would be selected in all windows instead of only the active one
........
  r4318 | mikeL | 2008-06-09 20:29:42 +0100 (Mon, 09 Jun 2008) | 1 line
  
  (Drastically) Improved redraw handling. (Thanks jmb)
........
  r4319 | mikeL | 2008-06-09 21:10:17 +0100 (Mon, 09 Jun 2008) | 1 line
  
  Removed old test case
........
  r4320 | mikeL | 2008-06-10 07:27:32 +0100 (Tue, 10 Jun 2008) | 1 line
  
  Implemented (almost) the rest of the clipboard functionality. Clipboard functions now handle the url bar correctly. Clipboard menu items are now appropriately sensitive.
........
  r4321 | mikeL | 2008-06-10 19:08:05 +0100 (Tue, 10 Jun 2008) | 1 line
  
  Added clipboard functions to contextual right click menu
........
  r4323 | mikeL | 2008-06-10 23:57:43 +0100 (Tue, 10 Jun 2008) | 1 line
  
  Fixed regression where modifiers key states would be cleared on button release. Modifier keys are now set only on button press and can only be removed during motion or upon release. Fixed spacing (thanks tlsa)
........

svn path=/trunk/netsurf/; revision=4326
2008-06-11 10:57:44 +00:00
Rob Kendrick 6aaa14e728 Add box tree dump saving, create 'debugging' sub menu to put this and debug rendering option in. Make debug rendering option cause all open windows to redraw.
svn path=/trunk/netsurf/; revision=4036
2008-03-22 13:45:35 +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
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 5e0e967a79 Ensure that when a gui_window dies in nsgtk it kills its browser and gets that to kill it. Makes the browser less crashy if one closes an in-flight window
svn path=/trunk/netsurf/; revision=3355
2007-06-20 19:43:09 +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
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
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 556072e994 [project @ 2006-03-25 23:53:34 by rjek]
Misc GTK thumbnailing fixes

svn path=/import/netsurf/; revision=2167
2006-03-25 23:53:34 +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 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
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