Commit Graph

53 Commits

Author SHA1 Message Date
Michael Drake c7e136d9d7 Various warning squashes and fixes. 2013-02-22 14:53:57 +00:00
Vincent Sanders 529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Michael Drake 045905b93e Fix some build warnings. 2012-10-11 12:09:48 +01:00
Michael Drake 5787323b2c Include browser_private.h. 2012-08-22 12:38:16 +01:00
Michael Drake 67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Michael Drake 817841eab3 Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12930
2011-10-03 16:49:55 +00:00
Michael Drake 074cf6f162 Port cocoa front end to browser_window_get_contextual_content.
svn path=/trunk/netsurf/; revision=12759
2011-09-06 19:18:09 +00:00
Michael Drake 4ef33d143d Remove chained self-assignment.
svn path=/trunk/netsurf/; revision=12751
2011-09-06 12:32:38 +00:00
Michael Drake c263a77d36 Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12657
2011-08-24 13:39:28 +00:00
Michael Drake eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +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 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
François Revel 092c62f0e0 Add code to open the source file into Xcode. Currently called by the context menu because I didn't want to dig the .xib files, feel free to move it to the View main menu.
svn path=/trunk/netsurf/; revision=12387
2011-05-12 17:31:55 +00:00
Sven Weidauer 19c5c44e7a Getting rid of cocoa_set_font_scale_factor
svn path=/trunk/netsurf/; revision=12042
2011-03-14 14:17:46 +00:00
Sven Weidauer fc6125f79a Minimal implementation of NSTextInput protocol. Allows accented characters to be typed. Might not work with other, more complex input methods (chinese, ...)
svn path=/trunk/netsurf/; revision=11930
2011-03-07 09:01:42 +00:00
Sven Weidauer 45c30cd3d1 Checking for public.url pasteboard type first, so dragging a .webloc file from the Finder opens the URL and not the .webloc file itself.
svn path=/trunk/netsurf/; revision=11901
2011-03-04 10:38:07 +00:00
Sven Weidauer f2bc0163c0 Accepting URLs dropped onto the browser view.
svn path=/trunk/netsurf/; revision=11900
2011-03-04 09:18:26 +00:00
Sven Weidauer 4aef849eba More keyboard shortcuts: scroll down with space bar and go back with backspace key.
svn path=/trunk/netsurf/; revision=11885
2011-03-02 15:05:26 +00:00
Sven Weidauer 6d11881575 Handling keyboard events for local history view.
svn path=/trunk/netsurf/; revision=11851
2011-02-27 20:41:17 +00:00
Sven Weidauer 7e42318684 Resetting cursor when mouse moves out of browser view.
svn path=/trunk/netsurf/; revision=11839
2011-02-27 10:40:41 +00:00
Sven Weidauer b486dace3b Using NSTrackingArea to get mouseMoved: events in the browser view.
svn path=/trunk/netsurf/; revision=11838
2011-02-27 10:40:37 +00:00
Sven Weidauer e190188969 Local history view now is responsible for hiding itself after selecting a web page. Also gets redrawn when selecting other pages using the back/forward buttons.
svn path=/trunk/netsurf/; revision=11837
2011-02-27 09:46:54 +00:00
Sven Weidauer 2bb6987d39 Prepared for localizing string literals in source code.
svn path=/trunk/netsurf/; revision=11795
2011-02-25 16:20:10 +00:00
Sven Weidauer 1989a09c51 Cleanup in redraw code for browser view.
svn path=/trunk/netsurf/; revision=11706
2011-02-17 12:12:55 +00:00
Sven Weidauer abe3300ea1 New local history panel with scrollbars. Still needs to resize itself to fit the history.
svn path=/trunk/netsurf/; revision=11705
2011-02-17 12:12:51 +00:00
Michael Drake 5cefc9584a Pass clip rect to browser_window_redraw as pointer.
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake fedcbf6656 Pass clip rect to browser_window_redraw as struct.
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
Vincent Sanders 9a183018ea improve browser_window_redraw width and height handling
svn path=/trunk/netsurf/; revision=11642
2011-02-11 00:14:22 +00:00
Vincent Sanders 2a8e8a5cf1 add browser_window_redraw() method to make content_redraw calls from frontends common RISC OS, atari, amiga and beos have not been updated
svn path=/trunk/netsurf/; revision=11640
2011-02-10 22:35:41 +00:00
Sven Weidauer 28da79c796 Reorganized includes.
svn path=/trunk/netsurf/; revision=11567
2011-01-31 19:12:00 +00:00
Sven Weidauer 672cb37412 Implemented context menu.
svn path=/trunk/netsurf/; revision=11520
2011-01-28 18:26:34 +00:00
Sven Weidauer 48c6ba4b49 Timer based reformatting, so reformat happens also while resizing windows.
svn path=/trunk/netsurf/; revision=11519
2011-01-28 14:40:25 +00:00
Sven Weidauer 3ba2596f5c Implemented frames and handling reformats the right way using browser_reformat_pending.
svn path=/trunk/netsurf/; revision=11518
2011-01-28 14:08:42 +00:00
Sven Weidauer f56b20994e Keyboard scrolling.
svn path=/trunk/netsurf/; revision=11517
2011-01-28 13:22:40 +00:00
Sven Weidauer ccac2289cf Setting current_redraw_browser and fixing mouse dragging
svn path=/trunk/netsurf/; revision=11515
2011-01-28 12:18:58 +00:00
Sven Weidauer 3376f7f50f Implemented resolution-independent rendering for the browser view. Still needs to be implemented for the other views.
svn path=/trunk/netsurf/; revision=11507
2011-01-27 11:43:48 +00:00
Sven Weidauer 15e7b87cac Nicer button for local history, fading history view, more readable blue for active item
svn path=/trunk/netsurf/; revision=11481
2011-01-25 09:53:39 +00:00
Sven Weidauer e21cab6a7f Added local history overlay
svn path=/trunk/netsurf/; revision=11479
2011-01-24 15:01:34 +00:00
Sven Weidauer ae37542582 Wrapping drawing code in own autorelease pool
svn path=/trunk/netsurf/; revision=11414
2011-01-20 11:38:14 +00:00
Sven Weidauer 5932151359 Releasing objects in dealloc
svn path=/trunk/netsurf/; revision=11413
2011-01-20 11:38:10 +00:00
Sven Weidauer f85335a7f9 Implementing tabs and fixing scrolling.
svn path=/trunk/netsurf/; revision=11396
2011-01-19 20:19:43 +00:00
Sven Weidauer df5a5582fd Menu items for reload and stop loading. Also validating zoom and stop loading menu actions.
svn path=/trunk/netsurf/; revision=11367
2011-01-18 08:26:56 +00:00
Sven Weidauer 045183032f Font scaling and other scaling related fixes.
svn path=/trunk/netsurf/; revision=11349
2011-01-17 15:00:18 +00:00
Sven Weidauer fbbfb2a75f Scaling mouse coordinates
svn path=/trunk/netsurf/; revision=11321
2011-01-14 19:03:16 +00:00
Sven Weidauer f552e114bd Handling double-clicks
svn path=/trunk/netsurf/; revision=11320
2011-01-14 18:18:57 +00:00
Sven Weidauer 7bd51ba0ba Implementing selection and clipboard functions.
svn path=/trunk/netsurf/; revision=11319
2011-01-14 17:50:11 +00:00
Sven Weidauer 30d9439781 Better mouse handling for browser
svn path=/trunk/netsurf/; revision=11318
2011-01-14 16:54:39 +00:00
Sven Weidauer 2ab5636619 Zooming, opening files, accepting http and https URLs
svn path=/trunk/netsurf/; revision=11310
2011-01-13 17:20:13 +00:00