Commit Graph

6966 Commits

Author SHA1 Message Date
Ole Loots a82f2721e6 Add global function to resolve Netsurf input key.
svn path=/trunk/netsurf/; revision=13165
2011-11-23 19:56:20 +00:00
Ole Loots 385ffaad7b Lock plotter during treeview redraw.
svn path=/trunk/netsurf/; revision=13164
2011-11-23 19:55:03 +00:00
Ole Loots c23ef5e7aa Remove drag n' drop constants, already defined by cflib.h
svn path=/trunk/netsurf/; revision=13163
2011-11-23 19:53:54 +00:00
Michael Drake de10eff59c Don't escape '|'.
svn path=/trunk/netsurf/; revision=13162
2011-11-23 16:27:20 +00:00
John Mark Bell eb122c52d2 Fix cookie expiration
svn path=/trunk/netsurf/; revision=13161
2011-11-22 00:34:06 +00:00
John Mark Bell 3f395ec3bf Committing textarea_set_dimensions patch from Ole Loots.
svn path=/trunk/netsurf/; revision=13160
2011-11-21 09:09:28 +00:00
Vincent Sanders 820312eb35 Update for modified libnsfb API
Make thumbnailing work

svn path=/trunk/netsurf/; revision=13159
2011-11-21 08:45:08 +00:00
Steve Fryatt 747c66c982 Don't pass already handled keys to the URL Complete code.
Don't scroll browser windows when the toolbar has focus.

svn path=/trunk/netsurf/; revision=13157
2011-11-20 18:38:33 +00:00
Steve Fryatt 98378081a7 Revert r13155 and re-implement fix properly.
svn path=/trunk/netsurf/; revision=13156
2011-11-20 18:18:30 +00:00
Steve Fryatt 49f583ba6e Remember page content handle when refreshing browser menu (bug #3420985).
svn path=/trunk/netsurf/; revision=13155
2011-11-20 14:39:49 +00:00
Steve Fryatt 527330eb4a Remove unused variable declaration.
svn path=/trunk/netsurf/; revision=13154
2011-11-20 14:01:08 +00:00
Steve Fryatt 81e596a070 Remove unnecessary duplicate call to Wimp_OpenMenu.
svn path=/trunk/netsurf/; revision=13153
2011-11-20 13:26:21 +00:00
Steve Fryatt adee564201 Restore lost white space.
svn path=/trunk/netsurf/; revision=13152
2011-11-19 23:53:34 +00:00
Steve Fryatt bb4a0946ba Implement user interface for external hotlist app details.
svn path=/trunk/netsurf/; revision=13151
2011-11-19 23:33:37 +00:00
Steve Fryatt 78181f7d4e Config to enable external hotlist app to be launched via toolbar and menus.
svn path=/trunk/netsurf/; revision=13150
2011-11-19 21:59:46 +00:00
Ole Loots dfcd555a0e Fix rectangle plotter, process stroke_type.
svn path=/trunk/netsurf/; revision=13149
2011-11-17 21:49:38 +00:00
Michael Drake 87fdebb534 Squash warnings.
svn path=/trunk/netsurf/; revision=13148
2011-11-15 11:40:40 +00:00
Chris Young 388acaba40 Propagate mouse position during drags down to the core (needed for redraw events
during drags, eg. selection bounding box, indication of node drop location, etc)

svn path=/trunk/netsurf/; revision=13147
2011-11-13 17:41:56 +00:00
Chris Young dd267bd90a Trap RMB and select the node under the pointer if no other node selected
svn path=/trunk/netsurf/; revision=13146
2011-11-11 13:09:12 +00:00
Chris Young 36599a09ce Clicks become drags only after 2px
svn path=/trunk/netsurf/; revision=13145
2011-11-10 18:58:47 +00:00
Chris Young b14c4f0a0b Revert r13138
svn path=/trunk/netsurf/; revision=13144
2011-11-10 14:22:02 +00:00
Chris Young ee58cd0ea0 fix redraw
svn path=/trunk/netsurf/; revision=13143
2011-11-10 14:02:37 +00:00
Chris Young a8471a9343 Make default folder appear different (redraw seems to be broken at present)
svn path=/trunk/netsurf/; revision=13142
2011-11-10 13:47:24 +00:00
Chris Young dd6d1ce527 Make default hotlist folder persistent across sessions
svn path=/trunk/netsurf/; revision=13141
2011-11-10 13:07:47 +00:00
Chris Young 10237e0bde Amiga frontend update for r13139
svn path=/trunk/netsurf/; revision=13140
2011-11-10 12:23:52 +00:00
Chris Young 0b6e5da662 Allow setting a default folder in the tree for hotlist entries to go into. Frontends
will need to be updated to use hotlist_set_default_folder() if they want to use this
functionality.

svn path=/trunk/netsurf/; revision=13139
2011-11-10 12:22:48 +00:00
Chris Young 87c5f14c08 Update the title of the initial tab, even when the tab bar is hidden (ensures the
correct title will be present if it is made visible)

svn path=/trunk/netsurf/; revision=13138
2011-11-09 19:22:49 +00:00
John Mark Bell dcbafe6b87 Clean up fetch callback API. Inject some long-needed type safety.
svn path=/trunk/netsurf/; revision=13137
2011-11-08 21:51:42 +00:00
Ole Loots 91bdfbd172 Removed calls to FrameInit/FrameExit ( was used for window components ).
svn path=/trunk/netsurf/; revision=13136
2011-11-08 19:13:34 +00:00
Chris Young a98fb7c4dd Reimplement the previous hotlist menu refresh code, as the bug causing the previous
problems was fixed ages ago.  Make the timing configurable for now but default to off.

svn path=/trunk/netsurf/; revision=13135
2011-11-07 18:51:08 +00:00
John Mark Bell 4ba282c9c9 Fix bug #3433954: make containing_block available to layout_table so it can resolve percentage height specified on an absolutely-positioned table.
svn path=/trunk/netsurf/; revision=13130
2011-11-06 11:26:52 +00:00
John Mark Bell da2b1ce44d Hack around curl complaining about junk gzip streams
svn path=/trunk/netsurf/; revision=13129
2011-11-05 22:10:46 +00:00
John Mark Bell 3776e49f02 Fix bug #3433840: <img style="display: table" src="..."> will crash if the image fetch completes before initial layout.
A number of things wrong here:
1) The BOX_TABLE generated for the img shouldn't ever have been associated with the object (it should have been associated with the implied BOX_TABLE_CELL)
2) The layout engine's decision to treat BOX_TABLE/BOX_INLINE_CONTAINER with associated objects differently from non-replaced TABLE/INLINE_CONTAINERs seems wrong (looking though SVN history, it appears that this was introduced as part of the very first frames implementation, since replaced (twice!))
3) Now we fetch objects in parallel with building the box tree, we're open to this kind of race condition.

