Chris Young
cfc9971d0e
Remove no longer used poll option from schedule runner
2014-11-17 23:47:28 +00:00
Chris Young
230e348315
update comments
2014-11-16 16:44:19 +00:00
Chris Young
0966b8097c
Allocate screen title when first needed and keep it private to amiga/gui.c
2014-11-16 16:40:41 +00:00
Chris Young
20705189b9
Make win_destroyed variable private to amiga/gui.c
2014-11-16 16:31:35 +00:00
Chris Young
6ce6b9ae97
Replace curbw (current browser_window, used mostly for ARexx support) with cur_gw (current gui_window)
2014-11-16 16:01:59 +00:00
Chris Young
d626487fe1
Remove any pending favicon refresh to avoid a crash on exit/window close
2014-11-16 15:06:32 +00:00
Chris Young
497994b0f4
Fix amiga/gui.c to not ref gui_window via browser_window
2014-11-16 14:44:40 +00:00
Chris Young
7cb7879427
Remove a loop which appears to do nothing
2014-11-16 14:25:31 +00:00
Chris Young
e3620ac675
Change clicktab userdata to hold gui_window instead of browser_window
2014-11-16 14:24:18 +00:00
Chris Young
e75cdeeefd
Don't make the app id a global var
2014-11-16 14:06:12 +00:00
Chris Young
b2fd904eef
Make the SPACE_RenderBox compatibility functions public
2014-11-15 13:52:06 +00:00
Chris Young
e909c93804
Use SPACE_RenderBox if available, as SPACE_AreaBox is "dangerous".
2014-11-15 13:46:23 +00:00
Vincent Sanders
3e4f5737aa
Doxygen cleanups in frontends
2014-11-11 15:46:04 +00:00
Chris Young
fb0af6f269
Call open/close timer from schedule init/free functions
2014-11-10 23:50:28 +00:00
Chris Young
e9696b2fa9
New function for an error requester with the correct imagery which doesn't attempt to do Messages lookup.
2014-11-10 21:59:51 +00:00
Chris Young
098fbb628b
Move some init functions together for the sake of clarity
2014-11-10 19:01:30 +00:00
Chris Young
225161b05e
Move MIME cleanup before NetSurf's internal exit.
2014-11-10 18:58:58 +00:00
Chris Young
16e80452c2
Remove gui_init and merge the contents into main()
2014-11-10 18:57:38 +00:00
Chris Young
7bf92f6a04
Remove die()
...
Terminating execution abruptly on AmigaOS is dangerous.
2014-11-10 18:56:09 +00:00
Chris Young
e0833a7f2e
Fix warnings
2014-11-09 01:10:52 +00:00
Chris Young
4329c7a328
Terminate execution if an essential library fails to open
2014-11-09 00:06:56 +00:00
Chris Young
c2eb205685
Open libraries *before* we need them...
2014-11-09 00:06:56 +00:00
Chris Young
3c1aeebb1e
Fix headers
2014-11-09 00:06:55 +00:00
Chris Young
9601ddacad
Add new libs file to centrally open/close required libraries, and move a couple of the existing manual opens to it.
2014-11-09 00:06:55 +00:00
Vincent Sanders
c14ddad660
change url setting api to take an nsurl instead of a text string
2014-11-02 22:30:45 +00:00
Vincent Sanders
c31c4babe1
Change contextual content retrieval to browser features.
...
Update the API which allows frontends to acquire the page features
(images, link urls or form elements) present at the given coordinates
within a browser window.
By making this an explicit browser_window API and using the browser.h
header for the associated data structure with a more appropriate API
naming the usage is much more obvious and contained.
Additionally the link url is now passed around as a nsurl stopping it
being converted from nsurl to text and back again several times.
2014-11-02 15:46:42 +00:00
Chris Young
c3522ea747
Change min stack (again) to 128K
...
It has come to my attention that some websites (eg amigakit.com) are using marginally more than the 96K stack space set previously. This should give plenty of breathing space.
2014-10-30 21:51:52 +00:00
Vincent Sanders
7ace528729
Update url setting API to return nserror code instead of calling warn_user
2014-10-29 00:18:12 +00:00
Chris Young
29dfdd459d
Move scroller check into update_extent, where it makes more sense
2014-10-26 22:22:15 +00:00
Chris Young
bad7780378
Check scroller requirements as part of the reformat.
2014-10-26 21:30:19 +00:00
Chris Young
784d893eb7
Avoid a crash on exit in kiosk mode
2014-10-26 17:08:23 +00:00
Chris Young
36a3e58c06
Expand status bar to entire window width
2014-10-26 17:00:18 +00:00
Chris Young
340d74ae4f
Make the new hscroller work properly
2014-10-26 16:42:00 +00:00
Chris Young
80b195cdd5
Move the hscrollbar inside the window
2014-10-26 16:35:05 +00:00
Chris Young
17b87a60cf
Offset new windows as per style guide
2014-10-26 16:12:34 +00:00
Chris Young
0c77d85f89
Make window counting a generic function
2014-10-26 15:41:44 +00:00
Chris Young
b751513d6f
Schedule redraws for 1cs to ensure they take place after reformats (which are scheduled by the core for 0cs)
2014-10-26 13:22:02 +00:00
Chris Young
a01cb0f635
Don't need redraw_scheduld as the scheduler stops it being scheduled twice anyway
2014-10-26 13:18:19 +00:00
Chris Young
69c7b6b1f5
Fix button update, avoid forward decl
2014-10-26 13:11:05 +00:00
Chris Young
49873c8bf3
Cache size gadget width
2014-10-25 20:17:33 +01:00
Chris Young
d89f654fbe
Correct comment
2014-10-25 20:08:56 +01:00
Chris Young
a2e999584c
Use the correct size gadget width (thx tboeckel)
2014-10-25 20:07:58 +01:00
Chris Young
41b08da31a
Check scroller requirement after a resize
2014-10-25 20:03:14 +01:00
Chris Young
b2ff4877e4
Remove the vertical scroll bar if there's nothing to scroll
2014-10-25 19:59:11 +01:00
Chris Young
7e95b7ffb1
Remove some old VertProp tags
2014-10-25 19:29:51 +01:00
Chris Young
b7b4db8520
Merge branch 'chris/shorter-vscrollbar'
...
Move the vertical scroller into the window area and allow it to be removed when eg. framesets are being displayed.
2014-10-25 19:27:40 +01:00
Chris Young
d31aa9a959
Use more sensible default value for size gadget width
2014-10-25 19:24:58 +01:00
Chris Young
fa7d44702a
Fix warnings
2014-10-25 16:22:28 +01:00
Chris Young
2ad41a78c4
Returns bool, not void
2014-10-25 15:52:10 +01:00
Chris Young
8d930afb3d
Reduce code duplication
2014-10-25 15:49:42 +01:00