Randy Luecke
eba5dbe654
Merge pull request #1334 from aparajita/array-range-checking
...
Added some missing range checking.
2011-08-17 11:11:49 -07:00
Randy Luecke
9ae1f548bf
Merge pull request #1338 from purem/master
...
Added zsh to xcodecapp-cocoa
2011-08-17 11:05:18 -07:00
Alexander Ljungberg
d191255a84
Merge branch 'master' of github.com:280north/cappuccino
2011-08-12 19:50:49 -04:00
Alexander Ljungberg
9bf8824109
nib2cib support for token fields.
2011-08-12 19:50:30 -04:00
Alexander Ljungberg
f773bd217c
Fixed with token field: remove false ivar '_tokenIndex' and fix tokenField:tokenField completionsForSubstring:indexOfToken:indexOfSelectedItem: ignoring its indexOfToken: parameter.
2011-08-12 19:46:39 -04:00
Alexander Ljungberg
a5f0f0e3db
CPTokenField archiving support.
2011-08-12 19:29:59 -04:00
Alexander Ljungberg
6f6bfc667b
Inverted CPCharacterSet characterSetWithCharactersInString now archive properly.
2011-08-12 19:27:02 -04:00
Alexander Ljungberg
0789f49b94
CPCharacterSet isEqual support when the set is of the characterSetWithCharactersInString kind.
2011-08-12 19:12:47 -04:00
Alexander Ljungberg
92c94eab8f
CPCharacterSet archiving support when the set is of the characterSetWithCharactersInString kind.
2011-08-12 18:50:06 -04:00
cacaodev
9f06ed725e
CPTableView: -drawBackroundInClipRect:
...
Fixes a bug where we were drawing rows from 0 instead of the first exposed when usesAlternatingBackgroundColors:YES
2011-08-11 21:06:19 +02:00
Jonathan R H Evans
c45039fd70
Added zsh to the list of shell configs that xcodecapp-cocoa checks.
2011-08-09 10:15:23 +01:00
Aparajita Fishman
8e203ec78e
Fixed range checking for insertObject:atIndex:
2011-08-08 15:14:30 -07:00
alexmipego
e32515e5cc
Make boxEnclosingView: copy the auto resizing settings of the view
2011-08-07 20:22:14 +01:00
Klaas Pieter Annema
2b77da821c
always build xcodecapp with 10.6 SDK
2011-08-06 16:43:11 +02:00
Aparajita Fishman
f8404c7a97
Added some missing range checking.
2011-08-05 14:40:13 -07:00
Brian Donovan
156610ee07
Allow CPAlert subclasses to use +alertWithMessageText:... et al.
2011-08-05 08:32:44 -07:00
Alexander Ljungberg
fcaf672bf8
Merge branch 'master' of github.com:280north/cappuccino
2011-07-29 02:43:52 -04:00
Alexander Ljungberg
dd5d8fcdce
Closes #1305 . Fixed: don't constrain max toolbar item width to the width of the label.
2011-07-29 02:42:42 -04:00
Alexander Ljungberg
e0c4f6455d
Tweak some messages.
2011-07-29 02:02:11 -04:00
Alexander Ljungberg
dd5d7e9979
Whitespace cleanup.
2011-07-29 02:01:31 -04:00
Alexander Ljungberg
408baac91e
Fix Xcode capitalisation in xcodecapp-cocoa.
2011-07-29 02:00:14 -04:00
Klaas Pieter Annema
f241142216
don't disallow setEnabled for auto enabled items
2011-07-21 14:41:47 +02:00
Klaas Pieter Annema
f0561844d8
don't close a menu item with a submenu
...
A submenu item should only close the menu if it has a non default action.
This is compliant with how Cocoa behavior.
2011-07-21 12:23:11 +02:00
Randall Luecke
bd6294b806
Updated Jakefile for xcodecapp-cocoa to use the proper variable name. This should also fix the buildbot.
2011-07-17 22:46:27 -07:00
Alexander Ljungberg
70f8e3a832
Merge pull request #1278 from aparajita/cappuccino
...
---
I discovered the following behavior that is not in conformance with Cocoa:
- Backspace, tab, escape, and space are considered key equivalents.
- Function keys (F1 - FNN) are not considered key equivalents.
- CPTextField executes `performKeyEquivalent` twice if a field is first responder.
Build this Cocoa project and debug it: http://d.pr/Xc3h
Take a look at the debug log while typing some keys. You will see that backspace, tab, escape and space do not trigger `performKeyEquivalent`, and that `performKeyEquivalent` is only executed once for the first responder.
Then run the performKeyEquivalentsTest app in this commit and look at the console log while trying keys in the text fields. If you turn the old code on, you will see how `performKeyEquivalent` is executed twice for the first responder.
For reference on key handling code, I consulted this:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html%23//apple_ref/doc/uid/10000060i-CH3-SW11
2011-07-17 22:55:18 -04:00
Alexander Ljungberg
59b302acde
Merge pull request #1177 from cacaodev/cappuccino
...
---
Adds -scrollViewWillScroll: and -scrollviewDidScroll: delegate methods to CPScrollView.
These methods are not in AppKit but exist in UIKit. Useful for lazy loading data in a view, for example a CPTableview.
Tested in the CPScrollView example.
Conflicts:
AppKit/CPScrollView.j
2011-07-17 22:05:55 -04:00
Alexander Ljungberg
f54f8dfec9
Merge branch 'master' of github.com:280north/cappuccino
2011-07-17 21:48:53 -04:00
Alexander Ljungberg
93135e7e81
Header fixes.
2011-07-17 21:47:40 -04:00
Alexander Ljungberg
b8026e19ba
Merge pull request #1320 from MCF/cappuccino
...
---
If a CPTextFields target action changed the first responder then the target action was called twice if the textfield edit was completed by hitting the enter/return key. This fixes the problem by setting the _isEditing flag to NO before the action is called in the insertNewline function.
See [this thread](https://groups.google.com/group/objectivej-dev/browse_thread/thread/ff64a4520102b3c5?hl=en ) for more details.
Also included a new manual test for an editable CPTableView to make testing the fix easier.
2011-07-17 21:43:23 -04:00
Randy Luecke
147d9282fb
Merge pull request #1323 from primalmotion/xcodecapp-cocoa-menu-for-error-panel
...
Small improvments in XcodeCapp-Cocoa
2011-07-17 15:49:21 -07:00
Antoine Mercadal
7c18b8bc5f
Small improvments in XcodeCapp-Cocoa
...
- Do not release the Error & Warning window on close (or you can't open it again)
- Small graphical updates
- Remove the Growl notification in case of error (panel is sufficient)
- Add a menu to open the error and warning panel when user wants to
2011-07-17 23:50:14 +02:00
Randall Luecke
2ccbf5d4e5
Errors in xcodecapp-cocoa now show up in their own panel. Should we keep growl?
2011-07-17 13:46:57 -07:00
Randall Luecke
da6d8c86d1
Merge branch 'xcodecapp-cocoa-merge' of https://github.com/primalmotion/cappuccino into primalmotion-xcodecapp-cocoa-merge
2011-07-17 13:45:41 -07:00
Randall Luecke
78d997b404
Remove xcodecapp-cocoa in preparation for a proper merge
2011-07-17 13:44:09 -07:00
Aparajita Fishman
89b23ef0d7
Framework capp template
2011-07-17 09:17:08 +03:00
Aparajita Fishman
b958911c63
Support for postinstall scripts
2011-07-17 09:15:26 +03:00
Randall Luecke
c6e5219f2e
Add Xcodecapp-cocoa build to Tools Jakefile
2011-07-16 23:11:13 -07:00
Randall Luecke
3bb450adbf
Merge branch 'master' of git://github.com/280north/cappuccino
2011-07-16 22:57:56 -07:00
Randall Luecke
a0f5257258
Errors in xcodecapp-cocoa now show up in their own panel. Should we keep growl?
2011-07-16 22:57:12 -07:00
Randall Luecke
6520615bb0
Merged xcodecapp-cocoa
2011-07-16 22:53:49 -07:00
Randy Luecke
4593212698
Merge pull request #1299 from farcaller/5d26066e02f6d1203981b27c8acf7f7991f4a419
...
Fixup for CPDictionary's dictionaryWithJSObject:recursively: and null objects in arrays
2011-07-16 19:45:45 -07:00
Randy Luecke
5363deb122
Merge pull request #1285 from aparajita/CPPredicate-fix
...
CPPredicate fix
2011-07-16 19:40:17 -07:00
Randy Luecke
d5a651fc43
Merge pull request #1290 from hammerdr/include-ojtest
...
Adding OJTest installation to the bootstrap.sh file.
2011-07-16 19:39:52 -07:00
Randy Luecke
4740acbcc6
Merge pull request #1292 from aparajita/doxygen-font-fix
...
Use Menlo if Consolas is not available
2011-07-16 19:36:35 -07:00
Randy Luecke
bfb2134329
Merge pull request #1293 from aparajita/CPKeyedArchiver-tweak
...
CPKeyedArchiver - Removed unused variable, fixed typo
2011-07-16 19:36:00 -07:00
Randy Luecke
ec83977fe1
Merge pull request #1312 from aparajita/CPPlatformString-missing-methods
...
Make sure CPPlatformString +sizeOfString and +metricsOfFont work with CommonJS
2011-07-16 19:33:32 -07:00
Randy Luecke
98d08ff05d
Merge pull request #1317 from aparajita/themeClass-fix
...
Have to set _themeClass when class changes
2011-07-16 19:32:54 -07:00
Randy Luecke
1eb6319b49
Merge pull request #1313 from cacaodev/CPViewAnimation
...
CPViewAnimation: current frame based on -currentValue.
2011-07-16 19:30:25 -07:00
Mike Fellows
8f7e06f9d6
Fix regression to CPTextField's insertNewline, duplicate target actions were being called when an edit on a textfield was ended with an enter/return keypress
2011-07-15 18:55:03 -07:00
Mike Fellows
81e3abe10c
Add CPTableView test for editable table cells.
2011-07-15 18:54:53 -07:00