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
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
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
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
1761d390de
Slightly better layouting
2013-08-20 19:39:18 +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
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
Michael Drake
65a94d5b02
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-08-13 14:11:34 +01:00
Michael Drake
eaae716989
Move old hotlist out of the way.
2013-08-13 12:41:04 +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
Chris Young
0f79676d85
Re-arrange menu to better conform to the Style Guide
2013-07-19 17:42:25 +01:00
Chris Young
9b54d6bb9c
Remove PDF menu item if built without PDF export
2013-06-08 17:10:30 +01:00
Chris Young
4bd65d429c
Revert gadtools 53.5 change
2013-06-06 20:13:23 +01:00
Chris Young
864762cbe6
Merge branch 'chris/gadtools-53-5'
2013-05-31 19:59:58 +01:00
Vincent Sanders
a92e5930ff
fixup issues with new options API merge
2013-05-28 16:44:46 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Chris Young
b66775dc53
Prevent ASL from causing delayed menus
2013-05-25 13:59:42 +01:00
Chris Young
fe2a80fe10
If using image menus, change the type to reflect that
2013-05-19 10:09:40 +01:00
Chris Young
ddbc8c7f63
Fix build
2013-05-18 16:55:37 +01:00
Chris Young
2bce0185fe
Create menus with icons when using gadtools 53.5+ (hotlist only currently)
2013-05-18 16:50:39 +01:00
Chris Young
f16f2f2904
Get hotlist icons to use in menu creation
2013-05-18 16:39:29 +01:00
Chris Young
c10a4321f2
Bring ARexx items to new alloc function
2013-05-18 16:28:10 +01:00
Chris Young
051fce07d9
Move hotlist entries to new allocation function
2013-05-18 16:11:49 +01:00
Chris Young
9c49d5f090
Menu refactor
2013-05-18 15:34:25 +01:00
Chris Young
94205ed48c
more futile attempts to get the copy option to behave
2013-05-12 20:36:48 +01:00
Chris Young
a752390abe
attempt fix edit menu item disable
2013-05-12 20:36:44 +01:00
Michael Drake
631265ef6b
Front ends have no reason to include desktop/selection.h now.
2013-05-10 12:16:05 +01:00
Chris Young
6686d9dad8
Schedule redraws from local history too, hide ami_do_redraw and friends as only gui.c needs to call those directly now
2013-04-04 19:46:33 +01:00
Chris Young
4d9b674997
Remove struct selection from ami_file_save and anywhere that feeds into it
2013-02-22 19:02:58 +00:00
Michael Drake
8195113196
More fixup for new core selection treatment.
2013-02-22 14:08:24 +00:00
Chris Young
5beca9d71f
Remove spurious error message after closing About
2013-02-18 18:39:31 +00:00
Vincent Sanders
0eb0798873
fix errors introduced in refactor
2013-02-18 12:24:49 +00:00
Vincent Sanders
529ca251fc
rename flags for browser_window routines to be shorter
2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d
change browser_window_create and refactor all callsites
2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7
browser_window_navigate refactor
2013-02-18 11:23:27 +00:00
Chris Young
cc321d5f63
Track the mouse pointer on a per-window basis
2013-01-06 00:21:15 +00:00
Chris Young
07024b05c4
Change the mouse pointer back to what it was (and what NetSurf thinks it is) instead of to the default pointer. Additionally don't use ami_update_pointer for treeview windows as AmigaOS has a pointer setting per window, but NetSurf is only storing the current one as a single global variable.
2013-01-03 19:53:20 +00:00
Chris Young
625012a869
Set the busy pointer during redraws
2013-01-03 19:26:51 +00:00
Chris Young
8e416ec226
Ensure the menu checked state remain in sync with reality
2012-12-15 15:39:09 +00:00
Chris Young
79b1496d30
Update menu checked state
2012-12-15 15:30:26 +00:00
Chris Young
2a42b028b2
Check the checked state of the menu items a more correct way
2012-12-15 14:39:01 +00:00
Chris Young
8c74aeb6e1
Add some options to the browser menu
2012-12-15 14:21:15 +00:00
Chris Young
ea5096fb8d
These values shouldn't be declared static
2012-12-15 13:43:05 +00:00
Chris Young
23dc635e1a
Make hotlist toolbar work and update (only updates on hotlist window close currently)
2012-11-29 22:13:42 +00:00
Chris Young
efbfbbc967
Fix a serious crash that occurs if the underlying window is closed during a hook function invoked from it.
2012-10-31 20:50:22 +00:00
Michael Drake
29356734eb
Include desktop/browser_private.h.
2012-08-22 13:16:20 +01:00
Chris Young
21caff6365
Fix build date display
2012-08-15 20:18:00 +01:00
Chris Young
20e99e4f20
Remove visible and invalid uses of git revision hashes. Anybody who needs to know hich revision it is can check about:testament, to everybody else the string is meaningless.
2012-07-01 16:40:24 +01:00
Chris Young
286a128e1b
Change menus so menu functions are called internally by window.class
...
(RA_HandleInput). This makes menu selection more reliable and stops us
missing menu events which appeared to be getting lost within the
HANDLEINPUT method.
svn path=/trunk/netsurf/; revision=13898
2012-04-29 15:59:37 +00:00
Chris Young
38b310ad5f
Move user-specifics out of Resources
...
svn path=/trunk/netsurf/; revision=13768
2012-03-28 22:17:27 +00:00
Vincent Sanders
1490b52a6b
NetSurf options rework (a=vince r=daniels,jmb)
...
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Chris Young
956cb41f7c
Disable print menu option
...
svn path=/trunk/netsurf/; revision=13497
2012-02-28 18:51:26 +00:00
John Mark Bell
f2993e6ed0
content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
...
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Chris Young
a98fb7c4dd
Reimplement the previous hotlist menu refresh code, as the bug causing the previous
...
problems was fixed ages ago. Make the timing configurable for now but default to off.
svn path=/trunk/netsurf/; revision=13135
2011-11-07 18:51:08 +00:00
Chris Young
c1afe81e06
Complete extended context menus
...
svn path=/trunk/netsurf/; revision=13076
2011-10-23 13:15:44 +00:00
Chris Young
c3fafd63f8
Move all main file req save ops to file.c
...
svn path=/trunk/netsurf/; revision=13064
2011-10-15 14:55:03 +00:00
Chris Young
ad8a965548
Start to consolidate user file operation into one file
...
svn path=/trunk/netsurf/; revision=13062
2011-10-15 14:09:35 +00:00
Chris Young
39b490d1f0
Add favicon to iconification icon
...
svn path=/trunk/netsurf/; revision=12995
2011-10-07 23:12:12 +00:00
Michael Drake
e52aaecd7a
Fix up for nsurl changes. Untested.
...
svn path=/trunk/netsurf/; revision=12928
2011-10-03 16:41:55 +00:00
Chris Young
330227d87a
Remove more checks for browser_window_type
...
svn path=/trunk/netsurf/; revision=12719
2011-09-04 22:35:11 +00:00
Chris Young
985bf9e191
Remove browser_window type from ami_create_menu()
...
Remove DrawInfo too, as only there for image menus which never worked.
svn path=/trunk/netsurf/; revision=12718
2011-09-04 22:26:24 +00:00
John Mark Bell
4b189ab0bc
Squash warnings resulting from mismatched type expectations
...
svn path=/trunk/netsurf/; revision=12701
2011-09-02 22:09:23 +00:00
Chris Young
7f6b694732
Show existing file size when file already exists on download
...
svn path=/trunk/netsurf/; revision=12618
2011-07-23 15:19:27 +00:00
Chris Young
cd21f4035f
Fix ASL hook function
...
svn path=/trunk/netsurf/; revision=12615
2011-07-23 14:05:08 +00:00
Michael Drake
3651831963
Fix up Amiga front end.
...
svn path=/trunk/netsurf/; revision=12601
2011-07-13 13:38:38 +00:00
Chris Young
b415e6dabc
Update to new API
...
svn path=/trunk/netsurf/; revision=12557
2011-07-02 17:41:25 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Chris Young
14d6826685
Implement ask overwrite
...
svn path=/trunk/netsurf/; revision=12135
2011-03-26 10:33:58 +00:00
Chris Young
1c3ff8db7c
Fix crash when adding to hotlist
...
svn path=/trunk/netsurf/; revision=12129
2011-03-24 19:34:59 +00:00
Chris Young
bc34303758
Localise About req buttons (OK/Credits/Licence)
...
svn path=/trunk/netsurf/; revision=12078
2011-03-16 19:23:24 +00:00
Chris Young
10a70af7be
Add Credits and Licence buttons to About requester.
...
svn path=/trunk/netsurf/; revision=12031
2011-03-13 18:51:25 +00:00
Chris Young
5ac45472c7
Fix broken CONTENT_PLUGIN API.
...
Add a default content handler for Amiga using the plugin interface, which passes
unknown files (currently images only) through DataTypes.
svn path=/trunk/netsurf/; revision=11924
2011-03-06 13:58:02 +00:00
Chris Young
912b3bcde8
Enable selection of rendering engine (graphics.library, Cairo) at runtime, if we're
...
compiled with Cairo support.
svn path=/trunk/netsurf/; revision=11912
2011-03-05 11:42:31 +00:00
Chris Young
46915c6b7b
Brand new windows should not be cloning an existing browser_window or they pick up old
...
local history.
Brand new tabs should not either but that appears to be unavoidable at present.
svn path=/trunk/netsurf/; revision=11872
2011-03-01 19:09:57 +00:00
Chris Young
eb338c3c89
Updates required to build with previous commit
...
svn path=/trunk/netsurf/; revision=11780
2011-02-23 23:15:12 +00:00
Chris Young
7d03e1f969
New tabs should show the homepage
...
svn path=/trunk/netsurf/; revision=11701
2011-02-16 19:14:48 +00:00
John Mark Bell
d83f683e96
Sprinkle some #ifdef __amigaos4__ around
...
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
Chris Young
078ff2fd51
Move drag icon stuff to own file; fix warnings
...
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young
409b3ef879
Fix menu shortcuts
...
svn path=/trunk/netsurf/; revision=10870
2010-10-07 22:38:27 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Chris Young
fb75227b77
Simplify detection of valid filetypes for ASL
...
svn path=/trunk/netsurf/; revision=10861
2010-10-03 22:34:29 +00:00
Chris Young
c46e0e6015
Ensure kiosk_mode and frame windows are (a) handled the same wrt menus and (b) not
...
trying to manipulate non-existant menus
svn path=/trunk/netsurf/; revision=10855
2010-09-28 18:03:03 +00:00
Chris Young
b3a3988ff0
Add startup and shutdown ARexx scripts (default to startup.nsrx and shutdown.nsrx)
...
Remove PROGDIR: from arexx_dir default as AM_EXECUTE can't find files in PROGDIR:
svn path=/trunk/netsurf/; revision=10719
2010-08-28 23:46:08 +00:00
Chris Young
791bc50789
Fix some edit menu probs
...
svn path=/trunk/netsurf/; revision=10684
2010-08-08 09:23:34 +00:00
Chris Young
da25adcdfb
ami_easy_clipboard just got easier, and a buffer overrun/memory leak got fixed
...
svn path=/trunk/netsurf/; revision=10662
2010-07-24 20:18:56 +00:00
Chris Young
f7e3254798
Fix menu disable on tab switch and Cut
...
svn path=/trunk/netsurf/; revision=10661
2010-07-24 19:57:27 +00:00
Chris Young
004aee8281
Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
...
selections within NetSurf window to text fields (does not work across windows).
todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back
svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Chris Young
90079085bb
Ensure menu state is correct when switching tabs
...
svn path=/trunk/netsurf/; revision=10476
2010-04-24 19:05:53 +00:00
Chris Young
c1aaeae9b7
Correct indices for disabled items
...
svn path=/trunk/netsurf/; revision=10455
2010-04-22 18:32:59 +00:00
Chris Young
5bb5cedec5
Changes required for new-cache
...
svn path=/trunk/netsurf/; revision=10186
2010-03-28 15:51:05 +00:00
Chris Young
e1c41ba712
New window/tab now opens a blank window/tab rather than one showing the current URL
...
svn path=/trunk/netsurf/; revision=10051
2010-02-14 12:51:30 +00:00
Chris Young
7014a8d249
Fix logic
...
svn path=/trunk/netsurf/; revision=9796
2010-01-08 21:44:12 +00:00
Chris Young
836a4cec67
More useful build information, ditch SVN info if built with NDEBUG.
...
svn path=/trunk/netsurf/; revision=9795
2010-01-08 21:42:38 +00:00