Commit Graph

522 Commits

Author SHA1 Message Date
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
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
Adrian Lees
7fbb51d799 Extended scroll wheel support (Select)
svn path=/trunk/netsurf/; revision=4307
2008-06-07 23:39:09 +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
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 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
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
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
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
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
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
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
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
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
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
Richard Wilson
f4b8d3a009 Reflow iframes on layout (fix 1617625)
svn path=/trunk/netsurf/; revision=3126
2006-12-30 02:10:46 +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
Richard Wilson
db0aae2a46 Fix 1593228.
svn path=/trunk/netsurf/; revision=3102
2006-12-03 21:11:34 +00:00
Richard Wilson
4d14d54720 Implement 1554984.
svn path=/trunk/netsurf/; revision=3098
2006-12-03 12:45: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
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
e5680bdccb Clean up wimp_event usage when closing browser windows.
svn path=/trunk/netsurf/; revision=3022
2006-10-31 23:06:12 +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
f99998362d Lose noisy logging
svn path=/trunk/netsurf/; revision=2928
2006-09-07 20:39:37 +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
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
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
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
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
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
Richard Wilson
652f594cbb Further url completion fixes
svn path=/trunk/netsurf/; revision=2744
2006-07-13 21:28:07 +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
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
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
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
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
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
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
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
Richard Wilson
c7f77b0165 Finish history cloning.
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +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
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Adrian Lees
4b03028b51 [project @ 2006-03-24 03:44:33 by adrianl]
Use thumbnails for iconised windows

svn path=/import/netsurf/; revision=2157
2006-03-24 03:44:37 +00:00
Michael Drake
075f6ba3d1 [project @ 2006-03-23 10:25:50 by tlsa]
Add remaining pointer types to RISC OS build.

svn path=/import/netsurf/; revision=2154
2006-03-23 10:25:50 +00:00
Michael Drake
222b75de89 [project @ 2006-03-22 23:37:59 by tlsa]
More pointer types for RISC OS build.

svn path=/import/netsurf/; revision=2150
2006-03-22 23:37:59 +00:00
Daniel Silverstone
35bb5f96d5 [project @ 2006-03-19 17:49:32 by dsilvers]
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had

svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
John Mark Bell
63a70da244 [project @ 2006-03-10 11:28:16 by jmb]
Add missing "struct"

svn path=/import/netsurf/; revision=2126
2006-03-10 11:28:16 +00:00
Daniel Silverstone
7e02b0089c [project @ 2006-03-10 11:10:21 by dsilvers]
Include gui.h for gui_window struct

svn path=/import/netsurf/; revision=2125
2006-03-10 11:10:21 +00:00
Daniel Silverstone
17d059f53f [project @ 2006-03-10 09:09:03 by dsilvers]
Minor refactor to pass the gui_window to gui_window_set_pointer and gui_window_hide_pointer

svn path=/import/netsurf/; revision=2123
2006-03-10 09:09:03 +00:00
Richard Wilson
25a995931d [project @ 2006-03-04 20:46:35 by rjw]
Continue work towards favicon support.

svn path=/import/netsurf/; revision=2104
2006-03-04 20:46:35 +00:00
Richard Wilson
60ea34ad48 [project @ 2006-02-26 02:25:19 by rjw]
Add support for ICO files.

svn path=/import/netsurf/; revision=2096
2006-02-26 02:25:19 +00:00
Richard Wilson
da4a9313f1 [project @ 2006-02-25 18:50:34 by rjw]
Support for BMP files

svn path=/import/netsurf/; revision=2095
2006-02-25 18:51:51 +00:00
Adrian Lees
eeb97d89c3 [project @ 2006-02-11 19:10:42 by adrianl]
Corrected UTF8 conversion of imported text

svn path=/import/netsurf/; revision=2074
2006-02-11 19:10:42 +00:00
Adrian Lees
9661e84371 [project @ 2006-02-01 22:31:27 by adrianl]
Eliminate spurious char at end of imported text

svn path=/import/netsurf/; revision=2052
2006-02-01 22:31:27 +00:00
Michael Drake
8fc96b9862 [project @ 2006-01-26 23:52:01 by tlsa]
Revert accidentally checked in file.

svn path=/import/netsurf/; revision=2048
2006-01-26 23:52:01 +00:00
Michael Drake
cea6db4ee0 [project @ 2006-01-26 23:38:22 by tlsa]
Remove rule.netsurf/!NetSurf/Resources/AdBlock,f79

svn path=/import/netsurf/; revision=2046
2006-01-26 23:38:23 +00:00
Richard Wilson
b5fcb4d94c [project @ 2006-01-25 17:28:29 by rjw]
Implement feature request 1365051.

svn path=/import/netsurf/; revision=2043
2006-01-25 17:28:29 +00:00
John Mark Bell
15a14599db [project @ 2006-01-22 17:25:30 by jmb]
Convert local files to UTF-8 when dragged in (assumes they're encoded in the system local encoding).
Fix potential buffer overflow in utf8_from_local_encoding

svn path=/import/netsurf/; revision=2025
2006-01-22 17:25:30 +00:00
Richard Wilson
e4fa7102bd [project @ 2006-01-06 21:21:34 by rjw]
Trim headers.

svn path=/import/netsurf/; revision=1997
2006-01-06 21:21:34 +00:00
Richard Wilson
4fb5bda6ac [project @ 2006-01-02 22:06:59 by rjw]
Allow toolbars for non gui-windows

svn path=/import/netsurf/; revision=1959
2006-01-02 22:06:59 +00:00
Richard Wilson
d1094d1238 [project @ 2005-12-31 04:40:48 by rjw]
Use new wimp_event system.

svn path=/import/netsurf/; revision=1916
2005-12-31 04:40:49 +00:00
Adrian Lees
7a81755bca [project @ 2005-09-29 15:24:48 by adrianl]
Allow drag-saving of URLs from URL icon of browser windows

svn path=/import/netsurf/; revision=1867
2005-09-29 15:24:48 +00:00
Adrian Lees
eed08b3250 [project @ 2005-07-24 03:13:51 by adrianl]
Convert title to local encoding before display

svn path=/import/netsurf/; revision=1819
2005-07-24 03:13:51 +00:00
Adrian Lees
1a1901d19b [project @ 2005-07-20 23:27:27 by adrianl]
2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end)

