Commit Graph

1868 Commits

Author SHA1 Message Date
Vincent Sanders
448b0275ae Fix file: handling on risc os, gtk, windows and framebuffer frontends
svn path=/trunk/netsurf/; revision=10419
2010-04-16 23:56:53 +00:00
John Mark Bell
b5b280dc96 Fix RISC OS build
svn path=/trunk/netsurf/; revision=10405
2010-04-15 22:49:22 +00:00
John Mark Bell
1a5b039115 Fix double free of title
svn path=/trunk/netsurf/; revision=10386
2010-04-12 22:39:21 +00:00
John Mark Bell
6f8a8495c6 I don't understand the full_redraw flag, or the optimisation gained from not using it.
No frontend other than RISC OS ever used it, so stop the RO frontend using it, too.

svn path=/trunk/netsurf/; revision=10380
2010-04-11 23:32:38 +00:00
John Mark Bell
952682b906 Implement draw_clone()
svn path=/trunk/netsurf/; revision=10379
2010-04-11 23:11:40 +00:00
John Mark Bell
dcd33c3798 Port to hlcache-enabled core
svn path=/trunk/netsurf/; revision=10377
2010-04-11 23:04:06 +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
Michael Drake
0613700c5e Debug window is now black on white.
svn path=/trunk/netsurf/; revision=10337
2010-04-09 23:26:27 +00:00
Michael Drake
fee9e16636 Change rendering to use plotter functions. Purge loads of magic numbers. Make the content table look prettier. Separate content table creation and rendering code from RISC OS front end code. The debug window can now trivially be moved to the core. Debug window still currently disabled as it does not work with new cache.
svn path=/trunk/netsurf/; revision=10336
2010-04-09 23:22:30 +00:00
Daniel Silverstone
6c9e4bea8e Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in llcachec.
svn path=/trunk/netsurf/; revision=10300
2010-04-08 12:16:52 +00:00
Michael Drake
fb8fdb4db1 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10292
2010-04-07 19:52:23 +00:00
Michael Drake
26f75ad18f More fixing for new cache.
svn path=/trunk/netsurf/; revision=10291
2010-04-07 19:40:27 +00:00
Michael Drake
a3977f1521 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10290
2010-04-07 19:23:53 +00:00
Michael Drake
6381200226 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10289
2010-04-07 19:06:48 +00:00
Michael Drake
d334b18386 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10288
2010-04-07 18:54:44 +00:00
Michael Drake
9a28ace52b Start fixing for new cache.
svn path=/trunk/netsurf/; revision=10286
2010-04-07 18:04:55 +00:00
Michael Drake
b9e32a9750 Fix for new cache.
svn path=/trunk/netsurf/; revision=10285
2010-04-07 18:01:29 +00:00
Michael Drake
61fd8d1240 Fix for new cache.
svn path=/trunk/netsurf/; revision=10284
2010-04-07 17:46:19 +00:00
Michael Drake
6a55bafba8 Fix for new cache.
svn path=/trunk/netsurf/; revision=10283
2010-04-07 17:42:21 +00:00
Michael Drake
ec2f35cb6f Fix for new cache.
svn path=/trunk/netsurf/; revision=10282
2010-04-07 17:37:54 +00:00
Michael Drake
cffb7ea77b Fix for new cache.
svn path=/trunk/netsurf/; revision=10281
2010-04-07 17:33:58 +00:00
Michael Drake
2975e1df84 Fix for new cache.
svn path=/trunk/netsurf/; revision=10280
2010-04-07 17:29:40 +00:00
Michael Drake
95b859c2eb Fix for new cache.
svn path=/trunk/netsurf/; revision=10279
2010-04-07 17:05:50 +00:00
Michael Drake
43094a146d Fix for new cache.
svn path=/trunk/netsurf/; revision=10278
2010-04-07 17:01:27 +00:00
Michael Drake
832daf49fa hlcache_handle is typedeffed.
svn path=/trunk/netsurf/; revision=10276
2010-04-07 16:39:24 +00:00
Michael Drake
111920ad95 Fix for new cache.
svn path=/trunk/netsurf/; revision=10275
2010-04-07 16:08:24 +00:00
Michael Drake
4119cc50b4 More new cache fixing.
svn path=/trunk/netsurf/; revision=10274
2010-04-07 15:34:01 +00:00
Michael Drake
c147001a17 More new cache fixing.
svn path=/trunk/netsurf/; revision=10273
2010-04-07 14:14:44 +00:00
Michael Drake
c723c8bc59 More new cache fixing.
svn path=/trunk/netsurf/; revision=10272
2010-04-07 14:09:13 +00:00
Michael Drake
14008b11d0 Fix page info for new cache.
svn path=/trunk/netsurf/; revision=10270
2010-04-07 13:14:00 +00:00
Michael Drake
4b54cca8b9 Start fixing for new cache.
svn path=/trunk/netsurf/; revision=10268
2010-04-07 12:45:18 +00:00
Michael Drake
20cb4a7a48 Fix hotlist for new cache.
svn path=/trunk/netsurf/; revision=10267
2010-04-07 12:19:08 +00:00
Michael Drake
65b3dd18e3 Make filename_from_path() compile.
svn path=/trunk/netsurf/; revision=10264
2010-04-07 11:05:24 +00:00
Michael Drake
51d619ad4d Fix box dump for new cache.
svn path=/trunk/netsurf/; revision=10263
2010-04-07 10:55:39 +00:00
Michael Drake
cc0e23b540 Don't dump box trees on crash, and fix view source for new cache.
svn path=/trunk/netsurf/; revision=10262
2010-04-07 10:33:46 +00:00
Michael Drake
87166fdbc1 hlcache_handle is typedeffed.
svn path=/trunk/netsurf/; revision=10261
2010-04-07 09:28:01 +00:00
Michael Drake
088742b3c3 Fix filetype.c.
svn path=/trunk/netsurf/; revision=10260
2010-04-07 09:12:46 +00:00
John Mark Bell
b584273c0b Port to new download API
svn path=/trunk/netsurf/; revision=10250
2010-04-05 22:47:09 +00:00
John Mark Bell
6cb8472685 Apply ifdef. The first major casualty of new-cache.
svn path=/trunk/netsurf/; revision=10249
2010-04-05 22:17:03 +00:00
John Mark Bell
303401c050 Fix for hlcache
svn path=/trunk/netsurf/; revision=10248
2010-04-05 22:12:17 +00:00
John Mark Bell
8fdd91bc93 Port to new content API
svn path=/trunk/netsurf/; revision=10246
2010-04-05 22:03:44 +00:00
John Mark Bell
4d031f21cb Port to new content API
svn path=/trunk/netsurf/; revision=10245
2010-04-05 21:58:38 +00:00
John Mark Bell
bf1affe76b Port to new content API
svn path=/trunk/netsurf/; revision=10244
2010-04-05 21:53:31 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +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
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Chris Young
033b5d815a Move code which extracts the filename from a given path into frontend.
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
John Mark Bell
4a950fcbf7 Only run the scheduler on null poll events.
Ensure the status bar widget treats its text as const.

Fix erroneous free of status bar text in status bar widget destructor. 
The status bar text is now owned by the core.

Schedule a callback to request a redraw from the Wimp when setting status bar 
text. The previous approach could lead to the Wimp having a long queue of 
redraw events to issue to us, thus preventing any other application being 
scheduled.

The above changes are based on a patch from Rik Griffin.

svn path=/trunk/netsurf/; revision=10126
2010-03-10 22:47:37 +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
Adrian Lees
e79df765b0 Fix NULL ptr dereference in status bar rendering; formatting.
svn path=/trunk/netsurf/; revision=9883
2010-01-24 12:49:29 +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
John Mark Bell
1f4bb41301 I've decided that the user probably doesn't care if setting the filetype of saved HTML documents to HTML fails or not.
More importantly, this also squashes a memory leak, and stops returning false from a function which is defined as returning -1 on error.

svn path=/trunk/netsurf/; revision=9731
2009-12-18 00:11:37 +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
c3f2972d03 Another blatent use-after-free
svn path=/trunk/netsurf/; revision=9713
2009-12-03 22:12:43 +00:00
John Mark Bell
f6fbe6ef96 Fix blatent use-after-free bug.
svn path=/trunk/netsurf/; revision=9712
2009-12-03 22:10:56 +00:00
John Mark Bell
dea67b984a Modern OSLib (as of 3 months ago) no longer has colourtrans_CURRENT_MODE.
Use os_CURRENT_MODE, instead.

svn path=/trunk/netsurf/; revision=9710
2009-12-02 16:30:44 +00:00
John Tytgat
2261b616f6 - content/urldb.c(auth_data): Removed;
(prot_space_data): Added, it lives linked in the leaf host_part
  struct and together with its scheme and port (which defins canonical root
  url) and realm this defines a protection space.
  (path_data): Removed auth_data field and replaced by a prot_space_data
  pointer.
  (host_part::prot_space): Added linked list of protection space data
  structs.
  (urldb_get_auth_details): Given an URL fetch fetches its auth.
  (urldb_set_auth_details): Creates or updates the contents of a
  protection space to which given URL belongs.
  (urldb_destroy_host_tree): Delete protection data space structures
  using urldb_destroy_prot_space.
  (urldb_destroy_prot_space): Added.
