Commit Graph

104 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 20f2c86a51 Clean up atari source linendings, whitespace damage and executable status 2015-05-28 09:11:32 +01:00
Witold Filipczyk befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Michael Drake 030c18d0df Doesn't look like browser window internals are used here. 2014-10-25 15:25:36 +01:00
Vincent Sanders 56731e1dbb remove all unecessary desktop/browser.h includes 2014-10-17 10:49:24 +01:00
Vincent Sanders 19c26ca182 update atari includes to accomodate gui operation table refactor 2014-10-16 22:33:44 +01:00
Vincent Sanders 02bbaa3e88 split version info into its own header and remove unnecessary nesurf.h includes
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.

Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +01:00
Ole Loots 067b21e8f6 Fixed some unused variable warining. 2014-09-15 23:27:15 +02:00
Michael Drake c9c8e2f92c Remove dead code, unused variables, reduce a variable's scope. 2014-05-20 21:21:41 +01:00
Michael Drake a1974a2ea6 Fix line endings. 2014-05-20 21:18:24 +01:00
Michael Drake a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Michael Drake 49bed056dd Make browser_window_navigate (un)verifiable flag match browser_window_create. 2014-02-10 22:40:04 +00:00
Michael Drake af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Michael Drake 3d7cd77982 Simplify local history interface. 2014-02-08 22:43:54 +00:00
Vincent Sanders 886a3106db move utf8 local conversion operations to table 2014-02-01 22:17:36 +00:00
Vincent Sanders 654da2ffb5 move utf8 conversion routines to use nserror instead of their own error enum 2014-01-28 21:40:13 +00:00
Ole Loots 008389e837 Check for zero length string 2013-12-28 13:34:09 +01:00
Ole Loots d09ac4433a Fallback to about:welcome on home click when no homepage option is set. 2013-12-28 13:24:34 +01:00
Ole Loots a7499820ba Removed old code in atari/toolbar.c 2013-12-13 01:28:43 +01:00
Ole Loots c938ee105f Do not use default plot scale for URL redraw 2013-12-13 01:27:34 +01:00
Ole Loots 35115ed606 Removed toolbar icons: favourite, ssl-indicator
(because it looks disgusting)
2013-12-13 00:26:00 +01:00
Ole Loots aed34baa06 Added bookmark indicator and SSL/crypto indicator to toolbar. 2013-11-24 22:05:37 +01: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
Michael Drake 3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Vincent Sanders ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Ole Loots 1dd92203df Slightly improved intial hiding of toolbar search area. 2013-04-15 21:02:34 +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 0ec72e3415 Removed toolbar 2013-03-11 00:52:54 +01: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 529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Michael Drake 262555099d Pass scale to textarea redraw. 2013-02-11 10:47:15 +00:00
Michael Drake 442218cb80 Pull flags out of textarea_setup. 2013-02-02 22:58:35 +00:00
Ole Loots 16603cea27 Merged toolbar changes from master 2013-01-31 20:33:41 +01:00
Ole Loots 42054fabf0 Merged toolbar conflict. 2013-01-31 19:53:11 +01:00
Ole Loots 0703404654 Merge branch 'master' into mono/removing-windom-dependency
Conflicts:
	atari/toolbar.c
2013-01-31 19:28:26 +01:00
Ole Loots 54f719aa96 Some more finetuning... 2013-01-31 19:22:35 +01:00
Michael Drake 663191791e Add move caret msg. Add flag to choose internal caret or caret move msgs. 2013-01-30 18:01:01 +00:00
Michael Drake 385d9170d9 Replace textarea_drag_end call with textarea_mouse_action. s/redraw_request/request_redraw/ 2013-01-29 17:46:05 +00:00
Michael Drake 93cc123200 Update textarea to inform client what it's doing with drags.
Now single callback for both redraw requests and drag reports.
Update treeview to use new textarea API.
Update Atari URL bar to use new textarea API.  (Ignores drag reports, currently.)
Minor textarea fixes.
2013-01-29 17:34:08 +00:00
Ole Loots 577ff3cffc The Window toolbar now have independet AES objects,
which means no state restore is required before redraw.
2013-01-22 22:28:20 +01:00
Ole Loots 985e4ce6be Prefixed gemtk module functions. 2013-01-22 02:33:27 +01:00
Ole Loots 2e91d4e17e Do not redraw textarea background. 2013-01-22 01:21:24 +01:00
Ole Loots 7cf178f286 Display download filename in download confirm message. 2013-01-17 02:04:43 +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 b4e09869f3 Fixed toolbar textarea clip 2013-01-15 22:24:53 +01:00