Commit Graph

9672 Commits

Author SHA1 Message Date
Michael Drake
3e08819db9 Fix leaks in form_successful_controls. 'charset' was always leaked, value was leaked in particular OOM case. 2013-10-23 12:34:48 +01:00
Michael Drake
479fcefd9a s/!charset/charset == NULL/ 2013-10-23 12:16:20 +01:00
Michael Drake
a515248b59 Fix two genuine bugs found by Coverity. Checking the wrong pointers for NULL. 2013-10-23 11:52:37 +01:00
Michael Drake
5cddb4ff3c Assert that root node is non-NULL. 2013-10-23 11:40:22 +01:00
Michael Drake
df4975b8d4 Remove unnecessary check. 2013-10-23 11:36:42 +01:00
Michael Drake
e5823beb61 Fix deref before NULL check. 2013-10-23 11:25:40 +01:00
Michael Drake
89b669919e Fix NULL check after deref. 2013-10-23 11:21:11 +01:00
Michael Drake
640bb77330 Dodge Coverity scan issue. 2013-10-23 11:16:34 +01:00
Michael Drake
f814debfe2 Remove unreachable safty net. 2013-10-23 10:21:36 +01:00
Michael Drake
441e0dcbed Assert target node is non-NULL. 2013-10-22 15:22:42 +01:00
Chris Young
3a35294a0e Fix adding to hotlist from context menu 2013-10-13 12:01:11 +01:00
Chris Young
56723e5898 Use LIB_IS_AT_LEAST macro 2013-10-13 11:52:11 +01:00
Chris Young
8b9963e7ef Use picture.datatype's PromoteMask function so we get an alpha channel for non-alpha bitmaps loaded through datatypes.library 2013-10-12 15:43:52 +01:00
Chris Young
efc2d5e03b Delay the busy pointer again on intuition v53+ 2013-10-12 14:27:16 +01:00
Chris Young
9786cc2417 Fix scaled bitmaps 2013-10-12 14:14:59 +01:00
Chris Young
20dabacb25 Correct some memory allocation parameters 2013-10-12 13:43:33 +01:00
Chris Young
ade86e496e Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary. 2013-10-12 13:11:13 +01:00
Chris Young
6ea52d0d9f Don't change the setting, just in case NetSurf is being used from two different OS installs on the same computer. 2013-10-12 11:55:07 +01:00
Chris Young
67f957df39 Force usage of OS pointers for OS4.1, there's no reason to use custom ones now. 2013-10-12 11:52:08 +01:00
Chris Young
5d2f4b0b98 Use all the built-in mouse pointers on OS4.1 2013-10-12 11:26:34 +01:00
Chris Young
af2c37167b application.library fix for new SDK. Note that:
* application.library functionality will no longer be available on OS4.0, however that only extends to the Docky icon as notifications weren't supported anyway.
* CI builds may crash until the toolchain is updated.
2013-10-12 10:26:28 +01:00
Michael Drake
4cc0d9c233 LOG init/fini messages. 2013-10-11 22:41:09 +01:00
Ole Loots
06f852151e Reverted local adjustments to Makefile.target. 2013-10-06 01:42:05 +02:00
Ole Loots
4d101e6f5f Removed unused files. 2013-10-06 01:33:50 +02:00
Ole Loots
a0771aa2ac Removed old files. 2013-10-06 01:26:56 +02:00
Ole Loots
cb9d552ecc Option atari_transparency is int, not bool - use nsoption_set_int(). 2013-10-06 01:24:20 +02:00
Ole Loots
fa5a22d65f Added comments 2013-10-06 01:24:20 +02:00
Ole Loots
2f4d17dea0 ldg stubs not needed anymore since windom removal 2013-10-06 01:24:19 +02:00
Ole Loots
c3816a119a ldg stubs not needed anymore since windom removal. 2013-10-06 01:24:19 +02:00
Ole Loots
4f45f807f2 Added about dialog, fixed scrolled treeview redraw. 2013-10-06 01:24:19 +02:00
Ole Loots
7f92060041 Removed old treeview files 2013-10-06 01:24:18 +02:00
Ole Loots
c1085580ed Fixed warnings for incomptible pointer type
The API expects to receive core_window as window handle now.
2013-10-06 01:24:18 +02:00
Ole Loots
f81fc04722 Added SSL Cert Inspector Window
(based on treeview API)
2013-10-06 01:24:18 +02:00
Ole Loots
757e1b5a8d enabled history menu item. 2013-10-06 01:24:17 +02:00
Ole Loots
9f35d844dc Enabled atari_global_history_destry/init 2013-10-06 01:24:17 +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
Ole Loots
074b072535 Include desktop/core_window.h 2013-10-06 01:24:16 +02: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
05f13ccf89 Fixed RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
ea2a5fb471 Added RECT_TO_GRECT macro 2013-10-06 01:24:15 +02:00
Ole Loots
ce270a7e08 Added RECT_TO_GRECT macro 2013-10-06 01:24:15 +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
Ole Loots
569b748172 Tuned frontend Makefiles for local environment. 2013-10-06 01:24:14 +02:00
Ole Loots
342c0d9361 Added initialization/finalization of treeview framework. 2013-10-06 01:24:14 +02:00
Michael Drake
cd9971293d Set unused channel to 0xff, so that rendering isn't broken in front ends that don't heed the OPACITY flag. 2013-10-05 11:44:15 +01:00
Chris Young
69e264e4ec more tidy-up 2013-10-05 11:28:33 +01:00
Chris Young
9ff65d7426 tidy up 2013-10-05 11:27:05 +01:00
Chris Young
a06cb9f05c If bitmap is opaque, ensure we override the alpha channel as it may contain nonsense. 2013-10-05 11:18:27 +01:00