• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

An Objective-C wrapper for Mac OS X’s FSEvents C API.


コミットメタ情報

リビジョン1ccca38174ac4b4e13ce7ab992d7a83e4b49fe00 (tree)
日時2011-02-14 11:57:30
作者Aron Cedercrantz <aron@cede...>
コミッターAron Cedercrantz

ログメッセージ

Fixed a bug in the test app which could cause an exception to be raised.

変更サマリ

差分

--- a/TestApp/CDEventsTestAppController.m
+++ b/TestApp/CDEventsTestAppController.m
@@ -34,13 +34,13 @@
3434 @implementation CDEventsTestAppController
3535
3636 - (void)run
37-{
37+{
3838 NSArray *watchedURLs = [NSArray arrayWithObject:
3939 [NSURL URLWithString:[NSHomeDirectory()
4040 stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]];
4141 NSArray *excludeURLs = [NSMutableArray arrayWithObject:
42- [[NSHomeDirectory() stringByAppendingPathComponent:@"Downloads"]
43- stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
42+ [NSURL URLWithString:[[NSHomeDirectory() stringByAppendingPathComponent:@"Downloads"]
43+ stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]];
4444
4545 _events = [[CDEvents alloc] initWithURLs:watchedURLs
4646 delegate:self
@@ -50,6 +50,7 @@
5050 ignoreEventsFromSubDirs:CD_EVENTS_DEFAULT_IGNORE_EVENT_FROM_SUB_DIRS
5151 excludeURLs:excludeURLs
5252 streamCreationFlags:kCDEventsDefaultEventStreamFlags];
53+ //[_events setIgnoreEventsFromSubDirectories:YES];
5354
5455 NSLog(@"-[CDEventsTestAppController run]:\n%@\n------\n%@",
5556 _events,