Commit Graph

576 Commits

Author SHA1 Message Date
Vincent Sanders b918f63f3e fixup atari option names 2013-05-28 17:00:55 +01:00
Vincent Sanders a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders 429a30caa7 move atari to new options code 2013-05-28 14:16:11 +01:00
Vincent Sanders 63d7247a9c fix mismatched option name and variable names
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders a5355ec557 change all core and frontend options headers to new format 2013-05-28 14:16:10 +01:00
Vincent Sanders 35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Michael Drake 631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake 9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01:00
Michael Drake 3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Vincent Sanders 98369b74e2 fixup message splitting with updated tool 2013-05-02 09:24:18 +01:00
Ole Loots 9641837022 Removed files added by mistake. 2013-04-25 23:06:59 +02:00
Ole Loots 076361e1e1 Match return value with function prototypes. 2013-04-19 21:20:07 +02:00
Ole Loots 39231ca3f6 Properly exit move_rect function. 2013-04-18 02:53:31 +02:00
Ole Loots a6995849d2 Check rc_intersect result and added comments. 2013-04-16 21:57:27 +02:00
Ole Loots fa8d298b9b Removed reformat kludge from header files. 2013-04-16 21:55:23 +02:00
Ole Loots 000dddb260 Inherit bitmap opaque settings when resizing images. 2013-04-16 02:26:37 +02:00
Ole Loots a2f34686bc Revert change to opaque settings, requires further investigation 2013-04-16 02:12:28 +02:00
Ole Loots 3edaf9ed2e Default to opaque bitmaps (fixes several redraw issues) 2013-04-16 01:17:44 +02:00
Ole Loots f9e950ba8f Remove resize/format kludge. 2013-04-16 00:53:33 +02:00
Ole Loots 1bc49bc914 Do not use clipping rectangle as toolbar redraw origin
Fixes recent toolbar redraw change.
2013-04-15 21:54:20 +02:00
Ole Loots 1dd92203df Slightly improved intial hiding of toolbar search area. 2013-04-15 21:02:34 +02:00
Ole Loots 6675aa62dc Refactored toolbar redraw
Always use the callback pointer and introduced an standard callback.
2013-04-15 20:59:30 +02:00
Ole Loots 0d976df9f3 Properly handle return value of rc_intersect()
Fixes some redraw glitches.
2013-04-15 00:36:57 +02:00
Ole Loots 46efbe13d4 Improved debug logging. 2013-04-13 15:35:43 +02:00
Ole Loots 4e6bea9204 Improved CLRHOME Key handling
When textinput is focused, the key is handled by the browser (Moving
to start of text).
Otherwise the Content is scrolled to the top.
2013-04-13 15:34:08 +02:00
Ole Loots 437304b037 Disabled redraw debug output. 2013-04-13 14:55:17 +02:00
Ole Loots af521e0494 Removed obsolete comments. 2013-04-13 14:54:20 +02:00
Ole Loots c9fd3a4f13 Removed debug output 2013-04-12 01:05:37 +02:00
Ole Loots 916ca92bfc Improved favicon/iconyfied redraw (obey to visible rectangle list) 2013-04-12 01:04:21 +02:00
Ole Loots 08024af0a5 Renamed gemtk_wm_send_redraw to gemtk_wm_exec_redraw
...and did a little bit refactoring.
2013-04-11 22:56:48 +02:00
Ole Loots 224fd963fd Home toolbar button doesn't crash anymore when homepage_url is null. 2013-04-11 01:30:34 +02:00
Ole Loots ef4b7e75c4 Show message box on error. 2013-04-11 00:51:05 +02:00
Ole Loots 12aebe1fa1 Added comments. 2013-04-11 00:49:02 +02:00
Ole Loots 1d92bf87e5 Fix page up key handling. 2013-04-11 00:46:39 +02:00
Ole Loots 3fa929938b Fix duplicate Ctrl+V (and other shortcuts) key processing,
by catching event callback return value.
2013-04-09 00:40:21 +02:00
Ole Loots fbd63ceea9 Removed duplicate hotlist_init call. 2013-03-30 13:25:54 +01:00
Ole Loots 52cce28438 Added some comments 2013-03-30 13:22:55 +01:00
Ole Loots c91db66e2d Fixed handling of filepath passed via commandline. 2013-03-22 00:26:02 +01:00
Ole Loots fffaa149bc Correctly set initial size of the search area. 2013-03-11 01:16:37 +01:00
Ole Loots 939f078dd8 Fixed / Improved commandline URL handling.
- It's now possible to drag local files onto netsurf executable.
- Added better resource file logging (THING passes strange CWD)
2013-03-11 00:53:22 +01:00
Ole Loots 0ec72e3415 Removed toolbar 2013-03-11 00:52:54 +01:00
Michael Drake 037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Ole Loots 21cbb49a6b Fix toolbar flag setup. 2013-02-26 21:55:40 +01:00
Ole Loots c4a8d47234 Removed unused variable. 2013-02-26 21:48:55 +01:00
Vincent Sanders 15d39c6ebf fix remaining errors introduced in refactor 2013-02-18 13:05:23 +00:00
Vincent Sanders 0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +00:00
Vincent Sanders 529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00