- content/urldb.h(urldb_get_auth_details): Added realm parameter.
- content/fetchers/fetch_curl.c(fetch_curl_set_options): Update
  urldb_get_auth_details call (we don't know realm at this point).
- content/fetchcache.c(fetchcache_callback, fetchcache_auth): At FETCH_AUTH,
  use realm to determine if we really don't know auth data and if so,
  refetch content.
- content/content.h(struct content): Add content::tried_with_auth.
- content/content.c(content_create): Initialize content::tried_with_auth.
- riscos/401login.c(ro_gui_401login_open): Show known authentication
  data in dialogue so user can see what was wrong with it and correct it.

Solves bug #2830829.

svn path=/trunk/netsurf/; revision=9045
2009-08-04 23:02:23 +00:00
John Mark Bell
bbdb07fe16 Fix RISC OS and Amiga builds.
The sooner this stuff is in the core, the better.

svn path=/trunk/netsurf/; revision=8827
2009-07-27 18:01:54 +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
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
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
Vincent Sanders
680298e61c plotters line refactor
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
Vincent Sanders
f9ecd56f62 ploter refactor of rectangle handling
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +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
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
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
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
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
6dd385591d NETSURF_USE_DRAW should apply to the Draw content handler only.
Introduce NETSURF_USE_DRAW_EXPORT to toggle draw export support.
Fix up a bunch of stuff related to this.
Fix warnings caused by disabling the Sprite renderer.

svn path=/trunk/netsurf/; revision=7899
2009-06-20 19:38:56 +00:00
John Mark Bell
dbba3b4d37 Whoops. Lose spurious ')'.
svn path=/trunk/netsurf/; revision=7646
2009-05-30 00:29:46 +00:00
John Mark Bell
732d940744 Stop ro_gui_get_icon_string() returning a pointer to a location on the stack.
Make explicit the semantics that strings returned from this call are transient
and will be invalidated by subsequent calls.

svn path=/trunk/netsurf/; revision=7645
2009-05-30 00:26:04 +00:00
John Mark Bell
5404e91fcd Simplify code
svn path=/trunk/netsurf/; revision=7644
2009-05-30 00:23:07 +00:00
John Mark Bell
f959f5b679 A bunch of tidying. Also squash NULL-pointer dereferences.
svn path=/trunk/netsurf/; revision=7643
2009-05-29 23:43:53 +00:00
John Mark Bell
21c78155b5 Actually catch error and deal with it
svn path=/trunk/netsurf/; revision=7642
2009-05-29 23:25:38 +00:00
John Mark Bell
b03d52e6d9 Ensure we don't read beyond the end of the array of available matches. Set any remaining saved pointers to NULL.
svn path=/trunk/netsurf/; revision=7641
2009-05-29 23:23:02 +00:00
John Mark Bell
cda586e6dc Add missing break statement
svn path=/trunk/netsurf/; revision=7640
2009-05-29 23:14:16 +00:00
John Mark Bell
0fee18ebdc Add missing return statement.
svn path=/trunk/netsurf/; revision=7639
2009-05-29 23:13:28 +00:00
John Mark Bell
1db6b5d93e Tidy up somewhat. Lose redundant assignment.
svn path=/trunk/netsurf/; revision=7638
2009-05-29 23:12:18 +00:00
John Mark Bell
8d2688e121 Add missing return statement.
svn path=/trunk/netsurf/; revision=7637
2009-05-29 23:05:44 +00:00
John Mark Bell
f0adddc334 Lose redundant variable
svn path=/trunk/netsurf/; revision=7636
2009-05-29 23:04:26 +00:00
John Mark Bell
d09d540fff Add missing return.
svn path=/trunk/netsurf/; revision=7635
2009-05-29 23:02:59 +00:00
John Mark Bell
80ae7c78b3 Remove redundant variable
svn path=/trunk/netsurf/; revision=7634
2009-05-29 23:02:13 +00:00
John Mark Bell
63d4f28487 Add missing return statement.
svn path=/trunk/netsurf/; revision=7633
2009-05-29 23:00:34 +00:00
John Mark Bell
7c0ded8972 Lose redundant assignment
svn path=/trunk/netsurf/; revision=7632
2009-05-29 22:59:42 +00:00
John Mark Bell
7eed46e1fa Add missing return in error case.
svn path=/trunk/netsurf/; revision=7631
2009-05-29 22:58:13 +00:00
John Mark Bell
9b4a382d68 Insert a redundant return, as scan-build fails to notice that die() never returns.
svn path=/trunk/netsurf/; revision=7629
2009-05-29 22:56:09 +00:00
John Mark Bell
5d75e40700 Lose redundant code. Actually ensure that mode is initialised in ro_gui_theme_update_toolbar_icon().
svn path=/trunk/netsurf/; revision=7598
2009-05-28 12:38:36 +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
89396e7d2a Avoid dereferencing NULL pointer. Tighten up other icon string initialisation, too.
svn path=/trunk/netsurf/; revision=7592
2009-05-28 00:55:04 +00:00
John Mark Bell
fd932d69b9 Set bit 4 of extended window flags byte (makes Wimp_GetPointerInfo respond to shaded icons on RO5). I've no idea why this wasn't done years ago.
svn path=/trunk/netsurf/; revision=7402
2009-05-06 00:14:32 +00:00
John Mark Bell
daf7a52dd6 Hubbub is no longer optional.
Remove libxml2 parser binding.

svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +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
John Mark Bell
87add71110 Purge WITH_DRAW_EXPORT
svn path=/trunk/netsurf/; revision=6980
2009-03-29 00:24:14 +00:00
John Mark Bell
f0432b9f7b Purge WITH_SAVE_COMPLETE
svn path=/trunk/netsurf/; revision=6979
2009-03-29 00:22:20 +00:00
John Mark Bell
64d47f313a Aliasing fixes
svn path=/trunk/netsurf/; revision=6977
2009-03-29 00:14:28 +00:00
John Mark Bell
e240c200d5 Avoid potentially unsafe writes through a const pointer.
svn path=/trunk/netsurf/; revision=6974
2009-03-28 19:59:46 +00:00
John Mark Bell
ce10998776 More aliasing
svn path=/trunk/netsurf/; revision=6973
2009-03-28 19:19:05 +00:00
John Mark Bell
9badebaf4e More aliasing
svn path=/trunk/netsurf/; revision=6972
2009-03-28 19:17:08 +00:00
John Mark Bell
76755556e0 Aliasing fun. This is ugly.
svn path=/trunk/netsurf/; revision=6971
2009-03-28 19:10:29 +00:00
John Mark Bell
02d61df4e5 Squash warning
svn path=/trunk/netsurf/; revision=6962
2009-03-28 01:31:57 +00:00
John Mark Bell
8f871d43a7 Aliasing fixes
svn path=/trunk/netsurf/; revision=6960
2009-03-28 01:16:04 +00:00
John Mark Bell
70f81c8bcf Aliasing fixes
svn path=/trunk/netsurf/; revision=6959
2009-03-28 01:15:02 +00:00
John Mark Bell
2fdb251f0c Aliasing fixes
svn path=/trunk/netsurf/; revision=6958
2009-03-28 01:11:50 +00:00
John Mark Bell
9fd2dfa712 Aliasing fixes
svn path=/trunk/netsurf/; revision=6957
2009-03-28 01:10:32 +00:00
John Mark Bell
f0a06d8535 Aliasing fixes
svn path=/trunk/netsurf/; revision=6956
2009-03-28 01:09:03 +00:00
John Mark Bell
c431416455 Aliasing fixes
svn path=/trunk/netsurf/; revision=6955
2009-03-28 01:02:29 +00:00
John Mark Bell
3bfd7142df Aliasing fixes
svn path=/trunk/netsurf/; revision=6954
2009-03-28 01:00:31 +00:00
John Mark Bell
f6b3442823 Aliasing fixes.
svn path=/trunk/netsurf/; revision=6953
2009-03-28 00:59:39 +00:00
John Mark Bell
9b9112bd7c More aliasing fixes.
svn path=/trunk/netsurf/; revision=6951
2009-03-28 00:56:29 +00:00
John Mark Bell
b82801129c More aliasing avoidance/permission
svn path=/trunk/netsurf/; revision=6948
2009-03-27 18:09:49 +00:00
John Mark Bell
ac6cc0e4a4 More permitted aliasing
svn path=/trunk/netsurf/; revision=6947
2009-03-27 17:55:58 +00:00
John Mark Bell
fbec0d96c9 Another wimp_window_state->wimp_open conversion.
Avoid aliasing an int ** and a void **.

svn path=/trunk/netsurf/; revision=6946
2009-03-27 17:54:33 +00:00
John Mark Bell
c097ddf59e Permit aliasing of pointers to wimp_window_state and wimp_open.
svn path=/trunk/netsurf/; revision=6944
2009-03-27 17:49:25 +00:00
John Mark Bell
0bfed166f5 Squash warnings
svn path=/trunk/netsurf/; revision=6934
2009-03-27 02:46:30 +00:00
John Mark Bell
efeb0134f7 Squash warnings
svn path=/trunk/netsurf/; revision=6933
2009-03-27 02:33:35 +00:00
John Mark Bell
861970fbcd Squash warnings
svn path=/trunk/netsurf/; revision=6932
2009-03-27 02:32:26 +00:00
John Mark Bell
73365fa023 Squash warnings
svn path=/trunk/netsurf/; revision=6931
2009-03-27 02:28:30 +00:00
John Mark Bell
79a2422fd1 Squash warnings
svn path=/trunk/netsurf/; revision=6930
2009-03-27 02:25:57 +00:00
John Mark Bell
68d8ed687d Squash warning.
svn path=/trunk/netsurf/; revision=6929
2009-03-27 02:24:00 +00:00
John Mark Bell
d8ab59b578 Squash warning
svn path=/trunk/netsurf/; revision=6928
2009-03-27 02:21:42 +00:00
John Mark Bell
58f4b10b87 Squash warnings
svn path=/trunk/netsurf/; revision=6927
2009-03-27 02:20:22 +00:00
John Mark Bell
bd06e8e9be Squash warnings
svn path=/trunk/netsurf/; revision=6926
2009-03-27 02:19:38 +00:00
John Mark Bell
e84fa19ba6 Squash warning
svn path=/trunk/netsurf/; revision=6925
2009-03-27 02:15:24 +00:00
John Mark Bell
16a509e472 Squash warning
svn path=/trunk/netsurf/; revision=6924
2009-03-27 02:14:23 +00:00
John Mark Bell
1e72b02727 Squash warnings
svn path=/trunk/netsurf/; revision=6923
2009-03-27 02:13:10 +00:00
John Mark Bell
6d6491b240 Squash warnings
svn path=/trunk/netsurf/; revision=6922
2009-03-27 02:12:20 +00:00
John Mark Bell
38980e99fe Squash warnings
svn path=/trunk/netsurf/; revision=6921
2009-03-27 02:07:17 +00:00
John Mark Bell
3cdd5810ad Squash warnings
svn path=/trunk/netsurf/; revision=6920
2009-03-27 02:01:34 +00:00
John Mark Bell
a95145d806 Squash warnings.
svn path=/trunk/netsurf/; revision=6917
2009-03-27 01:34:32 +00:00
John Mark Bell
ad8aaa1d59 Squash warning
svn path=/trunk/netsurf/; revision=6916
2009-03-27 01:30:18 +00:00
John Mark Bell
3251f4b49c Squash warning
svn path=/trunk/netsurf/; revision=6915
2009-03-27 01:29:39 +00:00
John Mark Bell
9e35636b5e Squash warning
svn path=/trunk/netsurf/; revision=6914
2009-03-27 01:29:05 +00:00
John Mark Bell
57fa6e30c6 Use byte instead of unsigned char.
svn path=/trunk/netsurf/; revision=6913
2009-03-27 01:28:57 +00:00
John Mark Bell
ae326427a1 Squash warnings
svn path=/trunk/netsurf/; revision=6912
2009-03-27 01:27:27 +00:00
John Mark Bell
2b352b5752 Squash warnings
svn path=/trunk/netsurf/; revision=6911
2009-03-27 01:24:32 +00:00
John Mark Bell
4665091349 Squash warnings.
svn path=/trunk/netsurf/; revision=6910
2009-03-27 01:22:10 +00:00
John Mark Bell
69456beabb Squash warning
svn path=/trunk/netsurf/; revision=6909
2009-03-27 01:19:02 +00:00
John Mark Bell
b7b0edd8e0 Squash warnings
svn path=/trunk/netsurf/; revision=6908
2009-03-27 01:15:52 +00:00
John Mark Bell
e97bc3b178 Squash warnings. Tidy code. Make last_sprite_found static and locally scoped.
svn path=/trunk/netsurf/; revision=6907
2009-03-27 01:14:42 +00:00
John Mark Bell
be6d60c555 Squash warning
svn path=/trunk/netsurf/; revision=6906
2009-03-27 01:11:52 +00:00
John Mark Bell
c23ef5818a Squash warning
svn path=/trunk/netsurf/; revision=6905
2009-03-27 01:11:20 +00:00
Michael Drake
82aedf9600 Make RISC OS front end use r6827 functions.
svn path=/trunk/netsurf/; revision=6828
2009-03-23 22:56:31 +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
b577562953 We don't need to reparse the document when saving complete -- the document persists for the lifetime of its content.
Better still would be to perform the serialisation manually, so that we don't need to copy the document at all.

svn path=/trunk/netsurf/; revision=6774
2009-03-11 17:22:46 +00:00
John Mark Bell
903edd1bf5 Purge WITH_SEARCH
svn path=/trunk/netsurf/; revision=6604
2009-02-22 15:21:54 +00:00
John Mark Bell
5943c3a3ba Purge WITH_URL
svn path=/trunk/netsurf/; revision=6603
2009-02-22 15:19:06 +00:00
John Mark Bell
16a821e2aa Purge WITH_URI
svn path=/trunk/netsurf/; revision=6602
2009-02-22 15:17:46 +00:00
John Mark Bell
851da107c9 Purge WITH_PRINT
svn path=/trunk/netsurf/; revision=6601
2009-02-22 15:16:04 +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
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
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
Adrian Lees
7f4f1c80ef Fix object save
svn path=/trunk/netsurf/; revision=6359
2009-02-02 23:20:20 +00:00
Adrian Lees
9984ea5f11 Protect NS from DrawFiles it generated
svn path=/trunk/netsurf/; revision=6358
2009-02-02 23:17:41 +00:00
Adrian Lees
1f6d4f4a42 Appease tlsa
svn path=/trunk/netsurf/; revision=6356
2009-02-02 21:44:54 +00:00
Michael Drake
3cffe17cc7 More commenting of what we do with clip rectangle.
svn path=/trunk/netsurf/; revision=6353
2009-02-02 12:57:30 +00:00
Adrian Lees
15e8ba0270 Selection menu and save/download tweaks
svn path=/trunk/netsurf/; revision=6349
2009-02-02 00:06:31 +00:00
Michael Drake
a15d9876ca Document setting up of clip rectangle for NetSurf's core.
svn path=/trunk/netsurf/; revision=6348
2009-02-01 23:56:38 +00:00
Michael Drake
3cb9376483 Delete legacy code.
svn path=/trunk/netsurf/; revision=6347
2009-02-01 23:08:29 +00:00
John Tytgat
8e4853dd56 Remove unnecessary casting.
svn path=/trunk/netsurf/; revision=6332
2009-02-01 13:54:40 +00:00
John Tytgat
3f0c50e5a0 - C strings have always an implicit NUL character at the end, no need to specify an extra one.
- riscos/configure/con_theme.c: removed spurious code line.

svn path=/trunk/netsurf/; revision=6331
2009-02-01 13:37:32 +00:00
Adrian Lees
f46dd78718 Next batch of menu changes; clarify some key presses
svn path=/trunk/netsurf/; revision=6327
2009-02-01 02:19:01 +00:00
John Tytgat
35cd7ecbad When UnixLib 5 is used, use its API to do the coredumping. Define UnixEnv$coredump (value needs to be a directory to where the coredump files can be written too) instead of NetSurf$CoreDump to
enable this.

svn path=/trunk/netsurf/; revision=6321
2009-01-31 13:50:17 +00:00
Adrian Lees
bce01f90bc RFix immediate menu-related problems; changes to follow
svn path=/trunk/netsurf/; revision=6318
2009-01-31 03:43:06 +00:00
Adrian Lees
dfa214c525 Not my day :(
svn path=/trunk/netsurf/; revision=6298
2009-01-30 05:08:54 +00:00
Adrian Lees
03a1aac36a Selection- and link-related functions now on menu; other menu changes as per t's plan
svn path=/trunk/netsurf/; revision=6296
2009-01-30 05:06:30 +00:00
Adrian Lees
912adb285d Updated URLs in default hotlist
svn path=/trunk/netsurf/; revision=6011
2009-01-10 00:34:56 +00:00
Adrian Lees
d67a57c1e9 Assorted saving-related changes (WIP)
svn path=/trunk/netsurf/; revision=6010
2009-01-10 00:18:34 +00:00
Adrian Lees
327606f0fd A few usability tweaks
svn path=/trunk/netsurf/; revision=5922
2008-12-26 09:25:30 +00:00
Michael Drake
e34ed32685 Fix css_len2pt conversion from px and use it in the RO front end code.
svn path=/trunk/netsurf/; revision=5914
2008-12-16 12:26:52 +00:00
John Mark Bell
71db29f5b0 Build !Run at compile time. This ensures that the WimpSlot size is always correct.
svn path=/trunk/netsurf/; revision=5889
2008-12-09 11:12:58 +00:00
Michael Drake
b454575493 Fix for text export of certain pages, by jmb.
svn path=/trunk/netsurf/; revision=5872
2008-12-03 11:31:50 +00:00
John Tytgat
2d1481fafc 'unsigned long' -> 'colour' where it made sense.
svn path=/trunk/netsurf/; revision=5459
2008-09-28 22:37:13 +00:00
John Tytgat
c35fc63599 Remove include of an internal UnixLib header (which btw no longer exists in gccsdk4)
svn path=/trunk/netsurf/; revision=5444
2008-09-27 16:19:08 +00:00
Michael Drake
9069119dd5 Fix some wrarnings.
svn path=/trunk/netsurf/; revision=5359
2008-09-16 22:14:39 +00:00
Michael Drake
4fedff41c4 Fix some wrarnings.
svn path=/trunk/netsurf/; revision=5357
2008-09-16 21:15:30 +00:00
John Mark Bell
385d274f5b A bunch of fixes to the libpng binding
svn path=/trunk/netsurf/; revision=5338
2008-09-15 22:45:44 +00:00
Michael Drake
2557b029ae Fix Amiga bitmap_get_bpp to be same as others. (It's bytes per pixel, not bits.) Fix param comments for vbitmap.
svn path=/trunk/netsurf/; revision=5281
2008-09-07 19:08:57 +00:00
Rob Kendrick
afdf592637 Merge Mike's tabs changes. Still needs some cleaning.
svn path=/trunk/netsurf/; revision=5189
2008-08-24 10:31:38 +00:00
John Tytgat
e063a2a59d Second merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
Merged revisions 4195-4211,4216,4219-4220,4222-4234,4236-4250,4252-4262,4264-4266,4268-4326,4329-4335,4338-4342,4344-4411,4413-4420,4422-4436,4438-4491,4494-4506,4508-4514,4516,4518-4552,4554,4556-4564,4567-4568,4570-4574,4576-4686,4689-4692,4694,4698-4709,4715-4723,4725-4755,4757-4769,4771-4919,4921-4996,4998-5110,5112-5117 via svnmerge from 
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf

........
  r4736 | adamblokus | 2008-07-26 13:46:54 +0200 (Sat, 26 Jul 2008) | 2 lines
  
  Sorting out some problems with svn.
........
  r4737 | adamblokus | 2008-07-26 13:54:36 +0200 (Sat, 26 Jul 2008) | 4 lines
  
  Added export tab to the options dialog.
  Added the possibility of changing some print options.
........
  r4897 | adamblokus | 2008-08-04 17:59:05 +0200 (Mon, 04 Aug 2008) | 5 lines
  
  Added checking of horizontal clipping.
  Added better table loosening.
  Changed some minor bugs.
  Applied changes in the Export options tab according to the review from tlsa.
........
  r4905 | adamblokus | 2008-08-05 01:53:34 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Fixed bug which made it impossible to export pdf's.
........
  r4919 | adamblokus | 2008-08-05 16:39:33 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Fixed some memory leaks which caused Netsurf to break.
........
  r4927 | adamblokus | 2008-08-06 02:26:30 +0200 (Wed, 06 Aug 2008) | 4 lines
  
  Fixed bug with filenames which crashed Netsurf.
  Turned anti aliasing off for printing.
  Fixed some scaling issues.
........
  r4928 | adamblokus | 2008-08-06 17:52:44 +0200 (Wed, 06 Aug 2008) | 5 lines
  
  Added new export/print options:
  - suppressing images
  - turning off backgrounds
  - toggled loosening
........
  r4950 | adamblokus | 2008-08-07 21:15:21 +0200 (Thu, 07 Aug 2008) | 5 lines
  
  Added new options to PDF export:
  - document compression
  - document encryption
  Added PDF password dialog
........
  r4954 | adamblokus | 2008-08-07 22:11:31 +0200 (Thu, 07 Aug 2008) | 2 lines
  
  Added saving print settings.
........
  r4956 | adamblokus | 2008-08-07 22:44:48 +0200 (Thu, 07 Aug 2008) | 2 lines
  
  Fixes to PDF encryption
........
  r4970 | adamblokus | 2008-08-09 15:26:24 +0200 (Sat, 09 Aug 2008) | 3 lines
  
  Fixed bug in plotting tiled bitmaps.
  Fixed bug with too long text decorations.
........
  r4977 | adamblokus | 2008-08-09 19:18:56 +0200 (Sat, 09 Aug 2008) | 2 lines
  
  Fixed JPG embedding bug.
........
  r4988 | adamblokus | 2008-08-10 16:59:51 +0200 (Sun, 10 Aug 2008) | 3 lines
  
  Added clip checking to pdf plotters. No more "blank" clips.
  Made PDF compression a default setting.
........
  r4995 | adamblokus | 2008-08-10 20:03:00 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Fixed Haru crash on font-size==0.
........
  r4996 | adamblokus | 2008-08-10 21:04:43 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Added changing text mode only if necessary.
........
  r5045 | adamblokus | 2008-08-11 21:26:26 +0200 (Mon, 11 Aug 2008) | 3 lines
  
  Removing gtk stuff from core code.
  Little fix in options. 
........
  r5048 | adamblokus | 2008-08-11 21:57:45 +0200 (Mon, 11 Aug 2008) | 2 lines
  
  Better font size checking in PDF export.
........
  r5050 | adamblokus | 2008-08-11 22:19:56 +0200 (Mon, 11 Aug 2008) | 2 lines
  
  Fixed riscos text scale bug.
........
  r5073 | adamblokus | 2008-08-12 17:40:57 +0200 (Tue, 12 Aug 2008) | 2 lines
  
  Added missing tooltips
........
  r5092 | adamblokus | 2008-08-13 17:09:25 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Moved /pdf folder to desktop/save_pdf
........
  r5110 | adamblokus | 2008-08-13 22:44:50 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Added comments.
........
  r5113 | adamblokus | 2008-08-13 23:07:35 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Cosmetic changes
........
  r5116 | adamblokus | 2008-08-14 16:10:18 +0200 (Thu, 14 Aug 2008) | 2 lines
  
  Fixed bug with BOX_INLINE_END in tree duplication.
........
  r5117 | joty | 2008-08-14 21:47:46 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Improvement for r5116: use local vars when possible; rename global last to box_duplicate_last; check on box_duplicate_main_tree failure.
........

svn path=/trunk/netsurf/; revision=5118
2008-08-14 20:32:10 +00:00
James Bursa
33107b160f Merged revisions 4345-4346,4350-4351,4389,4391,4395,4401-4403,4423,4485-4486 via svnmerge from
svn://semichrome.net/branches/dynis/netsurf

........
  r4345 | dynis | 2008-06-15 18:37:23 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Move NetSurf's gifread.h to libnsgif
........
  r4346 | dynis | 2008-06-15 18:38:38 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Remove NetSurf's gifread.c (replaced by libnsgif)
........
  r4350 | dynis | 2008-06-15 18:57:17 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Added references to libnsgif where necessary; corrected function calls where callbacks were implemented
........
  r4351 | dynis | 2008-06-15 19:00:33 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Updated Makefile to compile with libnsgif
........
  r4389 | dynis | 2008-06-18 13:58:51 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Altered bitmap callback table name for gif images to avoid ambiguity when bmp image library is created
........
  r4391 | dynis | 2008-06-18 14:08:39 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Updated netsurf branch to use new bitmap callback table structure name that was altered in libnsgif
........
  r4395 | dynis | 2008-06-18 14:54:51 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Corrected param comments for bitmap_set_suspendable()
........
  r4401 | dynis | 2008-06-18 18:39:50 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Added references to libnsbmp where necessary; corrected function calls where callbacks were implemented
........
  r4402 | dynis | 2008-06-18 18:40:47 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Updated Makefile to compile with libnsbmp
........
  r4403 | dynis | 2008-06-18 18:41:53 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Remove NetSurf's bmpread.c and bmpread.h (replaced by libnsbmp)
........
  r4423 | dynis | 2008-06-22 14:21:30 -0500 (Sun, 22 Jun 2008) | 1 line
  
  Correct a silly mistake in nsbmp_bitmap_create
........
  r4485 | dynis | 2008-07-01 04:13:48 -0500 (Tue, 01 Jul 2008) | 1 line
  
  Integrated the latest versions of libnsgif and libnsbmp into NetSurf
........
  r4486 | dynis | 2008-07-01 05:27:10 -0500 (Tue, 01 Jul 2008) | 1 line
  
  Altered bitmap functions to receive void pointers for proper utilisation of libnsgif and libnsbmp
........

svn path=/trunk/netsurf/; revision=5071
2008-08-12 03:49:34 +00:00
John Mark Bell
7d482d33bf Initialise and finalise hubbub correctly on RISC OS.
svn path=/trunk/netsurf/; revision=5021
2008-08-11 08:26:59 +00:00
John Tytgat
15eb877a4c Use ccres (http://www.riscos.info/index.php/CCres) to compile textual
versions of our Templates to their binary versions.  This allows us during
the build to conditionally enable/disable certain icons or change the
icon representation.
Change made by jmb & joty.

svn path=/trunk/netsurf/; revision=4929
2008-08-06 21:46:53 +00:00
John Tytgat
be181a5b55 Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
svn path=/trunk/netsurf/; revision=4910
2008-08-05 01:32:15 +00:00
John Tytgat
4be25b2951 Update my e-mail address.
svn path=/trunk/netsurf/; revision=4908
2008-08-05 01:30:31 +00:00
John Tytgat
c40fc354b3 - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string(): 
    - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
    - Enfore NUL string termination as return value (instead of other control char termination) 
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added

svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +00:00
John Tytgat
039362166c Make ro_gui_configure_register static.
svn path=/trunk/netsurf/; revision=4900
2008-08-04 21:52:28 +00:00
John Tytgat
48070139d8 Prefix all RISC OS print global variables and functions with "ro_" in order to avoid the print_cleanup function name clash in desktop/print.c and
riscos/print.c.

svn path=/trunk/netsurf/; revision=4867
2008-08-02 20:07:44 +00:00
John Tytgat
5685170036 Make the knockout plotter calling behaviour optional by added a new entry
'option_knockout' to 'struct plotter_table' which basically is a request
from that plotter backend for the content redraw routine to get called in
such a way that overlapping render areas are avoided as much as possible.

It is up to the content redraw code to actually implement this
option if it is reasonably profitable.  This was and is currently done
explicitly by the html content redraw code.  On top of that the riscos
plotter code was installing the knockout plotter itself for all content
types except plaintext and SVG and this is no longer being done in this
patch.

In more detail:

- desktop/plotters.h: added struct plotter_table::option_knockout
- render/html_redraw.c(html_redraw): if the plotter backend wants the
knockout calling behaviour, install the knockout plotter which will then
call the real backend.  Also check on the return values of clg and clip
plotter calls.
- Plotter backend changes:
  -> no longer plotting in knockout mode:
     - gtk/gtk_print.c: Also removed a 2nd instance of
       "struct plotter_table plot".
     - riscos/save_draw.c
     - riscos/print.c: Also the path plotter function pointer wasn't
       filled in and this is now fixed.
     - pdf/pdf_plotters.c: Removed the flush function as this is
       optional and we only had a dummy implementation there.
  -> remaining to request knockout mode if it makes sense based on the
     content type:
     - gtk/gtk_plotters.c
     - riscos/plotters.c
     - desktop/knockout.c
- riscos/window.c: Removed what's believed an obsolete test on the
  content type which determined to additionally install the
  knockout plotter in front of the real plotter code.

svn path=/trunk/netsurf/; revision=4823
2008-07-30 19:17:27 +00:00
John Tytgat
fe6fce1d37 Keep on hourglassing when dumping application space and UnixLib DA memory blocks to disc.
svn path=/trunk/netsurf/; revision=4817
2008-07-30 00:55:55 +00:00
John Tytgat
23a5467178 Use static for variables local to one source file.
svn path=/trunk/netsurf/; revision=4812
2008-07-29 23:19:24 +00:00
John Tytgat
86f4561e4c ro_save_draw_rectangle(): draw_CLOSE_LINE doesn't need parameters. This potentionally fixes SF #2010390 & #1927130.
svn path=/trunk/netsurf/; revision=4782
2008-07-28 22:42:33 +00:00
Rob Kendrick
fe7cae2bfe Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4775
2008-07-28 20:56:24 +00:00
John Tytgat
203b3289b8 - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one)
- riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations.
- Disable PDF debug logging.

svn path=/trunk/netsurf/; revision=4769
2008-07-26 23:42:24 +00:00
John Tytgat
5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
John Tytgat
35d3d6d0bb First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
Merged revisions 4212-4552,4554-4709,4711-4724 via svnmerge from 
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf

........
  r4212 | adamblokus | 2008-05-26 19:42:31 +0200 (Mon, 26 May 2008) | 4 lines
  
  Pdf plotting skeleton pinned on Print Preview in GTK.
  Just creates a file and draws lines. 
........
  r4213 | adamblokus | 2008-05-27 00:11:03 +0200 (Tue, 27 May 2008) | 4 lines
  
  Pdf plotter - added drawing some graphic primitives.
  Still with limited functionality, but a snapshot of the
  currently viewed page can be made and resembles the original.
........
  r4214 | adamblokus | 2008-05-27 11:43:31 +0200 (Tue, 27 May 2008) | 2 lines
  
  Corrected encoding name
........
  r4215 | adamblokus | 2008-05-27 12:47:26 +0200 (Tue, 27 May 2008) | 3 lines
  
  Colours and polygons added.
........
  r4217 | adamblokus | 2008-05-27 21:39:35 +0200 (Tue, 27 May 2008) | 6 lines
  
  Added rectangles, filled boxes and clipping.
  Taken into consideration joty's comments.
  Added a todo list for this part.
  Added some debug stuff and checking boundaries.
........
  r4218 | adamblokus | 2008-05-28 12:37:30 +0200 (Wed, 28 May 2008) | 2 lines
  
  Added path ploting (not sure if valid argument order for bezier) and dashed/dotted line styles
........
  r4221 | adamblokus | 2008-05-28 22:11:05 +0200 (Wed, 28 May 2008) | 3 lines
  
  Some more options in graphic primitives and normalizing some parameters.
........
  r4235 | adamblokus | 2008-05-31 22:54:56 +0200 (Sat, 31 May 2008) | 4 lines
  
  Plotting changed as jmb suggested (is the least invasive one from the possible)
  Added dummy bitmap plotting - way of plotting an image is determined by its type. 
........
  r4251 | adamblokus | 2008-06-03 17:12:15 +0200 (Tue, 03 Jun 2008) | 3 lines
  
  Added plotting jpg and png images - quite a lot to improve in this code, but it seems to work ;)
........
  r4263 | adamblokus | 2008-06-05 14:20:32 +0200 (Thu, 05 Jun 2008) | 3 lines
  
  Added hadling images other than png and jpeg - with transparency.
........
  r4267 | adamblokus | 2008-06-06 15:36:34 +0200 (Fri, 06 Jun 2008) | 5 lines
  
  Added handling NULL-returns from all mallocs.
  Added plot_bitmap_tile handling.
  Changed code style a little.
........
  r4327 | adamblokus | 2008-06-12 17:46:34 +0200 (Thu, 12 Jun 2008) | 5 lines
  
  Added a first prototype of the paged-output organization.
  Still not sure about naming, file locations etc.
  Works with the same pdf plotting as before.
........
  r4328 | adamblokus | 2008-06-13 13:52:15 +0200 (Fri, 13 Jun 2008) | 4 lines
  
  Added primitive width adjustment and outputing the whole
  website in multiple pages.
........
  r4336 | joty | 2008-06-15 15:06:57 +0200 (Sun, 15 Jun 2008) | 1 line
  
  Fix RISC OS build failure (change r4235 wasn't complete).
........
  r4337 | joty | 2008-06-15 18:15:32 +0200 (Sun, 15 Jun 2008) | 16 lines
  
  This enables "Export PDF" in RISC OS build:
  
  - Docs/Doxyfile(PREDEFINED): Added WITH_PDF_EXPORT
  - Makefile.sources(S_PDF): Add to RISC OS target as well.
  - utils/config.h: Define WITH_PDF_EXPORT which controls if we want to have
    PDF export functionality or not.
  - riscos/save_pdf.c,riscos/save_pdf.h(save_as_pdf): Use PDF print API made
    by Adam Blokus to write a PDF file under RISC OS.
  - riscos/save.c: Call save_as_pdf added.
  - riscos/menus.c: Add 'Export->PDF' menu entry.
  - riscos/menus.h(menu_action): Added BROWSER_EXPORT_PDF.
  - desktop/gui.h(gui_save_type): Added GUI_SAVE_PDF.
  - desktop/print.c(print_run): Added return value.
  - Makefile(CCACHE): Moved closed to the place where CC is set for the first time.
    (LDFLAGS): Centralised adding all non-pkgconfig libraries and added Haru + PNG libs.
........
  r4343 | adamblokus | 2008-06-16 01:08:52 +0200 (Mon, 16 Jun 2008) | 3 lines
  
  Added margins and page size adjustment.
........
  r4412 | adamblokus | 2008-06-21 20:22:07 +0200 (Sat, 21 Jun 2008) | 4 lines
  
  Added 'fuzzy' margins on page bottom. 
  Disabled direct png embedding, because it is too unstable in Haru now.
........
  r4421 | adamblokus | 2008-06-22 18:52:28 +0200 (Sun, 22 Jun 2008) | 2 lines
  
  Added "Save as.." dialog and Export->PDF menu entry. Print preview still works with default path.
........
  r4437 | adamblokus | 2008-06-25 02:44:46 +0200 (Wed, 25 Jun 2008) | 4 lines
  
  Added skeleton of applying loose layout.
  Minor code cleaning-up.
........
  r4492 | adamblokus | 2008-07-02 09:02:42 +0200 (Wed, 02 Jul 2008) | 5 lines
  
  Implemented the elementar ideas of the loose layout.
  Added scaling in the printing routine.
  Added some basic demonstrations.
........
  r4493 | adamblokus | 2008-07-02 09:05:55 +0200 (Wed, 02 Jul 2008) | 3 lines
  
  Cleaned up the loosing code - commited to much of leftover rubbish code.
........
  r4507 | adamblokus | 2008-07-04 14:25:48 +0200 (Fri, 04 Jul 2008) | 4 lines
  
  Added duplicating box tree and current content - window flickering during printing solved.
  Minor error checking after new HPDF_Image_AddSMask call.
........
  r4515 | adamblokus | 2008-07-06 22:28:16 +0200 (Sun, 06 Jul 2008) | 2 lines
  
  Changes in loosen layout (image resizing).
........
  r4517 | adamblokus | 2008-07-06 22:38:23 +0200 (Sun, 06 Jul 2008) | 2 lines
  
  Added pdf font handling and rendering functions with the use of Haru functions.
........
  r4555 | adamblokus | 2008-07-10 00:59:05 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Added a very basic and still buggy GTK print implementation.
........
  r4565 | adamblokus | 2008-07-10 14:50:16 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Added gtk printing one more time - I have forgotten to add the main file.
........
  r4566 | adamblokus | 2008-07-10 14:57:02 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  removed error with comment
........
  r4569 | adamblokus | 2008-07-10 15:52:55 +0200 (Thu, 10 Jul 2008) | 5 lines
  
  Major style improvements - added a lot of doxygen comments, 
  followed tlsa's style guide.
  Added some more error checking, too.
........
  r4575 | adamblokus | 2008-07-10 18:48:26 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Cleaned up the code.
........
  r4687 | adamblokus | 2008-07-17 14:17:19 +0200 (Thu, 17 Jul 2008) | 2 lines
  
  Changed everything according to jmb's review plus some minor bug fixes to gtk_print.
........
  r4688 | adamblokus | 2008-07-17 17:16:34 +0200 (Thu, 17 Jul 2008) | 2 lines
  
  Solved the netsurf.glade clash from r4421.
........
  r4693 | adamblokus | 2008-07-18 18:11:51 +0200 (Fri, 18 Jul 2008) | 2 lines
  
  Fixed bug with wrong number of pages in gtk printing.
........
  r4695 | adamblokus | 2008-07-18 19:59:24 +0200 (Fri, 18 Jul 2008) | 3 lines
  
  - fixed uncommented line from the previous commit
  - fixed bug with scale bigger than 1.0 (incorretly clipped page)
........
  r4696 | adamblokus | 2008-07-18 23:28:00 +0200 (Fri, 18 Jul 2008) | 2 lines
  
  Fixed bug in gtk_print_font_paint (and nsfont_paint).
........
  r4697 | adamblokus | 2008-07-18 23:35:38 +0200 (Fri, 18 Jul 2008) | 2 lines
  
  Bug fix in nsfont_paint.
........
  r4711 | adamblokus | 2008-07-19 22:44:15 +0200 (Sat, 19 Jul 2008) | 2 lines
  
  Added gtk_selection files.
........
  r4712 | adamblokus | 2008-07-20 11:15:06 +0200 (Sun, 20 Jul 2008) | 2 lines
  
  Addam missing glade files.
........
  r4713 | joty | 2008-07-20 17:13:10 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Follow change r4517 for RISC OS and BeOS platforms : Added pdf font handling and rendering functions with the use of Haru functions.
........
  r4714 | joty | 2008-07-20 18:19:50 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Declare haru_nsfont iso define an instance for each C source including the font_haru.h header.  This fixes breakage of PDF export on RISC OS.
........
  r4724 | adamblokus | 2008-07-23 03:30:08 +0200 (Wed, 23 Jul 2008) | 6 lines
  
  Applied changes according to joty's review.
  Added checking the dimensions of a plotted image to pdf plotter.
  Commented out jpg embedding (it seems to cause some problems
  I'll bring it back when I figure out what's wrong) .
  Added back some files removed by mistake.
........


svn path=/trunk/netsurf/; revision=4741
2008-07-26 16:01:59 +00:00
Rob Kendrick
e7850d9762 Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4680 via svnmerge from
svn://svn.netsurf-browser.org/branches/mikeL/netsurf

........
  r4432 | mikeL | 2008-06-24 04:00:36 +0100 (Tue, 24 Jun 2008) | 1 line
  
  Drag events are now emited from where the press originated, instead of from where they became a drag
........
  r4433 | mikeL | 2008-06-24 04:25:33 +0100 (Tue, 24 Jun 2008) | 1 line
  
  Added accelerator to 'Select All'
........
  r4495 | mikeL | 2008-07-02 21:36:32 +0100 (Wed, 02 Jul 2008) | 1 line
  
  Selections are now deleted and replaced when a key is typed in a text area or text box. All input box behavior while a selection is active is now implemented (ex: pressing the right arrow key moves the caret to the end of the selection). Cut now works properly in both versions. Fixed discrepancy between where the caret was placed and selection began when starting a drag-select. Fixed bug with calculation of a selections end box.
........
  r4496 | mikeL | 2008-07-02 22:11:24 +0100 (Wed, 02 Jul 2008) | 1 line
  
  Added support for cut in input boxes
........
  r4497 | mikeL | 2008-07-02 22:21:35 +0100 (Wed, 02 Jul 2008) | 1 line
  
  Removed unused variables (Thanks tlsa)
........
  r4498 | mikeL | 2008-07-02 23:30:30 +0100 (Wed, 02 Jul 2008) | 1 line
  
  Modified selection clearing behavior to allow for drag-saves
........
  r4499 | mikeL | 2008-07-03 00:51:50 +0100 (Thu, 03 Jul 2008) | 1 line
  
  Fixed regression where it would take two clicks to place caret in an input (Thanks tlsa)
........
  r4509 | mikeL | 2008-07-06 07:55:09 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Basic download support implemented. Only downloading of text files works
........
  r4510 | mikeL | 2008-07-06 18:55:31 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Downloading of non-text files is now possible. Progress bar and size downloaded are now updated
........
  r4511 | mikeL | 2008-07-06 20:46:00 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Added downloads glade file
........
  r4512 | mikeL | 2008-07-06 20:47:39 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Downloads window now spawns in the center of the parent browser window
........
  r4513 | mikeL | 2008-07-06 20:56:12 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Fixed bug where backspace would be ignored if the selection began at the beginning on an input
........
  r4514 | mikeL | 2008-07-06 21:26:45 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Fixed compiler warnings by adding casts
........
  r4516 | mikeL | 2008-07-06 21:32:41 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Fixed initialization of size string, added initialization of progress
........
  r4518 | mikeL | 2008-07-06 21:51:08 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Added an option for short units (with space) to human_friendly_bytesize
........
  r4519 | mikeL | 2008-07-06 21:52:05 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Removed function size_to_string
........
  r4520 | mikeL | 2008-07-06 22:03:11 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Fixed pedantic error (kB instead of KB). Added missing necessary parameters to human_friendly_bytesize. Fixed incorrect bool types
........
  r4521 | mikeL | 2008-07-06 22:08:15 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Removed unnecessary parameter and units list from human_friendly_bytesize
........
  r4522 | mikeL | 2008-07-06 22:57:03 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Removed unnused variable
........
  r4523 | mikeL | 2008-07-06 23:03:46 +0100 (Sun, 06 Jul 2008) | 1 line
  
  Fixed url parsing by replacing url_parse_filename with url_nice. Total size and size downloaded are now in human readable form. Speed is now calculated (roughly)
........
  r4524 | mikeL | 2008-07-07 01:19:01 +0100 (Mon, 07 Jul 2008) | 1 line
  
  Added file overwrite confirmation. Changed speed to a double
........
  r4546 | mikeL | 2008-07-09 17:21:43 +0100 (Wed, 09 Jul 2008) | 1 line
  
  Changed parameter of selection_get_end/start to a size_t instead of int and changed all offset variables to size_t as well
........
  r4547 | mikeL | 2008-07-09 17:30:47 +0100 (Wed, 09 Jul 2008) | 1 line
  
  Added action buttons to the bottom toolbar. Added ability to clear selected (and completed) downloads with a framework for other actions.
........
  r4556 | jmb | 2008-07-10 00:17:24 +0100 (Thu, 10 Jul 2008) | 3 lines
  
  A large bunch of tidying and general fixes to text input handling.
  Make selection code treat password fields as inputs, too.
........
  r4557 | mikeL | 2008-07-10 00:24:46 +0100 (Thu, 10 Jul 2008) | 1 line
  
  Added functionality to gui_empty_clipboard and gui_start_selection (Thanks jmb)
........
  r4573 | mikeL | 2008-07-10 16:33:27 +0100 (Thu, 10 Jul 2008) | 1 line
  
  Removed example download. Made the list store row aware of its download and vise versa. Added new way of handling actions from the dialog (e.g. buttons) which handles all rows in the selection. Added a few memory management function calls to clean up better
........
  r4577 | mikeL | 2008-07-10 21:11:51 +0100 (Thu, 10 Jul 2008) | 1 line
  
  Download write channels now close properly. Added status column to the tree store which will change the progress bar text if a download is canceled or completed. Implemented cancel button functionality.
........
  r4578 | mikeL | 2008-07-10 21:17:51 +0100 (Thu, 10 Jul 2008) | 1 line
  
  Speed is now displayed as '-' when 0 or download has stopped
........
  r4580 | mikeL | 2008-07-11 02:10:57 +0100 (Fri, 11 Jul 2008) | 1 line
  
  Added two download related options (Download directory & Clear completed downloads) and a Downloads tab to the preferences dialog. Also moved the option to ask when overwriting files to Downloads tab. Added another option to the pre-download dialog, Save, which downloads the file immediately to your 'Download directory'
........
  r4581 | mikeL | 2008-07-11 02:26:00 +0100 (Fri, 11 Jul 2008) | 1 line
  
  Rearranged pre-download dialog buttons to conform to the HIG
........
  r4616 | mikeL | 2008-07-11 19:54:12 +0100 (Fri, 11 Jul 2008) | 1 line
  
  Limited download window updates to a user-defined variable that can be set in options (default is .5). Updates are now only done if the download window is visible. This greatly reduces the cpu usage.
........
  r4617 | mikeL | 2008-07-11 20:07:48 +0100 (Fri, 11 Jul 2008) | 1 line
  
  Removed unnecessary update limit option (it is now fixed at .5) 
........
  r4629 | mikeL | 2008-07-13 04:21:07 +0100 (Sun, 13 Jul 2008) | 1 line
  
  Reorganized button sensitivity functions. Sensitivities are now updated when the selection changes as well as when a selected download's state changes.
........
  r4635 | mikeL | 2008-07-13 17:00:05 +0100 (Sun, 13 Jul 2008) | 1 line
  
  Added error handling. Added word-wrap to the "info" cell renderer so that to keep everything under control. Fixed bug where downloads would always go to you default folder (missing breaks). 
........
  r4642 | mikeL | 2008-07-13 21:46:09 +0100 (Sun, 13 Jul 2008) | 1 line
  
  Added time remaining column. Fixed regression where the download info would be erased upon completion/cancelation.
........
  r4655 | mikeL | 2008-07-14 23:20:33 +0100 (Mon, 14 Jul 2008) | 1 line
  
  Downloads dialog is now initialized in gtk_gui.c with no parent window. The parent windows are now set when a download is created (through an extra parameter in gui_download_window_create) and when nsgtk_download_show is called. When it is closed (when NS shuts down) all incomplete downloads are canceled (and the files deleted). Added a warning dialog when netsurf tries to close with incomplete downloads. Fixed bug where default save directory would initialize to NULL.
........
  r4676 | mikeL | 2008-07-15 21:01:17 +0100 (Tue, 15 Jul 2008) | 1 line
  
  Downloads dialog is now initialized in gtk_gui.c with no parent window. The parent windows are now set when a download is created (through an extra parameter in gui_download_window_create) and when nsgtk_download_show is called. (This is the second half of the patch, last commit was only partial for some reason)
........
  r4678 | mikeL | 2008-07-16 01:18:52 +0100 (Wed, 16 Jul 2008) | 1 line
  
  Addresses almost all of rjek and jmb's concerns, fixes most of the sloppiness that was present earlier. Downloads without a total_size are now handled correctly (thanks tlsa). Changes to the default download directly are now saved correctly. Billions of other small bugs fixed
........

svn path=/trunk/netsurf/; revision=4681
2008-07-16 10:19:30 +00:00
James Bursa
d860d93de2 Check file exists in bitmap_create_file(). Fixes empty local history when Scrap is wiped.
svn path=/trunk/netsurf/; revision=4335
2008-06-15 00:27:22 +00:00
James Bursa
337a2004cc Don't crash when attempting to save a bitmap with no data. This can happen when out of memory.
svn path=/trunk/netsurf/; revision=4332
2008-06-14 23:13:19 +00:00
James Bursa
43fe533340 Remove nonsensical disc cache section from Choices window.
svn path=/trunk/netsurf/; revision=4331
2008-06-14 22:47:00 +00:00
Adrian Lees
7fbb51d799 Extended scroll wheel support (Select)
svn path=/trunk/netsurf/; revision=4307
2008-06-07 23:39:09 +00:00
James Bursa
a00bc79665 Save WimpSlot too when NetSurf$CoreDump is set and NetSurf crashes.
svn path=/trunk/netsurf/; revision=4298
2008-06-07 19:00:46 +00:00
Adrian Lees
461e520077 Zoom using shift-scrollwheel
svn path=/trunk/netsurf/; revision=4289
2008-06-07 00:50:15 +00:00
Michael Drake
2319b6032e + Change core to handle different front end click behaviour
styles. (Act on mouse button press or on button release.)
+ Click hold on CSS scrollbar arrows now pauses before
  starting to auto-repeat.
+ Click hold on scrollbar wells will now auto-repeat.

svn path=/trunk/netsurf/; revision=4268
2008-06-06 13:58:56 +00:00
Michael Drake
b661f3deaf Don't constrain mouse pointer to window area during text selection.
svn path=/trunk/netsurf/; revision=4256
2008-06-03 21:51:25 +00:00
James Bursa
86e74c970b Add code to save DA to a file if NetSurf crashes and NetSurf$CoreDump exists.
svn path=/trunk/netsurf/; revision=4247
2008-06-03 03:04:41 +00:00
James Bursa
70c7b81c2f Improve MNG error handling to show error code. Fix code not expecting bitmap_get_buffer() to return 0.
svn path=/trunk/netsurf/; revision=4237
2008-06-01 00:15:53 +00:00
John Tytgat
793d466edf - introduction of SLEN()
- enforce result of url_normalize() being NULL on failure
- plug memory leak when url_normalize() fails

svn path=/trunk/netsurf/; revision=4200
2008-05-25 15:51:30 +00:00
John Mark Bell
5979083a16 Unescape URL before attempting to read filetype
svn path=/trunk/netsurf/; revision=4195
2008-05-24 01:19:21 +00:00
John Mark Bell
2b79c34977 Squash warning
svn path=/trunk/netsurf/; revision=4190
2008-05-23 14:17:31 +00:00
John Mark Bell
a16586c9b7 Use local filetype directly, if we're "downloading" a local file
svn path=/trunk/netsurf/; revision=4189
2008-05-23 13:29:37 +00:00
John Mark Bell
b15a6af3d2 s/wchar_t/uint32_t/g
We always assumed that the keycode type was 32bits wide, anyway. wchar_t isn't guaranteed to be that big, so isn't remotely portable.

svn path=/trunk/netsurf/; revision=4165
2008-05-16 09:37:22 +00:00
John Mark Bell
23fb72ea6b The core code has always assumed a locale of "C".
Do not change the locale globally, else things will break in weird and 
wonderful ways.

Introduce utils/locale.[ch], which provide locale-specific wrappers for various 
functions (currently just the <ctype.h> ones).

Fix up the few places I can see that actually require that the underlying 
locale is paid attention to.

Some notes:

  1) The GTK frontend code has not been touched. It is possible that reading of 
     numeric values (e.g. from the preferences dialogue) may break with this 
     change, particularly in locales that use something other than '.' as their
     decimal separator.
  2) The search code is left unchanged (i.e. assuming a locale of "C"). 
     This may break case insensitive matching of non-ASCII characters. 
     I doubt that ever actually worked, anyway. In future, it should use
     Unicode case conversion to achieve the same effect.
  3) The text input handling in the core makes use of isspace() to detect
     word boundaries. This is fine for western languages (even in the C locale,
     which it's currently assuming). It will, however, break for CJK et. al. 
     (this has always been the case, rather than being a new issue)
  4) text-transform uses locale-specific variants of to{lower,upper}. In future
     this should probably be performing Unicode case conversion. This is the
     only part of the core code that makes use of locale information.

