Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move tree compatability layer to amiga frontend | Vincent Sanders | 2016-12-31 | 7 | -6/+448 |
| | |||||
* | add a todo | Chris Young | 2016-12-31 | 1 | -1/+1 |
| | |||||
* | Simply the event loop for the shared message port | Chris Young | 2016-12-31 | 1 | -69/+15 |
| | | | | | This now simply calls the event callback for each window, which returns TRUE is the window was closed during event processing. The window loop now restarts if any windows were closed, which fixes a potential rare issue with delayed event processing. | ||||
* | Update local history window to use event callback | Chris Young | 2016-12-31 | 3 | -16/+22 |
| | |||||
* | Update print window to use event callback | Chris Young | 2016-12-31 | 3 | -15/+21 |
| | |||||
* | Update 401 login window to use event callbacks | Chris Young | 2016-12-31 | 3 | -10/+15 |
| | |||||
* | Simplify closing of windows on quit | Chris Young | 2016-12-31 | 1 | -20/+5 |
| | | | | | If they have a close callback it will be called. Some windows are attached to browser windows and closed elsewhere without using the callbacks. | ||||
* | Update download window to use event callbacks | Chris Young | 2016-12-31 | 3 | -10/+17 |
| | |||||
* | Update GUI options window to use event callback | Chris Young | 2016-12-31 | 3 | -14/+21 |
| | |||||
* | Update treeviews to use event callback | Chris Young | 2016-12-30 | 5 | -22/+33 |
| | |||||
* | Start tidying up Amiga event-handling code | Chris Young | 2016-12-30 | 4 | -514/+587 |
| | | | | | | | As we used a shared message port, we call different event-handling functions for different window types. This changes that so we register the event-handler as a callback so we can handle event processing for all windows generically. Currently the main browser window and find window use the new approach, so the handling still has a long list of window types. This should also make window_list private to gui.c | ||||
* | Never warn the user about multiple tabs being open when we're in the process ↵ | Chris Young | 2016-12-15 | 1 | -1/+3 |
| | | | | of quitting. | ||||
* | Avoid leaking memory when typing | Chris Young | 2016-12-11 | 1 | -1/+2 |
| | |||||
* | Ensure we close all opened resources when we early exit | Chris Young | 2016-12-11 | 1 | -15/+22 |
| | |||||
* | Tidy-up init a bit | Chris Young | 2016-12-11 | 1 | -84/+107 |
| | |||||
* | Finalise bitmap code last as purging the cache needs it | Chris Young | 2016-12-11 | 1 | -3/+2 |
| | |||||
* | Move as much closedown as possible into gui_quit | Chris Young | 2016-12-11 | 1 | -14/+14 |
| | |||||
* | Ensure OpenURL list is always freed | Chris Young | 2016-12-07 | 1 | -11/+11 |
| | |||||
* | Revert "Ensure we free the pen list memory" | Chris Young | 2016-12-06 | 1 | -10/+9 |
| | | | | This reverts commit 74d7c2d2c2b2161701c1f0258bbfc7feb753ac1e. | ||||
* | Free the correct memory pointer | Chris Young | 2016-12-06 | 1 | -1/+1 |
| | |||||
* | Ensure we free the pen list memory | Chris Young | 2016-12-06 | 1 | -9/+10 |
| | |||||
* | Fix memory leak | Chris Young | 2016-12-06 | 1 | -0/+1 |
| | |||||
* | Ensure pool init returns non-NULL so it isn't treated as an error. | Chris Young | 2016-12-06 | 1 | -1/+1 |
| | |||||
* | Replace custom itempool functions with malloc/free as clib handles these ↵ | Chris Young | 2016-12-06 | 1 | -4/+4 |
| | | | | more efficiently than our pools. | ||||
* | Avoid potential memory leak | Chris Young | 2016-12-06 | 1 | -12/+12 |
| | |||||
* | Fix brokenness caused by recent changes | Chris Young | 2016-12-05 | 1 | -15/+13 |
| | |||||
* | Add missing nsoption_finalise | Chris Young | 2016-12-05 | 1 | -0/+4 |
| | |||||
* | Fix memory leak searching for resources | Chris Young | 2016-12-05 | 1 | -16/+18 |
| | |||||
* | Fix last tab title not being freed | Chris Young | 2016-12-05 | 1 | -6/+4 |
| | |||||
* | Fix potential memory leak | Chris Young | 2016-12-05 | 1 | -1/+3 |
| | |||||
* | Guard against crashing when opening the splash screen | Chris Young | 2016-11-28 | 1 | -0/+15 |
| | | | | Add extra logging for when things go wrong at this stage | ||||
* | Add more clib2 stats | Chris Young | 2016-11-27 | 3 | -7/+47 |
| | | | | JSON formatted data can now be saved with ARexx "SLABSTATS stats.json" | ||||
* | AmigaOS low memory handler attempt 2 | Chris Young | 2016-11-27 | 2 | -4/+44 |
| | | | | | | | 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. | ||||
* | Ensure the memory for the mem-handler interrupt is allocated | Chris Young | 2016-11-27 | 1 | -2/+5 |
| | |||||
* | Add low memory handler to purge unused slabs on OS3 | Chris Young | 2016-11-27 | 3 | -1/+43 |
| | | | | TODO: find some way to purge NetSurf's memory cache safely from another process | ||||
* | Reduce frequency of diskfont open/close | Chris Young | 2016-11-27 | 3 | -14/+32 |
| | |||||
* | Reduce slab size to 2K as very few allocations are above that. | Chris Young | 2016-11-20 | 1 | -1/+1 |
| | |||||
* | Get clib2 slab usage | Chris Young | 2016-11-20 | 4 | -8/+56 |
| | | | | Calling ARexx function "SLABSTATS" will dump the current stats to the ns log | ||||
* | Move ItemPool compatiblity into the header and rename | Chris Young | 2016-11-20 | 5 | -74/+37 |
| | |||||
* | remove ami_misc_allocvec_clear | Chris Young | 2016-11-19 | 4 | -18/+2 |
| | |||||
* | Add missing includes | Chris Young | 2016-11-19 | 6 | -1/+6 |
| | |||||
* | Correct revision number | Chris Young | 2016-11-19 | 1 | -6/+6 |
| | | | | I think my note about AmigaOS version numbering was misleading. | ||||
* | more allocvec/malloc changes | Chris Young | 2016-11-19 | 14 | -242/+236 |
| | |||||
* | Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/malloc | Chris Young | 2016-11-19 | 3 | -10/+11 |
|\ | | | | | | | | | Conflicts: frontends/amiga/icon.c | ||||
| * | Free and clear icondata to avoid a potential double-free | Chris Young | 2016-11-19 | 3 | -10/+11 |
| | | |||||
* | | More allocvec/malloc changes | Chris Young | 2016-11-19 | 5 | -35/+33 |
| | | |||||
* | | More allocvec/malloc replacements | Chris Young | 2016-11-19 | 8 | -22/+24 |
| | | |||||
* | | Change some AllocVecs to mallocs and FreeVecs to free | Chris Young | 2016-11-19 | 6 | -18/+41 |
|/ | | | | Need to be careful with ASPrintf | ||||
* | Move slab size def into memory.c | Chris Young | 2016-11-19 | 6 | -2/+8 |
| | |||||
* | Add memory.c/h | Chris Young | 2016-11-19 | 2 | -0/+107 |
| |