Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure we are treating LShift/RShift and LAlt/RAlt the same. | Chris Young | 2016-08-12 | 1 | -35/+24 |
| | |||||
* | Don't attempt to close a public screen we're not the owner of. | Chris Young | 2016-08-11 | 1 | -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 build | Chris Young | 2016-08-11 | 1 | -1/+6 |
| | |||||
* | OS3-related comments | Chris Young | 2016-08-11 | 1 | -1/+7 |
| | |||||
* | Remove excessive scheduler debug | Chris Young | 2016-08-11 | 1 | -26/+0 |
| | |||||
* | Don't Abort/WaitIO when we've already removed it from the message queue (thx ↵ | Chris Young | 2016-08-11 | 1 | -4/+10 |
| | | | | Georg) | ||||
* | Treeview: Add `treeview_font_size` to options. | Michael Drake | 2016-08-11 | 1 | -0/+6 |
| | | | | Default is 11pt, and RISC OS overrides to 12pt. | ||||
* | Missing TAG_DONE (thx capehill) | Chris Young | 2016-08-10 | 2 | -1/+2 |
| | |||||
* | Treeview: Rationalise initialisation and finalisation. | Michael Drake | 2016-08-10 | 6 | -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 IORequests | Chris Young | 2016-08-10 | 1 | -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 Young | 2016-08-10 | 1 | -0/+2 |
| | | | | timerequest is valid. | ||||
* | more debug | Chris Young | 2016-08-09 | 1 | -2/+3 |
| | |||||
* | Decouple the scheduler from system time | Chris Young | 2016-08-09 | 1 | -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 Young | 2016-08-09 | 1 | -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 logging | Chris Young | 2016-08-09 | 1 | -4/+11 |
| | |||||
* | remove unused GTK treeview code completely repalced with core window API | Vincent Sanders | 2016-08-06 | 4 | -677/+1 |
| | |||||
* | convert GTK hotlist to use GTK core window | Vincent Sanders | 2016-08-06 | 5 | -122/+259 |
| | |||||
* | rename gtk global history implementation | Vincent Sanders | 2016-08-04 | 6 | -6/+4 |
| | |||||
* | convert GTK global history to use GTK core window | Vincent Sanders | 2016-08-04 | 4 | -142/+274 |
| | |||||
* | make gtk certificate viewing use gtk core window API | Vincent Sanders | 2016-07-31 | 2 | -73/+202 |
| | |||||
* | Allow certificate verification user prompt creation to return errors | Vincent Sanders | 2016-07-31 | 10 | -28/+36 |
| | |||||
* | make gtk cookies manager use core window API | Vincent Sanders | 2016-07-31 | 3 | -90/+199 |
| | |||||
* | add nsgtk support for core window API | Vincent Sanders | 2016-07-31 | 3 | -1/+743 |
| | |||||
* | fix gdk to nskey mapping for home/end and missing keypad mappings | Vincent Sanders | 2016-07-31 | 1 | -12/+44 |
| | |||||
* | Remove pointless string copy | Chris Young | 2016-07-29 | 2 | -6/+2 |
| | |||||
* | cleanup gtk cookie interface | Vincent Sanders | 2016-07-25 | 4 | -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 Drake | 2016-07-25 | 2 | -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 Young | 2016-07-24 | 1 | -9/+10 |
| | |||||
* | URL unescape: return the new length to the caller. | Michael Drake | 2016-07-24 | 6 | -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 .desktop | François Revol | 2016-07-22 | 1 | -1/+1 |
| | |||||
* | add header for memcpy prototype | Vincent Sanders | 2016-07-15 | 1 | -0/+1 |
| | |||||
* | use the correct png type when reading header width and height | Vincent Sanders | 2016-07-15 | 1 | -171/+159 |
| | |||||
* | fix gtk TLS certificate viewing with multiple queries | Vincent Sanders | 2016-07-12 | 6 | -26/+79 |
| | |||||
* | Make browserglob private to gui.c | Chris Young | 2016-07-09 | 7 | -10/+18 |
| | |||||
* | tidy-up | Chris Young | 2016-07-09 | 5 | -16/+13 |
| | |||||
* | Only set JSIMD_FORCENONE if it is not already set | Chris Young | 2016-07-09 | 1 | -1/+11 |
| | |||||
* | Add missing files | Chris Young | 2016-07-09 | 3 | -0/+88 |
| | |||||
* | Force disable libjpeg-turbo's use of AltiVec if we don't have it | Chris Young | 2016-07-09 | 2 | -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 value | Chris Young | 2016-07-09 | 1 | -1/+1 |
| | |||||
* | Move current user options path to an abstracted nsoptions_read/write function | Chris Young | 2016-07-09 | 5 | -11/+9 |
| | |||||
* | Remove unused variable; help gcc | Chris Young | 2016-07-09 | 2 | -16/+15 |
| | |||||
* | Set an env-var if we don't have AltiVec | Chris Young | 2016-07-09 | 1 | -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 Young | 2016-07-08 | 1 | -2/+4 |
| | | | | native BitMap but need a scaled one. | ||||
* | Fix the caching logic now we've moved 8-bit scaling earlier in the code | Chris Young | 2016-07-08 | 1 | -2/+4 |
| | |||||
* | Use GuiGFX to scale 8-bit images rather than doing two separate operations | Chris Young | 2016-07-08 | 1 | -7/+12 |
| | |||||
* | Force friend BitMap usage at depths>8bpp | Chris Young | 2016-07-08 | 1 | -17/+15 |
| | | | | Fix logic so this forced usage actually applies | ||||
* | restrict some more vars | Chris Young | 2016-07-08 | 1 | -8/+8 |
| | |||||
* | Fix the signalling to the old session of NetSurf from the newly-launched one. | Chris Young | 2016-07-03 | 3 | -5/+12 |
| | | | | No idea how this ever worked previously, as it was sending commands to the ARexx server instead of NetSurf. | ||||
* | Help gcc opt | Chris Young | 2016-07-03 | 1 | -3/+3 |
| | |||||
* | Fix specifying URLs on command line | Chris Young | 2016-07-03 | 1 | -1/+1 |
| |