svn path=/import/netsurf/; revision=1812
2005-07-20 23:27:28 +00:00
John Mark Bell
f4ecaaed31 [project @ 2005-07-16 14:35:20 by jmb]
- Convert Messages files to UTF-8 encoding.
- Replace local_encoding_name() with platform specific
  utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit
  characters 0x80->0x9f (inclusive).
- All text that is rendered by the RISC OS Wimp is now converted to the system
  local encoding prior to display.
- Lose the horrendous hack that was messages_get_key()
- Menu text is now translated to system local encoding on the fly (if necessary)
  rather than at menu creation time. This allows the system alphabet to change
  under us and our menus remain usable.
- The Languages menu now lists all languages that are present in the LangNames
  file. In the case of selecting the UI language, those languages which are not
  available are shaded.

svn path=/import/netsurf/; revision=1796
2005-07-16 14:35:25 +00:00
Adrian Lees
4a5dc6d5cc [project @ 2005-07-16 05:54:45 by adrianl]
Thumbnails displayed and dragged for full page save; spelling correction

svn path=/import/netsurf/; revision=1793
2005-07-16 05:54:45 +00:00
James Bursa
9b78daf135 [project @ 2005-07-02 18:17:51 by bursa]
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.

svn path=/import/netsurf/; revision=1777
2005-07-02 18:17:51 +00:00
John Mark Bell
c0fce75798 [project @ 2005-06-07 21:58:17 by jmb]
Fix stupid assertions.

svn path=/import/netsurf/; revision=1745
2005-06-07 21:58:17 +00:00
John Mark Bell
0bcfdbeb50 [project @ 2005-06-07 21:29:26 by jmb]
Lose cnv_str_local_enc and friends.
UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate.

svn path=/import/netsurf/; revision=1744
2005-06-07 21:29:26 +00:00
John Mark Bell
be6a75509d [project @ 2005-06-07 16:35:13 by jmb]
Convert status bar text to local encoding. Fixes bug 1215998

svn path=/import/netsurf/; revision=1743
2005-06-07 16:35:13 +00:00
Adrian Lees
1b46d8f35e [project @ 2005-05-02 22:12:53 by adrianl]
Fix Ctrl-Del and implement Home

svn path=/import/netsurf/; revision=1710
2005-05-02 22:12:53 +00:00
Adrian Lees
8da644f442 [project @ 2005-04-21 21:36:23 by adrianl]
Dragging URLs into toolbar URL icon; keyboard actions in textareas conform to Wimp's icon editing; display of scale % fixed for 120%

svn path=/import/netsurf/; revision=1676
2005-04-21 21:36:23 +00:00
Richard Wilson
d736b3d3e5 [project @ 2005-04-20 23:22:49 by rjw]
Remove background blending option, fix tree menu bug.

svn path=/import/netsurf/; revision=1675
2005-04-20 23:22:49 +00:00
Adrian Lees
31c659a2ea [project @ 2005-04-20 12:24:41 by adrianl]
text import from global clipboard, other apps & files and additional keys for editing text in textareas

svn path=/import/netsurf/; revision=1673
2005-04-20 12:24:41 +00:00
Adrian Lees
89d98d0577 [project @ 2005-04-17 23:32:09 by adrianl]
better keyboard support for scale and find dialogs

svn path=/import/netsurf/; revision=1665
2005-04-17 23:32:09 +00:00
John Mark Bell
0a55a2b16e [project @ 2005-04-16 19:33:21 by jmb]
Fix silliness with use of control characters

svn path=/import/netsurf/; revision=1653
2005-04-16 19:33:21 +00:00
John Mark Bell
ee9a4712cd [project @ 2005-04-15 18:00:19 by jmb]
Split out generic text input code.
Support internationalised text input.
Fix textarea-related bugs.

svn path=/import/netsurf/; revision=1642
2005-04-15 18:00:21 +00:00
Adrian Lees
89993a5bf2 [project @ 2005-04-15 05:54:44 by adrianl]
Text selection, page drag scrolling, drag-saving images and a few SaveAs improvements

svn path=/import/netsurf/; revision=1640
2005-04-15 05:54:44 +00:00
Richard Wilson
92b2d46874 [project @ 2005-04-14 01:36:54 by rjw]
Fix redraw errors for standalone images when buffered.

svn path=/import/netsurf/; revision=1631
2005-04-14 01:36:54 +00:00
Adrian Lees
d656bcc592 [project @ 2005-04-13 22:02:28 by adrianl]
Fix scrolling to tags with scaled display

svn path=/import/netsurf/; revision=1628
2005-04-13 22:02:28 +00:00
Richard Wilson
ce3c78545a [project @ 2005-04-07 21:47:17 by rjw]
Stop Ctrl+Q/W without a content from killing NetSurf.

svn path=/import/netsurf/; revision=1604
2005-04-07 21:47:17 +00:00
Richard Wilson
610fca368b [project @ 2005-04-07 20:46:22 by rjw]
Update to the way menus are handled. Various GUI bug fixes.

svn path=/import/netsurf/; revision=1603
2005-04-07 20:46:22 +00:00
Richard Wilson
9a76676600 [project @ 2005-03-21 00:50:13 by rjw]
Add shift+toggle feature for short contents. *** HACK ***

svn path=/import/netsurf/; revision=1566
2005-03-21 00:50:13 +00:00
Richard Wilson
b718ee9158 [project @ 2005-03-20 22:50:29 by rjw]
Trees now use content title rather than gui_window title.

svn path=/import/netsurf/; revision=1562
2005-03-20 22:50:29 +00:00
Richard Wilson
412c668af3 [project @ 2005-03-20 20:39:43 by rjw]
Allow theme changing during toolbar edit sessions. Stop pointer changing to ptr_lr when updating toolbar windows.

