Commit Graph

7026 Commits

Author SHA1 Message Date
Ole Loots 7323f012ed Stick to OS features for drag feature - handle it almost blocking (improves user experience).
svn path=/trunk/netsurf/; revision=13233
2011-12-04 13:05:00 +00:00
Ole Loots c3be583d22 Added drag feature to the new url input.
svn path=/trunk/netsurf/; revision=13232
2011-12-04 13:02:07 +00:00
Ole Loots 3de9422594 Added copyright comment.
svn path=/trunk/netsurf/; revision=13231
2011-12-04 12:54:49 +00:00
Ole Loots 7d4a0be284 Fixed header, made different font plotters optional.
svn path=/trunk/netsurf/; revision=13230
2011-12-04 12:53:03 +00:00
Ole Loots 905b3c2641 Removed unused variable
svn path=/trunk/netsurf/; revision=13229
2011-12-04 12:51:37 +00:00
John Mark Bell 6ef2df13f7 Fix const correctness
svn path=/trunk/netsurf/; revision=13228
2011-12-04 11:12:17 +00:00
Chris Young a06678dabf Don't use a designed font for oblique, only italic.
svn path=/trunk/netsurf/; revision=13226
2011-12-04 01:45:31 +00:00
Chris Young 0ce6fc409c Global list for diskfont.library fontengine cache
svn path=/trunk/netsurf/; revision=13225
2011-12-04 01:10:19 +00:00
Michael Drake 7bd9158f18 Remove render/box.h include.
svn path=/trunk/netsurf/; revision=13224
2011-12-03 19:51:55 +00:00
Michael Drake 54408f6360 Fix select menu item selection in frames. Note: the API for front end select menus is a mess ATM.
svn path=/trunk/netsurf/; revision=13223
2011-12-03 19:39:36 +00:00
Michael Drake ebebdfda4b Fix framebuffer build.
svn path=/trunk/netsurf/; revision=13222
2011-12-02 17:46:57 +00:00
Michael Drake e2a7600e9a Big wodge of internal browser window scroll fixes, or "rationalisation of browser window scrollbar handling".
svn path=/trunk/netsurf/; revision=13221
2011-12-02 16:10:13 +00:00
Michael Drake 6a7e602bbd Avoid assertion crash when html object recieves favicon message.
svn path=/trunk/netsurf/; revision=13220
2011-12-02 15:08:25 +00:00
Chris Young ce37fdb128 Support dragging from global history to hotlist
svn path=/trunk/netsurf/; revision=13219
2011-12-02 13:24:40 +00:00
Chris Young 8d685d7ac0 Use core file drop.
Loop through entire list of dropped files.
If multiple files are dropped and not handled by core, open in tabs;
Activate the window on first file drop to workaround a bug where the window needed to
be clicked before the file would appear.
As using core functionality, DataTypes no longer used to parse dropped files (likely
to be rarely needed anyway).


svn path=/trunk/netsurf/; revision=13218
2011-12-02 12:47:11 +00:00
Michael Drake 751bf78241 Pass drops into iframes.
svn path=/trunk/netsurf/; revision=13217
2011-12-01 23:52:45 +00:00
Michael Drake ae222acbca Use core handling of file drop over browser window.
svn path=/trunk/netsurf/; revision=13216
2011-12-01 23:51:37 +00:00
Michael Drake 71a8a8118c Currently untested (and unused) "drop file on browser window" handling.
svn path=/trunk/netsurf/; revision=13215
2011-12-01 21:51:04 +00:00
Michael Drake 02780e1f2d Currently untested (and unused) "drop file on content" handling, and HTML implementation.
svn path=/trunk/netsurf/; revision=13214
2011-12-01 21:49:57 +00:00
Michael Drake 70c8d94858 Squash use of uninitialised variable warning.
svn path=/trunk/netsurf/; revision=13213
2011-12-01 17:04:35 +00:00
Ole Loots b20f47262b Open window by configured width,
removed unused variables

