Didier Korthoudt and GitHub
1caf4f99cf
Fixed: Correct / complete theme states for themed values on CPStepper ( #2930 )
2020-10-09 14:39:38 +02:00
Didier Korthoudt and GitHub
78b3887e4a
New: CSS shadow, new theme parameters and Aristo3 CSS theme ready for CPWindow ( #2927 )
2020-10-09 14:29:10 +02:00
Didier Korthoudt and GitHub
bb064aacd5
New: The ability to control CPPopoverWindow background color ( #2928 )
...
This introduces a Cappuccino specific behavior that permits to control the background color of the popover by setting a background color on the content view.
2020-10-09 13:37:47 +02:00
Didier Korthoudt and GitHub
d9e8321d9e
Fixed: CPButton's now set their font using [self font] ( #2943 )
...
The corresponding adaptation in CPControl was missing in the previous PR
2020-10-09 13:05:51 +02:00
Didier Korthoudt and GitHub
5f6df95e30
New: Modern Cocoa behavior and methods, ticked sliders and Aristo3 CSS theme ready ( #2926 )
2020-10-09 11:47:18 +02:00
Didier Korthoudt and GitHub
ef779c346e
New: Support modern Cocoa behavior regarding radio buttons groups. ( #2941 )
2020-10-09 09:35:56 +02:00
Martin Carlberg and GitHub
c1543d4a2f
Fixed: Loading cached theme attributes will miss previous cached values if superclass is done before subclass ( #2892 )
2020-10-02 16:01:30 +02:00
Didier Korthoudt and GitHub
9145e27009
Fixed: Aristo3 CSS theme ready and replaces setTextFieldBackgroundColor by setBackgroundColor for CPTextField ( #2925 )
2020-10-02 14:47:50 +02:00
Didier Korthoudt and GitHub
299f1a9102
Fixed: Aristo3 ready and compatible with new button state management for CPRadio ( #2922 )
2020-10-02 14:03:25 +02:00
bedalton and GitHub
6eab438778
Fixed: CPKeyedArchiver method call does not match selector tested ( #2904 )
...
Delegate methods described on lines 76 and 85 are not the selectors
checked on lines 305 and line 302, but are the methods actually called
on the delegate on lines 195 and 225. This fix updates the method
selectors checked on the delegate, to match those defined and called
within the CPKeyedArchiver class.
Fixes #2679
2020-10-02 13:52:42 +02:00
Didier Korthoudt and GitHub
2a623fbb8c
Fixed: correct mask values used to determine image position for NSButton.j ( #2906 )
2020-10-02 13:49:11 +02:00
Didier Korthoudt and GitHub
7bde091f1b
FIXED: when using a custom view with subviews, subviews were presented in the reversed order ( #2913 )
2020-10-02 13:31:45 +02:00
Didier Korthoudt and GitHub
412baf7872
Fixed: Aristo3 ready and modern Cocoa behavior for CPBox ( #2924 )
2020-10-02 13:28:06 +02:00
Didier Korthoudt and GitHub
010057d9e1
New: CPCheckBox Aristo3 ready and compatible with new button state management ( #2921 )
2020-10-02 13:05:59 +02:00
Didier Korthoudt and GitHub
6c7d8df565
Aristo3: CPButton ( #2920 )
2020-10-02 12:59:32 +02:00
Didier Korthoudt and GitHub
92598da06f
New: themable-system-font ( #2919 )
2020-10-02 12:55:32 +02:00
Didier Korthoudt and GitHub
601d6f7c6c
New: class method to BKThemeDescriptor that enables a view to inherit theme values of another view ( #2916 )
2020-10-02 12:31:22 +02:00
Didier Korthoudt and GitHub
e13cebaa3a
NEW: Material icon image ( #2909 )
2020-10-02 12:13:00 +02:00
Didier Korthoudt and GitHub
5724868c5a
Fixed: restorePreviousCSSState method for CPColor must be a class method for internal reasons ( #2912 )
2020-10-02 10:58:20 +02:00
Didier Korthoudt and GitHub
03972f0aec
Fixed: The classname for CSS theming on CPImage was not specified in the correct DOM element ( #2908 )
2020-10-02 10:55:55 +02:00
Didier Korthoudt and GitHub
6143ec4180
Fixed: Theme compilation problem because of lack of rgba capability of the compiler environment.( #2910 )
2020-09-11 09:01:33 +02:00
Didier Korthoudt and GitHub
c30464ee77
New: This adds the CSS dictionaries to the description of the color ( #2911 )
2020-09-11 08:55:10 +02:00
cacaodev and GitHub
1e1e6456cd
Merge pull request #2902 from daboe01/test-attributedString-replacing
...
new: unittest for replaceOccurrencesOfString:withString:options:range:
2020-09-02 18:26:14 +02:00
cacaodev and GitHub
6c46bb4756
Merge pull request #2940 from didierkorthoudt/031-CPViewAnimator-fix
...
FIXED: This PR fixes correct parameter type in CPViewAnimator -setAlphaValue
2020-09-02 18:21:45 +02:00
Didier Korthoudt
5ac6b1d1f1
Update CPViewAnimator.j
...
This fixes parameter type.
2020-08-30 10:01:11 +02:00
daboe01
9c95c9c6e9
formatting
2020-07-13 20:37:52 +02:00
daboe01
4b052e74f1
test whether range restriction works
2020-07-05 16:06:04 +02:00
daboe01
bd6b8e4b7f
fixed: comparison between wrong objects
2020-07-03 21:27:48 +02:00
daboe01
26e8432bb0
debugging
2020-07-03 19:55:51 +02:00
daboe01
05f9fd22fe
formatting
2020-07-03 19:36:06 +02:00
daboe01
8f5bde2797
new: unittest for replaceOccurrencesOfString:withString:options:range:
2020-07-02 19:38:34 +02:00
daboe01 and GitHub
77fe16faec
Fixed: background color attribute was ignored by CPTextView ( #2899 )
2020-07-01 16:33:07 +02:00
Martin Carlberg and GitHub
38dd776049
Fixed: JavaScriptCore (WebKit) has a limit at 65536 on number of arguments in a function. ( #2891 )
...
The compiler will crash for really large Objective-J files as the array with code segments will hit this limit.
The solution is to append the array segment by segment.
2020-06-30 20:53:28 +02:00
daboe01 and GitHub
7e3c4074e4
New: replaceOccurrencesOfString:(CPString)target withString:(CPString… ( #2900 )
...
New: replaceOccurrencesOfString:(CPString)target withString:(CPString)replacement options:(int)options range:(CSRange)searchRange
2020-06-30 20:52:34 +02:00
cacaodev and GitHub
89c8f8e80f
Merge pull request #2895 from mrcarlberg/bad_merge
...
Fixed: Removed old unused line from a bad manual merge
2020-05-05 08:38:05 +02:00
Martin Carlberg
7397e681f4
Fixed: Removed old unused line from a bad manual merge
2020-05-04 13:42:37 +02:00
Didier Korthoudt and GitHub
e7d5afe90e
New: Added dynamic attributes set for CSS based themes ( #2701 )
2020-04-06 13:10:34 +02:00
Didier Korthoudt and GitHub
2d9d354a05
Fixed: When a CPSearchField predicate was bound specifying a predicate format using more than one time the value of the search field ($value), only the first occurence was correctly set, others were set to null ( #2777 )
2020-04-06 13:03:57 +02:00
Didier Korthoudt and GitHub
60a686d75c
Fixed: _CPMenuItemStandardView didn't take in account the left-margin theme attribute ( #2689 )
2020-04-06 09:18:31 +02:00
Didier Korthoudt and GitHub
89b70843c7
Fixed: Nib2cib was using hard coded frame adjustment for CPBox ( #2761 )
2020-04-06 09:17:05 +02:00
Didier Korthoudt and GitHub
617987f4a5
Fixed: CPTextField forced height to 29 instead of using theme value min-size ( #2688 )
2020-03-17 09:14:25 +01:00
daboe01 and GitHub
5bb338d6ec
New: CPTextField now supports the CPEditorRegistrationProtocol ( #2169 )
2020-03-11 10:30:00 +01:00
Didier Korthoudt and GitHub
8003d91c4a
Fixed: [CPControl setTextColor:] was missing theme state attribute ( #2828 )
2020-03-11 10:20:04 +01:00
Didier Korthoudt and GitHub
a4ef18ddab
FIXED: Before this PR, only CPControl could use nib2cib-adjustment-frame. ( #2831 )
2020-03-11 10:17:14 +01:00
daboe01 and GitHub
82e55b4761
Fixed: _glyphsFrames and _glyphsOffsets could be used uninitialized in CPTextView ( #2886 )
2020-03-03 17:04:52 +01:00
Didier Korthoudt and GitHub
3a51c386ca
Fixed: Before this PR, a click in a not first key responder CPTextField would misplace the caret if text alignment was not CPLeftTextAlignment #2887
...
Adapts the calculation of where in the textfield text the mouse is clicked to take in account the text alignment
2020-03-03 17:02:42 +01:00
Didier Korthoudt and GitHub
9868519cc0
Fix: Before this PR, the method attributeBySettingValue ignored existing values #2888
2020-03-03 16:43:29 +01:00
Didier Korthoudt and GitHub
038c007915
FIXED: Before this PR, CPButton never declares that its label should be single line ( #2889 )
2020-03-03 13:44:07 +01:00
Didier Korthoudt and GitHub
ba6350e24d
NEW: CPSplitView modern Cocoa behavior implementation ( #2876 )
2020-02-21 14:32:53 +01:00
Martin Carlberg and GitHub
1c866931f3
New: The compiler will now create warnings for variables that are never read ( #2871 )
...
This new warning adds a lot of warnings in the Cappuccino frameworks. I have turned off
the warning in the Jakefiles when compiling most of the Cappuccino frameworks. But it is
on as default for any user projects.
So there is also a new feature to turn off/on warnings as a compiler flag.
These flags are (all flags are on as default):
-Wunused-but-set-variable Warning when a local variable is never read.
-Wshadow-ivar Warning when a local variable is shadowing an instance variable for the class.
-Wcreate-global-inside-function-or-method Warning when creating a global variable inside a function or method.
-Wunknown-class-or-global Warning when a class or global variable is not known.
-Wunknown-ivar-type Warning when the type for an instance variable is not known.
To turn off a flag add a 'no-' prefix. Example: -Wno-unused-but-set-variable
For an example how to use it in a Jakefile please look at the Jakefiles in this commit.
2020-02-21 14:29:48 +01:00