Commit Graph

1576 Commits

Author SHA1 Message Date
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
Chris Young
2f7061b894 Reject non-scalable BulletAPI fonts
svn path=/trunk/netsurf/; revision=13906
2012-05-05 16:00:14 +00:00
Chris Young
d5608581b9 Integrate Unicode font scanner into NetSurf.
NetSurf will now use any available font when trying to print
characters that are missing from the current font.
TODO: Preferred font list.

svn path=/trunk/netsurf/; revision=13905
2012-05-05 15:58:17 +00:00
Chris Young
59f8e00434 Add loading, parse OS fonts into a list (which can optionally already
contain fonts) before scanning

svn path=/trunk/netsurf/; revision=13904
2012-05-05 14:46:18 +00:00
Chris Young
e635d907aa Tidy-up, split into sensible functions for NetSurf integration,
documentation. Cache file loading needs adding and ami_font_scan_fonts
needs to add to a list of fonts, and then send those to the scanner so we
can put some preferred fonts on the top of the list and avoid duplication.

svn path=/trunk/netsurf/; revision=13903
2012-05-05 11:09:19 +00:00
Chris Young
febea7ec4b Font glyph scanner. Currently works as a standalone program which outputs a
file for NetSurf to ignore.

svn path=/trunk/netsurf/; revision=13902
2012-05-04 19:30:30 +00:00
Chris Young
a4ff885365 Ensure we are using the faster(?) character size functions in all
applicable places.

svn path=/trunk/netsurf/; revision=13901
2012-05-02 18:29:59 +00:00
Chris Young
a44ead03cf fix crash
svn path=/trunk/netsurf/; revision=13900
2012-05-01 18:51:05 +00:00
Chris Young
9b984e8b3f Only struct gui_window_2 should use variable name 'gwin'. gui_window is
always 'g'.

svn path=/trunk/netsurf/; revision=13899
2012-04-29 16:13:53 +00: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
2d854c549c Make simple refresh a configurable option
svn path=/trunk/netsurf/; revision=13896
2012-04-28 23:23:29 +00:00
Chris Young
682b2f2420 Fix simplerefresh. When dragging windows back on-screen, damaged areas are
still not repaired fully.  Overlapping windows have no such problem.
Menu events seem to be getting lost in simple refresh mode (this may be
related to event triggered for redrawing the area under the menu when it is
closed)

svn path=/trunk/netsurf/; revision=13895
2012-04-28 22:53:50 +00:00
Chris Young
8d4678b04b Add AppWindow ourself rather than letting window.class create it. Initial
tests indicate we are no longer losing icon drop events although there is
still an "event leak" somewhere.
Fix warnings.

svn path=/trunk/netsurf/; revision=13894
2012-04-28 19:43:46 +00:00
Chris Young
f6b15c1061 Re-jig URL launch as would never have fallen back to using openurl.library.
Add it as an option instead.

svn path=/trunk/netsurf/; revision=13882
2012-04-18 19:44:09 +00:00
Chris Young
b4977fbdcc Replace strncpy with strlcpy, as strncpy is not guaranteed to be
NULL-terminated. (thx Colin Wenzel)

svn path=/trunk/netsurf/; revision=13881
2012-04-18 18:54:15 +00:00
Chris Young
3a264e102d Correct comment
svn path=/trunk/netsurf/; revision=13871
2012-04-15 12:03:51 +00:00
Chris Young
65b128b088 Just get glyph widths rather than the entire glyph when calculating sizes.
This should be faster but isn't (probably still rendering the glyph
internally)

svn path=/trunk/netsurf/; revision=13843
2012-04-09 12:01:57 +00:00
Chris Young
5b79dbe36f Update NetSurf's system colours when OS prefs change
svn path=/trunk/netsurf/; revision=13822
2012-04-07 17:16:32 +00:00
Chris Young
97af7afedf Convert to use image cache
svn path=/trunk/netsurf/; revision=13797
2012-04-06 17:05:25 +00:00
Chris Young
183174b25a Move status basr left one pixel
svn path=/trunk/netsurf/; revision=13786
2012-04-02 18:05:09 +00:00
Chris Young
d434749953 Remove old commented out tags
svn path=/trunk/netsurf/; revision=13784
2012-03-31 21:51:44 +00:00
Chris Young
7a12cad439 Change the status bar frameiclass to a gaugeiclass, as it is more
aesthetically pleasing, and also allows us to show progress bar if it is
possible to get this data from the core in the future.

