Chris Young
f8d46be1af
Fix copying of icon
...
svn path=/trunk/netsurf/; revision=11831
2011-02-26 20:51:10 +00:00
Chris Young
b0635ea5dd
Rename confusingly-named file; Remove about from unsupported protocols, as will never
...
reach this code now.
svn path=/trunk/netsurf/; revision=11829
2011-02-26 17:38:43 +00:00
Chris Young
6eb8783632
Less ridiculous time calculation
...
svn path=/trunk/netsurf/; revision=11826
2011-02-26 12:54:56 +00:00
Chris Young
8bda9725b8
Very basic resource selection (resource: simply points to PROGDIR:Resources)
...
svn path=/trunk/netsurf/; revision=11781
2011-02-23 23:29:24 +00:00
Chris Young
eb338c3c89
Updates required to build with previous commit
...
svn path=/trunk/netsurf/; revision=11780
2011-02-23 23:15:12 +00:00
Chris Young
124de0c84a
Disable fast scrolling for scaled contents for now
...
svn path=/trunk/netsurf/; revision=11779
2011-02-23 23:11:26 +00:00
Vincent Sanders
0231675abf
add resource handling
...
move gtk and framebuffer to use generic resource handling
svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Chris Young
b49669d17e
Get filename from core
...
svn path=/trunk/netsurf/; revision=11771
2011-02-23 18:45:08 +00:00
Chris Young
2668db2024
Fix compilation
...
svn path=/trunk/netsurf/; revision=11730
2011-02-20 18:06:56 +00:00
Michael Drake
9e8476f27f
Port Amiga front end to thumbnail_redraw().
...
Set maximum plot size for thumbnail.
Don't redraw any more of the content than we need to.
Set plot scale to thumbnail scale.
Note: untested.
svn path=/trunk/netsurf/; revision=11728
2011-02-20 17:11:07 +00:00
Michael Drake
a66575dfeb
Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
...
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Chris Young
0ca3e6e00e
Get one timer message per signal to allow other non-scheduled events to be actioned.
...
This fixes a curious pause upon starting NetSurf.
svn path=/trunk/netsurf/; revision=11713
2011-02-19 20:01:11 +00:00
Chris Young
3123192dfc
Move timer.device stuff to schedule.c
...
svn path=/trunk/netsurf/; revision=11712
2011-02-19 17:19:38 +00:00
Chris Young
6bced73998
Modify scheduler to use a binary heap (using libpbl).
...
Scheduled events are now in event time order, so schedule_run simply takes the top
event off the heap and runs it (if we're polling, rather than having received a signal
that the next event is due to be run, we check first that we have passed the scheduled
time).
This should provide performance benefits as we are no longer trawling the entire list
of scheduled events (potentially hundreds) every time an event is signalled or the
schedule list is polled.
svn path=/trunk/netsurf/; revision=11703
2011-02-16 21:29:39 +00:00
Chris Young
7d03e1f969
New tabs should show the homepage
...
svn path=/trunk/netsurf/; revision=11701
2011-02-16 19:14:48 +00:00
Michael Drake
94e7b44ebc
Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
...
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
5cefc9584a
Pass clip rect to browser_window_redraw as pointer.
...
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Chris Young
db2f823e99
Don't clear window before redraw or blit if the redraw didn't complete
...
svn path=/trunk/netsurf/; revision=11669
2011-02-13 19:59:32 +00:00
Chris Young
5487b42cb7
Fix clip parameters, plain text scrolling now works
...
svn path=/trunk/netsurf/; revision=11650
2011-02-12 10:54:41 +00:00
Chris Young
da130ad67d
port to new api
...
svn path=/trunk/netsurf/; revision=11649
2011-02-12 10:39:21 +00:00
Chris Young
c247d54fb5
Port to browser_window_redraw()
...
- Scrolling text contents only shows the initial screenful
- Fast-scrolling HTML while scaled does not work properly (this is an old issue)
svn path=/trunk/netsurf/; revision=11646
2011-02-11 19:03:01 +00:00
Chris Young
bc2bce8d35
Web search text selection
...
svn path=/trunk/netsurf/; revision=11638
2011-02-09 22:16:11 +00:00
Chris Young
4703d643f5
Fix some long-standing issues with events not getting captured, make sure the
...
timer.device version of the scheduler is working and make it the default.
svn path=/trunk/netsurf/; revision=11637
2011-02-09 21:52:28 +00:00
John Mark Bell
86c2948eb4
Fix copying text/plain to clipboard
...
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Chris Young
b1662d0b09
Fix colour setting. GetRGB32 seems to have been designed for some futuristic 96bpp
...
display device.
svn path=/trunk/netsurf/; revision=11554
2011-01-30 22:57:56 +00:00
Chris Young
8895e0a0bc
Kiosk mode now fills screen every time
...
svn path=/trunk/netsurf/; revision=11544
2011-01-30 22:15:16 +00:00
Chris Young
2cc738f2f0
Pick the CSS system colours from the pens in the screen DrawInfo table, and force
...
repicking them if the screen changes.
Think these are right - some of the CSS descriptions are a bit ambiguous.
svn path=/trunk/netsurf/; revision=11532
2011-01-30 17:30:32 +00:00
Vincent Sanders
fbb1139214
add default system colour handlers to each frontend
...
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Chris Young
037e208299
Create a new FTP launch-handler as well.
...
svn path=/trunk/netsurf/; revision=11466
2011-01-23 17:59:57 +00:00
Daniel Silverstone
699f0cb344
Make the tree icon dir a non-option
...
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
Chris Young
4f75b67cdd
Copy correct libxml
...
svn path=/trunk/netsurf/; revision=11269
2011-01-09 16:41:17 +00:00
John Mark Bell
6b544e94b9
Include OS3 support header
...
svn path=/trunk/netsurf/; revision=11259
2011-01-08 23:00:33 +00:00
Chris Young
7cde13feee
Partially support 8-bit icons for superimpose
...
Fix memory leak
svn path=/trunk/netsurf/; revision=11255
2011-01-08 00:08:47 +00:00
Chris Young
360f20b287
ami_superimpose_favicon isn't dependent on Amiga icon loader
...
svn path=/trunk/netsurf/; revision=11253
2011-01-07 23:47:21 +00:00
Chris Young
8aaa55a5ac
#defines for icon.library v51
...
svn path=/trunk/netsurf/; revision=11252
2011-01-07 23:45:17 +00:00
Chris Young
90fb7362c5
Use base type for gfxbase
...
svn path=/trunk/netsurf/; revision=11249
2011-01-07 18:21:01 +00:00
John Mark Bell
68f8fa1059
Include OS3 support header
...
Squash warning about implicit declaration of free()
svn path=/trunk/netsurf/; revision=11238
2011-01-07 00:14:37 +00:00
John Mark Bell
7f62710772
Include os3support header
...
svn path=/trunk/netsurf/; revision=11236
2011-01-06 23:56:03 +00:00
John Mark Bell
64b26c85a3
More #ifdef __amigaos4__. This is getting a little messy.
...
svn path=/trunk/netsurf/; revision=11235
2011-01-06 23:50:50 +00:00
Chris Young
8cd854cfd5
Define __USE_BASETYPE__, makes thumbnail.c compile again on OS4. GfxBase changes will
...
need to be made to other files in the same manner.
svn path=/trunk/netsurf/; revision=11234
2011-01-06 23:46:50 +00:00
Chris Young
4f8a44af35
Copy correct files
...
svn path=/trunk/netsurf/; revision=11233
2011-01-06 23:45:53 +00:00
John Mark Bell
b27b9fbf58
Fix compilation when WITH_AMIGA_ICON is not defined
...
svn path=/trunk/netsurf/; revision=11232
2011-01-06 23:43:06 +00:00
John Mark Bell
bcc0c0fde9
Make thumbnail.c compile for AmigaOS3
...
svn path=/trunk/netsurf/; revision=11231
2011-01-06 23:34:56 +00:00
John Mark Bell
d83f683e96
Sprinkle some #ifdef __amigaos4__ around
...
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
John Mark Bell
b5e989487c
AmigaOS 3 support
...
svn path=/trunk/netsurf/; revision=11229
2011-01-06 23:05:00 +00:00
John Mark Bell
d235d53dfc
Fix include directive -- case matters now
...
svn path=/trunk/netsurf/; revision=11225
2011-01-06 01:16:11 +00:00
Chris Young
426afc91e1
Disable IFrames by default as they are a pop-up nightmare
...
svn path=/trunk/netsurf/; revision=11207
2011-01-04 22:34:04 +00:00
John Mark Bell
2a29877374
Add iconv to the link flags
...
svn path=/trunk/netsurf/; revision=11161
2010-12-30 01:50:02 +00:00
John Mark Bell
625b59f61a
First pass of AmigaOS 3 compatibility
...
svn path=/trunk/netsurf/; revision=11155
2010-12-30 00:53:11 +00:00
John Mark Bell
8a2247b3b3
Squash some warnings, don't attempt to free data we don't own
...
svn path=/trunk/netsurf/; revision=11154
2010-12-30 00:48:09 +00:00
John Mark Bell
27b00696a3
Back out r11152 -- we're going to do this differently
...
svn path=/trunk/netsurf/; revision=11153
2010-12-30 00:33:18 +00:00
John Mark Bell
71fb6f282b
Sprinkle some _t suffixes around
...
svn path=/trunk/netsurf/; revision=11152
2010-12-29 23:20:04 +00:00
John Mark Bell
e08872d7b3
Squash warning
...
svn path=/trunk/netsurf/; revision=11151
2010-12-29 23:10:25 +00:00
John Mark Bell
2d7144103c
First cut at cross compilation support for the Amiga frontend
...
svn path=/trunk/netsurf/; revision=11149
2010-12-29 21:26:45 +00:00
James Bursa
841b458f7a
Add LOG() to warn_user().
...
svn path=/trunk/netsurf/; revision=11122
2010-12-26 18:51:24 +00:00
Chris Young
2d54d7f798
Pass space down to ami_add_to_clipboard
...
svn path=/trunk/netsurf/; revision=11116
2010-12-20 19:06:57 +00:00
Chris Young
699cf4ed10
Don't show a drag icon for text selection
...
svn path=/trunk/netsurf/; revision=11105
2010-12-20 00:21:47 +00:00
Chris Young
ec1e826e3b
Squash warning
...
svn path=/trunk/netsurf/; revision=11101
2010-12-19 17:33:16 +00:00
Chris Young
87592394cf
Prefill incorrect login details
...
svn path=/trunk/netsurf/; revision=11100
2010-12-19 17:18:17 +00:00
Chris Young
60e8d57209
Dynamically enable/disable buttons and menus
...
svn path=/trunk/netsurf/; revision=11098
2010-12-19 12:49:41 +00:00
Chris Young
3d62709e60
Allow snapshotting of treeview windows
...
svn path=/trunk/netsurf/; revision=11096
2010-12-19 12:04:35 +00:00
Chris Young
de5cbf9ee4
Make drag scrolls work more reliably and only within 10px of render area
...
svn path=/trunk/netsurf/; revision=11093
2010-12-18 23:34:56 +00:00
Chris Young
00a18370e0
Stop empty mouse events being reported, remove spurious extra button presses
...
svn path=/trunk/netsurf/; revision=11091
2010-12-17 20:30:50 +00:00
Chris Young
96cb4b40e7
Allow double-clicks in main browser and middle button double-clicks in treeview
...
svn path=/trunk/netsurf/; revision=11083
2010-12-16 23:28:33 +00:00
Chris Young
ddd677e72a
Copy shared libraries too
...
svn path=/trunk/netsurf/; revision=11082
2010-12-16 23:04:30 +00:00
Vincent Sanders
60c840628f
Small refactor to change icon names to being passed in from frontends instead of core treeview globals
...
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +00:00
Michael Drake
1a1bf3d2f0
Purge Aliases file stuff.
...
svn path=/trunk/netsurf/; revision=10982
2010-12-04 20:19:17 +00:00
Michael Drake
5eaeaed909
Remove Hubbub and Wapcaplet initialisation and finalisation.
...
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +00:00
Chris Young
ddd54f7820
Schoolboy error. When editing things for testing, remember to change them back.
...
svn path=/trunk/netsurf/; revision=10954
2010-12-04 10:36:04 +00:00
Chris Young
c14f335454
Fix serious crash if NetSurf is running twice (once with the FORCE switch) on a
...
NetSurf-created public screen, and the sessions are quit in the reverse order to which
they were launched.
svn path=/trunk/netsurf/; revision=10950
2010-11-21 23:30:35 +00:00
Chris Young
d76e1898ee
Fix copy of icon
...
svn path=/trunk/netsurf/; revision=10946
2010-11-20 11:06:55 +00:00
Chris Young
d27952c359
Update to newer libcurl, avoids libssl conflicts (credit: MickJT)
...
svn path=/trunk/netsurf/; revision=10943
2010-11-10 22:45:34 +00:00
Chris Young
c7056817d0
Tweak package, use newer libssl
...
svn path=/trunk/netsurf/; revision=10941
2010-11-07 18:33:26 +00:00
Chris Young
ce83680b4d
Fix crash on multi-select drags
...
svn path=/trunk/netsurf/; revision=10940
2010-11-03 22:21:54 +00:00
Chris Young
ea57818977
Show correct drag icons
...
svn path=/trunk/netsurf/; revision=10939
2010-11-03 21:00:07 +00:00
Chris Young
afd0dbcfad
Add libvpx.so.0.9.5
...
svn path=/trunk/netsurf/; revision=10938
2010-11-03 19:12:14 +00:00
Chris Young
1a8d6dc477
Remove libhpdf.so (as pdf export disabled currently) and libvpx.so (as we have to
...
static link due to unspecified problems). Clear up the commented-out list of shared
objects.
svn path=/trunk/netsurf/; revision=10934
2010-11-02 19:48:50 +00:00
Chris Young
05309eb1c2
NetSurf drawer icon (credit: Martin Merz)
...
svn path=/trunk/netsurf/; revision=10932
2010-11-01 19:18:40 +00:00
Chris Young
634e9c491a
Keyboard shortcut section (credit: Samir Hawamdeh)
...
svn path=/trunk/netsurf/; revision=10930
2010-10-31 15:41:21 +00:00
Chris Young
001b401890
Support ColourIcons
...
svn path=/trunk/netsurf/; revision=10928
2010-10-31 11:14:26 +00:00
Chris Young
e5c144af95
Previous commit should have all gone to trunk
...
svn path=/trunk/netsurf/; revision=10926
2010-10-30 14:30:26 +00:00
Chris Young
835d033e7b
Amiga icon loader. Treeviews will now use the user's icons for content types.
...
svn path=/trunk/netsurf/; revision=10925
2010-10-30 14:23:38 +00:00
Chris Young
22c31c6349
Drag icon code
...
svn path=/trunk/netsurf/; revision=10924
2010-10-30 11:21:38 +00:00
Chris Young
25a0abf30e
missing header
...
svn path=/trunk/netsurf/; revision=10923
2010-10-30 11:21:19 +00:00
Chris Young
078ff2fd51
Move drag icon stuff to own file; fix warnings
...
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young
d185dc310a
Allow drags of URLs from treeview windows to browser windows.
...
svn path=/trunk/netsurf/; revision=10921
2010-10-30 10:44:44 +00:00
Chris Young
d250c43e4f
Fix content icons in treeviews
...
svn path=/trunk/netsurf/; revision=10918
2010-10-29 18:05:48 +00:00
Chris Young
25e9b79f5c
Allow getting the tree's drag property. This ensures we can see whether the current
...
drag is something we might need to display an icon for.
svn path=/trunk/netsurf/; revision=10917
2010-10-29 17:40:36 +00:00
Vincent Sanders
802f58f10d
Futher simplification of the makefile
...
Use target makefiles to set build sources
svn path=/trunk/netsurf/; revision=10916
2010-10-29 00:54:27 +00:00
Chris Young
338e39e167
Add an error message if GetVideo is not installed. Use v0.27's new "ask" function
...
instead of assuming the user wants to save.
svn path=/trunk/netsurf/; revision=10914
2010-10-28 19:21:58 +00:00
Vincent Sanders
72cf3adc78
Beginning of NetSurf build infrastructure cleanup
...
Provide makefile fragment for each target, isolates the target makefile changes into one place simplifying the top level makefile
svn path=/trunk/netsurf/; revision=10910
2010-10-27 18:39:24 +00:00
Chris Young
c07c79cc5e
Don't feed negative values to the scroller
...
svn path=/trunk/netsurf/; revision=10909
2010-10-25 17:26:34 +00:00
Chris Young
00434615ed
Selection drags now use clipboard unit 1 instead of 0. This stops the user's
...
clipboard being unexpectedly changed.
svn path=/trunk/netsurf/; revision=10905
2010-10-24 18:07:11 +00:00
Chris Young
bdf3c32f44
Only allow auto-scroll on selection and selection drags
...
svn path=/trunk/netsurf/; revision=10904
2010-10-24 17:51:00 +00:00
Chris Young
5d40458ad5
Auto-scroll on drags beyond window boundaries
...
svn path=/trunk/netsurf/; revision=10894
2010-10-19 22:22:03 +00:00
Chris Young
dd067c9fba
Clear bitmap before redrawing tree
...
svn path=/trunk/netsurf/; revision=10893
2010-10-17 13:15:27 +00:00
Chris Young
5738a8f342
Use function instead of directly calling DTM_WRITE
...
svn path=/trunk/netsurf/; revision=10879
2010-10-10 09:30:22 +00:00
Chris Young
d16e3161ad
Fix full Cairo build
...
svn path=/trunk/netsurf/; revision=10878
2010-10-10 09:24:19 +00:00
Chris Young
409b3ef879
Fix menu shortcuts
...
svn path=/trunk/netsurf/; revision=10870
2010-10-07 22:38:27 +00:00
Chris Young
229b853ba4
Less ambiguous wording; update bug reporting options
...
svn path=/trunk/netsurf/; revision=10869
2010-10-07 19:28:00 +00:00
Chris Young
e4fa546c1a
Copy icons to theme dir
...
svn path=/trunk/netsurf/; revision=10867
2010-10-06 17:55:46 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Chris Young
fb75227b77
Simplify detection of valid filetypes for ASL
...
svn path=/trunk/netsurf/; revision=10861
2010-10-03 22:34:29 +00:00
Chris Young
c0b63c111b
WebP image support, needs libwebp (from trunk/libwebp) and libvpx.
...
Only enabled for Amiga build currently, may have colour issues on little-endian CPUs
svn path=/trunk/netsurf/; revision=10860
2010-10-03 20:41:31 +00:00
Chris Young
c46e0e6015
Ensure kiosk_mode and frame windows are (a) handled the same wrt menus and (b) not
...
trying to manipulate non-existant menus
svn path=/trunk/netsurf/; revision=10855
2010-09-28 18:03:03 +00:00
Chris Young
6e1639a032
Change "cache native bitmaps" default back to 0. The userbase's graphics cards are
...
worse than anticipated.
svn path=/trunk/netsurf/; revision=10853
2010-09-28 16:54:39 +00:00
Chris Young
40a530e99e
Fix OS4 static (non-Cairo) build
...
svn path=/trunk/netsurf/; revision=10808
2010-09-21 17:58:30 +00:00
Chris Young
6124966ab9
Revert previous change
...
svn path=/trunk/netsurf/; revision=10800
2010-09-19 12:58:25 +00:00
Chris Young
f3bf62bdbb
Try to avoid corruption when moving cursor around in text boxes
...
svn path=/trunk/netsurf/; revision=10799
2010-09-19 12:38:23 +00:00
Chris Young
300d094f2f
Remove unused #include
...
svn path=/trunk/netsurf/; revision=10795
2010-09-17 23:31:15 +00:00
Chris Young
86b6535b85
Prevent assert on non-HTML contents
...
svn path=/trunk/netsurf/; revision=10789
2010-09-16 20:55:25 +00:00
Chris Young
883c738c0a
Stop launch-handler from reporting unknown protocols more than once
...
svn path=/trunk/netsurf/; revision=10760
2010-09-12 11:29:58 +00:00
Chris Young
c0332c4394
Use core file fetcher
...
svn path=/trunk/netsurf/; revision=10759
2010-09-12 10:23:12 +00:00
John Mark Bell
2077918805
Merge branches/vince/netsurf-file-fetcher to trunk
...
r=jmb
svn path=/trunk/netsurf/; revision=10750
2010-09-09 21:45:59 +00:00
Chris Young
73db706295
Revert accidental change which was causing corruption down the right-hand side of
...
images
svn path=/trunk/netsurf/; revision=10723
2010-08-30 12:25:38 +00:00
Chris Young
4479da540f
Debug plotters. It appears that the odd slowness on some sites (eg. sourceforge.net)
...
can be eliminated by setting option_cache_bitmaps to 2, so make that the default.
svn path=/trunk/netsurf/; revision=10722
2010-08-30 11:00:24 +00:00
Chris Young
af36d00066
Alias W for WINDOW and T for TAB.
...
Add documentation on ARexx startup/shutdown scripts
svn path=/trunk/netsurf/; revision=10720
2010-08-28 23:48:33 +00:00
Chris Young
b3a3988ff0
Add startup and shutdown ARexx scripts (default to startup.nsrx and shutdown.nsrx)
...
Remove PROGDIR: from arexx_dir default as AM_EXECUTE can't find files in PROGDIR:
svn path=/trunk/netsurf/; revision=10719
2010-08-28 23:46:08 +00:00
Chris Young
890e7b2b46
Add ARexx commands CLOSE (close window/tab) and ACTIVE (current window/tab number to
...
pass to other ARexx commands)
Add CloseTabs.nsrx script to close all tabs in the current window except the active
one
svn path=/trunk/netsurf/; revision=10718
2010-08-28 22:44:35 +00:00
Chris Young
78401298b1
Avoid libjpeg version conflicts
...
svn path=/trunk/netsurf/; revision=10711
2010-08-24 19:44:12 +00:00
Chris Young
9c5c03848b
Absolute path for theme location
...
svn path=/trunk/netsurf/; revision=10710
2010-08-19 17:01:50 +00:00
Michael Drake
30880797c7
Remove todo comment for something already done.
...
svn path=/trunk/netsurf/; revision=10705
2010-08-14 16:29:26 +00:00
Chris Young
791bc50789
Fix some edit menu probs
...
svn path=/trunk/netsurf/; revision=10684
2010-08-08 09:23:34 +00:00
Chris Young
0a70f6ede1
Correct font name
...
svn path=/trunk/netsurf/; revision=10683
2010-08-06 17:29:57 +00:00
Chris Young
294a55ad4d
off by one
...
svn path=/trunk/netsurf/; revision=10673
2010-07-31 11:43:25 +00:00
Chris Young
0522be76ab
Add option to control whether drags have icons or just a pointer change.
...
svn path=/trunk/netsurf/; revision=10672
2010-07-29 21:41:25 +00:00
Chris Young
95a6de5f7e
Show an icon under the pointer for drag saves (missed from previous commit)
...
svn path=/trunk/netsurf/; revision=10671
2010-07-28 21:33:51 +00:00
Chris Young
b6b86e8acc
Show an icon under the pointer for drag save operations. Might need disabling under
...
4.0.
svn path=/trunk/netsurf/; revision=10670
2010-07-28 21:33:16 +00:00
Chris Young
acf46e01a8
Allow text selection dragging across (NetSurf) windows. DisplayBeep if it is dropped
...
somewhere invalid.
svn path=/trunk/netsurf/; revision=10665
2010-07-27 21:41:21 +00:00
Chris Young
7bf81dbf35
Fix clipping for non-HTML contents
...
svn path=/trunk/netsurf/; revision=10664
2010-07-26 19:52:24 +00:00
Chris Young
da25adcdfb
ami_easy_clipboard just got easier, and a buffer overrun/memory leak got fixed
...
svn path=/trunk/netsurf/; revision=10662
2010-07-24 20:18:56 +00:00
Chris Young
f7e3254798
Fix menu disable on tab switch and Cut
...
svn path=/trunk/netsurf/; revision=10661
2010-07-24 19:57:27 +00:00
Chris Young
004aee8281
Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
...
selections within NetSurf window to text fields (does not work across windows).
todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back
svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Chris Young
d5b8cf89da
Ensure RC is 0 unless we actually have a fatal error.
...
svn path=/trunk/netsurf/; revision=10659
2010-07-23 17:59:46 +00:00
Chris Young
584cd950be
Allow targetting any window/tab with ARexx commands. Adds new command WINDOWS to find
...
out the number of windows and tabs open. ShowTitles.nsrx is an example of how to use
the new functionality.
svn path=/trunk/netsurf/; revision=10656
2010-07-20 17:20:16 +00:00
Chris Young
a182a36067
More intelligent path concatenation
...
svn path=/trunk/netsurf/; revision=10639
2010-07-14 22:36:04 +00:00
Chris Young
c4600695c5
Fix first time installs in novice mode so the files end up in a directory rather than
...
the root of whichever volume Installer decided to pick.
svn path=/trunk/netsurf/; revision=10633
2010-07-13 23:07:38 +00:00
Chris Young
82af25f4e2
Remove desbug
...
svn path=/trunk/netsurf/; revision=10630
2010-07-11 20:48:06 +00:00
Chris Young
d4c519cc05
Amiga file: URIs now translate the : in device names to / (and back), which conforms
...
better to the spec (: will still work for compatibility, but may have problems). This
fixes a problem with directory browsing.
Directory parent link now uses the full parent path returned by url_parent instead of
one relative to the current directory.
svn path=/trunk/netsurf/; revision=10629
2010-07-11 20:42:06 +00:00
Chris Young
1c48e85ce9
Add commands BACK, FORWARD, HOME and RELOAD to correspond with the buttons on the GUI.
...
svn path=/trunk/netsurf/; revision=10628
2010-07-11 15:34:35 +00:00
Chris Young
f6f1fe1cee
Allow browsing directories. Clicking through from the root of a volume doesn't work
...
(needs some url_to_path translation magic or an #ifdef'd patch in render/directory.c)
and the [..] parent link always points to "file:///" for some reason, but other than
that it works.
svn path=/trunk/netsurf/; revision=10627
2010-07-11 14:55:12 +00:00
Chris Young
d5577b64fa
Missing types
...
svn path=/trunk/netsurf/; revision=10626
2010-07-11 11:07:48 +00:00
Michael Drake
513793a060
Fix inventory file leafname.
...
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
d6eb28d5de
Replace unnecessarily complicated path concatenation with something simpler and
...
easily adaptable to different platform path structures.
svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
Chris Young
d36758ad97
Fix some types
...
If "easy" charset conversion fails, return a copy of the original string.
svn path=/trunk/netsurf/; revision=10580
2010-06-26 16:26:05 +00:00
Chris Young
bd442e3750
Much better conversion of the standard NetSurf icon, courtesy of Marko K. Seppänen
...
svn path=/trunk/netsurf/; revision=10575
2010-06-16 18:40:14 +00:00
Chris Young
9bc784e8d7
More calculation fixes
...
svn path=/trunk/netsurf/; revision=10567
2010-06-06 18:50:48 +00:00
Chris Young
13a4a1633c
Remove scroll positions from ami_do_redraw_limits, fix positional calcs in
...
gui_window_set_scroll
svn path=/trunk/netsurf/; revision=10564
2010-06-05 10:37:02 +00:00
Chris Young
5753d59505
When redrawing part of a page, draw with respect to the position NetSurf believes the
...
scrollbars are in, rather than where they actually are. This resolves an issue with
graphical corruption and animations, when using the scrollbars to scroll the page (the
anim redraw was happening before the event to say the scrollbar had moved was being
received)
svn path=/trunk/netsurf/; revision=10563
2010-06-05 09:59:38 +00:00
Michael Drake
b010a25771
+ Refactor input handling from browser window code into content
...
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Chris Young
c2e7c66ea3
Activate browser window after search, otherwise it doesn't get IntuiTicks events so
...
won't scroll to the search term.
svn path=/trunk/netsurf/; revision=10552
2010-05-16 16:04:40 +00:00
Chris Young
f55c11dbd6
Amiga font code revamped and fixed. Will now fall back to a different font if the
...
character isn't present in the current one, this needs a complete or near-complete
Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected
by NetSurf on startup if none is configured. Japanese websites now display correctly,
along with Japanese characters within Google UK search results etc.
svn path=/trunk/netsurf/; revision=10551
2010-05-06 10:02:58 +00:00
Chris Young
4d6abc7744
Fix assert. This is wrong, needs investigation.
...
svn path=/trunk/netsurf/; revision=10549
2010-05-03 21:45:58 +00:00
Chris Young
d752fd194c
Fix loops reading too many characters
...
svn path=/trunk/netsurf/; revision=10548
2010-05-03 20:57:32 +00:00
Chris Young
77aa68dde5
Purge parserutils
...
svn path=/trunk/netsurf/; revision=10547
2010-05-03 20:49:15 +00:00
Chris Young
048249f71d
Build libparserutils (and NetSurf) against libiconv instead of newlib's iconv.
...
This fixes the bug with lpu's iconv filter causing freezing on OS4 NetSurf. With an
appropriate font (eg. Bitstream Cyberbit) Japanese characters will now display.
Test websites work, but proper Japanese websites cause an assert which may be caused
by amiga/font.c incorrect text size calculations.
svn path=/trunk/netsurf/; revision=10546
2010-05-03 17:58:17 +00:00
Chris Young
17d76ee478
Remove Export tab properly when building without Haru
...
svn path=/trunk/netsurf/; revision=10545
2010-05-03 17:15:03 +00:00
Chris Young
8f9677dfa8
Allow building of AmigaOS4 Cairo and non-Cairo versions of NetSurf in same source tree
...
svn path=/trunk/netsurf/; revision=10544
2010-05-03 17:12:32 +00:00
Chris Young
6e0f8d9a48
Ensure we are using the libpng 1.2 includes, as OS4 Cairo is using a deprecated
...
function which does not exist in libpng 1.4.
svn path=/trunk/netsurf/; revision=10543
2010-05-03 15:12:06 +00:00
Chris Young
04cb7b3ce1
Update 2 SObjs installation (create links for updated libpng and unnecessary clutter
...
for libz)
svn path=/trunk/netsurf/; revision=10537
2010-04-30 22:55:44 +00:00
Chris Young
a3b14f6d98
Fix assert when clicking empty text boxes
...
svn path=/trunk/netsurf/; revision=10531
2010-04-30 17:28:07 +00:00
Daniel Silverstone
5e887908b3
Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
...
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +00:00
John Mark Bell
000e6ad3de
It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
...
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).
svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Chris Young
b579b0deb3
Don't check if the next character is outside the printable string, if it is it'll pick
...
up the NULL terminator anyway.
svn path=/trunk/netsurf/; revision=10523
2010-04-29 23:05:52 +00:00
Chris Young
ce570ddde0
Text kerning
...
svn path=/trunk/netsurf/; revision=10522
2010-04-29 22:30:21 +00:00
Chris Young
c0d7ba762e
More correct font width calculations/placing
...
svn path=/trunk/netsurf/; revision=10518
2010-04-29 19:43:50 +00:00
Chris Young
1f529dc33f
Possibly more accurate text placement
...
svn path=/trunk/netsurf/; revision=10517
2010-04-29 18:22:20 +00:00
Chris Young
4aa363eedc
Change schedule_run to a BOOL as this more standard for platform code.
...
svn path=/trunk/netsurf/; revision=10516
2010-04-29 18:22:04 +00:00
Vincent Sanders
2fd1476f8c
The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
...
Alter the framebuffer schedule_run to return the time untill the next event.
svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
Chris Young
085f6b33ec
Update fonts immediately after requester use/save
...
svn path=/trunk/netsurf/; revision=10511
2010-04-28 22:34:15 +00:00
Chris Young
d6aae5876f
Don't list unvisited pages
...
svn path=/trunk/netsurf/; revision=10510
2010-04-28 22:21:30 +00:00
Chris Young
a93fa04a93
Ensure ami_remove_timer_event code doesn't get executed unless necessary.
...
svn path=/trunk/netsurf/; revision=10509
2010-04-28 22:19:10 +00:00
Chris Young
74647b752d
Reformat all tabs when window size changes
...
svn path=/trunk/netsurf/; revision=10504
2010-04-27 22:40:28 +00:00
Chris Young
a2c1afcc32
Custom version of SearchEngines file rather than modifying it during installation
...
(fixes crash with Installer)
svn path=/trunk/netsurf/; revision=10484
2010-04-25 20:17:51 +00:00
Chris Young
5fdd51d907
Remove SearchEngines link
...
svn path=/trunk/netsurf/; revision=10483
2010-04-25 20:16:05 +00:00
Chris Young
7eb3167ce3
Custom version of SearchEngines file rather than modifying it during installation
...
(fixes crash with Installer)
svn path=/trunk/netsurf/; revision=10482
2010-04-25 19:06:21 +00:00
Chris Young
311a79591c
Don't show export options if PDF export disabled. Use options if present.
...
svn path=/trunk/netsurf/; revision=10480
2010-04-25 10:31:52 +00:00
Chris Young
90079085bb
Ensure menu state is correct when switching tabs
...
svn path=/trunk/netsurf/; revision=10476
2010-04-24 19:05:53 +00:00
Chris Young
ed8759c2f2
Avoid errors running makepackage
...
fitr was written by me, and included for convenience (the install script needs it).
There are no distribution restrictions when using it wrt the OS4 version of NetSurf.
See http://www.unsatisfactorysoftware.co.uk/fitr
svn path=/trunk/netsurf/; revision=10475
2010-04-24 16:36:45 +00:00
Chris Young
695af237a9
Use our ca-bundle by default, rather than one in devs: which may not exist
...
svn path=/trunk/netsurf/; revision=10456
2010-04-22 18:33:29 +00:00
Chris Young
c1aaeae9b7
Correct indices for disabled items
...
svn path=/trunk/netsurf/; revision=10455
2010-04-22 18:32:59 +00:00
Chris Young
f373777dab
Ensure that a default CSS icon is present
...
svn path=/trunk/netsurf/; revision=10424
2010-04-17 23:12:14 +00:00
Chris Young
98b690a900
Fix file://localhost/ handling
...
svn path=/trunk/netsurf/; revision=10422
2010-04-17 10:43:12 +00:00
John Mark Bell
9c1ff9fbc1
Fixup Amiga frontend
...
svn path=/trunk/netsurf/; revision=10410
2010-04-16 20:36:29 +00:00
Chris Young
eb19a649e7
Fix crash in kiosk mode
...
svn path=/trunk/netsurf/; revision=10369
2010-04-11 19:57:06 +00:00
Chris Young
2bcf632973
Freeing the local charset version once we've finished with it is a good idea too.
...
svn path=/trunk/netsurf/; revision=10345
2010-04-10 19:39:40 +00:00
Chris Young
704e7c8d44
Show warning messages in correct charset
...
svn path=/trunk/netsurf/; revision=10344
2010-04-10 19:37:13 +00:00
Chris Young
e2225502e9
Avoid crash
...
svn path=/trunk/netsurf/; revision=10343
2010-04-10 19:36:53 +00:00
Chris Young
b6937419e1
Fix broken event handling.
...
Any structures attached to the window_list *must* have a struct nsObject * as their
first entry, and handle events outside of gui.c.
svn path=/trunk/netsurf/; revision=10332
2010-04-09 22:38:51 +00:00
Daniel Silverstone
6c9e4bea8e
Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in llcachec.
...
svn path=/trunk/netsurf/; revision=10300
2010-04-08 12:16:52 +00:00
Michael Drake
f310569df4
Calling a hlcache_handle "content" is confusing.
...
svn path=/trunk/netsurf/; revision=10266
2010-04-07 12:09:38 +00:00
John Mark Bell
2748fe4f64
Make downloads work again.
...
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
Chris Young
3daffe3d6b
Events for these windows are handled by the main loop in gui.c, but the structures
...
didn't match up, thereby causing a crash. Needs tidying up; the global part of these
window structures should be defined separately, and the events handled in dedicated
routines.
svn path=/trunk/netsurf/; revision=10235
2010-04-04 11:15:05 +00:00
Chris Young
6835a312b7
Remove verbose_log from options file
...
Copy libz as I've built 1.2.4 and it has faster gzip code
svn path=/trunk/netsurf/; revision=10230
2010-04-03 10:24:43 +00:00
Chris Young
5bae5edd7b
Use DataTypes to read text files that are dropped into text boxes, this allows more
...
exotic formats to be read such as IFF FTXT.
svn path=/trunk/netsurf/; revision=10229
2010-04-02 16:25:55 +00:00
Chris Young
d927f70ad7
...and right a bit
...
svn path=/trunk/netsurf/; revision=10228
2010-04-02 10:49:18 +00:00
Chris Young
d8da93037a
Move status bar text up a bit...
...
svn path=/trunk/netsurf/; revision=10227
2010-04-02 10:29:20 +00:00
Chris Young
23b4f0996c
Updated AISS style icon by Martin Merz
...
svn path=/trunk/netsurf/; revision=10226
2010-04-01 17:55:34 +00:00