Commit Graph

245 Commits

Author SHA1 Message Date
Chris Young
bcb645a301 Fix crash in GETURL
svn path=/trunk/netsurf/; revision=6794
2009-03-17 21:20:15 +00:00
John Mark Bell
58cd142338 Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus)
svn path=/trunk/netsurf/; revision=6793
2009-03-17 12:26:41 +00:00
Chris Young
61b806d5f3 Fix clicking on history items beyone the first page
svn path=/trunk/netsurf/; revision=6789
2009-03-15 21:44:03 +00:00
Chris Young
eabb5339a3 Close history and search windows when associated browser window closes.
svn path=/trunk/netsurf/; revision=6786
2009-03-15 11:29:33 +00:00
Chris Young
eab55f2c5a Fix warnings
Fall back to default theme if specified one can't be found

svn path=/trunk/netsurf/; revision=6785
2009-03-15 11:21:46 +00:00
Chris Young
d3d7fc7c66 Stop browser resizes from crashing.
I really don't like using Forbid() and Permit() but the lock-up seems to be caused by
the window continuing the resize while the reformat is taking place and this appears
to be the only way to stop it.  Resizes are relatively rare so shouldn't cause
problems.

svn path=/trunk/netsurf/; revision=6784
2009-03-14 16:18:09 +00:00
Chris Young
8e00cd50b1 More shared objects
svn path=/trunk/netsurf/; revision=6783
2009-03-14 15:36:36 +00:00
Chris Young
301c38b4b4 Use Copystore to copy SObjs when install triggered by AmiUpdate
svn path=/trunk/netsurf/; revision=6782
2009-03-14 12:37:28 +00:00
Chris Young
a3a28f9e5f Minor fixes
svn path=/trunk/netsurf/; revision=6781
2009-03-14 11:44:07 +00:00
Chris Young
af085bb0ab more shared objects
svn path=/trunk/netsurf/; revision=6778
2009-03-11 23:48:26 +00:00
Chris Young
305ab859ad Remove gap between the tab close gadget and the first tab
svn path=/trunk/netsurf/; revision=6776
2009-03-11 19:23:57 +00:00
Chris Young
87ccc3b836 Copy a couple more required shared objects.
svn path=/trunk/netsurf/; revision=6775
2009-03-11 19:23:28 +00:00
Chris Young
502879043b Fix scroll position for new pages/tabs
svn path=/trunk/netsurf/; revision=6744
2009-03-09 07:21:19 +00:00
Chris Young
a074bdbe54 Stop NetSurf jumping back to the top of the document when scrolling before the page
has finished loading.

svn path=/trunk/netsurf/; revision=6742
2009-03-08 23:40:58 +00:00
Chris Young
2014dac36d Add ability to render part of a local history window.
This is achieved through new function history_redraw_rectangle.
It takes the co-ordinates of the history area to plot as parameters 2-5
and the co-ordinates of the top-left position to draw this area as params 6,7

Added local history scrolling to Amiga port using the above function.

svn path=/trunk/netsurf/; revision=6740
2009-03-08 23:08:27 +00:00
Chris Young
0bdcf4b8e2 Implement thumbnail creation
svn path=/trunk/netsurf/; revision=6736
2009-03-08 17:41:24 +00:00
Chris Young
a198acb753 Fix compilation errors
svn path=/trunk/netsurf/; revision=6735
2009-03-08 16:32:30 +00:00
Chris Young
f6951c0d51 Mostly-working local history window
svn path=/trunk/netsurf/; revision=6733
2009-03-08 16:24:52 +00:00
Chris Young
cbae6a91dd Stop local history from crashing, display mostly works (no thumbnails and offset wrong
to window), no event handling other than closing the window.

svn path=/trunk/netsurf/; revision=6730
2009-03-08 12:52:44 +00:00
Chris Young
b0e61211f9 Clear clip regions after rendering finished.
svn path=/trunk/netsurf/; revision=6728
2009-03-07 20:52:50 +00:00
Chris Young
33c48cfcd9 Start of local history window in Amiga build; doesn't work yet
svn path=/trunk/netsurf/; revision=6727
2009-03-07 20:52:08 +00:00
Chris Young
2aee9f4c09 Stop OS4.1 losing alpha channels when scaling images
svn path=/trunk/netsurf/; revision=6720
2009-03-05 19:07:26 +00:00
Chris Young
caf41b6b19 Stop images disappearing when they are half-way off the screen.
svn path=/trunk/netsurf/; revision=6621
2009-02-25 20:37:41 +00:00
Chris Young
10d3cff743 Fix memory leak and make freeing bitmaps that might be cached a little safer.
svn path=/trunk/netsurf/; revision=6620
2009-02-25 20:09:33 +00:00
Chris Young
781405d195 Move native bitmap creation/caching routine into bitmap.c
svn path=/trunk/netsurf/; revision=6619
2009-02-25 19:56:04 +00:00
Chris Young
a604021839 Force AmiUpdate to pick the part-Cairo version on OS4.1, as it hasn't seen any release
yet and I'd rather people made a conscious decision to use the static one rather than
the update picking it because updating a Cairo version is impossible.

