Commit Graph

711 Commits

Author SHA1 Message Date
John Mark Bell c4de2cf6b3 Extract parent charset and quirkiness
svn path=/trunk/netsurf/; revision=10416
2010-04-16 20:55:17 +00:00
John Mark Bell ad8d0b3350 Handle llcache queries (GTK only for now)
svn path=/trunk/netsurf/; revision=10403
2010-04-14 23:03:49 +00:00
Daniel Silverstone 3344b974af Move content shuffling to prevent crash during threading through reformat
svn path=/trunk/netsurf/; revision=10396
2010-04-14 09:23:46 +00:00
Daniel Silverstone 3c81d2a527 Ensure url bar is updated with in-progress URL and restored if stop/download occurs
svn path=/trunk/netsurf/; revision=10385
2010-04-12 10:57:41 +00:00
John Mark Bell 11201a1cd7 Yes, ownership of the theme content is passed to theme_install
svn path=/trunk/netsurf/; revision=10375
2010-04-11 23:01:55 +00:00
John Mark Bell 9e8849c04c Take the easy way out wrt loading messages files: leave it to the RISC OS frontend to do this.
svn path=/trunk/netsurf/; revision=10374
2010-04-11 22:40:41 +00:00
John Mark Bell 71de3618f1 Implement hlcache_poll(), which drives the low-level cache event loop, and attempts to clean the high-level cache.
Call this, instead of llcache_poll().

svn path=/trunk/netsurf/; revision=10371
2010-04-11 20:21:13 +00:00
Michael Drake 3c12281565 Remove dead special case for gtk status bar width.
svn path=/trunk/netsurf/; revision=10322
2010-04-08 17:51:31 +00:00
Rob Kendrick 64d6093631 Don't bother trying to fetch search provider icons when BMP support is disabled. This code could do with a little rearrangement to make this cleaner.
svn path=/trunk/netsurf/; revision=10311
2010-04-08 14:14:27 +00:00
Michael Drake f310569df4 Calling a hlcache_handle "content" is confusing.
svn path=/trunk/netsurf/; revision=10266
2010-04-07 12:09:38 +00:00
John Mark Bell cbf55bd418 Fix textarea crash.
I cannot express just how much I hate the necessity of this change: browser windows (and other code in desktop/) should stop poking around inside content objects

svn path=/trunk/netsurf/; revision=10258
2010-04-07 06:22:15 +00:00
John Mark Bell 2748fe4f64 Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
John Mark Bell 69f02e926f Make the high-level cache drop contents of unacceptable type on the floor.
svn path=/trunk/netsurf/; revision=10238
2010-04-04 17:17:24 +00:00
John Mark Bell 79ce683b4e Most of a stop implementation.
Remaining work:
  1) Clone content_html_data
  2) Cloning content_css_data requires the charset of the old content
  3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context.

svn path=/trunk/netsurf/; revision=10236
2010-04-04 12:41:19 +00:00
Chris Young 103998165a Revert previous change
svn path=/trunk/netsurf/; revision=10215
2010-03-30 18:20:48 +00:00
Chris Young 9b9c26b569 Avoid crash if pargc is NULL. This might happen, for example, when launching NetSurf
from Workbench under AmigaOS :)

svn path=/trunk/netsurf/; revision=10214
2010-03-30 18:14:40 +00:00
John Mark Bell 9aca901eb1 The convert stage of a content's state progression no longer reflows the content to the provided dimensions.
It is now defined as converting the content into a state in which it is ready for use.
The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn.

Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs.
Fix up content handlers affected by the above change in semantics.
Ensure that browser_window_callback performs an initial reformat of its content.