In future, if you require locale-specific behaviour, do the following:

  setlocale(LC_<whatever>, "");
  <your operation(s) here>
  setlocale(LC_<whatever>, "C");

  The first setlocale will change the current locale to the native environment.
  The second setlocale will reset the current locale to "C".
  Any value other than "" or "C" is probably a bug, unless there's a really
  good reason for it.

In the long term, it is expected that all locale-dependent code will reside in 
platform frontends -- the core being wholly locale agnostic (though assuming 
"C" for things like decimal separators).


svn path=/trunk/netsurf/; revision=4153
2008-05-13 14:37:44 +00:00
John Mark Bell
dc85ddb0a8 Launch redirects to unsupported URLs in other applications.
svn path=/trunk/netsurf/; revision=4098
2008-04-19 11:07:42 +00:00
Michael Drake
a2616bbfe7 Fix makefile for save text. Remove redundant ifdef.
svn path=/trunk/netsurf/; revision=4096
2008-04-13 22:23:04 +00:00
Rob Kendrick
59641def82 const fixes in plotters and history core
svn path=/trunk/netsurf/; revision=4083
2008-04-07 11:15:09 +00:00
John Tytgat
0d39c69763 - riscos/gui.c(path_to_url): escape the characters which need to be escaped when converting the host path to file: URL.
- utils/{url.c,url.h}(url_escape):
  * added parameter 'toskip' to specify number of input characters which need to be skipped in the escape process. This avoids extra malloc buffer juggling.
  * added parameter 'escexceptions' to specify the characters which need to be excluded from the escape process.

