Commit Graph

39 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
Vincent Sanders
818b8276df Convert atari to bitmap render interface 2015-04-24 13:28:20 +01:00
Vincent Sanders
1c9c303df8 rationalise atari plotters header usage. 2015-04-19 22:58:13 +01:00
Vincent Sanders
3c61db33ff Convert atari frontend to use bitmap operation table 2015-04-16 15:56:48 +01:00
Vincent Sanders
14e2829489 remove the die API from the core.
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.

This is the final part of this change and the API is now only used within
some parts of the frontends
2014-10-26 12:42:53 +00: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
Michael Drake
15d95ddcf8 Ensure bitmap width/height are initialised. 2014-05-20 22:40:46 +01:00
Michael Drake
47337932c0 Various fixes informed by cppcheck.
Removal of unused variables and dead assignements.
2014-05-20 20:40:42 +01:00
Michael Drake
768f380d81 Fix rgb check.
It was doing the same check on green twice, and not checking blue.
2014-05-20 20:24:19 +01:00
Ole Loots
eaff41259b Added plot_set_abs_clipping API to define maximum allowed clipping extent.
subsequent call's to plot_clip obey to the maximum clipping rect.
2013-12-28 01:20:20 +01:00
Ole Loots
4abe5273c9 Added comments to plot API 2013-12-21 02:00:39 +01:00
Ole Loots
571b8e0167 plot_set_scale return old scale now. 2013-12-13 01:25:28 +01:00
Ole Loots
a2688fc7a2 Recognize scale when plotting fonts 2013-12-04 02:00:45 +01:00
Ole Loots
66af93863d Removed debug print 2013-12-04 01:44:26 +01:00
Ole Loots
c4ecef90d1 Recognize scale when plotting bitmaps 2013-12-04 01:40:10 +01:00
Ole Loots
d53cbcbcb2 Added "scale" member and get / set methods 2013-12-04 00:41:17 +01: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
2c0bcc39bd Added plot_get/set_text_plotter and comments 2013-10-06 01:24:14 +02:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01: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
54f719aa96 Some more finetuning... 2013-01-31 19:22:35 +01:00
Ole Loots
4f0ae4e128 Search form inside browser windows starts to work. 2013-01-16 03:21:35 +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
5acf36b89e Clip only once, not on every drawing primitive... 2013-01-06 23:05:04 +01:00
Ole Loots
ec0c68503d Added function to retrieve current plotter dimensions. 2012-12-07 22:09:59 +01:00
Ole Loots
f4ea103657 Reenabled VDI clipping... 2012-12-04 01:33:37 +01:00
Ole Loots
ccdab30c9a Completet scroll preprocessing, Hotlist fully works. 2012-11-22 00:10:55 +01:00
Ole Loots
5242cd00a4 Fixed syntax error caused by search&replace? 2012-11-07 23:35:43 +01:00
Ole Loots
b806c94c1d Fix warnings, moved prototypes, housekeeping 2012-08-27 20:14:27 +02:00
Ole Loots
e1a9a98e05 Fixed colour type for vs* functions, added comments. 2012-07-25 13:58:38 +02:00
Ole Loots
4ade97334a Changed toolbar_bg_color to type "colour",
Now the toolbar background can be configured
as RGB colour.
2012-07-23 14:48:50 +02:00
Ole Loots
957f9dc7c8 renamed plot functions (use plot_ prefix) 2012-07-23 02:34:21 +02:00
Ole Loots
eb2ec532e8 renmaed plot functions (use plot_ prefix). 2012-07-23 02:30:11 +02:00
Ole Loots
2158ed7bce moved "bitmap_resize()" to bitmap.c 2012-07-23 02:03:09 +02:00
Ole Loots
72a9071cb2 Inline some functions 2012-07-23 00:21:28 +02:00
Ole Loots
37b8c5d83d Plotter refactor: removed one plotter abraction layer. 2012-07-13 22:19:04 +02:00