svn path=/trunk/netsurf/; revision=10207
2010-03-29 22:33:21 +00:00
Vincent Sanders e00fb7bd2d second pass at startup refactor removing the gui_init callback
svn path=/trunk/netsurf/; revision=10205
2010-03-29 20:03:44 +00:00
Vincent Sanders 7e67527267 first part of initialisation refactor move gui_init2 into frontends
svn path=/trunk/netsurf/; revision=10202
2010-03-29 16:59:30 +00:00
Daniel Silverstone cb7412181f Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to complete properly.
svn path=/trunk/netsurf/; revision=10187
2010-03-28 16:00:54 +00:00
Rob Kendrick fea38002ed Do not assert when the only thing of interest is a body box. Status string can quite happily be NULL.
svn path=/trunk/netsurf/; revision=10184
2010-03-28 15:35:37 +00:00
Daniel Silverstone 05a4eceae2 Remove fetchcache.[ch]
svn path=/trunk/netsurf/; revision=10183
2010-03-28 15:34:07 +00:00
Daniel Silverstone 270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Vincent Sanders cf322aeda3 Review fixups from Daniel Silverstone
Ensure status text statistics are initialised
Fix documentation and indentation of status text variables.

svn path=/trunk/netsurf/; revision=9968
2010-02-11 10:58:26 +00:00
Vincent Sanders c1e7429d58 remove RISC OS status bar text caching
svn path=/trunk/netsurf/; revision=9966
2010-02-11 00:10:58 +00:00
Vincent Sanders 1537981da5 cache the status text to reduce teh number of window status update calls to teh frontend
svn path=/trunk/netsurf/; revision=9965
2010-02-10 23:37:06 +00:00
Vincent Sanders 55162445db Add Windows frontend
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00
Vincent Sanders 6990c2cd04 remove uneccissary includes
svn path=/trunk/netsurf/; revision=9931
2010-01-29 11:32:53 +00:00
John Mark Bell 5b0ad574b6 Fix compilation when BMP/PNG/GIF support is disabled.
svn path=/trunk/netsurf/; revision=9858
2010-01-21 23:48:34 +00:00
Vincent Sanders e01d93f344 Refactor main into the frontends
remove unused embedded global

svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
François Revel 18e27fb499 C89.
svn path=/trunk/netsurf/; revision=9779
2010-01-02 02:57:18 +00:00
John Mark Bell b75b2ae8bb Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
John Mark Bell 355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
John Mark Bell a042e38548 Squash leaks
svn path=/trunk/netsurf/; revision=9692
2009-11-22 14:10:39 +00:00
John Mark Bell 498cd522da Avoid potential NULL pointer dereference
svn path=/trunk/netsurf/; revision=9685
2009-11-22 13:37:28 +00:00
John Mark Bell 2562f7e8c2 Avoid NULL pointer dereferences
svn path=/trunk/netsurf/; revision=9684
2009-11-22 13:35:41 +00:00
John Mark Bell c2fd55cbab Protect against NULL pointers
svn path=/trunk/netsurf/; revision=9681
2009-11-22 13:31:47 +00:00
John Mark Bell 9ca1622183 Ensure selection context is zero-initialised. This may well be the root cause of the random selection crashes people have been seeing.
svn path=/trunk/netsurf/; revision=9679
2009-11-22 13:20:39 +00:00
Michael Drake 074150ff18 Only try to reset scroll position on textarea wrap if there is a scrollbar.
svn path=/trunk/netsurf/; revision=9335
2009-08-17 13:23:52 +00:00
Michael Drake c26611b32b Merge from Paul Blokus' selectscroll branch. Fixes text input scrollbar behaviour.
svn path=/trunk/netsurf/; revision=9306
2009-08-14 23:10:53 +00:00
Michael Drake 13afa0ff4c Merge Paul Blokus' selectscroll branch. Adds core select menu widget for forms and core scrollbar widget.
svn path=/trunk/netsurf/; revision=9289
2009-08-14 10:37:33 +00:00
Michael Drake 3549846a9a Make textarea widget unaware of its global position. Credit: paulblokus.
svn path=/trunk/netsurf/; revision=9274
2009-08-13 22:10:36 +00:00
John Mark Bell 43941c53e8 C89.
svn path=/trunk/netsurf/; revision=9000
2009-08-02 21:51:24 +00:00
John Mark Bell 0665611cc2 Port to modified libcss API.
svn path=/trunk/netsurf/; revision=8997
2009-08-02 19:19:43 +00:00
Michael Drake 623808380a Remove line that was removed in the other branch.
svn path=/trunk/netsurf/; revision=8887
2009-07-29 11:26:04 +00:00
Michael Drake 39546fd504 Merged revisions 8808,8862-8863 via svnmerge from
svn://svn.netsurf-browser.org/branches/paulblokus/textinput

