Commit graph

26 commits

Author SHA1 Message Date
Gregory John Casamento
21d0bc906e Fix issues pointed out by @fredkiefer 2024-08-04 18:44:01 -04:00
Gregory John Casamento
3d59afd2c9 Improvements, per discussion with @fredkiefer 2024-07-27 17:37:04 -04:00
Gregory John Casamento
aa4f9b5dbf Remove NSString category per discussion with @fredkiefer 2024-06-29 21:48:27 -04:00
Gregory John Casamento
6b808f2d24 Whitespace cleanup, remove unneeded methods, remove NSLogs 2024-06-27 05:54:06 -04:00
Gregory John Casamento
fb2f605e18 Update drawing code to handle binding, add NSString private method to helpers, remove debugging code from binding connector and outline 2024-06-26 18:17:21 -04:00
Gregory John Casamento
f7afc331eb Interim changes before refactor of NSTreeController 2024-06-24 08:50:22 -04:00
Gregory John Casamento
bfb33156cf Move code over from old branch, startint new branch since NSOutlineView was refactored 2024-06-19 01:46:27 -04:00
rfm
f93ca6eeb6 Don't use lazy locks any more 2024-05-30 11:15:19 +01:00
Fred Kiefer
0576f2736b * Source/NSControl.m (-textDidChange:): If there is a binding with
continious update, pass on the changed text.
* Source/GSXibElement.m: Correct the handling of boolean values in attributes.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Prevent recursion when
reverseSetValue: is used.
* Source/NSTextField.m (-textDidChange:): Remove empty code line.
2021-03-27 21:20:28 +01:00
fredkiefer
50bc834ddc Add decoding of binding options and handle bindings to arrays
with transformations correctly.
2020-01-19 13:08:58 +01:00
fredkiefer
00bb2396a6 Diverse imporvements to get my XIB5 test application running. 2020-01-18 16:03:24 +01:00
fredkiefer
f2ebe775d9 * Headers/AppKit/NSKeyValueBinding.h,
* Source/NSKeyValueBinding.m: Add helper function NSIsControllerMarker.
2018-02-26 00:13:15 +01:00
Fred Kiefer
e8d2648aca * Headers/AppKit/NSKeyValueBinding.h,
* Source/externs.m: Additional binding names.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Additional helper methods.
* Source/NSObjectController.m: Use helper methods.
* Source/NSArrayController.m: Signal when the arranged objects
change.
* Source/NSTableColumn.m,
* Source/NSTableView.m: First attempt at support for content
binding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34923 72102866-910b-0410-8b05-ffd578937521
2012-03-12 12:24:17 +00:00
Fred Kiefer
d0d0df78ee * Source/NSKeyValueBinding.m ([GSKeyValueBinding-transformValue:withOptions:]):
Don't use @"" when no null placeholder is defined.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34135 72102866-910b-0410-8b05-ffd578937521
2011-11-07 20:46:55 +00:00
Fred Kiefer
a953d2bda0 Release the key value binding as it will be
retained in the binding table.
Leak found by static code analyser.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32484 72102866-910b-0410-8b05-ffd578937521
2011-03-07 13:35:37 +00:00
Fred Kiefer
2d01942e4b Replace #include -> #import
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
2011-03-04 11:33:22 +00:00
Fred Kiefer
8ed4d5e90e Small bug fixes for NSKeyValueBinding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28367 72102866-910b-0410-8b05-ffd578937521
2009-06-21 22:21:26 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Xavier Glattard
33c97236b6 Small fix in KVB to allow binding to a key path
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26384 72102866-910b-0410-8b05-ffd578937521
2008-03-28 18:50:52 +00:00
Fred Kiefer
c05373d580 Inore observer calls with empty change information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26168 72102866-910b-0410-8b05-ffd578937521
2008-03-01 20:34:38 +00:00
Fred Kiefer
25386c9ae8 Correct bug in last KVB change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25946 72102866-910b-0410-8b05-ffd578937521
2008-01-14 13:08:02 +00:00
Fred Kiefer
6672739afd Add reverse value change methods for bindings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25935 72102866-910b-0410-8b05-ffd578937521
2008-01-13 18:08:35 +00:00
Fred Kiefer
295b663a75 Rewrote KVB to use separate binding class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25728 72102866-910b-0410-8b05-ffd578937521
2007-12-13 01:10:09 +00:00
Fred Kiefer
311bead94e Swap destination and source in NIB binding connector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25727 72102866-910b-0410-8b05-ffd578937521
2007-12-12 08:39:44 +00:00
Fred Kiefer
f9bcb8cc27 Fix core dump from lst commit. Sorry!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25726 72102866-910b-0410-8b05-ffd578937521
2007-12-12 08:16:23 +00:00
Fred Kiefer
5966ffcd3f Key binding patch by Chris Farber <chris@chrisfarber.net>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25724 72102866-910b-0410-8b05-ffd578937521
2007-12-11 18:50:42 +00:00