Commit Graph

55 Commits

Author SHA1 Message Date
Vincent Sanders
f33d9dcc8c cleanup unneeded includes in utils.h after API simplification 2016-04-20 23:56:29 +01:00
Vincent Sanders
3930d00519 atari header cleanup and warning squash
This rationalises atari platform user of headers and squashes a lot of
warnings. Should not be viewed as real maintenance, more that it was
getting in the way of fixing real core header issues.
2016-04-20 10:43:58 +01:00
Vincent Sanders
1bc010665e Reduce unecessary use of directory entry headers
The config header was causing many source files to unecessarily
include the dirent headers causing extra dependancies. This has been
fixed by providing a utility dirent header that provides a common API
across all platforms while removing the unecessary dirent header usage.
2016-04-19 11:21:06 +01:00
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
Ole Loots
0864dbf8a8 Do not show the maximize window widget 2014-09-17 00:54:16 +02:00
Ole Loots
2c0407d7d4 Moved Save/Abort buttons into a toolbar 2014-09-17 00:47:26 +02:00
Ole Loots
ccac364857 Added disc cache options to the settings dialog 2014-09-15 22:19:13 +02:00
Michael Drake
4648ce4e59 Remove unused variables. 2014-05-20 21:12:53 +01:00
Michael Drake
1d9ce5348a Fix line endings. 2014-05-20 21:10:52 +01:00
Ole Loots
103270938b Check for null pointer before setting label 2013-12-21 03:17:39 +01:00
Ole Loots
9118f3c8cc Added "select file/path" buttons to path configuration groupbox. 2013-12-21 02:43:38 +01:00
Ole Loots
aad6dff2d3 Removed invalid character, prototype for read_locales() fixed. 2013-11-24 01:31:10 +01:00
Ole Loots
d2b8a1cc03 free() popup tree's when done. 2013-11-24 01:24:44 +01:00
Ole Loots
418a6f7edd Added GUI pol timeout selection popup.
The user must decide for himself. Default to 0, which eats
GUI resources but speeds-up rendering.
2013-11-23 17:52:33 +01:00
Ole Loots
65ebba7b51 Generate language popup from language file 2013-11-23 17:18:09 +01:00
Ole Loots
4faa709c05 Do not use static resource for font engine popup.
Instead use gemtk_obj_create_popup_tree to create
the popup dynamically.
2013-11-23 14:48:24 +01:00
Ole Loots
cb9d552ecc Option atari_transparency is int, not bool - use nsoption_set_int(). 2013-10-06 01:24:20 +02:00
Vincent Sanders
a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders
63d7247a9c fix mismatched option name and variable names
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Ole Loots
08024af0a5 Renamed gemtk_wm_send_redraw to gemtk_wm_exec_redraw
...and did a little bit refactoring.
2013-04-11 22:56:48 +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
fb8cc34e9c Restore object state for save/abort buttons. 2013-01-18 01:18:04 +01:00
Ole Loots
6a32f94cc2 Use Extended AES Objects in settings dialog, done. 2013-01-16 02:43:12 +01:00
Ole Loots
7920daaa3f Implemented language and font renderer popups. 2013-01-07 23:45:02 +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
695f052237 Moved form handling into gemtk,
removed several windom includes
2012-12-31 03:37:43 +01:00
Ole Loots
f0f57e3431 Almost done. 2012-12-28 04:54:25 +01:00
Ole Loots
a2cbfced0f Display current setting values. 2012-12-22 15:43:51 +01:00
Ole Loots
f7ee2a0387 - started to work on settings dialog
- some WIP in treeview widgets. Changed destroy / and init handling.
  It requires some optimization, when the widget is closed
  it must remove itself from the guiwin list, for perfomance.
2012-12-21 00:56:50 +01:00
Ole Loots
2705884b65 Removed image toolbar settings. 2012-12-01 16:16:19 +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
e042008f2b Revert "Refactored menu event handling and got rid of several windom calls."
This reverts commit d1a5c738e6.
this change belongs into a new branch
2012-11-18 23:15:48 +01:00
Ole Loots
d1a5c738e6 Refactored menu event handling and got rid of several windom calls. 2012-11-14 21:37:35 +01:00
Ole Loots
221cd56826 Show mouse again after the color popup is ready. 2012-10-13 22:23:19 +02:00
Ole Loots
0200ba1ed2 Revert positioning Fix dated 2012-08-07 2012-08-27 23:32:54 +02:00
Ole Loots
b2330bf426 Removed junk... 2012-08-26 22:57:55 +02:00
Ole Loots
b2d810c177 use is_dir function when checking direntry. 2012-08-26 22:55:06 +02:00
Ole Loots
ff2f1f1836 Added missing copyright headers 2012-08-24 00:47:37 +02:00
Ole Loots
b8f437c6b6 Fix settings dialog positioning
On successive settings dialog calls, the automatic
positioning wasn't working correctly.
This can be prevented by duplicating the Form tree. However,
it requires to have the duplicated tree freed manually (Bug in windom?).
I should have an eye on it...
2012-08-08 00:34:59 +02:00
Ole Loots
93f36a8c9b Implemented a new colour picker.
This colour picker allows to select the 216 web colors
plus 15 shades of gray. Removed the color popup from
the resource file.
2012-07-26 12:25:27 +02:00
Ole Loots
ad656167dc Handle new toolbar options (background color, iconset)
svn path=/trunk/netsurf/; revision=13984
2012-06-23 00:16:12 +00:00
Ole Loots
65eadf642d Handle do not trackoption and fix a call to snprintf().
svn path=/trunk/netsurf/; revision=13979
2012-06-21 21:51:43 +00:00
Ole Loots
b1a2191fbe Use safe string functions.
svn path=/trunk/netsurf/; revision=13923
2012-05-13 15:31:30 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Ole Loots
ca893cd1af set monochrom option on save was missing
svn path=/trunk/netsurf/; revision=13392
2012-01-07 00:28:35 +00:00
Ole Loots
2ee9f1d925 fix enable/disable of checkbox when font renderer is changed.
svn path=/trunk/netsurf/; revision=13388
2012-01-06 23:29:58 +00:00