svn path=/import/netsurf/; revision=1558
2005-03-20 20:39:43 +00:00
Richard Wilson
7cf3d4dde2 [project @ 2005-03-20 19:28:49 by rjw]
Further toolbar customisation work.

svn path=/import/netsurf/; revision=1555
2005-03-20 19:28:50 +00:00
Richard Wilson
06419abcca [project @ 2005-03-20 14:57:19 by rjw]
Further work towards configurable toolbars.

svn path=/import/netsurf/; revision=1551
2005-03-20 14:57:19 +00:00
Richard Wilson
036622f35f [project @ 2005-03-18 23:52:38 by rjw]
Allow windows to be resized to an absolute minimum (toolbars collapse.)

svn path=/import/netsurf/; revision=1541
2005-03-18 23:52:38 +00:00
Richard Wilson
501da1c487 [project @ 2005-03-14 13:58:43 by rjw]
Minimise flicker when viewing non-HTML files.

svn path=/import/netsurf/; revision=1535
2005-03-14 13:58:43 +00:00
Richard Wilson
950d8e27a0 [project @ 2005-03-13 09:04:44 by rjw]
Update title and extent on scale change.

svn path=/import/netsurf/; revision=1534
2005-03-13 09:04:44 +00:00
Richard Wilson
a0875b261f [project @ 2005-03-13 01:23:10 by rjw]
Scale view is now applied to all content types. Ctrl+Q/Ctrl+W no longer step along a linear scale.

svn path=/import/netsurf/; revision=1533
2005-03-13 01:23:10 +00:00
Richard Wilson
06a6a902c6 [project @ 2005-02-08 23:37:41 by rjw]
Give global history some functionality

svn path=/import/netsurf/; revision=1508
2005-02-08 23:37:41 +00:00
Richard Wilson
db41dc3dac [project @ 2005-02-07 14:28:43 by rjw]
Initial work for global history (currently incomplete)

svn path=/import/netsurf/; revision=1497
2005-02-07 14:28:43 +00:00
Richard Wilson
88da8ac018 [project @ 2005-02-05 01:08:00 by rjw]
Make F2 automatically open URL completion.

svn path=/import/netsurf/; revision=1493
2005-02-05 01:08:00 +00:00
Richard Wilson
097b8e5bcd [project @ 2005-02-04 03:02:15 by rjw]
Make URL completion less intrusive, fix incorrect horizontal clipping of vertical scrollbar.

svn path=/import/netsurf/; revision=1490
2005-02-04 03:02:15 +00:00
Richard Wilson
2affb76944 [project @ 2005-02-03 13:18:22 by rjw]
Implementation of URL suggestion

svn path=/import/netsurf/; revision=1488
2005-02-03 13:18:22 +00:00
John Mark Bell
e86bbdfc79 [project @ 2005-02-01 01:16:53 by jmb]
Lose spurious #include

svn path=/import/netsurf/; revision=1479
2005-02-01 01:16:53 +00:00
Richard Wilson
fd04e82e9b [project @ 2005-02-01 00:58:31 by rjw]
Only buffer redraws that update the entire current clipping area (fixes GIF redraw artifacts.)

svn path=/import/netsurf/; revision=1477
2005-02-01 00:58:31 +00:00
James Bursa
2583180b79 [project @ 2005-01-24 22:14:59 by bursa]
Simplify browser_window_go(). Replace browser_window_go_post() with browser_window_go() where possible.

svn path=/import/netsurf/; revision=1466
2005-01-24 22:14:59 +00:00
James Bursa
01b28b7538 [project @ 2005-01-24 20:59:15 by bursa]
Fix input focus behaviour. Remove obsolete gui_window_get_url().

svn path=/import/netsurf/; revision=1465
2005-01-24 20:59:15 +00:00
Richard Wilson
422df90089 [project @ 2005-01-23 16:09:05 by rjw]
Further work on theme installing

svn path=/import/netsurf/; revision=1463
2005-01-23 16:09:05 +00:00
John Mark Bell
124f0741d6 [project @ 2005-01-03 02:28:57 by jmb]
Lose erroneous #include

svn path=/import/netsurf/; revision=1430
2005-01-03 02:28:57 +00:00
John Mark Bell
77de9c1336 [project @ 2005-01-03 02:09:20 by jmb]
Shift + Click == download

svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
John Mark Bell
bd5ba01b2e [project @ 2005-01-03 01:18:17 by jmb]
Reorder F-key order (looks tidier ;)

svn path=/import/netsurf/; revision=1428
2005-01-03 01:18:17 +00:00
Richard Wilson
32db7e04d0 [project @ 2004-12-09 10:30:43 by rjw]
Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls.

svn path=/import/netsurf/; revision=1394
2004-12-09 10:30:44 +00:00
James Bursa
dfad215d1b [project @ 2004-11-21 22:49:02 by bursa]
Fix crash when certain MNGs are opened in a new browser window.

svn path=/import/netsurf/; revision=1368
2004-11-21 22:49:02 +00:00
Richard Wilson
9eee2a8246 [project @ 2004-11-09 23:32:40 by rjw]
Fix window resizing oddity

svn path=/import/netsurf/; revision=1354
2004-11-09 23:32:40 +00:00
Richard Wilson
1fbcdd14d5 [project @ 2004-11-02 23:23:07 by rjw]
Fix for recent GIF decoding bug. Rectangular pixel mode-friendly sprites for hotlist. Slight change to history image size to please Tinct. Support for foreground and background image quality settings. Support for error diffusion and bi-linear filtering (Tinct still requires some further work)

svn path=/import/netsurf/; revision=1336
2004-11-02 23:23:07 +00:00
James Bursa
1552896c9e [project @ 2004-10-19 21:17:16 by bursa]
Fix scaling of standalone images.

svn path=/import/netsurf/; revision=1326
2004-10-19 21:17:16 +00:00
James Bursa
511d66331f [project @ 2004-10-17 21:16:00 by bursa]
Move to use plotters. Replace html.layout->children with html.layout.

svn path=/import/netsurf/; revision=1318
2004-10-17 21:16:00 +00:00
Richard Wilson
403f12872d [project @ 2004-10-04 23:54:42 by rjw]
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.

