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
Chris Young
8a77de8377
Save favicon as part of icon for save_complete drawers and PDFs
...
svn path=/trunk/netsurf/; revision=9744
2009-12-19 15:57:53 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
Chris Young
dcbe08d458
PageUp/Down, Home/End etc page scrolling now working.
...
Most menu shortcuts now available even when the pointer is hovering over the browser
window (menu disabled mode)
RAmiga-R (reload page) and RAmiga-U (activate URL bar) available from keyboard
shortcuts but not from the menu.
This fixes unsat bug #81
svn path=/trunk/netsurf/; revision=9660
2009-11-03 23:17:57 +00:00
Chris Young
019eff10c1
Amiga print UI
...
svn path=/trunk/netsurf/; revision=9655
2009-11-01 14:53:04 +00:00
Chris Young
12ac8eb215
Add options for "no quit on last window close" (disabled - not implemented) and
...
"no window on startup"
svn path=/trunk/netsurf/; revision=9601
2009-09-29 18:24:19 +00:00
Chris Young
06107bf050
Mostly working scale. Fast scrolling doesn't work when scaled, and neither does
...
updating boxes (GIF anims etc)
svn path=/trunk/netsurf/; revision=9513
2009-08-30 21:43:14 +00:00
Chris Young
3c03dd2d99
Remove the hook function, printing now works correctly (at least with the FILE driver)
...
svn path=/trunk/netsurf/; revision=9412
2009-08-23 16:40:28 +00:00
Chris Young
3295d71a2f
First attempt at Amiga printing support. Doesn't quite work - a column on the left
...
will print, but the rest of the page is an unexpected pastel pink.
svn path=/trunk/netsurf/; revision=9410
2009-08-23 15:59:41 +00:00
Chris Young
e57eaed1ad
Give "Save as" and "Save as..." different identifiers. Thanks to Samir Hawamdeh for
...
the heads-up
svn path=/trunk/netsurf/; revision=9377
2009-08-20 17:20:33 +00:00
Chris Young
e616704164
Completed Amiga preferences GUI.
...
svn path=/trunk/netsurf/; revision=8065
2009-06-27 16:15:42 +00:00
Chris Young
040da4cf7b
Amiga Options GUI template code and a bonus "redraw" option in the menu
...
svn path=/trunk/netsurf/; revision=7900
2009-06-20 22:29:43 +00:00
Chris Young
6f120338ed
Add ability to copy SVGs to the clipboard and save in IFF DR2D format.
...
svn path=/trunk/netsurf/; revision=7523
2009-05-19 07:23:56 +00:00
Chris Young
47fa825ae0
Add Save as IFF to main menus
...
Disable menu items that aren't relevant for current content
svn path=/trunk/netsurf/; revision=7521
2009-05-17 10:40:42 +00:00
Chris Young
a3c357f4e6
Allow Copy menu to copy the image currently displayed, if we aren't displaying text
...
Fix some warnings
svn path=/trunk/netsurf/; revision=7520
2009-05-17 09:55:28 +00:00
Chris Young
f648479aec
Access Resources relative to program directory rather than current directory.
...
svn path=/trunk/netsurf/; revision=6795
2009-03-17 21:25:20 +00:00
Chris Young
f6951c0d51
Mostly-working local history window
...
svn path=/trunk/netsurf/; revision=6733
2009-03-08 16:24:52 +00:00
Chris Young
cbae6a91dd
Stop local history from crashing, display mostly works (no thumbnails and offset wrong
...
to window), no event handling other than closing the window.
svn path=/trunk/netsurf/; revision=6730
2009-03-08 12:52:44 +00:00
Chris Young
33c48cfcd9
Start of local history window in Amiga build; doesn't work yet
...
svn path=/trunk/netsurf/; revision=6727
2009-03-07 20:52:08 +00:00
Chris Young
4c4d574e76
Show which build we are using, modify install script to give an option of which build
...
needs to be installed, and do date-compare when copying shared objects if they have no
version string.
svn path=/trunk/netsurf/; revision=6590
2009-02-21 15:53:04 +00:00
John Tytgat
57124b7f92
Unexport pdf_scale variable (use pdf_set_scale to set it) and initialize it to DEFAULT_EXPORT_SCALE.
...
svn path=/trunk/netsurf/; revision=6350
2009-02-02 00:22:44 +00:00
Chris Young
fb0a2116a3
Change to use names instead of numbers for keypresses
...
Add missing keypresss
svn path=/trunk/netsurf/; revision=6328
2009-02-01 13:01:46 +00:00
Adrian Lees
f46dd78718
Next batch of menu changes; clarify some key presses
...
svn path=/trunk/netsurf/; revision=6327
2009-02-01 02:19:01 +00:00
John Tytgat
89cfc2f51b
This change belonged to r6323.
...
svn path=/trunk/netsurf/; revision=6324
2009-01-31 16:28:29 +00:00
Chris Young
ff6cfea10e
Saving hotlist immedaitely after adding now saves it to the correct file
...
svn path=/trunk/netsurf/; revision=6093
2009-01-16 19:16:32 +00:00
Chris Young
9a4175c4fa
Use an ASL requester allocated for saves (which defaults to option_download_dir when
...
first used and remembers the save location thereafter) for the save requesters.
svn path=/trunk/netsurf/; revision=6024
2009-01-10 21:26:22 +00:00
Chris Young
95575276b5
More changes for search function.
...
Open local file requester now has a hook which filters out files with MIME types that
NetSurf does not recognise.
svn path=/trunk/netsurf/; revision=5907
2008-12-13 23:23:24 +00:00
Chris Young
7c65316f44
Fixed an issue with hotlist items outside the menu folder being added to the menu
...
in some circumstances.
svn path=/trunk/netsurf/; revision=5791
2008-11-25 22:43:23 +00:00
Chris Young
d508def2d6
HTML files with an icon but no MIMETYPE tooltype were being picked up by the
...
simplehtml datatype. As I'm using dth_BaseName rather than dth_Name, they were being
tagged with the MIME type text/simplehtml. Have made an exception for this case to
translate it to text/html, may in the future consider whether using dth_Name may be
better.
Minor adjustments to the local file requester to prevent .info files from being
displayed.
svn path=/trunk/netsurf/; revision=5711
2008-11-16 23:29:40 +00:00
Chris Young
52eb07dc5b
Sparse "About" requester - version number, compile date and URL only.
...
svn path=/trunk/netsurf/; revision=5697
2008-11-15 23:54:09 +00:00
Chris Young
d6874d05b1
Allow opening of local files from anywhere, not just the parent of the current dir.
...
svn path=/trunk/netsurf/; revision=5695
2008-11-15 15:28:17 +00:00
Chris Young
834eb20101
AmigaOS implementation of complete page save.
...
svn path=/trunk/netsurf/; revision=5653
2008-11-08 23:08:55 +00:00
Chris Young
124899e5bc
ARexx menu with items populated from arexx_dir.
...
svn path=/trunk/netsurf/; revision=5632
2008-10-26 12:25:26 +00:00
Chris Young
52c57acc48
Folders in the Hotlist menu hierarchy with no child nodes will now be disabled in the
...
menu. Items named "--" will be converted to NM_BARLABEL.
svn path=/trunk/netsurf/; revision=5595
2008-10-18 15:13:18 +00:00
Chris Young
a6b42a06ff
Safer menu deletions; stop menus from appending to existing menu with each new window.
...
svn path=/trunk/netsurf/; revision=5578
2008-10-15 21:40:54 +00:00
Chris Young
1d8bbfae4c
Implemented the ability to add hotlist entries to the Hotlist menu. Modified the
...
default Hotlist links so they show up in the menu. Currently deleting items from the
menu is dangerous.
To add to the Hotlist menu, add a folder node called "Menu" to the root node of the
hotlist tree.
Items in this folder node up to a maximum (currently) of 40 items will be added to the
Hotlist menu, within the limits of the Intuition menu system.
Items in folders within the Menu folder node will be converted to subitems in the
menu.
Folder nodes with no entries and folder nodes at level 3 in the heirarchy will become
menu items with no action. Items deeper will not be included in the menu at all.
eg.
Root
|
+- Menu
|
+- Netsurf
| |
| +- NetSurf Homepage
| |
| +- More NetSurf links
| |
| +- NetSurf bugtracker
|
+- Google
Will look something like the following within the menu:
|NetSurf »| - |NetSurf Homepage |
|Google | |More NetSurf links|
svn path=/trunk/netsurf/; revision=5577
2008-10-14 22:43:02 +00:00
Chris Young
f1a06ac5d9
Various minor fixes for treeviews, history tree now populates.
...
svn path=/trunk/netsurf/; revision=5563
2008-10-13 18:00:44 +00:00
Chris Young
86042c61ea
Improved Amiga treeview support. Now creates trees for cookies and history (history
...
doesn't populate at the moment). Can add folders and edit titles in hotlist
treeviews, and delete entries in all treeviews.
svn path=/trunk/netsurf/; revision=5542
2008-10-11 21:38:04 +00:00
Chris Young
2808d77089
Full quit function and associated ARexx command (QUIT)
...
svn path=/trunk/netsurf/; revision=5498
2008-10-06 17:47:31 +00:00
Chris Young
be787cabb1
Closing entire windows instead of just tabs is now possible
...
svn path=/trunk/netsurf/; revision=5497
2008-10-06 07:07:33 +00:00
Chris Young
ec72e05bdc
AmigaOS tabs implementation.
...
Two new strings: NewTab, CloseTab
Two new options:
always_open_tabs indicates to open tabs instead of windows by default
new_tab_is_active makes any new tab the current one (default is to open tabs in
background)
svn path=/trunk/netsurf/; revision=5483
2008-10-05 13:17:18 +00:00
Chris Young
bd94b12422
Incomplete support for tabbed browsing.
...
svn path=/trunk/netsurf/; revision=5482
2008-10-04 23:29:17 +00:00
Chris Young
bc22f2e7d4
Treeview window event handling (currently just double-clicking hotlist items and
...
closing the window)
svn path=/trunk/netsurf/; revision=5453
2008-09-28 13:55:40 +00:00
Chris Young
1e1ff2b0b6
Amiga message additions/corrections
...
svn path=/trunk/netsurf/; revision=5358
2008-09-16 21:47:42 +00:00
Chris Young
eb67a135d1
Moved menu selection code to menu.c
...
svn path=/trunk/netsurf/; revision=5230
2008-09-03 22:02:41 +00:00
Chris Young
52e48260d3
Menu tidy-up, string correction and swap of Source and Text in the save/export menu
...
svn path=/trunk/netsurf/; revision=5224
2008-08-31 11:21:47 +00:00
Chris Young
74f9c0e075
Added PDF export to Amiga port.
...
svn path=/trunk/netsurf/; revision=5203
2008-08-26 01:20:01 +00:00
Chris Young
ab077d82dd
Moved Amiga menu code into separate file.
...
svn path=/trunk/netsurf/; revision=5199
2008-08-25 13:32:26 +00:00