svn path=/trunk/netsurf/; revision=13783
2012-03-31 21:49:50 +00:00
Chris Young
9a6b4efc7b Use the same default favicon as other platforms.
svn path=/trunk/netsurf/; revision=13782
2012-03-31 15:29:08 +00:00
Chris Young
e8d90a532a Search user data dir first for resources
svn path=/trunk/netsurf/; revision=13779
2012-03-30 19:28:37 +00:00
Chris Young
e30905be75 Use 'user' env-var to determine username
svn path=/trunk/netsurf/; revision=13778
2012-03-30 18:18:15 +00:00
Chris Young
cbd3c31120 Update with new path
svn path=/trunk/netsurf/; revision=13769
2012-03-28 22:21: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
Chris Young
483b86e713 Add sobjs - libdom and libhubbub stub
svn path=/trunk/netsurf/; revision=13767
2012-03-28 21:23:26 +00:00
Chris Young
f0dbe1d689 Return a colour (ABGR) from gui_system_colour_char() rather than a
css_color (ARGB)

svn path=/trunk/netsurf/; revision=13744
2012-03-27 19:25:02 +00:00
Michael Drake
ce20021df7 Fix colour string matching. Lose unneeded case insensitivity in matching.
svn path=/trunk/netsurf/; revision=13739
2012-03-27 11:02:35 +00:00
Michael Drake
eb189092c7 Constify param to gui_system_colour_char function.
svn path=/trunk/netsurf/; revision=13737
2012-03-27 10:47:29 +00:00
Chris Young
103c8703ec Expose tree_setup_colours so it can be called from frontends if the system
colour scheme changes.


svn path=/trunk/netsurf/; revision=13730
2012-03-26 21:13:00 +00:00
Chris Young
307df869c3 fix build
svn path=/trunk/netsurf/; revision=13729
2012-03-26 20:25:10 +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
a11aa89b64 More reasonable tile size defaults
svn path=/trunk/netsurf/; revision=13506
2012-03-03 15:59:52 +00:00
Chris Young
3db30dfd84 Fix scaled fast scrolling. Curiously this has solved the form select menu
problem :S

svn path=/trunk/netsurf/; revision=13505
2012-03-03 15:50:05 +00:00
Chris Young
2cd44ec454 Fix offsets when page scaled and scrolled
svn path=/trunk/netsurf/; revision=13504
2012-03-03 15:41:14 +00:00
Chris Young
3e77ceeb81 allow both x and y dimensions of redraw tiles to be configured
svn path=/trunk/netsurf/; revision=13502
2012-02-29 19:09:55 +00:00
Chris Young
f7f2fa8993 revert r13281, meant to put it in 2.9 branch
svn path=/trunk/netsurf/; revision=13499
2012-02-28 19:02:16 +00:00
Chris Young
e997d45410 Readme for 2.9
svn path=/trunk/netsurf/; revision=13498
2012-02-28 18:54:34 +00:00
Chris Young
956cb41f7c Disable print menu option
svn path=/trunk/netsurf/; revision=13497
2012-02-28 18:51:26 +00:00
Chris Young
b7f7293802 random changes
svn path=/trunk/netsurf/; revision=13474
2012-02-26 15:44:14 +00:00
Chris Young
2951735e2f adjust scrolbars when window is resized
svn path=/trunk/netsurf/; revision=13473
2012-02-26 14:40:34 +00:00
Chris Young
bb17cc2529 Don't do schedule message handling on a while loop.. it sometimes causes
long pauses in user input.

svn path=/trunk/netsurf/; revision=13472
2012-02-26 11:03:09 +00:00
Chris Young
b375a6a293 Convert treeview to tiled draw
svn path=/trunk/netsurf/; revision=13471
2012-02-26 10:42:15 +00:00
Chris Young
c2afcf4453 Documentation update
svn path=/trunk/netsurf/; revision=13470
2012-02-25 19:21:38 +00:00
Chris Young
6696f7d160 Fix thumbnails
svn path=/trunk/netsurf/; revision=13469
2012-02-25 19:13:41 +00:00
Chris Young
79c5485e27 Add tiled refresh, with tiles of max size option_redraw_tile_size. This
reduces the size of our off-screen bitmap and associated memory.
Only works with browser windows at present. History and treeviews still
have full window refresh/bitmap.
Setting the option to 0 brings back the old behaviour.