svn path=/import/netsurf/; revision=1301
2004-10-04 23:54:42 +00:00
John Mark Bell
49ce807e3c [project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.

Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).

svn path=/import/netsurf/; revision=1297
2004-10-01 21:31:55 +00:00
John Mark Bell
39ad1632eb [project @ 2004-10-01 00:06:49 by jmb]
Send HTTP referer header. This is _only_ sent when a link is clicked (theoretically, at least).

svn path=/import/netsurf/; revision=1296
2004-10-01 00:06:49 +00:00
John Mark Bell
b74184c247 [project @ 2004-09-13 23:59:30 by jmb]
Add some #defines

svn path=/import/netsurf/; revision=1276
2004-09-13 23:59:30 +00:00
Richard Wilson
289cca466d [project @ 2004-09-07 23:05:34 by rjw]
Updates for new theme format along with a few minor bug fixes.

svn path=/import/netsurf/; revision=1269
2004-09-07 23:05:34 +00:00
Richard Wilson
a8661b3a64 [project @ 2004-08-31 18:01:22 by rjw]
Further theme related fixes

svn path=/import/netsurf/; revision=1257
2004-08-31 18:01:22 +00:00
Richard Wilson
98d17f19a6 [project @ 2004-08-30 21:57:47 by rjw]
Various small theme related fixes

svn path=/import/netsurf/; revision=1256
2004-08-30 21:57:47 +00:00
Richard Wilson
bf57d852ae [project @ 2004-08-30 21:03:48 by rjw]
Reworking of themes and toolbars.

svn path=/import/netsurf/; revision=1254
2004-08-30 21:03:48 +00:00
James Bursa
e44249f6ed [project @ 2004-08-25 23:56:48 by bursa]
Experimental overflow: scroll code.

svn path=/import/netsurf/; revision=1250
2004-08-25 23:56:49 +00:00
John Mark Bell
006344401c [project @ 2004-08-15 19:06:23 by jmb]
Rationalise image redraw.
Supply background colour when redrawing contents
Reenable printing of background images
Require Tinct 0.07

svn path=/import/netsurf/; revision=1234
2004-08-15 19:06:24 +00:00
John Tytgat
c9c3e1d966 [project @ 2004-08-14 12:16:44 by joty]
Keypresses are wchar_t typed data.

svn path=/import/netsurf/; revision=1227
2004-08-14 12:16:45 +00:00
James Bursa
bc727dda1c [project @ 2004-08-11 19:02:32 by bursa]
Start work on removing instances and making content types non-shareable. Clean up some #includes.

svn path=/import/netsurf/; revision=1211
2004-08-11 19:02:32 +00:00
John Mark Bell
c9bd6fa9fc [project @ 2004-08-09 16:11:58 by jmb]
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.

svn path=/import/netsurf/; revision=1206
2004-08-09 16:11:58 +00:00
John Mark Bell
c992f6252c [project @ 2004-08-09 06:28:56 by jmb]
Printing support.
Some issues remain - see the todo list at the top of print.c for more details

svn path=/import/netsurf/; revision=1199
2004-08-09 06:28:57 +00:00
Richard Wilson
afa046e1be [project @ 2004-08-08 20:16:17 by rjw]
Internal changes for theme handling. Tinct is now an external resource.

svn path=/import/netsurf/; revision=1196
2004-08-08 20:16:17 +00:00
Richard Wilson
33f6d42b94 [project @ 2004-08-06 23:45:21 by rjw]
Scale view window are now persistent. Fix for incorrect buffering option saving. Background images extend to the full window dimensions.

svn path=/import/netsurf/; revision=1189
2004-08-06 23:45:21 +00:00
Richard Wilson
1d76b7efae [project @ 2004-08-05 23:10:24 by rjw]
Added home and search toolbar buttons. Fixed homepage menu entry to open in same window.

svn path=/import/netsurf/; revision=1185
2004-08-05 23:10:24 +00:00
John Mark Bell
f3bef9fdcb [project @ 2004-08-05 22:03:56 by jmb]
Tidy up and bugfix search implementation

svn path=/import/netsurf/; revision=1183
2004-08-05 22:03:56 +00:00
John Mark Bell
4f3691d183 [project @ 2004-08-05 20:32:00 by jmb]
Text search. Press F4 to access it

svn path=/import/netsurf/; revision=1182
2004-08-05 20:32:00 +00:00
Richard Wilson
33937fe2e5 [project @ 2004-08-05 19:27:31 by rjw]
Fix for hotlist toolbar not being updated for directory double clicks. Fix for OS3.7 buffered redraw error masking. Fix for error reporting stopping functionality.

svn path=/import/netsurf/; revision=1181
2004-08-05 19:27:31 +00:00
James Bursa
892fcd5fba [project @ 2004-08-03 22:43:38 by bursa]
Fix width of new pages when scale is not 100%.

svn path=/import/netsurf/; revision=1179
2004-08-03 22:43:38 +00:00
James Bursa
54d25de371 [project @ 2004-07-30 16:16:07 by bursa]
Implement content_quit() and ro_gui_window_quit() to free resources on quit.

svn path=/import/netsurf/; revision=1164
2004-07-30 16:16:07 +00:00
Andrew Timmins
b59616c9ab [project @ 2004-07-26 20:13:45 by atimmins]
Updated to support new config options (homepage, open on startup).  Bug fixes with new config pane window (sticky selected radio icon bug!).  Also includes up-to-date French templates.

svn path=/import/netsurf/; revision=1150
2004-07-26 20:13:45 +00:00
Richard Wilson
de4d151285 [project @ 2004-07-25 20:45:15 by rjw]
Support for MNGs and JNGs. Bug fix for help token regression. Minor GUI fixes.

svn path=/import/netsurf/; revision=1144
2004-07-25 20:45:16 +00:00
John Tytgat
68de81fe8f [project @ 2004-07-21 14:19:21 by joty]
Added gui_window_remove_caret() to disown the caret.