Solves SF tracker ID 1910169.
Note that when discname in path contains '/' characters (case: "file:///Sunfish#192.168.0.50::/home/joty.$/jo.html") or there is no discname specified at all (case "file:///HostFS:$/jo.htm"), you 
need an UnixLib fix as in http://www.riscos.info/websvn/listing.php?repname=gccsdk&path=%2Ftrunk%2Fgcc4%2F&rev=3395&sc=1

svn path=/trunk/netsurf/; revision=4069
2008-04-02 00:43:51 +00:00
John Tytgat
4b7c105afc Remove useless private UnixLib include.
svn path=/trunk/netsurf/; revision=4068
2008-04-01 19:44:57 +00:00
Michael Drake
62ca5e3e11 Tidy up.
svn path=/trunk/netsurf/; revision=4064
2008-03-31 18:59:23 +00:00
Michael Drake
5def4f5e0c Fix formatting of copied or saved text selections.
svn path=/trunk/netsurf/; revision=4063
2008-03-31 18:04:36 +00:00
Adrian Lees
aefa03aed9 Save non-opaque images with a proper mask/full alpha channel
svn path=/trunk/netsurf/; revision=4047
2008-03-24 01:35:13 +00:00
Adrian Lees
175395b52d Tidy up when drag save aborted (fixes assert when dragging URL to same window)
svn path=/trunk/netsurf/; revision=4043
2008-03-23 06:07:40 +00:00
Adrian Lees
084bcd631a Ensure 'tracking window' defined when starting selection
svn path=/trunk/netsurf/; revision=4042
2008-03-23 06:06:44 +00:00
Adrian Lees
2fd567590c Added missing initialiser
svn path=/trunk/netsurf/; revision=4041
2008-03-23 06:05:40 +00:00
John Tytgat
0588417b3c Add GCCSDK 4 support (cross-compile, static ELF only atm); Ignore codedocs directory during 'svn status'.
svn path=/trunk/netsurf/; revision=4031
2008-03-22 00:49:56 +00:00
Michael Drake
9d3b7b43fd Update status bar when standalone images are done.
svn path=/trunk/netsurf/; revision=3917
2008-03-10 12:41:41 +00:00
John Tytgat
79022d8ec2 Foresee OSLib 7 and pre-OSLib 7 compatibility
svn path=/trunk/netsurf/; revision=3913
2008-03-10 00:51:51 +00:00
John Tytgat
b79b0dbd82 Avoid rendering using random buffer data when content is locked. In such cases we leave the window area as is.
svn path=/trunk/netsurf/; revision=3912
2008-03-10 00:19:11 +00:00
Michael Drake
bae61d9224 Periodically reflow the page while fetching a page's objects. Make buffer all rendering default.
svn path=/trunk/netsurf/; revision=3874
2008-02-29 23:03:26 +00:00
John Mark Bell
ad6fcea6b0 Add url_fragment to extract fragment from URL
Optionally allow url_compare to ignore fragments in comparison
Fix handling of url_compare result in a few places
Fix redirects which contain fragments in the Location header

