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