daboe01
3ad080b788
Merge remote-tracking branch 'upstream/main' into Aristo3
2026-10-24 22:00:51 +02:00
David Richardson
fa525e1cee
AppKit: final PLATFORM body-block sweep (8 files)
...
- CPVisualEffectView, CPWebView, _CPBorderlessBridgeWindowView,
CPViewAnimator, CPFontManager, _CPMenuBarWindow, CPRuleEditor,
CPScrollView: 8 PLATFORM blocks resolved to runtime CPDOMAvailable
guards (5 wrapped, 2 guard-returns, 1 if/else)
- this completes the method-body sweep: remaining PLATFORM
directives are a method-definition, class-scope, or import gate,
reserved for the structural-design phase
- work-in-progress towards complete removal of CPP directives
2026-09-01 08:34:36 -06:00
daboe01
69c8c3d0a2
Merge remote-tracking branch 'upstream/main' into Aristo3
2026-07-25 19:26:39 +02:00
David Richardson
1a9a42ff54
Replace #pragma mark with // MARK:
...
Replace objc directive with native Javascript version // MARK: to facilitate elimination of preproccsing pass.
2026-07-21 15:15:53 -06:00
daboe01
04bad947e3
fixed: CPRuleEditor: crash when dragging nested compound rows
2026-07-10 16:14:29 +02:00
daboe01
3467a60215
Merge remote-tracking branch 'upstream/main' into Aristo3
2026-06-13 12:15:00 +02:00
daboe01
9115949169
new: Documentation for CPRuleEditor I8N stuff
2026-06-04 21:39:02 +02:00
daboe01
e03e0c6fc4
fixed: exception after deleting the last row
2026-06-04 08:55:32 +02:00
daboe01
613a2722be
new: dynamic mutilanguage demo
2026-06-04 08:15:52 +02:00
daboe01
e9b9d9702e
fixed: localizer issues
2026-06-03 21:19:09 +02:00
daboe01
750c123d1e
fixed: redraw issues
2026-06-03 19:19:36 +02:00
daboe01
5e0fc1cbb5
fixes + manual test
2026-06-02 22:20:44 +02:00
daboe01
e856605a09
_CPRuleEditorViewSliceRow integration
2026-05-28 17:38:14 +02:00
daboe01
d7315773e1
fixed: syntax issues
2026-05-28 17:15:41 +02:00
daboe01
a27aaf8bd0
Fixed: CPRuleEditor word-by-word translation issue ( #1834 )
2026-05-28 17:11:29 +02:00
daboe01
fb348ed4f7
merge from main
2026-04-03 16:26:59 +02:00
daboe01
0bd83b6635
new: clear CPPredicateEditor rows when objectValue is set to nil
2026-04-03 15:20:59 +02:00
daboe01
3d3674a7d8
fixed: out of bounds exception when dragging rule editor slices
2026-02-19 19:51:34 +01:00
daboe01
192b6ecfc4
fixed: rule editor selection
2026-02-19 19:44:11 +01:00
daboe01
18c2145138
fixed HUD rule editor
2026-01-24 12:14:08 +01:00
daboe01
9a9c9b8481
Fixed: CPRuleEditor rows did not resize after being shrunken
2025-12-07 19:46:11 +01:00
Martin Carlberg
7dc77ed609
Fixed: Make sure we handle undefined when testing for nil values ( #2862 )
2020-01-31 13:43:58 +01:00
daniel
8e0d4a70f2
Formatting: remove redundant variable in _CPRuleEditorViewSlice.j
2018-04-03 15:04:55 -07:00
cacaodev
333e112e37
Fixed: CPPredicateEditor predicate when the template has a CPFloatAttributeType
2016-05-15 10:06:52 +02:00
Philippe Fuentes
818d5d782f
Fixed: date comparisons in CPPredicateEditor ( #2449 )
...
CPPredicateEditorRowTemplate has been modified to allow a correct comparision of date objects when using the CPDateAttributeType
Before this correction, the predicate format was using a string representation of a date instead of a date object.
2016-05-14 23:16:10 +02:00
cacaodev
c31f5b1d59
Fixed: CPPredicateEditor in OJTest
...
OJTest is reading theme attributes from the class default. In
CPPredicateEditor implementation, nil check an attribute and change the
default of another attribute to be non null.
2016-05-14 09:57:29 +02:00
Alexandre Wilhelm
7a0b2c958b
Fixed: crash with CPRuleEditor when dragging the first row
...
Previously, cappuccinos crashed when dragging to the top the first row of a CPRuleEditor.
2015-09-22 15:01:19 -07:00
Alexandre Wilhelm
34f724a4a4
Fixed: capp_lint fixes
2015-04-22 11:22:44 -07:00
Martin Carlberg
03a6e6fc6a
Fixed: Removed ivars that are already declared in superclass
2015-03-03 11:34:49 +01: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
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
Antoine Mercadal
0dcc645f22
Fix a missing @class declaration
2014-11-20 11:50:18 -08:00
Antoine Mercadal
f9275a70af
FIXED: New warnings reveleaded by ivar type checking
...
This patch fixes all new warnings
2014-11-06 10:17:05 -08:00
Alexandre Wilhelm
aded1dd4da
Merged: manual merged
2014-09-05 13:00:48 -07:00
Alexandre Wilhelm
1fcf13d149
Fixed: added optimization for releasing observers
2014-08-20 16:13:59 -07:00
Christophe Serafin
3dc581efbb
introduce nib2cib-adjustment-frame as theme attribute to enbable proper control alignment
2014-08-14 10:54:38 -07:00
Christophe Serafin
655cc3256c
remove arbitrary CONTROL_HEIGHT
2014-08-14 10:45:12 -07:00
Christophe Serafin
e3ad115698
correction based on primalmotion comments
2014-08-12 13:56:25 -07:00
Christophe Serafin
fd3a4b069d
removes CPRuleEditorPopUpButton and use CPPopUpButton directly
2014-08-07 16:50:52 -07:00
Christophe Serafin
26e29df657
update CPRuleEditor to use small control size for each control.
2014-08-07 09:44:06 -07:00
Christophe Serafin
4a3f51e550
set CPDatePicker elements to days, months, year when used within a CPPredicateRowTemplate
2014-07-28 12:51:32 -07:00
Alexandre Wilhelm
9b397245f8
New: Added CPRuleEditorDelegate protocol
...
Added CPRuleEditorDelegate protocol.
Also, now, delegate methods are called as we are used to do it in Cappuccino
2014-03-27 15:25:38 -07:00
cacaodev
93b48ba973
Fixed: support for dates (CPDatePicker) in CPPredicateEditor
...
Before this commit, row templates and views belo,ging to them were copied via archiving/unarchiving.
This was causing problems when the view was not completely CPCoding compliant, like for CPDatePicker.
With this commit, template views use CPCopying (-copy method) when available.
Also added CPCopying for CPDatePicker as a category in CPPredicateEditor.
Test: in CPPredicateEditorTest, on the right panel, choose a keypath, operator, and select 'Dates' in the popup for the right expression.
Fixes #2041
2014-01-17 10:49:52 +01:00
Martin Carlberg
e511638962
Fixed: Cleaned up return and parameter types on methods.
2013-11-24 22:21:56 +01:00
Martin Carlberg
bb58a206a8
Fixed: Removed all warnings of conflicting return and parameter types caused by the new compiler
2013-08-12 16:46:14 +02:00
Kjell Nilsson
d9e7912162
Fixed: constructing a 'RowCountChanged' notification generates a nil warning when dragging a row
...
Previously, when
- Dragging a row in the rule editor
would eventually try to generate a dictionary with key 'indexes' and a
nil value in the method __postRowCountChangedNotificationOfType:indexes:.
Generating an empty dictionary instead when there is no indexes solves
this issue.
2013-03-26 11:19:44 +01:00
Aparajita Fishman
bf36c40f88
Fixed: optimized selector creation
...
Use @selector, that happens at compile time, instead of CPSelectorFromString, which happens at runtime.
2013-03-14 17:06:23 -04:00
Kjell Nilsson
197decc842
Changed tooltip word to lowercase to follow other tooltip formatting
2013-03-08 13:47:46 +01:00
Kjell Nilsson
c381672aee
Added localization of tooltips with the standard localizer
2013-03-08 09:52:55 +01:00
Alexander Ljungberg
5b05dc92a1
More dictionary literals.
2013-02-25 18:27:44 +00:00