........
  r8808 | paulblokus | 2009-07-26 22:52:53 +0100 (Sun, 26 Jul 2009) | 2 lines
  
  don't recalculate height already aviable
........
  r8862 | paulblokus | 2009-07-28 21:39:06 +0100 (Tue, 28 Jul 2009) | 2 lines
  
  added css.c and css.h files which caused svn errors after using svnmerge
........
  r8863 | paulblokus | 2009-07-28 21:43:53 +0100 (Tue, 28 Jul 2009) | 3 lines
  
  changed textarea redraw logic
  little fix of KEY_DELETE_LINE_START jandling
........

svn path=/trunk/netsurf/; revision=8886
2009-07-29 11:03:34 +00:00
John Mark Bell 3be8193500 Port r8808 to trunk.
svn path=/trunk/netsurf/; revision=8825
2009-07-27 14:58:06 +00:00
John Mark Bell b5d55eb295 Consider stylesheet media types
svn path=/trunk/netsurf/; revision=8820
2009-07-27 13:49:10 +00:00
John Mark Bell 4af04582ad Fix textarea line height.
svn path=/trunk/netsurf/; revision=8766
2009-07-24 01:03:17 +00:00
John Mark Bell ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
Michael Drake f1eb054b87 Merged revisions 8663 via svnmerge from
svn://svn.netsurf-browser.org/branches/paulblokus/textinput

........
  r8663 | paulblokus | 2009-07-22 00:46:29 +0100 (Wed, 22 Jul 2009) | 2 lines
  
  added getter for textarea dimensions
........

svn path=/trunk/netsurf/; revision=8695
2009-07-22 15:59:25 +00:00
John Mark Bell 6e13c2fb0a Scale font sizes, for better accuracy.
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
John Mark Bell 2565a37a52 Refactor text plotter and other font functions to remove dependency on CSS.
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Michael Drake 1299c213ea Revert accidental commit.
svn path=/trunk/netsurf/; revision=8529
2009-07-14 16:53:39 +00:00
Michael Drake 3bfba0f584 mouse_track
svn path=/trunk/netsurf/; revision=8528
2009-07-14 16:51:42 +00:00
Michael Drake f18904ca67 Indicate activity with the progress pointer for a second after you click a link and as the "auto" pointer while stuff is loading.
svn path=/trunk/netsurf/; revision=8525
2009-07-14 15:53:12 +00:00
Michael Drake 2d95b8aa57 Rename debug outline plot styles and make them const.
svn path=/trunk/netsurf/; revision=8518
2009-07-14 12:42:02 +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 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
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
Vincent Sanders f9ecd56f62 ploter refactor of rectangle handling
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +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
Vincent Sanders 0ade453958 Refactor fill plotter to take a style
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +00:00
Vincent Sanders 1165edf662 remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +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
Vincent Sanders aa26843411 Improve bitmap plotter API
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +00:00
Vincent Sanders 36b5deef09 Make framebuffer port use libnsfb
svn path=/trunk/netsurf/; revision=8122
2009-06-28 18:32:47 +00:00
John Mark Bell ca96353d9f Merged revisions 7764-7977,7979-8058 via svnmerge from
svn://svn.netsurf-browser.org/branches/paulblokus/textinput

........
  r7769 | paulblokus | 2009-06-11 22:26:16 +0100 (Thu, 11 Jun 2009) | 4 lines
  
  replace global history window with an empty window for future tests
  add the necessary files
  first lines ported
........
  r7771 | paulblokus | 2009-06-11 23:51:46 +0100 (Thu, 11 Jun 2009) | 1 line
  
  more functions
