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
Sven Weidauer
37d15e2204
Fixing bitmap functions to return BYTES and not bits per pixel for bitmap_get_bpp
...
svn path=/trunk/netsurf/; revision=11487
2011-01-25 18:48:26 +00:00
Sven Weidauer
620fd90fa7
General cleanup and warning fixes
...
svn path=/trunk/netsurf/; revision=11486
2011-01-25 17:16:20 +00:00
Sven Weidauer
67c9970e54
Implemented favicons. Doesn't work for .ICO files
...
svn path=/trunk/netsurf/; revision=11485
2011-01-25 17:16:17 +00:00
Sven Weidauer
cca607fbe8
Creating select menus for forms
...
svn path=/trunk/netsurf/; revision=11484
2011-01-25 15:09:06 +00:00
Sven Weidauer
5615eb65af
Fixing font scaling and splitting
...
svn path=/trunk/netsurf/; revision=11482
2011-01-25 10:25:10 +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
8cc6b55981
Nice back/forward buttons and moved refresh button into URL field (like Safari)
...
svn path=/trunk/netsurf/; revision=11477
2011-01-24 09:12:22 +00:00
François Revel
4dda0f0204
- whitespace cleanup.
...
- check if /opt/local exists and add it to search paths, so libjpeg installed by MacPort can be found, as it doesn't seem to have a pkg-config descriptor.
svn path=/trunk/netsurf/; revision=11471
2011-01-23 20:31:36 +00:00
Sven Weidauer
dd1e7b893b
Activating (and fixing) more warnings in Xcode
...
svn path=/trunk/netsurf/; revision=11469
2011-01-23 19:32:56 +00:00
Sven Weidauer
f9ad379830
Generating version info in Info.plist from version.c
...
svn path=/trunk/netsurf/; revision=11468
2011-01-23 19:03:39 +00:00
Sven Weidauer
ce2f4da8ac
Makefile cleanup and copying only required localized resources
...
svn path=/trunk/netsurf/; revision=11467
2011-01-23 19:03:19 +00:00
Sven Weidauer
d528da0fd9
Building universal binary (only works for clang and not for ppc64)
...
svn path=/trunk/netsurf/; revision=11465
2011-01-23 15:26:26 +00:00
Sven Weidauer
34b42a120a
Assembling .app bundle in Makefile.target
...
svn path=/trunk/netsurf/; revision=11464
2011-01-23 14:14:35 +00:00
Sven Weidauer
010ac0c181
Fixed tab closing leaving the URL bar disconnected from the current tab
...
svn path=/trunk/netsurf/; revision=11423
2011-01-20 14:17:15 +00:00
Sven Weidauer
1490258b3e
Renamed 'spinning' property to 'isProcessing' so that the tab bar picks it up and displays a spinner.
...
svn path=/trunk/netsurf/; revision=11420
2011-01-20 13:22:39 +00:00
Sven Weidauer
c46072be85
Correct path for Messages file
...
svn path=/trunk/netsurf/; revision=11419
2011-01-20 13:08:41 +00:00
Sven Weidauer
afbcd370c5
Improved tabs (draggable, can close last one)
...
svn path=/trunk/netsurf/; revision=11415
2011-01-20 11:38:16 +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
5a259dadeb
Implemented path plotter
...
svn path=/trunk/netsurf/; revision=11382
2011-01-19 10:20:44 +00:00
François Revel
6d1169e92d
Add the required makefile stuff to build NetSurf for OSX using 'make cocoa' in trunk/. Crashes for now though. Requires some libs installed with macports to /opt/local.
...
svn path=/trunk/netsurf/; revision=11380
2011-01-19 01:36:21 +00:00
François Revel
ebc216434f
Case insensitive filesystems should just be banned from Earth and even the Milky Way.
...
svn path=/trunk/netsurf/; revision=11379
2011-01-19 01:07:56 +00:00
Sven Weidauer
ef8098ebdf
Removing history.m - those functions aren't called anyways.
...
svn path=/trunk/netsurf/; revision=11368
2011-01-18 08:27:00 +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
0d98d39a1a
Only showing regular browser windows, not frames or iframes.
...
svn path=/trunk/netsurf/; revision=11366
2011-01-18 08:26:49 +00:00
Sven Weidauer
5105548de6
More font traits
...
svn path=/trunk/netsurf/; revision=11359
2011-01-17 21:47:08 +00:00
Sven Weidauer
b3690a585d
Using OS services to determine MIME types
...
svn path=/trunk/netsurf/; revision=11358
2011-01-17 21:47:00 +00:00
Sven Weidauer
84569f7db3
High-res icon
...
svn path=/trunk/netsurf/; revision=11352
2011-01-17 18:13:32 +00:00
Sven Weidauer
583047def6
Getting a real path for the options file
...
svn path=/trunk/netsurf/; revision=11350
2011-01-17 16:18:14 +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
d2aa0bcea9
Taking homepage from user defaults
...
svn path=/trunk/netsurf/; revision=11348
2011-01-17 15:00:12 +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
ecc314c694
Implemented download window
...
svn path=/trunk/netsurf/; revision=11317
2011-01-14 12:46:06 +00:00
Sven Weidauer
633f294ce2
Opening URLs
...
svn path=/trunk/netsurf/; revision=11316
2011-01-14 12:46:01 +00:00
Sven Weidauer
dbaaa53f68
Correctly handling users closing windows
...
svn path=/trunk/netsurf/; revision=11311
2011-01-13 19:00:04 +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
Sven Weidauer
a9b60753f9
Implemented tree view/history window.
...
svn path=/trunk/netsurf/; revision=11309
2011-01-13 15:19:47 +00:00
Sven Weidauer
b65a405c3e
Copy scale value from cloned window and setting new clip rect for every drawing operation.
...
svn path=/trunk/netsurf/; revision=11308
2011-01-13 11:15:40 +00:00
Sven Weidauer
f47c0f16e2
Adding build instructions for Cocoa and building with system-provided libpng by default.
...
svn path=/trunk/netsurf/; revision=11307
2011-01-13 07:47:07 +00:00
Sven Weidauer
23e9ad14ab
Recalculating actual position in string after text split.
...
svn path=/trunk/netsurf/; revision=11300
2011-01-12 23:21:36 +00:00
Sven Weidauer
fce3238be0
Added UTF-8 to local encoding conversion functions. Just copies the string.
...
svn path=/trunk/netsurf/; revision=11299
2011-01-12 23:21:33 +00:00
Sven Weidauer
9c627479ca
including <cocoa/cocoa.h> in prefix header
...
svn path=/trunk/netsurf/; revision=11297
2011-01-12 22:07:36 +00:00
Sven Weidauer
88d70ed6a4
Added icon
...
svn path=/trunk/netsurf/; revision=11296
2011-01-12 22:07:31 +00:00
Sven Weidauer
0409221064
Changed project file to use .xcconfig files and added shell script (config/detect.sh) to auto-generate local config file using pkg-config
...
svn path=/trunk/netsurf/; revision=11295
2011-01-12 22:07:27 +00:00
Sven Weidauer
9e31753420
Rendering only dirty rects
...
svn path=/trunk/netsurf/; revision=11294
2011-01-12 22:07:21 +00:00
John Mark Bell
b58dcc351f
Cocoa front end (credit: Sven Weidauer)
...
svn path=/trunk/netsurf/; revision=11292
2011-01-12 20:21:17 +00:00