svn path=/import/netsurf/; revision=1133
2004-07-21 14:19:21 +00:00
Richard Wilson
7d1a21d758 [project @ 2004-07-20 22:20:58 by rjw]
Support for complete buffering of all output.

svn path=/import/netsurf/; revision=1132
2004-07-20 22:20:58 +00:00
Richard Wilson
6ee54bec7a [project @ 2004-07-20 20:02:59 by rjw]
Fix for buffered text plotting. GUI control over font blending and buffering.

svn path=/import/netsurf/; revision=1129
2004-07-20 20:02:59 +00:00
James Bursa
f40918e0c9 [project @ 2004-07-20 11:30:03 by bursa]
Key presses are now an int.

svn path=/import/netsurf/; revision=1126
2004-07-20 11:30:03 +00:00
Richard Wilson
d18f4397c7 [project @ 2004-07-19 23:35:12 by rjw]
Double buffering for animations to remove flicker. Background font blending turned on by default.

svn path=/import/netsurf/; revision=1121
2004-07-19 23:35:12 +00:00
James Bursa
586cf7f27c [project @ 2004-07-19 01:00:25 by bursa]
Position caret correctly in scaled windows.

svn path=/import/netsurf/; revision=1102
2004-07-19 01:00:25 +00:00
Andrew Timmins
86f60c4c0a [project @ 2004-07-18 22:21:32 by atimmins]
svn path=/import/netsurf/; revision=1097
2004-07-18 22:21:32 +00:00
James Bursa
58e2d033ec [project @ 2004-07-18 17:38:01 by bursa]
Improve form control interaction code. Replace box_under_area() with simpler box_at_point(). Detect objects for menu once on menu opening. Remove obsolete text selection code.

svn path=/import/netsurf/; revision=1096
2004-07-18 17:38:01 +00:00
James Bursa
f23fd2a094 [project @ 2004-07-17 23:32:08 by bursa]
Rewrite and simplify mouse click handling.

svn path=/import/netsurf/; revision=1094
2004-07-17 23:32:09 +00:00
James Bursa
e4a6e982e5 [project @ 2004-07-17 13:00:38 by bursa]
Simplify gui_window structure. Clean up various parts of the gui code.

svn path=/import/netsurf/; revision=1092
2004-07-17 13:00:38 +00:00
Richard Wilson
abaa8a9093 [project @ 2004-07-16 16:33:44 by rjw]
Various fixes for the GUI. Persistant windows are closed when upon a change of content. Hotlist saves in the same format as !Browse. Neater login window. Support for interactive help from hotlist windows.

svn path=/import/netsurf/; revision=1081
2004-07-16 16:33:45 +00:00
Richard Wilson
6e3995cc65 [project @ 2004-07-11 21:45:51 by rjw]
Inversion of hotlist icon functionality. Automatic placement of caret for dialog windows. Escape closes dialog windows.

svn path=/import/netsurf/; revision=1071
2004-07-11 21:45:51 +00:00
James Bursa
89a23311ea [project @ 2004-07-11 13:05:38 by bursa]
Clean up save box code by implementing ro_gui_save_open().

svn path=/import/netsurf/; revision=1070
2004-07-11 13:05:38 +00:00
Richard Wilson
6cc16835e0 [project @ 2004-07-08 17:28:56 by rjw]
Save window cancel button implementation. Persistant child window handling.

svn path=/import/netsurf/; revision=1056
2004-07-08 17:28:56 +00:00
Richard Wilson
cfe6cd43dc [project @ 2004-07-07 22:09:26 by rjw]
Minor GUI fixes for hotlist. Hotlist toolbar.

svn path=/import/netsurf/; revision=1054
2004-07-07 22:09:26 +00:00
Richard Wilson
4f664d1559 [project @ 2004-07-04 14:59:29 by rjw]
Futher hotlst development. Minor GUI tweaks.

svn path=/import/netsurf/; revision=1044
2004-07-04 14:59:29 +00:00
Richard Wilson
c499ad907d [project @ 2004-07-03 17:30:27 by rjw]
Further development of the selection and display code.

svn path=/import/netsurf/; revision=1042
2004-07-03 17:30:28 +00:00
Richard Wilson
89bef6d650 [project @ 2004-07-01 22:56:26 by rjw]
Hotlist visit count monitoring. Hotlist redraw optimisations. Hotlist entry content type icons.

svn path=/import/netsurf/; revision=1037
2004-07-01 22:56:26 +00:00
Richard Wilson
4da7fcd8f5 [project @ 2004-06-29 23:13:40 by rjw]
Experimental hotlist code

svn path=/import/netsurf/; revision=1030
2004-06-29 23:13:40 +00:00
John Mark Bell
bc533957fd [project @ 2004-06-29 19:08:19 by jmb]
Full reload support for HTML contents. Adjust click the reload button

svn path=/import/netsurf/; revision=1029
2004-06-29 19:08:19 +00:00
Richard Wilson
5d0bc4e758 [project @ 2004-06-28 19:40:57 by rjw]
Fix for Ctrl-N not working correctly.

svn path=/import/netsurf/; revision=1024
2004-06-28 19:40:57 +00:00
Richard Wilson
4479072d16 [project @ 2004-06-28 19:35:04 by rjw]
Optional window size inheritance to appease tlsa. Updates to code comments. Ctrl-N shortcut to open a new window.

svn path=/import/netsurf/; revision=1023
2004-06-28 19:35:04 +00:00
Richard Wilson
79a10e41a4 [project @ 2004-06-27 15:34:46 by rjw]
Missing file from last commit

svn path=/import/netsurf/; revision=1019
2004-06-27 15:34:46 +00:00
Richard Wilson
50e0ebf3fa [project @ 2004-06-27 14:41:14 by rjw]
Improved window positioning

svn path=/import/netsurf/; revision=1018
2004-06-27 14:41:14 +00:00
Richard Wilson
4d190d89ee [project @ 2004-06-26 22:31:34 by rjw]
Visual representation of navigation features availble

svn path=/import/netsurf/; revision=1015
2004-06-26 22:31:34 +00:00
John Mark Bell
807f7ac284 [project @ 2004-06-25 17:52:05 by jmb]
Fix swi error reporting