svn path=/trunk/netsurf/; revision=3826
2008-02-03 12:04:48 +00:00
John Mark Bell
78d194cb77 Rework handling of HTTP redirects -- we now count the number of redirects followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
Redirect handling is now transparent to clients of fetchcache.

The new scheme works as follows:

1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
   If redirect, receive NEWPTR for each redirect that occurs, then continue
   through LOADING, READY, DONE etc. states as before.

The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.

As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.

svn path=/trunk/netsurf/; revision=3787
2008-01-28 01:35:00 +00:00
Michael Drake
e5cadb5afe Update to real new welcome page path.
svn path=/trunk/netsurf/; revision=3735
2008-01-19 23:42:26 +00:00
John Mark Bell
23053f25da Oops; missed default homepage
svn path=/trunk/netsurf/; revision=3733
2008-01-19 23:30:30 +00:00
John Mark Bell
ed3b59964d Fix menu entries
svn path=/trunk/netsurf/; revision=3732
2008-01-19 23:29:28 +00:00
Michael Drake
db79ba2042 Update some paths. (Not all done.)
svn path=/trunk/netsurf/; revision=3730
2008-01-19 23:22:21 +00:00
James Bursa
5fdbe77e3e Implement ro_save_draw_path() to enable Draw export of SVGs.
svn path=/trunk/netsurf/; revision=3666
2007-12-11 04:07:35 +00:00
James Bursa
4525ffbd91 Plug a memory leak in ro_plot_path().
svn path=/trunk/netsurf/; revision=3665
2007-12-11 04:06:49 +00:00
James Bursa
9125ffa7d8 Fix warnings and remove some logging.
svn path=/trunk/netsurf/; revision=3664
2007-12-11 02:48:04 +00:00
James Bursa
87a4dc07fd Clear background when redrawing for all except HTML.
svn path=/trunk/netsurf/; revision=3662
2007-12-11 02:42:11 +00:00
Michael Drake
d13ac3b066 Increase default font size and line spacing.
svn path=/trunk/netsurf/; revision=3660
2007-12-09 11:13:25 +00:00
James Bursa
f386520ff2 Add empty path plotters to stop crashes.
svn path=/trunk/netsurf/; revision=3653
2007-11-29 05:50:21 +00:00
John Mark Bell
6eeeee1778 Ignore SIGPIPE on all platforms, not just RISC OS.
svn path=/trunk/netsurf/; revision=3638
2007-10-31 15:39:55 +00:00
Adrian Lees
0e8a03dc36 Fix recursion when search string is pure wildcard
svn path=/trunk/netsurf/; revision=3633
2007-10-15 22:48:24 +00:00
Richard Wilson
08ea9e706b Allow interactive help to be turned off (implement 1793020)
svn path=/trunk/netsurf/; revision=3631
2007-10-10 21:22:36 +00:00
Richard Wilson
693051471b Check the RAM sprite pool before the ROM sprite pool (fix 1781184)
svn path=/trunk/netsurf/; revision=3628
2007-10-09 17:49:48 +00:00
John Mark Bell
b82546a39f Probably fix crash on clicking in url completion dialogue.
URL completion really needs revisiting, as it's full of side effects and has weird and wonderful interactions with other parts of the system.

