summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Time: Expose arrays of weekday and month names.Michael Drake2016-08-131-6/+72
|
* Ensure we are treating LShift/RShift and LAlt/RAlt the same.Chris Young2016-08-121-35/+24
|
* Don't attempt to close a public screen we're not the owner of.Chris Young2016-08-111-3/+3
| | | | I've never been entirely clear on what the correct approach here is, but OS4 has a feature where it will auto open/close a public screen for you. In this case, in the microseconds between unlocking that screen and attempting to close it, OS4 has already disposed of the screen and NetSurf has crashed, so we assume the owner will handle the closing instead.
* Fix OS3 buildChris Young2016-08-111-1/+6
|
* OS3-related commentsChris Young2016-08-111-1/+7
|
* Remove excessive scheduler debugChris Young2016-08-111-26/+0
|
* Don't Abort/WaitIO when we've already removed it from the message queue (thx ↵Chris Young2016-08-111-4/+10
| | | | Georg)
* Tests: Fix option handling test data.Michael Drake2016-08-111-0/+1
|
* Treeview: Add `treeview_font_size` to options.Michael Drake2016-08-114-6/+19
| | | | Default is 11pt, and RISC OS overrides to 12pt.
* Missing TAG_DONE (thx capehill)Chris Young2016-08-102-1/+2
|
* Treeview: Rationalise initialisation and finalisation.Michael Drake2016-08-1013-60/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the expected behaviour for front ends using the correct API for hotlist, global history, cookie manager, and ssl cert viewer was that the front end would initialise the treeview module on startup and finalise it on application exit. However, this meant that the front ends had to include the core treeview header, which they didn't otherwise need. Since the tree module provided access to the new treeview utilities through the old tree API, and was used by front ends with no changes for the new treeview API, the tree layer refcounted initialisations of treeview-based widgets, and only called the underlying treeview init/fini functions when needed. This change moves that refcounting into the treeview module. Now the hotlist, global history, cookie manager, and ssl cert viewer widgets call call treeview init/fini as part of their own initialisation and finalisation. This means that front ends using the correct APIs for treeview-based widgets don't need to know anything about the underlying treeview, and the tree module compatibility layer has had its treeview refcounting removed. Finally, the treeview_init function took a font size parameter. Now it does not and lit gets font size from config. We probably want to add a new `treeview_font_size` option to nsoptions, and have differnent defaults on different platforms. 12pt on RISC OS, and 11pt elsewhere, most likely.
* Use the API for duplicating IORequestsChris Young2016-08-101-17/+48
| | | | | | Add some more debug: It appears that some timer events are not being picked up, I can see in the log that something which should have been signalled is not being run. Enabling the log appears to make the situation worse.
* Always wait for at least some time, as it's ambiguous as to whether a 0.0s ↵Chris Young2016-08-101-0/+2
| | | | timerequest is valid.
* more debugChris Young2016-08-091-2/+3
|
* Decouple the scheduler from system timeChris Young2016-08-091-69/+54
| | | | | This is a hang-over from the old polling scheduler. I've modified it to use relative times and pass the callback along with the TimeRequest so events get executed in the order they arrive. The list of events is still in a heap sorted by expected execution time, but this may need to change to something more efficient for random lookups.
* add more tests for partial iterator in url databaseVincent Sanders2016-08-091-3/+83
|
* ensure url database destructor cleans up correctlyVincent Sanders2016-08-091-2/+7
|
* add more API coverage to url database unit testsVincent Sanders2016-08-091-6/+21
|
* extend url database unit testing to cover more APIVincent Sanders2016-08-093-14/+118
|
* add cookies tests to url database unit testingVincent Sanders2016-08-091-11/+116
|
* We don't need ReplyMsg here.Chris Young2016-08-091-4/+4
| | | | | TimerRequests are removed from the message queue by WaitIO() which is ultimately called when the event is taken off the heap. The event on the top of the heap is _not necessarily_ the one which signalled us, though, and we should probably be handling this better.
* Scheduler debug loggingChris Young2016-08-091-4/+11
|
* add cookie database load and restore unit testVincent Sanders2016-08-092-3/+50
|
* extend url database checks to cover authentication detail setter and getterVincent Sanders2016-08-081-2/+23
|
* add some basic url database iteration testsVincent Sanders2016-08-082-36/+80
|
* add url databse write output to unit testVincent Sanders2016-08-082-4/+19
|
* Fix warnings in unit testsVincent Sanders2016-08-086-69/+75
|
* Tests: Squash more warnings.Michael Drake2016-08-081-3/+3
|
* Tests: Squash some warnings.Michael Drake2016-08-082-6/+6
|
* Add header that may be needed for Windows build. (CI fix attempt.)Michael Drake2016-08-081-0/+1
|
* fix urldb warning and test buildVincent Sanders2016-08-082-5/+13
|
* update urldb dump to use LOG rather than writing to stderr directlyVincent Sanders2016-08-081-8/+19
|
* wrap urldb tests in check harness and add minimal session testVincent Sanders2016-08-082-55/+246
|
* Utils: Split time handling functions out of `utils.c` into `time.c`.Michael Drake2016-08-073-111/+154
|
* Indentation: spaces to tabs.Michael Drake2016-08-071-3/+3
|
* add unit test for user message handlingVincent Sanders2016-08-064-1/+872
|
* remove unused GTK treeview code completely repalced with core window APIVincent Sanders2016-08-064-677/+1
|
* convert GTK hotlist to use GTK core windowVincent Sanders2016-08-065-122/+259
|
* fix hotlist keypress consumption returnVincent Sanders2016-08-062-4/+4
|
* add some more bad values to choices file to ensure parser can copeVincent Sanders2016-08-061-0/+11
|
* remove erroneous parameter check to nsoption_snoptionfVincent Sanders2016-08-062-3/+1
| | | | | | The API check and bounds check for option indexes was from an unsigned enum so checking for negative numbers was causing "comparison is always false" errors in compilation.
* fix formatted option no init testVincent Sanders2016-08-061-1/+1
|
* improve option test coverage futherVincent Sanders2016-08-062-5/+73
|
* improve user option testing to cover all the APIVincent Sanders2016-08-063-16/+179
|
* Improve user option testing and API parameter checkingVincent Sanders2016-08-055-53/+616
|
* rename gtk global history implementationVincent Sanders2016-08-046-6/+4
|
* convert GTK global history to use GTK core windowVincent Sanders2016-08-044-142/+274
|
* fix global history keypress consumption returnVincent Sanders2016-08-042-3/+3
|
* add tests for utility string handlingVincent Sanders2016-08-043-3/+164
|
* add url escape test for complete garbage inputVincent Sanders2016-08-031-0/+1
|