fore
> the last commit on base.
>
>
> GUI failes to build at all, with an error related to NSPredicate :
>
> Compiling file NSObjectController.m ...
> In file included from NSObjectController.m:31:
> /GNUstep/System/Library/Headers/Foundation/NSPredicate.h:41:82: error: type
&
with a snapshot of base downloaded yertersday
before the last commit on base.
GUI failes to build at all, with an error related to NSPredicate :
Compiling file NSObjectController.m ...
In file included from NSObjectController.m:31:
/GNUstep/System/Library/Headers/Foundation/NSPredicate.h:41:82: error
Hi dear list members,
IMHO the following code in NSPredicate.m is wrong:
(line 944 ff.)
NSString *regex;
/* The right hand is a pattern with '?' meaning match one character,
* and '*' meaning match zero or more characters, so translate that
* into a
only if the replacements shown above are removed.
So the stringByReplacingOccurrencesOfString calls must replace only those *
or ? in the string that are not escaped. Any objections?
I'm not familiar with NSPredicate, but ues, it sounds like OSX supports
backslashes for escaping wildcards
Hi dear list members,
I came across the following code in NSPredicate.m:
( it's in
- (BOOL) _evaluateLeftValue: (id)leftResult
rightValue: (id)rightResult
object: (id)object
line 968ff.)
case NSEndsWithPredicateOperatorType:
{
On 13 Feb 2014, at 15:25, Mathias Bauer mathias_ba...@gmx.net wrote:
Hi dear list members,
I came across the following code in NSPredicate.m:
( it's in
- (BOOL) _evaluateLeftValue: (id)leftResult
rightValue: (id)rightResult
object: (id)object
line
Hi,
I prefer the HOM approach, more OO-ish. I will try it up. Thanks for the
info.
On Tue, Oct 5, 2010 at 2:44 AM, Niels Grewe niels.gr...@halbordnung.dewrote:
On Tue, Oct 05, 2010 at 12:07:33AM +0800, Koh Nyap-Hong wrote:
Yes, basically what I want to do with NSPredicate can actually
On 5 Oct 2010, at 09:58, Koh Nyap-Hong wrote:
Hi,
I prefer the HOM approach, more OO-ish. I will try it up. Thanks for the
info.
Niels wrote a detailed blog entry about the HOM stuff in EtoileFoundation here:
http://etoileos.com/news/archive/2009/07/02/0217/
I've also written an
On 3 Oct 2010, at 14:29, Koh Nyap-Hong wrote:
Hi List,
I with to filter array using NSPredicate (seems a lot more easier than while
loop with NSEnumerator), after read through some cocoa examples online, I run
a simple test using the following codes:
NSArray *pitches = [NSArray
Hi Richard,
Thanks for the reply. I have modified third statement with 'description'
replaces 'SELF' and removed the single quote and tested it is actually
working.
Yes, basically what I want to do with NSPredicate can actually achieved
using the traditionally way of while/for loop. However I
, that will not work as expected.
But I am currently using EOF/GDL on GNUstep and NSPredicate only on the iPhone.
Cheers
Dave
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
On Tue, Oct 05, 2010 at 12:07:33AM +0800, Koh Nyap-Hong wrote:
Yes, basically what I want to do with NSPredicate can actually achieved using
the traditionally way of while/for loop. However I was recently impressed by
functional programming way of filtering array/list, I would like to try
What types of syntax can and cannot be used in NSPredicate?
When I use
companyName CONTAINS 'Corp'
I get:
NAME:NSInvalidArgumentException REASON:Format string contains
extra characters: companyName CONTAINS 'Corp'
___
Discuss-gnustep
Samantha Rahn wrote:
What types of syntax can and cannot be used in NSPredicate?
When I use
companyName CONTAINS 'Corp'
I get:
NAME:NSInvalidArgumentException REASON:Format string contains
extra characters: companyName CONTAINS 'Corp'
I had a look at the source code
On 31 Oct 2008, at 20:20, Fred Kiefer wrote:
Samantha Rahn wrote:
What types of syntax can and cannot be used in NSPredicate?
When I use
companyName CONTAINS 'Corp'
I get:
NAME:NSInvalidArgumentException REASON:Format string contains
extra characters: companyName CONTAINS 'Corp
Richard Frith-Macdonald wrote:
On 31 Oct 2008, at 20:20, Fred Kiefer wrote:
Samantha Rahn wrote:
What types of syntax can and cannot be used in NSPredicate?
When I use
companyName CONTAINS 'Corp'
I get:
NAME:NSInvalidArgumentException REASON:Format string contains
extra
Richard,
can you help us on this?
Yen-Ju Chen wrote:
Just confirm that NSPredicate works except the %d.
But it is not a big issue and can easily work around.
My current idea for this problem is to pre-parse the format string for
the va_list case and store the arguments in an NSArray
at the
%d problem.
Thanx. I will try again later.
Just confirm that NSPredicate works except the %d.
But it is not a big issue and can easily work around.
Thanx.
Yen-Ju
Yen-Ju
Cheers,
Fred
___
Discuss-gnustep mailing list
Discuss
Yen-Ju Chen wrote:
On 6/9/07, Fred Kiefer [EMAIL PROTECTED] wrote:
There are plenty of other problems with predicates that your tests
uncovered. For example we don't support ==, but have =. Which of
them should we have? Both?
Fixed
Also the IN operator will only work for strings, not for a
Yen-Ju Chen wrote:
On 5/23/07, Fred Kiefer [EMAIL PROTECTED] wrote:
Triggered by this mail, I set down and wrote some code for NSPredicate
and NSExpression to make these classes (and their subclasses) at least
usable. They are still far away from being complete, but it would be
nice
On 6/9/07, Fred Kiefer [EMAIL PROTECTED] wrote:
Yen-Ju Chen wrote:
On 5/23/07, Fred Kiefer [EMAIL PROTECTED] wrote:
Triggered by this mail, I set down and wrote some code for NSPredicate
and NSExpression to make these classes (and their subclasses) at least
usable. They are still far away
On 5/23/07, Fred Kiefer [EMAIL PROTECTED] wrote:
Triggered by this mail, I set down and wrote some code for NSPredicate
and NSExpression to make these classes (and their subclasses) at least
usable. They are still far away from being complete, but it would be
nice if somebody actually tested
Hello,
It seems that NSPredicate lacks a method called evaluateWithObject:
Without this method, it's impossible to perform filtering.
Are they any plans to implement this method ?
PS: I am completely new here so forgive me if I am missing something in
the code
Where is this class, NSPredicate, currently situated in GNUstep. I
searched the old mailing list entries and found that Helge claimed it
belongs into Core Data, while others did see it in Foundation.
What I tried to do was compile the GSCoreData
(http://gscoredata.nongnu.org) implementation
On 8. Mai 2006, at 15:33 Uhr, Fred Kiefer wrote:
Where is this class, NSPredicate, currently situated in GNUstep. I
searched the old mailing list entries and found that Helge claimed it
belongs into Core Data, while others did see it in Foundation.
Thats not entirely correct :-)
The header
Richard Frith-Macdonald schrieb:
On 3 Feb 2006, at 21:24, [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schrieb:
I'm very interested in that, as I've been wanting to restructure to
get all the I/O code using a single underlying API for a few years
now, but never had the time to do it.
On Tue, Feb 14, 2006 at 02:04:36AM -0800, [EMAIL PROTECTED] wrote:
This could especially be important for the mingw32 API which might have
its special issues. I personally have no
experience with that so I have used the standard POSIX socket(),
select(), connect(), listen() calls - assuming a
Richard Frith-Macdonald [EMAIL PROTECTED] writes:
I'm very interested in that, as I've been wanting to restructure to
get all the I/O code using a single underlying API for a few years
now, but never had the time to do it. Of course, it *must* work on
mingw32 (ie native windows API) and be
[EMAIL PROTECTED] schrieb:
I am currently also working on that in my efforts to make mySTEP more
compatible to the 10.4 documentation of Foundation.framework.
I hope that I have this (together with the recently mentioned
NSPredicate/NSExpression code) ready for publication within 4 weeks
Quoting [EMAIL PROTECTED]:
Neither...
NSPredicate and NSExpression are defined in Foundation - they simply
describe a query. They evaluate on NSObjects (NSString, NSArray,
NSNumber, NSDictionary etc.). A reference is
http://cocoadevcentral.com/articles/86.php (page 14).
Storage (Core
Neither...
NSPredicate and NSExpression are defined in Foundation - they simply
describe a query. They evaluate on NSObjects (NSString, NSArray,
NSNumber, NSDictionary etc.). A reference is
http://cocoadevcentral.com/articles/86.php (page 14).
Storage (Core Data) is not handled by Foundation
On 9 Jan 2006 01:51:00 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[snip]
Yes,
I am currently working to add this to mySTEP. When it works, it needs
to be integrated back into the GNUstep mainstream.
Then I am curious which backing store you use ? SQLite or
CoreData-like library ?
Yen-Ju Chen schrieb:
Hi,
I just wonder whether anyone works on NSPredicate and related
classes from Apple's Foundation ?
Thanx.
Yen-Ju
Yes,
I am currently working to add this to mySTEP. When it works, it needs
to be integrated back into the GNUstep mainstream.
-- hns
Quoting Quentin Mathé [EMAIL PROTECTED]:
Le 23 oct. 05 à 19:31, Alex Perez a écrit :
Enrico Sersale wrote:
So, the question is: is somebody working at NSPredicate (and at
the other NSMetadata* classes)?
Quentin has, AFAIR.
That's true for NSPredicate, but they are still
On Oct 24, 2005, at 10:46, Sašo Kiselkov wrote:
BTW: I can't stuff NSPredicate into GSCoreData, since it's a
Foundation class,
not Core Data.
I think this stuff is actually in CoreData, just like
Foundation/NSURLRequest is in WebKit and not available w/o it. Some of
the newer OSX framework
.
But NSMetadataQuery needs NSPredicate and I think that I can't write it.
So, the question is: is somebody working at NSPredicate (and at the other
NSMetadata* classes)?
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo
Enrico Sersale wrote:
So, the question is: is somebody working at NSPredicate (and at the
other NSMetadata* classes)?
Quentin has, AFAIR.
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss
On 10/23/05, Enrico Sersale [EMAIL PROTECTED] wrote:
[snip]
So, the question is: is somebody working at NSPredicate (and at the other
NSMetadata* classes)?
We have a search engine based on Apache Lucene in Etoile.
Therefore, the NSPredicate and related classes are a big welcome.
Yen-Ju
Le 23 oct. 05 à 19:31, Alex Perez a écrit :
Enrico Sersale wrote:
So, the question is: is somebody working at NSPredicate (and at
the other NSMetadata* classes)?
Quentin has, AFAIR.
That's true for NSPredicate, but they are still unfinished, I have
sent my last version to Saso
39 matches
Mail list logo