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
Chris Young
049a3eb80a
Fix search icon disappearing when layout size bar dragged
...
svn path=/trunk/netsurf/; revision=12790
2011-09-12 22:38:51 +00:00
Chris Young
6a5b10c685
Convert keypresses to UCS4. Fixes issue with typing Euro symbol (¤). Probably fixes
...
other characters in more exotic character sets.
svn path=/trunk/netsurf/; revision=12789
2011-09-12 21:56:15 +00:00
Chris Young
b2d5492b84
Correct Code2000 address
...
svn path=/trunk/netsurf/; revision=12788
2011-09-11 18:09:46 +00:00
Chris Young
f5d91344b7
Change option to get accepted languages from Locale into a checkbox so it updates at
...
startup
svn path=/trunk/netsurf/; revision=12787
2011-09-11 14:53:33 +00:00
Chris Young
9d952f2ae2
Setting screen signals this late doesn't work, so revert r12486 completely and return
...
to busy-looping (but a bit friendlier this time, waiting 1 second between attempts)
svn path=/trunk/netsurf/; revision=12785
2011-09-10 23:25:49 +00:00
Chris Young
8f09c239af
Initialise bitmap ptr to NULL
...
svn path=/trunk/netsurf/; revision=12780
2011-09-08 19:21:02 +00:00
Chris Young
8e67ad8051
Select fonts, sizes and colours for splash screen text rather than relying on system
...
default
svn path=/trunk/netsurf/; revision=12776
2011-09-07 23:01:53 +00:00
Chris Young
98a0c25344
Use Michael Drake's proper splash screen
...
svn path=/trunk/netsurf/; revision=12773
2011-09-07 18:38:08 +00:00
Chris Young
95dfffb3df
Copy a non-iconv.library version of parserutils into the archive in case anybody wants
...
to save 1MB
svn path=/trunk/netsurf/; revision=12764
2011-09-06 21:37:58 +00:00
Chris Young
8f451932d1
Stop plugin_hack objects crashing when not embedded into a page
...
svn path=/trunk/netsurf/; revision=12763
2011-09-06 21:03:36 +00:00
Chris Young
0f79ab2c19
Avoid button flicker
...
svn path=/trunk/netsurf/; revision=12761
2011-09-06 20:58:26 +00:00
Chris Young
d225054ecf
Swap position of context menu and behaviour options
...
svn path=/trunk/netsurf/; revision=12760
2011-09-06 20:49:48 +00:00
Michael Drake
0401d52f51
Remove gui_window_frame_resize_start() functions.
...
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
ffeb8bc389
Delete some dead frames stuff.
...
svn path=/trunk/netsurf/; revision=12723
2011-09-05 09:53:54 +00:00
Chris Young
330227d87a
Remove more checks for browser_window_type
...
svn path=/trunk/netsurf/; revision=12719
2011-09-04 22:35:11 +00:00
Chris Young
985bf9e191
Remove browser_window type from ami_create_menu()
...
Remove DrawInfo too, as only there for image menus which never worked.
svn path=/trunk/netsurf/; revision=12718
2011-09-04 22:26:24 +00:00
Michael Drake
235bc41941
Fix indentation.
...
svn path=/trunk/netsurf/; revision=12714
2011-09-04 18:53:54 +00:00
Michael Drake
202f972199
Delete a whole bunch of redundant tests for browser_window_type. Front ends now only ever have any connection to browser windows of type BROWSER_WINDOW_NORMAL. Still a couple of uses in there; ami_menu_create() shouldn't need take a browser_window_type param now.
...
svn path=/trunk/netsurf/; revision=12713
2011-09-04 18:50:46 +00:00
Michael Drake
5be6bd452d
Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
...
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
John Mark Bell
9ee4f6146e
Remove mime_type parameter from content handler content_type callback API
...
svn path=/trunk/netsurf/; revision=12704
2011-09-03 09:27:42 +00:00
John Mark Bell
4539f8836e
Squash compiler warnings
...
svn path=/trunk/netsurf/; revision=12703
2011-09-02 22:10:20 +00:00
John Mark Bell
a54b88fc90
Add missing include
...
svn path=/trunk/netsurf/; revision=12702
2011-09-02 22:09:37 +00:00
John Mark Bell
4b189ab0bc
Squash warnings resulting from mismatched type expectations
...
svn path=/trunk/netsurf/; revision=12701
2011-09-02 22:09:23 +00:00
John Mark Bell
f233d41f26
Fix erroneous API usage
...
svn path=/trunk/netsurf/; revision=12700
2011-09-02 22:07:07 +00:00
John Mark Bell
23c336cba9
Search for librosprite when cross compiling for Amiga platforms
...
svn path=/trunk/netsurf/; revision=12699
2011-09-02 20:42:42 +00:00
Chris Young
25fea2721d
Avoid calling AllocSignal() until the last minute, as it causes PM_OPEN to initiate
...
an Intuition or Input deadlock.
Re-enable context menus as they are now safe.
Remove sticky context menus option as this can be set in GUI prefs as a global option.
svn path=/trunk/netsurf/; revision=12698
2011-09-02 17:31:47 +00:00
Chris Young
1cb60828ea
Don't refresh buttons when enabling/disabling. Fixes bitmap alpha/overprinting
...
problem (thanks to Simon Archer)
svn path=/trunk/netsurf/; revision=12694
2011-08-31 19:53:34 +00:00
Chris Young
b6d7b3cf36
fix build
...
svn path=/trunk/netsurf/; revision=12693
2011-08-31 19:44:25 +00:00
Vincent Sanders
2348b13492
refactor bitmap out of generic content structure
...
svn path=/trunk/netsurf/; revision=12686
2011-08-31 12:12:41 +00:00
Chris Young
cffbd0e9ba
#ifdef this properly
...
svn path=/trunk/netsurf/; revision=12679
2011-08-30 19:32:29 +00:00
Chris Young
935c66cac4
Disable the DataTypes animation handler for now as it doesn't work properly
...
svn path=/trunk/netsurf/; revision=12676
2011-08-29 15:14:45 +00:00
Vincent Sanders
cd554e6f1e
make image content handlers build conditional from teh makefile
...
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
42467f16dd
Don't need to set current_redraw_browser any more.
...
svn path=/trunk/netsurf/; revision=12654
2011-08-24 13:33:58 +00:00
Michael Drake
f3deebaa8e
Amiga changes for core search update (r12646). Note: untested.
...
svn path=/trunk/netsurf/; revision=12650
2011-08-24 12:33:15 +00:00
Chris Young
79268e6d83
use human_friendly_bytesize
...
svn path=/trunk/netsurf/; revision=12619
2011-07-23 15:34:52 +00:00
Chris Young
7f6b694732
Show existing file size when file already exists on download
...
svn path=/trunk/netsurf/; revision=12618
2011-07-23 15:19:27 +00:00
Chris Young
9cd5974868
Fill in conspiciusly-empty else; fix warnings
...
svn path=/trunk/netsurf/; revision=12617
2011-07-23 14:10:01 +00:00
Chris Young
39e5c04da7
Fix warnings
...
svn path=/trunk/netsurf/; revision=12616
2011-07-23 14:06:13 +00:00
Chris Young
cd21f4035f
Fix ASL hook function
...
svn path=/trunk/netsurf/; revision=12615
2011-07-23 14:05:08 +00:00
Chris Young
11b3bb228a
Correct aspect ratio correctly and support widescreen displays
...
svn path=/trunk/netsurf/; revision=12607
2011-07-17 14:48:19 +00:00
Chris Young
31d1313944
Ensure buttons update (stop button activates) when new URL starts to load
...
svn path=/trunk/netsurf/; revision=12606
2011-07-16 13:53:22 +00:00
Michael Drake
3651831963
Fix up Amiga front end.
...
svn path=/trunk/netsurf/; revision=12601
2011-07-13 13:38:38 +00:00
Michael Drake
ed8778ddb3
Fix up Amiga for r12574 API change.
...
svn path=/trunk/netsurf/; revision=12575
2011-07-06 12:42:17 +00:00
Chris Young
b1e425a967
Correctly select FILLPEN or FOREGROUNDPEN for scroller knob colour
...
svn path=/trunk/netsurf/; revision=12569
2011-07-03 18:20:18 +00:00
Chris Young
d253daa020
Pick scroller gadget colours from the screen's DrawInfo pens
...
svn path=/trunk/netsurf/; revision=12568
2011-07-03 17:22:23 +00:00
Chris Young
4e65935385
Fix an issue with GETTITLE returning an incorrect string on occasion
...
Fix warnings
svn path=/trunk/netsurf/; revision=12566
2011-07-03 15:01:56 +00:00
Chris Young
b6cc0550cd
Don't crash when freeing diskobject
...
svn path=/trunk/netsurf/; revision=12565
2011-07-03 11:54:43 +00:00
Chris Young
9d30f67d54
Fix AppIcons for non-HTML contents
...
svn path=/trunk/netsurf/; revision=12564
2011-07-03 11:47:54 +00:00
Chris Young
aa8e6de67d
Make AmiDock icon behave a little more sensibly when all windows are iconified.
...
svn path=/trunk/netsurf/; revision=12563
2011-07-03 11:20:00 +00:00
Chris Young
e3447be7a3
Iconfication; only enabled when running on WB screen at present
...
svn path=/trunk/netsurf/; revision=12562
2011-07-03 11:05:18 +00:00
Chris Young
bb7408a56e
When opening new tabs next to the active one, open them sequentially until the tab is
...
switched away from. This is more akin to how Firefox etc do it. Make this the
default.
svn path=/trunk/netsurf/; revision=12561
2011-07-02 22:40:45 +00:00
Chris Young
18ca27a56f
Don't prompt for build selection if there is no static build present
...
svn path=/trunk/netsurf/; revision=12560
2011-07-02 22:21:20 +00:00
Chris Young
bdc0d994c1
Add an option to open new tabs next to the current tab. Needs some additional logic
...
as opening multiple tabs results in the new tabs being in reverse order to that
expected.
svn path=/trunk/netsurf/; revision=12559
2011-07-02 22:04:51 +00:00
Chris Young
910c6d314f
Put a search icon where the old search favicon was
...
svn path=/trunk/netsurf/; revision=12558
2011-07-02 19:38:54 +00:00
Chris Young
b415e6dabc
Update to new API
...
svn path=/trunk/netsurf/; revision=12557
2011-07-02 17:41:25 +00:00
Chris Young
4147c185c8
When launching multiple URLs from a treeview, allow to open one window with multiple
...
tabs instead of one window per URL. Make compatible frontends do this by default.
svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Chris Young
e9d4b68e28
Formatting changes
...
svn path=/trunk/netsurf/; revision=12549
2011-06-30 19:25:03 +00:00
Chris Young
6fd47035c1
Fix compilation
...
svn path=/trunk/netsurf/; revision=12547
2011-06-30 18:58:52 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
8577895dc1
Fix up amiga content handlers.
...
svn path=/trunk/netsurf/; revision=12541
2011-06-29 08:33:28 +00:00
Chris Young
079c138721
Update shortcuts
...
svn path=/trunk/netsurf/; revision=12527
2011-06-28 17:50:07 +00:00
Michael Drake
2bedf4d88f
Frond ends signal end of drag with call to browser_window_mouse_track.
...
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Chris Young
f747bbb79e
Shortcut backspace = go back one page in history
...
svn path=/trunk/netsurf/; revision=12506
2011-06-25 16:00:02 +00:00
Michael Drake
dea7683985
Remove gui_window_set_scale().
...
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
...
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Chris Young
93941435b8
Decouple context menus from gui_window, ensure they get disposed on exit
...
svn path=/trunk/netsurf/; revision=12496
2011-06-23 17:35:35 +00:00
Chris Young
b6b1744b8e
fix memory leak
...
svn path=/trunk/netsurf/; revision=12493
2011-06-19 11:25:59 +00:00
Chris Young
afa2198a16
translate / to - when guessing mime types
...
svn path=/trunk/netsurf/; revision=12492
2011-06-19 11:24:22 +00:00
Chris Young
548e1f2f77
Ensure the WB screen gets unlocked, avoid passing a NULL to CloseScreen
...
svn path=/trunk/netsurf/; revision=12491
2011-06-19 11:16:48 +00:00
Chris Young
e61ad6326a
screen type should be PUBLICSCREEN not CUSTOMSCREEN
...
svn path=/trunk/netsurf/; revision=12490
2011-06-18 17:58:36 +00:00
Chris Young
2dd8fcd6d0
initialise context menus regardless of user's preferences on startup
...
svn path=/trunk/netsurf/; revision=12489
2011-06-18 17:40:27 +00:00
Chris Young
ac4342ca36
missing include
...
svn path=/trunk/netsurf/; revision=12488
2011-06-17 22:49:20 +00:00
Chris Young
1797118cbe
disable context menus until i figure out why they have suddenly started crashing
...
svn path=/trunk/netsurf/; revision=12487
2011-06-17 22:49:01 +00:00
Chris Young
66b52c0af0
Reinstate waiting for visitor windows to close if the public screen could not be
...
closed. Do it properly this time, with signals.
svn path=/trunk/netsurf/; revision=12486
2011-06-16 18:46:43 +00:00
Chris Young
790bdf2e2a
convert from mimetype to filetype rather than simple content type to filetype, where
...
available
svn path=/trunk/netsurf/; revision=12484
2011-06-15 21:53:49 +00:00
Chris Young
26101a1af6
remove zlib update
...
svn path=/trunk/netsurf/; revision=12483
2011-06-15 17:42:01 +00:00
Chris Young
a7c9fbfa04
remove no_iframes
...
svn path=/trunk/netsurf/; revision=12482
2011-06-15 17:40:36 +00:00
Chris Young
dd99b8a461
avoid crash
...
svn path=/trunk/netsurf/; revision=12481
2011-06-15 17:40:12 +00:00
Chris Young
936baddaba
Only show external app context menu item if an external app is actually defined
...
svn path=/trunk/netsurf/; revision=12470
2011-06-09 22:29:46 +00:00
Chris Young
a5d1f01d19
missing double-quotes
...
svn path=/trunk/netsurf/; revision=12468
2011-06-06 22:29:05 +00:00
Chris Young
dee3127d79
Don't modify the DataType name within the structure.
...
Update mimetypes file a bit, add some more descriptive text.
svn path=/trunk/netsurf/; revision=12467
2011-06-06 22:27:10 +00:00
Chris Young
baf3b8e0f3
Sound DataTypes implementation. Currently has no interface, so only
...
autoplay/autoStart objects will play.
svn path=/trunk/netsurf/; revision=12466
2011-06-05 23:07:10 +00:00
Chris Young
6b3955404f
Avoid compiling arexx.c more than necessary
...
svn path=/trunk/netsurf/; revision=12465
2011-06-05 12:37:44 +00:00
Chris Young
b5d8f9b25e
plugin_hack loose ends
...
svn path=/trunk/netsurf/; revision=12464
2011-06-05 11:49:50 +00:00
Chris Young
ed00b6a1e9
Make GUI update when back/forward commands used from ARexx
...
svn path=/trunk/netsurf/; revision=12455
2011-06-03 18:20:56 +00:00
Chris Young
f2ef7ba6ba
up = down and down = up
...
svn path=/trunk/netsurf/; revision=12454
2011-06-03 18:11:19 +00:00
Chris Young
4270e80d7a
Make 4th mouse button go back in history, and 5th go forward. Untested.
...
svn path=/trunk/netsurf/; revision=12453
2011-06-03 18:08:17 +00:00
Chris Young
61138b0133
don't unref pointer
...
svn path=/trunk/netsurf/; revision=12452
2011-05-30 21:06:36 +00:00
Chris Young
0c9ca84e42
Remove ami_datatype_to_mimetype
...
svn path=/trunk/netsurf/; revision=12451
2011-05-30 21:03:57 +00:00
Chris Young
e2ef8df4d7
Guess MIME type from DataType only if there isn't already a valid entry in the list
...
svn path=/trunk/netsurf/; revision=12450
2011-05-30 20:52:31 +00:00
Chris Young
f214d3ecc8
Allow mixing of AmigaOS and NetSurf command line options
...
svn path=/trunk/netsurf/; revision=12449
2011-05-30 18:17:09 +00:00
Chris Young
9397f392c0
Convert the supplied MIME type to the DefIcons type *before* doing the comparison
...
svn path=/trunk/netsurf/; revision=12448
2011-05-30 16:16:48 +00:00
Chris Young
ca8d2c9feb
update variable names
...
svn path=/trunk/netsurf/; revision=12382
2011-05-11 18:34:43 +00:00
Chris Young
45be35677c
Allow users to register external applications for plugin contents, and run from
...
context menu
svn path=/trunk/netsurf/; revision=12381
2011-05-11 18:33:31 +00:00
Chris Young
255c858c43
Restrict Object context submenu to CONTENT_IMAGE
...
svn path=/trunk/netsurf/; revision=12377
2011-05-10 23:10:53 +00:00
Chris Young
8def2d6932
fix copy/paste error
...
svn path=/trunk/netsurf/; revision=12376
2011-05-10 22:09:32 +00:00
Chris Young
38bcb14d77
Migrate to new MIMEtyper
...
svn path=/trunk/netsurf/; revision=12375
2011-05-10 19:32:21 +00:00
Chris Young
2b19c144da
Add function to convert MIME types to DefIcons types, and make ami_mime_compare use it
...
svn path=/trunk/netsurf/; revision=12371
2011-05-10 17:05:31 +00:00
Chris Young
5c95b32756
Fix crashing
...
svn path=/trunk/netsurf/; revision=12362
2011-05-09 22:39:30 +00:00
Chris Young
48be9f6939
Experimental/incomplete/non-functional content handlers (files required for NetSurf to
...
compile from trunk)
svn path=/trunk/netsurf/; revision=12361
2011-05-09 22:14:08 +00:00
Chris Young
1f1fe78c17
New style MIME typing; maps MIME types to DataTypes and DefIcon format names.
...
Currently only able to resolve DataTypes to MIME Types.
TODO:
- DT MIME type guessing needs mostly removing (only use if no matches in mimetypes
file)
- Migrate the rest of filetype.c to the new format (can filetype using icon.library
and reverse lookup MIME type, for example)
- Use to distinguish between CONTENT_IMAGE types
- Simplify so DefIcon type defaults to lowercase DataType name
svn path=/trunk/netsurf/; revision=12360
2011-05-09 22:11:18 +00:00
Vincent Sanders
83f9e707eb
refactor content handler initilisation to use named initialisors
...
svn path=/trunk/netsurf/; revision=12341
2011-05-09 15:32:34 +00:00
Chris Young
034ac2e7f7
Beginnings of some more advanced mimetyping
...
svn path=/trunk/netsurf/; revision=12323
2011-05-08 22:59:48 +00:00
Chris Young
813c115cb5
Remove redraw_tiled
...
svn path=/trunk/netsurf/; revision=12322
2011-05-08 22:18:28 +00:00
Chris Young
f277c59c9a
missing copy
...
svn path=/trunk/netsurf/; revision=12310
2011-05-08 09:56:08 +00:00
Chris Young
0fe71fd58a
Sticky menus shouldn't be default as they are non-standard
...
svn path=/trunk/netsurf/; revision=12309
2011-05-08 09:47:03 +00:00
Chris Young
489c35c5f7
Simple initialisation splash screen
...
svn path=/trunk/netsurf/; revision=12303
2011-05-07 22:21:41 +00:00
Chris Young
27d4350054
Register additional MIME types for DataTypes
...
Default file contains all image MIME Types NetSurf is capable of handling natively
(plus JPEG2000) to ensure disabling features in NetSurf won't lose support.
svn path=/trunk/netsurf/; revision=12287
2011-05-07 11:09:23 +00:00
Chris Young
208363fe2a
Rename DataTypes related code/files/defines to avoid confusion and aid adding support
...
for other DataType classes.
Disable MNG/WebP by default as they aren't common and the required libs are quite
large; DataTypes can handle these formats for now.
svn path=/trunk/netsurf/; revision=12284
2011-05-06 22:42:37 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Chris Young
e77b1a2955
Allow the user to set screen resolution in DPI in preferences
...
svn path=/trunk/netsurf/; revision=12269
2011-05-02 16:18:00 +00:00
Chris Young
da20605385
Correct width of the em-square for non-72dpi settings
...
Fix warnings
svn path=/trunk/netsurf/; revision=12268
2011-05-02 10:33:16 +00:00
Chris Young
08dcfc0c44
Every five minutes, close any fonts not used in the last five minutes
...
svn path=/trunk/netsurf/; revision=12267
2011-05-01 11:59:08 +00:00
Chris Young
37854d1575
Better logging
...
svn path=/trunk/netsurf/; revision=12266
2011-05-01 08:53:51 +00:00
Chris Young
56482725b6
If a designed font is defined but not available, error out
...
svn path=/trunk/netsurf/; revision=12265
2011-05-01 08:49:00 +00:00
Chris Young
11a0284427
Don't open fonts until they are needed
...
svn path=/trunk/netsurf/; revision=12264
2011-04-30 19:05:11 +00:00
Chris Young
003f3537c6
Ensure selection drags to NetSurf text boxes are always UTF-8
...
svn path=/trunk/netsurf/; revision=12263
2011-04-30 11:21:14 +00:00
Chris Young
9f9436bf40
Ensure drags to string gadgets are in local charset
...
svn path=/trunk/netsurf/; revision=12262
2011-04-30 11:11:34 +00:00
Chris Young
ebd0145eaf
Convert _from_ UTF-8 and translate the converted string, not the original
...
svn path=/trunk/netsurf/; revision=12261
2011-04-30 11:05:47 +00:00
Chris Young
7fd6597468
Avoid crash if conversion to local charset fails.
...
Attempt to convert nbsp to normal spaces when converting to local charset for
clipboard
svn path=/trunk/netsurf/; revision=12260
2011-04-30 10:54:02 +00:00
Chris Young
1518543c22
Fix DSI when drag saving
...
Allow selection drags to URL and search gadgets
svn path=/trunk/netsurf/; revision=12259
2011-04-29 18:15:20 +00:00
Chris Young
ae851630ec
Documentation update: softstyles
...
svn path=/trunk/netsurf/; revision=12238
2011-04-25 17:45:32 +00:00
Chris Young
06213b4dd2
Make Y DPI a configurable option. Default is 72 (AmigaOS standard)
...
svn path=/trunk/netsurf/; revision=12237
2011-04-25 17:43:22 +00:00
Chris Young
be16cd70c5
Fix treeview display
...
svn path=/trunk/netsurf/; revision=12233
2011-04-22 17:17:05 +00:00
Chris Young
93d4939787
Logically, this ratio should be x/y not y/x
...
svn path=/trunk/netsurf/; revision=12232
2011-04-22 17:00:27 +00:00
Chris Young
0a24f4dbca
Aspect-corrected font DPI (files missing from previous commit)
...
svn path=/trunk/netsurf/; revision=12231
2011-04-22 16:54:11 +00:00
Chris Young
1bc9a86109
Aspect-corrected font DPI. Needs testing on a mode with non-square pixels and on a
...
widescreen monitor.
svn path=/trunk/netsurf/; revision=12230
2011-04-22 16:48:29 +00:00
Chris Young
83914b9c3e
Set font DPI from nscss_screen_dpi to ensure it is always in sync
...
Reset font DPI when opening screens to allow us to correct for aspect ratio in the
future
svn path=/trunk/netsurf/; revision=12229
2011-04-22 16:06:46 +00:00
Chris Young
b14edfdd5a
Also add softstyle for italics
...
Move the values into defines at the top of the file to make them easier to change
svn path=/trunk/netsurf/; revision=12228
2011-04-22 15:30:16 +00:00
Chris Young
ed5d8d0dba
Use bold softstyle when no designed bold font is defined
...
svn path=/trunk/netsurf/; revision=12225
2011-04-22 14:53:56 +00:00
Chris Young
c737dbd5f8
Use PROGDIR: instead of current dir when setting the path to the executable for
...
AmiUpdate
svn path=/trunk/netsurf/; revision=12223
2011-04-22 13:55:25 +00:00
Chris Young
649e4bc1a0
Script to create a resources dir in the build tree, for running NetSurf from the build
...
tree or running makepackage (which assume a resources dir with the appropriate links
in place)
svn path=/trunk/netsurf/; revision=12175
2011-04-09 21:44:53 +00:00
Chris Young
af0583f8a7
Enable the ask overwrite checkbox so it can actually be changed, correct the gadget ID
...
so it works and swap clipboard and search bar options as it makes the interface look
neater
svn path=/trunk/netsurf/; revision=12139
2011-03-26 22:35:41 +00:00
Chris Young
f832eea7fa
copy documentation
...
svn path=/trunk/netsurf/; revision=12137
2011-03-26 16:59:40 +00:00
Chris Young
757ad3cb02
Remove unused ColorMap to CLUT function
...
svn path=/trunk/netsurf/; revision=12136
2011-03-26 10:36:25 +00:00
Chris Young
14d6826685
Implement ask overwrite
...
svn path=/trunk/netsurf/; revision=12135
2011-03-26 10:33:58 +00:00
Chris Young
9d2699c6dd
Remove "search from url bar" as it doesn't do anything.
...
Move clipboard group into vacated space
svn path=/trunk/netsurf/; revision=12132
2011-03-25 00:34:00 +00:00
Chris Young
1c3ff8db7c
Fix crash when adding to hotlist
...
svn path=/trunk/netsurf/; revision=12129
2011-03-24 19:34:59 +00:00
Chris Young
63416f3332
Use webp.library instead of libwebp.so
...
svn path=/trunk/netsurf/; revision=12117
2011-03-21 19:46:04 +00:00
Chris Young
7ec2cc7f8e
Update to use official libwebp 0.1
...
Remove libvpx references as no longer needed.
svn path=/trunk/netsurf/; revision=12115
2011-03-20 23:32:44 +00:00
Chris Young
dad9306e2a
print caret at scroll position netsurf believes the page is at, rather than where the
...
gui says it is
svn path=/trunk/netsurf/; revision=12108
2011-03-19 22:40:02 +00:00
Chris Young
e8ca07b0dc
Redraw the area under a caret when it is cleared, rather than relying on a potentially
...
out-of-date off-screen copy of what used to be there.
svn path=/trunk/netsurf/; revision=12107
2011-03-19 13:00:45 +00:00
Chris Young
4563b7ea5a
Don't add NetSurf as FTP (launch-)handler.
...
Probably need to document how to add another app to handle FTP though, as it's not
obvious but could be useful.
svn path=/trunk/netsurf/; revision=12104
2011-03-17 23:17:05 +00:00
Chris Young
ef02bcc122
Enable fast scrolling for non-HTML contents
...
svn path=/trunk/netsurf/; revision=12103
2011-03-17 23:13:50 +00:00
Michael Drake
d86e8b49c4
Remove what should now be redundant special casing of text/plain.
...
svn path=/trunk/netsurf/; revision=12099
2011-03-17 18:53:04 +00:00
Michael Drake
a70c32422a
gui_find_resource --> gui_get_resource_url.
...
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +00:00
Chris Young
bc34303758
Localise About req buttons (OK/Credits/Licence)
...
svn path=/trunk/netsurf/; revision=12078
2011-03-16 19:23:24 +00:00
Chris Young
7e64826e60
Move remaining popupmenu.class stuff to context_menu.c, and #ifdef it for
...
__amigaos4__ only.
svn path=/trunk/netsurf/; revision=12077
2011-03-16 18:53:58 +00:00
Chris Young
a81a7b5af2
Only extend the clipping area for plain text contents
...
svn path=/trunk/netsurf/; revision=12063
2011-03-15 18:43:13 +00:00
Chris Young
40896dd3d9
Fix local history redraw
...
svn path=/trunk/netsurf/; revision=12054
2011-03-15 00:08:06 +00:00
Chris Young
3341d97949
give up trying to create fs links as it doesn't work properly either with or
...
without escaping the punctuation...
svn path=/trunk/netsurf/; revision=12053
2011-03-14 23:58:08 +00:00
Chris Young
61f4645733
Add links to missing resources
...
svn path=/trunk/netsurf/; revision=12051
2011-03-14 20:05:07 +00:00
Chris Young
31bb5a16c5
Revert errorneous documentation update
...
svn path=/trunk/netsurf/; revision=12050
2011-03-14 18:56:27 +00:00
Chris Young
1cfc5b8970
More rigourous MIME type checking for CSS allows us to remove the icons from included
...
CSS files.
svn path=/trunk/netsurf/; revision=12049
2011-03-14 18:53:13 +00:00
Chris Young
050eba408d
Avoid crash when no theme is present
...
svn path=/trunk/netsurf/; revision=12047
2011-03-14 18:32:05 +00:00
Chris Young
0fc9da23f6
Check for RISC OS CSS filetype in case we have got redirected (ie. we are running from
...
the SVN tree and using resource: addressing)
svn path=/trunk/netsurf/; revision=12041
2011-03-14 00:33:13 +00:00
Chris Young
262db10204
Avoid crashing on NULL schedule_list
...
svn path=/trunk/netsurf/; revision=12040
2011-03-13 23:20:03 +00:00
John Mark Bell
408f78b737
Move schedule.h to utils/
...
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Chris Young
8c1e6db760
Don't crash if removing events when we have no list
...
svn path=/trunk/netsurf/; revision=12035
2011-03-13 19:52:04 +00:00
Chris Young
6a7402b330
Empty the schedule list before freeing and closing resources
...
svn path=/trunk/netsurf/; revision=12034
2011-03-13 19:43:56 +00:00
Chris Young
d3b8961017
Move timer initialisation for scheduler so netsurf_init can queue scheduled events.
...
svn path=/trunk/netsurf/; revision=12033
2011-03-13 19:26:16 +00:00
Chris Young
9017a03330
Add missing includes; Don't mix TimeVal definitions
...
svn path=/trunk/netsurf/; revision=12032
2011-03-13 19:12:03 +00:00
Chris Young
10a70af7be
Add Credits and Licence buttons to About requester.
...
svn path=/trunk/netsurf/; revision=12031
2011-03-13 18:51:25 +00:00
Chris Young
dd5b65e33b
Search for resources in user's preferred languages, en, and outside the
...
language-specific dirs.
svn path=/trunk/netsurf/; revision=12030
2011-03-13 18:33:57 +00:00
Daniel Silverstone
93e9bfe323
Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
...
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +00:00
Chris Young
c615507e15
Set version using testament.h instead of old ARexx script
...
svn path=/trunk/netsurf/; revision=12028
2011-03-13 17:32:00 +00:00
John Mark Bell
1edcef6141
Remove redundant parameter from content_open API
...
svn path=/trunk/netsurf/; revision=11964
2011-03-10 23:13:03 +00:00
Chris Young
02361309ed
Remove gui_globals scale as no longer needed
...
svn path=/trunk/netsurf/; revision=11962
2011-03-10 20:07:14 +00:00
Chris Young
d12ce6b075
Fix crash when launching NetSurf twice
...
svn path=/trunk/netsurf/; revision=11961
2011-03-10 00:05:37 +00:00
John Mark Bell
60e8bb79ff
Fix up pkg-config package ordering to ensure that libcares appears after libcurl in the link line
...
Link against libauto when cross compiling for AmigaOS4
svn path=/trunk/netsurf/; revision=11957
2011-03-09 22:39:10 +00:00
John Mark Bell
b9885e81ba
Need __USE_INLINE__ and __USE_BASETYPE__ for AmigaOS4
...
Only link against libiconv if building for AmigaOS3
svn path=/trunk/netsurf/; revision=11955
2011-03-09 21:52:53 +00:00
John Mark Bell
3292bffcc8
Squash warning
...
svn path=/trunk/netsurf/; revision=11954
2011-03-09 21:51:49 +00:00
John Mark Bell
1a1c6baf9c
Squash warnings
...
svn path=/trunk/netsurf/; revision=11953
2011-03-09 21:51:32 +00:00
John Mark Bell
ac1ecacb1b
Buildsystem hackery to support cross compiling for AmigaOS4
...
svn path=/trunk/netsurf/; revision=11952
2011-03-09 21:32:54 +00:00
Michael Drake
55fd1d0133
Front ends don't need to call thumbnail_get_redraw_scale() now.
...
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Michael Drake
e073f1c542
Don't scale text plots in front end (Amiga).
...
svn path=/trunk/netsurf/; revision=11939
2011-03-08 18:49:11 +00:00
Chris Young
a88963d82e
Remove -liconv, as we use newlib's implementation and
...
lpu handles opening of iconv itself.
svn path=/trunk/netsurf/; revision=11928
2011-03-06 22:21:38 +00:00
John Mark Bell
de688b59e1
Fix text selection
...
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Chris Young
5ac45472c7
Fix broken CONTENT_PLUGIN API.
...
Add a default content handler for Amiga using the plugin interface, which passes
unknown files (currently images only) through DataTypes.
svn path=/trunk/netsurf/; revision=11924
2011-03-06 13:58:02 +00:00
Chris Young
f892e59d76
Direct rendering. Testing only; has problems with inline image placement, grey
...
background for all text, won't work with Cairo renderer, may crash with certain
gfx lib operations (AreaFill). However, seems to be much faster in 16-bit mode than
off-screen buffered rendering.
svn path=/trunk/netsurf/; revision=11913
2011-03-05 14:36:55 +00:00
Chris Young
912b3bcde8
Enable selection of rendering engine (graphics.library, Cairo) at runtime, if we're
...
compiled with Cairo support.
svn path=/trunk/netsurf/; revision=11912
2011-03-05 11:42:31 +00:00
Chris Young
323d5f3ba1
Remove compat.c/h, hasn't been needed for a long time.
...
svn path=/trunk/netsurf/; revision=11910
2011-03-04 23:46:01 +00:00
Chris Young
6fb873c54c
Add "use blank page" button for homepage url
...
Add close gadget to window (operates as cancel)
svn path=/trunk/netsurf/; revision=11909
2011-03-04 23:19:24 +00:00
Chris Young
84dbdbee76
Don't override download dir as it stops the last used dir being remembered
...
svn path=/trunk/netsurf/; revision=11908
2011-03-04 21:01:43 +00:00
Chris Young
020239fd62
Use browser_window_redraw_ready
...
svn path=/trunk/netsurf/; revision=11907
2011-03-04 19:13:23 +00:00
Chris Young
a1d8f565c8
Use BltBitMapTags
...
svn path=/trunk/netsurf/; revision=11906
2011-03-04 19:05:12 +00:00
Chris Young
ddfdf2a629
Don't trap RMB over gadgets if those gadgets are disabled
...
svn path=/trunk/netsurf/; revision=11879
2011-03-01 20:27:49 +00:00
Chris Young
7935d74849
Copy our updated working libpng.so; this fixes the cyan boxes on Wikipedia
...
svn path=/trunk/netsurf/; revision=11878
2011-03-01 20:16:33 +00:00
Chris Young
46915c6b7b
Brand new windows should not be cloning an existing browser_window or they pick up old
...
local history.
Brand new tabs should not either but that appears to be unavoidable at present.
svn path=/trunk/netsurf/; revision=11872
2011-03-01 19:09:57 +00:00
Vincent Sanders
9660442e92
remove obsolete, unused gui_window_redraw API
...
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
Chris Young
3cc3dcf1e1
Limit context menu history items to 10
...
svn path=/trunk/netsurf/; revision=11868
2011-02-28 23:46:49 +00:00
Chris Young
c9f25d5e4a
Don't plot 0 size bitmaps
...
svn path=/trunk/netsurf/; revision=11867
2011-02-28 23:33:22 +00:00
Chris Young
ff60f79cb5
Add history context menu to the forward button too
...
svn path=/trunk/netsurf/; revision=11866
2011-02-28 23:33:03 +00:00
Chris Young
c0ab816494
Right-click back button now gives list of history items.
...
Probably needs tidying up - limiting number of entries etc
svn path=/trunk/netsurf/; revision=11865
2011-02-28 22:35:53 +00:00
Chris Young
b768440a58
Memory leak
...
svn path=/trunk/netsurf/; revision=11864
2011-02-28 22:12:34 +00:00
Chris Young
4213bd41fb
Avoid multiple duplicated menus
...
Allow selection menu to appear over blank area of text boxes
svn path=/trunk/netsurf/; revision=11862
2011-02-28 22:03:18 +00:00