Commit Graph

6575 Commits

Author SHA1 Message Date
Michael Drake 5c9155e606 Core form select widget now associated with HTML contents. Don't use current_redraw_browser for select widget redraw. Fixes core select widget in iframes.
svn path=/trunk/netsurf/; revision=12522
2011-06-28 11:15:39 +00:00
Michael Drake e70d4947ea Use interface for turning off drag.
svn path=/trunk/netsurf/; revision=12521
2011-06-28 10:07:53 +00:00
Michael Drake f8462b3344 Pass the content object down through html_redraw. Make overflow scrollbars used content for scrollbar, rather than browser window. Fixes overflow scrollbars in iframes.
svn path=/trunk/netsurf/; revision=12520
2011-06-28 08:56:37 +00:00
Michael Drake c9fe1b604e HTML contents manage box scrollbars, rather than browser_windows.
svn path=/trunk/netsurf/; revision=12519
2011-06-27 22:21:15 +00:00
Michael Drake 6f215b1f02 Enable content redraw request without hlcache_handle.
svn path=/trunk/netsurf/; revision=12518
2011-06-27 21:37:37 +00:00
Michael Drake a06bde0232 Remove obsolete comment.
svn path=/trunk/netsurf/; revision=12517
2011-06-27 18:35:39 +00:00
Michael Drake 625c685f41 browser_window_mouse_drag_end is private now, and can be removed once contents handle all their own interaction.
svn path=/trunk/netsurf/; revision=12516
2011-06-27 18:19:47 +00:00
Michael Drake 2bedf4d88f Frond ends signal end of drag with call to browser_window_mouse_track.
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Michael Drake 23eea5de9f Fix bw->drag_type to be aware of remaining drag types.
svn path=/trunk/netsurf/; revision=12514
2011-06-27 17:29:49 +00:00
Michael Drake 311080ff54 Simplify browser_window_mouse_drag_end calls.
svn path=/trunk/netsurf/; revision=12513
2011-06-27 16:16:21 +00:00
Ole Loots dccf6e4280 Revert remove of cflib and further usage of xaaes nkcc routines. It resulted in not-working page up / page down and up / down keys.
svn path=/trunk/netsurf/; revision=12510
2011-06-25 20:03:28 +00:00
Ole Loots b897861cdd avoid usage of uninitialized variable.
svn path=/trunk/netsurf/; revision=12509
2011-06-25 19:40:31 +00:00
Ole Loots d6f5cead52 adjusted comment to match reality.
svn path=/trunk/netsurf/; revision=12508
2011-06-25 19:35:33 +00:00
Ole Loots 3210b6eaf8 small toolbar icon fix.
svn path=/trunk/netsurf/; revision=12507
2011-06-25 19:34:40 +00:00
Chris Young f747bbb79e Shortcut backspace = go back one page in history
svn path=/trunk/netsurf/; revision=12506
2011-06-25 16:00:02 +00:00
Michael Drake c587cfe9de Iframes inherit parent browser window's scale.
svn path=/trunk/netsurf/; revision=12505
2011-06-24 13:05:57 +00:00
Michael Drake 92323b7808 Code style fix. Thanks Kinnison.
svn path=/trunk/netsurf/; revision=12504
2011-06-24 13:04:05 +00:00
Michael Drake 2fb134bac7 Fix mouse action offsets within scaled iframes.
svn path=/trunk/netsurf/; revision=12503
2011-06-24 12:23:10 +00:00
Michael Drake dea7683985 Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake 5fb349e4de Fix crash when scaling pages with iframes on RISC OS.
svn path=/trunk/netsurf/; revision=12501
2011-06-24 11:50:06 +00:00
Michael Drake 0bc058df5c Delete commented out code.
svn path=/trunk/netsurf/; revision=12500
2011-06-24 10:50:43 +00:00
Michael Drake 12be95517e Replace iframe stuff with asserts for now.
svn path=/trunk/netsurf/; revision=12499
2011-06-24 10:48:29 +00:00
Michael Drake c59b5d627f Correct offset for scaled iframe redraw.
svn path=/trunk/netsurf/; revision=12498
2011-06-24 09:51:17 +00:00
Michael Drake 5a4c8916ef If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Chris Young 93941435b8 Decouple context menus from gui_window, ensure they get disposed on exit
svn path=/trunk/netsurf/; revision=12496
2011-06-23 17:35:35 +00:00
Michael Drake dd653479b2 Ensure top level browser window has focus by default.
svn path=/trunk/netsurf/; revision=12495
2011-06-22 13:52:56 +00:00
Michael Drake 3c74989841 Purge more favicon remnants.
svn path=/trunk/netsurf/; revision=12494
2011-06-22 10:27:20 +00:00
Chris Young b6b1744b8e fix memory leak
svn path=/trunk/netsurf/; revision=12493
2011-06-19 11:25:59 +00:00
Chris Young afa2198a16 translate / to - when guessing mime types
svn path=/trunk/netsurf/; revision=12492
2011-06-19 11:24:22 +00:00
Chris Young 548e1f2f77 Ensure the WB screen gets unlocked, avoid passing a NULL to CloseScreen
svn path=/trunk/netsurf/; revision=12491
2011-06-19 11:16:48 +00:00
Chris Young e61ad6326a screen type should be PUBLICSCREEN not CUSTOMSCREEN
svn path=/trunk/netsurf/; revision=12490
2011-06-18 17:58:36 +00:00
Chris Young 2dd8fcd6d0 initialise context menus regardless of user's preferences on startup
svn path=/trunk/netsurf/; revision=12489
2011-06-18 17:40:27 +00:00
Chris Young ac4342ca36 missing include
svn path=/trunk/netsurf/; revision=12488
2011-06-17 22:49:20 +00:00
Chris Young 1797118cbe disable context menus until i figure out why they have suddenly started crashing
svn path=/trunk/netsurf/; revision=12487
2011-06-17 22:49:01 +00:00
Chris Young 66b52c0af0 Reinstate waiting for visitor windows to close if the public screen could not be
closed.  Do it properly this time, with signals.

