cacaodev
a02b721944
CPScrollView: add -scrollView(Will|Did)Change: delegate methods.
...
CPScroller: send action when dragging starts instead of immediately on mouse down.
Test: added delegate methods to the top-left scroll view in CPScrollView example and log.
2011-03-19 10:17:12 +01:00
Randall Luecke
e8210f7dde
Proper fix for mem leakage.
2011-03-17 03:03:51 -04:00
Randall Luecke
32fc629c33
Prevent memory leak my only adding the observer when the searchfield is added to a superview, that way we can also remove the observer later.
2011-03-17 01:31:25 -04:00
cacaodev
d5b2ccbc30
CPSearchField: register for textDidChange notifications instead of hijacking the delegate. Post the notification in -canCelOperation: (triggered by escape key OR cancel button). Fixes issue #1160
2011-03-17 01:18:25 -04:00
Aparajita Fishman
a3e70a56c5
Added support for sendsActionOnEndEditing flag in nibs
2011-03-17 01:16:43 -04:00
Brian Donovan
abce41d6fd
Make sure -[CPArrayController arrangedObjects] always has a non-nil value.
2011-03-15 19:53:14 -07:00
Randall Luecke
e1d45fd385
Merge branch 'master' of git://github.com/280north/cappuccino
2011-03-15 18:03:24 -04:00
Randall Luecke
a3e6105a11
Fix for errors with variable row height edge cases.
2011-03-15 18:02:26 -04:00
Klaas Pieter Annema
f022386502
Merge branch 'doc-optimize' of https://github.com/aparajita/cappuccino into aparajita-doc-optimize
2011-03-15 10:18:06 +01:00
Aparajita Fishman
e18b21ec1b
Fixed output path check
2011-03-13 10:15:26 -04:00
Aparajita Fishman
42c71172f2
Better path checking and error messages, fixed issue #1154
2011-03-13 10:08:17 -04:00
Aparajita Fishman
dc801a11c8
Instead of blindly, recursively copying the AppKit and Foundation directories, more intelligently copy only the *.j files we want.
2011-03-12 23:34:53 -05:00
Randall Luecke
24fbf27880
Headerview and corner view fixes
2011-03-12 01:24:15 -05:00
Aparajita Fishman
b0af42e236
Removed extra blank line
2011-03-11 12:39:54 -05:00
Aparajita Fishman
32fd03b4a0
Explicitly test for null cibFont for clarity
2011-03-11 12:15:58 -05:00
Aparajita Fishman
6b72651a05
Error message tweaks
2011-03-11 12:00:58 -05:00
Aparajita Fishman
d6117b832f
Comment tweaks
2011-03-11 09:46:42 -05:00
Aparajita Fishman
3a79e82ce8
Removed check for fontinfo, it will be part of the cappuccino package
2011-03-11 09:04:11 -05:00
Aparajita Fishman
522d4dcb2b
Removed layout constants
2011-03-11 08:39:41 -05:00
Aparajita Fishman
11f92353c8
Removed layoutMode references
2011-03-11 08:37:23 -05:00
Aparajita Fishman
3b60714bf0
Documented how to configure the system font face.
2011-03-10 19:54:38 -05:00
Aparajita Fishman
239b6ed79d
Fixed CPFontTest, removed unused RegExp from CPFont
2011-03-10 19:19:32 -05:00
Aparajita Fishman
a20b0a7dca
Removed google fonts, added test of dynamically set font with fallback
2011-03-10 18:53:57 -05:00
Randall Luecke
e9dba10903
Move coder unarchiving logic to nib2cib.
2011-03-10 18:37:44 -05:00
Aparajita Fishman
fd43a08fa3
Merge remote branch 'refs/remotes/280north/master' into font-fun
2011-03-10 18:18:18 -05:00
Aparajita Fishman
627566465e
Moved legacy font substitution to nib2cib to avoid any side effects, linted NSTableColumn, NSTableColumn now uses cibFontForNibFont, finished test app
2011-03-10 18:13:35 -05:00
Randall Luecke
b087757a72
Pump runloop for async callbacks.
2011-03-10 17:39:39 -05:00
Randall Luecke
d926ad6221
Merge branch 'fix-cpsound-firefox' of https://github.com/primalmotion/cappuccino into primalmotion-fix-cpsound-firefox
2011-03-10 17:11:19 -05:00
Aparajita Fishman
90e6c21c95
Be sure the build directory exists in case 'jake docs' is done before any other jake commands
2011-03-10 17:05:40 -05:00
Randall Luecke
ad4d408f3e
Merge branch 'pattern-fill' of https://github.com/aparajita/cappuccino into aparajita-pattern-fill
2011-03-10 17:04:26 -05:00
Aparajita Fishman
9a2d079bee
lint the template files, update setFullBridge (deprecated) to setFullPlatformWindow
2011-03-10 17:03:38 -05:00
Aparajita Fishman
f254122346
Added CPView -hasThemeAttribute and tests
2011-03-10 17:02:30 -05:00
Aparajita Fishman
10bfeaf8f7
Added comment for non-obvious code, fixed option name in nib2cib
2011-03-10 12:49:50 -05:00
Aparajita Fishman
f93aa2c5bc
Merge branch 'master' of https://github.com/280north/cappuccino into font-fun
2011-03-10 12:38:37 -05:00
Francisco Ryan Tolmasky I
acf7ef3a96
Use 10.5 SDK for building NativeHost if available, otherwise use latest Mac OS X SDK.
...
Reviewed by me.
2011-03-10 12:33:35 -04:00
Aparajita Fishman
a8d07961c0
-familyName should always return whatever family names the font was initialized with, in case there are fallbacks for different platforms
2011-03-10 11:28:48 -05:00
Aparajita Fishman
95cc88733c
Fixed default system font substitution
2011-03-09 16:37:23 -05:00
Aparajita Fishman
120c06fcb2
Further CPFont work, don't print nib2cib version all the time.
2011-03-09 14:33:11 -05:00
Aparajita Fishman
d303e6e96c
Initial commit before testing.
2011-03-08 17:40:41 -05:00
Aparajita Fishman
c4dce38484
Added support for pattern fills in CGContext, fixed bug in COORD macro in CGContextVML.j, test app
2011-03-08 03:11:08 -05:00
Ross Boucher
8eb8b7711d
Binding to wrong event in IE.
2011-03-07 15:08:57 -08:00
Alexander Ljungberg
f7fc669216
Fix missing 'self' in previous commit.
2011-03-06 11:51:20 -03:00
Alexander Ljungberg
7d6b7fd676
CPCoding fix, remove a log statement.
2011-03-05 22:56:49 -03:00
Alexander Ljungberg
2387cee799
Fixed: web view AppKit scrollbars often did not reflect the true content size of the view.
...
The reason for this is that the size changes as the page progressively loads, and this continues after the 'load' event fired. For now, we use a simple timer to poll the size a few times after loading. These polls are very bad for performance and battery life so we terminate them quickly, meaning that the underlying problem where the contents of the web view can get out of sync with its scrollbars fundamentally remains - this fix merely alleviates the problem.
2011-03-05 22:50:20 -03:00
Alexander Ljungberg
e214d49ea9
Change SOP error to a warning. Warn about problematic testing setup in CPWebViewTest.
2011-03-05 19:52:39 -03:00
Alexander Ljungberg
6f8d2190f5
Closes #1136 . Fixed: for the most part, web view's setScrollMode: message did nothing. New: automatic or explicit scroll mode selection in web views.
...
By default the automatic mode will try to use Cappuccino scrollbars whenever possible, and otherwise fall back on Native scrollbars. Explicit settings are also allowed. The explicit AppKit setting will degrade to Native with a warning if impossible due to implement due to SOP.
2011-03-05 19:45:39 -03:00
Alexander Ljungberg
9ca1865179
Test the various web view scroll modes about to be implemented.
2011-03-05 18:00:17 -03:00
Randall Luecke
a7c5ca740a
Typo in doc changes
2011-03-05 00:20:28 -05:00
Randall Luecke
590b3705eb
Style changes for table column documentation.
2011-03-04 23:15:24 -05:00
Klaas Pieter Annema
a9f23fe082
open submenus after a short delay
2011-03-04 10:21:26 +01:00