........
  r7772 | paulblokus | 2009-06-12 02:07:36 +0100 (Fri, 12 Jun 2009) | 1 line
  
  redraw working
........
  r7777 | paulblokus | 2009-06-12 11:35:45 +0100 (Fri, 12 Jun 2009) | 3 lines
  
  plotter fix
  make use of the provided clipping rectangle
........
  r7781 | paulblokus | 2009-06-12 16:26:51 +0100 (Fri, 12 Jun 2009) | 3 lines
  
  callbacks for taxtarea to request a [caret]redraw
  basic caret handling drawing
........
  r7782 | paulblokus | 2009-06-12 22:36:50 +0100 (Fri, 12 Jun 2009) | 1 line
  
  single character insertion
........
  r7783 | paulblokus | 2009-06-12 22:41:37 +0100 (Fri, 12 Jun 2009) | 1 line
  
  single character insertion
........
  r7784 | paulblokus | 2009-06-12 23:55:40 +0100 (Fri, 12 Jun 2009) | 3 lines
  
  fixed caret clipping
  arrows, delete and backspace
........
  r7812 | paulblokus | 2009-06-16 14:55:41 +0100 (Tue, 16 Jun 2009) | 1 line
  
  remove bug causing NS hang on \n in textarea
........
  r7816 | paulblokus | 2009-06-16 16:29:48 +0100 (Tue, 16 Jun 2009) | 1 line
  
  Enter, Home, End keys
........
  r7817 | paulblokus | 2009-06-16 16:56:16 +0100 (Tue, 16 Jun 2009) | 1 line
  
  Ctrl + Home/End
........
  r7818 | paulblokus | 2009-06-16 17:16:51 +0100 (Tue, 16 Jun 2009) | 1 line
  
  redraw caret only on caret moves
........
  r7821 | paulblokus | 2009-06-16 20:18:30 +0100 (Tue, 16 Jun 2009) | 1 line
  
  line end/start delete
........
  r7822 | paulblokus | 2009-06-16 23:43:42 +0100 (Tue, 16 Jun 2009) | 1 line
  
  selection drawing + select all
........
  r7823 | paulblokus | 2009-06-17 02:31:07 +0100 (Wed, 17 Jun 2009) | 3 lines
  
  auto scrolling on caret moves
  clear selection
........
  r7845 | paulblokus | 2009-06-18 17:35:03 +0100 (Thu, 18 Jun 2009) | 1 line
  
  page up/down
........
  r7846 | paulblokus | 2009-06-18 17:38:45 +0100 (Thu, 18 Jun 2009) | 1 line
  
   remove unnecessary fix
........
  r7847 | paulblokus | 2009-06-18 18:00:16 +0100 (Thu, 18 Jun 2009) | 1 line
  
  clipping fixes
........
  r7849 | paulblokus | 2009-06-18 18:21:02 +0100 (Thu, 18 Jun 2009) | 1 line
  
  scroll fix
........
  r7850 | paulblokus | 2009-06-18 18:45:13 +0100 (Thu, 18 Jun 2009) | 1 line
  
  simplified redraw request logic
........
  r7855 | paulblokus | 2009-06-18 19:56:24 +0100 (Thu, 18 Jun 2009) | 1 line
  
  front end passing mouse events
........
  r7858 | paulblokus | 2009-06-18 22:18:39 +0100 (Thu, 18 Jun 2009) | 3 lines
  
  drag selection
  bug fixes
........
  r7860 | paulblokus | 2009-06-18 23:32:39 +0100 (Thu, 18 Jun 2009) | 3 lines
  
  take selection into account on keypress of different types
  a few bugs fixed
........
  r7876 | paulblokus | 2009-06-19 13:43:07 +0100 (Fri, 19 Jun 2009) | 3 lines
  
  pango nsfont_split fix
  a few textarea fixes
........
  r7879 | paulblokus | 2009-06-19 17:33:10 +0100 (Fri, 19 Jun 2009) | 4 lines
  
  newline handling seems to work this way
  clear selection on mouse click
  more bug fixes
