summaryrefslogtreecommitdiff
path: root/frontends
Commit message (Collapse)AuthorAgeFilesLines
* licence and credits buttons got swapped, fix itVincent Sanders2016-08-141-2/+2
| | | | Thanks to bavier for the bug report
* 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)
* Treeview: Add `treeview_font_size` to options.Michael Drake2016-08-111-0/+6
| | | | 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-106-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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
|
* 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
|
* rename gtk global history implementationVincent Sanders2016-08-046-6/+4
|
* convert GTK global history to use GTK core windowVincent Sanders2016-08-044-142/+274
|
* make gtk certificate viewing use gtk core window APIVincent Sanders2016-07-312-73/+202
|
* Allow certificate verification user prompt creation to return errorsVincent Sanders2016-07-3110-28/+36
|
* make gtk cookies manager use core window APIVincent Sanders2016-07-313-90/+199
|
* add nsgtk support for core window APIVincent Sanders2016-07-313-1/+743
|
* fix gdk to nskey mapping for home/end and missing keypad mappingsVincent Sanders2016-07-311-12/+44
|
* Remove pointless string copyChris Young2016-07-292-6/+2
|
* cleanup gtk cookie interfaceVincent Sanders2016-07-254-27/+50
| | | | | use gtk_window_present instead of gdk_window_raise and reduce exposed variables and interfaces.
* URL escape: Simplify to avoid unnecessary allocation.Michael Drake2016-07-252-17/+20
| | | | | | | | This removes the toskip parameter, which was only used by the RISC OS front end. The toskip param was used to skip 8 characters which did not need to be escaped from the start of the URL. The RISC OS front end now orders the steps of its URL construction to avoid the need for this.
* Fix TODO (writing past end of buffer)Chris Young2016-07-241-9/+10
|
* URL unescape: return the new length to the caller.Michael Drake2016-07-246-8/+16
| | | | | | | | The avoids situations were we threw away the length, only for the caller to have to strlen the returned string. Note, there seems to be a case of the amiga front end writing beyond end of allocation. Added a TODO for now.
* Explicitely support http and https URI schemes in the .desktopFrançois Revol2016-07-221-1/+1
|
* add header for memcpy prototypeVincent Sanders2016-07-151-0/+1
|
* use the correct png type when reading header width and heightVincent Sanders2016-07-151-171/+159
|
* fix gtk TLS certificate viewing with multiple queriesVincent Sanders2016-07-126-26/+79
|
* Make browserglob private to gui.cChris Young2016-07-097-10/+18
|
* tidy-upChris Young2016-07-095-16/+13
|
* Only set JSIMD_FORCENONE if it is not already setChris Young2016-07-091-1/+11
|
* Add missing filesChris Young2016-07-093-0/+88
|
* Force disable libjpeg-turbo's use of AltiVec if we don't have itChris Young2016-07-092-1/+11
| | | | NB: This var must be set when NetSurf is launched. The in-program setting is just a precaution in case the install script isn't run
* Set envvar to the correct valueChris Young2016-07-091-1/+1
|
* Move current user options path to an abstracted nsoptions_read/write functionChris Young2016-07-095-11/+9
|
* Remove unused variable; help gccChris Young2016-07-092-16/+15
|
* Set an env-var if we don't have AltiVecChris Young2016-07-091-0/+13
| | | | This, in theory, allows us to use libjpeg-turbo 1.5+ on both AltiVec and non-AltiVec systems.
* Fix logic in the rare case we're running 8-bit and have a cached full-size ↵Chris Young2016-07-081-2/+4
| | | | native BitMap but need a scaled one.
* Fix the caching logic now we've moved 8-bit scaling earlier in the codeChris Young2016-07-081-2/+4
|
* Use GuiGFX to scale 8-bit images rather than doing two separate operationsChris Young2016-07-081-7/+12
|
* Force friend BitMap usage at depths>8bppChris Young2016-07-081-17/+15
| | | | Fix logic so this forced usage actually applies
* restrict some more varsChris Young2016-07-081-8/+8
|
* Fix the signalling to the old session of NetSurf from the newly-launched one.Chris Young2016-07-033-5/+12
| | | | No idea how this ever worked previously, as it was sending commands to the ARexx server instead of NetSurf.
* Help gcc optChris Young2016-07-031-3/+3
|