svn path=/trunk/netsurf/; revision=6618
2009-02-25 19:55:07 +00:00
Chris Young
a61d0fa753 The native bitmap caching was eating memory, this should be correct now.
svn path=/trunk/netsurf/; revision=6616
2009-02-25 00:26:46 +00:00
Chris Young
2f36c12acd Optimise tile plotter
svn path=/trunk/netsurf/; revision=6615
2009-02-24 23:47:58 +00:00
John Mark Bell
847b776285 Purge NETSURF_USE_SSL and WITH_SSL
svn path=/trunk/netsurf/; revision=6599
2009-02-22 15:07:50 +00:00
Chris Young
14abf94fd5 Tidy-up and clarifications
svn path=/trunk/netsurf/; revision=6596
2009-02-22 12:42:20 +00:00
Chris Young
31831ef192 File should be named "NetSurf" in all circumstances.
svn path=/trunk/netsurf/; revision=6593
2009-02-21 16:55:50 +00:00
Chris Young
a21841ec58 Oops. Fixed this in the wrong file, so got missed from previous commit.
svn path=/trunk/netsurf/; revision=6592
2009-02-21 16:29:33 +00:00
Chris Young
bed1ad9e79 Fix some things which didn't work correctly when installing over an existing install
svn path=/trunk/netsurf/; revision=6591
2009-02-21 16:18:59 +00:00
Chris Young
4c4d574e76 Show which build we are using, modify install script to give an option of which build
needs to be installed, and do date-compare when copying shared objects if they have no
version string.

svn path=/trunk/netsurf/; revision=6590
2009-02-21 15:53:04 +00:00
Chris Young
d4e5a3ae31 Don't show the option for AISS theme is AISS is not installed
svn path=/trunk/netsurf/; revision=6588
2009-02-21 11:09:56 +00:00
Chris Young
5668fa1154 Remove default theme's dependency on AISS
svn path=/trunk/netsurf/; revision=6567
2009-02-18 20:04:59 +00:00
John Mark Bell
ae781b4fd8 Destroy bitmap if thumbnailing fails.
Make amiga port's thumbnail_create() actually return something

svn path=/trunk/netsurf/; revision=6560
2009-02-18 13:25:57 +00:00
John Mark Bell
41d2eca3b1 Port our UTF-8 routines to parserutils (only enabled when building against Hubbub).
Sync our temporary internal copies of these functions with parserutils (which is rather better tested and fixes a number of known bugs in NetSurf's previous UTF-8 handling).
Ideally, this will be the only place in NetSurf that has any dependency on parserutils, so port the amiga font code to our internal APIs.

svn path=/trunk/netsurf/; revision=6550
2009-02-17 23:44:17 +00:00
John Mark Bell
ee986e1d0a Divorce PDF export and printing.
At some point, the RISC OS printing code should be ported to the core page-based output engine.

svn path=/trunk/netsurf/; revision=6544
2009-02-17 16:37:51 +00:00
Chris Young
f90e43e2b0 Fix a bug where public screens would remain open if NetSurf was the last visitor
window to close.

svn path=/trunk/netsurf/; revision=6485
2009-02-14 12:29:07 +00:00
Vincent Sanders
cbf07e1bc3 make schedule_run return if it has active jobs to schedule
svn path=/trunk/netsurf/; revision=6447
2009-02-11 22:33:55 +00:00
Chris Young
b3bc3eb896 Don't bother trying to render things that are completely off the screen
svn path=/trunk/netsurf/; revision=6412
2009-02-10 18:53:17 +00:00
Chris Young
876c92e58e Fix assert when there is no hotlist file
svn path=/trunk/netsurf/; revision=6398
2009-02-08 23:23:46 +00:00
Chris Young
e1133726c9 Fix animated GIF display
svn path=/trunk/netsurf/; revision=6397
2009-02-08 10:12:27 +00:00
Chris Young
2c78e54298 Really stop overwriting window borders (also fix fast scrolling down, and break fast
scrolling up)

svn path=/trunk/netsurf/; revision=6394
2009-02-07 16:40:56 +00:00
Chris Young
a588aa92c9 Enable/disable caching of native bitmaps in gfx board mem
svn path=/trunk/netsurf/; revision=6393
2009-02-07 10:45:58 +00:00
Chris Young
146e26a403 Some attempt at faster scrolling - can be enabled with option faster_scroll:1
svn path=/trunk/netsurf/; revision=6364
2009-02-05 12:20:23 +00:00
Chris Young
73b761ecf5 Try to stop rendering of things that can't be seen
svn path=/trunk/netsurf/; revision=6362
2009-02-04 18:10:10 +00:00
John Tytgat
fbf6d4cd41 - Constify parameters of struct plotter_table::polygon and struct plotter_table::path
- riscos/save_draw.c(ro_save_draw_plotters): Make it static.
- desktop/save_pdf/pdf_plotters.c(pdf_plot_path): fix broken implementation (coordinates path were wrong, no clip/text mode update, transformation matrix was overwritten); only update fill and/or 
stroke color when fill and/or stroke is done.
  (pdf_begin): disable compression when PDF_DEBUG is set

svn path=/trunk/netsurf/; revision=6361
2009-02-03 01:27:54 +00:00
John Tytgat
57124b7f92 Unexport pdf_scale variable (use pdf_set_scale to set it) and initialize it to DEFAULT_EXPORT_SCALE.
svn path=/trunk/netsurf/; revision=6350
2009-02-02 00:22:44 +00:00