summaryrefslogtreecommitdiff
path: root/riscos/window.c
Commit message (Collapse)AuthorAgeFilesLines
* I don't understand the full_redraw flag, or the optimisation gained from not ↵John Mark Bell2010-04-111-40/+24
| | | | | | | | 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
* More fixing for new cache.Michael Drake2010-04-071-25/+32
| | | | svn path=/trunk/netsurf/; revision=10292
* More fixing for new cache.Michael Drake2010-04-071-28/+44
| | | | svn path=/trunk/netsurf/; revision=10291
* More fixing for new cache.Michael Drake2010-04-071-32/+49
| | | | svn path=/trunk/netsurf/; revision=10290
* More fixing for new cache.Michael Drake2010-04-071-16/+18
| | | | svn path=/trunk/netsurf/; revision=10289
* More fixing for new cache.Michael Drake2010-04-071-10/+12
| | | | svn path=/trunk/netsurf/; revision=10288
* Start fixing for new cache.Michael Drake2010-04-071-2/+3
| | | | svn path=/trunk/netsurf/; revision=10286
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-5/+3
| | | | svn path=/trunk/netsurf/; revision=10180
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-171-0/+15
| | | | svn path=/trunk/netsurf/; revision=9729
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-2/+2
| | | | svn path=/trunk/netsurf/; revision=8752
* ploter refactor of rectangle handling Vincent Sanders2009-07-081-1/+1
| | | | svn path=/trunk/netsurf/; revision=8399
* Refactor fill plotter to take a styleVincent Sanders2009-07-051-1/+1
| | | | svn path=/trunk/netsurf/; revision=8332
* remove redundant clg callVincent Sanders2009-07-011-1/+1
| | | | svn path=/trunk/netsurf/; revision=8240
* NETSURF_USE_DRAW should apply to the Draw content handler only.John Mark Bell2009-06-201-0/+1
| | | | | | | | 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
* Actually catch error and deal with itJohn Mark Bell2009-05-291-0/+5
| | | | svn path=/trunk/netsurf/; revision=7642
* Set bit 4 of extended window flags byte (makes Wimp_GetPointerInfo respond ↵John Mark Bell2009-05-061-1/+7
| | | | | | to shaded icons on RO5). I've no idea why this wasn't done years ago. svn path=/trunk/netsurf/; revision=7402
* Revert r6973. Apparently, it causes loads of problems.John Mark Bell2009-04-051-1/+1
| | | | svn path=/trunk/netsurf/; revision=7047
* Permit aliasing of pointers to wimp_window_state and wimp_open.John Mark Bell2009-03-271-8/+10
| | | | svn path=/trunk/netsurf/; revision=6944
* Squash warningJohn Mark Bell2009-03-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=6905
* Remember the scroll position in the history, so that it's maintained when ↵John Mark Bell2009-03-171-1/+1
| | | | | | going back. (credit: Paweł Blokus) svn path=/trunk/netsurf/; revision=6793
* Purge WITH_SEARCHJohn Mark Bell2009-02-221-4/+0
| | | | svn path=/trunk/netsurf/; revision=6604
* Purge WITH_PRINTJohn Mark Bell2009-02-221-2/+0
| | | | svn path=/trunk/netsurf/; revision=6601
* More commenting of what we do with clip rectangle.Michael Drake2009-02-021-0/+4
| | | | svn path=/trunk/netsurf/; revision=6353
* Document setting up of clip rectangle for NetSurf's core.Michael Drake2009-02-011-4/+13
| | | | svn path=/trunk/netsurf/; revision=6348
* Delete legacy code.Michael Drake2009-02-011-3/+1
| | | | svn path=/trunk/netsurf/; revision=6347
* RFix immediate menu-related problems; changes to followAdrian Lees2009-01-311-1/+2
| | | | svn path=/trunk/netsurf/; revision=6318
* Selection- and link-related functions now on menu; other menu changes as per ↵Adrian Lees2009-01-301-1/+1
| | | | | | t's plan svn path=/trunk/netsurf/; revision=6296
* A few usability tweaksAdrian Lees2008-12-261-3/+25
| | | | svn path=/trunk/netsurf/; revision=5922
* Merge Mike's tabs changes. Still needs some cleaning.Rob Kendrick2008-08-241-4/+5
| | | | svn path=/trunk/netsurf/; revision=5189
* - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the ↵John Tytgat2008-08-051-6/+6
| | | | | | | | | | | | 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
* Make the knockout plotter calling behaviour optional by added a new entryJohn Tytgat2008-07-301-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
* Refactor Makefile a little to be slightly more organised. Made more ↵Rob Kendrick2008-07-281-1/+5
| | | | | | features configurable from Makefile.config svn path=/trunk/netsurf/; revision=4775
* - Compiler warning squashJohn Tytgat2008-07-261-1/+1
| | | | | | | - Changed a lineending \n\r -> \n for a couple of files. - More code style conformance. svn path=/trunk/netsurf/; revision=4762
* Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4680 ↵Rob Kendrick2008-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Extended scroll wheel support (Select)Adrian Lees2008-06-071-7/+16
| | | | svn path=/trunk/netsurf/; revision=4307
* Zoom using shift-scrollwheelAdrian Lees2008-06-071-38/+58
| | | | svn path=/trunk/netsurf/; revision=4289
* + Change core to handle different front end click behaviourMichael Drake2008-06-061-6/+22
| | | | | | | | | 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
* s/wchar_t/uint32_t/gJohn Mark Bell2008-05-161-2/+3
| | | | | | 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
* Foresee OSLib 7 and pre-OSLib 7 compatibilityJohn Tytgat2008-03-101-1/+2
| | | | svn path=/trunk/netsurf/; revision=3913
* Avoid rendering using random buffer data when content is locked. In such ↵John Tytgat2008-03-101-0/+7
| | | | | | cases we leave the window area as is. svn path=/trunk/netsurf/; revision=3912
* Add url_fragment to extract fragment from URLJohn Mark Bell2008-02-031-2/+2
| | | | | | | | 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
* Clear background when redrawing for all except HTML.James Bursa2007-12-111-2/+4
| | | | svn path=/trunk/netsurf/; revision=3662
* Make F9 dump box tree to an editor for easier debugging.James Bursa2007-08-201-10/+1
| | | | svn path=/trunk/netsurf/; revision=3529
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Move window scaling from platform-specific code to desktop/browser.c. Modify ↵James Bursa2007-08-071-104/+77
| | | | | | gtk gui to handle scaling in the same way as RO. svn path=/trunk/netsurf/; revision=3478
* Fix crash if content failed to open (memory shortage)Adrian Lees2007-06-241-1/+1
| | | | svn path=/trunk/netsurf/; revision=3365
* Scroll wheel support on hotlist and history windowsAdrian Lees2007-06-241-4/+1
| | | | svn path=/trunk/netsurf/; revision=3364
* Fix interaction between failed drag save and pointer tracking (including ↵Adrian Lees2007-06-051-0/+1
| | | | | | page drag scrolling) svn path=/trunk/netsurf/; revision=3311
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-34/+34
| | | | | | | | | | | | | | 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
* Remove collusion between window, menus and search code in order to clear John Mark Bell2007-03-261-14/+12
| | | | | | | | 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