Commit Graph

795 Commits

Author SHA1 Message Date
Chris Young 835d033e7b Amiga icon loader. Treeviews will now use the user's icons for content types.
svn path=/trunk/netsurf/; revision=10925
2010-10-30 14:23:38 +00:00
Chris Young 755e45028d If a drag is in progress that the tree can't handle, it is a TREE_UNKNOWN_DRAG not a
TREE_NO_DRAG, as the platform code might be able to deal with it.

svn path=/trunk/netsurf/; revision=10920
2010-10-30 10:43:14 +00:00
Chris Young f2c834ac51 Only set TREE_MOVE_DRAG is the tree is TREE_MOVABLE
svn path=/trunk/netsurf/; revision=10919
2010-10-30 09:23:03 +00:00
Chris Young 25e9b79f5c Allow getting the tree's drag property. This ensures we can see whether the current
drag is something we might need to display an icon for.

svn path=/trunk/netsurf/; revision=10917
2010-10-29 17:40:36 +00:00
John Mark Bell f309236fa8 Fix bug 3095552: don't escape URLs after editing. (credit: Martin Bazley)
svn path=/trunk/netsurf/; revision=10911
2010-10-27 20:15:01 +00:00
John Mark Bell 43e5a16b34 Squash warning
svn path=/trunk/netsurf/; revision=10903
2010-10-24 16:39:16 +00:00
Chris Young c4ebfa24d8 Don't expand the oldest global history entries by default.
svn path=/trunk/netsurf/; revision=10902
2010-10-24 16:24:37 +00:00
Chris Young c5b9e45960 Make CR also stop and save tree edits
svn path=/trunk/netsurf/; revision=10892
2010-10-17 13:00:51 +00:00
Chris Young c052d534e7 Add some missing CONTENT_WEBPs. WebP images in HTML docs now display correctly.
svn path=/trunk/netsurf/; revision=10890
2010-10-16 15:26:28 +00:00
Vincent Sanders 1dbbbaf64a ensure iframe stuff does not de-reference null pointers
svn path=/trunk/netsurf/; revision=10884
2010-10-14 00:59:39 +00:00
Steve Fryatt 73cf86e437 - Request correct redraw area when changing a node's size in tree_handle_node_changed().
- Update parameter documentation to match function definitions.

svn path=/trunk/netsurf/; revision=10876
2010-10-10 09:10:44 +00:00
Vincent Sanders 45b2ab2d88 If the cookies tree has not been initialised do not allow operations to be scheduled upon it.
svn path=/trunk/netsurf/; revision=10868
2010-10-06 21:46:06 +00:00
John Mark Bell 6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
James Bursa 76a8c043a6 Simplify a browser_window_go_post() to browser_window_go().
svn path=/trunk/netsurf/; revision=10762
2010-09-12 18:27:59 +00:00
Vincent Sanders bda534e12a Clean up how GTK frontend finds resources
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00
Chris Young 004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Michael Drake 513793a060 Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young d6eb28d5de Replace unnecessarily complicated path concatenation with something simpler and
easily adaptable to different platform path structures.

svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
John Mark Bell 5bebf2f2fc Merge branches/vince/netsurf-fbtk-rework to trunk.
svn path=/trunk/netsurf/; revision=10605
2010-07-07 18:08:17 +00:00
Michael Drake f6faa20a37 In switch statements add default branch for unknown enum values, with assert.
svn path=/trunk/netsurf/; revision=10603
2010-07-06 21:09:20 +00:00
Vincent Sanders bd6c884020 Fix up confusing formatting
svn path=/trunk/netsurf/; revision=10586
2010-06-28 11:31:51 +00:00
Michael Drake 0642cdafc2 Fix mouse.h file description. Add iframe comment.
svn path=/trunk/netsurf/; revision=10571
2010-06-09 09:53:07 +00:00
Michael Drake b010a25771 + Refactor input handling from browser window code into content
handlers.
+ Disentangle all box tree manipulation from browser window
  code and put it where it belongs.
+ Move other content specific and other irrelevant code from
  browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
  used by browser window code, and it is used by treeview
  windows on the treeview branch.

svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
John Mark Bell 000e6ad3de It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).

svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Vincent Sanders 2fd1476f8c The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
Alter the framebuffer schedule_run to return the time untill the next event.


svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
John Mark Bell 2276afb9f6 Log any remaining interned strings (there should be none)
svn path=/trunk/netsurf/; revision=10502
2010-04-27 22:14:52 +00:00
Daniel Silverstone 30e0cfe7a9 First step to fixing memory leaks -- Box model no longer leaks computed styles
svn path=/trunk/netsurf/; revision=10500
2010-04-27 21:38:41 +00:00
John Mark Bell 0de2013f25 Clean up caches on exit
svn path=/trunk/netsurf/; revision=10494
2010-04-27 06:48:09 +00:00
Michael Drake 4c4c2c5f97 Fix typo.
svn path=/trunk/netsurf/; revision=10478
2010-04-24 21:16:12 +00:00
Vincent Sanders 03bb3e8636 remove _GNU_SOURCE define from everywhere.
strndup is not standard so provide an implementation.

svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
Daniel Silverstone 3f7c601078 Ensure we can search textplain again
svn path=/trunk/netsurf/; revision=10454
2010-04-22 14:37:32 +00:00
John Mark Bell 27064b4107 Remove redundant code
svn path=/trunk/netsurf/; revision=10430
2010-04-18 16:08:06 +00:00
John Mark Bell 031e301c53 Squash leak
svn path=/trunk/netsurf/; revision=10429
2010-04-18 16:07:51 +00:00
John Mark Bell 328fed8122 Liberally sprinkle #ifdef around
svn path=/trunk/netsurf/; revision=10417
2010-04-16 20:58:09 +00:00
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
Michael Drake 656c0a0dcb Fix cursor on textarea scrollbars.
svn path=/trunk/netsurf/; revision=6664
2009-03-02 12:48:20 +00:00
John Mark Bell c2a773b049 Only attempt to find the next character in a string if we're not already at the end of the string.
svn path=/trunk/netsurf/; revision=6606
2009-02-22 23:30:27 +00:00
John Mark Bell b98f105b24 Purge WITH_AUTH
svn path=/trunk/netsurf/; revision=6600
2009-02-22 15:13:10 +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
Michael Drake 997b982500 More plotters commenting. Text and bitmap plotters.
svn path=/trunk/netsurf/; revision=6594
2009-02-21 17:12:15 +00:00
Michael Drake de7a20499a Fix button hover assert.
svn path=/trunk/netsurf/; revision=6585
2009-02-20 20:48:30 +00:00
Michael Drake dd6031d297 Fix imagemap cursors.
svn path=/trunk/netsurf/; revision=6584
2009-02-20 19:34:40 +00:00
Michael Drake 8bebcb5ca9 Fix handling of URLs on float boxes (which have no style).
svn path=/trunk/netsurf/; revision=6574
2009-02-20 12:12:32 +00:00
John Mark Bell cc1094f0ac Utilise hubbub's form association callback.
Please can we dispense with the libxml binding? It's causing much #ifdef mess.
Fix encoding of <input type=image> names -- previously were output as raw utf-8, rather than in the submission charset.
Actually bother to destroy forms in a document, and the controls associated with them. We still leak non form-associated controls, but that's too much effort to fix right now.

svn path=/trunk/netsurf/; revision=6573
2009-02-20 11:39:25 +00:00
Michael Drake 856c3bca25 Implement 'auto' value for CSS cursor property.
Allow cursor type to be user set for links and form stuff.

svn path=/trunk/netsurf/; revision=6564
2009-02-18 15:57:08 +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 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
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
Adrian Lees ac6b80c988 Obvious fix for text start/end problem; missing something?
svn path=/trunk/netsurf/; revision=6396
2009-02-08 04:25:42 +00:00
John Mark Bell 961be4593b Ensure hotlist URLs are normalised before using them.
Squash a bunch of memory leaks.

svn path=/trunk/netsurf/; revision=6370
2009-02-06 02:04:25 +00:00
John Tytgat d76712a150 pdf_plot_fill(): fixed wrong change made in r6363.
svn path=/trunk/netsurf/; revision=6368
2009-02-06 01:09:08 +00:00