svn path=/trunk/netsurf/; revision=13468
2012-02-25 18:42:33 +00:00
Chris Young
20e825c8f4 More simple refresh. This would work (provided the user hasn't scrolled),
however we appear to be losing events (refresh and menu events are not
always being received)

svn path=/trunk/netsurf/; revision=13466
2012-02-24 23:18:24 +00:00
Chris Young
ce0d219328 typo
svn path=/trunk/netsurf/; revision=13465
2012-02-24 20:03:38 +00:00
Chris Young
b517cf331a option_screen_compositing to enable switching compositing for NetSurf's own
screen on/off.

Some experimentation with compositing and simple/smart refresh reveals that
simple refresh windows with compositing on for the screen behave the same
as smart refresh windows. Smart refresh windows with compositing off use
more gfx memory than when compositing is on. Simple refresh windows with
compositing off will probably be more memory efficient, as we are using
an off-screen bitmap to render the browsing area anyway. However due to
this bitmap being re-used over multiple tabs/windows, it does not always
reflect what should be on the window, so performing a redraw of damaged
areas may be the only option. Need to read damaged regions from layer
(probably through struct Region *DamageList) and check on performance vs
memory or make the window refresh type configurable.  Simple refresh code
#ifdefed out for now for further investigation later.

svn path=/trunk/netsurf/; revision=13464
2012-02-24 20:00:51 +00:00
John Mark Bell
9478f01828 Fix bug #3481624: this was needlessly complex
svn path=/trunk/netsurf/; revision=13463
2012-02-23 21:22:37 +00:00
Chris Young
b0b08b4eaf Remove "NetSurf" from release version string, that's on the splash anyway.
svn path=/trunk/netsurf/; revision=13443
2012-02-12 18:02:49 +00:00
Chris Young
0410b0d640 Don't break the clipboard when copying 'nothing'.
Don't touch clipboard contents when copying 'nothing'.

svn path=/trunk/netsurf/; revision=13442
2012-02-12 17:56:25 +00:00
Chris Young
9c7ced69d2 Shift status bar text over by a pixel and reposition the frame slightly.
Don't use WBorBottom as that is not particulary relevant to what we're
trying to do.

svn path=/trunk/netsurf/; revision=13441
2012-02-11 23:17:47 +00:00
Chris Young
f3e0dd578e 8*4=32, NOT 24. Copied UTF-8 text will now paste correctly into RA-OWB.
svn path=/trunk/netsurf/; revision=13405
2012-01-15 16:37:36 +00:00
Chris Young
676cb962ce Accept codeset 1 (undefined) as 106 (UTF-8) when pasting from the
clipboard.  This should allow us to at least paste from broken ports of
MorphOS apps.

svn path=/trunk/netsurf/; revision=13404
2012-01-15 15:58:26 +00:00
Chris Young
efa55dd3f1 Fix build
svn path=/trunk/netsurf/; revision=13403
2012-01-15 15:57:02 +00:00
Chris Young
9f08a052d0 Allow confining the pointer to part of the window during drags. Actually
we aren't acting on this for any current drag types, but if we need to do
so in the future (eg. frame resizing), this is the code to do it.  The trap
lasts 10 IntuiTicks so is re-asserted on every mouse move when an active
drag is in effect.  Drag type must be set to GDRAGGING_NONE to clear.

svn path=/trunk/netsurf/; revision=13401
2012-01-11 21:41:55 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Chris Young
7314d12cba Default X and Y aspect ratio to 0. This will make NetSurf assume that the screen has
square pixels, which is true in 99% of cases on OS4.

svn path=/trunk/netsurf/; revision=13377
2012-01-06 18:55:30 +00:00
Chris Young
15fb70844d When dragging text selections to WB, pass the selection pointer to the save routine.
svn path=/trunk/netsurf/; revision=13363
2012-01-02 12:03:45 +00:00
Chris Young
13a2ceb766 Remove unnecessary cache of scroll position
svn path=/trunk/netsurf/; revision=13344
2011-12-24 13:24:09 +00:00
Chris Young
d9a50a1744 Stop ELF binary sections aligning to 64K boundaries
svn path=/trunk/netsurf/; revision=13343
2011-12-24 13:20:01 +00:00
Chris Young
56b6970c92 Search for DejaVu Serif Italic before DejaVu Serif Oblique, this fixes the fonts used
on the splash screen if newer DejaVu fonts have been installed and the old ones
removed.

svn path=/trunk/netsurf/; revision=13342
2011-12-24 12:57:42 +00:00
Chris Young
135a11db35 Fix scrollbar scroll
svn path=/trunk/netsurf/; revision=13341
2011-12-24 12:49:55 +00:00
Michael Drake
67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Chris Young
879383e21e Pass keyboard scroll events to the core
svn path=/trunk/netsurf/; revision=13334
2011-12-23 22:14:00 +00:00
Chris Young
43bb22b968 Complete treeview context menu.
Fix mouse trapping.
Remove remaining buttons (from non-SSL trees).  May return as a graphical toolbar at
some point, but for now I'm glad to be rid of them.  All the options are in the
context menu.

svn path=/trunk/netsurf/; revision=13295
2011-12-18 17:59:23 +00:00
Chris Young
0ed26d727f Start popuating treeview context menu
Remove add folder/bookmark buttons from hotlist

svn path=/trunk/netsurf/; revision=13287
2011-12-17 18:47:35 +00:00
Chris Young
6cfe625874 Add some missing UTF-8 conversion
svn path=/trunk/netsurf/; revision=13284
2011-12-16 12:43:42 +00:00
Chris Young
328ce66d7e More prep for treeview context menus
svn path=/trunk/netsurf/; revision=13283
2011-12-16 12:33:05 +00:00
Chris Young
3228e0c4d9 Install "if equals" comparisons are = not ==
svn path=/trunk/netsurf/; revision=13281
2011-12-16 00:00:13 +00:00
Chris Young
359bf3ccd6 Check if launch-handler config already has NetSurf
svn path=/trunk/netsurf/; revision=13274
2011-12-15 22:32:42 +00:00
Chris Young
61a36faf7f Add proposed small caps "x" and "q" mappings.
svn path=/trunk/netsurf/; revision=13247
2011-12-05 20:08:17 +00:00
Chris Young
71a08da397 Support small caps using the font's designed characters.
TODO: fallback to generated characters.

svn path=/trunk/netsurf/; revision=13245
2011-12-04 23:39:22 +00:00
Chris Young
ccbca43457 Avoid memory leak when requested font cannot be opened.
svn path=/trunk/netsurf/; revision=13243
2011-12-04 20:06:53 +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
a06678dabf Don't use a designed font for oblique, only italic.
svn path=/trunk/netsurf/; revision=13226
2011-12-04 01:45:31 +00:00
Chris Young
0ce6fc409c Global list for diskfont.library fontengine cache
svn path=/trunk/netsurf/; revision=13225
2011-12-04 01:10:19 +00:00
Chris Young
ce37fdb128 Support dragging from global history to hotlist
svn path=/trunk/netsurf/; revision=13219
2011-12-02 13:24:40 +00:00
Chris Young
8d685d7ac0 Use core file drop.
Loop through entire list of dropped files.
If multiple files are dropped and not handled by core, open in tabs;
Activate the window on first file drop to workaround a bug where the window needed to
be clicked before the file would appear.
As using core functionality, DataTypes no longer used to parse dropped files (likely
to be rarely needed anyway).


svn path=/trunk/netsurf/; revision=13218
2011-12-02 12:47:11 +00:00
Chris Young
a7af4ba0c1 Pass mouse scrollwheel events to the core first
svn path=/trunk/netsurf/; revision=13201
2011-11-29 20:58:57 +00:00
Chris Young
24486e342a Update frontends for r13185. Enabled new functionality, where it is not logical it
can be switched off.

svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Chris Young
388acaba40 Propagate mouse position during drags down to the core (needed for redraw events
during drags, eg. selection bounding box, indication of node drop location, etc)

svn path=/trunk/netsurf/; revision=13147
2011-11-13 17:41:56 +00:00
Chris Young
dd267bd90a Trap RMB and select the node under the pointer if no other node selected
svn path=/trunk/netsurf/; revision=13146
2011-11-11 13:09:12 +00:00
Chris Young
36599a09ce Clicks become drags only after 2px
svn path=/trunk/netsurf/; revision=13145
2011-11-10 18:58:47 +00:00
Chris Young
b14c4f0a0b Revert r13138
svn path=/trunk/netsurf/; revision=13144
2011-11-10 14:22:02 +00:00
Chris Young
10237e0bde Amiga frontend update for r13139
svn path=/trunk/netsurf/; revision=13140
2011-11-10 12:23:52 +00:00
Chris Young
87c5f14c08 Update the title of the initial tab, even when the tab bar is hidden (ensures the
correct title will be present if it is made visible)

svn path=/trunk/netsurf/; revision=13138
2011-11-09 19:22:49 +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
4cbe7d9d94 Remove any need for LangNames to be imported as a Messages file
svn path=/trunk/netsurf/; revision=13099
2011-10-29 14:14:13 +00:00
Chris Young
b84ebeed36 Stop abusing Messages with continual load of LangNames
svn path=/trunk/netsurf/; revision=13098
2011-10-29 13:51:19 +00:00
Chris Young
d0ad76a77a Simplify
svn path=/trunk/netsurf/; revision=13097
2011-10-29 13:35:55 +00:00
Chris Young
4a0de7cd5c Allow usage of a resource.map file to map resource: requests to other files.
svn path=/trunk/netsurf/; revision=13096
2011-10-29 13:32:53 +00:00
Chris Young
62900af515 Search the current theme dir for resources.
svn path=/trunk/netsurf/; revision=13091
2011-10-29 11:24:29 +00:00
Chris Young
110ba21d52 Only one of these save ops needs the file opened here
svn path=/trunk/netsurf/; revision=13086
2011-10-27 21:04:56 +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
4bb6da7cd3 Revert r13074 - doesn't actually fix the problem
svn path=/trunk/netsurf/; revision=13075
2011-10-22 14:26:56 +00:00
Chris Young
35bc321993 Fix the plotting of tiled bitmaps. EraseRect() appears to have a bug where it won't
draw anything if ymin==ymax

svn path=/trunk/netsurf/; revision=13074
2011-10-22 14:16:03 +00:00
Chris Young
a7f2cfa521 Fix save_complete
svn path=/trunk/netsurf/; revision=13073
2011-10-22 14:03:47 +00:00
Chris Young
a4f14eb0e9 Avoid horizontal pixel-height lines of the background appearing when "fast scrolling"
down the page.  There is a similar problem with scrolling up pages which may be a bug
in ami_do_redraw_limits or plotters (probably bitmap tile plotter), as drawing
additional pixel lines after scrolling is not redrawing the affected area.
Example sites where this problem is apparent:
http://www.nintendolife.com (border pattern does not redraw)
http://www.amigaos.net/content/72/supported-hardware (clouds show through the main
text area)

