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
Vincent Sanders
6f86862edb
cleanup and reorganise low level cache source ready for extending with disc cache
...
svn path=/trunk/netsurf/; revision=13893
2012-04-28 13:24:09 +00:00
Ole Loots
6a9038de3c
Only check transparent pixels when transparency is enabled.
...
svn path=/trunk/netsurf/; revision=13891
2012-04-26 22:21:02 +00:00
Ole Loots
f804cff67b
set rendering flag within throbber_stop / start functions, update toolbar buttons on throbber stop.
...
svn path=/trunk/netsurf/; revision=13890
2012-04-25 21:33:01 +00:00
Ole Loots
ea411f6c34
Fix typo ( fontbitmap was never destroyed within dtor )
...
svn path=/trunk/netsurf/; revision=13889
2012-04-24 20:51:52 +00:00
Ole Loots
68cd53ee66
Small font plotter speedup by reducing function calls in a draw glyph loop.
...
svn path=/trunk/netsurf/; revision=13888
2012-04-24 20:47:38 +00:00
Ole Loots
e7104b4462
Implemented "paste clipboard" for toolbar URL textbox.
...
svn path=/trunk/netsurf/; revision=13887
2012-04-24 20:32:53 +00:00
Ole Loots
4204599fb9
Optimized bitmap blitting: cache native (converted) bitmaps.
...
This required an change to the convert and blit routines - for opaque images, they convert the whole image. Transparent images are still converted on demand and still only the clipped area is converted. This is incomplete - native buffers should be stored in the well known bitmap buffer, but currently the bitmap struct holds a second buffer which contains converted data.
svn path=/trunk/netsurf/; revision=13886
2012-04-19 22:44:49 +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
François Revel
692f223d3a
Add libdom to the list of required libraries.
...
Patch by Paul Waring.
svn path=/trunk/netsurf/; revision=13880
2012-04-17 19:48:06 +00:00
François Revel
c48bb86cb1
Fix building on Haiku.
...
Some ui_color codes were renamed recently. Account for this.
svn path=/trunk/netsurf/; revision=13879
2012-04-17 19:08:30 +00:00
Michael Drake
7224990953
Port to libdom changed HTML content's base_target from talloc_strdup to strdup, so use free instead of talloc_free in html_destroy.
...
svn path=/trunk/netsurf/; revision=13877
2012-04-17 09:04:04 +00:00
Michael Drake
8202875dbb
Fix meta refresh.
...
svn path=/trunk/netsurf/; revision=13876
2012-04-16 16:42:59 +00:00
Michael Drake
cc35563f2b
Fix frameset processing.
...
svn path=/trunk/netsurf/; revision=13875
2012-04-16 16:14:40 +00:00
Michael Drake
a018a75d67
Border width hint is concerned with border attribute, not width attribute. Fixes table borders.
...
svn path=/trunk/netsurf/; revision=13874
2012-04-16 13:32:42 +00:00
Michael Drake
59c21c033a
Fix processing of tags in HEAD. Fixes title, favicons, etc.
...
svn path=/trunk/netsurf/; revision=13873
2012-04-16 12:52:59 +00:00
Ole Loots
529c0c41f3
Added menu shortcuts.
...
svn path=/trunk/netsurf/; revision=13872
2012-04-15 22:24:13 +00:00
Chris Young
3a264e102d
Correct comment
...
svn path=/trunk/netsurf/; revision=13871
2012-04-15 12:03:51 +00:00
Ole Loots
4467766786
Fix bitmap creation - JPEG where always set to opaque = false, which lead to blitter checking all pixels for transparency in an loop.
...
Prepare for caching of converted bitmaps.
svn path=/trunk/netsurf/; revision=13869
2012-04-14 11:40:57 +00:00
Michael Drake
3f262e4803
Remove image cache status from user-facing listing.
...
svn path=/trunk/netsurf/; revision=13865
2012-04-13 12:29:52 +00:00
Ole Loots
caeec11de7
Updated FAQ
...
svn path=/trunk/netsurf/; revision=13862
2012-04-12 20:38:12 +00:00
Ole Loots
a17fc5da76
call toolbar_exit()
...
svn path=/trunk/netsurf/; revision=13861
2012-04-12 20:20:58 +00:00
Ole Loots
d3bd388218
Share a single icon instance for multiple toolbars.
...
svn path=/trunk/netsurf/; revision=13860
2012-04-12 20:18:53 +00:00
François Revel
839c4aef8a
Fix errors when installing multiple times due to cp failing on .svn directories.
...
svn path=/trunk/netsurf/; revision=13859
2012-04-12 18:38:10 +00:00
François Revel
647a36e2ee
Redo r13857 differently, to avoid issues with non-unixish shells.
...
svn path=/trunk/netsurf/; revision=13858
2012-04-12 18:17:56 +00:00
François Revel
480282085f
Make sure we use the default locale before parsing output of a localized program.
...
This fixes generating the testament here.
svn path=/trunk/netsurf/; revision=13857
2012-04-12 16:42:02 +00:00
Michael Drake
cdee9e985e
More work on about:imagecache entry listing table.
...
svn path=/trunk/netsurf/; revision=13855
2012-04-12 13:43:57 +00:00
Michael Drake
e2e69d29bb
Close paragraph tags and other minor imagecache page cleanups.
...
svn path=/trunk/netsurf/; revision=13854
2012-04-12 13:06:21 +00:00
Michael Drake
75274ca5c3
Style for about:imagecache page.
...
svn path=/trunk/netsurf/; revision=13853
2012-04-12 12:36:06 +00:00
Michael Drake
5266539f92
Make more readable and fix use double quotes for href attribute value.
...
svn path=/trunk/netsurf/; revision=13852
2012-04-12 12:34:33 +00:00
Michael Drake
387c85ae0b
Pass correct width/height values to textarea redraw callback when setting caret position. Reduces flicker.
...
svn path=/trunk/netsurf/; revision=13851
2012-04-12 10:30:20 +00:00
Michael Drake
87dbbe1260
Fix caret redraw height. Thanks to m0n0.
...
svn path=/trunk/netsurf/; revision=13850
2012-04-12 09:05:37 +00:00
Ole Loots
56ec72f044
Init toolbar.
...
svn path=/trunk/netsurf/; revision=13849
2012-04-10 23:12:49 +00:00
Ole Loots
786be41d01
Initial support for (truecolor) image toolbar ( toolbar icons loaded from image file, not from resource ).
...
svn path=/trunk/netsurf/; revision=13848
2012-04-10 23:12:13 +00:00
Ole Loots
a94781edc0
Added function load_icon
...
svn path=/trunk/netsurf/; revision=13847
2012-04-10 23:10:49 +00:00
Ole Loots
3158226bbe
Introduced BITMAPF_BUFFER_NATIVE and native image buffer, for fast redraw of bitmaps.
...
svn path=/trunk/netsurf/; revision=13846
2012-04-10 23:07:10 +00:00
Ole Loots
b400b7c22b
Introduced BITMAPF_BUFFER_NATIVE, for fast redraw of bitmaps.
...
svn path=/trunk/netsurf/; revision=13845
2012-04-10 23:06:21 +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