Chris Young
1ddf8215cf
Write out to the backing store asynchronously.
...
Despite the fact AmigaOS filesystems run as separate processes,
DOS filesystem writes occur synchronously waiting for the disk
write to finish before returning. Here we have effectively taken
the core's fs backing store and extended it slightly so the store
operation is spun off into a new process, running at a lower task
priority than NetSurf itself. This stops the UI pauses that occur
shortly after loading pages as NetSurf commits the cache to disk.
Somewhat experimental, pending more extensive user testing.
2014-11-18 19:31:11 +00:00
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
3c4b721621
Avoid bw->window ref
2014-11-16 16:24:07 +00:00
Chris Young
261e68592b
Fix ARexx for gui_window changes
2014-11-16 16:13:13 +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
79690c6c90
Remove the global which meant we could only open one local history window.
...
Now we can open multiple local history windows, which avoids the confusion when requesting a local history window when one is already open.
2014-11-16 15:51:57 +00:00
Chris Young
456734a5c2
Stop history_local accessing gui_window via browser_window, and remove some unneeded globals
2014-11-16 15:42:45 +00:00
Chris Young
7053638a72
Remove some more cyclic references
2014-11-16 15:33:11 +00:00
Chris Young
668aa3d84b
Remove some cyclic referencing
2014-11-16 15:28:42 +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
0f85ed7b9d
Fix amiga/tree.c for new structs
2014-11-16 14:57:25 +00:00
Chris Young
aa28650b30
Fix amiga/search.c for new structs
2014-11-16 14:56:51 +00:00
Chris Young
e8d551398b
Fix amiga/menu.c for new structs
2014-11-16 14:55:58 +00:00
Chris Young
223da14e72
Fix amiga/file.c for new structs
2014-11-16 14:54:25 +00:00
Chris Young
bab178d3c1
Fix amiga/drag.c for new structs
2014-11-16 14:53:26 +00:00
Chris Young
f2d1cfc7de
Fix amiga/download.c for new structs
2014-11-16 14:52:49 +00:00
Chris Young
30039a06ee
Fix amiga/context_menu.c for new struct
2014-11-16 14:50:48 +00:00
Chris Young
49e524c1d8
Fix amiga/clipboard.c for new structure
2014-11-16 14:49:42 +00:00
Chris Young
6a891b47c0
Fix amiga/arexx.c for new structure layout
2014-11-16 14:47:26 +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
1d50a2ff8a
Remove unused variable
2014-11-16 14:08:00 +00:00
Chris Young
e75cdeeefd
Don't make the app id a global var
2014-11-16 14:06:12 +00:00
Chris Young
2d5e4f6dcd
Update history_local.c to use SPACE_RenderBox compatibility function
2014-11-15 14:39:54 +00:00
Chris Young
28b74a9763
Update theme.c to use SPACE_RenderBox compatiblity function
2014-11-15 14:35:15 +00:00
Chris Young
7c33655aae
Use SPACE_RenderBox compatibility function in tree code
2014-11-15 14:01:38 +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
Chris Young
564944c244
Use the correct Messages string, modify the contents to better reflect what it (currently) does - only edits the title, not the address.
2014-11-13 23:38:58 +00:00
Chris Young
9857030a12
Add an edit entry option to the edit menu
2014-11-13 23:31:26 +00:00
Vincent Sanders
79e501075a
make the form select menu API smaller.
...
By hiding all but the form selection menu option structure from code
outside of render this reduces the API to the absolute minimum to
support this feature.
2014-11-13 21:52:08 +00:00
Vincent Sanders
9fde3502b6
doxygen cleanups in utils
2014-11-12 23:27:13 +00:00
Vincent Sanders
3e4f5737aa
Doxygen cleanups in frontends
2014-11-11 15:46:04 +00:00
Chris Young
8a6500c539
Fix warnings
2014-11-11 00:03:04 +00:00
Chris Young
fd7abab012
Fix warnings
2014-11-11 00:00:57 +00:00
Chris Young
f787db7823
Fix warnings
2014-11-10 23:56:54 +00:00
Chris Young
bb0f4f13af
Fix warnings
2014-11-10 23:52:43 +00:00
Chris Young
fb0af6f269
Call open/close timer from schedule init/free functions
2014-11-10 23:50:28 +00:00
Chris Young
4ca37c35cf
Fix warnings
2014-11-10 23:43:26 +00:00
Chris Young
24bf863522
Fix warnings
2014-11-10 23:38:59 +00:00
Chris Young
e24d3139c7
Fix warnings
2014-11-10 23:33:08 +00:00
Chris Young
6d3f0fa94c
requester.class no longer used.
2014-11-10 23:31:38 +00:00
Chris Young
e85caab910
Remove unused includes
2014-11-10 23:30:17 +00:00
Chris Young
91662977eb
Show error instead of warning requester when essential library fails to open.
2014-11-10 23:29:28 +00:00
Chris Young
5776b39b8d
Use TimedDosRequester so we're not relying on requester.class being open.
2014-11-10 23:25:43 +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
9bbb737fbf
Fix warnings
2014-11-10 18:48:26 +00:00
Chris Young
7e5ed88763
Fix warnings, formatting
2014-11-10 18:41:38 +00:00
Chris Young
9f0b252371
Fix warnings
2014-11-09 19:58:19 +00:00
Chris Young
a84f2d2290
Fix warning
2014-11-09 19:56:29 +00:00
Chris Young
8557992979
Fix warnings
2014-11-09 19:53:24 +00:00
Chris Young
53482c68cf
Fix warnings
2014-11-09 19:44:59 +00:00
Chris Young
9e0d4e4947
Fix warning
2014-11-09 19:40:19 +00:00
Chris Young
a6335a610e
Fix warning
2014-11-09 19:39:36 +00:00
Chris Young
7711652819
Fix warnings
2014-11-09 19:38:47 +00:00
Chris Young
c62f967935
Fix warnings
2014-11-09 19:37:35 +00:00
Chris Young
1d07bd0657
Fix warnings
2014-11-09 19:34:57 +00:00
Chris Young
04c80ce0a7
Fix warnings
2014-11-09 19:26:59 +00:00
Chris Young
052445a0e1
Fix warnings
2014-11-09 19:17:35 +00:00
Chris Young
f4329c54ba
Fix warnings
2014-11-09 19:04:56 +00:00
Chris Young
e0833a7f2e
Fix warnings
2014-11-09 01:10:52 +00:00
Chris Young
42f1e685b3
Fix warnings
2014-11-09 01:07:35 +00:00
Chris Young
278dcaa31b
Fix warnings
2014-11-09 01:04:35 +00:00
Chris Young
5304f2a2a1
Fix warnings
2014-11-09 01:00:08 +00:00
Chris Young
de1fccd8c4
Fix warnings
2014-11-09 00:56:11 +00:00
Chris Young
8299f923f8
Fix warnings, remove unused code.
2014-11-09 00:48:04 +00:00
Chris Young
659d3913ca
Fix warning
2014-11-09 00:39:17 +00:00
Chris Young
e8126d2ee9
Fix warnings
2014-11-09 00:37:35 +00:00
Chris Young
455e4d3d21
Don't bug the user if a non-essential library can't be opened - just log it.
...
Also log if the interface can't be obtained. If we've asked for the right library version, this should never fail.
2014-11-09 00:25:29 +00:00
Chris Young
4329c7a328
Terminate execution if an essential library fails to open
2014-11-09 00:06:56 +00:00
Chris Young
30cdaa1aa9
Log library open attempts
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
2698ad474e
All required libs
2014-11-09 00:06:55 +00:00
Chris Young
d3f7d78dae
Fix graphics.library
2014-11-09 00:06:55 +00:00
Chris Young
84020bb355
More libraries, tidy-up
2014-11-09 00:06:55 +00:00
Chris Young
998f9b4990
Use macros for clarity
2014-11-09 00:06:55 +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
Chris Young
4c7ef8db3f
remove -lauto
2014-11-09 00:06:55 +00:00
Vincent Sanders
8f64d5d223
Improve Doxygen documentation
2014-11-08 12:35:11 +00:00
Vincent Sanders
f287379a7c
Fix several doxygen issues
2014-11-08 11:38:20 +00:00
Chris Young
c637cd04b1
Don't crash if download dir not set
2014-11-04 18:33:44 +00:00
Vincent Sanders
349e588f81
Fix stupid nsurl struct mistake for amiga.
2014-11-03 23:19:23 +00:00
Vincent Sanders
bdfedb686b
replace save_link operation table entry usage of textural url with nsurl
2014-11-03 23:05:59 +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
03abea12a7
fix errors introuced with previous header cleanup.
2014-11-02 20:39:15 +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
Michael Drake
0f12325506
Don't need old URL header.
2014-10-31 14:39:11 +00:00
Vincent Sanders
ce3d991918
use nsurl_nice and remove url_nice
...
change all callers over to using new API for generating nice filenames
from a url and remove the old API.
2014-10-31 00:24:57 +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
d900feefba
add missing include to amiga history
2014-10-29 00:26:48 +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
4b941297aa
If the initial download dir is changed, update requesters immediately to use that as the next location.
2014-10-28 20:27:14 +00:00
Vincent Sanders
bbcb7d91b2
fix amiga pdf save include
2014-10-27 00:07:15 +00:00
Vincent Sanders
d204d6d555
Clean up saving as PDF
...
This removes the global PDF_Password interface that had completely
bitrotted and moves it into the standard misc operation table with a
sensible defualt implementation.
This also cleans up and fixes the gtk frontend implementation of the
pdf password callback so it compiles.
Finally this moves the implementation to a sensible place alongside
the other exporters reducing target makefile complexity futher.
2014-10-26 23:53:14 +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
Vincent Sanders
14e2829489
remove the die API from the core.
...
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.
This is the final part of this change and the API is now only used within
some parts of the frontends
2014-10-26 12:42:53 +00:00
Michael Drake
a913af5cf5
Fix url variable name.
2014-10-26 10:30:22 +00:00
Michael Drake
2da8ef3e83
Add missed semicolon, and ensure nsurl is unreffed.
2014-10-26 10:25:31 +00:00
Michael Drake
b16038cb1e
We have all the schemes as interned strings, so compare them instead of strncasecmp.
2014-10-26 10:18:40 +00:00
Michael Drake
f7781a8778
Don't need url.h
2014-10-26 10:18:39 +00:00
Michael Drake
87b1da5921
Use nsurl to extract scheme.
2014-10-26 10:18:31 +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
4541d15437
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
Chris Young
088c03a9b7
Reformat page after scrollbar add/remove
2014-10-25 15:47:05 +01:00
Chris Young
e22273c0ff
Remove scrollbar for framesets too
2014-10-25 15:38:57 +01:00
Chris Young
8590780ff5
Avoid forward decl, add comments
2014-10-25 15:29:12 +01:00
Chris Young
90e6cf85b6
Toggle vscroll on/off as needed
2014-10-25 15:23:31 +01:00
Chris Young
f5d866ab70
Rename OID_VSCROLL to GID_VSCROLL and ensure it exists before referencing
2014-10-25 15:08:04 +01:00
Chris Young
6034e69ad1
Creat ehte kiosk window similar to the normal one
2014-10-25 14:41:10 +01:00
Chris Young
78a8f1d967
Remove TODO: LM_REMOVECHILD disposes the objects already.
2014-10-25 14:30:17 +01:00
Chris Young
f787b22594
Add a TODO, don't break kiosk window
2014-10-25 13:29:10 +01:00
Chris Young
f9ed0af8d8
Remove built-in window scrollbar and replace with a scroller.gadget.
...
The style does not match the window border so looks a bit odd.
2014-10-25 13:17:49 +01:00
Michael Drake
94f32b8369
Move create_form_select_menu to window gui table.
2014-10-24 20:45:21 +01:00
Chris Young
7cfec69700
Ensure the throbber is stopped when destroying a gui_window. Fixes 2205.
2014-10-23 18:48:31 +01:00
Chris Young
d38f07cc04
Use url_nice to generate the initial filename for save requesters.
...
Note: We always strip the extension (AmigaOS doesn't need it anyway), which might not necessarily be what you want.
2014-10-23 18:42:07 +01:00
Vincent Sanders
56a5ad11f3
remove unecessary include of browser.h in amiga frontend
2014-10-17 23:18:58 +01:00
Vincent Sanders
0b64df140c
Update amiga frontend for split operation table header changes
2014-10-16 22:33:44 +01:00
Michael Drake
63645c4c32
Fix core create_form_select_menu API to pass gw, rather than bw out to front ends.
2014-10-16 12:39:31 +01:00
Vincent Sanders
30f118a86d
remove unecessary css includes from fronetends
2014-10-13 15:45:51 +01:00
Vincent Sanders
02bbaa3e88
split version info into its own header and remove unnecessary nesurf.h includes
...
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.
Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +01:00
Vincent Sanders
17be8cf216
Put the font operations table alongside all the other core API
...
The netsurf core is driven from numerous operation tables most of
which are now set through a common netsurf_register() interface. The
font and plotting interfaces are currently separate and unlike all the
other operation tables are modified for differing contexts.
This change moves the font operations alongside all the other
operations table and remove unnecessary interaction with the renderers
font internals. Further this also removes the need for css internals
to be visible in frontends.
2014-10-13 11:56:31 +01:00
Vincent Sanders
3fa0ed01c0
add API to set DPI
2014-10-13 02:34:10 +01:00
Vincent Sanders
265f63e679
remove use of deprecated netsurf_quit variable
...
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
The Amiga maintainer probably wants to look at moving the ami_quit
signalling inside ami_handle_msg() to further reduce overhead.
2014-10-12 10:05:01 +01:00
Chris Young
ad22d5446c
Add three languages which now have OS4 language drivers.
2014-10-03 17:55:43 +01:00
Chris Young
49fd5ea238
Correct Lock() parameter
2014-09-29 19:01:25 +01:00
Chris Young
e994704d5c
void function
2014-09-20 13:44:28 +01:00
Chris Young
1b2225ea07
Move log init so it starts earlier
2014-09-20 13:38:38 +01:00
Chris Young
9e6b0fb8b0
Adjust min stack to 96K following evaluation.
2014-09-07 14:09:11 +01:00
Chris Young
5e0d290f81
Ensure release version revision numbers are higher than CI build revision numbers.
2014-09-02 20:11:19 +01:00
Chris Young
ca6d6abf0f
Remove links to files that don't exist in the archive
2014-09-02 19:03:07 +01:00
Chris Young
fa437777c4
Update version numbers for new release cycle.
2014-09-02 19:00:21 +01:00
Chris Young
93d7cf59ff
Reduce stack back down to 64K
2014-09-02 18:58:28 +01:00
Michael Drake
34d7edcdc6
Remove debug logging.
2014-08-30 15:40:00 +01:00
Chris Young
5b815861f3
Ensure the favicon updates correctly when we close a tab
2014-08-25 20:20:16 +01:00
Chris Young
956997b178
Avoid a crash when running on own screen
2014-08-25 20:13:59 +01:00
Chris Young
349913572c
Fix web search from context menu
2014-08-24 16:54:20 +01:00
Chris Young
2353790a45
Reduce minimum stack to 128K.
...
This should make it easier to see if bug#2177 is fully resolved.
2014-08-03 12:24:08 +01:00
Chris Young
116149c61c
Use label.image's In Menu Mode when available
2014-07-28 18:22:09 +01:00
Chris Young
989e82544e
Increase minimum stack to 1MB
2014-07-26 13:11:44 +01:00
Chris Young
db28f295a8
Raise minimum stack to 512K
2014-07-26 00:24:19 +01:00
Chris Young
36411a2ba5
Fix tab title when "always show tabs" is enabled and only one tab is present
2014-07-12 16:09:08 +01:00
Chris Young
d61713d107
Don't update if there is no browser attached (fixes potential crash on startup)
2014-07-12 16:01:43 +01:00
Chris Young
c3514c2c50
Ensure tab titles are updated if the tab bar is newly added
2014-07-12 15:44:14 +01:00
Vincent Sanders
3a9fa29ee5
try and improve usage of browser window internals
2014-07-06 18:34:34 +01:00
Vincent Sanders
0f151e37cb
Merge branch 'vince/reformatpending'
...
Conflicts:
amiga/gui.c
2014-07-06 10:45:31 +01:00
Chris Young
f5c62c2291
Stop the throbber resetting itself to frame 1
2014-07-05 19:07:20 +01:00
Chris Young
ab5b2d9afe
Move favicon redraw to scheduled callback
2014-07-05 19:00:21 +01:00
Chris Young
21a21e8143
Move the throbber to proper scheduled operation
2014-07-05 18:44:44 +01:00
Chris Young
0e28071fa3
Moved forced throbber redraw to a scheduled callback
2014-07-05 17:59:54 +01:00
Chris Young
bdcb123f0a
Replace a flag for search ico refresh with a scheduled callback
2014-07-05 17:47:40 +01:00
Chris Young
f3508427f8
Ensure Ctrl-C does not terminate NetSurf abruptly.
2014-07-05 09:36:43 +01:00
Chris Young
eccfdec27a
Wait for network activity instead of polling.
2014-07-03 20:53:28 +01:00
Chris Young
074e6f3ec6
Remove some code duplication, tidy up and documentation
2014-07-03 00:08:56 +01:00
Chris Young
f52501d9ad
If we try to duplicate an existing scheduled event, reschedule it instead.
2014-07-02 18:43:44 +01:00
Chris Young
5105249bf7
tidy up schedule removal
2014-07-02 18:35:16 +01:00
Vincent Sanders
8848f754e0
documentation fixes and cleanups
2014-07-02 16:39:08 +01:00
Chris Young
4497e9aab7
Neaten up sub-menu highlighting
2014-07-01 23:16:24 +01:00
Chris Young
291f1094eb
Add some space between icon and text in the menu
2014-07-01 18:29:10 +01:00
Vincent Sanders
18aefabd20
change reformat to be driven from the scheduler like redraw
2014-07-01 09:27:20 +01:00
Vincent Sanders
2330503533
Merge branch 'vince/fetchschedule'
2014-07-01 09:03:47 +01:00
Chris Young
01088bb63b
Re-disable the favicon render hook
2014-07-01 08:28:07 +01:00
Chris Young
1aed82b074
fix warnings
2014-06-30 22:38:58 +01:00
Chris Young
846b534854
Recreate the entire menu when the hotlist window is closed.
...
This ensures the hotlist entries in the menu are in sync with reality, and mirrors the existing hotlist toolbar update.
2014-06-30 22:37:05 +01:00
Chris Young
01271f4061
Re-enable favicon render hook. Not sure why or when this was disabled.
2014-06-30 22:21:10 +01:00
Chris Young
0c5bb37bea
Implement a very basic favicon cache for the hotlist menu to use
2014-06-29 22:35:52 +01:00
Vincent Sanders
8944edd649
convert all frontends to scheduled fetch operation
2014-06-26 19:05:59 +01:00
Vincent Sanders
4b2101ba6a
clean up the fetcher factory and improve its API
2014-06-19 18:27:24 +01:00
Chris Young
904cefd388
Enable temporary change of search provider from the main browser window
2014-06-15 15:48:55 +01:00
Chris Young
3de529d815
Change the search ico to be a chooser gadget with the icon as the display
2014-06-15 15:39:49 +01:00
Chris Young
d552865da1
Use search provider iterator.
...
Use a List instead of an array as it is more flexible
2014-06-15 14:56:09 +01:00
Vincent Sanders
8e29e517d5
fix disc cache size option to be unsigned
2014-06-09 13:13:59 +01:00
Vincent Sanders
f1c2dde13b
extend file table with mkdir all and make fs backing store use it.
...
enable fs backing store for RISC OS.
2014-06-05 12:06:47 +01:00
Chris Young
ea01d6b3fc
Double the stack as it still runs out on occasion
2014-06-01 08:46:22 +01:00
Chris Young
a98b946ca2
Confidently remove the debug
2014-06-01 08:45:29 +01:00
Chris Young
3457d3adc7
Sometimes (but not always) the UTF-16 conversion inserts a BOM. Skip it.
2014-06-01 08:44:51 +01:00
Michael Drake
0cdc102946
Remove unused variable.
2014-05-31 08:48:50 +01:00
Michael Drake
ee32aa43fe
Remove an unused variable.
2014-05-31 08:47:32 +01:00
Vincent Sanders
7d02ae916a
make launch_url core operation use nsurl
2014-05-27 23:52:35 +01:00
Vincent Sanders
1966649c83
fix amiga build to use correct nsurl acessor function
2014-05-27 00:15:34 +01:00
Vincent Sanders
688f60d963
fix errors with path_to_url conversion
2014-05-27 00:08:04 +01:00
Vincent Sanders
00b6cfc57e
rework path to url mapping functions to convert from and to nsurl
2014-05-26 23:52:36 +01:00
Chris Young
4a9e1edbde
Redraw the favicon if the window is resized.
2014-05-25 15:07:40 +01:00
Chris Young
bd9acf594f
Try to ensure we get the correct search icon when the window opens.
2014-05-25 10:37:20 +01:00
Chris Young
2a58fa54c1
Map default.ico
2014-05-25 10:27:26 +01:00
Chris Young
ab5fb83037
Move search_web_init somewhere sane
2014-05-25 10:26:34 +01:00
Vincent Sanders
5d8d4d84b7
use new search web interface to refresh icon.
2014-05-25 01:16:32 +01:00
Vincent Sanders
b34a6bbe31
fix warnings in amiga build introduced in websearch changes
2014-05-25 01:14:01 +01:00
Vincent Sanders
649f4f8890
fix amiga build error
2014-05-25 01:11:24 +01:00
Vincent Sanders
a6d3ceae0e
Completely re-write web search provider handling
2014-05-25 01:01:59 +01:00
Chris Young
610fafc0f9
Fix login window title
2014-05-24 12:04:00 +01:00
Chris Young
61b3537f59
Fix download URL handling
2014-05-24 12:02:41 +01:00
Chris Young
92d29c26d4
Stop treeview items moving when they've been dragged outside the treeview window.
2014-05-24 11:46:14 +01:00
Chris Young
06ad319c24
Filter all control chars from width kerning and fix some const warnings.
2014-05-19 18:39:54 +01:00
Michael Drake
eb5ca0f94d
Add logging to nsfont_split function.
2014-05-18 19:36:06 +01:00
Chris Young
e197abf63a
Don't try to kern a character with \0
2014-05-18 13:42:30 +01:00
Vincent Sanders
0a2082d777
ensure all vmkpath implementations check their parameters
2014-05-17 22:28:32 +01:00
Michael Drake
9727f87525
Fix build.
2014-05-16 18:14:28 +01:00
Michael Drake
09e7ea6566
Simplfy and clarify splitting function.
...
Should be funtionally identical.
2014-05-16 18:06:29 +01:00
Chris Young
1cada179b3
Set a more sensible upper cache size limit.
2014-05-16 17:32:15 +01:00
Chris Young
8aa8791f5c
Add disc cache size to settings UI
2014-05-16 17:26:32 +01:00
Chris Young
aa846653c2
Tentatively enable the fs cache backing store
2014-05-16 09:57:09 +01:00
Chris Young
11f03cae0c
Create cache dir
2014-05-16 09:55:38 +01:00
Vincent Sanders
64f607760b
add backing store storage path to browser initialisation
2014-05-13 15:53:06 +01:00
Vincent Sanders
06a3f84e50
remove amiga specific mkpath wrapper as registration has been fixed and the generic netsurf)mkpath is available
2014-05-11 16:54:36 +01:00
Chris Young
318edea47e
Make mkpath allocate the string buffer for map_filename. Fixes 2119.
2014-05-10 15:22:38 +01:00
Vincent Sanders
16b11e7238
ensure operations tables are registered as early as possible.
2014-05-10 10:22:10 +01:00
Vincent Sanders
2326d3c503
remove unecessary utils/url.h includes
2014-05-09 10:15:42 +01:00
Vincent Sanders
096bd47ab0
refactor url utility functions to use standard nserror codes and have appropriate documentation.
2014-05-08 00:16:50 +01:00
Vincent Sanders
b9bade808f
missing comma
2014-05-07 16:47:44 +01:00
Vincent Sanders
6349704b5e
fix silly errors in atari and amiga file operation table change
2014-05-07 16:38:58 +01:00
Vincent Sanders
c56642819e
add file operations table and make all frontends use it.
...
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.
These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.
These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Chris Young
d67504677b
Make the install script work for Dutch language.
2014-05-05 00:07:37 +01:00
Chris Young
06fcab1314
Remove a rogue procedure call
2014-05-03 16:48:42 +01:00
Chris Young
53a8f2aa0c
Remove some unused library/SObj copying procedures from the Installer script.
2014-05-03 16:42:35 +01:00
Chris Young
b1f67dab31
Remove Cairo from AmigaOS frontend.
2014-05-03 16:38:58 +01:00
Chris Young
1822b7c163
Update some version numbers for 3.2-dev.
...
The minor version of 3 here is correct, it is only used internally to conform to AmigaOS versioning conventions.
2014-04-28 18:17:55 +01:00
Michael Drake
263118c501
Try to fix Amiga build failure.
2014-04-09 14:13:21 +01:00
Chris Young
9ba0d66c6d
Ensure we don't get extraneous signals allocated
2014-04-06 15:24:24 +01:00
Chris Young
1ecd56bd71
Fix a case where the screen wouldn't close if NetSurf had been launched from Workbench
2014-04-06 15:22:18 +01:00
Chris Young
4ec70fd3a2
Fix some more cppcheck unread/unusedVariable warnings
2014-04-05 23:40:03 +01:00
Chris Young
5bb5e2667d
Change the scope of some variables picked up by cppcheck, minor reformatting
2014-04-05 23:34:51 +01:00
Chris Young
3ea6ca89a0
Fix cppcheck constStatement warning
2014-04-05 23:12:07 +01:00
Chris Young
a36e7aaeb3
Fix cppcheck syntaxError
2014-04-05 23:09:47 +01:00
Chris Young
d9d0b1d3aa
Add missing include
2014-04-05 23:07:40 +01:00
Chris Young
ba5bae389b
Fix some cppcheck variableHidingTypedef warnings
2014-04-05 20:26:40 +01:00
Chris Young
65adc17121
Fix a bunch of cppcheck unused/unreadVariable warnings
2014-04-05 20:26:40 +01:00
Chris Young
975a1d3c5d
Fix cppcheck variableScope warnings
2014-04-05 20:26:40 +01:00
Chris Young
c1a32d7c6e
Fix some cppcheck unused/unreadVariables
2014-04-05 20:26:40 +01:00
Chris Young
b301a11140
Fix cppcheck arrayIndexOutOfBounds
2014-04-05 20:26:39 +01:00
Chris Young
0f68598649
Fix cppcheck syntaxError
2014-04-05 20:26:39 +01:00
Chris Young
c2f9a39966
Fix some cppcheck variableScope warnings
2014-04-05 20:26:39 +01:00
Chris Young
f991abc53c
Fix a bunch of cppcheck unusedVariable/unreadVariable warnings
2014-04-05 20:26:39 +01:00
Chris Young
268cda0f56
Fix cppcheck variableHidingTypedef
2014-04-05 20:26:39 +01:00
Chris Young
d907ec9b06
Remove cppcheck unnecessaryForwardDeclaration
2014-04-05 20:26:39 +01:00
Chris Young
412df34298
Fix some cppcheck variableScope warnings
2014-04-05 20:26:39 +01:00
Chris Young
f0f05d691b
Fix cppcheck nullPointer
2014-04-03 19:12:47 +01:00
Chris Young
fb072686c1
Fix cppcheck syntaxError
2014-04-03 19:12:07 +01:00
Chris Young
5324cd9abd
Fix cppcheck nullPointer
2014-04-03 19:08:02 +01:00
Chris Young
4575698f0f
Fix cppcheck syntaxError
2014-04-03 19:06:09 +01:00
Chris Young
a741ceadb8
Fix cppcheck bufferAccessOutOfBounds
2014-04-03 19:03:58 +01:00
Vincent Sanders
6f9a93e332
fix formatting of defaults makefiles
2014-03-20 11:05:39 +00:00
Vincent Sanders
4d4d74c8cd
move page search gui callbacks to their own operations table
2014-03-18 22:32:52 +00:00
Chris Young
c44bbcdc08
Ensure any user-input URLs are passed to the core in UTF-8.
...
Everything else, including any content of the URL bar which hasn't just been entered by the user, is assumed to be in ASCII.
NB: The exception is the ARexx OPEN command. This is because NetSurf uses the ARexx port and this command internally when multiple instances are opened.
file: addresses typed into the address bar containing non-ASCII characters will probably no loger work, but it is expected that under normal circumstances, users will either drag'n'drop files or use Project=>Open. If it becomes an issue I will work around it at a later date.
2014-03-13 19:37:01 +00:00
Vincent Sanders
5c6a0eda3b
fixup missing includes from schedule changes
2014-03-09 16:14:05 +00:00
Vincent Sanders
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +00:00
Chris Young
fb9b171e32
Disable the dither option if we're running on a screen which doesn't use it.
2014-03-01 14:48:41 +00:00
Chris Young
69b61198f2
Return 1 if help closed.
2014-02-19 17:51:17 +00:00
Chris Young
6bcd221d0d
Re-apply some of my previous changes
2014-02-19 17:45:52 +00:00
Chris Young
a2d4c8ee0f
Updated amigaguide.class from Daniel Jedlicka
2014-02-19 17:44:06 +00:00
Michael Drake
6867726326
More build fixing.
2014-02-15 18:59:54 +00:00
Michael Drake
3efe56d7ef
Fix build.
2014-02-15 18:52:32 +00:00
Michael Drake
a38a63a37e
Make history internal to browser_window module.
2014-02-15 18:44:50 +00:00
Chris Young
a55957b1c9
Clear signal variable
2014-02-15 14:24:07 +00:00
Chris Young
03cb9a302a
Correct case
2014-02-15 01:18:10 +00:00
Chris Young
f2ef17a1b5
Process the ShutdownMsgId message sent by the AmigaGuide help system, and clean up if it is received.
...
However, there appears to be a long-standing bug in amigaguide.library which means this is never sent.
2014-02-15 01:12:13 +00:00
Michael Drake
2f66b6f6e2
Fix builds.
2014-02-10 22:53:22 +00:00
Michael Drake
49bed056dd
Make browser_window_navigate (un)verifiable flag match browser_window_create.
2014-02-10 22:40:04 +00:00
Chris Young
76b5378996
Add some explanation for the future.
2014-02-10 21:12:02 +00:00
Chris Young
5087fde086
Force downloads to abort on quit
2014-02-10 21:08:36 +00:00
Chris Young
80fcfa7bce
Tidy-up; ami_try_quit is checking the window list now
2014-02-10 20:46:24 +00:00
Chris Young
f69f7b5ee7
Fix warning
2014-02-10 20:41:09 +00:00
Chris Young
cbf423d4c6
Try quitting after downloading if there are no windows open
2014-02-10 20:40:08 +00:00
Chris Young
55a96a7eee
screen_signal should be reset to -1
2014-02-10 20:31:06 +00:00
Chris Young
c384c5dd3e
Force the GUI opts window closed on quit
2014-02-10 20:30:08 +00:00
Chris Young
7fa641616b
Free help before attempting to close the screen, as it doesn't consider itself a visitor window.
2014-02-10 20:23:09 +00:00
Chris Young
e975b355f5
Don't wait for the screen to close unless we're actually quitting.
2014-02-10 20:18:18 +00:00
Chris Young
a6fd328405
Comment out debug for now
2014-02-10 19:56:22 +00:00
Chris Young
709665e5c0
Ensure we always free the screen notification signal
2014-02-10 19:21:47 +00:00
Chris Young
802fb8a77e
Need to get, rather than set, the signal
2014-02-10 19:20:30 +00:00
Chris Young
36e0715dfb
Get and process AmigaGuide help messages
2014-02-10 18:42:50 +00:00
Chris Young
e1b5332192
Add ability to process AmigaGuide messages whilst the help system is running
2014-02-10 18:34:09 +00:00
Chris Young
4aa59f5382
SA_PubSig needs setting at screen open time.
...
Potentially this fixes a screen closure problem.
2014-02-10 18:13:28 +00:00
Michael Drake
af014bce99
Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags.
2014-02-10 14:08:45 +00:00
Michael Drake
7f2c977788
Unset tab flag in kiosk mode.
2014-02-09 13:31:48 +00:00
Michael Drake
ce41b8d431
Fix errors.
2014-02-09 13:19:46 +00:00
Michael Drake
ea79e85fcd
Clean up gui_window creation API.
2014-02-09 13:07:39 +00:00
Michael Drake
987218e144
Fix amiga build.
2014-02-08 23:06:24 +00:00
Michael Drake
3d7cd77982
Simplify local history interface.
2014-02-08 22:43:54 +00:00
Michael Drake
8deb9ec25c
Native select menu interface shouldn't force front end to dig inside bw struct.
2014-02-08 17:11:55 +00:00
Michael Drake
cf84e557fa
Simplify browser_window_refresh_url_bar.
...
Reduces front end need to access bw internals.
2014-02-08 12:07:13 +00:00
Chris Young
41d7084356
Initialise AmigaGuide help system only at the point of first use.
2014-02-07 17:51:12 +00:00
Chris Young
f5f7dc9931
Only allocate printing resources for the period of time we need them.
2014-02-07 17:45:00 +00:00
Chris Young
665f724a36
Brackets
2014-02-06 21:26:39 +00:00
Chris Young
cd9268761c
Only allocate a signal for screen closure at the point we need it. This ensures there are enough free signals for popupmenu.library (at the moment, at least)
2014-02-06 21:23:24 +00:00
Chris Young
bf3ed6a67f
Formatting.
2014-02-06 19:57:13 +00:00
Chris Young
b937ed1d8d
Avoid a potential crash when two tabs are opened and one of them is closed.
2014-02-06 19:35:52 +00:00
Chris Young
8be1ebafd6
Ensure pkg-config pulls in all the curl libs we need
2014-02-04 23:56:17 +00:00
Vincent Sanders
7798dae86a
fix missing includes
2014-02-01 22:44:43 +00:00
Vincent Sanders
886a3106db
move utf8 local conversion operations to table
2014-02-01 22:17:36 +00:00
Vincent Sanders
654da2ffb5
move utf8 conversion routines to use nserror instead of their own error enum
2014-01-28 21:40:13 +00:00
Vincent Sanders
8ce0a10670
move path_to_url and url_to_path to fetch operation table
2014-01-25 23:01:32 +00:00
Chris Young
d64754aca4
Ensure the screen actually gets closed before NetSurf quits.
2014-01-24 20:35:31 +00:00
Vincent Sanders
233904c7ed
fix build faliures from fetch table operation refactor
2014-01-23 00:09:59 +00:00
Vincent Sanders
0475693394
create table for fetcher operations and move all operations into it
2014-01-23 00:00:18 +00:00
Chris Young
e43fbb3914
Fix ReadArgs() argument parsing. Collect any parameters we're not interested in and pass those to nsoption_commandline directly.
2014-01-18 22:10:18 +00:00
Chris Young
96546838d1
Debug logging
2014-01-18 21:35:02 +00:00
Vincent Sanders
ba4788108b
fixup amiga build errors
2014-01-16 14:43:48 +00:00
Vincent Sanders
d47fed4524
move 401 login into operation table
2014-01-16 00:52:17 +00:00
Vincent Sanders
38cb39339a
move filename_from_path and path_add_part into gui operation tables
2014-01-16 00:01:25 +00:00
Vincent Sanders
bd065d4a43
split browser gui operations up
2014-01-15 19:37:05 +00:00
Vincent Sanders
0075eab194
move remaining gui operations to table
2014-01-14 23:31:54 +00:00
Vincent Sanders
8dfe225153
move download operations to download table
2014-01-14 16:04:02 +00:00
Vincent Sanders
d18c8ed452
move teh final optional window operations into the table
2014-01-13 22:54:19 +00:00
Vincent Sanders
e82d83f184
move four more optional window operations to table
2014-01-13 14:51:27 +00:00
Vincent Sanders
d70e371cd9
move two more mandantory window operations to table
2014-01-13 11:38:35 +00:00
Vincent Sanders
7227c29bba
move window scroll getter and setter into operations table
2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb
move mandantory window update and redraw operations into table
2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77
move more optional window operations into table including removing unused hide_pointer operation altogether
2014-01-12 22:55:26 +00:00
Vincent Sanders
b7736bae2f
split gui operations into core and window and move more operations into tables
2014-01-12 17:07:34 +00:00
Vincent Sanders
56bb9582b1
move set title, set url, start and stop throbber window operations to gui table
2014-01-12 10:27:41 +00:00
Vincent Sanders
c8496df3df
move window creation and destruction into table
2014-01-11 22:34:12 +00:00
Vincent Sanders
d3c392c3d3
Initial conversion of netsurf gui to callback vtable
2014-01-11 14:20:30 +00:00
Chris Young
a856439afb
Re-add proper notification of ability to close public screen.
2014-01-10 20:46:58 +00:00
Chris Young
78e8077a5a
Re-enable the RAmiga-U shortcut to activate the URL bar, now it is safe to do so.
2014-01-10 20:35:49 +00:00
Chris Young
9fd344172a
Enforce the use of popupmenu.library >=53.11
...
Older versions have a dangerous bug which manifests itself as a deadlock or a crash.
2014-01-10 20:32:20 +00:00
Chris Young
ef76dd468d
Tentatively enable AmigaGuide help
2014-01-10 20:03:22 +00:00
Chris Young
be6f4d3997
Probably shouldn't override thumbnail source alpha
2014-01-06 18:37:43 +00:00
Chris Young
870c709684
Get Composite() to befriend the screen's BitMap to ensure they are on the same graphics board. This should fix the slowness when multiple graphics cards are installed.
2014-01-06 18:29:05 +00:00
Chris Young
4eff5ddf71
Add file upload request on click
2014-01-05 23:04:28 +00:00
Chris Young
b2fff176df
This shouldn't be UTF-8
2014-01-05 22:55:34 +00:00
Daniel Silverstone
692d4a328c
Fix some log statements
2014-01-05 17:22:30 +00:00
Daniel Silverstone
9a9cb399f9
Merge branch 'rjek/click-file-gadget'
2014-01-05 17:03:17 +00:00
Rob Kendrick
550c8cd73c
Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work.
2014-01-05 16:45:32 +00:00
Rob Kendrick
d8ad3b8e78
Add new gui entry point for file open dialogue requests
2014-01-05 16:01:03 +00:00
Chris Young
b80da8bf0b
Add Javascript build ability to cross-compiled target
2014-01-05 12:13:57 +00:00
Vincent Sanders
f7916866e3
remove all references to using libMNG
2014-01-04 17:07:11 +00:00
Chris Young
845923adfc
Make the new tab button also use the new blank tab function. This fixes bug 2034
2014-01-03 18:20:47 +00:00
Chris Young
c25728b011
Move new blank tab into own function
2014-01-03 18:17:25 +00:00
Chris Young
8d82cd9963
Attempt fix/workaround of bug #2034
2014-01-03 00:26:45 +00:00
Chris Young
9bd355e30c
Convert download filename to local charset
2014-01-02 18:50:59 +00:00
Chris Young
8b6874effd
Revert "Think this needs converting back to local charset here otherwise non-ASCII file uploads don't work."
...
This reverts commit 2aacb411fc
.
2013-12-31 23:37:28 +00:00
Chris Young
2aacb411fc
Think this needs converting back to local charset here otherwise non-ASCII file uploads don't work.
2013-12-31 22:40:35 +00:00
Chris Young
5867ddc038
Minor formatting change
2013-12-15 20:43:56 +00:00
Chris Young
24e5b2ec16
Create a layout group for favicon, URL and the new favourites star. This makes the balance bar work again.
2013-11-24 14:37:44 +00:00
Chris Young
8f6e17d405
Update favourites button when switching tabs
2013-11-23 13:46:57 +00:00
Chris Young
46a88fe8f4
Create the BitMapObjects and just switch between them.
...
Fix the themes so the images are correct.
2013-11-23 13:11:30 +00:00
Chris Young
616a9b0652
Make hotlist button do something
2013-11-23 12:34:00 +00:00
Chris Young
50e038538a
Add hotlist favourites star button
2013-11-23 12:23:56 +00:00
Chris Young
240f6159f8
Add the ability to add folders and icons from the hotlist window's menu
2013-11-17 16:33:06 +00:00
Chris Young
5adb1fb1dd
Workaround for AM_EXECUTE not supporting PROGDIR:
2013-11-10 12:49:46 +00:00
Chris Young
c781ca27b7
Add an implied PROGDIR: to the ARexx dir name for scanning, as executing the script with PROGDIR: in it doesn't work.
2013-11-09 16:38:24 +00:00
Chris Young
5795c40e67
n an AISS icon for default hotlist dir
2013-11-09 15:36:26 +00:00
Chris Young
7c4668aafa
Use CI build number as the revision number of the internal version string when available.
2013-11-04 19:50:07 +00:00
Chris Young
ea64098699
Set ARexx default dir to PROGDIR:Rexx so it works no matter what the current dir is.
2013-11-04 19:29:54 +00:00
Chris Young
b50743a253
tidy-up
2013-10-28 21:30:43 +00:00
Chris Young
d3aac06e3f
Correct some more offsets
2013-10-26 19:47:31 +01:00
Chris Young
ef24e5ce9e
Fix bitmap offsets in direct render mode by forcing use of BltBitMap
2013-10-26 19:44:21 +01:00
Chris Young
f6b1227c8d
Allow direct render of treeview for debug purposes only.
2013-10-26 17:08:24 +01:00
Chris Young
1023fbf927
Create the hotlist menu/toolbar folders if they don't exist.
2013-10-26 16:43:36 +01:00
Vincent Sanders
f29306cc9a
improve gtk source save to use gtk overwrite protection feature coverity 1109873
2013-10-25 21:25:56 +01:00
Chris Young
3a35294a0e
Fix adding to hotlist from context menu
2013-10-13 12:01:11 +01:00
Chris Young
56723e5898
Use LIB_IS_AT_LEAST macro
2013-10-13 11:52:11 +01:00
Chris Young
8b9963e7ef
Use picture.datatype's PromoteMask function so we get an alpha channel for non-alpha bitmaps loaded through datatypes.library
2013-10-12 15:43:52 +01:00
Chris Young
efc2d5e03b
Delay the busy pointer again on intuition v53+
2013-10-12 14:27:16 +01:00
Chris Young
9786cc2417
Fix scaled bitmaps
2013-10-12 14:14:59 +01:00
Chris Young
20dabacb25
Correct some memory allocation parameters
2013-10-12 13:43:33 +01:00
Chris Young
ade86e496e
Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary.
2013-10-12 13:11:13 +01:00
Chris Young
6ea52d0d9f
Don't change the setting, just in case NetSurf is being used from two different OS installs on the same computer.
2013-10-12 11:55:07 +01:00
Chris Young
67f957df39
Force usage of OS pointers for OS4.1, there's no reason to use custom ones now.
2013-10-12 11:52:08 +01:00
Chris Young
5d2f4b0b98
Use all the built-in mouse pointers on OS4.1
2013-10-12 11:26:34 +01:00
Chris Young
af2c37167b
application.library fix for new SDK. Note that:
...
* application.library functionality will no longer be available on OS4.0, however that only extends to the Docky icon as notifications weren't supported anyway.
* CI builds may crash until the toolchain is updated.
2013-10-12 10:26:28 +01:00
Chris Young
69e264e4ec
more tidy-up
2013-10-05 11:28:33 +01:00
Chris Young
9ff65d7426
tidy up
2013-10-05 11:27:05 +01:00
Chris Young
a06cb9f05c
If bitmap is opaque, ensure we override the alpha channel as it may contain nonsense.
2013-10-05 11:18:27 +01:00
Chris Young
bdf76965b4
Add Undo/Redo to Amiga version. NB: Clear selection no longer has a shortcut key.
2013-10-01 18:51:27 +01:00
Chris Young
704e5cc839
Use a for loop instead
2013-09-28 16:03:24 +01:00
Chris Young
bd85c009d3
Ensure the glyph array is NULLed before use, and that we don't attempt to free NULL entries.
2013-09-28 15:37:09 +01:00
Chris Young
87da43d373
Extra logging
2013-09-28 14:58:03 +01:00
Chris Young
fda18c4977
less over-zealous code removal
2013-09-15 00:05:52 +01:00
Chris Young
04a118c415
treeview deferred redraw
2013-09-14 23:52:31 +01:00
Chris Young
c32c68f4ed
Support drag for global history too
2013-09-14 23:52:30 +01:00
Chris Young
250338ba7c
Re-implement dragging to/from treeview (not working)
2013-09-14 23:52:28 +01:00
Chris Young
653cf8fa1f
Use a simulated keypress rather than a simulated mouseclick
2013-09-12 17:12:45 +01:00
Chris Young
69b0350a3c
Make the hotlist toolbar work
2013-09-12 12:35:55 +01:00
Chris Young
0bc226def9
Make hotlist toolbar use the new functions
2013-09-12 12:29:47 +01:00
Chris Young
ccdaabfa38
Pass generic userdata
2013-09-12 12:15:00 +01:00
Chris Young
fda365fb2d
Move the hotlist menu creator into hotlist.c and make it more generic
2013-09-12 12:08:50 +01:00
Chris Young
177b46e873
Add hotlist menu items at the correct offset
2013-09-12 11:27:45 +01:00
Chris Young
ffb024f66d
Remove context menu some more as it's irrepairably broken anyway
2013-09-12 11:10:37 +01:00
Chris Young
667dc146ae
Fix buttons in the least convaluted way possible
2013-09-12 11:09:05 +01:00
Chris Young
5b457faf5f
Remove some very useful drag stuff that doesn't seem to yet have an equivalalent in the new treeveiw
2013-09-12 11:04:22 +01:00
Chris Young
0e5667e28e
Botched fixes just to get it to compile again
2013-09-12 10:58:19 +01:00
Chris Young
9af55136d0
Disable the treeview context menu for now, as it needs fixing.
2013-09-12 10:51:39 +01:00
Chris Young
9871ca4a2d
make the scroll bar disappear if size is -1 (untested)
2013-09-05 20:37:39 +01:00
Chris Young
9c49eb3ccc
Remove unused. NB: new routine untested
2013-09-05 20:27:39 +01:00
Chris Young
454fc8dbaa
Use the nsurl directly
2013-09-05 20:26:28 +01:00
Chris Young
f59a93f5ee
Attempt re-write of Hotlist menu creation
2013-09-05 20:24:01 +01:00
Michael Drake
bd38b712c6
Avoid an error.
2013-09-03 16:32:48 +01:00
Michael Drake
f2b4a7a997
Port to new recursive expand/contract functions.
2013-09-03 12:36:55 +01:00
Michael Drake
cf8ffa412a
Remove old hotlist, cookies, and history_global_core modules.
...
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
e9f65ff9cb
Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions.
2013-09-02 18:57:43 +01:00
Michael Drake
4473f4b8a8
Remove tree icon_name globals from all the front ends.
2013-09-02 16:39:46 +01:00
Michael Drake
49c7994d05
Remove bulk of old treeview implementation.
2013-09-02 16:19:16 +01:00
Michael Drake
46e569c481
Use TREE_HOTLIST directly.
2013-09-02 14:42:53 +01:00
Michael Drake
9f35fd3fee
Use TREE_HISTORY directly.
2013-09-02 14:39:04 +01:00
Michael Drake
128fdbec43
Select TREE_COOKIES directly.
2013-09-02 14:33:53 +01:00
Michael Drake
5c7ca39ada
Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken.
2013-09-02 14:17:09 +01:00
Chris Young
011ba501a7
Make some global DrawInfo local to the function it is needed in.
2013-08-20 19:43:13 +01:00
Chris Young
1761d390de
Slightly better layouting
2013-08-20 19:39:18 +01:00
Chris Young
b686daea8c
Squash warning
2013-08-18 17:28:40 +01:00
Chris Young
d6e975ce50
Merge branch 'chris/gadtools-53-6'
2013-08-18 15:22:31 +01:00
Chris Young
1238afdfc8
Remove unused
2013-08-18 15:20:39 +01:00
Chris Young
4a70c21215
Construct the menu in a new function, which also does basic layouting of any image menus.
2013-08-18 15:15:12 +01:00
Michael Drake
2dc99f9ae7
Allow the other front ends to use the hotlist test too.
2013-08-16 08:25:25 +01:00
Chris Young
acdf478d3f
Sub-menu arrows
2013-08-16 00:07:20 +01:00
Chris Young
33b8644ec2
Another attempt at creating image menus
2013-08-15 20:10:55 +01:00
Chris Young
b11b18f258
Correct path
2013-08-15 18:21:12 +01:00
Chris Young
fd206d98e9
Add missing icons to package
2013-08-15 18:09:05 +01:00
Chris Young
03328e23e7
Non-working AISS icon redirect
2013-08-15 18:02:04 +01:00
Michael Drake
65a94d5b02
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-08-13 14:11:34 +01:00
Michael Drake
4a01ef9e7a
Avoid sslcert_get_tree_flags.
2013-08-13 13:48:53 +01:00
Michael Drake
eaae716989
Move old hotlist out of the way.
2013-08-13 12:41:04 +01:00
Michael Drake
40e4530433
Use new SSL certificate viewer.
2013-08-12 11:44:36 +01:00
Chris Young
f4d04cefc0
Revert nsfont_split back to how it was before I started meddling with it.
2013-08-03 12:54:50 +01:00
Chris Young
5382387c7d
Ensure we get the correct Messages files
2013-07-27 15:24:45 +01:00
Chris Young
2381ee1f7e
Remove rogue inc
2013-07-27 14:58:21 +01:00
Chris Young
344bcc87ae
Show iconified windows when quitting (horrible flickery workaround for a recoverable alert)
2013-07-27 14:46:20 +01:00
Chris Young
7d9af63c16
Localise the description, mark it Amiga-only
2013-07-27 14:25:07 +01:00
Chris Young
2d33665b69
Remove any AppIcons on quit
2013-07-27 14:19:51 +01:00
Chris Young
17c4201fb8
When receiving a "To Front" message, don't open a window if none are active.
2013-07-27 14:14:26 +01:00
Chris Young
ff78c7cf2e
Missed an ellipsis removal. Split this one out as RISC OS uses it.
2013-07-27 14:13:03 +01:00