Commit Graph

197 Commits

Author SHA1 Message Date
Vincent Sanders
d18c8ed452 move teh final optional window operations into the table 2014-01-13 22:54:19 +00:00
Vincent Sanders
e82d83f184 move four more optional window operations to table 2014-01-13 14:51:27 +00:00
Vincent Sanders
d70e371cd9 move two more mandantory window operations to table 2014-01-13 11:38:35 +00:00
Vincent Sanders
7227c29bba move window scroll getter and setter into operations table 2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb move mandantory window update and redraw operations into table 2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77 move more optional window operations into table including removing unused hide_pointer operation altogether 2014-01-12 22:55:26 +00:00
Vincent Sanders
b7736bae2f split gui operations into core and window and move more operations into tables 2014-01-12 17:07:34 +00:00
Vincent Sanders
56bb9582b1 move set title, set url, start and stop throbber window operations to gui table 2014-01-12 10:27:41 +00:00
Vincent Sanders
c8496df3df move window creation and destruction into table 2014-01-11 22:34:12 +00:00
Vincent Sanders
d3c392c3d3 Initial conversion of netsurf gui to callback vtable 2014-01-11 14:20:30 +00:00
Daniel Silverstone
692d4a328c Fix some log statements 2014-01-05 17:22:30 +00:00
Rob Kendrick
550c8cd73c Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work. 2014-01-05 16:45:32 +00:00
Rob Kendrick
d8ad3b8e78 Add new gui entry point for file open dialogue requests 2014-01-05 16:01:03 +00:00
Ole Loots
e65c91807e Send SC_CHANGED after writing to scrap file 2013-12-29 23:16:30 +01:00
Ole Loots
ccde3fc1eb Do not reload browser window on scal change 2013-12-29 22:26:14 +01:00
Ole Loots
289cd3a797 Added scale property to gui_window and use it. 2013-12-22 04:52:18 +01:00
Ole Loots
26218a47c8 Process AP_TERM message. 2013-11-24 01:57:00 +01:00
Ole Loots
418a6f7edd Added GUI pol timeout selection popup.
The user must decide for himself. Default to 0, which eats
GUI resources but speeds-up rendering.
2013-11-23 17:52:33 +01:00
Ole Loots
f81fc04722 Added SSL Cert Inspector Window
(based on treeview API)
2013-10-06 01:24:18 +02:00
Ole Loots
9f35d844dc Enabled atari_global_history_destry/init 2013-10-06 01:24:17 +02:00
Ole Loots
49f4fa0d78 Hotlist and History and Cookies Manager implemented.
(The Cookie Manager window is a new one)
2013-10-06 01:24:17 +02:00
Ole Loots
1d535a9a43 Treeview implementation adjusted
(still requires changes at several places in the atari frontent)
2013-10-06 01:24:16 +02:00
Ole Loots
342c0d9361 Added initialization/finalization of treeview framework. 2013-10-06 01:24:14 +02:00
Michael Drake
49c7994d05 Remove bulk of old treeview implementation. 2013-09-02 16:19:16 +01:00
Michael Drake
eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Michael Drake
13326b2716 Namespace the atari global history functions. 2013-07-01 14:39:10 +01:00
Vincent Sanders
429a30caa7 move atari to new options code 2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05 move options include 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
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
c91db66e2d Fixed handling of filepath passed via commandline. 2013-03-22 00:26:02 +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
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +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
Ole Loots
54f719aa96 Some more finetuning... 2013-01-31 19:22:35 +01:00
Ole Loots
985e4ce6be Prefixed gemtk module functions. 2013-01-22 02:33:27 +01:00
Ole Loots
13f22099ce Search is functional. 2013-01-17 01:18:27 +01:00
Ole Loots
4f0ae4e128 Search form inside browser windows starts to work. 2013-01-16 03:21:35 +01:00
Ole Loots
cca5bb4304 Use window_get_grect instead of guiwin_get_grect. 2013-01-10 21:19:05 +01:00
Ole Loots
b273046a1c Fixed merges... 2013-01-09 23:31:00 +01:00
Ole Loots
56e1e98e2c Merge branch 'master' into mono/removing-windom-dependency
Conflicts:
	atari/gui.c