svn path=/trunk/netsurf/; revision=13072
2011-10-22 13:52:13 +00:00
Chris Young
6959a30b26 Move non-requester user file operations to file.c
svn path=/trunk/netsurf/; revision=13065
2011-10-15 15:27:56 +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
69f83ed262 Be more flexible with the aspect ratios we correct to.
svn path=/trunk/netsurf/; revision=13036
2011-10-11 17:58:14 +00:00
Chris Young
ded3c1983f page context menu (mostly non-functioning)
svn path=/trunk/netsurf/; revision=13025
2011-10-09 17:37:57 +00:00
Chris Young
7900404447 Add keyboard shortcuts that already exist. These are handled in gui.c -
popupmenu.class does not appear to act on them.

svn path=/trunk/netsurf/; revision=13015
2011-10-08 15:48:58 +00:00
Chris Young
8e3dc4022d Stop confusing svn client
svn path=/trunk/netsurf/; revision=13014
2011-10-08 15:47:51 +00:00
Chris Young
c6b174d08e Treat all objects equally, non-plugin_hack objects can now be opened in external
application if CMD line present in resources/mimetypes

svn path=/trunk/netsurf/; revision=13013
2011-10-08 14:55:15 +00:00
Chris Young
d197eda87a Fix link creation
svn path=/trunk/netsurf/; revision=13012
2011-10-08 13:49:50 +00:00
Chris Young
70aad31df6 Default search ico should only come from theme
svn path=/trunk/netsurf/; revision=13011
2011-10-08 13:49:31 +00:00
Chris Young
a809db0c73 Navigate submenu
svn path=/trunk/netsurf/; revision=13010
2011-10-08 13:48:44 +00:00
Michael Drake
35e43a4965 Amiga front end still uses this for now.
svn path=/trunk/netsurf/; revision=13008
2011-10-08 13:03:50 +00:00
Chris Young
3bb98823f7 correct filename
svn path=/trunk/netsurf/; revision=12996
2011-10-07 23:26:39 +00:00
Chris Young
39b490d1f0 Add favicon to iconification icon
svn path=/trunk/netsurf/; revision=12995
2011-10-07 23:12:12 +00:00
Chris Young
f9ca9f3595 comment removal
svn path=/trunk/netsurf/; revision=12988
2011-10-07 21:53:35 +00:00
Chris Young
677d0d4874 fix botched link rename
svn path=/trunk/netsurf/; revision=12987
2011-10-07 21:50:44 +00:00
Chris Young
c8d9e012e5 favicon fixes
svn path=/trunk/netsurf/; revision=12985
2011-10-07 21:41:31 +00:00
Chris Young
d52f40b575 also convert nsdefault.css in svn tree into a proper link (OS4 SVN does not support fs
links)