svn path=/import/netsurf/; revision=1009
2004-06-25 17:52:05 +00:00
John Mark Bell
45b1be0d67 [project @ 2004-06-25 17:38:39 by jmb]
Tighten up parameter checking in ro_gui_window_click.

svn path=/import/netsurf/; revision=1008
2004-06-25 17:38:39 +00:00
James Bursa
07ef69aea3 [project @ 2004-06-22 20:39:16 by bursa]
Implement reload, with ^R shortcut.

svn path=/import/netsurf/; revision=994
2004-06-22 20:39:16 +00:00
James Bursa
a9365b5077 [project @ 2004-06-22 17:39:00 by bursa]
Remove unused and unimplemented gui_window_show() and gui_window_hide().

svn path=/import/netsurf/; revision=991
2004-06-22 17:39:00 +00:00
James Bursa
86206259fe [project @ 2004-06-21 15:25:35 by bursa]
Remove obsolete files and some dead code.

svn path=/import/netsurf/; revision=988
2004-06-21 15:27:56 +00:00
James Bursa
b4723c1d05 [project @ 2004-06-21 15:09:58 by bursa]
Merge memory cache into content module.

svn path=/import/netsurf/; revision=986
2004-06-21 15:09:59 +00:00
James Bursa
7a13a0b607 [project @ 2004-06-20 23:10:50 by bursa]
Implement stop toolbar button and Escape as key shortcut.

svn path=/import/netsurf/; revision=983
2004-06-20 23:10:50 +00:00
James Bursa
0ebbc1330c [project @ 2004-06-12 17:43:37 by bursa]
Fix limit zooming by ^Q / ^W. Increase limit to 1000.

svn path=/import/netsurf/; revision=967
2004-06-12 17:43:37 +00:00
John Mark Bell
faa24817b4 [project @ 2004-06-11 00:08:53 by jmb]
Scale view keyboard shortcuts a la !Draw

svn path=/import/netsurf/; revision=959
2004-06-11 00:08:53 +00:00
Richard Wilson
fb4e2fc476 [project @ 2004-06-10 22:11:44 by rjw]
GUI control of background images. Scaled background images.

svn path=/import/netsurf/; revision=953
2004-06-10 22:11:44 +00:00
James Bursa
18ea7c459c [project @ 2004-06-10 13:05:43 by bursa]
Fix focus for new windows without URL bar.

svn path=/import/netsurf/; revision=948
2004-06-10 13:05:43 +00:00
James Bursa
6879c02a33 [project @ 2004-06-06 19:39:17 by bursa]
Add and improve error handling of save_complete. Save HTML as UTF-8 to prevent encoding issues.

svn path=/import/netsurf/; revision=931
2004-06-06 19:39:17 +00:00
James Bursa
6710971eec [project @ 2004-06-02 21:27:07 by bursa]
Simplify animation redraw code.

svn path=/import/netsurf/; revision=922
2004-06-02 21:27:07 +00:00
Richard Wilson
2af77b03e5 [project @ 2004-05-26 21:13:07 by rjw]
Fix for FP exceptions.

svn path=/import/netsurf/; revision=897
2004-05-26 21:13:07 +00:00
James Bursa
de6ba3a7aa [project @ 2004-05-25 10:42:28 by bursa]
Remove obsolete gui_window_in_list(), clean up gui_create_browser_window().

svn path=/import/netsurf/; revision=896
2004-05-25 10:42:28 +00:00
Richard Wilson
1d75176293 [project @ 2004-05-24 20:50:57 by rjw]
Added option for maximum GIF animation speed (currently defaults to 10cs).
Fix for scaled animations not being correctly updated due to rounding issues.

svn path=/import/netsurf/; revision=895
2004-05-24 20:50:57 +00:00
Richard Wilson
9d305e4ec0 [project @ 2004-05-23 12:22:05 by rjw]
Improved style guide compliance and (incomplete) option to save window starting characteristics.

svn path=/import/netsurf/; revision=891
2004-05-23 12:22:05 +00:00
Richard Wilson
48ace0dd89 [project @ 2004-05-14 19:59:09 by rjw]
Interactive help tokens now fall back to their base key when not available.
Help menu is now fully implemented.
F1 opens the help page.

svn path=/import/netsurf/; revision=864
2004-05-14 19:59:09 +00:00
John Mark Bell
fa40b93632 [project @ 2004-05-12 10:43:34 by jmb]
Fix my inability to read

svn path=/import/netsurf/; revision=857
2004-05-12 10:43:34 +00:00
John Mark Bell
0ee5786458 [project @ 2004-05-12 08:05:35 by jmb]
Fix input focus when right clicking a link.

svn path=/import/netsurf/; revision=855
2004-05-12 08:05:35 +00:00
Richard Wilson
e5863b17d0 [project @ 2004-05-09 21:05:24 by rjw]
Local options are now adhered to (dither, filter, animate).

svn path=/import/netsurf/; revision=847
2004-05-09 21:05:24 +00:00
Richard Wilson
f29ad7e266 [project @ 2004-05-09 16:12:24 by rjw]
Improved GIF animation and a decoding bug fix.

svn path=/import/netsurf/; revision=845
2004-05-09 16:12:24 +00:00
James Bursa
b148ed230f [project @ 2004-05-08 18:12:36 by bursa]
Move some functions from gui.c to window.c. Simplify and add error handling to gui_window_set_pointer().

svn path=/import/netsurf/; revision=842
2004-05-08 18:12:36 +00:00
James Bursa
24fb50b120 [project @ 2004-05-07 19:14:54 by bursa]
Implement multitasking warning dialog. Warn user if resolvers not set.

svn path=/import/netsurf/; revision=841
2004-05-07 19:14:54 +00:00
John Mark Bell
2d8ba47e70 [project @ 2004-05-07 00:06:26 by jmb]
Gain input focus when clicked

svn path=/import/netsurf/; revision=839
2004-05-07 00:06:26 +00:00
Richard Wilson
fac94deeb8 [project @ 2004-05-06 22:24:37 by rjw]
Background redraw bug fix.