2013-01-09 23:02:28 +01:00
Ole Loots
1f693a8677 Removed obsolete variable tmp_clipboard 2013-01-09 01:39:34 +01:00
Ole Loots
f1fe8350a8 Removed windom variable from clipboard functions. 2013-01-09 01:37:11 +01:00
Ole Loots
64f8030b28 Merge branch 'master' into mono/removing-windom-dependency
Conflicts:
	atari/gui.c
	atari/toolbar.h
2013-01-09 01:33:53 +01:00
Ole Loots
bded644d7f Fixes for new clipboard interface. 2013-01-09 01:12:30 +01:00
Ole Loots
7920daaa3f Implemented language and font renderer popups. 2013-01-07 23:45:02 +01:00
Ole Loots
0bbccaa935 Finally it compiles without WinDom - still some things to bring back:
- Serch window
 - Pop Menus in the settings dialog
2013-01-07 20:04:44 +01:00
Ole Loots
9fdd190e00 Removed browser.h/.c 2013-01-03 01:22:38 +01:00
Ole Loots
c0e6cf6590 Implemented caret redraw. 2013-01-01 22:08:19 +01:00
Ole Loots
695f052237 Moved form handling into gemtk,
removed several windom includes
2012-12-31 03:37:43 +01:00
Ole Loots
f7ee2a0387 - started to work on settings dialog
- some WIP in treeview widgets. Changed destroy / and init handling.
  It requires some optimization, when the widget is closed
  it must remove itself from the guiwin list, for perfomance.