svn path=/trunk/netsurf/; revision=12964
2011-10-05 22:29:52 +00:00
Chris Young
1bbb2321ea Adjust some types
svn path=/trunk/netsurf/; revision=12963
2011-10-05 22:23:02 +00:00
Chris Young
7aa2b4771f Keep running if an error occurs
svn path=/trunk/netsurf/; revision=12962
2011-10-05 22:12:51 +00:00
Chris Young
d06fcf791a Shuffle CSS files so default.css is the main one
svn path=/trunk/netsurf/; revision=12959
2011-10-05 18:56:59 +00:00
John Mark Bell
d5bb9d98e7 Build resource: map at start time
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate

svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Chris Young
d4285464e8 Fix icon loader
svn path=/trunk/netsurf/; revision=12947
2011-10-04 17:40:15 +00:00
Chris Young
b9a40d8e47 Fix crash when switching tabs
svn path=/trunk/netsurf/; revision=12932
2011-10-03 18:08:52 +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
602c2502e7 Add context menu for plain text content.
All non-HTML contents now have context menus activated

svn path=/trunk/netsurf/; revision=12922
2011-10-02 16:46:21 +00:00
Chris Young
71552e84d8 Make adding context menus more modular
svn path=/trunk/netsurf/; revision=12921
2011-10-02 16:37:25 +00:00
Chris Young
87ba84abfe Disable RAmiga-U temporarily as ActivateGadget() is causing a bizarre but fatal
interaction with context menus.

