Vincent Sanders
96e073a297
Merge branch 'vince/ro-corewindow'
...
Conflicts:
frontends/riscos/sslcert.h
2016-12-28 16:14:19 +00:00
Vincent Sanders
af6139bcb5
remove RISC OS treeview wrapper implementation
2016-12-28 16:07:04 +00:00
Vincent Sanders
337f9948d5
Update RISC OS ssl certificate viewer to core window interface
2016-12-28 15:26:02 +00:00
Vincent Sanders
72d3bec792
Update RISC OS global history to use core window interface
2016-12-28 15:26:02 +00:00
Vincent Sanders
af3a78060f
Update RISC OS hotlist to use core window interface
2016-12-28 15:26:02 +00:00
Vincent Sanders
05a35725d1
Update RISC OS cookie window to use core window interface
2016-12-28 15:25:57 +00:00
Vincent Sanders
e2bad05338
RISC OS corewindow implementation
2016-12-28 15:25:46 +00:00
Vincent Sanders
c7cf2d18de
reformat riscos treeview source so it can be understood
2016-12-28 15:25:46 +00:00
Vincent Sanders
f68a3f9d61
improve gtk corewindow documentation
2016-12-26 13:24:22 +00:00
Vincent Sanders
f27cc16d42
improve doc comments in windows corewindow handling
2016-12-26 13:24:12 +00:00
Michael Drake
54f01c7d7b
RISC OS: Remove unused function declaration.
2016-12-18 13:02:02 +00:00
Vincent Sanders
6c441fd4b1
remove unecessary include of depricated tree interface from beos
2016-12-16 15:14:26 +00:00
Chris Young
9d77dc83bd
Never warn the user about multiple tabs being open when we're in the process of quitting.
2016-12-15 18:23:52 +00:00
Chris Young
f04103398b
Avoid leaking memory when typing
2016-12-11 23:04:13 +00:00
Chris Young
7318b5b65a
RISC OS: Free nsoptions
2016-12-11 16:47:14 +00:00
Chris Young
ba0895121b
Ensure we close all opened resources when we early exit
2016-12-11 16:16:11 +00:00
Chris Young
9d694f56bb
Tidy-up init a bit
2016-12-11 16:04:16 +00:00
Chris Young
433418a8e9
Finalise bitmap code last as purging the cache needs it
2016-12-11 15:24:56 +00:00
Chris Young
34a587849c
Move as much closedown as possible into gui_quit
2016-12-11 15:18:08 +00:00
Chris Young
68e8152f3e
Ensure OpenURL list is always freed
2016-12-07 00:00:54 +00:00
Chris Young
8f9a652774
Revert "Ensure we free the pen list memory"
...
This reverts commit 74d7c2d2c2
.
2016-12-06 23:58:47 +00:00
Chris Young
ecf2fdf612
Free the correct memory pointer
2016-12-06 23:39:46 +00:00
Chris Young
74d7c2d2c2
Ensure we free the pen list memory
2016-12-06 23:39:04 +00:00
Chris Young
a440907b78
Fix memory leak
2016-12-06 23:34:24 +00:00
Chris Young
c0a15de1e4
Ensure pool init returns non-NULL so it isn't treated as an error.
2016-12-06 23:23:01 +00:00
Chris Young
2b6a416970
Replace custom itempool functions with malloc/free as clib handles these more efficiently than our pools.
2016-12-06 23:17:40 +00:00
Chris Young
f38b72a583
Avoid potential memory leak
2016-12-06 17:54:58 +00:00
Chris Young
2dd97b0b8e
Fix brokenness caused by recent changes
2016-12-05 23:32:55 +00:00
Chris Young
4b91c43003
Add missing nsoption_finalise
2016-12-05 23:08:17 +00:00
Chris Young
2fe884be65
Fix memory leak searching for resources
2016-12-05 20:30:48 +00:00
Chris Young
71afaacc80
Fix last tab title not being freed
2016-12-05 20:22:21 +00:00
Chris Young
2a9e89de75
Fix potential memory leak
2016-12-05 19:31:04 +00:00
Chris Young
54e31b65d1
Guard against crashing when opening the splash screen
...
Add extra logging for when things go wrong at this stage
2016-11-28 19:35:15 +00:00
Chris Young
0bc32aa654
Add more clib2 stats
...
JSON formatted data can now be saved with ARexx "SLABSTATS stats.json"
2016-11-27 17:10:03 +00:00
Chris Young
4fb38f574a
AmigaOS low memory handler attempt 2
...
Neither freeing slabs nor purging the cache are safe to call from interrupts, so instead we schedule these to run on NetSurf's process.
If NetSurf is busy, there may be significant delay, so the priority is set low to ensure this is called only when other - faster - memory handlers have been exhausted.
I don't know if this works, or is sane, as I'm not entirely sure how to test it.
Something similar needs adding for OS4 but low memory is less of an issue there, so will see if this works on OS3 first.
2016-11-27 16:25:27 +00:00
Chris Young
a76a36915c
Ensure the memory for the mem-handler interrupt is allocated
2016-11-27 15:36:30 +00:00
Chris Young
c4b8857789
Add low memory handler to purge unused slabs on OS3
...
TODO: find some way to purge NetSurf's memory cache safely from another process
2016-11-27 15:31:18 +00:00
Chris Young
2043223788
Reduce frequency of diskfont open/close
2016-11-27 14:57:32 +00:00
François Revol
811d7b7175
haiku: close parenthesis in version string
...
they are unmatched due to the CI ifdefery
2016-11-21 21:34:57 +01:00
François Revol
540c6ee0ef
haiku: use logging instead of fprintf
2016-11-21 21:02:55 +01:00
François Revol
cd3720d5b6
haiku: Fix popup menu
...
Only the reload entry is enabled for now.
2016-11-21 21:02:55 +01:00
François Revol
30ca72b32e
haiku: Rework menu accelerator handling
...
Instead of splitting accel keys from the item string, we go the GTK
way of using a separate Accel-suffixed string id.
2016-11-21 18:20:47 +01:00
François Revol
b5fd0ae1ed
haiku: catch NetPositive messages also in the Window
...
At least Pe sends them there for its Help menu.
2016-11-21 16:51:40 +01:00
François Revol
31b1c72ddc
haiku: add a file extension when viewing source
...
Pe still requires it to detect the language, this makes it easier.
2016-11-21 16:38:22 +01:00
François Revol
35146ef0c8
haiku: try to open source in preferred app for source-code first
...
We still fall back to the hardcoded list, but we first check for the
user's prefered code editor.
2016-11-21 16:16:34 +01:00
Vincent Sanders
bcce8cc7b4
fix spelling of retrived
2016-11-21 00:07:13 +00:00
Chris Young
d436992eb2
Reduce slab size to 2K as very few allocations are above that.
2016-11-20 17:16:18 +00:00
Chris Young
5ce3b93457
Get clib2 slab usage
...
Calling ARexx function "SLABSTATS" will dump the current stats to the ns log
2016-11-20 17:12:18 +00:00
Chris Young
17128fd0ad
Move ItemPool compatiblity into the header and rename
2016-11-20 16:30:33 +00:00
Chris Young
eab6c0c99e
remove ami_misc_allocvec_clear
2016-11-19 21:55:15 +00:00