svn path=/import/netsurf/; revision=838
2004-05-06 22:24:37 +00:00
James Bursa
7cb9b4d79b [project @ 2004-05-06 20:37:48 by bursa]
Remove obsolete theme files. Hide some unimplemented toolbar icons. F2 moves caret to URL bar and clears it to "www.". Simplify some of the toolbar code. Fix menu-related crash (reported by Jerome Mathevet).

svn path=/import/netsurf/; revision=836
2004-05-06 20:37:48 +00:00
Richard Wilson
e7da747f5f [project @ 2004-05-04 22:21:37 by rjw]
Revised GUI.

svn path=/import/netsurf/; revision=823
2004-05-04 22:23:44 +00:00
James Bursa
8da6079f6f [project @ 2004-05-03 22:05:40 by bursa]
Implement dragging files into <input type="file" ...>.

svn path=/import/netsurf/; revision=821
2004-05-03 22:05:40 +00:00
James Bursa
199eee4b0b [project @ 2004-04-26 13:47:51 by bursa]
Fix scaled GIF animations.

svn path=/import/netsurf/; revision=805
2004-04-26 13:47:51 +00:00
James Bursa
1f07fc6de5 [project @ 2004-04-24 23:42:31 by bursa]
Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds.

svn path=/import/netsurf/; revision=801
2004-04-24 23:42:32 +00:00
John Mark Bell
d0a3543e72 [project @ 2004-04-12 21:46:08 by jmb]
Add popup tooltip containing URL when mouse is over history window entry

svn path=/import/netsurf/; revision=766
2004-04-12 21:46:08 +00:00
John Mark Bell
9de746e0a0 [project @ 2004-04-08 23:46:41 by jmb]
Improve keypress handling in form text boxes.
Note: Not yet implemented for textareas as these need more work anyway.

svn path=/import/netsurf/; revision=740
2004-04-08 23:46:41 +00:00
John Mark Bell
9dded4a01c [project @ 2004-04-03 17:28:04 by jmb]
Wrap window offset every 5 windows.

svn path=/import/netsurf/; revision=715
2004-04-03 17:28:04 +00:00
John Mark Bell
0a31d736c2 [project @ 2004-04-03 12:36:48 by jmb]
Add fixed offset when opening new windows.

svn path=/import/netsurf/; revision=711
2004-04-03 12:36:48 +00:00
James Bursa
c38ea1026a [project @ 2004-04-02 15:52:28 by bursa]
Fix scrolling and resizing of scaled windows.

svn path=/import/netsurf/; revision=702
2004-04-02 15:52:28 +00:00
James Bursa
dcca670d43 [project @ 2004-03-30 22:47:23 by bursa]
Disable mouse gesture code, since it is unmaintained and broken.

svn path=/import/netsurf/; revision=693
2004-03-30 22:47:23 +00:00
John Mark Bell
66bab3a14a [project @ 2004-03-30 20:24:00 by jmb]
Make save button work

svn path=/import/netsurf/; revision=692
2004-03-30 20:24:00 +00:00
James Bursa
74b1c3986b [project @ 2004-03-27 18:46:08 by bursa]
Save complete gui and F3 etc.

svn path=/import/netsurf/; revision=677
2004-03-27 18:46:08 +00:00
John Mark Bell
c18775f4fb [project @ 2004-03-25 00:31:45 by jmb]
Make text export use stdio.
Move save_text.[ch] to desktop.

svn path=/import/netsurf/; revision=666
2004-03-25 00:31:45 +00:00
John Mark Bell
7d0b144391 [project @ 2004-03-24 23:51:08 by jmb]
Text Export support.

svn path=/import/netsurf/; revision=665
2004-03-24 23:51:08 +00:00
James Bursa
423f0f1e70 [project @ 2004-03-21 13:55:51 by bursa]
Implement gui_window_update_box() and use in response to CONTENT_MSG_REDRAW.

svn path=/import/netsurf/; revision=644
2004-03-21 13:55:51 +00:00
James Bursa
5a7d38ea9f [project @ 2004-03-13 13:03:01 by bursa]
Disable clean_cookiejar() due to reliability problems.

svn path=/import/netsurf/; revision=612
2004-03-13 13:03:01 +00:00
James Bursa
b56bc523b8 [project @ 2004-03-09 23:57:40 by bursa]
Set caret in new window url line.

svn path=/import/netsurf/; revision=596
2004-03-09 23:57:40 +00:00
James Bursa
1c85bf0429 [project @ 2004-03-02 18:02:17 by bursa]
Add new url functions and modify to use them.

svn path=/import/netsurf/; revision=578
2004-03-02 18:02:41 +00:00
James Bursa
c05d6fdc8b [project @ 2004-02-26 17:52:10 by bursa]
Implement back and forward using history.

svn path=/import/netsurf/; revision=572
2004-02-26 17:52:10 +00:00
James Bursa
0a4caa5687 [project @ 2004-02-26 17:25:51 by bursa]
Improvements to history window.

svn path=/import/netsurf/; revision=571
2004-02-26 17:26:01 +00:00
James Bursa
318869e90e [project @ 2004-02-26 00:44:42 by bursa]
Implement drag saving of drawfiles and clean up drag/drop/save code.

svn path=/import/netsurf/; revision=568
2004-02-26 00:44:42 +00:00
James Bursa
7897a98a4c [project @ 2004-02-25 15:12:57 by bursa]
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.

svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00
John Mark Bell
6839622183 [project @ 2004-02-17 12:41:38 by jmb]
Begin save complete support.
Fix memory leak when using Select PNG renderer. (commented out lines can probably removed)

svn path=/import/netsurf/; revision=556
2004-02-17 12:41:38 +00:00
John Mark Bell
3720fafac0 [project @ 2004-02-14 22:26:35 by jmb]
Draw export module.

svn path=/import/netsurf/; revision=541
2004-02-14 22:26:35 +00:00
James Bursa
b0c5b74987 [project @ 2004-02-02 00:22:59 by bursa]
Start at margin / padding / border support.