svn path=/trunk/netsurf/; revision=12486
2011-06-16 18:46:43 +00:00
Michael Drake db45778fb1 Give the selection context the current bw when it's created.
svn path=/trunk/netsurf/; revision=12485
2011-06-16 09:07:13 +00:00
Chris Young 790bdf2e2a convert from mimetype to filetype rather than simple content type to filetype, where
available

svn path=/trunk/netsurf/; revision=12484
2011-06-15 21:53:49 +00:00
Chris Young 26101a1af6 remove zlib update
svn path=/trunk/netsurf/; revision=12483
2011-06-15 17:42:01 +00:00
Chris Young a7c9fbfa04 remove no_iframes
svn path=/trunk/netsurf/; revision=12482
2011-06-15 17:40:36 +00:00
Chris Young dd99b8a461 avoid crash
svn path=/trunk/netsurf/; revision=12481
2011-06-15 17:40:12 +00:00
Michael Drake 543a08ca22 Delete redundant function declaration.
svn path=/trunk/netsurf/; revision=12480
2011-06-15 13:46:41 +00:00
Michael Drake 142cee6f55 Fix paste in form inputs in iframes.
svn path=/trunk/netsurf/; revision=12479
2011-06-15 12:30:13 +00:00
Michael Drake 5192bf85fa Remove logging.
svn path=/trunk/netsurf/; revision=12478
2011-06-15 12:21:01 +00:00
Michael Drake f368c3c849 Improve scale with iframes.
svn path=/trunk/netsurf/; revision=12477
2011-06-15 11:46:07 +00:00
Michael Drake 188712d142 Reformat floated iframe browser windows only after the iframe box has been linked into the box tree from the block formatting context block.
svn path=/trunk/netsurf/; revision=12476
2011-06-14 21:09:38 +00:00
Michael Drake 319a90bff7 Only call gui_window_new_content for browser windows with gui windows.
svn path=/trunk/netsurf/; revision=12475
2011-06-14 20:48:58 +00:00
Michael Drake 53f4da3420 First pass at core iframes. Currently lacking scrollbars.
svn path=/trunk/netsurf/; revision=12474
2011-06-14 20:00:18 +00:00
Michael Drake 6ed9b1de8b Fix warnings.
svn path=/trunk/netsurf/; revision=12472
2011-06-13 11:02:27 +00:00
Chris Young 91427fdfdb Redirect libpng errors to the standard NetSurf logfile
svn path=/trunk/netsurf/; revision=12471
2011-06-12 18:04:09 +00:00
Chris Young 936baddaba Only show external app context menu item if an external app is actually defined
svn path=/trunk/netsurf/; revision=12470
2011-06-09 22:29:46 +00:00