........
  r7880 | paulblokus | 2009-06-19 18:16:27 +0100 (Fri, 19 Jun 2009) | 3 lines
  
  no caret option
  selection follows drag
........
  r7883 | paulblokus | 2009-06-19 19:08:44 +0100 (Fri, 19 Jun 2009) | 3 lines
  
  o width selection bug fix
  caret at correct side of drag selection
........
  r7918 | paulblokus | 2009-06-22 21:01:28 +0100 (Mon, 22 Jun 2009) | 3 lines
  
  fix caret positioning at line end
  CR removal in input methods
........
  r7919 | paulblokus | 2009-06-22 21:34:39 +0100 (Mon, 22 Jun 2009) | 1 line
  
  fix crash on 0 length text
........
  r7926 | paulblokus | 2009-06-23 09:53:56 +0100 (Tue, 23 Jun 2009) | 3 lines
  
  change LF into spaces for single line widget
  text normalisation at one place
........
  r7931 | paulblokus | 2009-06-23 10:51:25 +0100 (Tue, 23 Jun 2009) | 1 line
  
  cleanup
........
  r7933 | paulblokus | 2009-06-23 11:17:22 +0100 (Tue, 23 Jun 2009) | 1 line
  
  fix selection draw
........
  r7935 | paulblokus | 2009-06-23 11:41:30 +0100 (Tue, 23 Jun 2009) | 1 line
  
  guard readonly
........
  r7942 | paulblokus | 2009-06-24 08:19:39 +0100 (Wed, 24 Jun 2009) | 1 line
  
  applied changes suggested by jmb
........
  r7943 | paulblokus | 2009-06-24 09:04:49 +0100 (Wed, 24 Jun 2009) | 1 line
  
  little fixes
........
  r7945 | paulblokus | 2009-06-24 12:50:14 +0100 (Wed, 24 Jun 2009) | 1 line
  
  correct line length and wrapping
........
  r7947 | paulblokus | 2009-06-24 14:32:36 +0100 (Wed, 24 Jun 2009) | 3 lines
  
  fixed page up/down broken in last commit
  changed logic for caret positioning on soft breaks
........
  r7949 | paulblokus | 2009-06-24 16:31:42 +0100 (Wed, 24 Jun 2009) | 1 line
  
  remove temporary/test code
........
  r7975 | paulblokus | 2009-06-25 16:00:46 +0100 (Thu, 25 Jun 2009) | 1 line
  
  changes suggested by jmb
........
  r7976 | paulblokus | 2009-06-25 16:33:23 +0100 (Thu, 25 Jun 2009) | 1 line
  
  added ro_ prefix to RISC OS textarea code
........

svn path=/trunk/netsurf/; revision=8060
2009-06-27 13:59:25 +00:00
John Mark Bell a070f24913 Lose more redundancy
svn path=/trunk/netsurf/; revision=7613
2009-05-28 16:38:17 +00:00
John Mark Bell 73a89e8a0f Lose redundant variable.
Ensure name_t is used in tree_delete_node_internal()

svn path=/trunk/netsurf/; revision=7609
2009-05-28 16:16:16 +00:00
John Mark Bell 2730814c27 Remove redundant statements
svn path=/trunk/netsurf/; revision=7608
2009-05-28 16:13:02 +00:00
John Mark Bell abc3603feb And again
svn path=/trunk/netsurf/; revision=7607
2009-05-28 16:05:17 +00:00
John Mark Bell e9e3649648 Make some vague attempt at detecting failure to write output.
svn path=/trunk/netsurf/; revision=7606
2009-05-28 16:03:48 +00:00
Michael Drake 666506689f Remove redundant assign, and make case indentation style guide complient.
svn path=/trunk/netsurf/; revision=7605
2009-05-28 15:59:02 +00:00
John Mark Bell 07c557a25d Report memory exhaustion -- the whole tree loading stuff needs an overhaul as it's pretty lax about dealing with memory exhaustion.
svn path=/trunk/netsurf/; revision=7604
2009-05-28 15:57:54 +00:00
John Mark Bell d81a949cdd Remove unused code
svn path=/trunk/netsurf/; revision=7603
2009-05-28 15:51:03 +00:00
John Mark Bell dda592c870 Remove redundant code from browser_window_mouse_action_html().
Tidy up browser_window_mouse_track().

