Commit Graph

411 Commits

Author SHA1 Message Date
Michael Drake
d2b8d00cd3 Remove redundant code from drag browser_mouse_state setup.
svn path=/trunk/netsurf/; revision=11080
2010-12-16 21:38:42 +00:00
Michael Drake
ccdafcc4d7 Document RISC OS front end's setup of browser_mouse_state.
svn path=/trunk/netsurf/; revision=11079
2010-12-16 21:33:19 +00:00
Michael Drake
c84ab4b21e Pass adjust double clicks to the core too.
svn path=/trunk/netsurf/; revision=11074
2010-12-16 19:26:23 +00:00
Michael Drake
a2a0e25382 Ensure mouse button press events are sent to the core for treeview type windows. Keep track of both select and adjust drags, and inform the core which is being held during a drag.
svn path=/trunk/netsurf/; revision=11066
2010-12-15 22:02:27 +00:00
Steve Fryatt
3529ead319 Restore toolbar menus in RO treeview windows.
svn path=/trunk/netsurf/; revision=10908
2010-10-24 23:17:21 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Michael Drake
b010a25771 + Refactor input handling from browser window code into content
handlers.
+ Disentangle all box tree manipulation from browser window
  code and put it where it belongs.
+ Move other content specific and other irrelevant code from
  browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
  used by browser window code, and it is used by treeview
  windows on the treeview branch.

svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
John Mark Bell
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
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
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
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
ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +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
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
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
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
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
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
c23ef5818a Squash warning
svn path=/trunk/netsurf/; revision=6905
2009-03-27 01:11:20 +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
903edd1bf5 Purge WITH_SEARCH
svn path=/trunk/netsurf/; revision=6604
2009-02-22 15:21:54 +00:00
John Mark Bell
851da107c9 Purge WITH_PRINT
svn path=/trunk/netsurf/; revision=6601
2009-02-22 15:16:04 +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
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
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
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
327606f0fd A few usability tweaks
svn path=/trunk/netsurf/; revision=5922
2008-12-26 09:25:30 +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
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
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
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
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