svn path=/trunk/netsurf/; revision=13212
2011-11-30 23:08:21 +00:00
Ole Loots 9efb276f97 Copy (whole) URL on Copy key.
svn path=/trunk/netsurf/; revision=13211
2011-11-30 22:37:57 +00:00
Ole Loots 1f4ab6384c Removed unused declarations.
svn path=/trunk/netsurf/; revision=13210
2011-11-30 22:37:32 +00:00
Ole Loots 6f699c05b0 Removed unused declarations.
svn path=/trunk/netsurf/; revision=13209
2011-11-30 22:36:52 +00:00
Ole Loots 5f69abb504 release screen-lock when second lock check fails.
svn path=/trunk/netsurf/; revision=13208
2011-11-29 23:19:18 +00:00
Ole Loots 1c640bc529 Check for NULL
svn path=/trunk/netsurf/; revision=13207
2011-11-29 22:05:44 +00:00
Ole Loots dbffd36e14 Handle focus event within window_set_focus, select all when url input gets focus
svn path=/trunk/netsurf/; revision=13206
2011-11-29 21:51:18 +00:00
Ole Loots 4313de0584 Fixed inlude.
svn path=/trunk/netsurf/; revision=13205
2011-11-29 21:32:47 +00:00
Ole Loots 94bacf7b4f Added missing insert key conversion.
svn path=/trunk/netsurf/; revision=13204
2011-11-29 21:31:31 +00:00
Ole Loots 9f55b1cc7d Check return value of plotter->lock()
svn path=/trunk/netsurf/; revision=13203
2011-11-29 21:22:01 +00:00
Ole Loots d25f7cc27e make use of non-blocking request for screen lock.
svn path=/trunk/netsurf/; revision=13202
2011-11-29 21:19:26 +00:00
Chris Young a7af4ba0c1 Pass mouse scrollwheel events to the core first
svn path=/trunk/netsurf/; revision=13201
2011-11-29 20:58:57 +00:00
Michael Drake 4856a4c1fb Pass scroll wheel action into contents. Handle scrolling of box scrollbars and iframes.
svn path=/trunk/netsurf/; revision=13200
2011-11-29 17:47:29 +00:00
Michael Drake 9a29f4b4fe Call core to see if handles scroll wheel event first.
svn path=/trunk/netsurf/; revision=13199
2011-11-29 15:17:35 +00:00
Michael Drake 3299b9493b Call core to see if handles scroll wheel event first.
svn path=/trunk/netsurf/; revision=13198
2011-11-29 14:22:08 +00:00
Michael Drake 64c405c541 New function for sending a scroll request into a core browser window at a given coordinate. Currently handles frames only. TODO: iframes and css overflow scrollable boxes. Front ends should call this to pass scroll wheel actions to the core.
svn path=/trunk/netsurf/; revision=13197
2011-11-29 14:20:25 +00:00
Michael Drake 449e41e306 New function for applying a change in offset to a scrollbar.
svn path=/trunk/netsurf/; revision=13196
2011-11-29 14:16:26 +00:00
Michael Drake d54e5719d8 Remove redundant break.
svn path=/trunk/netsurf/; revision=13194
2011-11-29 10:43:15 +00:00
Michael Drake e79c7d2ce8 Fix caret position after deleting selection. Thanks to Ole Loots.
svn path=/trunk/netsurf/; revision=13193
2011-11-29 10:40:30 +00:00
Ole Loots 2f9ac934e6 Draw rectangle outline manually.
svn path=/trunk/netsurf/; revision=13192
2011-11-28 23:29:35 +00:00
Ole Loots 999410adc8 I'm actually trying to simplify the frontend code, changes:
- Optimized browser window caret, uses back-buffer now. ( So no content redraw is scheduled by the frontend just for a caret move ) 
- Fixed a double redraw issue when the browser reformat is pending and the AES also sends an redraw request because of the resize. 
- Started to use netsurfs textarea instead of a custom implementation ( to reduce code size ). 

svn path=/trunk/netsurf/; revision=13191
2011-11-28 23:23:28 +00:00
Chris Young a7ba1b7ccd Fix function usage
svn path=/trunk/netsurf/; revision=13190
2011-11-28 21:10:58 +00:00
Chris Young 24486e342a Update frontends for r13185. Enabled new functionality, where it is not logical it
can be switched off.

svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Chris Young d169eefe59 Allow new (blank) hotlist entries to be created in the currently-selected folder
(if there is one) as this gives the user more control where their additions are
being created.
Functionality can be enabled/disabled by passing true/false to
hotlist_add_folder/hotlist_add_entry.

svn path=/trunk/netsurf/; revision=13185
2011-11-27 20:07:26 +00:00
Michael Drake 714f07c48b Rename nsurl_enquire to nsurl_has_component.
svn path=/trunk/netsurf/; revision=13183
2011-11-27 18:32:06 +00:00
John Mark Bell 07309888d6 return;
Fix bug #3442642: allow scheme-specific fetchers to have a say in whether an URL can be fetched.

svn path=/trunk/netsurf/; revision=13182
2011-11-27 14:14:36 +00:00
Daniel Silverstone f32fa6fa0e More response tags, updated docs with commands
svn path=/trunk/netsurf/; revision=13181
2011-11-25 18:08:30 +00:00
Rob Kendrick dd3ac94a9c Avoid unused variable warning
svn path=/trunk/netsurf/; revision=13180
2011-11-25 16:46:00 +00:00
Michael Drake 60a9d3af3b Only make space for vertical box scrollbar if box has height set.
svn path=/trunk/netsurf/; revision=13179
2011-11-24 17:22:25 +00:00
John Mark Bell 5970157fc7 Fix bug #3441539: downloads may be created from within frames
svn path=/trunk/netsurf/; revision=13178
2011-11-24 00:13:19 +00:00