svn path=/trunk/netsurf/; revision=3535
2007-08-29 00:27:52 +00:00
James Bursa
21db9de5f8 Make F9 dump box tree to an editor for easier debugging.
svn path=/trunk/netsurf/; revision=3529
2007-08-20 02:39:49 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
James Bursa
01cc865e02 Improve error message.
svn path=/trunk/netsurf/; revision=3480
2007-08-07 04:01:06 +00:00
James Bursa
5fa0e4a71f Add path plotter (for SVG). Requires other implementations.
svn path=/trunk/netsurf/; revision=3479
2007-08-07 04:00:17 +00:00
James Bursa
07c54283e3 Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
svn path=/trunk/netsurf/; revision=3478
2007-08-07 03:55:18 +00:00
John Mark Bell
c1531c449f Fix string length measurement for strings in icons; if the string came from the templates file, it will be LF terminated, not NUL terminated. Therefore, use a strlen variant that terminates on control characters, rather than just \0. This prevents reading memory beyond the end of the string.
svn path=/trunk/netsurf/; revision=3475
2007-08-04 11:47:40 +00:00
Adrian Lees
86d0dd8563 Workaround for AWRenderer clipping issue (bug #1756230) and improved rendering performance
svn path=/trunk/netsurf/; revision=3456
2007-07-22 04:15:27 +00:00
Michael Drake
d2c3d22f52 Change ArtWorks file MIME type to "image/x-artworks".
svn path=/trunk/netsurf/; revision=3449
2007-07-21 00:20:04 +00:00
Adrian Lees
84035a2a1d Use proper background colour for AW files using transparency
svn path=/trunk/netsurf/; revision=3447
2007-07-20 23:51:55 +00:00
James Bursa
895c2e2896 Remove dead code at the end of ro_gui_default_language().
svn path=/trunk/netsurf/; revision=3417
2007-07-15 17:20:25 +00:00
John Mark Bell
1ded087c6a Support dataloading of SVG files
Add internal filetype<->mimetype mapping for SVG files

svn path=/trunk/netsurf/; revision=3407
2007-07-13 08:25:34 +00:00
James Bursa
decb20da52 Add URL file (with the original URL) and Inventory file (listing URLs of objects) to Full Saves.
svn path=/trunk/netsurf/; revision=3383
2007-07-05 04:29:09 +00:00
Adrian Lees
1a67793784 Fix crash if content failed to open (memory shortage)
svn path=/trunk/netsurf/; revision=3365
2007-06-24 18:00:46 +00:00
Adrian Lees
9e2baee37d Scroll wheel support on hotlist and history windows
svn path=/trunk/netsurf/; revision=3364
2007-06-24 17:10:08 +00:00
Adrian Lees
ec40330a5b Overlooked warnings
svn path=/trunk/netsurf/; revision=3312
2007-06-05 06:17:16 +00:00
Adrian Lees
6890f816ed Fix interaction between failed drag save and pointer tracking (including page drag scrolling)
svn path=/trunk/netsurf/; revision=3311
2007-06-05 05:14:54 +00:00
Daniel Silverstone
6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Rob Kendrick
6bcae05b66 Tweak default hotlist entries to be more up-to-date
svn path=/trunk/netsurf/; revision=3299
2007-05-21 16:02:42 +00:00
John Mark Bell
81ef52dd22 Revert last change
svn path=/trunk/netsurf/; revision=3252
2007-04-07 23:53:10 +00:00
John Mark Bell
c010f30e09 Add logging
svn path=/trunk/netsurf/; revision=3251
2007-04-07 23:44:15 +00:00
Richard Wilson
9e3c519c2e Remove redundant close window calls.
svn path=/trunk/netsurf/; revision=3247
2007-04-07 22:53:59 +00:00
John Mark Bell
3bc2fdc652 Construct cookies treeview correctly (fixes 1675328)
svn path=/trunk/netsurf/; revision=3245
2007-04-07 22:44:46 +00:00
John Mark Bell
0ee2843948 Lose duplicate entry
svn path=/trunk/netsurf/; revision=3230
2007-04-01 16:48:53 +00:00
John Mark Bell
932765df96 Remove collusion between window, menus and search code in order to clear
search selection state - this should happen automagically through 
wimp_event callbacks now.
Also tidy search.c so I can read it better ;)

svn path=/trunk/netsurf/; revision=3227
2007-03-26 21:09:25 +00:00
Richard Wilson
933c642019 Call close function for submenu windows.
svn path=/trunk/netsurf/; revision=3226
2007-03-26 20:33:50 +00:00
Richard Wilson
e5129294c0 Call close functions when automatically closing child windows and when automatically handlign Cancel buttons.
svn path=/trunk/netsurf/; revision=3225
2007-03-26 12:28:19 +00:00
John Mark Bell
703b5fea73 Ensure content owners check that they are still interested in a content
when receiving notification that the content's in error. This prevents 
content pointers being corrupted when redirects occur. Fixes 1522002, 
1551475.

svn path=/trunk/netsurf/; revision=3211
2007-03-18 17:09:55 +00:00
John Mark Bell
8ffe5f5392 Fix pasting into writables via IcnClipBrd (fixes 1582072)
svn path=/trunk/netsurf/; revision=3208
2007-03-17 14:18:11 +00:00
John Mark Bell
9cf5122797 Content handlers should not call warn_user - they should broadcast the
error using content_broadcast and leave it to the content owner(s) to 
decide what to do about it.

Only use warn_user for top-level contents.


svn path=/trunk/netsurf/; revision=3204
2007-03-11 22:08:57 +00:00
Richard Wilson
6c65fea9b6 Position new folders correctly for global history (fix 1547523)
svn path=/trunk/netsurf/; revision=3196
2007-03-03 22:47:45 +00:00
Richard Wilson
284368c50e Implement keyboard scrolling for tree views.
svn path=/trunk/netsurf/; revision=3195
2007-03-03 21:57:51 +00:00
Richard Wilson
15ff0c9cf9 Fix failing window update for large extents.
svn path=/trunk/netsurf/; revision=3194
2007-03-03 21:57:24 +00:00
Richard Wilson
b5a14773ff Correctly calculate maximised frame heights (fix 1644216)
svn path=/trunk/netsurf/; revision=3193
2007-03-03 20:49:49 +00:00
Richard Wilson
7368688642 Dynamically update scale view (implement 1556975) and prevent double redraws.
svn path=/trunk/netsurf/; revision=3191
2007-03-03 19:46:20 +00:00
John Mark Bell
6ae4b59a4b Fix stupidity
svn path=/trunk/netsurf/; revision=3178
2007-02-11 12:24:13 +00:00
John Mark Bell
b54332fd58 Rewrite utf8_[to,from]_local_encoding to not have arbitrary limit in the
number of special characters permitted in the input. (fixes 1651343, 
1649247, 1644745, 1607934)

Should also be rather more efficient, too, as it now conducts only a 
single pass over the input data.

svn path=/trunk/netsurf/; revision=3177
2007-02-11 11:19:42 +00:00
John Mark Bell
25213dca24 Fix handling of cookies in unverifiable transactions caused by a redirect from a fetch into a browser window which was varifiable.
svn path=/trunk/netsurf/; revision=3165
2007-02-02 23:08:13 +00:00
John Mark Bell
df4dbaf4cf Handle cookies in unverifiable transactions
svn path=/trunk/netsurf/; revision=3151
2007-01-27 20:58:20 +00:00
John Mark Bell
f629a4f00f Revert hack around broken pipe (not caching fetch handles used for SSL
connections).
Ignore SIGPIPE completely as nothing other than OpenSSL is expected to 
generate it.

svn path=/trunk/netsurf/; revision=3145
2007-01-18 01:26:58 +00:00
Richard Wilson
0b875957cb Format frame content to correct initial size. Scale iframe co-ordinates.
svn path=/trunk/netsurf/; revision=3134
2007-01-03 15:15:54 +00:00
John Mark Bell
8b7d6e67f9 Improve signal handling. This should put an end to silent exits.
svn path=/trunk/netsurf/; revision=3132
2007-01-02 00:13:02 +00:00
James Bursa
3d09fed0af Display an error box when exiting due to a SIGFPE or SIGABRT.
svn path=/trunk/netsurf/; revision=3127
2006-12-31 21:04:14 +00:00
Richard Wilson
f4b8d3a009 Reflow iframes on layout (fix 1617625)
svn path=/trunk/netsurf/; revision=3126
2006-12-30 02:10:46 +00:00
James Bursa
7e252084a5 Replace font_menu with new rufl built-in font menu.
svn path=/trunk/netsurf/; revision=3111
2006-12-08 20:04:03 +00:00
Michael Drake
1b13cad222 Add break.
svn path=/trunk/netsurf/; revision=3109
2006-12-07 22:39:00 +00:00
Michael Drake
d102139fab Stop URL complete window opening.
svn path=/trunk/netsurf/; revision=3108
2006-12-07 22:34:46 +00:00
Michael Drake
56989c8ed9 Remove backspace key shortcut.
svn path=/trunk/netsurf/; revision=3107
2006-12-07 20:28:19 +00:00
James Bursa
b6b768f521 Improved tracking of memory usage. c->size is now exclusive of talloc size, and the two are added to find the full size.
svn path=/trunk/netsurf/; revision=3103
2006-12-03 22:34:26 +00:00
Richard Wilson
db0aae2a46 Fix 1593228.
svn path=/trunk/netsurf/; revision=3102
2006-12-03 21:11:34 +00:00
Richard Wilson
d18f49f004 Guard against using invalid data.
svn path=/trunk/netsurf/; revision=3099
2006-12-03 18:17:56 +00:00
Richard Wilson
4d14d54720 Implement 1554984.
svn path=/trunk/netsurf/; revision=3098
2006-12-03 12:45:35 +00:00
Richard Wilson
27e59bc3c3 Implement 1582065.
svn path=/trunk/netsurf/; revision=3096
2006-12-03 12:09:35 +00:00
Richard Wilson
6eb93ff077 Fix 1483163.
svn path=/trunk/netsurf/; revision=3095
2006-12-03 11:49:39 +00:00
Richard Wilson
0accd55b91 Fix 1568884.
svn path=/trunk/netsurf/; revision=3094
2006-12-03 11:38:14 +00:00
Richard Wilson
450d83769f Fix 1569172
svn path=/trunk/netsurf/; revision=3084
2006-12-01 15:05:16 +00:00
Richard Wilson
a674848f29 Fix invalid window initialisation
svn path=/trunk/netsurf/; revision=3083
2006-12-01 14:37:21 +00:00
Richard Wilson
ebdaeed557 Use new UTF-8 status bar. Use top-window dimensions for new windows from framesets.
svn path=/trunk/netsurf/; revision=3082
2006-11-30 15:30:54 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa
ec563e60ca Add browser_window_reformat() and use it instead of content_reformat() to remove browser_window calls from html.c.
svn path=/trunk/netsurf/; revision=3071
2006-11-26 21:04:42 +00:00
John Mark Bell
a1f291383f Convert query button text to local encoding correctly
svn path=/trunk/netsurf/; revision=3025
2006-11-04 12:38:24 +00:00
John Mark Bell
e5680bdccb Clean up wimp_event usage when closing browser windows.
svn path=/trunk/netsurf/; revision=3022
2006-10-31 23:06:12 +00:00
Richard Wilson
1e6345e562 Allow textareas to reformat on icon change.
svn path=/trunk/netsurf/; revision=3012
2006-10-20 00:47:07 +00:00
Richard Wilson
118d282ce7 Remove duplicate data setting. Fix documentation typo.
svn path=/trunk/netsurf/; revision=3011
2006-10-19 23:18:36 +00:00
Richard Wilson
af6ed66e8f Make progress icons have a left margin. Fix redraw artifact.
svn path=/trunk/netsurf/; revision=3004
2006-10-13 17:52:30 +00:00
Richard Wilson
5eb0913386 Remove the need for a text area list.
svn path=/trunk/netsurf/; revision=3001
2006-10-12 15:53:57 +00:00
John Mark Bell
2caa96dcc9 Fix attempts to call die() before messages_hash exists:
1) Make hash_* more robust in the face of bad parameters
2) Make messages_* more robust in the face of bad parameters
3) Tidy up gui_init such that localised messages are loaded at the 
   earliest opportunity

