rb-fsevent 0.9.2 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/Gemfile +3 -0
  4. data/Guardfile +8 -0
  5. data/{LICENSE → LICENSE.txt} +3 -1
  6. data/README.md +260 -0
  7. data/Rakefile +33 -0
  8. data/bin/fsevent_watch +0 -0
  9. data/ext/{fsevent_watch/LICENSE → LICENSE} +1 -1
  10. data/ext/fsevent_watch/FSEventsFix.c +626 -0
  11. data/ext/fsevent_watch/FSEventsFix.h +105 -0
  12. data/ext/fsevent_watch/{fsevent_watch/TSICTString.c → TSICTString.c} +34 -55
  13. data/ext/fsevent_watch/{fsevent_watch/TSICTString.h → TSICTString.h} +0 -0
  14. data/ext/fsevent_watch/{fsevent_watch/cli.c → cli.c} +48 -7
  15. data/ext/fsevent_watch/{fsevent_watch/cli.h → cli.h} +3 -3
  16. data/ext/fsevent_watch/{fsevent_watch/common.h → common.h} +1 -13
  17. data/ext/fsevent_watch/compat.c +41 -0
  18. data/ext/fsevent_watch/compat.h +100 -0
  19. data/ext/fsevent_watch/defines.h +42 -0
  20. data/ext/fsevent_watch/{fsevent_watch/main.c → main.c} +101 -62
  21. data/ext/fsevent_watch/signal_handlers.c +66 -0
  22. data/ext/fsevent_watch/signal_handlers.h +16 -0
  23. data/ext/rakefile.rb +225 -41
  24. data/lib/otnetstring.rb +85 -0
  25. data/lib/rb-fsevent/fsevent.rb +53 -7
  26. data/lib/rb-fsevent/version.rb +3 -1
  27. data/lib/rb-fsevent.rb +2 -1
  28. data/rb-fsevent.gemspec +26 -0
  29. metadata +53 -56
  30. data/README.rdoc +0 -255
  31. data/ext/fsevent_watch/Info.plist +0 -38
  32. data/ext/fsevent_watch/fsevent_watch/compat.c +0 -20
  33. data/ext/fsevent_watch/fsevent_watch/compat.h +0 -40
  34. data/ext/fsevent_watch/fsevent_watch.xcodeproj/project.pbxproj +0 -254
  35. data/ext/fsevent_watch/xcconfig/Common.xcconfig +0 -82
  36. data/ext/fsevent_watch/xcconfig/Debug.xcconfig +0 -19
  37. data/ext/fsevent_watch/xcconfig/Release.xcconfig +0 -23
  38. data/ext/fsevent_watch/xcconfig/fsevent_watch.xcconfig +0 -17
  39. data/ext/rb-fsevent.xcconfig +0 -33
