Commit Graph

948 Commits

Author SHA1 Message Date
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
Chris Young
4a174fd670 Allow context menus in arbitrary positions outside the browsing area.
Add a Local History item to a new back button context menu, eventually this will give
a recent history list.

svn path=/trunk/netsurf/; revision=11858
2011-02-28 19:31:35 +00:00
John Mark Bell
86a2e0076d Fix bug #3194007: stop emitting duplicate READY/DONE events.
* Make content handlers responsible for setting READY/DONE state & emitting events.
	* Stop content_convert doing this when there is a registered convert function for the content type.

svn path=/trunk/netsurf/; revision=11850
2011-02-27 20:11:39 +00:00
Chris Young
31bd1df6f9 Stop mix'n'match p96/gfx.lib drawing, remove ami_clg
svn path=/trunk/netsurf/; revision=11832
2011-02-26 22:24:41 +00:00
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