svn path=/trunk/netsurf/; revision=7602
2009-05-28 14:35:12 +00:00
John Mark Bell 243c1ba03f Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
John Mark Bell d66ffb6e85 It's probably about time we stopped claiming to be 2.0
svn path=/trunk/netsurf/; revision=7411
2009-05-06 23:52:12 +00:00
Rob Kendrick ec034af671 Apply contributions from Mark Benjamin and Chris Tarnowski, with some reworking from me. Beware; glade nastyness ahead.
svn path=/trunk/netsurf/; revision=7136
2009-04-20 20:31:13 +00:00
Michael Drake d1b5c38883 Possibly fix links opened in current window not being scrolled to top.
svn path=/trunk/netsurf/; revision=7065
2009-04-08 11:07:30 +00:00
John Mark Bell 2531079866 Revert r6973. Apparently, it causes loads of problems.
svn path=/trunk/netsurf/; revision=7047
2009-04-05 19:17:24 +00:00
Michael Drake ef5089e629 Add some incomplete documentation for path plotter. Better documentation of rectangle and fill plotters.plotters.h
svn path=/trunk/netsurf/; revision=7016
2009-03-31 15:17:08 +00:00
Michael Drake 08331f781e Use tabs for indentation.
svn path=/trunk/netsurf/; revision=7008
2009-03-31 12:55:23 +00:00
Daniel Silverstone 1664683fa9 Tidy browser_window_refresh_url_bar a bit, ensure the sizes all make sense, that we don't allocate unnecessarily, etc.
svn path=/trunk/netsurf/; revision=7007
2009-03-31 12:23:12 +00:00
Michael Drake 1b25b44922 Use fragment instead of #fragment in the comment because it does not include the #.
svn path=/trunk/netsurf/; revision=7006
2009-03-31 11:12:36 +00:00
Michael Drake 4dc9a59409 Comment browser_window_refresh_url_bar() and fix some wrap.
svn path=/trunk/netsurf/; revision=7005
2009-03-31 11:06:09 +00:00
Chris Young 28cfe681db Ensure buffer is big enough for the extra character.
svn path=/trunk/netsurf/; revision=7003
2009-03-31 06:39:32 +00:00
Chris Young bab30e4f1d Stop URL bar losing characters on every refresh
svn path=/trunk/netsurf/; revision=7001
2009-03-30 18:10:16 +00:00
John Mark Bell b230423267 Change URL bar contents when switching tabs in GTK frontend.
Remove fixed-size buffer from core URL string handling.

Credit: Mark Benjamin.

svn path=/trunk/netsurf/; revision=6998
2009-03-30 15:46:26 +00:00
John Mark Bell 118036d27b Use <> for library headers.
svn path=/trunk/netsurf/; revision=6919
2009-03-27 01:59:16 +00:00
Michael Drake 0a7e10819b Add functions for checking if back/forward/stop/reload actions are currently available for a given browser window.
svn path=/trunk/netsurf/; revision=6827
2009-03-23 22:22:30 +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
John Mark Bell 2aa7f5c7f1 Improve previous commit.
svn path=/trunk/netsurf/; revision=6752
2009-03-10 09:14:25 +00:00
John Mark Bell 2ace72c587 Treat short meta refreshes in top-level browser windows as if they were HTTP redirects for the purposes of verifiability.
svn path=/trunk/netsurf/; revision=6751
2009-03-10 09:10:43 +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
Rob Kendrick c72b3cf71a OpenBSD 4.4 compilation fixes. Does not deal with lack of -Wextra or -Wstrict-aliasing for lpu or hubbub.
svn path=/trunk/netsurf/; revision=6673
2009-03-02 19:26:11 +00:00