Commit Graph

7594 Commits

Author SHA1 Message Date
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
Ole Loots f13f2468b1 Removed obsolete menu item struct member.
svn path=/trunk/netsurf/; revision=13842
2012-04-09 11:44:09 +00:00
Ole Loots ebd0f1366d Removed debug output, text format changes...
svn path=/trunk/netsurf/; revision=13841
2012-04-09 11:33:34 +00:00
Ole Loots 96a2906298 Simplified keyboard-shortcut code: Don't use Messages file for Menu strings and accelerator definitions. These things are now taken from the RSC file.
svn path=/trunk/netsurf/; revision=13840
2012-04-09 11:30:59 +00:00
Ole Loots 940ae42c87 Optimize redraw when window is on-top: do not intersect redraw areas with visible window rectangles.
svn path=/trunk/netsurf/; revision=13833
2012-04-07 21:24:37 +00:00
Ole Loots 39b04ea3d6 Added missing include.
svn path=/trunk/netsurf/; revision=13832
2012-04-07 21:22:19 +00:00
Ole Loots bb82d83cc1 Added linkage to libdom.
svn path=/trunk/netsurf/; revision=13831
2012-04-07 21:21:45 +00:00
Ole Loots 7bfcbe1e1e Added missing declaration of "html_redraw_debug".
svn path=/trunk/netsurf/; revision=13830
2012-04-07 21:19:10 +00:00
François Revel bae750ee44 Fix a crash when opening Preferences panel and Choices file doesn't exist:
- add missing strdup(),
- fix free() vs g_free() mixups.

svn path=/trunk/netsurf/; revision=13824
2012-04-07 18:32:11 +00:00
Chris Young 87b9a905eb Fix typo and unhide imagecache from about:about
svn path=/trunk/netsurf/; revision=13823
2012-04-07 17:30:54 +00:00