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 and Randall Luecke
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 and Randall Luecke
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
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
Randall Luecke
e9dba10903
Move coder unarchiving logic to nib2cib.
2011-03-10 18:37:44 -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 and Randall Luecke
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 and Randall Luecke
9a2d079bee
lint the template files, update setFullBridge (deprecated) to setFullPlatformWindow
2011-03-10 17:03:38 -05:00
Aparajita Fishman and Randall Luecke
f254122346
Added CPView -hasThemeAttribute and tests
2011-03-10 17:02:30 -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
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
Klaas Pieter Annema
3c77d43e03
implement mousewheel support for CPMenu
2011-03-04 10:21:26 +01:00
Klaas Pieter Annema
7fb78fe157
lint _CPMenuWindow
2011-03-04 10:21:26 +01:00
Klaas Pieter Annema
566fdf6400
lint _CPMenuManager.j
2011-03-04 10:21:25 +01:00
Klaas Pieter Annema
1dc53ed149
lint CPPlatformWindow+DOM.j
2011-03-04 10:20:55 +01:00
Klaas Pieter Annema
b57b705b1d
place the scroll element above menus
2011-03-04 10:20:54 +01:00
Blair Duncan and Klaas Pieter Annema
7d7c037682
add support for Home and End key and modified logic for pageUp and pageDown
2011-03-04 10:20:54 +01:00
Blair Duncan and Klaas Pieter Annema
bf72a7f92d
added support for escape key to cancel menus, removed unused var
2011-03-04 10:20:54 +01:00
Blair Duncan and Klaas Pieter Annema
df9387fc78
remove unneccessary scrolling calls and periodic events when not needed
2011-03-04 10:20:54 +01:00
Blair Duncan and Klaas Pieter Annema
9296df89df
fixed some spacing and added a delay in the reset time for longer lists
2011-03-04 10:19:35 +01:00
Blair Duncan and Klaas Pieter Annema
d4d65ed4d7
Add support for keyboard navigation in menus
2011-03-04 10:19:35 +01:00
Klaas Pieter Annema
163550c3d5
determine NSControl enabled state from NSCellFlags
2011-03-04 08:56:25 +01:00
Klaas Pieter Annema
a11f12ab09
fix unarchiving tableviews with no header view
2011-03-04 08:51:21 +01:00
Klaas Pieter Annema
8e14d6cebc
unarchive corner and headerviews correctly
2011-03-04 08:15:54 +01:00
Randall Luecke
90d50bb593
Sizing fixes for the textfields of the color panel.
2011-03-02 22:51:03 -05:00
cacaodev and Ross Boucher
b715fb6182
Enable representedObject decoding in NSMenuItem.j
2011-03-02 13:32:56 -08:00
Ross Boucher
31dbd208f4
We don't need to copy the string since strings are immutable in javascript.
2011-03-02 13:26:49 -08:00
Tobias M. Bölz and Ross Boucher
49707af1ba
Fixed binding name constants
2011-03-02 13:17:44 -08:00
Ross Boucher
b77668dd5a
Fix spacing in CPBrowser.
2011-03-02 12:36:44 -08:00
Alexander Ljungberg
50e5fa2c8e
Fix accidental globals.
2011-03-01 00:02:35 -03:00
Alexander Ljungberg
dedf3cd90f
More AppKit coding standards.
2011-02-28 23:55:29 -03:00
Alexander Ljungberg
651d6a7ed8
Linting AppKit.
2011-02-28 23:48:34 -03:00