On Sun, Sep 6, 2009 at 9:20 PM, Quincey Morris
wrote:
> On Sep 6, 2009, at 17:36, John Engelhart wrote:
>
> So, since the Mac OS X documentation uses the term "interior pointer" in a
>> totally non-standard way, and I can't find anything wrt/ to what I
On Thu, Oct 1, 2009 at 7:09 PM, Colin Howarth wrote:
> Hi,
>
> I'd like my app ('tis progressing steadily :-) to read some simple tabular
> data. The original file is from Excel, but it's not too much bother to
> convert it to CSV.
>
> Searching the developer docs gets me
>
> "gestaltGraphicsVers
What follows is my $0.02, and is worth every penny you paid for it. :)
On Mon, Oct 26, 2009 at 9:45 AM, Dave Keck wrote:
> I'm planning on systematically going through each of my source files and
> updating them to be GC-supported. I've been compiling a list of things to
> do
> and to look out
On Tue, Oct 27, 2009 at 7:37 PM, Jean-Daniel Dupas
wrote:
>
> Le 27 oct. 2009 à 21:47, Alexander Cohen a écrit :
>
>
>
>> On Oct 27, 2009, at 3:42 PM, Jens Alfke wrote:
>>
>>
>>> On Oct 27, 2009, at 12:11 PM, Alexander Cohen wrote:
>>>
>>> 100% agree with you, and that's what i would normally do.
On Wed, Oct 28, 2009 at 12:21 AM, Kyle Sluder wrote:
> On Tue, Oct 27, 2009 at 8:53 PM, John Engelhart
> wrote:
> > I would *STRONGLY* advise against doing this. While it may be perfectly
> safe
> > to recursively run a CFRunLoop, this says nothing about the implications
&
On Tue, Oct 27, 2009 at 9:43 AM, Dave Keck wrote:
> Hey list,
>
> While in the process of introducing support for GC in my app, I scoured
> through the 10.5 framework headers for any methods that might return an
> interior pointer. I thought I might share my findings. Here's the command I
> used
On Wed, Oct 28, 2009 at 7:08 AM, Dave Keck wrote:
>
> I've hit several other brick walls from recursive run loops, but they
> escape me at the moment. Nonetheless, recursive run loops are a fancy
> way of blocking, and are contrary to the event-driven model that we
> know and love.
>
> I guess th
On Sat, Nov 7, 2009 at 11:01 AM, Alastair Houghton <
alast...@alastairs-place.net> wrote:
> On 7 Nov 2009, at 14:17, Ryan Homer wrote:
>
> On 2009-11-06, at 12:42 PM, Clark Cox wrote:
>>
>> Is "ü" a single character, or two characters?
>>>
>>
>> When you define a string using ü, isn't it stored
RegexKitLite 4.0 has been released. Links:
Download: http://downloads.sourceforge.net/regexkit/RegexKitLite-4.0.tar.bz2
(139.1K)
Documentation: http://regexkit.sourceforge.net/RegexKitLite/index.html
PDF Documentation:
http://downloads.sourceforge.net/regexkit/RegexKitLite-4.0.pdf (1.1M)
On a pe
On Wed, Apr 21, 2010 at 4:33 PM, Matt Neuburg wrote:
> On Tue, 20 Apr 2010 15:45:13 -0400, John Engelhart
> said:
>
> >There are an awful lot of "Top 10" applications that use RegexKitLite
> >that don't acknowledge their use
>
> "An awful lot&quo
Bad News, Everyone! -- Professor Farnsworth
I've received nearly half a dozen reports that iOS4 applications using
RegexKitLite are now being rejected when they are submitted for AppStore
approval due to violating section 3.3.1.
I don't wish to speculate publicly as to why at this point due to th
On Sun, Jun 27, 2010 at 5:18 PM, Georg Seifert wrote:
> Hi,
>
> Does anyone has information on how to use Unicode code points higher than
> 0x.
> I need to add some supplementary multilingual plane code points to a
> NSString.
>
> I can use something like this:
>NSString *aString = @"
On Sun, Jun 27, 2010 at 12:19 AM, Bill Bumgarner wrote:
>
> On Jun 26, 2010, at 9:14 PM, Tony Romano wrote:
>
> > That's why I asked for an example of what the op question is
>
> http://lists.apple.com/archives/cocoa-dev/2010/Jun/msg01040.html
>
> > This would seem to imply that a __block variabl
On Mon, Jun 14, 2010 at 8:36 PM, John Engelhart wrote:
> Bad News, Everyone! -- Professor Farnsworth
>
> I've received nearly half a dozen reports that iOS4 applications using
> RegexKitLite are now being rejected when they are submitted for AppStore
> approval due to vio
[This is a re-send as my previous message has been sitting in the moderators
queue for ~week now...]
I've got an odd question. I haven't found anything via Google that matches
it exactly, but it could be that I'm just searching for the wrong thing.
I have a need to create subclasses of NSArray a
On Fri, Mar 25, 2011 at 1:30 AM, Louis Gerbarg wrote:
> The corner case you mention below ( [myMutableArrayInstance
> isKindOfClass:[NSMutableArray class]] ) is a nonissue for a somewhat
> surprising reason. All instances of NSArray are actually implemented via the
> concrete class NSCFArray, whi
On Mon, Dec 21, 2009 at 10:37 PM, Michael Ash wrote:
> On Tue, Dec 22, 2009 at 8:54 AM, Lorenzo Thurman
> wrote:
> > Why can't iPhone apps use GC? Is it resources? Performance? Some
> combination
> > of the two or other reasons altogether?
> > Just curious, thanks.
>
> I know that this will be u
On Wed, Dec 23, 2009 at 12:05 PM, Bill Bumgarner wrote:
>
> On Dec 22, 2009, at 11:49 PM, Franck Zoccolo wrote:
>
> > You said that you're using garbage collection. When using GC retain and
> > release messages do nothing, and the retain count is not used to
> > determine when an objet can be fre
On Sun, Jan 3, 2010 at 1:40 PM, Bill Bumgarner wrote:
>
> The stack has to be conservatively scanned because the C ABI makes no
> guarantee about stack layout and the compiler is free to put values wherever
> it sees fit,
Strictly speaking, the "C" ABI does not require that a function use "the
On Sun, Jan 17, 2010 at 4:15 PM, K.Darcy Otto wrote:
> I've been working with RegexkitLite, and I'm wondering whether someone else
> who has RegexkitLite can reproduce this problem, or spot what I'm doing
> wrong:
>
> NSString *originalString =
> @"IMUIUIUIUUIUIUIUUIUIUIUUIUIUIUUIUIUIUUIUIUIUUIUI
On Tue, Jan 26, 2010 at 4:51 PM, Sean McBride wrote:
> On 1/25/10 4:49 PM, Robert Clair said:
>
> >The garbage collection docs section on the interior pointer issue shows
> >this example:
> >
> >NSData *myData = [someObject getMyData];
> >[myData retain];
> >const uint8_t *bytes = [myData bytes];
On Mon, Jul 27, 2009 at 9:02 PM, Rob Keniger wrote:
>
> On 28/07/2009, at 10:38 AM, Dave DeLong wrote:
>
> RegexKit. Without a doubt.
>>
>> http://regexkit.sourceforge.net
>>
>> I use it in about 75% of my projects.
>>
>
> RegexKit is very nice and extremely comprehensive, but it has quite a la
On Thu, Jul 30, 2009 at 8:04 PM, BareFeet wrote:
> Hi John and all,
>
> You might want to look at AGRegex which is very compact (one class) and
>>> which uses PCRE:
>>>
>>> http://colloquy.info/project/browser/trunk/Frameworks/AGRegex
>>>
>>>
>> Of note, Colloquy appears to have switched to Regex
Announcing JSONKit - http://github.com/johnezang/JSONKit A BSD Licensed
JSON serializer / deserializer.
Yes, yet another JSON library for Cocoa / Objective-C. Why another JSON
library? Well, if you assume that all the JSON libraries offer similar
functionality, that leaves one major metric that
On Thu, Nov 18, 2010 at 4:16 PM, Bill Bumgarner wrote:
>
> On Nov 18, 2010, at 1:10 PM, John Engelhart wrote:
>
> The basic premise behind self = [super init...] is that the "lower levels
> of initialization are free to return a different object than the one passed
> in&
On Sun, Dec 12, 2010 at 11:51 AM, Andreas Grosam wrote:
>
> On Dec 12, 2010, at 4:34 PM, Matt Neuburg wrote:
>
> > I feel like I'm missing something. I can't seem to typecast as CFRange to
> an NSRange.
>
> Both are distinct C structs. In C, *explicitly* typecasting one pointer to
> the other woul
On Jun 6, 2008, at 7:27 PM, Quincey Morris wrote:
On Jun 6, 2008, at 15:48, Bill Bumgarner wrote:
The garbage collector does not currently interpret inner pointers
as something that can keep an encapsulating object alive. Thus,
the behavior is undefined and that it changes between debug
On Jun 6, 2008, at 1:27 PM, Vincent E. wrote:
When I mentioned "perl -pe 's/\b(.*?)/\u\L$1/g'" I actually wasn't
asking for any ObjC method with a look-alike syntax.
I actually wouldn't give a damn about "how" ("s///g") to pass a
regex pattern to a method. ;)
I was rather asking whether Re
On Jun 7, 2008, at 7:11 PM, Chris Hanson wrote:
On Jun 6, 2008, at 5:36 PM, Quincey Morris wrote:
A little inner voice insists on asking, though, how we know some
future version of the compiler might not optimize '[data self]'
upwards before the loop, if it decides that nothing inside the
On Jun 7, 2008, at 10:10 PM, Michael Ash wrote:
On Sat, Jun 7, 2008 at 6:37 PM, Hamish Allan <[EMAIL PROTECTED]> wrote:
On Sat, Jun 7, 2008 at 7:35 PM, Michael Ash <[EMAIL PROTECTED]>
wrote:
This is pretty nitpicky. If it's in scope but you don't use it, then
it doesn't matter. Kind of lik
On Jun 8, 2008, at 11:48 PM, Chris Hanson wrote:
On Jun 8, 2008, at 5:39 PM, John Engelhart wrote:
On Jun 7, 2008, at 7:11 PM, Chris Hanson wrote:
This won't happen because each message expression -- just as with
function-call expressions -- is a sequence point. The compiler
can
On Jun 9, 2008, at 6:51 AM, Chris Hanson wrote:
On Jun 9, 2008, at 12:56 AM, John Engelhart wrote:
The semantics are preserved and identical results are calculated
(the 'meaning' is the same). The semantics do not require square()
to literally be called each time.
Yes, th
On Jun 10, 2008, at 11:28 AM, Charles Srstka wrote:
I think the problem is that if NSArray has +[NSArray array]
returning an NSArray, then NSMutableArray has to return an NSArray
also, since it can't have a different method signature for the same
method. As a result, if you called +[NSMut
A few days ago, I decided to give leopards GC system another crack.
The experience was pretty much the same as all my other experiences
have been with Leopards GC system (several days wasted). I learned
two important things that I thought I would share:
Lesson #1: If you have any interes
I've just pushed out RegexKitLite 2.0.
Documentation: http://regexkit.sourceforge.net/RegexKitLite/index.html
Download: http://downloads.sourceforge.net/regexkit/RegexKitLite-2.0.tar.bz2
(~40K)
Xcode 3.0 integrated docs:
feed://regexkit.sourceforge.net/RegexKitLiteDocSets.atom
RegexKitLite i
On Jul 17, 2008, at 10:09 AM, Philip Mötteli wrote:
Hi,
Does anybody know of a library, that takes a bunch of strings and
produces a regex-string from them?
E. g:
"Word1"
"Word2"
"Word5"
"Word8"
"Word11"
"Word19"
"Word23"
"Word45"
"Word77"
should give "Word[0-9]{1,2}". Or I would even be
On Mar 4, 2008, at 12:50 PM, Jens Alfke wrote:
On 4 Mar '08, at 3:25 AM, Jonathan Dann wrote:
That is a seriously good framework, and the documentation is great
too.
My only issue with regexkit is that it uses PCRE instead of ICU.
[disclosure: I am the author of RegexKit]
Hard to make e
On Mar 5, 2008, at 1:03 AM, Jens Alfke wrote:
On 4 Mar '08, at 8:55 PM, John Engelhart wrote:
The ICU Regex C API (the one I need to use for RegexKit, not the C+
+ one, which I haven't really looked at) is very multi-threading
unfriendly. Basically, the 'compiled' reg
I've just released what I'm calling 'RegexKitLite'. It targets a
different group of people than the full fledged RegexKit (http://regexkit.sourceforge.net/
).
I put RegexKitLite together after helping some users with some
RegexKit problems, specifically word breaking Thai. After putting
All,
I've recently released the first version of TransactionKit, which is
made of two main components: The core library, and a Foundation
compatibility API layer.
Homepage: http://transactionkit.sourceforge.net/
Documentation: http://transactionkit.sourceforge.net/Documentation/index.html
S
On Sat, Jan 17, 2009 at 7:44 PM, Scott Ribe wrote:
>> TBH (and more to the point) I strongly suspect it's true of everyone
>> who's expressed an opinion in this thread that it's not so much about
>> the suitability of the language to optimizations, but more about the
>> skill set of the individual
On Oct 14, 2008, at 7:11 AM, Chris Suter wrote:
You can't override the type for existing methods. For example,
initWithString: always returns an id. You can define them as returning
something different but the compiler will ignore it.
Just a clarification on this particular point- it is possi
This message is mostly for edification and mailing-list / searching
posterity. Hopefully others will find it useful.
There has been support for Unicode in constant @"" NSStrings since
Xcode 3.0, but it wasn't a widely known nor well documented feature
(at least, that's my impression). Prior to X
On Sat, Dec 6, 2008 at 4:07 PM, Ken Tozier <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm writing my own socket class using a bunch of BSD functions and am a
> little unclear on exactly what I should be doing to insure everything is
> cleaned up if any of the low level functions fail. If I return nil from
I'm sort of at a loss on this one...
While working on some improvements to RegexKitLite, I've come across a
bit of a problem. I'm in the middle of adding - (NSArray
*)arrayOfStringsMatching:(NSString *)regex and friends, a method that
(surprise!) returns an array of all the matches of a string fo
On Thu, Mar 12, 2009 at 11:39 AM, Bill Bumgarner wrote:
> On Mar 12, 2009, at 6:04 AM, John Engelhart wrote:
> [ way too many words deleted ... please try to succinctly state
> issues in the future ]
>
> You have created a micro benchmark that demonstrates a sig
On Thu, Mar 12, 2009 at 3:17 PM, Peter Ammon wrote:
>
> Hi John,
>
> Instead of storing each string individually into the heap, try batching up,
> say, 1k or so into a stack allocated buffer. Then use
> objc_memmove_collectable() to move them in bulk into the heap at the point
> your stack alloca
On Fri, Mar 13, 2009 at 5:28 AM, Paul Sanders wrote:
> Bill said something in passing on this issue which I think is important. To
> paraphrase: If you care about performance, don't use the Cocoa RegEx stuff
> to parse large amounts of data.
I disagree :), and I have numbers to back it up:
(Reg
On Fri, Mar 13, 2009 at 4:38 AM, Marcel Weiher wrote:
>
> On Mar 12, 2009, at 10:54 AM, Bill Bumgarner wrote:
>>
>> In the context of an application, such processing is likely to be on a
>> secondary thread and there is likely to be synchronization of data between
>> threads.
>> The overhead of t
On Fri, Mar 13, 2009 at 8:26 PM, Peter Ammon wrote:
>
> On Mar 13, 2009, at 4:47 PM, John Engelhart wrote:
>
>> On Thu, Mar 12, 2009 at 3:17 PM, Peter Ammon wrote:
>>>
>>> Hi John,
>>>
>>> Instead of storing each string individually into the
On Fri, Mar 13, 2009 at 11:21 PM, Peter Ammon wrote:
>
> I think you're saying that it's more convenient for you to work with a
> pointer than directly with an array. If so, another way you can defeat
> write barriers is with a cast to void*:
> void func(id *ptr) {
> ptr[0] = @"foo"; // <--- w
On Tue, Mar 31, 2009 at 6:21 PM, Steve Cronin wrote:
> Folks;
>
> I'm reading input from a text file (stringWithContentsOfFile) I have no
> control over.
> Testing is going well until a I encounter a phrase is wrapped in curly
> quotes.
> (Note phrases wrapped in straight quotes are fine)
>
> Wit
On Thu, Apr 23, 2009 at 9:56 PM, Wade Tregaskis wrote:
> Something I've been using as of late to make CF a little more bearable is
> the cleanup attribute offered by gcc, e.g.:
>
> static inline void _autoreleaseCFArray(CFArrayRef *array) {
>>if (NULL != *array) {
>>CFRel
All,
RegexKitLite 3.0 development is wrapping up. I'm looking for feedback
before I freeze things in an actual release, particularly from current
RegexKitLite users. Because it's not released yet, you'll need to grab it
via svn. You can do so from the shell with 'svn co
http://regexkit.svn.sourc
The release version of RegexKitLite 3.0 is now available.
You can download it at:
http://downloads.sourceforge.net/regexkit/RegexKitLite-3.0.tar.bz2
Documentation is available at:
http://regexkit.sourceforge.net/RegexKitLite/index.html
XCode 3 integrated documentation is also available: feed://
reg
55 matches
Mail list logo