daniel
6c07f9a048
Formatting: add missing semi-colon to CPKeyValueBinding
2018-04-04 14:33:24 -07:00
Daniel
7cda21b60f
Merge remote-tracking branch 'cappuccino/master'
2018-03-20 13:46:13 -07:00
Martin Carlberg and GitHub
69370aa806
Merge pull request #2596 from mrcarlberg/triple_click_noneditable_selectable_empty_textfield
...
Fixed: Crash when triple click an empty CPTextField that is not editable but selectable
2018-03-08 09:17:57 +01:00
daboe01 and Martin Carlberg
b3ddd85b09
Fixed: Editing text in tableviews throws DOM exceptions under certain conditions in Chrome ( #2563 )
...
Previosly, we unflagged ```CPTextFieldInputDidBlur``` and ```CPTextFieldInputResigning``` before
the call to removeChild. This resulted in DOM exceptions in Chrome under certain conditions.
See https://stackoverflow.com/questions/21926083/failed-to-execute-removechild-on-node for
why we need to unflag ```CPTextFieldInputDidBlur``` and ```CPTextFieldInputResigning``` only after removing the element.
This apply to token fields also but with the corresponding flags. Also token fields now have the same behavior as the text field when bluring etc.
2018-03-08 09:17:15 +01:00
Martin Carlberg
033221fd01
Fixed: When triple click in an empty CPTextField that is not editable but selectable this call will crash as _DOMTextElement is nil.
...
This check will make sure it is not called when no element is present. This is the same way as it is done in other parts of this class.
2018-03-07 11:24:21 +01:00
Martin Carlberg and GitHub
32059c376e
Fixed: Nib2Cib will replace a CPTextFieldCell with a CPTextField as Cappuccino does not use cells. When a binding or connection is made to a CPTextFieldCell the binding / connection will get lost when read as the cell is never stored in the cib file. ( #2572 )
...
This fix make sure that the binding / connection is made to the CPTextField instead of the cell by replacing the cell with the text field when reading the xib file. The same mechanism is used in NSButton and NSMatrix.
This fix allows view based TableView bindings from a text field cell to the table cell view in the Interface Builder in Xcode.
2018-03-06 09:09:57 +01:00
Martin Carlberg and GitHub
511d393c78
Merge pull request #2576 from mrcarlberg/cptextview_delegate
...
New: CPTextView delegate methods added
2018-03-06 09:07:55 +01:00
Martin Carlberg and GitHub
237601cf29
Merge pull request #2579 from mrcarlberg/xml-parser-node
...
Fixed: The property list test cases can now run on the Node engine.
2018-03-06 09:00:41 +01:00
daboe01 and Martin Carlberg
928f14872e
Fixed: call to nonexistent method ( #2588 )
2018-03-06 08:59:36 +01:00
Martin Carlberg and GitHub
c6a9adf96c
Merge pull request #2556 from daboe01/plainsliderfix
...
Fixed: legacy scrollers used Aristo1 artwork in Aristo2
2018-03-05 11:06:59 +01:00
Martin Carlberg and GitHub
cdd00e0bd4
Merge pull request #2595 from daboe01/cpnumber-unarchiving-fix
...
Fixed: initWithCoder: called unimplemented method on the coder
2018-03-05 11:04:41 +01:00
Martin Carlberg and GitHub
2503d13402
Merge pull request #2594 from daboe01/CPSavePanel-missing-class-method
...
Fixed: +proposedFileURLWithDocumentName: was missing
2018-03-05 11:01:18 +01:00
daboe01 and Martin Carlberg
2d97970d24
Fixed: numberWithInteger: was erroneously used instead of numberWithInt: ( #2587 )
2018-03-05 10:50:30 +01:00
Martin Carlberg and GitHub
d8945e53ba
Merge pull request #2593 from daboe01/CPCoder--remove-bitrot
...
Fixed: unused and broken code removed from CPCoder
2018-03-05 10:43:41 +01:00
daboe01 and Martin Carlberg
f18012d07b
Fixed: removed erroneous call to sizeValue ( #2589 )
2018-03-05 10:36:22 +01:00
daboe01
104f8603b9
fixed: initWithCoder: called unimplemented method on the coder
2018-03-04 21:27:08 +01:00
daboe01
19bb083030
fixed: +proposedFileURLWithDocumentName: was missing
2018-03-04 18:40:33 +01:00
daboe01
ae575a19a0
fixed: unused broken code removed from CPCoder
2018-03-04 11:55:34 +01:00
cacaodev and GitHub
5f94d0a5c2
Typo: remove extra semi-colon
2018-02-28 15:33:16 +01:00
cacaodev and GitHub
618e6a1604
Merge pull request #2591 from daboe01/_CPFunctionExpression.j-missing-if
...
fixed: fromObject:(id)object index:(id)anIndex failed to raise if arg…
2018-02-27 15:59:19 +01:00
cacaodev and GitHub
cef294513a
Merge pull request #2590 from daboe01/CPKeyValueObserving-fix-CPKeyValueChangeReplacement
...
FIXED: Typo in call to replaceObjectsAtIndexes in CPKeyValueObserving
2018-02-27 15:58:13 +01:00
daboe01
8550abadef
fixed: fromObject:(id)object index:(id)anIndex failed to raise if argument was not CPDictionary or CPArray
2018-02-24 15:41:17 +01:00
daboe01
25c8b2d631
fixed: typo in call to replaceObjectsAtIndexes
2018-02-24 14:59:27 +01:00
Martin Carlberg
e7b690205e
Fixed: The property list test cases can now run on the Node engine.
...
The xml parser in the Node.js engine is more modern and can handle more cases. Our property list parser does not handle this. This fix makes the test cases for the property lists run on the Node.js engine.
2018-01-15 09:28:39 +01:00
Martin Carlberg
2403f8833a
Fixed: Added an application description at the top of the window
2018-01-09 13:43:09 +01:00
Martin Carlberg
9f25743b4d
Fixed: Never send CPTextViewDidChangeTypingAttributes notification when selection the same selection again. This is how Cocoa works.
2018-01-09 13:41:34 +01:00
Martin Carlberg
f1c76f65cf
Fixed: Added some comments on some methods
2018-01-09 13:37:35 +01:00
Martin Carlberg
7b39533410
New: Added manual test application to monitor order and number of calls for CPTextView delegate methods and notifications.
2018-01-08 14:11:55 +01:00
Martin Carlberg
1fe9c39dd5
Fixed: Test cases for the new or changed delegate methods and notifications.
2018-01-08 13:57:53 +01:00
Martin Carlberg
2b7be2e3f1
Fixed: Make sure the delegate methods and notifications are handled in the same way as in the Cooca frameworks.
...
CPTextViewDidChangeSelectionNotification should not be send if the text view is empty.
CPTextDidBeginEditingNotification is send when an edit is started.
CPTextDidEndEditingNotification is send when an edit is ending.
textShouldBeginEditing: delegate method is called to allow control if edit should start.
textShouldEndEditing: delegate method is called to allow control if edit should end.
2018-01-08 13:56:24 +01:00
Martin Carlberg
1ee9a3f279
Fixed: Check if the correct delegate method is implemented before calling it
2018-01-08 13:47:45 +01:00
Martin Carlberg
679acfb239
Fixed: Register the delegate as an observer on any notification that the delegate implement.
...
Also make sure we remove the observers if for example the view does not have a superview. This will make sure that the Notification Center is not hanging on to the view and delegate if the view is not used any more. Can cause a memory leak.
2018-01-08 13:44:47 +01:00
Martin Carlberg
3c7ab4b49b
Fixed: Make the view aware of some more delegate methods
2018-01-08 13:20:03 +01:00
Martin Carlberg
3f062e1c0a
Fixed: Make all method in CPTextDelegate and CPTextViewDelegate protocol optional.
2018-01-08 13:15:31 +01:00
Martin Carlberg and GitHub
c4cbb631a9
Merge pull request #2561 from mrcarlberg/compile_with_sourcemap
...
Full support for source map when debugging
2017-12-11 10:52:05 +01:00
Martin Carlberg
76f2d15b1b
Fixed: Added the option to only inline message send function without also compress the output javascript file.
...
This allows us to inline the message send function in DEBUG mode. This is great when stepping into a method in the debugger as the message send function is not a separate function. Also the stack traces in the debugger is much more compact as the message send function is not there.
2017-12-08 14:02:11 +01:00
cacaodev and GitHub
5d63865ae5
Merge pull request #2546 from cacaodev/CPSplitView
...
CPSplitView -trackDivider: performance
2017-11-08 18:53:22 +01:00
daboe01
ad7c88fb45
Merge remote-tracking branch 'cappuccino/master'
2017-09-27 11:46:45 +02:00
daboe01
1af3877758
FIXED: scroll-knob was slightly too bold
2017-09-27 11:05:59 +02:00
Martin Carlberg and GitHub
146ce3b12b
Merge pull request #2544 from FrankReh/pullreq/cleanup/old/unused/ensurePackageUpToDate
...
Remove: ensurePackageUpToDate() from common.jake
2017-09-26 08:43:41 +02:00
Martin Carlberg and GitHub
bf67721ac4
Merge pull request #2548 from cacaodev/CPWindow-live-resize-notifications
...
CPWindow live resize notifications
2017-09-25 14:04:01 +02:00
Martin Carlberg and GitHub
436f736a8e
Merge pull request #2543 from FrankReh/pullreq/cleanup/remove/property/sub_classes
...
Remove objj_class.sub_classes property
2017-09-22 13:03:54 +02:00
Martin Carlberg
1446e90dd9
Fixed: Use correct naming on function parameter. Also changed som comments to reflect the correct meaning of the parameter
2017-09-18 13:39:28 +02:00
Martin Carlberg
54716c03d1
Fixed: Missed new line when increment tokPos. Now we use the correct skip space function that will take care of things in correct manners.
2017-09-18 13:36:51 +02:00
daboe01
fad5e97e0a
Merge remote-tracking branch 'cappuccino/master' into plainsliderfix
2017-09-14 09:10:56 +02:00
Martin Carlberg
8cf79590c5
Fixed: When target was ’self’ in a message send expression the source map was showing the wrong variable.
2017-09-12 13:17:49 +02:00
Martin Carlberg
c6aafac6c8
Fixed: Compile Foundation and AppKit frameworks with source maps for the debug version.
2017-09-11 12:50:49 +02:00
Martin Carlberg
94a5995197
New: We now support source maps when compiling both from command line and in browsers.
...
To add source maps add the ”-S” flag to the Jake file when compiling from command line. In the browser you need to add the compiler option into your index.html file. It should look something like this:
OBJJ_COMPILER_FLAGS = [... , "SourceMap"];
All browsers has support for source maps but currently Chrome works best.
2017-09-11 12:49:59 +02:00
Martin Carlberg and GitHub
74081dc981
Merge pull request #2551 from mrcarlberg/compile_without_gcc
...
Compile without gcc [+2]
2017-09-11 11:14:44 +02:00
daboe01
7a593b13a7
Merge remote-tracking branch 'cappuccino/master' into plainsliderfix
2017-09-09 10:56:37 +02:00