Commit Graph

4466 Commits

Author SHA1 Message Date
Michael Drake 08fc83b189 Simplify debug outline calculations and avoid fp maths when scale is 1.0. Comment some border stuff.
svn path=/trunk/netsurf/; revision=8514
2009-07-14 11:26:44 +00:00
Michael Drake 8365d46eb7 Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
Vincent Sanders 86232d72a6 next round of plotter refactor
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00
Michael Drake ed2206316c Positioned elements are taken out of normal flow, so don't let them affect min/max width calculations.
svn path=/trunk/netsurf/; revision=8502
2009-07-13 15:37:54 +00:00
Chris Young af4f3d2be7 Don't do higher quality scaling on OS4.0 as it doesn't work.
svn path=/trunk/netsurf/; revision=8484
2009-07-12 18:10:14 +00:00
Michael Drake ebe0db1864 Delete html_redraw lighter/darker and use the colour tweakers in plot_style.
svn path=/trunk/netsurf/; revision=8452
2009-07-10 20:38:57 +00:00
Michael Drake e0a4b50e87 Move colour blend routine from html_redraw to plot_style and make it a define.
svn path=/trunk/netsurf/; revision=8451
2009-07-10 19:53:30 +00:00
Michael Drake 96d8e9335c Remove html_redraw_aa because it is the same as html_redraw_blend. Fix html_redraw_blend to be 50/50 instead of 75/25.
svn path=/trunk/netsurf/; revision=8448
2009-07-10 19:09:33 +00:00
Vincent Sanders 680298e61c plotters line refactor
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
John Mark Bell 5feb7018c5 Replace parent_url with a pointer to the parent content.
svn path=/trunk/netsurf/; revision=8428
2009-07-10 00:26:37 +00:00
Chris Young 801ef751af Move all the layers code into plotters.c and refactor to use gui_globals structure
Purge option_direct_render

svn path=/trunk/netsurf/; revision=8425
2009-07-09 18:52:55 +00:00
John Mark Bell 9e5f6510ec Tweak dot/dash patterns.
svn path=/trunk/netsurf/; revision=8416
2009-07-09 12:13:01 +00:00
Chris Young e580428738 Fix compilation
svn path=/trunk/netsurf/; revision=8400
2009-07-08 22:32:57 +00:00
Vincent Sanders f9ecd56f62 ploter refactor of rectangle handling
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +00:00
Chris Young 651228e64d Migrate plotters to use a gui_globals pointer rather than RastPort.
svn path=/trunk/netsurf/; revision=8378
2009-07-07 19:28:34 +00:00
Chris Young febe19851e Fix warnings
svn path=/trunk/netsurf/; revision=8377
2009-07-07 19:27:08 +00:00
John Mark Bell 68aeb65cdf Merged revisions 8059-8359 via svnmerge from
svn://svn.netsurf-browser.org/branches/paulblokus/textinput

........
  r8337 | paulblokus | 2009-07-06 00:38:21 +0100 (Mon, 06 Jul 2009) | 2 lines
  
  added textarea_set_position
........

svn path=/trunk/netsurf/; revision=8360
2009-07-06 23:47:50 +00:00
Michael Drake d98ec423b1 Style guide indentation.
svn path=/trunk/netsurf/; revision=8346
2009-07-06 10:46:15 +00:00
Michael Drake 21a2bfc53c Style guide indentation.
svn path=/trunk/netsurf/; revision=8345
2009-07-06 10:38:13 +00:00
Michael Drake 7372218033 Fix indentation to use tabs instead of spaces.
svn path=/trunk/netsurf/; revision=8344
2009-07-06 10:33:19 +00:00
Chris Young 6dfc7b8a7c GETSCREENANME documentation
svn path=/trunk/netsurf/; revision=8334
2009-07-05 21:57:56 +00:00
Chris Young be36c723ca Add a note about how to get the best speed out of the OS4 version. Mostly this is to
encourage people to use 32-bit screenmodes :)

svn path=/trunk/netsurf/; revision=8333
2009-07-05 21:25:24 +00:00
Vincent Sanders 0ade453958 Refactor fill plotter to take a style
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +00:00
Chris Young ab2391ade1 Don't make the global bitmap a friend of the screen bitmap, instead allocate it so
that alpha blitting and Cairo operations work correctly.  Running NetSurf on a 16-bit
screen is now possible without bits of the display missing or obliterated, however it
does suffer a small performance hit.