svn path=/trunk/netsurf/; revision=12913
2011-09-29 22:13:13 +00:00
Chris Young
828d8e0de8 Re-instate default.css.info as the install script copies it to def_css.info if there
isn't one already.

svn path=/trunk/netsurf/; revision=12909
2011-09-28 17:12:28 +00:00
Chris Young
e3aceb4344 Abort if user is <OS4.1 and no static version available.
Probably needs moving up to before the user has been asked for an install location

svn path=/trunk/netsurf/; revision=12895
2011-09-26 21:50:39 +00:00
Chris Young
ad3af34742 Build Cairo version as NetSurf; non-Cairo version as NetSurf-Static
Don't bother to build/copy NetSurf-Static for release packages
Update .readme to show requirement for AmigaOS 4.1

svn path=/trunk/netsurf/; revision=12893
2011-09-26 21:41:33 +00:00
Chris Young
0b6b01f08f Add context menu items for frames
svn path=/trunk/netsurf/; revision=12877
2011-09-25 18:44:10 +00:00
Chris Young
5d7c1caffe Also read mimetype mappings from mimetypes.user
svn path=/trunk/netsurf/; revision=12876
2011-09-25 17:03:37 +00:00
Chris Young
4573560c61 increase keyboard scroll speed to 10px
svn path=/trunk/netsurf/; revision=12875
2011-09-25 10:08:23 +00:00
Chris Young
3be63e2f69 Reduce task priority to -1
This stops the rest of the system slowing down when NetSurf is trying to receive data

svn path=/trunk/netsurf/; revision=12874
2011-09-25 09:56:43 +00:00
Chris Young
215c31ac0d When pressing mouse button don't try to go forwards in history first... instead make
releasing mouse button 5 go forwards in history.

svn path=/trunk/netsurf/; revision=12873
2011-09-24 15:20:05 +00:00
John Mark Bell
f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Chris Young
9bb586769a Remove AMINS_FRAME
svn path=/trunk/netsurf/; revision=12801
2011-09-16 18:00:39 +00:00
John Mark Bell
339bed7272 Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +00:00
John Mark Bell
3d71da088b Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
svn path=/trunk/netsurf/; revision=12796
2011-09-15 22:31:16 +00:00
Chris Young
6bd1800ef6 Partially convert to use browser_window_contextual_content
svn path=/trunk/netsurf/; revision=12793
2011-09-13 18:42:23 +00:00
Chris Young
64f0938e8b If the prefs window is already open ad Edit Prefs is called from the menu, bring the
already-opened prefs window to the front and make it active.

svn path=/trunk/netsurf/; revision=12792
2011-09-13 16:56:59 +00:00
Chris Young
715a753810 updated kb shortcuts (credit: samir)
svn path=/trunk/netsurf/; revision=12791
2011-09-13 16:42:48 +00:00