svn path=/trunk/netsurf/; revision=13128
2011-11-05 21:03:52 +00:00
John Mark Bell 30c91aa4e7 Fix bug #3433787: ignore empty meta refresh content attribute.
Squash memory leaks in error cases. 

svn path=/trunk/netsurf/; revision=13127
2011-11-05 18:36:21 +00:00
Ole Loots 044fec706f -Remove a bunch of code which was intended to handle framed-pages. It's better handled by the OS, because frames won't be handled within the frontend anymore.
- Clear window when no content is available

svn path=/trunk/netsurf/; revision=13125
2011-11-05 15:18:19 +00:00
Ole Loots 5f10479c26 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13124
2011-11-05 01:49:55 +00:00
Ole Loots 5786f7eb17 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13123
2011-11-05 01:48:53 +00:00
Ole Loots 389722916a Added comments.
svn path=/trunk/netsurf/; revision=13122
2011-11-05 01:47:23 +00:00
Ole Loots aadc2541a5 Added comments.
svn path=/trunk/netsurf/; revision=13121
2011-11-05 01:46:41 +00:00
Michael Drake 4ad1557d27 Add some tests.
svn path=/trunk/netsurf/; revision=13114
2011-11-03 12:16:01 +00:00
Michael Drake 04f6957141 Fix handling of bad mailto: urls.
svn path=/trunk/netsurf/; revision=13113
2011-11-03 12:15:32 +00:00
Michael Drake 30ff09bd83 More test cases.
svn path=/trunk/netsurf/; revision=13109
2011-10-31 22:24:05 +00:00
Michael Drake 3ecf3c1eaf Fix empty port separator and redundant port removal when credentials are present.
svn path=/trunk/netsurf/; revision=13108
2011-10-31 22:23:02 +00:00
Michael Drake a4dc04e44a Test numbers before calling strncmp.
svn path=/trunk/netsurf/; revision=13107
2011-10-31 22:17:05 +00:00
Michael Drake d64e09aef7 Make sure port's just 80, before removing in http case.
svn path=/trunk/netsurf/; revision=13106
2011-10-31 22:13:38 +00:00
Michael Drake ea761e16e6 nsurl optimisation: Remove a load of branches into fewer.
svn path=/trunk/netsurf/; revision=13105
2011-10-31 22:02:40 +00:00
Michael Drake 3936e6df15 Remove some code that's not needed. Fix redundant port handling.
svn path=/trunk/netsurf/; revision=13104
2011-10-31 21:47:10 +00:00
Michael Drake c6f13db858 Don't need to generate string from scratch in nsurl_defragment, just copy.
svn path=/trunk/netsurf/; revision=13103
2011-10-31 21:27:11 +00:00
Michael Drake f980e6015f nsurl optimisation: Don't use separate allocations for nsurl strings.
svn path=/trunk/netsurf/; revision=13102
2011-10-31 21:13:29 +00:00
John Mark Bell dc792e8d05 Fix format specifier
svn path=/trunk/netsurf/; revision=13101
2011-10-30 15:00:53 +00:00