Commit Graph

201 Commits

Author SHA1 Message Date
Sven Weidauer
5c63c4cd4a Adding ability to specify /Developer dir in Makefiles
svn path=/trunk/netsurf/; revision=12043
2011-03-14 14:17:53 +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
Chris Young
5e168309c2 Revert previous change
svn path=/trunk/netsurf/; revision=11960
2011-03-09 23:18:27 +00:00
Chris Young
d672d153d9 Updated translation from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=11959
2011-03-09 23:09:24 +00:00
Michael Drake
55fd1d0133 Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Sven Weidauer
721b73bc55 Using feature_enabled in Makefile.target to see if Apple ImageIO should be used.
svn path=/trunk/netsurf/; revision=11931
2011-03-07 16:47:39 +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
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Sven Weidauer
208b98bb44 Created content handler CONTENT_APPLE_IMAGE for Mac OS X that can handle all image file formats supported by Apples ImageIO framework. Right now used only for JPEG to get rid of libjpeg dependency.
svn path=/trunk/netsurf/; revision=11911
2011-03-05 09:49:15 +00:00
Sven Weidauer
b73a68edab Fixed text scaling.
svn path=/trunk/netsurf/; revision=11905
2011-03-04 14:53:16 +00:00
Sven Weidauer
d2626ece45 Fixed text splitting.
svn path=/trunk/netsurf/; revision=11904
2011-03-04 14:53:12 +00:00
Sven Weidauer
7473f1625f Remove unused function gui_window_redraw.
svn path=/trunk/netsurf/; revision=11903
2011-03-04 11:38:08 +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
905b230a3c Allow dragging of URLs from the URL field out of NetSurf.
svn path=/trunk/netsurf/; revision=11899
2011-03-04 09:18:23 +00:00
Sven Weidauer
c7605db9d5 Renamed files in Xcode project to match actual file names.
svn path=/trunk/netsurf/; revision=11897
2011-03-03 15:40:31 +00:00
Sven Weidauer
5c091d5be9 Adding ca-bundle to the resources
svn path=/trunk/netsurf/; revision=11895
2011-03-03 14:36:44 +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
c03890339e Implemented menu for back and forward buttons.
svn path=/trunk/netsurf/; revision=11857
2011-02-28 15:24:38 +00:00
Sven Weidauer
8eda3390da Adding tool tips and changing the cursor in the local history view.
svn path=/trunk/netsurf/; revision=11855
2011-02-28 15:24:15 +00:00
Sven Weidauer
e66c7f9313 Setting path for tree icons when tree class is initialized.
svn path=/trunk/netsurf/; revision=11853
2011-02-28 15:23:56 +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
bb0549c0ce Remove padding for scrollers in local history.
svn path=/trunk/netsurf/; revision=11845
2011-02-27 14:28:58 +00:00
Sven Weidauer
c7977d4ed2 Fixing display/transparency of ArrowWindow for 10.5.
svn path=/trunk/netsurf/; revision=11844
2011-02-27 14:28:55 +00:00
Sven Weidauer
c9bc37f8bd Fix pixel alignment for rendering paths with stroke_width == 0.
svn path=/trunk/netsurf/; revision=11843
2011-02-27 14:15:56 +00:00
Sven Weidauer
d84f818887 Adding icons for tree views.
svn path=/trunk/netsurf/; revision=11842
2011-02-27 13:21:46 +00:00
Sven Weidauer
ff0aa37393 Implementing path utility functions.
svn path=/trunk/netsurf/; revision=11841
2011-02-27 13:21:42 +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
8b1a36e2db Correctly centering lines on pixel grid if their width is even.
svn path=/trunk/netsurf/; revision=11823
2011-02-26 11:14:11 +00:00
Sven Weidauer
2a693de4df Not retaining outlets. Fixing memory leak for favicon.
svn path=/trunk/netsurf/; revision=11821
2011-02-26 10:35:44 +00:00
Sven Weidauer
bccdea6026 Implemented gui_find_resource and using resource: URIs for builtin stylesheets.
svn path=/trunk/netsurf/; revision=11819
2011-02-26 09:43:48 +00:00
Sven Weidauer
a4303a3d43 Updated preferences and search window xib to allow more space for localized text.
svn path=/trunk/netsurf/; revision=11806
2011-02-25 22:23:24 +00:00
Sven Weidauer
556030503b Translated UI strings to german.
svn path=/trunk/netsurf/; revision=11805
2011-02-25 22:23:19 +00:00
John Mark Bell
97a0229414 Lose space: make can sometimes be picky about such things, so avoid the potential for failure
svn path=/trunk/netsurf/; revision=11804
2011-02-25 22:09:16 +00:00
Sven Weidauer
de74250a3e Building translated nib files if strings file exist.
svn path=/trunk/netsurf/; revision=11802
2011-02-25 21:50:21 +00:00
Sven Weidauer
c419e726b1 Added 'Localizable.strings' to bundle resources and added german translations. Other languages use english original.
svn path=/trunk/netsurf/; revision=11796
2011-02-25 16:20:16 +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
ba20058f2c Saving bookmarks before quitting NetSurf.
svn path=/trunk/netsurf/; revision=11794
2011-02-25 15:31:48 +00:00
Sven Weidauer
c392e4606e Get filename for downloads from core.
svn path=/trunk/netsurf/; revision=11784
2011-02-24 11:43:08 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Sven Weidauer
7fb4e84c77 Fix typo so the mac port compiles
svn path=/trunk/netsurf/; revision=11747
2011-02-21 18:28:28 +00:00
Michael Drake
a06b4b4302 Port cocoa front end to use thumbnail_redraw(). Note: untested.
svn path=/trunk/netsurf/; revision=11720
2011-02-20 12:39:23 +00:00
Michael Drake
a66575dfeb Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Sven Weidauer
f9f1c0c3b3 Remove padding in arrow box.
svn path=/trunk/netsurf/; revision=11709
2011-02-17 17:30:36 +00:00
Sven Weidauer
d092b9ca35 Making sure history popup stays on screen.
svn path=/trunk/netsurf/; revision=11708
2011-02-17 17:23:58 +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
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +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
fe7921a387 Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +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
John Mark Bell
86c2948eb4 Fix copying text/plain to clipboard
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Sven Weidauer
626fc0df54 Automatically hide tab bar for single tab.
svn path=/trunk/netsurf/; revision=11630
2011-02-08 14:25:18 +00:00
Sven Weidauer
ac7cf0a3c9 Fixing crash issue by disallowing last tab to be dragged out.
svn path=/trunk/netsurf/; revision=11629
2011-02-08 14:25:16 +00:00
Sven Weidauer
3c22b595a7 New icon for homepage button and tooltips for homepage and local history buttons.
svn path=/trunk/netsurf/; revision=11628
2011-02-08 14:10:02 +00:00
Sven Weidauer
9ca0163518 Handling keyboard events in tree view.
svn path=/trunk/netsurf/; revision=11602
2011-02-02 13:07:32 +00:00
Sven Weidauer
618eb9d30a Basic bookmark editing.
svn path=/trunk/netsurf/; revision=11601
2011-02-02 12:25:31 +00:00
Sven Weidauer
7f2f0c8c54 Workaround for stupid hotlist treeview.
svn path=/trunk/netsurf/; revision=11582
2011-02-01 15:52:19 +00:00
Sven Weidauer
ab87a4b960 Bookmarks window. No editing yet.
svn path=/trunk/netsurf/; revision=11581
2011-02-01 14:52:20 +00:00
Sven Weidauer
81e295d8c9 Using real path from options for the bookmarks file instead of hardcoded test string.
svn path=/trunk/netsurf/; revision=11580
2011-02-01 10:37:13 +00:00
Sven Weidauer
fac17d747b Implemented bookmarks menu.
svn path=/trunk/netsurf/; revision=11579
2011-02-01 10:27:54 +00:00
Sven Weidauer
84b4a01f4f Implemented global history window using new Tree class.
svn path=/trunk/netsurf/; revision=11578
2011-02-01 08:39:35 +00:00
Sven Weidauer
28ff0cfb0a Factored Tree class out of TreeView
svn path=/trunk/netsurf/; revision=11577
2011-02-01 08:39:32 +00:00
Sven Weidauer
e20f69147d Added move cursor.
svn path=/trunk/netsurf/; revision=11576
2011-02-01 07:12:47 +00:00
Sven Weidauer
28da79c796 Reorganized includes.
svn path=/trunk/netsurf/; revision=11567
2011-01-31 19:12:00 +00:00
Sven Weidauer
09400943aa Added 'Home' button
svn path=/trunk/netsurf/; revision=11566
2011-01-31 18:48:09 +00:00
Sven Weidauer
4ed1832fe7 Implemented preferences window.
svn path=/trunk/netsurf/; revision=11565
2011-01-31 18:38:03 +00:00
Sven Weidauer
827c267c84 Updated Makefile.target
svn path=/trunk/netsurf/; revision=11564
2011-01-31 17:35:46 +00:00
Sven Weidauer
66b9d5476e Implemented search window.
svn path=/trunk/netsurf/; revision=11563
2011-01-31 15:13:38 +00:00
Sven Weidauer
f98bdddd09 Updated PSMTabBarControl (warning fixes)
svn path=/trunk/netsurf/; revision=11560
2011-01-31 08:33:16 +00:00
Sven Weidauer
899c2e3305 Asking before closing window with multiple open tabs.
svn path=/trunk/netsurf/; revision=11559
2011-01-31 08:07:22 +00:00
Sven Weidauer
fd23621211 Changing Xcode project file to build using the Makefiles and fixed some warnings.
svn path=/trunk/netsurf/; revision=11558
2011-01-31 07:57:52 +00:00
Vincent Sanders
fbb1139214 add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Sven Weidauer
b1d96fcd6b Download window asks if download should be cancelled before being closed and displays an estimate of the time remaining.
svn path=/trunk/netsurf/; revision=11521
2011-01-29 10:24:54 +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
b2482982dd More font-related fixes.
svn path=/trunk/netsurf/; revision=11516
2011-01-28 13:22:34 +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
aa3fc46df5 Implemented resolution independence fot the TreeView and HistoryView and moved the coordinate transform function to their own header.
svn path=/trunk/netsurf/; revision=11513
2011-01-28 08:54:55 +00:00
Sven Weidauer
a1f1138479 Updated baseline calculation for fonts
svn path=/trunk/netsurf/; revision=11512
2011-01-28 07:36:09 +00:00
Sven Weidauer
733376da5e Improved and crash-free download window.
svn path=/trunk/netsurf/; revision=11509
2011-01-27 14:26:24 +00:00
Sven Weidauer
43d02a75ca Rendering end pixels of horizontal and vertical lines correctly.
svn path=/trunk/netsurf/; revision=11508
2011-01-27 12:23:55 +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
73885bf3d0 Moved main() and related functions from gui.m to NetsurfApp.m
svn path=/trunk/netsurf/; revision=11506
2011-01-27 09:01:16 +00:00
Sven Weidauer
07fb8a93b1 Scaling position of select popup.
svn path=/trunk/netsurf/; revision=11505
2011-01-27 08:02:36 +00:00
Sven Weidauer
14404769cc Fixing font calculations and warnings about invalid glyph indices.
svn path=/trunk/netsurf/; revision=11504
2011-01-27 07:55:06 +00:00
Sven Weidauer
f5ef7c71e7 Setting/Loading more options. Also loading urldb and cookies.
svn path=/trunk/netsurf/; revision=11503
2011-01-26 19:17:27 +00:00
Sven Weidauer
80cdf73f6b Cmd-W closes active tab.
svn path=/trunk/netsurf/; revision=11497
2011-01-26 15:04:42 +00:00
Sven Weidauer
241510c0e2 Some random fixes.
svn path=/trunk/netsurf/; revision=11496
2011-01-26 13:58:35 +00:00
Sven Weidauer
56fb20de83 Leaving history overlay active after navigating using the back/forwards buttons.
svn path=/trunk/netsurf/; revision=11495
2011-01-26 13:42:52 +00:00
Sven Weidauer
da01624374 Enabling back/forward buttons only if appropriate.
svn path=/trunk/netsurf/; revision=11494
2011-01-26 13:35:07 +00:00
Sven Weidauer
7b2694e9f6 Updated PSMTabBarControl source code to version from https://github.com/dergraf83/PSMTabBarControl
svn path=/trunk/netsurf/; revision=11490
2011-01-26 10:52:13 +00:00
Sven Weidauer
a663cf8f84 Improved/refactored font functions and (hopefully) sped up cocoa_prepare_layout_manager()
svn path=/trunk/netsurf/; revision=11489
2011-01-26 09:58:29 +00:00
Sven Weidauer
d4d749cd10 Decoding .ICO for favicons
svn path=/trunk/netsurf/; revision=11488
2011-01-25 18:48:28 +00:00