svn path=/import/netsurf/; revision=529
2004-02-02 00:22:59 +00:00
John Mark Bell
f53642c94b [project @ 2004-01-31 19:14:06 by jmb]
Fix positioning of caret in URL bar

svn path=/import/netsurf/; revision=520
2004-01-31 19:14:06 +00:00
John Mark Bell
8866964740 [project @ 2004-01-31 18:12:08 by jmb]
Stop grabbing input focus on fetch completion, unless the window already
has the input focus.

svn path=/import/netsurf/; revision=519
2004-01-31 18:12:08 +00:00
Rob Jackson
c05a832714 [project @ 2004-01-26 22:55:23 by rob]
Changes in positioning of variable declarations to allow compile with 2.95.5 compiler again

svn path=/import/netsurf/; revision=512
2004-01-26 22:55:23 +00:00
John Mark Bell
0dab93fe76 [project @ 2004-01-20 19:08:34 by jmb]
Allow toggling of POST support.
Add new toolbar icon numbers to riscos/gui.h

svn path=/import/netsurf/; revision=490
2004-01-20 19:08:34 +00:00
John Mark Bell
413683371b [project @ 2004-01-05 12:41:24 by jmb]
Remove logging macros

svn path=/import/netsurf/; revision=486
2004-01-05 12:41:24 +00:00
John Mark Bell
8bb5c9206d [project @ 2004-01-05 11:28:04 by jmb]
Add some logging. Revert last change.

svn path=/import/netsurf/; revision=483
2004-01-05 11:28:04 +00:00
John Mark Bell
8deead3bc3 [project @ 2004-01-05 11:12:32 by jmb]
Fix another monkeybug (last throbber sprite was never displayed)

svn path=/import/netsurf/; revision=482
2004-01-05 11:12:32 +00:00
John Mark Bell
a4bfc247db [project @ 2004-01-05 11:04:54 by jmb]
Fix inappropriate cast.

svn path=/import/netsurf/; revision=481
2004-01-05 11:04:54 +00:00
John Mark Bell
62245d13ec [project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.

svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
John Mark Bell
3a8b8485ad [project @ 2003-12-28 16:17:31 by jmb]
Fix bug in HTTP auth where trying to fetch a page into a non-existent
browser window caused NetSurf to fall over.
We now check that the window still exists. If not, we ignore the request.

svn path=/import/netsurf/; revision=464
2003-12-28 16:17:31 +00:00
John Mark Bell
b0b2ec850f [project @ 2003-12-28 02:35:46 by jmb]
Remove expired cookies from the cookiejar.
Cookies are removed every time a window is closed and when NetSurf is
quit.
/me slaps libcurl for not doing it itself.

Make cookie_create() read the cookie jar location from the messages file.

svn path=/import/netsurf/; revision=463
2003-12-28 02:35:46 +00:00
John Mark Bell
9ec88eb91f [project @ 2003-12-27 23:49:31 by jmb]
Add about:cookies.
Tidy special URL handling code (it's now been moved into url_join in
utils.c).

svn path=/import/netsurf/; revision=461
2003-12-27 23:49:31 +00:00
John Mark Bell
59fb052818 [project @ 2003-12-27 00:11:57 by jmb]
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce
the most now. Hopefully I haven't broken anything ;)

svn path=/import/netsurf/; revision=451
2003-12-27 00:11:57 +00:00
John Mark Bell
93dfe6dfe8 [project @ 2003-12-26 22:12:39 by jmb]
Move constant global data into a new file. This makes things a bit
tidier.
Add help: and home: shortcut URLs.

svn path=/import/netsurf/; revision=449
2003-12-26 22:12:39 +00:00
James Bursa
f1b59814f8 [project @ 2003-12-26 00:17:55 by bursa]
New url_join using liburi, <base href=...>.

svn path=/import/netsurf/; revision=441
2003-12-26 00:17:55 +00:00
John Mark Bell
adc3476157 [project @ 2003-12-21 22:10:15 by jmb]
Tidy up and integrate frames code. Still incomplete.

svn path=/import/netsurf/; revision=439
2003-12-21 22:10:15 +00:00
James Bursa
d6f9f025f2 [project @ 2003-12-21 02:27:22 by bursa]
Improved scrolling by mouse and keyboard.

svn path=/import/netsurf/; revision=437
2003-12-21 02:27:22 +00:00
James Bursa
7ec54af359 [project @ 2003-12-19 00:40:28 by bursa]
Fix Themes menu, optimize toolbar opening.

svn path=/import/netsurf/; revision=431
2003-12-19 00:40:28 +00:00
James Bursa
101c358751 [project @ 2003-12-15 12:58:58 by bursa]
Limit default window size, fix some warnings.

svn path=/import/netsurf/; revision=430
2003-12-15 12:58:58 +00:00
James Bursa
6cc6b610c7 [project @ 2003-12-14 18:10:59 by bursa]
Toggle size to full height only, fix empty window crash.

svn path=/import/netsurf/; revision=429
2003-12-14 18:10:59 +00:00
James Bursa
d2c8263e59 [project @ 2003-12-12 01:33:38 by bursa]
Improve toggle-size and window extent behaviour.

svn path=/import/netsurf/; revision=428
2003-12-12 01:33:38 +00:00
James Bursa
9805610091 [project @ 2003-12-11 01:23:57 by bursa]
Clean up key handling and implement scrolling using cursor keys.

svn path=/import/netsurf/; revision=425
2003-12-11 01:23:57 +00:00
James Bursa
9e13c0f9a3 [project @ 2003-11-20 00:16:31 by bursa]
Clean up and simplify themes, remove old history code.

svn path=/import/netsurf/; revision=420
2003-11-20 00:16:31 +00:00
James Bursa
64941a66d2 [project @ 2003-11-15 00:26:41 by bursa]
New history window.

svn path=/import/netsurf/; revision=418
2003-11-15 00:26:42 +00:00
James Bursa
b055948973 [project @ 2003-11-07 23:51:13 by bursa]
Split out window.c, implement DataOpen and tidy up gui code.

svn path=/import/netsurf/; revision=408
2003-11-07 23:51:13 +00:00