Vincent Sanders
c105738fa3
Change LOG() macro to be varadic
...
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.
The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.
A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Chris Young
90d88f32d1
Expand ARexx script locations on NetSurf's process.
...
This resolves a problem with scripts sometimes not running when they are relative to PROGDIR: and stops PROGDIR: being requested under OS3.
Fixes #2271
2015-02-21 12:21:14 +00:00
Chris Young
b89fb480db
Debug logging
2015-02-15 11:29:03 +00:00
Chris Young
3a5907c1c4
Move everything else over to using the class pointers.
...
Exception: popupmenu.class is still using old _GetClass functions.
2015-01-26 00:05:01 +00:00
Chris Young
ae012398b0
more easy os3 fixes
2015-01-11 00:07:11 +00:00
Chris Young
80558b3116
Use a function to create ready-cleared memory
2015-01-10 23:10:05 +00:00
Michael Drake
b7b1bfe548
Don't include browser_private.h
2014-12-04 12:02:13 +00:00
Michael Drake
c5a8620ef9
Remove what seems a redundant check for bw->download.
2014-12-04 12:01:22 +00:00
Michael Drake
84261a8199
Use browser_window_get_url instead of poking inside bw at contents.
2014-12-04 11:59:59 +00:00
Michael Drake
c4e37fb03d
Use API to get content from browser_window.
2014-12-04 11:58:49 +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
6a891b47c0
Fix amiga/arexx.c for new structure layout
2014-11-16 14:47:26 +00:00
Chris Young
e8126d2ee9
Fix warnings
2014-11-09 00:37:35 +00:00
Chris Young
0c77d85f89
Make window counting a generic function
2014-10-26 15:41:44 +00:00
Vincent Sanders
0b64df140c
Update amiga frontend for split operation table header changes
2014-10-16 22:33:44 +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
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
Michael Drake
49bed056dd
Make browser_window_navigate (un)verifiable flag match browser_window_create.
2014-02-10 22:40:04 +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
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
6549c06683
Fix ARexx OPEN NEWTAB
2013-06-18 20:13:59 +01:00
Chris Young
8b586b2d67
Fix a crash when edit settings if NetSurf is running on the WB screen
...
Rename use_pubscreen to make it clearer what the option is for
2013-05-31 23:25:05 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01: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
1fd2e1effa
Add ARexx commands HOTLIST OPEN and HOTLIST CLOSE
2012-10-14 23:10:09 +01:00
Michael Drake
29356734eb
Include desktop/browser_private.h.
2012-08-22 13:16:20 +01: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
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
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
4e65935385
Fix an issue with GETTITLE returning an incorrect string on occasion
...
Fix warnings
svn path=/trunk/netsurf/; revision=12566
2011-07-03 15:01:56 +00:00
Chris Young
6b3955404f
Avoid compiling arexx.c more than necessary
...
svn path=/trunk/netsurf/; revision=12465
2011-06-05 12:37:44 +00:00
Chris Young
ed00b6a1e9
Make GUI update when back/forward commands used from ARexx
...
svn path=/trunk/netsurf/; revision=12455
2011-06-03 18:20:56 +00:00
Chris Young
14d6826685
Implement ask overwrite
...
svn path=/trunk/netsurf/; revision=12135
2011-03-26 10:33:58 +00:00
Chris Young
c615507e15
Set version using testament.h instead of old ARexx script
...
svn path=/trunk/netsurf/; revision=12028
2011-03-13 17:32:00 +00:00
John Mark Bell
625b59f61a
First pass of AmigaOS 3 compatibility
...
svn path=/trunk/netsurf/; revision=11155
2010-12-30 00:53:11 +00:00
Chris Young
af36d00066
Alias W for WINDOW and T for TAB.
...
Add documentation on ARexx startup/shutdown scripts
svn path=/trunk/netsurf/; revision=10720
2010-08-28 23:48:33 +00:00
Chris Young
890e7b2b46
Add ARexx commands CLOSE (close window/tab) and ACTIVE (current window/tab number to
...
pass to other ARexx commands)
Add CloseTabs.nsrx script to close all tabs in the current window except the active
one
svn path=/trunk/netsurf/; revision=10718
2010-08-28 22:44:35 +00:00
Chris Young
d5b8cf89da
Ensure RC is 0 unless we actually have a fatal error.
...
svn path=/trunk/netsurf/; revision=10659
2010-07-23 17:59:46 +00:00
Chris Young
584cd950be
Allow targetting any window/tab with ARexx commands. Adds new command WINDOWS to find
...
out the number of windows and tabs open. ShowTitles.nsrx is an example of how to use
the new functionality.
svn path=/trunk/netsurf/; revision=10656
2010-07-20 17:20:16 +00:00
Chris Young
1c48e85ce9
Add commands BACK, FORWARD, HOME and RELOAD to correspond with the buttons on the GUI.
...
svn path=/trunk/netsurf/; revision=10628
2010-07-11 15:34:35 +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
cf1d796491
Added application.library messages New Doc and Open Doc.
...
Added option_startup_no_window to allow NetSurf to be opened without an initial
browser window (unless a URL is specified on the command line or by extended
selection)
Provision for option_close_no_quit for NetSurf to stay in memory when all browser
windows are closed (not implemented yet)
svn path=/trunk/netsurf/; revision=9600
2009-09-28 22:17:09 +00:00
Chris Young
d90e784ab4
Add GETSCREENNAME command
...
svn path=/trunk/netsurf/; revision=8303
2009-07-04 12:16:22 +00:00
Chris Young
9f4851d288
Fix ARexx download queue - GummiSurf now works, and manual ARexx-initiated downloads
...
will be processed in turn rather than simultaneously.
svn path=/trunk/netsurf/; revision=7075
2009-04-14 18:51:10 +00:00