Alexandre Wilhelm
fa4c0af78d
Fixed: wrong default size of CPCheckBox when using constructor checkBoxWithTitle
...
Previously, the default size of a CPCheckBox created with the constructor method checkBoxWithTitle did not take in account the size of the checkBox view.
Now when calculating the size of the control, it will firstly calculate the size of the title and then add the size of the checkBox view and the offset.
Fixes #2281
2015-01-12 16:56:43 -08:00
Andrew Hankinson
ef0e0432a7
Fixed: Generate Treeview and activate search engine.
2015-01-09 17:05:03 -05:00
Andrew Hankinson
d16f2b54fe
Merge branch 'refs/heads/master' into fix-doxygen-config
2015-01-09 16:56:49 -05:00
Antoine Mercadal
a3a3da309c
Merge branch 'DateException' of https://github.com/Dogild/cappuccino into Dogild-DateException
2015-01-09 10:41:52 -08:00
Alexandre Wilhelm
fa7b71cabe
Fixed: cappuccino raised an exception when the param of constructor method of a CPDate are not a string. It now raises an warning
2015-01-09 08:37:29 -08:00
Antoine Mercadal
d3490f6a2e
Merge pull request #2243 from ahankinson/new-CFError-CPError
...
New: CFError and Updated CPError
2015-01-08 17:33:31 -08:00
Antoine Mercadal
82dc126952
Merge pull request #2264 from Dogild/MemoryLeakTableView
...
Fixed: Memory leak in CPTableView, CPScrollView [+1]
2015-01-08 17:25:20 -08:00
Antoine Mercadal
6f90e765d4
Merge pull request #2269 from mrcarlberg/self_ref
...
Fixed: @ref did not generate self.x for an ivar x
2015-01-08 17:25:02 -08:00
Antoine Mercadal
b1382e8e89
Merge pull request #2287 from cacaodev/CPOperationQueue-cancelOperation
...
FIXED : a CPOperation marked as cancelled was never started
2015-01-08 17:24:11 -08:00
Antoine Mercadal
0fb739935f
Merge pull request #2288 from daboe01/fixed-sheet-positioning-
...
Fixed: -showRelativeToRect:ofView:preferredEdge is ignoring the positioning rectangle
2015-01-08 17:23:47 -08:00
Alexandre Wilhelm
e49a9f1f06
Fixed: targetRect was assigned too late when displaying a popoverWindow. This var can be used before ordering the popoverWindow
2015-01-06 15:28:14 -08:00
Alexandre Wilhelm
0f5dd99167
Fixed: the method setContentSize: of the CPPopover did not take care about the rect given when displaying the popover
2015-01-06 15:20:02 -08:00
daboe01
2f9f3db198
remove accidental code duplication
2015-01-03 10:21:28 +01:00
daboe01
00ebc265d8
make _targetRect an ivar
2015-01-02 19:35:09 +01:00
daboe01
5995b42872
fixed: popover positioning
2014-12-25 17:37:18 +01:00
Andrew Hankinson
9edb0abda0
Fixed: Styling is removed from build docset; Existing docset is removed before moving a new one.
2014-12-19 15:14:08 -05:00
Andrew Hankinson
eaa966e72b
Fixed: docset will generate docs before running
2014-12-19 15:13:16 -05:00
Andrew Hankinson
a48df23252
New: Jake command for building a Docset
...
This commit adds the `docset` command to jake, to create a Docset from a doxygen build. It adds a shell script to the "support" directory that manages the build, and includes an Info.plist file that gets copied to the Docset when built.
2014-12-19 13:16:05 -05:00
Antoine Mercadal
3aa8eb9533
Merge pull request #2267 from ahankinson/fix-zindex-on-body
...
Fixed: z-index of -1000 caused a blank screen in some browsers [+1]
2014-12-19 08:19:47 -08:00
cacaodev
3ddd1d5f21
Added CPAnimatablePropertyContainer protocol
2014-12-19 16:01:49 +01:00
cacaodev
ea15f0690c
FIXED: compilers warnings in _CPObjectAnimator
2014-12-18 23:40:56 +01:00
Andrew Hankinson
8751ef7439
Fixed: Wrap drawRect method in #if/#endif
2014-12-18 11:04:08 -05:00
Andrew Hankinson
8c393e3144
Fixed: removed self on _DOMElement
...
Also a bit of formatting.
2014-12-18 09:47:00 -05:00
Andrew Hankinson
a3ef2a43ac
Fix file modes on CPTextView files
...
Was 755; now 644
2014-12-17 20:48:29 -05:00
Andrew Hankinson
d2b3029f67
Fixed: Removed local declaration of _DOMElement
2014-12-17 20:47:12 -05:00
Andrew Hankinson
3e800ec7c8
Fixing type for DOM Elements
...
This commit fixes the type for DOM Elements in CPTextView.j
2014-12-17 12:40:24 -05:00
Andrew Hankinson
47d963b585
Fixed: Forward declaration of classes and types
...
Typedef in the ObjJ compiler introduced a few new warnings in this branch. This commit fixes the warnings by either declaring a type or forward-declaring a class.
2014-12-17 12:39:39 -05:00
Andrew Hankinson
397ae3407e
Merge branch 'refs/heads/master' into NEW--CPTextView
...
Conflicts:
AppKit/CPControl.j
2014-12-17 12:11:27 -05:00
cacaodev
e407eeea40
FIXED : travis build
2014-12-16 21:43:19 +01:00
cacaodev
873232d560
FIXED : a CPOperation marked as cancelled was never started (CPOperation -start) when managed in a queue.
...
FIXED : After an operation started, either from a queue or explicitely, its finished property was never set to true.
This was causing dependant operation to never be executed.
After this commit, cancelled operations are started (but not executed) and correctly marked as finished.
Tests: CPOperationQueueTest and CPOperationTest for an operation managed by a queue or run explicitely.
2014-12-16 18:43:08 +01:00
Alexandre Wilhelm
47cced540e
Style: added missing semi-colon in CPComboBox
2014-12-10 10:31:38 -08:00
Alexandre Wilhelm
5b4bddc2e0
Fixed: removed stupid console.error(coucou)....
2014-12-10 10:29:46 -08:00
Alexandre Wilhelm
cd511da678
Fixed: used _implementedDelegateMethods in CPComboBox at the same time in CPTextField. This occured some issues with the delegate of the comboBoxDelegate when using textField delegate. This commit fix a issue about the row height of a an element in the list of the comboBox
2014-12-10 10:25:10 -08:00
Antoine Mercadal
c4fbef2dd3
Merge pull request #2280 from Dogild/RuleEditorDragging
...
Fixed: crash when dragging the first line of a RuleEditor above the field Any
2014-12-09 19:37:29 -08:00
Alexandre Wilhelm
92b997fb78
Fixed: crash when dragging the first line of a RuleEditor above the field Any
...
Previously, cappuccino crashed when dragging the first line of a CPRuleEditor above the field any.
Now we make sure, we can not drag over this limit.
2014-12-09 19:04:12 -08:00
Antoine Mercadal
05d602c313
Merge pull request #2279 from Dogild/CPDatePickerEnter
...
Fixed: CPDatePicker takes key code CPReturnKeyCode all the time
2014-12-09 18:11:38 -08:00
Antoine Mercadal
e1d92bd630
Merge pull request #2265 from Dogild/FocusRingDatePicker
...
Fixed: CPDatePicker doesn't have a focusRing when editing
2014-12-09 17:42:59 -08:00
Antoine Mercadal
373951a75e
Merge pull request #2275 from Dogild/ButtonBarRemove
...
Fixed: button are always removed from the superview in layoutSubviews
2014-12-09 17:40:27 -08:00
Antoine Mercadal
f17898d43d
Merge pull request #2276 from Dogild/PopoverWindowObserver
...
Fixed: wrong option for the observer in _CPPopoverWindow
2014-12-09 17:39:52 -08:00
Antoine Mercadal
129eef79a3
Merge pull request #2274 from kevin-xu/vim-typedef-supported
...
New: Highlighted "@typedef" in VIM.
2014-12-09 17:39:11 -08:00
Antoine Mercadal
e3988e7b84
Merge pull request #2277 from t00f/cppredicate_editor
...
Fix controls' heights that are displayed in CPPredicateEditor
2014-12-09 17:38:53 -08:00
Alexandre Wilhelm
9174338140
Fixed: CPDatePicker takes key code CPReturnKeyCode all the time
...
Previously, the CPDatePicker took the key code CPReturnKeyCode all the time. It means, the key event wasn't redistributed to the other component, for example a defaultButton in a window.
Now instead of returning YES, it returns [super performKeyEquivalent:anEvent]
2014-12-09 17:26:02 -08:00
cacaodev
3f9e2d5d39
CPAnimationContext : add typedef for HashTable
2014-12-09 22:36:37 +01:00
cacaodev
31449552d1
Merge remote-tracking branch 'upstream/master' into CPAnimationContext
...
Conflicts:
AppKit/CPView.j
2014-12-09 22:35:29 +01:00
Andrew Hankinson
642dc36c41
Test: Cross Origin Manual Test
...
This commit adds a manual testing application for checking Cross-origin behaviour in different browsers. A README file included in this application provides details on how to run the tests.
2014-12-09 16:07:43 -05:00
Christophe Serafin
1016c3e22f
Fix controls' heights that are displayed in CPPredicateEditor
...
Lastly, we removed the usage of max-size to enable some controls like CPTextField to have
a specific height. This may caused a CPTextField to have a wrong height.
As all controls in a CPPredicateEditor have a CPControlSize to small, we now force their height to the minimum size.
2014-12-08 18:54:35 -08:00
Alexandre Wilhelm
b74d49b0bf
Fixed: changed option for observer in _CPPopoverWindow.j
2014-12-08 15:54:25 -08:00
Alexandre Wilhelm
8b29369b7e
Fixed: wrong option for the observer in _CPPopoverWindow
...
Previously the option of the observer in _CPPopoverWindow were set to 0, now it's set to CPKeyValueObservingOptionNew.
This PR fix also another issue, the popoverWindow registered the observer in the wrong order. It firstly observed the frame of the sender and then removed it directly. Now it register when ordering front the popover and remove it when closing the popover
2014-12-08 15:36:31 -08:00
Alexandre Wilhelm
cb5fe06e58
Fixed: button are always removed from the superview in layoutSubviews
...
Previously, the button of a CPButtonBar were always removed and readded in the method layoutSubviews.
Now we only remove the hidden button.
2014-12-08 15:29:28 -08:00
kevin-xu
4ebb2baf06
New: Highlighted "@typedef" in VIM.
...
"@typedef" should be highlighted since #2254 .
2014-12-08 22:00:02 +08:00