2012-12-21 00:56:50 +01:00
Ole Loots
c6a5109a95 Preparing for merge... 2012-12-18 01:10:20 +01:00
Ole Loots
c4b09a8439 Removed global_evnt.c module. 2012-12-06 01:38:49 +01:00
Ole Loots
5d2ac2ecac Only schedule on-screen redraw areas, and do not substract
scrolling positions from scheduled area.
2012-12-06 01:07:11 +01:00
Ole Loots
434befd25b Implement mouse move event handling 2012-12-06 00:26:00 +01:00
Ole Loots
25db04a890 Dragged scrolling/mouse click events works fine now. 2012-12-04 01:32:43 +01:00
Ole Loots
2c5b24d717 Implemented scrolling for gui windows.
Doesn't work correctly for drag-scrolling, because gemtk
schedules window messages for redraw regions... the rectangle
list must be managed by gemtk...
2012-12-03 01:27:33 +01:00
Ole Loots
59e2775055 Implemented basic mouse input to browser component (click). 2012-12-03 00:07:47 +01:00
Ole Loots
ea025e6008 Toolbar is now finished, started work on browser redraw/scrolling. 2012-11-30 03:20:52 +01:00
Ole Loots
1b93b72b9b re-implemented browser toolbar redraw / URL area redraw. 2012-11-29 02:01:13 +01:00
Ole Loots
ff7cf93762 Started refactoring of global redraw handling. 2012-11-28 21:30:24 +01:00
Ole Loots
fe0e2508e6 Refactored a lot of browser window code,... still totally WIP.
...but it compiles...
2012-11-27 02:12:09 +01:00
Ole Loots
407389668b Hotlist now works without windom. 2012-11-22 01:19:20 +01:00
Ole Loots
7e94f32e4c Initial work at making scrolling work 2012-11-20 01:41:42 +01:00
Ole Loots
5449303bd1 Ripped Windom out of the treeview implementation,
it still requires scroll event handling to be implemented.
2012-11-20 00:29:20 +01:00
Ole Loots
c415f9bf98 Start to remove windom, wip.
- Refactored menu event handling.
- Load plain GEM resources.
- Refactored Event handling
2012-11-18 23:22:43 +01:00
Ole Loots
e042008f2b Revert "Refactored menu event handling and got rid of several windom calls."
This reverts commit d1a5c738e6.
this change belongs into a new branch
2012-11-18 23:15:48 +01:00
Ole Loots
d1a5c738e6 Refactored menu event handling and got rid of several windom calls. 2012-11-14 21:37:35 +01:00
Michael Drake
35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Ole Loots
fa7048d66d Redraw favicon when it has been changed.
Improve the window icon / favicon interface.
2012-10-13 22:25:10 +02:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Ole Loots
b806c94c1d Fix warnings, moved prototypes, housekeeping 2012-08-27 20:14:27 +02:00
Ole Loots
def39ad610 Removed comment 2012-08-26 23:01:55 +02:00
Ole Loots
836c13f87d Set default cookie filename when not set. 2012-08-25 14:51:49 +02:00
Vincent Sanders
32c4fdeead add includes to get browser private struct on atari 2012-08-22 17:03:46 +01:00
Michael Drake
f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Michael Drake
de8af23956 Use selection_copy_to_clipboard instead of peering into core. 2012-08-02 15:20:59 +01:00
Ole Loots
329fba581a Handle "Save window size" menu event. 2012-07-27 03:06:12 +02:00
Ole Loots
eb2ec532e8 renmaed plot functions (use plot_ prefix). 2012-07-23 02:30:11 +02:00
Ole Loots
37b8c5d83d Plotter refactor: removed one plotter abraction layer. 2012-07-13 22:19:04 +02:00
Ole Loots
40a2f8622c fix history redraw by calling the window specific redraw function from gui_poll(), also switch hotlist redraw to to hotlist specific redraw function.
svn path=/trunk/netsurf/; revision=13977
2012-06-19 23:46:57 +00:00
Ole Loots
cd45e1f447 First attempt to implement the global history treeview. There is something wrong with the redraw ( the treeview area of the windo isn't redrawn, also it looks like the treeview content size isn't set )
svn path=/trunk/netsurf/; revision=13973
2012-06-19 23:04:38 +00:00
Ole Loots
f804cff67b set rendering flag within throbber_stop / start functions, update toolbar buttons on throbber stop.
svn path=/trunk/netsurf/; revision=13890
2012-04-25 21:33:01 +00:00
Ole Loots
a17fc5da76 call toolbar_exit()
svn path=/trunk/netsurf/; revision=13861
2012-04-12 20:20:58 +00:00
Ole Loots
56ec72f044 Init toolbar.
svn path=/trunk/netsurf/; revision=13849
2012-04-10 23:12:49 +00:00
Ole Loots
39b04ea3d6 Added missing include.
svn path=/trunk/netsurf/; revision=13832
2012-04-07 21:22:19 +00:00
Ole Loots
878212a0de Removed unused variable.
svn path=/trunk/netsurf/; revision=13790
2012-04-04 21:58:09 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Ole Loots
f3aa0a5179 Default to "not rendering" when setting GUI poll priority.
svn path=/trunk/netsurf/; revision=13408
2012-01-25 22:44:00 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Ole Loots
aec502af1a Open fulled window when running under Single-Task OS.
svn path=/trunk/netsurf/; revision=13361
2012-01-02 00:02:40 +00:00
Ole Loots
f07e76a735 Removed unused variable.
svn path=/trunk/netsurf/; revision=13320
2011-12-21 22:51:17 +00:00
Ole Loots
22dc3b0f2a Added save functionality to settings dialiog, fixed typo resulting in not freeing the resource pointer.
svn path=/trunk/netsurf/; revision=13273
2011-12-15 21:59:55 +00:00
Ole Loots
e95b45725c Remove throbber callback from schedule before scheduling a new one.
svn path=/trunk/netsurf/; revision=13272
2011-12-14 21:23:30 +00:00