data/README.rdoc DELETED
@@ -1,255 +0,0 @@
1
- = rb-fsevent
2
-
3
- Very simple & usable Mac OSX FSEvents API
4
-
5
- - RubyCocoa not required!
6
- - Signals are working (really)
7
- - Tested on MRI 1.8.7 & 1.9.2, JRuby 1.6.3
8
- - Tested on 10.6 & 10.7 (though 10.5 should work just as well)
9
- - Tested with XCode 3.2.6, 4.0.2, 4.1, 4.2b5
10
-
11
- == Install
12
-
13
- gem install rb-fsevent
14
-
15
- == Usage
16
-
17
- === Singular path
18
-
19
- require 'rb-fsevent'
20
-
21
- fsevent = FSEvent.new
22
- fsevent.watch Dir.pwd do |directories|
23
- puts "Detected change inside: #{directories.inspect}"
24
- end
25
- fsevent.run
26
-
27
- === Multiple paths
28
-
29
- require 'rb-fsevent'
30
-
31
- paths = ['/tmp/path/one', '/tmp/path/two', Dir.pwd]
32
-
33
- fsevent = FSEvent.new
34
- fsevent.watch paths do |directories|
35
- puts "Detected change inside: #{directories.inspect}"
36
- end
37
- fsevent.run
38
-
39
- === Multiple paths and additional options as a Hash
40
-
41
- require 'rb-fsevent'
42
-
43
- paths = ['/tmp/path/one', '/tmp/path/two', Dir.pwd]
44
- options = {:latency => 1.5, :no_defer => true }
45
-
46
- fsevent = FSEvent.new
47
- fsevent.watch paths, options do |directories|
48
- puts "Detected change inside: #{directories.inspect}"
49
- end
50
- fsevent.run
51
-
52
- === Multiple paths and additional options as an Array
53
-
54
- require 'rb-fsevent'
55
-
56
- paths = ['/tmp/path/one', '/tmp/path/two', Dir.pwd]
57
- options = ['--latency', 1.5, '--no-defer']
58
-
59
- fsevent = FSEvent.new
60
- fsevent.watch paths, options do |directories|
61
- puts "Detected change inside: #{directories.inspect}"
62
- end
63
- fsevent.run
64
-
65
- == Options
66
-
67
- When defining options using a hash or hash-like object, it gets checked for validity and converted to the appropriate fsevent_watch commandline arguments array when the FSEvent class is instantiated. This is obviously the safest and preferred method of passing in options.
68
-
69
- You may, however, choose to pass in an array of commandline arguments as your options value and it will be passed on, unmodified, to the fsevent_watch binary when called.
70
-
71
- So far, the following options are supported...
72
-
73
- - :latency => 0.5 # in seconds
74
- - :no_defer => true
75
- - :watch_root => true
76
- - :since_when => 18446744073709551615 # an FSEventStreamEventId
77
-
78
- === Latency
79
-
80
- The :latency parameter determines how long the service should wait after the first event before passing that information along to the client. If your latency is set to 4 seconds, and 300 changes occur in the first three, then the callback will be fired only once. If latency is set to 0.1 in the exact same scenario, you will see that callback fire somewhere closer to between 25 and 30 times.
81
-
82
- Setting a higher latency value allows for more effective temporal coalescing, resulting in fewer callbacks and greater overall efficiency... at the cost of apparent responsiveness. Setting this to a reasonably high value (and NOT setting :no_defer) is particularly well suited for background, daemon, or batch processing applications.
83
-
84
- Implementation note: It appears that FSEvents will only coalesce events from a maximum of 32 distinct subpaths, making the above completely accurate only when events are to fewer than 32 subpaths. Creating 300 files in one directory, for example, or 30 files in 10 subdirectories, but not 300 files within 300 subdirectories. In the latter case, you may receive 31 callbacks in one go after the latency period. As this appears to be an implementation detail, the number could potentially differ across OS revisions. It is entirely possible that this number is somehow configurable, but I have not yet discovered an accepted method of doing so.
85
-
86
- === NoDefer
87
-
88
- The :no_defer option changes the behavior of the latency parameter completely. Rather than waiting for $latency period of time before sending along events in an attempt to coalesce a potential deluge ahead of time, that first event is sent along to the client immediately and is followed by a $latency period of silence before sending along any additional events that occurred within that period.
89
-
90
- This behavior is particularly useful for interactive applications where that feeling of apparent responsiveness is most important, but you still don't want to get overwhelmed by a series of events that occur in rapid succession.
91
-
92
- === WatchRoot
93
-
94
- The :watch_root option allows for catching the scenario where you start watching "~/src/demo_project" and either it is later renamed to "~/src/awesome_sauce_3000" or the path changes in such a manner that the original directory is now at "~/clients/foo/iteration4/demo_project".
95
-
96
- Unfortunately, while this behavior is somewhat supported in the fsevent_watch binary built as part of this project, support for passing across detailed metadata is not (yet). As a result, you would not receive the appropriate RootChanged event and be able to react appropriately. Also, since the C code doesn't open watched directories and retain that file descriptor as part of path-specific callback metadata, we are unable to issue an F_GETPATH fcntl() to determine the directory's new path.
97
-
98
- Please do not use this option until proper support is added in an upcoming (planned) release.
99
-
100
- === SinceWhen
101
-
102
- The FSEventStreamEventId passed in to :since_when is used as a base for reacting to historic events. Unfortunately, not only is the metadata for transitioning from historic to live events not currently passed along, but it is incorrectly passed as a change event on the root path, and only per-host event streams are currently supported. When using per-host event streams, the event IDs are not guaranteed to be unique or contiguous when shared volumes (firewire/USB/net/etc) are used on multiple macs.
103
-
104
- Please do not use this option until proper support is added in an upcoming (planned) release, unless it's acceptable for you to receive that one fake event that's handled incorrectly when events transition from historical to live. Even in that scenario, there's no metadata available for determining the FSEventStreamEventId of the last received event.
105
-
106
- WARNING: passing in 0 as the parameter to :since_when will return events for every directory modified since "the beginning of time".
107
-
108
- == Debugging output
109
-
110
- If the gem is installed with the environment variable FWDEBUG set to the string "true", then fsevent_watch will be built with its various DEBUG sections defined, and the output to STDERR is truly verbose (and hopefully helpful in debugging your application and not just fsevent_watch itself). If enough people find this to be directly useful when developing code that makes use of rb-fsevent, then it wouldn't be hard to clean this up and make it a feature enabled by a commandline argument instead. Until somebody files an issue, however, I will assume otherwise.
111
-
112
- append_path called for: /tmp/moo/cow/
113
- resolved path to: /private/tmp/moo/cow
114
-
115
- config.sinceWhen 18446744073709551615
116
- config.latency 0.300000
117
- config.flags 00000000
118
- config.paths
119
- /private/tmp/moo/cow
120
-
121
- FSEventStreamRef @ 0x100108540:
122
- allocator = 0x7fff705a4ee0
123
- callback = 0x10000151e
124
- context = {0, 0x0, 0x0, 0x0, 0x0}
125
- numPathsToWatch = 1
126
- pathsToWatch = 0x7fff705a4ee0
127
- pathsToWatch[0] = '/private/tmp/moo/cow'
128
- latestEventId = -1
129
- latency = 300000 (microseconds)
130
- flags = 0x00000000
131
- runLoop = 0x0
132
- runLoopMode = 0x0
133
-
134
-
135
- FSEventStreamCallback fired!
136
- numEvents: 32
137
- event path: /private/tmp/moo/cow/1/a/
138
- event flags: 00000000
139
- event ID: 1023767
140
- event path: /private/tmp/moo/cow/1/b/
141
- event flags: 00000000
142
- event ID: 1023782
143
- event path: /private/tmp/moo/cow/1/c/
144
- event flags: 00000000
145
- event ID: 1023797
146
- event path: /private/tmp/moo/cow/1/d/
147
- event flags: 00000000
148
- event ID: 1023812
149
- event path: /private/tmp/moo/cow/1/e/
150
- event flags: 00000000
151
- event ID: 1023827
152
- event path: /private/tmp/moo/cow/1/f/
153
- event flags: 00000000
154
- event ID: 1023842
155
- event path: /private/tmp/moo/cow/1/g/
156
- event flags: 00000000
157
- event ID: 1023857
158
- event path: /private/tmp/moo/cow/1/h/
159
- event flags: 00000000
160
- event ID: 1023872
161
- event path: /private/tmp/moo/cow/1/i/
162
- event flags: 00000000
163
- event ID: 1023887
164
- event path: /private/tmp/moo/cow/1/j/
165
- event flags: 00000000
166
- event ID: 1023902
167
- event path: /private/tmp/moo/cow/1/k/
168
- event flags: 00000000
169
- event ID: 1023917
170
- event path: /private/tmp/moo/cow/1/l/
171
- event flags: 00000000
172
- event ID: 1023932
173
- event path: /private/tmp/moo/cow/1/m/
174
- event flags: 00000000
175
- event ID: 1023947
176
- event path: /private/tmp/moo/cow/1/n/
177
- event flags: 00000000
178
- event ID: 1023962
179
- event path: /private/tmp/moo/cow/1/o/
180
- event flags: 00000000
181
- event ID: 1023977
182
- event path: /private/tmp/moo/cow/1/p/
183
- event flags: 00000000
184
- event ID: 1023992
185
- event path: /private/tmp/moo/cow/1/q/
186
- event flags: 00000000
187
- event ID: 1024007
188
- event path: /private/tmp/moo/cow/1/r/
189
- event flags: 00000000
190
- event ID: 1024022
191
- event path: /private/tmp/moo/cow/1/s/
192
- event flags: 00000000
193
- event ID: 1024037
194
- event path: /private/tmp/moo/cow/1/t/
195
- event flags: 00000000
196
- event ID: 1024052
197
- event path: /private/tmp/moo/cow/1/u/
198
- event flags: 00000000
199
- event ID: 1024067
200
- event path: /private/tmp/moo/cow/1/v/
201
- event flags: 00000000
202
- event ID: 1024082
203
- event path: /private/tmp/moo/cow/1/w/
204
- event flags: 00000000
205
- event ID: 1024097
206
- event path: /private/tmp/moo/cow/1/x/
207
- event flags: 00000000
208
- event ID: 1024112
209
- event path: /private/tmp/moo/cow/1/y/
210
- event flags: 00000000
211
- event ID: 1024127
212
- event path: /private/tmp/moo/cow/1/z/
213
- event flags: 00000000
214
- event ID: 1024142
215
- event path: /private/tmp/moo/cow/1/
216
- event flags: 00000000
217
- event ID: 1024145
218
- event path: /private/tmp/moo/cow/2/a/
219
- event flags: 00000000
220
- event ID: 1024160
221
- event path: /private/tmp/moo/cow/2/b/
222
- event flags: 00000000
223
- event ID: 1024175
224
- event path: /private/tmp/moo/cow/2/c/
225
- event flags: 00000000
226
- event ID: 1024190
227
- event path: /private/tmp/moo/cow/2/d/
228
- event flags: 00000000
229
- event ID: 1024205
230
- event path: /private/tmp/moo/cow/2/e/
231
- event flags: 00000000
232
- event ID: 1024220
233
-
234
- == Note about FFI
235
-
236
- rb-fsevent doesn't use {ruby-ffi}[http://github.com/ffi/ffi] anymore because it sadly doesn't allow for catching Signals. You can still see the code in the {ffi branch}[http://github.com/thibaudgg/rb-fsevent/tree/ffi].
237
-
238
- == Development
239
-
240
- - Source hosted at {GitHub}[http://github.com/thibaudgg/rb-fsevent]
241
- - Report issues/Questions/Feature requests on {GitHub Issues}[http://github.com/thibaudgg/rb-fsevent/issues]
242
-
243
- Pull requests are quite welcome! Please ensure that your commits are in a topic branch for each individual changeset than can be reasonably isolated. It is also important to ensure that your changes are well tested... whether that means new tests, modified tests, or fixing a scenario where the existing tests currently fail. If you have rvm and the required rubies currently installed, we have a helper task for running the testsuite in all of them:
244
-
245
- rake spec:portability
246
-
247
- The list of tested RVM targets is currently:
248
-
249
- %w[1.8.6 1.8.7 1.9.2 jruby-head]
250
-
251
- == Authors
252
-
253
- - {Thibaud Guillaume-Gentil}[http://github.com/thibaudgg]
254
- - {Travis Tilley}[http://github.com/ttilley]
255
-
@@ -1,38 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleIdentifier</key>
6
- <string>com.teaspoonofinsanity.fsevent_watch</string>
7
- <key>CFBundleExecutable</key>
8
- <string>fsevent_watch</string>
9
- <key>CFBundleName</key>
10
- <string>fsevent_watch</string>
11
- <key>LSMinimumSystemVersion</key>
12
- <string>MACOSX_DEPLOYMENT_TARGET</string>
13
- <key>CFBundleVersion</key>
14
- <string>CURRENT_PROJECT_VERSION</string>
15
- <key>FSEWOptimizationLevel</key>
16
- <string>OPTIMIZATION_LEVEL</string>
17
- <key>FSEWVersionInfoBuilder</key>
18
- <string>VERSION_INFO_BUILDER</string>
19
- <key>FSEWVersionInfoString</key>
20
- <string>VERSION_INFO_STRING</string>
21
- <key>BuildMachineOSBuild</key>
22
- <string>MAC_OS_X_PRODUCT_BUILD_VERSION</string>
23
- <key>BuildMachineOSVersion</key>
24
- <string>MAC_OS_X_VERSION_ACTUAL</string>
25
- <key>DTCompiler</key>
26
- <string>GCC_VERSION</string>
27
- <key>DTPlatformBuild</key>
28
- <string>PLATFORM_PRODUCT_BUILD_VERSION</string>
29
- <key>DTSDKBuild</key>
30
- <string>SDK_PRODUCT_BUILD_VERSION</string>
31
- <key>DTSDKName</key>
32
- <string>SDK_NAME</string>
33
- <key>DTXcode</key>
34
- <string>XCODE_VERSION_ACTUAL</string>
35
- <key>DTXcodeBuild</key>
36
- <string>XCODE_PRODUCT_BUILD_VERSION</string>
37
- </dict>
38
- </plist>
@@ -1,20 +0,0 @@
1
- #include "compat.h"
2
-
3
- #if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
4
- FSEventStreamCreateFlags kFSEventStreamCreateFlagIgnoreSelf = 0x00000008;
5
- #endif
6
-
7
- #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
8
- FSEventStreamCreateFlags kFSEventStreamCreateFlagFileEvents = 0x00000010;
9
- FSEventStreamEventFlags kFSEventStreamEventFlagItemCreated = 0x00000100;
10
- FSEventStreamEventFlags kFSEventStreamEventFlagItemRemoved = 0x00000200;
11
- FSEventStreamEventFlags kFSEventStreamEventFlagItemInodeMetaMod = 0x00000400;
12
- FSEventStreamEventFlags kFSEventStreamEventFlagItemRenamed = 0x00000800;
13
- FSEventStreamEventFlags kFSEventStreamEventFlagItemModified = 0x00001000;
14
- FSEventStreamEventFlags kFSEventStreamEventFlagItemFinderInfoMod = 0x00002000;
15
- FSEventStreamEventFlags kFSEventStreamEventFlagItemChangeOwner = 0x00004000;
16
- FSEventStreamEventFlags kFSEventStreamEventFlagItemXattrMod = 0x00008000;
17
- FSEventStreamEventFlags kFSEventStreamEventFlagItemIsFile = 0x00010000;
18
- FSEventStreamEventFlags kFSEventStreamEventFlagItemIsDir = 0x00020000;
19
- FSEventStreamEventFlags kFSEventStreamEventFlagItemIsSymlink = 0x00040000;
20
- #endif
@@ -1,40 +0,0 @@
1
- /**
2
- * @headerfile compat.h
3
- * FSEventStream flag compatibility shim
4
- *
5
- * In order to compile a binary against an older SDK yet still support the
6
- * features present in later OS releases, we need to define any missing enum
7
- * constants not present in the older SDK. This allows us to safely defer
8
- * feature detection to runtime (and avoid recompilation).
9
- */
10
-
11
-
12
- #ifndef fsevent_watch_compat_h
13
- #define fsevent_watch_compat_h
14
-
15
- #ifndef __CORESERVICES__
16
- #include <CoreServices/CoreServices.h>
17
- #endif // __CORESERVICES__
18
-
19
- #if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
20
- // ignoring events originating from the current process introduced in 10.6
21
- extern FSEventStreamCreateFlags kFSEventStreamCreateFlagIgnoreSelf;
22
- #endif
23
-
24
- #if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
25
- // file-level events introduced in 10.7
26
- extern FSEventStreamCreateFlags kFSEventStreamCreateFlagFileEvents;
27
- extern FSEventStreamEventFlags kFSEventStreamEventFlagItemCreated,
28
- kFSEventStreamEventFlagItemRemoved,
29
- kFSEventStreamEventFlagItemInodeMetaMod,
30
- kFSEventStreamEventFlagItemRenamed,
31
- kFSEventStreamEventFlagItemModified,
32
- kFSEventStreamEventFlagItemFinderInfoMod,
33
- kFSEventStreamEventFlagItemChangeOwner,
34
- kFSEventStreamEventFlagItemXattrMod,
35
- kFSEventStreamEventFlagItemIsFile,
36
- kFSEventStreamEventFlagItemIsDir,
37
- kFSEventStreamEventFlagItemIsSymlink;
38
- #endif
39
-
40
- #endif // fsevent_watch_compat_h
@@ -1,254 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 46;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 6A20BF7F13FC9BC000C6C442 /* cli.c in Sources */ = {isa = PBXBuildFile; fileRef = 6A20BF7C13FC9BC000C6C442 /* cli.c */; };
11
- 6A57F70413F5E614000BE6A9 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A57F70313F5E614000BE6A9 /* CoreServices.framework */; };
12
- 6A57F70713F5E614000BE6A9 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 6A57F70613F5E614000BE6A9 /* main.c */; };
13
- 6A81FCE8143429DF00F83EDD /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A81FCE7143429DE00F83EDD /* CoreFoundation.framework */; };
14
- 6A81FCEC14342A6300F83EDD /* TSICTString.c in Sources */ = {isa = PBXBuildFile; fileRef = 6A81FCEA14342A6300F83EDD /* TSICTString.c */; };
15
- EDF2B90D143584E800C6EF62 /* compat.c in Sources */ = {isa = PBXBuildFile; fileRef = EDF2B90C143584E800C6EF62 /* compat.c */; };
16
- /* End PBXBuildFile section */
17
-
18
- /* Begin PBXBuildRule section */
19
- 6A0B980414AA652A00952375 /* PBXBuildRule */ = {
20
- isa = PBXBuildRule;
21
- compilerSpec = com.apple.compilers.proxy.script;
22
- filePatterns = "*.rl";
23
- fileType = pattern.proxy;
24
- isEditable = 1;
25
- name = "Ragel source to C source";
26
- outputFiles = (
27
- "$(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).c",
28
- );
29
- script = "/usr/bin/env ragel $(INPUT_FILE_BASE).rl -G2 -o $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).c\n/usr/bin/env ragel $(INPUT_FILE_BASE).rl -V -o $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).dot\n";
30
- };
31
- /* End PBXBuildRule section */
32
-
33
- /* Begin PBXFileReference section */
34
- 6A20BF7C13FC9BC000C6C442 /* cli.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cli.c; sourceTree = "<group>"; };
35
- 6A20BF7D13FC9BC000C6C442 /* cli.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cli.h; sourceTree = "<group>"; };
36
- 6A20BF7E13FC9BC000C6C442 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = common.h; sourceTree = "<group>"; };
37
- 6A57F6FF13F5E614000BE6A9 /* fsevent_watch */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = fsevent_watch; sourceTree = BUILT_PRODUCTS_DIR; };
38
- 6A57F70313F5E614000BE6A9 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
39
- 6A57F70613F5E614000BE6A9 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
40
- 6A68C5E31440CBDF0040623D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = SOURCE_ROOT; };
41
- 6A81FCE7143429DE00F83EDD /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
42
- 6A81FCEA14342A6300F83EDD /* TSICTString.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = TSICTString.c; sourceTree = "<group>"; };
43
- 6A81FCEB14342A6300F83EDD /* TSICTString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TSICTString.h; sourceTree = "<group>"; };
44
- 6A8F495414AC05470094EE00 /* Common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Common.xcconfig; sourceTree = "<group>"; };
45
- 6A8F495514AC05470094EE00 /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
46
- 6A8F495614AC05470094EE00 /* Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
47
- 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = fsevent_watch.xcconfig; sourceTree = "<group>"; };
48
- 6AD3022F13F8D758007F24E8 /* compat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = compat.h; sourceTree = "<group>"; };
49
- EDF2B90C143584E800C6EF62 /* compat.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = compat.c; sourceTree = "<group>"; };
50
- /* End PBXFileReference section */
51
-
52
- /* Begin PBXFrameworksBuildPhase section */
53
- 6A57F6FC13F5E614000BE6A9 /* Frameworks */ = {
54
- isa = PBXFrameworksBuildPhase;
55
- buildActionMask = 2147483647;
56
- files = (
57
- 6A81FCE8143429DF00F83EDD /* CoreFoundation.framework in Frameworks */,
58
- 6A57F70413F5E614000BE6A9 /* CoreServices.framework in Frameworks */,
59
- );
60
- runOnlyForDeploymentPostprocessing = 0;
61
- };
62
- /* End PBXFrameworksBuildPhase section */
63
-
64
- /* Begin PBXGroup section */
65
- 6A57F6F413F5E614000BE6A9 = {
66
- isa = PBXGroup;
67
- children = (
68
- 6A8F495314AC05470094EE00 /* xcconfig */,
69
- 6A68C5E31440CBDF0040623D /* Info.plist */,
70
- 6A57F70513F5E614000BE6A9 /* fsevent_watch */,
71
- 6A57F70213F5E614000BE6A9 /* Frameworks */,
72
- 6A57F70013F5E614000BE6A9 /* Products */,
73
- );
74
- indentWidth = 2;
75
- sourceTree = "<group>";
76
- tabWidth = 2;
77
- };
78
- 6A57F70013F5E614000BE6A9 /* Products */ = {
79
- isa = PBXGroup;
80
- children = (
81
- 6A57F6FF13F5E614000BE6A9 /* fsevent_watch */,
82
- );
83
- name = Products;
84
- sourceTree = "<group>";
85
- };
86
- 6A57F70213F5E614000BE6A9 /* Frameworks */ = {
87
- isa = PBXGroup;
88
- children = (
89
- 6A81FCE7143429DE00F83EDD /* CoreFoundation.framework */,
90
- 6A57F70313F5E614000BE6A9 /* CoreServices.framework */,
91
- );
92
- name = Frameworks;
93
- sourceTree = "<group>";
94
- };
95
- 6A57F70513F5E614000BE6A9 /* fsevent_watch */ = {
96
- isa = PBXGroup;
97
- children = (
98
- 6A81FCEA14342A6300F83EDD /* TSICTString.c */,
99
- 6A81FCEB14342A6300F83EDD /* TSICTString.h */,
100
- 6A20BF7C13FC9BC000C6C442 /* cli.c */,
101
- 6A20BF7D13FC9BC000C6C442 /* cli.h */,
102
- 6A20BF7E13FC9BC000C6C442 /* common.h */,
103
- 6A57F70613F5E614000BE6A9 /* main.c */,
104
- 6AD3022F13F8D758007F24E8 /* compat.h */,
105
- EDF2B90C143584E800C6EF62 /* compat.c */,
106
- );
107
- path = fsevent_watch;
108
- sourceTree = "<group>";
109
- };
110
- 6A8F495314AC05470094EE00 /* xcconfig */ = {
111
- isa = PBXGroup;
112
- children = (
113
- 6A8F495414AC05470094EE00 /* Common.xcconfig */,
114
- 6A8F495514AC05470094EE00 /* Debug.xcconfig */,
115
- 6A8F495614AC05470094EE00 /* Release.xcconfig */,
116
- 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */,
117
- );
118
- path = xcconfig;
119
- sourceTree = "<group>";
120
- };
121
- /* End PBXGroup section */
122
-
123
- /* Begin PBXNativeTarget section */
124
- 6A57F6FE13F5E614000BE6A9 /* fsevent_watch */ = {
125
- isa = PBXNativeTarget;
126
- buildConfigurationList = 6A57F70C13F5E614000BE6A9 /* Build configuration list for PBXNativeTarget "fsevent_watch" */;
127
- buildPhases = (
128
- 6A8F497D14AC134E0094EE00 /* plist */,
129
- 6A57F6FB13F5E614000BE6A9 /* Sources */,
130
- 6A57F6FC13F5E614000BE6A9 /* Frameworks */,
131
- );
132
- buildRules = (
133
- 6A0B980414AA652A00952375 /* PBXBuildRule */,
134
- );
135
- dependencies = (
136
- );
137
- name = fsevent_watch;
138
- productName = fsevent_watch;
139
- productReference = 6A57F6FF13F5E614000BE6A9 /* fsevent_watch */;
140
- productType = "com.apple.product-type.tool";
141
- };
142
- /* End PBXNativeTarget section */
143
-
144
- /* Begin PBXProject section */
145
- 6A57F6F613F5E614000BE6A9 /* Project object */ = {
146
- isa = PBXProject;
147
- attributes = {
148
- LastUpgradeCheck = 0420;
149
- ORGANIZATIONNAME = TeaspoonOfInsanity;
150
- };
151
- buildConfigurationList = 6A57F6F913F5E614000BE6A9 /* Build configuration list for PBXProject "fsevent_watch" */;
152
- compatibilityVersion = "Xcode 3.2";
153
- developmentRegion = English;
154
- hasScannedForEncodings = 0;
155
- knownRegions = (
156
- en,
157
- );
158
- mainGroup = 6A57F6F413F5E614000BE6A9;
159
- productRefGroup = 6A57F70013F5E614000BE6A9 /* Products */;
160
- projectDirPath = "";
161
- projectRoot = "";
162
- targets = (
163
- 6A57F6FE13F5E614000BE6A9 /* fsevent_watch */,
164
- );
165
- };
166
- /* End PBXProject section */
167
-
168
- /* Begin PBXShellScriptBuildPhase section */
169
- 6A8F497D14AC134E0094EE00 /* plist */ = {
170
- isa = PBXShellScriptBuildPhase;
171
- buildActionMask = 2147483647;
172
- files = (
173
- );
174
- inputPaths = (
175
- "$(SRCROOT)/Info.plist",
176
- );
177
- name = plist;
178
- outputPaths = (
179
- "$(DERIVED_FILE_DIR)/Info.plist",
180
- );
181
- runOnlyForDeploymentPostprocessing = 0;
182
- shellPath = /bin/bash;
183
- shellScript = "${CC:-cc} -E -P -x c -Wno-trigraphs -traditional -CC \\\n-DCURRENT_PROJECT_VERSION=\"${CURRENT_PROJECT_VERSION}\" \\\n-DGCC_VERSION=\"${GCC_VERSION}\" \\\n-DMACOSX_DEPLOYMENT_TARGET=\"${MACOSX_DEPLOYMENT_TARGET}\" \\\n-DMAC_OS_X_PRODUCT_BUILD_VERSION=\"${MAC_OS_X_PRODUCT_BUILD_VERSION}\" \\\n-DMAC_OS_X_VERSION_ACTUAL=\"${MAC_OS_X_VERSION_ACTUAL}\" \\\n-DOPTIMIZATION_LEVEL=\"${OPTIMIZATION_LEVEL}\" \\\n-DPLATFORM_PRODUCT_BUILD_VERSION=\"${PLATFORM_PRODUCT_BUILD_VERSION}\" \\\n-DSDK_NAME=\"${SDK_NAME}\" \\\n-DSDK_PRODUCT_BUILD_VERSION=\"${SDK_PRODUCT_BUILD_VERSION}\" \\\n-DVERSION_INFO_BUILDER=\"${VERSION_INFO_BUILDER}\" \\\n-DVERSION_INFO_STRING=\"${VERSION_INFO_STRING}\" \\\n-DXCODE_PRODUCT_BUILD_VERSION=\"${XCODE_PRODUCT_BUILD_VERSION}\" \\\n-DXCODE_VERSION_ACTUAL=\"${XCODE_VERSION_ACTUAL}\" \\\n\"${SRCROOT}/Info.plist\" \\\n-o \"${DERIVED_FILE_DIR}/Info.plist\"\n";
184
- };
185
- /* End PBXShellScriptBuildPhase section */
186
-
187
- /* Begin PBXSourcesBuildPhase section */
188
- 6A57F6FB13F5E614000BE6A9 /* Sources */ = {
189
- isa = PBXSourcesBuildPhase;
190
- buildActionMask = 2147483647;
191
- files = (
192
- 6A57F70713F5E614000BE6A9 /* main.c in Sources */,
193
- 6A20BF7F13FC9BC000C6C442 /* cli.c in Sources */,
194
- 6A81FCEC14342A6300F83EDD /* TSICTString.c in Sources */,
195
- EDF2B90D143584E800C6EF62 /* compat.c in Sources */,
196
- );
197
- runOnlyForDeploymentPostprocessing = 0;
198
- };
199
- /* End PBXSourcesBuildPhase section */
200
-
201
- /* Begin XCBuildConfiguration section */
202
- 6A57F70A13F5E614000BE6A9 /* Debug */ = {
203
- isa = XCBuildConfiguration;
204
- baseConfigurationReference = 6A8F495514AC05470094EE00 /* Debug.xcconfig */;
205
- buildSettings = {
206
- };
207
- name = Debug;
208
- };
209
- 6A57F70B13F5E614000BE6A9 /* Release */ = {
210
- isa = XCBuildConfiguration;
211
- baseConfigurationReference = 6A8F495614AC05470094EE00 /* Release.xcconfig */;
212
- buildSettings = {
213
- };
214
- name = Release;
215
- };
216
- 6A57F70D13F5E614000BE6A9 /* Debug */ = {
217
- isa = XCBuildConfiguration;
218
- baseConfigurationReference = 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */;
219
- buildSettings = {
220
- };
221
- name = Debug;
222
- };
223
- 6A57F70E13F5E614000BE6A9 /* Release */ = {
224
- isa = XCBuildConfiguration;
225
- baseConfigurationReference = 6A8F495714AC05470094EE00 /* fsevent_watch.xcconfig */;
226
- buildSettings = {
227
- };
228
- name = Release;
229
- };
230
- /* End XCBuildConfiguration section */
231
-
232
- /* Begin XCConfigurationList section */
233
- 6A57F6F913F5E614000BE6A9 /* Build configuration list for PBXProject "fsevent_watch" */ = {
234
- isa = XCConfigurationList;
235
- buildConfigurations = (
236
- 6A57F70A13F5E614000BE6A9 /* Debug */,
237
- 6A57F70B13F5E614000BE6A9 /* Release */,
238
- );
239
- defaultConfigurationIsVisible = 0;
240
- defaultConfigurationName = Release;
241
- };
242
- 6A57F70C13F5E614000BE6A9 /* Build configuration list for PBXNativeTarget "fsevent_watch" */ = {
243
- isa = XCConfigurationList;
244
- buildConfigurations = (
245
- 6A57F70D13F5E614000BE6A9 /* Debug */,
246
- 6A57F70E13F5E614000BE6A9 /* Release */,
247
- );
248
- defaultConfigurationIsVisible = 0;
249
- defaultConfigurationName = Release;
250
- };
251
- /* End XCConfigurationList section */
252
- };
253
- rootObject = 6A57F6F613F5E614000BE6A9 /* Project object */;
254
- }