svn path=/trunk/netsurf/; revision=2998
2006-10-12 14:00:40 +00:00
Richard Wilson
50c303284b Don't convert text to local encoding. Correctly release all resources on destruction. Allow NULL text to clear the display. Scale progress bar for small dimensions.
svn path=/trunk/netsurf/; revision=2997
2006-10-12 13:41:29 +00:00
Richard Wilson
161b073f08 Allow dynamic resizing. Reverse animation direction.
svn path=/trunk/netsurf/; revision=2996
2006-10-12 13:36:28 +00:00
Richard Wilson
a6d038c543 UTF-8 status bar component.
svn path=/trunk/netsurf/; revision=2995
2006-10-11 23:25:02 +00:00
Richard Wilson
ab03c67360 Fix redraw when no sprites are present. Squash compiler warnings.
svn path=/trunk/netsurf/; revision=2994
2006-10-11 23:23:40 +00:00
Richard Wilson
d2469b806c Animated progress bar component.
svn path=/trunk/netsurf/; revision=2983
2006-10-06 13:42:59 +00:00
John Mark Bell
6c7323fded Squash memory leak.
Ensure that the icon string's always set to something, even if it's the 
UTF-8 text if we're unable to convert to the local encoding.

svn path=/trunk/netsurf/; revision=2965
2006-09-25 22:27:41 +00:00
Adrian Lees
5b87995de7 Fix case of NotFound message
svn path=/trunk/netsurf/; revision=2954
2006-09-16 00:16:49 +00:00
John Mark Bell
4b722c42ba Fix scale view shortcuts to use new scaling mechanism
svn path=/trunk/netsurf/; revision=2938
2006-09-09 22:07:08 +00:00
Richard Wilson
5340bf487b Don't scale windows without content.
svn path=/trunk/netsurf/; revision=2937
2006-09-08 22:36:09 +00:00
Richard Wilson
2f98e3977e Take scrollbars into account when placing frames.
svn path=/trunk/netsurf/; revision=2936
2006-09-08 20:50:07 +00:00
Richard Wilson
02a8722cc6 Fix 1553282.
svn path=/trunk/netsurf/; revision=2932
2006-09-08 16:57:26 +00:00
John Mark Bell
79554528ba Squash warning
svn path=/trunk/netsurf/; revision=2931
2006-09-08 16:05:36 +00:00
Richard Wilson
26f2b49447 Fix icon sizing
svn path=/trunk/netsurf/; revision=2929
2006-09-08 13:31:43 +00:00
John Mark Bell
f99998362d Lose noisy logging
svn path=/trunk/netsurf/; revision=2928
2006-09-07 20:39:37 +00:00
John Mark Bell
b353c7cd36 Fix 1553007
svn path=/trunk/netsurf/; revision=2926
2006-09-07 20:10:14 +00:00
John Mark Bell
b5274724ed Fix dataload stupidities
svn path=/trunk/netsurf/; revision=2925
2006-09-07 09:44:50 +00:00
Richard Wilson
3e0c02e8e5 Simplify and tidy up RISC OS gui_ functions. Fix toolbar height changing issues for framesets.
svn path=/trunk/netsurf/; revision=2924
2006-09-06 22:15:58 +00:00
Richard Wilson
d5540f344d Finish event based GUI system transiton and begin code cleanup.
svn path=/trunk/netsurf/; revision=2923
2006-09-06 14:46:18 +00:00
Richard Wilson
1999becb42 Finish event based GUI system transition and begin code cleanup.
svn path=/trunk/netsurf/; revision=2922
2006-09-06 14:44:42 +00:00
Richard Wilson
cba08bf827 Fix 1527343.
svn path=/trunk/netsurf/; revision=2919
2006-09-05 18:32:18 +00:00
Richard Wilson
4994441579 Improve caret handling.
svn path=/trunk/netsurf/; revision=2917
2006-09-05 17:34:30 +00:00
Richard Wilson
610a31dd97 Fix 1528364.
svn path=/trunk/netsurf/; revision=2916
2006-09-05 14:56:18 +00:00
Richard Wilson
4780e39836 Fix initial frame stack placement (fix www.theabar.co.uk and others)
svn path=/trunk/netsurf/; revision=2915
2006-09-05 01:09:05 +00:00
Richard Wilson
5a9af92cd1 Don't track windows after destruction.
svn path=/trunk/netsurf/; revision=2914
2006-09-05 00:53:17 +00:00
Richard Wilson
6d36d39a56 Don't force iframe windows 'onto screen' when opening (fix 1551632)
svn path=/trunk/netsurf/; revision=2913
2006-09-05 00:24:17 +00:00
Richard Wilson
5d53f3784c Fix window furniture issues at small dimensions.
svn path=/trunk/netsurf/; revision=2910
2006-09-04 10:13:56 +00:00
Richard Wilson
74fa727509 Experimental new frames code.
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
James Bursa
b51f807fe3 Fix uninformative error message log.
svn path=/trunk/netsurf/; revision=2903
2006-08-30 20:09:02 +00:00
Rob Kendrick
66d0d78be1 Move default window size opens into core for use from nsgtk
svn path=/trunk/netsurf/; revision=2900
2006-08-29 00:17:35 +00:00
John Mark Bell
358f20f4cd Make fetch_mimetype consider our internal mapping table
svn path=/trunk/netsurf/; revision=2894
2006-08-25 22:46:38 +00:00
Adrian Lees
63631b4ec9 Workaround for later VideoHWSMI versions too; patterned line bug still not fixed
svn path=/trunk/netsurf/; revision=2883
2006-08-22 03:33:05 +00:00
James Bursa
3cafb693ee Use weight 500 for Medium desktop font.
svn path=/trunk/netsurf/; revision=2881
2006-08-22 00:08:18 +00:00
James Bursa
8343f4f37a Move ro_gui_wimp_desktop_font() from wimp.c to font.c. Simplify code and add logging of result.
svn path=/trunk/netsurf/; revision=2876
2006-08-21 03:11:44 +00:00
James Bursa
877fe5c658 Remove unused and unimplemented nsfont_txtenum().
svn path=/trunk/netsurf/; revision=2875
2006-08-21 02:05:51 +00:00
Adrian Lees
7aaa33d2e5 Fix for knockout rendering of native formats
svn path=/trunk/netsurf/; revision=2869
2006-08-19 19:31:07 +00:00
Adrian Lees
a1292c7935 Map Ctrl-S/F to Save/Search for Windows compatibility since they were unused
svn path=/trunk/netsurf/; revision=2866
2006-08-18 05:39:53 +00:00
John Mark Bell
c6eeed815e Fix buffer overrun & squash compiler warning.
svn path=/trunk/netsurf/; revision=2864
2006-08-17 23:41:29 +00:00
James Bursa
844e6de6a9 Call rufl_dump_state() when a crash occurs.
svn path=/trunk/netsurf/; revision=2850
2006-08-15 04:05:30 +00:00
Adrian Lees
34791dc3ea Make Home/End jump to top/bottom of page
svn path=/trunk/netsurf/; revision=2827
2006-08-11 02:36:12 +00:00
Adrian Lees
4d8c68583f Save and restore FP registers for APCS compliance
svn path=/trunk/netsurf/; revision=2815
2006-08-06 15:40:02 +00:00
Richard Wilson
cad95f5aca Add ptr_lr shape and iconise outline for pre-RISC OS 5.
svn path=/trunk/netsurf/; revision=2807
2006-08-04 19:18:27 +00:00
Richard Wilson
0fa805df8f Fix mask creation for thumbnails.
svn path=/trunk/netsurf/; revision=2806
2006-08-04 19:14:40 +00:00
Rob Kendrick
fb91840001 Make url_suggest option core, rather than RISC OS-specific.
svn path=/trunk/netsurf/; revision=2799
2006-07-28 15:52:37 +00:00
Adrian Lees
748e38ab87 Use desktop font
svn path=/trunk/netsurf/; revision=2778
2006-07-18 01:51:19 +00:00
Richard Wilson
efbfb3ae3f Fix Ctrl+Right.
svn path=/trunk/netsurf/; revision=2775
2006-07-17 21:00:57 +00:00
Richard Wilson
697acab07b Implement Ctrl+U, Ctrl+Up, Ctrl+Down.
svn path=/trunk/netsurf/; revision=2774
2006-07-17 17:32:06 +00:00
Michael Drake
68ac9e41b1 Increase default status bar width to two thirds.
svn path=/trunk/netsurf/; revision=2773
2006-07-17 08:08:00 +00:00
Richard Wilson
0309e937e6 Allow the user to delete cookies.
svn path=/trunk/netsurf/; revision=2770
2006-07-16 21:42:37 +00:00
Adrian Lees
81512fa939 Workaround for A9home crash drawing patterned lines; maybe temporary
svn path=/trunk/netsurf/; revision=2768
2006-07-16 16:52:28 +00:00
John Mark Bell
2c4fb5d683 More key bindings for textarea implementation. Still loads missing.
svn path=/trunk/netsurf/; revision=2767
2006-07-16 16:13:55 +00:00
Richard Wilson
9294938976 Extent cookie_update API to allow notification of deleted domains. Fix nodes not being re-calculated.
svn path=/trunk/netsurf/; revision=2765
2006-07-16 16:10:43 +00:00
Richard Wilson
54950fad08 Add missing include
svn path=/trunk/netsurf/; revision=2763
2006-07-16 14:09:37 +00:00
John Mark Bell
488f3e0d8a Fix small build
svn path=/trunk/netsurf/; revision=2762
2006-07-16 11:34:51 +00:00
John Mark Bell
dc612b767c Display certificate subject in list rather than issuer
svn path=/trunk/netsurf/; revision=2760
2006-07-16 00:47:20 +00:00
Richard Wilson
0657764d00 Remove debug information.
svn path=/trunk/netsurf/; revision=2758
2006-07-16 00:36:32 +00:00
Richard Wilson
589fe57264 Fix text area positioning, simpify scroll bar code.
svn path=/trunk/netsurf/; revision=2757
2006-07-16 00:34:16 +00:00
Richard Wilson
9006b194bb Update forgotten files.
svn path=/trunk/netsurf/; revision=2756
2006-07-16 00:23:10 +00:00
Richard Wilson
00d74fdd2d Allow the viewing of the entire SSL certificate chain.
svn path=/trunk/netsurf/; revision=2755
2006-07-16 00:21:15 +00:00
Richard Wilson
546bf17a7f Add relevent extensions to allow treeviews to be used as an embedded list component.
svn path=/trunk/netsurf/; revision=2753
2006-07-15 15:39:33 +00:00
John Mark Bell
1decf851aa Fix URL completion keypress handling
svn path=/trunk/netsurf/; revision=2748
2006-07-13 22:50:48 +00:00
John Mark Bell
752634a810 Fix corruption of character if it matches a control sequence handled by
the core code.
Explicitly check for IS_WIMP_KEY in every applicable case as clearing 
the relevant bit beforehand is insufficient (&18C (Left cursor) is a 
valid Unicode character value, for example)

svn path=/trunk/netsurf/; revision=2747
2006-07-13 22:35:46 +00:00
John Mark Bell
25501c695e Centralise keypress handling (download and query dialogs still need porting over to wimp_event)
Make core browser window invalidate caret callback on mouse clicks

