Commit Graph

111 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
8f64d5d223 Improve Doxygen documentation 2014-11-08 12:35:11 +00: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
Vincent Sanders
3fa0ed01c0 add API to set DPI 2014-10-13 02:34:10 +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
Michael Drake
59f63984ee Remove unused variables. 2014-05-20 20:20:58 +01:00
Michael Drake
a8e79b4d39 Remove redundant NULL check. 2014-05-20 20:17:48 +01:00
Michael Drake
687e97abd2 Fix line endings. 2014-05-20 20:17:00 +01:00
Vincent Sanders
b9ded6c735 make atari font plotting include css header explicitly 2014-05-18 23:25:09 +01: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
0f5cc9f03a Added prototype for plot_get_abs_clipping_grect 2014-01-02 17:49:08 +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
8a56be414f fix previous prototype 2013-12-04 00:53:20 +01:00
Ole Loots
a2ec08be80 Added plot_set_scale / plot_get_scale prototypes 2013-12-04 00:51:38 +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
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
258477ad28 moved font plotter allocation
Delayed font plotter alloction until the requested
font plotter is found.
2013-10-06 01:24:14 +02:00
Ole Loots
2c0bcc39bd Added plot_get/set_text_plotter and comments 2013-10-06 01:24:14 +02:00
Vincent Sanders
b918f63f3e fixup atari option names 2013-05-28 17:00:55 +01: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
Michael Drake
6bab556827 Make comaptible with new nsfont_split expectation. Untested, but code is same as framebuffer front end, so should work. 2013-02-10 18:28:59 +00: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
bae65c18a9 Default truetype package is now Bitstream Vera.
Truetype font package can now be switched by defines.
2012-08-25 13:52:30 +02:00
Ole Loots
10e5597a94 Removed junk 2012-08-25 05:47:23 +02:00
Ole Loots
2988193e44 Documented font loading / font names. 2012-08-25 05:44:44 +02:00