Commit Graph

7417 Commits

Author SHA1 Message Date
Vincent Sanders
2622adaa1f allow netsurf to build with gtk3
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00:00
Ole Loots
6d125e79b3 Fixed prototyp, comments.
svn path=/trunk/netsurf/; revision=13925
2012-05-13 15:33:58 +00:00
Ole Loots
2c4b83b1ee Prepared code for different button states (= different image ).
svn path=/trunk/netsurf/; revision=13924
2012-05-13 15:32:35 +00:00
Ole Loots
b1a2191fbe Use safe string functions.
svn path=/trunk/netsurf/; revision=13923
2012-05-13 15:31:30 +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
722a75bdf5 Tag Licence and Credits for all OS
svn path=/trunk/netsurf/; revision=13915
2012-05-07 15:37:12 +00:00
Chris Young
4c2731526b More full stops
svn path=/trunk/netsurf/; revision=13914
2012-05-07 15:14:30 +00:00
Chris Young
2e7515d249 Remove some full stops, so the style is consistent
svn path=/trunk/netsurf/; revision=13913
2012-05-07 15:12:12 +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
9e03315e09 Tag some RISC OS specific errors as such
svn path=/trunk/netsurf/; revision=13911
2012-05-07 14:30:30 +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
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