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
Vincent Sanders
1c9c303df8
rationalise atari plotters header usage.
2015-04-19 22:58:13 +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
cf199105c5
Shouldn't need bw internals now.
2014-10-25 16:12:16 +01:00
Michael Drake
6e3a6b37e0
Attempt to avoid using bw internals.
...
There are so many levels of windows here, that this could well be
broken, as its rather confusing.
2014-10-25 16:10:49 +01:00
Michael Drake
93e3d84b98
Use API to test for bw content.
2014-10-25 15:44:50 +01:00
Michael Drake
c4829ca636
Initial bw scale comes from core.
2014-10-25 15:43:41 +01:00
Michael Drake
dd59552f6e
Attempt to remove dependancy of search implementation on bw internals.
2014-10-25 15:34:22 +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
30f118a86d
remove unecessary css includes from fronetends
2014-10-13 15:45:51 +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
Vincent Sanders
caf918d2f2
fixup merge of scheduled reformat
2014-07-06 11:01:39 +01:00
Vincent Sanders
18aefabd20
change reformat to be driven from the scheduler like redraw
2014-07-01 09:27:20 +01:00
Michael Drake
a7d44f9707
Remove a bunch of unused variables.
2014-05-20 21:06:00 +01:00
Michael Drake
4c04e32236
Fix use of uninitialised scroll values.
2014-05-20 21:05:11 +01:00
Michael Drake
923feec091
Fix line endings.
2014-05-20 20:42:25 +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
ea79e85fcd
Clean up gui_window creation API.
2014-02-09 13:07:39 +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
Vincent Sanders
7227c29bba
move window scroll getter and setter into operations table
2014-01-13 01:08:15 +00:00
Ole Loots
d451b543c6
Set absolute clipping for every window rectangle, not just the first.
2013-12-28 19:42:40 +01:00
Ole Loots
ad2cbae63e
Use new plot function: plot_set_abs_clipping.
2013-12-28 01:24:01 +01:00
Ole Loots
289cd3a797
Added scale property to gui_window and use it.
2013-12-22 04:52:18 +01:00
Ole Loots
e0883a40bb
Improved file drop, use browser_window_navigate as fallback.
2013-11-25 00:09:09 +01:00
Michael Drake
3f45e53539
s/history_core/local_history/
2013-07-10 11:55:42 +01:00
Ole Loots
f9e950ba8f
Remove resize/format kludge.
2013-04-16 00:53:33 +02:00
Ole Loots
1dd92203df
Slightly improved intial hiding of toolbar search area.
2013-04-15 21:02:34 +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
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
916ca92bfc
Improved favicon/iconyfied redraw (obey to visible rectangle list)
2013-04-12 01:04:21 +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
fffaa149bc
Correctly set initial size of the search area.
2013-03-11 01:16:37 +01:00
Ole Loots
54f719aa96
Some more finetuning...
2013-01-31 19:22:35 +01: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
42bb902a7d
TOP the next rootwindow when the current rootwindow gets iconified.
2013-01-17 02:44:13 +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
8d35a11cf3
Commented debug output
2013-01-15 01:54:54 +01:00
Ole Loots
4f64d85dfa
Make toolbar height configurable,
...
started to use extended AES Object types.
2013-01-15 01:31:35 +01:00
Ole Loots
a0227890e9
Further work on search in browser window.
2013-01-14 01:01:22 +01:00
Ole Loots
adcbbbe880
Started to move the search form into the browser window.
2013-01-11 02:12:30 +01:00
Ole Loots
cca5bb4304
Use window_get_grect instead of guiwin_get_grect.
2013-01-10 21:19:05 +01:00
Ole Loots
91c2885b4c
Pass mouse button to toolbar event handler
2013-01-10 21:10:07 +01:00