Commit Graph

45 Commits

Author SHA1 Message Date
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.

The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.

A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Vincent Sanders
56731e1dbb remove all unecessary desktop/browser.h includes 2014-10-17 10:49:24 +01:00
Ole Loots
067b21e8f6 Fixed some unused variable warining. 2014-09-15 23:27:15 +02:00
Michael Drake
b1773d8012 Reduce a variable's scope. 2014-05-20 21:28:45 +01:00
Michael Drake
966188eb8a Remove unused variables. 2014-05-20 21:27:12 +01:00
Michael Drake
1785eba577 Fix line endings. 2014-05-20 21:22:42 +01:00
Ole Loots
0a471e0b06 Removed obsolete code 2013-12-28 01:34:20 +01:00
Ole Loots
feef0562b5 Implemented specific redraw when treeview is iconified. 2013-12-22 04:10:59 +01:00
Ole Loots
4f45f807f2 Added about dialog, fixed scrolled treeview redraw. 2013-10-06 01:24:19 +02:00
Ole Loots
c1085580ed Fixed warnings for incomptible pointer type
The API expects to receive core_window as window handle now.
2013-10-06 01:24:18 +02:00
Ole Loots
f81fc04722 Added SSL Cert Inspector Window
(based on treeview API)
2013-10-06 01:24:18 +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
8057dc67cb Replaced atari_treeview wrapper with a new one
(removed all modules which used the old tree API)
2013-10-06 01:24:16 +02:00
Ole Loots
c04cef649a Also setup slider info before tree creation. 2013-09-11 00:10:59 +02:00
Ole Loots
becc7fe064 Set window ref before calling tree_create. Fixes crash during startup.
(tree_create causes an resize event which requires the window handle
to be available).
2013-09-10 23:52:56 +02:00
Michael Drake
49c7994d05 Remove bulk of old treeview implementation. 2013-09-02 16:19:16 +01:00
Michael Drake
5c7ca39ada Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken. 2013-09-02 14:17:09 +01:00
Ole Loots
437304b037 Disabled redraw debug output. 2013-04-13 14:55:17 +02: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
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
ea025e6008 Toolbar is now finished, started work on browser redraw/scrolling. 2012-11-30 03:20:52 +01:00
Ole Loots
407389668b Hotlist now works without windom. 2012-11-22 01:19:20 +01:00
Ole Loots
ccdab30c9a Completet scroll preprocessing, Hotlist fully works. 2012-11-22 00:10:55 +01:00
Ole Loots
0672d5e2c9 Implemented scroll handling in gemtk. 2012-11-21 02:14:22 +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
37b8c5d83d Plotter refactor: removed one plotter abraction layer. 2012-07-13 22:19:04 +02:00
Michael Drake
67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Ole Loots
051eedddeb Removed unused code.
svn path=/trunk/netsurf/; revision=13234
2011-12-04 13:10:24 +00:00
Ole Loots
7323f012ed Stick to OS features for drag feature - handle it almost blocking (improves user experience).
svn path=/trunk/netsurf/; revision=13233
2011-12-04 13:05:00 +00:00
Ole Loots
9f55b1cc7d Check return value of plotter->lock()
svn path=/trunk/netsurf/; revision=13203
2011-11-29 21:22:01 +00:00
Ole Loots
999410adc8 I'm actually trying to simplify the frontend code, changes:
- Optimized browser window caret, uses back-buffer now. ( So no content redraw is scheduled by the frontend just for a caret move ) 
- Fixed a double redraw issue when the browser reformat is pending and the AES also sends an redraw request because of the resize. 
- Started to use netsurfs textarea instead of a custom implementation ( to reduce code size ). 

svn path=/trunk/netsurf/; revision=13191
2011-11-28 23:23:28 +00:00
Ole Loots
5da485d423 Use new function nkc_to_input_key
svn path=/trunk/netsurf/; revision=13169
2011-11-23 22:25:22 +00:00
Ole Loots
385ffaad7b Lock plotter during treeview redraw.
svn path=/trunk/netsurf/; revision=13164
2011-11-23 19:55:03 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Ole Loots
dccf6e4280 Revert remove of cflib and further usage of xaaes nkcc routines. It resulted in not-working page up / page down and up / down keys.
svn path=/trunk/netsurf/; revision=12510
2011-06-25 20:03:28 +00:00
Ole Loots
2f6520e8b4 Removed dependency to cflib,
call EvntWindom only one time per sec. when active flag is set. 

svn path=/trunk/netsurf/; revision=12443
2011-05-24 21:44:20 +00:00
John Mark Bell
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Ole Loots
4e7235a92f Moved mouse movement handling into window event handlers, updated resources, updated todos, implemented treeview + hotlist
svn path=/trunk/netsurf/; revision=12182
2011-04-10 21:52:07 +00:00
Ole Loots
3694345204 Implemented Search Dialog
svn path=/trunk/netsurf/; revision=11536
2011-01-30 19:24:03 +00:00
Ole Loots
4e944c1a69 using short filenames for treeview Icons for compatibility with classic TOS systems.
svn path=/trunk/netsurf/; revision=11440
2011-01-22 16:28:20 +00:00
John Mark Bell
124e4cd788 Atari frontend (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=11218
2011-01-05 21:02:22 +00:00