Commit Graph

2321 Commits

Author SHA1 Message Date
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
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Chris Young
0a0e7867b9 Fix enable/disable of tab close option 2013-07-19 17:45:25 +01:00
Chris Young
0f79676d85 Re-arrange menu to better conform to the Style Guide 2013-07-19 17:42:25 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Chris Young
6358290e78 Correct the readme a bit 2013-06-22 13:17:33 +01:00
Chris Young
ba297a7179 Create a helper launch script, and make launch-handler use it 2013-06-22 13:16:15 +01:00
Chris Young
6549c06683 Fix ARexx OPEN NEWTAB 2013-06-18 20:13:59 +01:00
Chris Young
6c17aa78a7 Add proxy bypass option 2013-06-08 17:22:22 +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
f2a6d645ae If a new browser window opens, bring the screen NetSurf is running on to the front 2013-06-02 16:26:25 +01:00
Chris Young
f31ab148cb Better logging for resource searching 2013-06-02 16:07:59 +01:00
Chris Young
94dc0795c1 Ensure treeview gets a palette rather than the built-in defaults 2013-06-01 18:56:53 +01:00
Vincent Sanders
9bd2969876 amiga is the only user of the very odd usage of the options API 2013-06-01 16:09:26 +01:00
Chris Young
31e3b27fad Set redraw tile size to default on screen change 2013-06-01 15:37:26 +01:00
Chris Young
9ad5b98fcd Don't read the state of gadgets which don't exist 2013-06-01 15:31:39 +01:00
Chris Young
40682a899e Remove unneeded parameter 2013-06-01 15:27:29 +01:00
Chris Young
173bfe3d3d Fix the new prefs hook 2013-06-01 15:18:09 +01:00
Chris Young
8179e51a75 Set default colours when screen changes 2013-06-01 15:11:26 +01:00
Chris Young
fe78657b08 Use default macros for updating window size 2013-06-01 14:58:51 +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
Chris Young
864762cbe6 Merge branch 'chris/gadtools-53-5' 2013-05-31 19:59:58 +01:00
Chris Young
9b39408dff Use macro directly 2013-05-31 19:42:57 +01:00
Chris Young
ac1865f361 Set more sensible default window size 2013-05-31 19:34:22 +01:00
Chris Young
22ce03aed6 Tentatively replace colour conversion with core macro 2013-05-30 00:03:43 +01:00
Chris Young
8e8b4fbe57 default download notification to true 2013-05-28 21:10:44 +01:00
Chris Young
1bbafde641 Further split fixing 2013-05-28 20:58:39 +01:00
Chris Young
2d483113ef Fix Guru on exit 2013-05-28 20:38:16 +01:00
Chris Young
2dec72b4d5 Re-order Messages loading to avoid a crash on launch 2013-05-28 20:13:34 +01:00
Vincent Sanders
4e5d478ed1 fix spurious whitespace in makefile 2013-05-28 17:50:06 +01:00
Vincent Sanders
a88fb2e0e8 add missing includes 2013-05-28 17:34:29 +01:00
Vincent Sanders
f3065a5cfd replace accidentallly removed function 2013-05-28 17:22:07 +01:00
Vincent Sanders
83ab7accf4 fix stupid mistake introduced in options API change 2013-05-28 17:09:42 +01:00
Vincent Sanders
b918f63f3e fixup atari option names 2013-05-28 17:00:55 +01:00
Vincent Sanders
a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders
91966b562e move amiga to new options code 2013-05-28 14:16:11 +01:00
Vincent Sanders
63d7247a9c fix mismatched option name and variable names
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders
a5355ec557 change all core and frontend options headers to new format 2013-05-28 14:16:10 +01:00
Chris Young
8dc7ec2cb4 More split fixery 2013-05-25 14:12:02 +01:00
Chris Young
4a618b7040 Another attempt to fix the moving split position when a string fits exactly. 2013-05-25 14:05:32 +01:00
Chris Young
b66775dc53 Prevent ASL from causing delayed menus 2013-05-25 13:59:42 +01:00
Vincent Sanders
35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Chris Young
2f94771f41 revert text split change 2013-05-20 17:59:58 +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
15fc44bd4d Remove unused variable 2013-05-18 13:45:26 +01:00
Chris Young
5fcdbb80f0 Try to avoid the split point jumping around when it occurs exactly on the boundary requested 2013-05-18 13:34:36 +01:00
Chris Young
13e667ff78 Remove friend BitMap as it doesn't solve the problem intended, and I'm concerned that it will cause problems on gfx cards which only have LE modes 2013-05-18 13:26:07 +01:00
Chris Young
ba0cf5c949 put it back in a state where it stays enabled 2013-05-12 20:36:49 +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
6d7adac89e Update the edit menu after every click, to be safe. 2013-05-12 20:36:47 +01:00
Chris Young
0b028e41c6 more fix of edit menu updates 2013-05-12 20:36:46 +01:00
Chris Young
1304a939c3 stop the build whinging about NETSURF_USE_JS := AUTO 2013-05-12 20:36:45 +01:00
Chris Young
a752390abe attempt fix edit menu item disable 2013-05-12 20:36:44 +01:00
Chris Young
57e5f7d89a attempt fix cut disable on context menu 2013-05-12 20:36:42 +01:00
Chris Young
32df2bebdd git being annoying 2013-05-12 20:36:41 +01:00
Chris Young
c2783ac1d4 change zoom button window dimensions test suff 2013-05-12 20:36:39 +01:00
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake
9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01:00
Michael Drake
3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Vincent Sanders
98369b74e2 fixup message splitting with updated tool 2013-05-02 09:24:18 +01:00
Chris Young
8c7eea4b62 Allocate the off-screen BitMap as a friend of the screen BitMap in the increasingly diminishing number of cases where this works correctly. This should stop NetSurf using memory on the wrong graphics card when two are installed. 2013-04-28 12:21:39 +01:00
Chris Young
e4f11d1b74 Fix a potential crash when plotting glyphs 2013-04-28 11:53:37 +01:00
Chris Young
aeba307180 Fix upgrades from 2.9 to 3.0 2013-04-25 18:32:32 +01:00
Chris Young
c83878ff0d Increase AmigaOS revision number 2013-04-23 19:50:57 +01:00
Chris Young
4da186e28e Remove unneeded include 2013-04-16 00:29:26 +01:00
Chris Young
d167da308b Use internal curl scheduled fetcher 2013-04-16 00:20:31 +01:00
Chris Young
bbb0f4c2b9 The scheduled callback function doesn't need to do anything, because NetSurf is going to call hlcache_poll anyway after it returns. 2013-04-15 23:53:54 +01:00
Chris Young
6557bae1a2 missing include 2013-04-15 23:46:28 +01:00
Chris Young
dbebd4c1ce Schedule an immediate fetch poll if fetch is active 2013-04-15 23:42:46 +01:00
Chris Young
3b53d22260 Remove no-longer-needed code 2013-04-15 23:02:32 +01:00
Chris Young
6dcccd5051 test using amiga frontend 2013-04-15 19:51:40 +01:00
Chris Young
d9b8809908 Fix memory leak and make a point of ignoring UTF-16 surrogates 2013-04-14 16:03:46 +01:00
Chris Young
52e811a842 Don't recalculate next char position 2013-04-14 15:05:27 +01:00
Chris Young
53e361b622 Fix build 2013-04-11 21:32:05 +01:00
Chris Young
a6179250d5 Remove scheduled redraws for destroyed windows 2013-04-11 21:26:42 +01:00
Chris Young
26dbb7a602 Avoid multiple schedules of redraws 2013-04-11 21:20:25 +01:00
Chris Young
6ee4fa3f81 Default DPI to 85 as that is more correct than 72 2013-04-11 21:14:59 +01:00
Chris Young
a938b1a337 Make "resize with contents" a user option 2013-04-10 19:36:38 +01:00
Chris Young
b086d04d8a If we are reformatting, delay the redraw slightly to avoid excessive consectutive redraws 2013-04-09 20:49:28 +01:00
Chris Young
78e7019479 Test enable "resize with contents" now we have queued/delayed redraws. 2013-04-09 20:32:58 +01:00
Chris Young
efc0fba8ef avoid potential crah on exit 2013-04-09 00:02:11 +01:00
Chris Young
2db0024651 document and add missing include 2013-04-04 19:59:35 +01:00
Chris Young
90266d117c Schedule browser-initiated reformats too, with the caveat that a message of some description needs to arrive at the message port before the reformat will be queued (think this only affects scale changes). 2013-04-04 19:47:46 +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
c297f45bb9 Schedule redraws to prevent expected redraws from not happening when no events are occuring 2013-04-04 19:31:42 +01:00
Chris Young
7de97e8d6a ensure the closest character is picked 2013-03-24 11:35:27 +00:00
Chris Young
f70e58b4a1 update posn_in_string loop to be similar to nsfont_split 2013-03-24 11:27:26 +00:00
Chris Young
e678df267e Handle UTF-16 multi-length characters properly 2013-03-24 11:06:36 +00:00
Michael Drake
d0966c9d3f Fix leaked utf16 string. 2013-03-20 22:22:36 +00:00
Michael Drake
91d05fc0f1 Ensure that actual_x is set when string fits inside available_width. 2013-03-20 22:07:22 +00:00
Michael Drake
918aa9d266 Fix error. 2013-03-20 20:59:00 +00:00
Michael Drake
138d2529ef More meddling. 2013-03-20 20:55:03 +00:00
Michael Drake
5d7b1f40a3 Another attempt. 2013-03-20 20:06:24 +00:00
Michael Drake
ea4b7eb3a8 Try fixing Amiga nsfont_split. (Untested!) 2013-03-20 13:14:17 +00:00
Chris Young
5f7ed448d4 This needs to be set as CustomScreen to ensure it isn't classed as a "visitor" window, for reasons not fully understood. 2013-03-20 08:28:08 +00:00
Chris Young
22c7c1259b We are opening on a public screen, not a custom screen (even our own screen is a public screen) 2013-03-20 08:22:03 +00:00
Michael Drake
dd704c2c43 Fix can paste/copy tests. 2013-03-18 23:06:06 +00:00
Chris Young
20e4bdadaf Support old picture.datatype 2013-03-09 15:29:30 +00:00
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Chris Young
cd25e581cf Fix drag saving text selections 2013-02-22 21:03:52 +00:00
Chris Young
5d34d48a4b Remove obsolete ami_selection_to_text 2013-02-22 19:06:13 +00: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
Michael Drake
8a4bfc537f Update for new core selection stuff. Save handling still needs fixing. Core now gives a char * that the front end should free. 2013-02-22 13:46:01 +00:00
Michael Drake
67c6046fb1 Update for new core selection handling. 2013-02-22 13:37:11 +00:00
Chris Young
5a307b5fa5 remove alloc.c 2013-02-21 23:51:40 +00:00
Chris Young
a89148332f Remove this; it's worse in real-life situations than the buggy newlib version. 2013-02-21 23:49:39 +00:00
Chris Young
28ddfb27c4 Deactivate alloc replacement; it refuses to work when other libs are involved. Replacing the relevant malloc/realloc/free triplets in textarea.c does appear to work with the replacement, however. 2013-02-21 23:15:46 +00:00
Chris Young
70df2d197d Attempt replacement of memory allocation functions with primitive working alternatives 2013-02-21 23:10:36 +00:00
Chris Young
486593df35 memory leak 2013-02-20 20:28:07 +00:00
Chris Young
5beca9d71f Remove spurious error message after closing About 2013-02-18 18:39:31 +00:00
Chris Young
a86ff2ac2c Add missing flag 2013-02-18 16:24:58 +00:00
Vincent Sanders
15d39c6ebf fix remaining errors introduced in refactor 2013-02-18 13:05:23 +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
c545bb4b42 Identify JavaScript by extension as a fallback 2013-02-15 23:38:27 +00:00
Chris Young
05969e52ef Set default JavaScript icon to report correct MIME type 2013-02-15 23:28:46 +00:00
Chris Young
8da8f14396 More logical splitting code 2013-02-15 16:51:50 +00:00
Chris Young
9fe2873f04 rationalise the removal of the box redraw queue 2013-02-13 20:23:17 +00:00
Chris Young
1809143ff3 Implement triple-click 2013-02-12 19:12:14 +00:00
Chris Young
d25fd5fb6c Set the split point to the end of the line if the entire string fits in the allocated space 2013-02-12 00:21:56 +00:00
Chris Young
d78777276c Bring nsfont_split up to core expectations. Slightly bodged. 2013-02-10 23:24:04 +00:00
Chris Young
af3ef0fb41 Queue fast scroll redraws same as any other box redraw 2013-02-10 12:13:39 +00:00
Chris Young
a853194c1d Correct SSL certificate accept/reject messages name 2013-02-06 20:00:46 +00:00
Chris Young
02115a8958 Optimise box redraws some more by discarding simple subsets 2013-02-06 18:44:41 +00:00
Chris Young
7c671378aa Don't add the same box redraw to the queue more than once 2013-02-05 19:44:21 +00:00
Chris Young
9c7031143f Use last known scroll pos, not current 2013-02-03 22:19:31 +00:00
Chris Young
b704ad3e88 Correct fast scroll co-ordinates 2013-02-03 19:30:11 +00:00
Chris Young
4c27d6dd8e Ensure scale can be accssed from the keyboard 2013-02-03 19:14:25 +00:00
Chris Young
34f1e427f9 Un-fix scaled box redraw, as it cause more problems than it solves 2013-02-03 19:10:30 +00:00
Chris Young
ccaeced4bf Make fast scroll code easier to read 2013-02-03 18:50:16 +00:00
Chris Young
871a8e7cba Fix scaled redraw of boxes 2013-02-03 18:21:28 +00:00
Chris Young
43fe4490d3 Defer the redraw of boxes. This fixes a redraw problem with form select menus. 2013-02-03 14:01:48 +00:00
Chris Young
89856f5592 ifdef some code that will never work under AmigaOS <4.0 2013-01-30 18:23:48 +00:00
Chris Young
7710214ec2 Remove p96EncodeColour and ensure the alpha byte is set to 0xff. 2013-01-27 23:09:26 +00:00
Chris Young
a30d51cb50 Ensure we free the same size raster that we allocated 2013-01-27 11:09:54 +00:00
Chris Young
30dfa09008 Disable help for now, as it causes the popupmenu.class deadlock again 2013-01-24 20:16:35 +00:00
Chris Young
12890d3c60 Attempt fix screen close problem 2013-01-24 20:08:59 +00:00
Chris Young
f058e98817 Added more pages to AmigaGuide doc 2013-01-24 20:01:27 +00:00
Chris Young
18091ec1a9 Add basic context-sensitive help. 2013-01-24 20:00:09 +00:00
Chris Young
db71ffc8ea AmigaGuide class provided by Daniel Jedlicka 2013-01-24 19:22:01 +00:00
Chris Young
e547026dfa Copy hotlist from the pre-3.0 to the 3.0 location during install, if it exists and there isn't one present in the new location already. 2013-01-20 11:38:26 +00:00
Chris Young
f16229552a Entering the search string now find the first occurence immediately 2013-01-18 21:20:10 +00:00
Chris Young
c4e8651b27 Activate the find window's string gadget on open 2013-01-18 21:16:47 +00:00
Chris Young
3f1c2a8315 OS3 needs PBL too 2013-01-17 18:50:02 +00:00
Chris Young
78e956607f Don't busy the pointer when removing the caret - it's pointless and flickery 2013-01-15 19:23:20 +00:00
Chris Young
6975360e1c Disable compositing if simple refresh is enabled; set it back to "like WB" if simple refresh is disabled. 2013-01-13 19:19:59 +00:00
Chris Young
8625933812 Expand the damaged area rectangle by one pixel each side to stop missing lines 2013-01-13 19:11:48 +00:00
Chris Young
e7ef916b53 Prevent deadlock during simple refresh damaged area redraw 2013-01-13 19:06:51 +00:00
Chris Young
453301f961 Fix fast scroll up 2013-01-12 14:06:48 +00:00
Chris Young
d7ddfd6ac3 Make logic compare clearer 2013-01-10 22:07:11 +00:00
Chris Young
3269333658 Fix reading of clipboard 2013-01-10 00:00:51 +00:00
Chris Young
6e4c82265c Get CSET using PropChunk rather than StopChunk 2013-01-09 23:42:14 +00:00
Chris Young
6b4ab8141f Remove unused variables 2013-01-09 20:20:54 +00:00
Chris Young
f15f19f788 Convert to UTF-8 before doing length calculations (untested) 2013-01-09 18:41:53 +00:00
Chris Young
7ae27476a7 Re-implement reading the clipboard using CollectionChunk; this removes the need for an initial UTF8 chunk scan and allows the chunks to be collated before sending back to the core. Untested and length calculations ignore charset conversion. 2013-01-08 23:44:13 +00:00
Chris Young
5aae2c3ed0 Fix drag selection 2013-01-08 23:01:57 +00:00
Chris Young
d1dabbb0e2 remove gui_copy_to_clipbaord call - this needs fixing 2013-01-08 20:21:16 +00:00
Chris Young
78f3f53622 re-enable ami_drag_selection 2013-01-08 20:15:27 +00:00
Chris Young
5a43a5a1a9 fix typo 2013-01-08 20:07:46 +00:00
Chris Young
e408c9ea43 Update copy to new API (untested), pasting needs work, ami_drag_selection needs thought. 2013-01-08 19:58:44 +00:00
Chris Young
94118d22be Remove unused global 2013-01-06 11:44:37 +00:00
Chris Young
a6c6d476e2 Set the default pointer, not the busy pointer, after completing a redraw 2013-01-06 11:42:19 +00:00
Chris Young
4011cc8671 Only set the busy pointer after we've decided not to bail out early 2013-01-06 11:40:37 +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
dfc2fe6f97 gui_window_2 var should be gwin for consistency 2013-01-03 19:32:21 +00:00
Chris Young
625012a869 Set the busy pointer during redraws 2013-01-03 19:26:51 +00:00
Vincent Sanders
484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +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
08cb5a09b2 Work around a speedbar.gadget layout bug 2012-12-15 13:39:40 +00:00
Vincent Sanders
c87cbe5655 split target defaults out 2012-12-13 19:26:24 +00:00
Vincent Sanders
45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
Chris Young
ec7389a18f Update the current pressed qualifier keys at every RAWKEY event, as the update doesn't work during IDCMP_IDCMPUPDATE 2012-12-10 20:26:40 +00:00
Chris Young
47579b468c Add dither quality options to GUI 2012-12-09 21:57:58 +00:00
Chris Young
589c8a28a4 Add simple refresh option to GUI 2012-12-09 21:45:12 +00:00
Chris Young
a6005c9a5b Add font anti-aliasing option to GUI 2012-12-09 21:28:32 +00:00
Chris Young
02a4bfd375 Toggle the tab bar to the correct state if the option to always show it is changed and only one tab is currently open 2012-12-09 20:39:10 +00:00
Chris Young
af8c3ef0c3 Add options for always showing tabbar and warning on closing multiple tabs 2012-12-09 20:29:01 +00:00
Chris Young
5b53364994 Move tabbed browsing options to new tab 2012-12-09 20:18:47 +00:00
Chris Young
083b7c0233 Enable persistent tab bar through tab_always_show option 2012-12-09 20:05:22 +00:00
Chris Young
0c54f2a902 Prevent multiple tabbars 2012-12-09 20:02:13 +00:00
Chris Young
24e1aff974 Reverse the logic as well as the req text 2012-12-09 20:00:59 +00:00
Chris Young
388ddc6dbd non-working "always show tabbar" option 2012-12-09 20:00:11 +00:00
Chris Young
3ef843fcb4 Switch Yes/No Replace/Don'tReplace so Esc operates the "don't do anything" operation as expected. 2012-12-09 19:41:06 +00:00
Chris Young
6b7e678476 Only bother with the delayed requester on OS4 2012-12-09 19:39:48 +00:00
Chris Young
5ee1f09dd2 Missing double-quote 2012-12-09 19:16:47 +00:00
Chris Young
70825a5ee2 Set the file comment for the included ARexx scripts as part of the install, as these tend to get lost and don't exist at all in Git. 2012-12-09 18:57:07 +00:00
Chris Young
083cf492f5 Allow ctrl-click on hotlist toolbar to open in a new tab 2012-12-09 18:52:07 +00:00
Chris Young
dfa287767f Warn the user and give them an option to stop NetSurf shutting down, if the TCP/IP stack has signalled that it is about to exit. 2012-12-08 18:08:00 +00:00
Chris Young
ff333828b7 Warn when closing multiple tabs 2012-12-08 17:47:57 +00:00
Chris Young
ffac64fcea Move download overwrite warning requester to misc.c 2012-12-08 17:25:25 +00:00
Chris Young
69647cc6a4 Respond to Ctrl-C by immediately quitting. TCP/IP stack exit expects this. 2012-12-07 23:35:57 +00:00
Chris Young
40076ea422 Allow the size of the web search gadget to be user-set 2012-12-06 23:40:13 +00:00
Chris Young
61723e01c1 Avoid NULL pointer access 2012-12-05 18:14:45 +00:00
Chris Young
22fbe5abfc Set the newly-created hotlist dirs to be "retain in memory" otherwise NetSurf crashes on hotlist cleanup. 2012-12-01 15:54:32 +00:00
Chris Young
c88c4fa214 Don't need to attempt to free on remove, as the only entry point has already done this. 2012-12-01 15:23:11 +00:00
Chris Young
ee79de5244 Attempt to do some re-layout if the toolbar is added after the window opens. 2012-12-01 15:15:12 +00:00
Chris Young
1e2cc766cd Update documentation 2012-12-01 00:29:53 +00:00
Chris Young
ffcb07b8b2 Make hotlist toolbar actually work 2012-12-01 00:27:46 +00:00
Chris Young
61872ab3a4 Debug 2012-11-29 22:44:30 +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
d66e9c34a8 Create "menu" and "toolbar" directories in the hotlist if they don't exist on startup 2012-11-29 22:08:47 +00:00
Chris Young
168d09c878 Improve the look of the hotlist toolbar 2012-11-28 22:42:23 +00:00
Chris Young
2437ca84a8 Hotlist toolbar needs to be ABOVE the tab bar 2012-11-28 19:44:40 +00:00
Chris Young
4e4bc9c135 Don't force a redraw after adding the toolbar, because we (currently) only add it immediately at window creation. 2012-11-28 19:43:24 +00:00
Chris Young
56d5e6963a Actually show the toolbar. It looks awful. 2012-11-28 19:41:18 +00:00
Chris Young
09bc58f7c2 Create a toolbar from the "Toolbar" folder within the hotlist. Note: makes no attempt to either free the toolbar or make the toolbar work. 2012-11-28 19:29:43 +00:00
Chris Young
6641b082f8 Fix the display of the drag save icon 2012-11-11 23:17:00 +00:00
Chris Young
967d22afe5 These were allocated with c lib functions, not AllocVec 2012-11-11 23:05:25 +00:00
Chris Young
adcbfb9789 Fix options GUI cleanup (credit: Gazelle) 2012-11-11 22:49:18 +00:00
Chris Young
41ed8e3da3 Pass UTF-8 text length for conversion 2012-11-10 16:05:48 +00:00
John-Mark Bell
617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
Chris Young
e25cb44814 Remove font_unicode_list - font_unicode is a list now. 2012-11-08 23:56:42 +00:00
Chris Young
83e2c640cf Remove the fallback font options from the prefs GUI; it isn't really needed now we have the font scanner and any advanced tweaking needs to be actioned through the Choices file anyway (the GUI would need a lot of work to add all the new options) 2012-11-08 23:41:14 +00:00
Chris Young
96ed2e65d9 Fix crash when fallback font is not set and NetSurf was unable to find anything suitable on startup. 2012-11-08 20:48:38 +00:00
Chris Young
55c6841eca Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-11-07 22:52:03 +00:00
Chris Young
f37a8ad58b Remove extraneous debug 2012-11-07 20:18:33 +00:00
Chris Young
ecd8364fe1 Fix font_scan crash (credit: Gazelle) 2012-11-07 17:44:38 +00:00
Chris Young
1e4b78af56 noisy debug 2012-11-06 20:43:00 +00:00
John-Mark Bell
1e943b77ae Fix missing includes. 2012-11-03 23:30:41 +00:00
John-Mark Bell
f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Daniel Silverstone
e7431898ab Fix up amiga/iff_dr2d.c with svgtiny using libdom now 2012-11-03 18:28:12 +00:00
Daniel Silverstone
180f7ff42c Merge Vincent's Javascript work onto master 2012-11-03 15:13:43 +00:00
Rob Kendrick (fatigue)
8062b9c5ce Remove languages that only have messages files 2012-11-03 14:09:43 +00:00
Rob Kendrick (fatigue)
00195f1395 Create split messages files earlier 2012-11-03 14:06:54 +00:00
Rob Kendrick (fatigue)
cf8b05fe0f Have FatMessages macro mkdir -p the destination directory, and have Amiga front end use macro 2012-11-03 14:03:34 +00:00
Daniel Silverstone
5631943e40 Ensure that we turn on JS sources if either of USE_JS or USE_MOZJS is triggered 2012-11-02 23:03:20 +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
Chris Young
116cd6aa43 Make it a bit more obvious what is happening, as AutoInstall/CopyStore won't give us a progress bar. 2012-10-31 19:46:35 +00:00
Chris Young
7c737252e0 Fix AutoInstall 2012-10-31 19:39:34 +00:00
Chris Young
cfdf28ac93 Drop the two different names for the executable 2012-10-31 19:34:33 +00:00
Chris Young
af2d9e8906 Dispose the DT object once we've finished converting it to a bitmap. 2012-10-30 20:20:39 +00:00
Chris Young
528d9315ef More useful DataTypes image title 2012-10-28 17:59:57 +00:00
Chris Young
e62a4a435a Avoid creating the DT object multiple times 2012-10-28 17:35:55 +00:00
Chris Young
4aaa325398 Now the graphics.library plotters are feature-complete, use them by default. 2012-10-24 18:57:48 +01:00
Chris Young
719a36972b Greatly increase the space allocated for Area-operation vector storage. The SVG tiger is now rendering correctly with graphics.library plotting only (no Cairo) 2012-10-23 21:01:49 +01:00
Chris Young
c2b23e48f2 Log Area* function errors 2012-10-23 20:49:24 +01:00
Chris Young
0acdd4e64f graphics.library path plotter initial code 2012-10-23 20:43:42 +01:00
Chris Young
e5b876bda5 graphics.library arc plotter 2012-10-23 20:04:43 +01:00
Chris Young
d806f32c7b Don't set outline pen - this is what makes AreaFill outline the filled area, which we categorically do not want to happen. 2012-10-22 20:07:52 +01:00
Chris Young
bcd43d3f59 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-10-22 20:01:51 +01:00
John-Mark Bell
0a9e8ee734 Revert "Revert "Link against libiconv""
This reverts commit 02996802d9.
2012-10-21 01:58:09 +01:00
John-Mark Bell
02996802d9 Revert "Link against libiconv"
This reverts commit aa3760bd55.
2012-10-20 13:53:40 +01:00
John-Mark Bell
aa3760bd55 Link against libiconv 2012-10-20 13:48:59 +01:00
Chris Young
df70c7daa3 Ensure stack size is at least 128KB 2012-10-19 20:27:10 +01:00
Michael Drake
35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Chris Young
f0a568b861 remove standalone code which no longer compiles 2012-10-16 22:12:12 +01:00
Chris Young
ca555e7fd1 remove extraneous linefeeds 2012-10-16 22:10:49 +01:00
Chris Young
094b866388 Document HOTLIST ARexx command 2012-10-14 23:17:05 +01:00
Chris Young
1fd2e1effa Add ARexx commands HOTLIST OPEN and HOTLIST CLOSE 2012-10-14 23:10:09 +01:00
Chris Young
b7c9b57064 attempt to avoid a crash during font scanning 2012-10-14 23:01:13 +01:00
Chris Young
436f5d659f for native builds, temporarily revert usage of pkg-config for cairo detection 2012-10-14 22:59:39 +01:00
Michael Drake
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Chris Young
e56b72da5e appears that we don't actually need to use dynamic linking for cairo 2012-10-13 22:42:19 +01:00
Chris Young
340e958ebc remove unneeded manual cairo ldflags etc 2012-10-13 20:49:16 +01:00
Chris Young
6be1ba6097 auto-detect cairo 2012-10-13 20:45:51 +01:00
Chris Young
266b37fc37 use pkgconfig 2012-10-13 15:25:15 +01:00
Chris Young
8d6c2a2a4d allow cross-compiling Cairo build 2012-10-13 15:15:58 +01:00
Chris Young
f386b2fc65 don't need libcares 2012-10-12 19:44:39 +01:00
Chris Young
ee590763c6 use libtre instead of libregex for native builds, same as cross-compile 2012-10-12 19:38:47 +01:00
Chris Young
e7e3329767 Preserve the executable attribute, and ensure we copy the correct binary in all scenarios 2012-10-11 21:33:49 +01:00
Chris Young
a5bd3d112c fix warnings 2012-10-11 20:13:38 +01:00
Chris Young
d4043d8011 Run FixFonts at the end of install 2012-10-11 19:48:28 +01:00
Michael Drake
d3970e501a More fixup. 2012-10-11 11:47:48 +01:00
Michael Drake
6cea9a3c09 Fixup for urldb change. 2012-10-11 11:44:14 +01:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Vincent Sanders
5800789df2 trivial docuemntation cleanups to address some of the huge number of docuemntation warnings 2012-10-08 14:52:24 +01:00
Chris Young
a06a64686f Create a logfile when AutoInstalling with AmiUpdate 2012-10-05 23:19:42 +01:00
Vincent Sanders
f22da7670d fix missing sizeof() in amiga build
fix type warning by passing correct value
2012-10-03 19:41:14 +01:00
Vincent Sanders
c1671f37b1 reduce talloc usage to box tree layout only 2012-10-03 19:26:17 +01:00
Chris Young
6efada5a85 set the redraw to non-tiled by default. people can play with these settings if they are low on memory. 2012-09-22 22:33:52 +01:00
Chris Young
1d9d046750 libjpeg.so.12 is the current version 2012-09-22 17:31:57 +01:00
Chris Young
5852693cca Expor tthe correct messages when packaging 2012-09-09 19:46:29 +01:00
Vincent Sanders
e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Michael Drake
29356734eb Include desktop/browser_private.h. 2012-08-22 13:16:20 +01:00
Michael Drake
f0392b0790 Need render/form.h 2012-08-20 23:23:22 +01:00
Michael Drake
cd28d41795 More fixing. 2012-08-20 23:19:58 +01:00
Michael Drake
d76e7db6fe Missing semicolon. 2012-08-20 23:15:22 +01:00
Michael Drake
3b631f473b Avoid using HTML internal for form file input handling. Note: untested. 2012-08-20 22:59:47 +01:00
Michael Drake
45736594a1 Get presence of text input cleanly. 2012-08-20 22:03:59 +01:00
Michael Drake
74a9ec6de4 Remove unused code. 2012-08-20 19:20:46 +01:00
Michael Drake
e461d9879b Add render/box.h include again, since it needs object_params struct from there. :( 2012-08-20 16:56:33 +01:00
Michael Drake
2d6da52f38 Remove box use from maiga plugin hack. May need a new way to get dimensions? 2012-08-20 14:37:58 +01:00
Michael Drake
6219ee7b24 Remove box stuff from amiga content handlers. 2012-08-20 14:32:47 +01:00
Chris Young
8e4819e450 Snapshot icon positions so they default to looking neat when the archive is extracted. 2012-08-18 16:25:59 +01:00
Chris Young
b122d0be7b fix Installer script for auto-builds 2012-08-18 16:23:26 +01:00
Chris Young
45e536d961 pedantic makefile spacing 2012-08-18 16:22:21 +01:00
Chris Young
9867da4935 add install files required for Cairo build. (native build only) 2012-08-18 16:16:10 +01:00
Chris Young
fd3aadf8fa remove SVN reference from .readme 2012-08-16 18:10:32 +01:00
Chris Young
1e52aac516 copy missing file 2012-08-16 18:08:53 +01:00
Chris Young
21caff6365 Fix build date display 2012-08-15 20:18:00 +01:00
Chris Young
d73f62aabc fix warning 2012-08-15 20:02:48 +01:00
Chris Young
a1d315e3e4 make install target for Amiga. Target is NetSurf_Amiga/netsurf.lha 2012-08-15 19:58:36 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Chris Young
4aa913cd18 add missing simple refresh config option info 2012-08-13 18:43:07 +01:00
Michael Drake
4d6ada8c9a Use selection_get_copy instead of selection_traverse. Note: untested. 2012-08-13 17:42:23 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Chris Young
786a5186aa Updated documentation with some post-2.9 changes 2012-08-12 12:00:45 +01:00
Chris Young
ee4346c26e correct logic 2012-08-12 11:36:48 +01:00
Chris Young
5ac9c7128a allow font anti-aliasing to be switched off in true-colour modes 2012-08-12 11:30:44 +01:00
Chris Young
c7766fddff Change default mask threshold to something more sensible 2012-08-12 11:03:05 +01:00
Chris Young
8b31fc0e78 Fix mask calculation (thanks to Fredrik Wikstrom) 2012-08-12 11:02:12 +01:00
Chris Young
59784ba852 fix mask 2012-08-11 17:19:54 +01:00
Chris Young
69ad5db2d1 convert throbber to use standard bitmap functions; remove p96 dependency 2012-08-10 22:59:38 +01:00
Chris Young
6aaf106575 remove AMI_CUSTOM_MASK define 2012-08-10 19:31:16 +01:00
Chris Young
bc4401414b remove attempt at mask alignment 2012-08-10 19:30:18 +01:00
Chris Young
ad1336ac45 alignment attempt 2. this seems right, but doesn't work even for previously-working images 2012-08-10 19:03:56 +01:00
Chris Young
3ed1339b3f try to align mask correctly 2012-08-10 18:54:00 +01:00
Chris Young
7c9ac8980f use minterm (ABC|ABNC|ANBC) only when necessary 2012-08-10 18:35:01 +01:00
Chris Young
2364d68367 avoid scaled images getting incorrect mask 2012-08-10 18:30:01 +01:00
Chris Young
eaa6183567 allow tweaking threshold where alpha turns to mask 2012-08-10 18:21:57 +01:00
Chris Young
a0b344afe6 Fix mask 2012-08-10 18:11:42 +01:00
Chris Young
c456153e90 Correct byte order - is RGBA not ARGB
Fix mask offset calculation
2012-08-10 18:05:22 +01:00
Chris Young
bc5918ebbc allocate our bitmaps as BMF_DISPLAYABLE as this can improve performance when blitting to the screen 2012-08-09 22:31:10 +01:00
Chris Young
e4d2677c80 first attempt to create our own mask of only wholly transparent pixels. 2012-08-09 21:59:47 +01:00
Chris Young
56967bbf06 create a pen list for treeviews 2012-08-08 21:07:29 +01:00
Chris Young
8304a01b6f remove debug; it isn't helping determine the cause of the crash on exit 2012-08-08 19:02:46 +01:00
Chris Young
34c79b454a debug 2012-08-08 18:41:16 +01:00
Chris Young
1547aebdbb remove depth gadget, as doesn't let us select <256 colours anyway 2012-08-07 23:13:42 +01:00
Chris Young
61c268269a display depth gadget on screenmode requester 2012-08-07 23:09:40 +01:00
Chris Young
6748845042 fix display of favicon in palette-mapped modes 2012-08-07 23:07:16 +01:00
Chris Young
b9446a3abb rename old truecolour function 2012-08-07 21:34:52 +01:00
Chris Young
3ba621759c hide internal palette-mapped and true-colour bitmap conversion functions 2012-08-07 21:28:55 +01:00
Chris Young
2eeb2c07bf more use of abstracted function 2012-08-07 21:25:47 +01:00
Chris Young
0d8aca4f12 use abstracted function 2012-08-07 21:22:51 +01:00
Chris Young
dd7935bb1f abstract the native bitmap fetcher functions, and make the favicon collection use the new one. 2012-08-07 21:09:49 +01:00
Chris Young
391d483c9d expose function to get current screen palette-mapped status 2012-08-07 21:03:42 +01:00
Chris Young
9fac1daff4 ...or it might just crash. Will consider a hybrid mode, as palette-mapped images do not display correctly when blitted to a 16- or 32-bit screen. 2012-08-07 00:07:37 +01:00
Chris Young
a262507b3a If using the gfx.lib true-colour plotters on a 16-bit screenmode, allocate a 16-bit off-screen bitmap instead of a 32-bit one. This _should_ make things a little quicker in that scenario. 2012-08-07 00:00:04 +01:00
Chris Young
0ce133099b fix true colour mode 2012-08-06 19:41:34 +01:00
Chris Young
6ceb8ca9eb fix depth detection 2012-08-06 19:40:51 +01:00
Chris Young
8c6dab520d misc 2012-08-05 23:51:59 +01:00
Chris Young
1ef7336f22 revert begin/endrefresh image avoidance - this isn't the cause of the simplerefresh damage region deadlock 2012-08-05 23:06:01 +01:00
Chris Young
6d602b103e release the pen if it couldn't be added to a list. 2012-08-05 23:01:03 +01:00
Chris Young
b777549cc2 avoid crash if pen list is not set 2012-08-05 22:59:09 +01:00
Chris Young
ff8d7d974c Avoid redrawing palette-mapped images during BeginRefresh/EndRefresh (ie. SimpleRefresh damage redraw) as one of the DataTypes functions are causing an Intuition deadlock. 2012-08-05 22:29:35 +01:00
Chris Young
b2514d5270 Free source BitMap 2012-08-05 21:46:14 +01:00
Chris Young
82c4ea7686 add to list, and release pens 2012-08-05 21:29:57 +01:00
Chris Young
a423eb712d allow setting dithering quality 0-2 2012-08-05 16:22:41 +01:00
Chris Young
25f1acb504 Don't re-layout if this has already been performed 2012-08-05 16:16:18 +01:00
Chris Young
59af85e0b5 disable mask for now, causing colourisation problems 2012-08-05 16:02:25 +01:00
Chris Young
803970589b attempt blit through mask 2012-08-05 15:55:02 +01:00
Chris Young
74e794d7a2 implement scaling 2012-08-05 15:29:20 +01:00
Chris Young
c359b9400b Palette-mapped bitmap support 2012-08-05 15:16:02 +01:00
Chris Young
a46c5ae09f Merge branch 'master' into chris/palette-mapped-plotters 2012-08-05 14:29:12 +01:00
Chris Young
7716143240 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-08-05 14:28:10 +01:00
Chris Young
1e02eba193 Ask GID_ICON to redraw itself before we draw over the top of it. Unfortunately it redraws itself as a grey box, rather than the underlying window's backfill hook. 2012-08-05 14:26:41 +01:00
Chris Young
97aabaf49d Test for opaqueness where we create bitmaps in the platform code 2012-08-05 14:02:32 +01:00
Chris Young
28ddb10268 Fix opaqueness test: the alpha channel is the first byte, not the last. 2012-08-05 13:50:14 +01:00
Chris Young
55c08431ee Fix build 2012-08-05 11:37:27 +01:00
Chris Young
d577a48bb7 Abstract pen obtain/release and structure so we can add these to a physical browser window's list 2012-08-05 11:28:48 +01:00
Chris Young
337b0f6724 Allow forcing palette-mapped mode by setting cairo_renderer:-1 2012-08-05 11:04:17 +01:00
Chris Young
34154ebb99 Disable anti-aliasing for palette-mapped modes 2012-08-05 10:48:36 +01:00
Chris Young
1ceced6e67 Free bitmap using correct function 2012-08-05 10:21:39 +01:00
John-Mark Bell
3e2123d9ec Need libdom, libpbl when cross compiling. 2012-08-05 10:16:37 +01:00
Chris Young
5a055e3b05 stop crashing 2012-08-05 10:07:26 +01:00
Chris Young
0f1685f131 add palette-capable OPen function 2012-08-05 09:55:01 +01:00
Chris Young
400d02bc24 Convert the rest of plotters.c to use palette-mapped capable colour selection 2012-08-05 09:51:48 +01:00
Chris Young
eed37af751 Fix colours - rectangles now printing correctly. Fix an 'early' crash caused by unfriendly bitmaps. Text needs fixing. There is also a 'late' crash which makes it unusable. 2012-08-04 23:55:02 +01:00
Chris Young
dad8065f0a move text colour settings into plotters.c, and use palette-map capable function 2012-08-04 18:05:26 +01:00
Chris Young
6f64713977 alloc off-screen bm as friend of screen bm 2012-08-04 17:46:56 +01:00
Chris Young
fce7026484 Attempt to draw palette-mapped rectangles.
Problems:
 1. The DrawInfo structure is returning a depth of 8 for >8-bit screens
 2. Colours are wrong (probably related to our off-screen rendering mechanism)
 3. Pens obtained through ObtainBestPenA() are never freed - we need to keep track of them and somehow work out when it is best to free them.
2012-08-04 16:45:05 +01:00
Chris Young
5f8d9e25ab Allow <16-bit depth in options GUI too 2012-08-04 15:53:19 +01:00
Chris Young
da4968b8e0 Allow selecting <16-bit wcreenmodes so we can easily see what needs doing. 2012-08-04 15:44:57 +01:00
Chris Young
2694a98f81 Remove any forcing of UTF-8 in the clipboard, as internally NetSurf will use the UTF8 chunks now. 2012-08-03 21:04:38 +01:00
Chris Young
3a00eca535 Clear the StopChunks before scanning for the UTF8 chunk, otherwise we risk thinking a CHRS chunk is a UTF8 chunk. 2012-08-03 21:02:29 +01:00
Chris Young
0b0c6a4f6a Support pasting the UTF8 chunk of clipboard IFF FTXT when present, instead of CHRS 2012-08-03 19:19:04 +01:00
Chris Young
c4a4126041 Also write a (duplicate) UTF8 chunk, irregardless of the "UTF-8 clipboard" option. We don't support pasting UTF8 chunks yet. 2012-08-03 18:33:49 +01:00
Chris Young
ca6be72dff Remove extraneous functionage 2012-08-03 18:28:07 +01:00
Chris Young
cc3b9435ea Use core clipboard copy function. ami_selection_to_text() will need fixing as it still needs selection_traverse() 2012-08-03 18:19:54 +01:00
Chris Young
18db6826f1 Move Push- and PopChunk out of the selection_traversal function 2012-08-03 18:15:16 +01:00
Chris Young
c48d7fa2da missing 'defined' 2012-07-28 22:32:32 +01:00
Chris Young
8ac36b64b1 Add a GUI option to enable/disable Javascript, if NetSurf is built with Javascript support. 2012-07-28 22:27:53 +01:00
Chris Young
dfef1d6fde Use requester.class directly, so we can get requesters to appear on NetSurf's screen. Untested. 2012-07-28 21:56:27 +01:00
Chris Young
b085eab6b0 Correct library name. Update versions to 1.7. 2012-07-07 10:00:34 +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
0f1c918949 Add lines to enable building against Spidermonkey 1.5 or 1.8.5
svn path=/trunk/netsurf/; revision=14015
2012-06-30 09:43:55 +00:00
Chris Young
76b0243a0a Run NetSurf at priority 0 by default, dropping to priority -1 when
downloading.

svn path=/trunk/netsurf/; revision=13955
2012-06-04 16:15:12 +00:00
Chris Young
cb9cee3ab7 Don't show a "download complete" message if there was an error or the user
aborted.

svn path=/trunk/netsurf/; revision=13944
2012-06-04 15:10:13 +00:00
Chris Young
319c463894 Add DoNotTrack to Amiga options GUI
svn path=/trunk/netsurf/; revision=13929
2012-05-20 17:53:07 +00:00
Chris Young
560d5d2035 Allow a comma-separated list of fonts to be specified in font_unicode_list
to provide more preferred fonts.  eg. if a user has dedicated Japanese
and Korean fonts available they might want a config like:
font_unicode:Japanese
font_unicode_list:Korean,Code2000
This will scan Japanese and Korean fonts first, then fill in any blanks
with Code2000 (followed by alphabetically all other fonts installed)

svn path=/trunk/netsurf/; revision=13917
2012-05-09 22:23:10 +00:00
Chris Young
36e9d114ea Stop abusing certain Messages; add some dedicated non-crazy HelpHints
svn path=/trunk/netsurf/; revision=13912
2012-05-07 15:06:48 +00:00
Chris Young
effdcf0fe4 Generate all appropriate Messages files when making a package for
distribution.

svn path=/trunk/netsurf/; revision=13910
2012-05-07 14:26:38 +00:00
Chris Young
727cae9461 Progress display for font scanning
svn path=/trunk/netsurf/; revision=13909
2012-05-07 14:18:22 +00:00
Chris Young
0161b2a33e Rescan fonts if preferred fallback font is changed in the GUI
svn path=/trunk/netsurf/; revision=13908
2012-05-06 17:55:35 +00:00
Chris Young
7003f6932e Use font_unicode option as preferred (first scanned) font. Ideally need to
expand this so multiple fonts can be specified.  Allow disabling of
scanning other fonts. Add stubs for a scanning progress GUI.

svn path=/trunk/netsurf/; revision=13907
2012-05-05 19:09:42 +00:00