svn path=/trunk/netsurf/; revision=8331
2009-07-05 18:15:55 +00:00
Chris Young 0d879c2e7f fix warnings
svn path=/trunk/netsurf/; revision=8316
2009-07-04 19:12:56 +00:00
Chris Young 65ee9ef4b1 Apply scaling quality also to thumbnails.
svn path=/trunk/netsurf/; revision=8315
2009-07-04 19:10:33 +00:00
John Mark Bell ceca548a1d Fix serialisation of page titles.
svn path=/trunk/netsurf/; revision=8313
2009-07-04 18:19:29 +00:00
Chris Young 5886f232c4 turn iconification back off as it isn't working reliably.
svn path=/trunk/netsurf/; revision=8312
2009-07-04 18:01:46 +00:00
Chris Young f611631a5f Basic iconification support
svn path=/trunk/netsurf/; revision=8310
2009-07-04 16:12:27 +00:00
Chris Young 619ea621e8 Script to show the source of the current page
svn path=/trunk/netsurf/; revision=8304
2009-07-04 12:16:53 +00:00
Chris Young d90e784ab4 Add GETSCREENNAME command
svn path=/trunk/netsurf/; revision=8303
2009-07-04 12:16:22 +00:00
Michael Drake ac60741c28 Fix scheduler to handle delays of greater than one second. Fixes continual reload issues on pages with meta refresh.
svn path=/trunk/netsurf/; revision=8293
2009-07-03 23:40:26 +00:00
John Mark Bell 7792d81e85 Give input focus to drawing area on click. (credit: Paul Blokus)
svn path=/trunk/netsurf/; revision=8277
2009-07-02 23:22:24 +00:00
Chris Young b8f6dfd58d Minor positional changes. This code probably needs a rethink as it doesn't correctly
advance for two-byte UTF8 chars.

svn path=/trunk/netsurf/; revision=8276
2009-07-02 23:07:04 +00:00
John Mark Bell 2dbf92761f Fix stupid
svn path=/trunk/netsurf/; revision=8275
2009-07-02 23:05:10 +00:00
John Mark Bell 1aeecf401c Silence warnings
svn path=/trunk/netsurf/; revision=8274
2009-07-02 22:36:51 +00:00
John Mark Bell e6f70d9760 Make this more legible and squash leaks.
svn path=/trunk/netsurf/; revision=8273
2009-07-02 22:35:15 +00:00
Vincent Sanders e707fe935b fix keymap
svn path=/trunk/netsurf/; revision=8272
2009-07-02 21:37:22 +00:00
Vincent Sanders c04b939c8c Fix by tlsa for content which is updated by the core like animated gifs and forms
svn path=/trunk/netsurf/; revision=8270
2009-07-02 21:23:54 +00:00
Vincent Sanders 1165edf662 remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00
John Mark Bell a3e205bbd9 Constify ro_uri_launch()
If the URL is too long to fit into a non-indirected ANT URLLoad message, then skip the ANT URLLoad broadcast and jump straight to using URI_Dispatch. 
We don't support indirected ANT URLLoad messages as their potential for memory leakage is too great.

svn path=/trunk/netsurf/; revision=8233
2009-07-01 12:05:51 +00:00
John Mark Bell 7e01924ecf Bring in line with new bitmap plotter API
svn path=/trunk/netsurf/; revision=8216
2009-07-01 00:20:24 +00:00
Michael Drake ce70652694 Update plotters documentation for merged bitmap plotter.
svn path=/trunk/netsurf/; revision=8198
2009-06-30 13:45:08 +00:00
Michael Drake 26cee820f1 Simplify RISC OS bitmap plotter.
svn path=/trunk/netsurf/; revision=8196
2009-06-30 13:16:29 +00:00
Vincent Sanders aa26843411 Improve bitmap plotter API
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +00:00
Vincent Sanders 38356d46ff remove unused structure definition
svn path=/trunk/netsurf/; revision=8187
2009-06-30 11:08:31 +00:00
Chris Young afbc9e9b6e Remove debug code
svn path=/trunk/netsurf/; revision=8178
2009-06-30 07:23:14 +00:00
Chris Young 53374684e5 Re-enable the Use OS Pointers option as I have fixed the crash.
svn path=/trunk/netsurf/; revision=8177
2009-06-30 07:06:22 +00:00
Chris Young 3f59ba7662 Should be static, attempt to fix odd crash.
svn path=/trunk/netsurf/; revision=8176
2009-06-30 07:02:52 +00:00
John Mark Bell 0404a802a7 Free path once we're finished with it.
svn path=/trunk/netsurf/; revision=8169
2009-06-29 22:18:05 +00:00