svn path=/trunk/netsurf/; revision=2746
2006-07-13 21:57:35 +00:00
John Mark Bell
3716a5853e Fixup missing includes
svn path=/trunk/netsurf/; revision=2745
2006-07-13 21:52:35 +00:00
Richard Wilson
652f594cbb Further url completion fixes
svn path=/trunk/netsurf/; revision=2744
2006-07-13 21:28:07 +00:00
Richard Wilson
1fcceb72f6 Fix url completion
svn path=/trunk/netsurf/; revision=2743
2006-07-13 19:48:45 +00:00
Richard Wilson
a836591435 Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00
Richard Wilson
3d63f5e5b2 Ctrl + resize scales the content to the new width.
svn path=/trunk/netsurf/; revision=2735
2006-07-12 17:23:00 +00:00
Richard Wilson
82dd81b859 Pass on RETURN and ESCAPE events to WIMP icon.
svn path=/trunk/netsurf/; revision=2734
2006-07-12 15:07:37 +00:00
Richard Wilson
06429e69b5 Fix single line textareas, improve display of multiline ones.
svn path=/trunk/netsurf/; revision=2732
2006-07-11 23:04:13 +00:00
John Mark Bell
774f7a7599 Add missing error assignment
svn path=/trunk/netsurf/; revision=2730
2006-07-11 06:16:55 +00:00
Richard Wilson
593a5cf511 Render trees in UTF8 via rufl (fix 1434430)
svn path=/trunk/netsurf/; revision=2728
2006-07-11 00:40:45 +00:00
Richard Wilson
5081a22490 Convert sprite names to lowercase (fix 1412453)
svn path=/trunk/netsurf/; revision=2727
2006-07-10 14:49:16 +00:00
Richard Wilson
0e0aef0f85 Fix 1496834.
svn path=/trunk/netsurf/; revision=2726
2006-07-10 13:42:42 +00:00
Richard Wilson
a47f148f2d Optimise out redundant group_start and group_end calls (speed up rendering.)
svn path=/trunk/netsurf/; revision=2725
2006-07-10 09:52:31 +00:00
Richard Wilson
0fe0a709ce Join update boxes if possible to decrease rendering time (optimise bouncing bunny testcase.)
svn path=/trunk/netsurf/; revision=2724
2006-07-09 17:38:34 +00:00
John Mark Bell
8fefa1061e Fix 1517874. Plug memory leaks on failure.
svn path=/trunk/netsurf/; revision=2720
2006-07-06 06:42:54 +00:00
Richard Wilson
badad073ec Generate directory listings (fix 1397934)
svn path=/trunk/netsurf/; revision=2719
2006-07-06 00:07:11 +00:00
Richard Wilson
ea44d84833 Make adjust-back/forwards/up open content in a new window (implement 1431600)
svn path=/trunk/netsurf/; revision=2717
2006-07-05 16:50:35 +00:00
Richard Wilson
a102f34fa6 Make adjust-clicking submit open a new window (fix 1430135)
svn path=/trunk/netsurf/; revision=2716
2006-07-05 01:23:25 +00:00
Richard Wilson
667c3b6730 Fix 1516353 and implement 1352354
svn path=/trunk/netsurf/; revision=2711
2006-07-04 19:56:37 +00:00
Richard Wilson
bd732e40ed Respect CMOS configuration for full-size toggles on small contents.
svn path=/trunk/netsurf/; revision=2709
2006-07-04 14:50:15 +00:00
Richard Wilson
de0c4e2c32 Implement up toolbar icon and menu option.
svn path=/trunk/netsurf/; revision=2705
2006-07-03 21:07:02 +00:00
Richard Wilson
021f36675f Delegate redraw optimisations to the knockout rendering system (fix garbage being displayed in certain situations with buffered rendering)
svn path=/trunk/netsurf/; revision=2703
2006-07-03 02:45:48 +00:00
Richard Wilson
f99c19ebd8 Set ECF origin for buffered rendering (fix 1422009)
svn path=/trunk/netsurf/; revision=2702
2006-07-03 02:08:54 +00:00
Richard Wilson
d064f950a7 Allow any content to be dragged into a text area (fix 1461378)
svn path=/trunk/netsurf/; revision=2701
2006-07-03 01:38:13 +00:00
Richard Wilson
826a48d737 Fix 1496309.
svn path=/trunk/netsurf/; revision=2700
2006-07-03 01:14:46 +00:00
Richard Wilson
5eb703af73 Allow thumbnail icons to be turned off.
svn path=/trunk/netsurf/; revision=2699
2006-07-03 01:03:07 +00:00
Richard Wilson
dbe40cffb3 Re-instate the knockout renderers after a nested flush(). Make so knockout rendering is always used.
svn path=/trunk/netsurf/; revision=2693
2006-07-02 17:23:49 +00:00
Richard Wilson
cf4294d3a8 Implement knockout rendering (controlled by 'knockout_rendering' option or Ctrl+F11, default is off). This attempts to minimise the amount of overlapping redraw performed, and thus can drasticly reduce the rendering time of many pages.
svn path=/trunk/netsurf/; revision=2682
2006-07-01 18:16:05 +00:00
Richard Wilson
3d6331efd7 Only check caret position for writable icons.
svn path=/trunk/netsurf/; revision=2667
2006-06-28 22:58:58 +00:00
John Mark Bell
ea7867b927 Dump RUfl family list if Homerton isn't found
svn path=/trunk/netsurf/; revision=2659
2006-06-28 14:38:31 +00:00
John Mark Bell
553d6066d0 Fix textarea crashes
svn path=/trunk/netsurf/; revision=2650
2006-06-26 19:47:22 +00:00
John Mark Bell
8db70d8e2d UTF-8 capable single/multi-line text area/display field - needs
optimisation, completion of outstanding todos.
Use this to display SSL certificate issuer and subject information.

svn path=/trunk/netsurf/; revision=2647
2006-06-26 01:14:33 +00:00
John Mark Bell
1404431fef Lose compiler warnings
svn path=/trunk/netsurf/; revision=2645
2006-06-25 13:12:07 +00:00
Rob Kendrick
045794bdbb Fix typo in Pinboard workaround (stops it being overly zealous)
svn path=/trunk/netsurf/; revision=2644
2006-06-24 16:56:56 +00:00
Rob Kendrick
73b13bff12 Add workaround to bug in Pinboard not displaying some windows when iconised
svn path=/trunk/netsurf/; revision=2641
2006-06-23 22:42:31 +00:00
John Mark Bell
9eb3efff78 Make filename_create_directory check if directory already exists
Constify return of filename_request
Make bitmap save code check for filename_request failure
Update ro_gui_view_source to take account of constification

svn path=/trunk/netsurf/; revision=2639
2006-06-20 22:58:36 +00:00
John Mark Bell
5adef63ac5 Localise configure icon strings when appropriate.
Fix gright menu handling - now writes into display field without 
attempting to localise the selection string - it's already localised.
Update German Messages file appropriately.

svn path=/trunk/netsurf/; revision=2638
2006-06-20 21:35:33 +00:00
John Mark Bell
4f249f9d0a Merge cookies changes into head - unvalidated transactions and a UI
still need implementing.

svn path=/trunk/netsurf/; revision=2632
2006-06-19 21:49:25 +00:00
John Mark Bell
cc226c0293 Make URL completion ignore unvisited URLs
svn path=/trunk/netsurf/; revision=2621
2006-06-15 15:47:34 +00:00
John Mark Bell
c1dbdad995 Provide persistent flag for urldb entries.
Make hotlist use this, rather than abusing the last visited date.
This fixes the hotlist being copied to global history issue.

svn path=/trunk/netsurf/; revision=2619
2006-06-14 22:46:12 +00:00
John Mark Bell
09564c2bca Fix handling of backspace in URL entry field
svn path=/trunk/netsurf/; revision=2614
2006-06-02 14:27:18 +00:00
John Mark Bell
8fc65f1a64 New keybindings similar to other browsers:
Backspace -> back
Shift + Backspace -> forward

svn path=/trunk/netsurf/; revision=2610
2006-06-01 23:54:55 +00:00
Adrian Lees
c2f54bca82 Eliminate error at end of page drag scrolling on Select
svn path=/trunk/netsurf/; revision=2608
2006-05-28 16:49:39 +00:00
James Bursa
d94e0749e1 Replace a call to wimp_create_icon() with xwimp_create_icon().
svn path=/trunk/netsurf/; revision=2607
2006-05-24 22:56:46 +00:00
John Mark Bell
fa5156cfca Handle omitted realm
svn path=/trunk/netsurf/; revision=2602
2006-05-14 23:35:15 +00:00
James Bursa
b813b44a63 Add Ctrl-Shift-Q and Ctrl-Shift-W to change scale in 10% steps.
svn path=/trunk/netsurf/; revision=2593
2006-05-06 13:09:50 +00:00
Michael Drake
49e173baab Reinstate Ctrl+R (full reload).
svn path=/trunk/netsurf/; revision=2584
2006-05-02 10:13:36 +00:00
John Mark Bell
56f08aca95 Fix crash when no Choices file is present
svn path=/trunk/netsurf/; revision=2562
2006-04-29 19:59:26 +00:00
John Mark Bell
37cb487fc0 Fix crash when saving a selection after its containing window's content
has changed.

svn path=/trunk/netsurf/; revision=2557
2006-04-26 17:26:03 +00:00
Richard Wilson
aec8fd6c8f Remove redundant mouseaction code.
svn path=/trunk/netsurf/; revision=2554
2006-04-22 22:44:46 +00:00
Richard Wilson
55e5f80903 Remove redundant mouseaction code.
svn path=/trunk/netsurf/; revision=2553
2006-04-22 22:42:44 +00:00
Richard Wilson
a626658780 Fix incorrect interactive help assignment.
svn path=/trunk/netsurf/; revision=2551
2006-04-22 22:23:41 +00:00
Richard Wilson
9fdd71709d Fix incorrect interactive help assignment
svn path=/trunk/netsurf/; revision=2549
2006-04-22 21:50:44 +00:00
Richard Wilson
c7f77b0165 Finish history cloning.
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
Richard Wilson
546ad9e70a Apparently I need to specify add/deletions too...
svn path=/trunk/netsurf/; revision=2541
2006-04-21 23:50:36 +00:00
Richard Wilson
a2465c779f Remove RISC OS dependencies from filename code.
svn path=/trunk/netsurf/; revision=2540
2006-04-21 23:49:52 +00:00
John Mark Bell
52bdd72c71 Ensure hotlist URLs are retained in the database
Reduce number of unconditional calls to urldb_get_url_data

svn path=/trunk/netsurf/; revision=2531
2006-04-15 15:23:23 +00:00
John Mark Bell
3e54aab0d5 Fix insertion of unordered base nodes
svn path=/trunk/netsurf/; revision=2529
2006-04-14 00:27:49 +00:00
John Mark Bell
1b7797b395 Fix redraw issues for CONTENT_CSS
svn path=/trunk/netsurf/; revision=2528
2006-04-13 00:22:52 +00:00
John Mark Bell
d453fa3206 Fix global history tree corruption
svn path=/trunk/netsurf/; revision=2525
2006-04-12 08:10:05 +00:00
John Mark Bell
ef301b8619 Fix URL file loading and add support for file:/// URLs to urldb
Convert file:/... to file:///... (the former isn't a valid URL)

svn path=/trunk/netsurf/; revision=2524
2006-04-12 08:09:27 +00:00
John Mark Bell
e0ba508992 Store URLs explicitly in URL database for faster access.
Iteration callbacks now passed url_data struct to remove need to look up

svn path=/trunk/netsurf/; revision=2522
2006-04-11 02:39:55 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Michael Drake
e5e1b982d5 Fix spelling in comment.
svn path=/trunk/netsurf/; revision=2518
2006-04-09 20:06:12 +00:00
James Bursa
5bb7337e88 Add missing include.
svn path=/trunk/netsurf/; revision=2515
2006-04-09 18:11:59 +00:00
Richard Wilson
1bb74deace [project @ 2006-04-06 22:42:22 by rjw]
Add connection option tool.

svn path=/import/netsurf/; revision=2498
2006-04-06 22:42:22 +00:00
Richard Wilson
04147f020e [project @ 2006-04-06 22:39:53 by rjw]
Fix documentation.

svn path=/import/netsurf/; revision=2497
2006-04-06 22:39:53 +00:00
Richard Wilson
9299e0d55a [project @ 2006-04-06 17:51:25 by rjw]
Content and security option tools.

svn path=/import/netsurf/; revision=2493
2006-04-06 17:51:25 +00:00
Richard Wilson
7fe74d3bc7 [project @ 2006-04-06 17:06:17 by rjw]
Add more interface options.

svn path=/import/netsurf/; revision=2491
2006-04-06 17:06:18 +00:00
Rob Kendrick
b875473027 [project @ 2006-03-31 10:41:21 by rjek]
Move default font face choices from RISC OS front end to core

svn path=/import/netsurf/; revision=2482
2006-03-31 10:41:21 +00:00
Rob Kendrick
5d434ff002 [project @ 2006-03-29 15:26:53 by rjek]
Moved homepage_url option into core from riscos, and use it in the GTK frontend

svn path=/import/netsurf/; revision=2481
2006-03-29 15:26:54 +00:00