summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-17 07:34:09 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:36 -0400
commit21bd83a2f9fb8ed3a515f46a15a5a6ecc35bdd14 (patch)
tree7e4276f4675e443c7a7de1871928c98be7eca037
parentf63ce064612b0fb98b21ff3e36203c56fb081a7c (diff)
downloadfork-ledger-21bd83a2f9fb8ed3a515f46a15a5a6ecc35bdd14.tar.gz
fork-ledger-21bd83a2f9fb8ed3a515f46a15a5a6ecc35bdd14.tar.bz2
fork-ledger-21bd83a2f9fb8ed3a515f46a15a5a6ecc35bdd14.zip
Added some missing code.
-rw-r--r--amount.cc5
-rw-r--r--ledger.xcodeproj/johnw.mode118
-rw-r--r--ledger.xcodeproj/johnw.pbxuser114
-rw-r--r--ledger.xcodeproj/project.pbxproj36
4 files changed, 109 insertions, 64 deletions
diff --git a/amount.cc b/amount.cc
index f143a70c..a3a7fb40 100644
--- a/amount.cc
+++ b/amount.cc
@@ -1163,6 +1163,8 @@ static void parse_commodity(std::istream& in, std::string& symbol)
bool parse_annotations(std::istream& in, amount_t& price,
datetime_t& date, std::string& tag)
{
+ bool has_date = false;
+
do {
char buf[256];
char c = peek_next_nonws(in);
@@ -1200,6 +1202,7 @@ bool parse_annotations(std::istream& in, amount_t& price,
throw new amount_error("Commodity date lacks closing bracket");
date = buf;
+ has_date = true;
}
else if (c == '(') {
if (! tag.empty())
@@ -1224,6 +1227,8 @@ bool parse_annotations(std::istream& in, amount_t& price,
<< " price " << price << " "
<< " date " << date << " "
<< " tag " << tag);
+
+ return has_date;
}
void amount_t::parse(std::istream& in, unsigned char flags)
diff --git a/ledger.xcodeproj/johnw.mode1 b/ledger.xcodeproj/johnw.mode1
index 7353d656..3c927b00 100644
--- a/ledger.xcodeproj/johnw.mode1
+++ b/ledger.xcodeproj/johnw.mode1
@@ -371,7 +371,7 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>333106140BD0A8DE00A43EF0</string>
+ <string>3357D0A80BD4A44C004B3223</string>
<key>history</key>
<array>
<string>333230340B802B2C00C403F5</string>
@@ -394,7 +394,7 @@
<string>33B8460B0BD0A5CC00472F4E</string>
<string>33B846130BD0A63200472F4E</string>
<string>33B846400BD0A6EB00472F4E</string>
- <string>33B846570BD0A77800472F4E</string>
+ <string>333106140BD0A8DE00A43EF0</string>
</array>
<key>prevStack</key>
<array>
@@ -476,9 +476,9 @@
</array>
<key>TableOfContents</key>
<array>
- <string>333106120BD0A83600A43EF0</string>
+ <string>3357D0950BD4A3DB004B3223</string>
<string>1CE0B1FE06471DED0097A5F4</string>
- <string>333106130BD0A83600A43EF0</string>
+ <string>3357D0960BD4A3DB004B3223</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
@@ -597,7 +597,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>198224094.835704</real>
+ <real>198485068.55365801</real>
<key>ToolbarDisplayMode</key>
<integer>1</integer>
<key>ToolbarIsVisible</key>
@@ -612,8 +612,8 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
+ <string>/Volumes/Users/johnw/Projects/local/ledger/trunk/ledger.xcodeproj</string>
<string>33AD83730B8027C500CF4200</string>
- <string>/Volumes/Users/johnw/Projects/sf.ledger/trunk/ledger.xcodeproj</string>
</array>
<key>WindowString</key>
<string>206 55 1041 823 0 0 1440 878 </string>
@@ -637,7 +637,7 @@
<key>PBXProjectModuleGUID</key>
<string>1CD0528F0623707200166675</string>
<key>PBXProjectModuleLabel</key>
- <string>xmlparse.cc</string>
+ <string></string>
<key>StatusBarVisibility</key>
<true/>
</dict>
@@ -695,7 +695,7 @@
<key>TableOfContents</key>
<array>
<string>33AD83730B8027C500CF4200</string>
- <string>333105EB0BD0A79900A43EF0</string>
+ <string>3357D0990BD4A3E5004B3223</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
@@ -706,7 +706,7 @@
<key>WindowToolGUID</key>
<string>33AD83730B8027C500CF4200</string>
<key>WindowToolIsVisible</key>
- <false/>
+ <true/>
</dict>
<dict>
<key>FirstTimeWindowDisplayed</key>
diff --git a/ledger.xcodeproj/johnw.pbxuser b/ledger.xcodeproj/johnw.pbxuser
index d9423d82..fc793551 100644
--- a/ledger.xcodeproj/johnw.pbxuser
+++ b/ledger.xcodeproj/johnw.pbxuser
@@ -96,53 +96,55 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 198223751;
- PBXWorkspaceStateSaveDate = 198223751;
+ PBXPerProjectTemplateStateSaveDate = 198484953;
+ PBXWorkspaceStateSaveDate = 198484953;
};
perUserProjectItems = {
- 333106140BD0A8DE00A43EF0 /* PBXTextBookmark */ = 333106140BD0A8DE00A43EF0 /* PBXTextBookmark */;
- 333230340B802B2C00C403F5 /* PBXTextBookmark */ = 333230340B802B2C00C403F5 /* PBXTextBookmark */;
- 333230360B802B2C00C403F5 /* PBXTextBookmark */ = 333230360B802B2C00C403F5 /* PBXTextBookmark */;
- 333230700B802C1B00C403F5 /* PBXTextBookmark */ = 333230700B802C1B00C403F5 /* PBXTextBookmark */;
- 333230740B802C2700C403F5 /* PBXTextBookmark */ = 333230740B802C2700C403F5 /* PBXTextBookmark */;
- 333230760B802C3300C403F5 /* PBXTextBookmark */ = 333230760B802C3300C403F5 /* PBXTextBookmark */;
- 333230780B802C3300C403F5 /* PBXTextBookmark */ = 333230780B802C3300C403F5 /* PBXTextBookmark */;
- 3332307B0B802C4100C403F5 /* PBXTextBookmark */ = 3332307B0B802C4100C403F5 /* PBXTextBookmark */;
- 3332307D0B802C4100C403F5 /* PBXTextBookmark */ = 3332307D0B802C4100C403F5 /* PBXTextBookmark */;
- 3332307E0B802C4100C403F5 /* PBXTextBookmark */ = 3332307E0B802C4100C403F5 /* PBXTextBookmark */;
- 333230820B802C4D00C403F5 /* PBXTextBookmark */ = 333230820B802C4D00C403F5 /* PBXTextBookmark */;
- 333230860B802C6100C403F5 /* PBXTextBookmark */ = 333230860B802C6100C403F5 /* PBXTextBookmark */;
- 3332308B0B802C7100C403F5 /* PBXTextBookmark */ = 3332308B0B802C7100C403F5 /* PBXTextBookmark */;
- 3332308C0B802C7100C403F5 /* PBXTextBookmark */ = 3332308C0B802C7100C403F5 /* PBXTextBookmark */;
- 3332308E0B802C7A00C403F5 /* PBXTextBookmark */ = 3332308E0B802C7A00C403F5 /* PBXTextBookmark */;
- 333230900B802C7A00C403F5 /* PBXTextBookmark */ = 333230900B802C7A00C403F5 /* PBXTextBookmark */;
- 333230940B802C8B00C403F5 /* PBXTextBookmark */ = 333230940B802C8B00C403F5 /* PBXTextBookmark */;
- 333230960B802C9A00C403F5 /* PBXTextBookmark */ = 333230960B802C9A00C403F5 /* PBXTextBookmark */;
- 333230990B802C9A00C403F5 /* PBXTextBookmark */ = 333230990B802C9A00C403F5 /* PBXTextBookmark */;
- 3332309A0B802C9A00C403F5 /* PBXTextBookmark */ = 3332309A0B802C9A00C403F5 /* PBXTextBookmark */;
- 333230A30B802D4000C403F5 /* PBXTextBookmark */ = 333230A30B802D4000C403F5 /* PBXTextBookmark */;
- 333230A40B802D4000C403F5 /* PBXTextBookmark */ = 333230A40B802D4000C403F5 /* PBXTextBookmark */;
- 333230A60B802D4000C403F5 /* PBXTextBookmark */ = 333230A60B802D4000C403F5 /* PBXTextBookmark */;
- 333230A70B802D4000C403F5 /* PBXTextBookmark */ = 333230A70B802D4000C403F5 /* PBXTextBookmark */;
- 333230A80B802D4000C403F5 /* PBXTextBookmark */ = 333230A80B802D4000C403F5 /* PBXTextBookmark */;
- 333230A90B802D4000C403F5 /* PBXTextBookmark */ = 333230A90B802D4000C403F5 /* PBXTextBookmark */;
- 333230AA0B802D4000C403F5 /* PBXTextBookmark */ = 333230AA0B802D4000C403F5 /* PBXTextBookmark */;
- 333230AB0B802D4000C403F5 /* PBXTextBookmark */ = 333230AB0B802D4000C403F5 /* PBXTextBookmark */;
- 333230AC0B802D4000C403F5 /* PBXTextBookmark */ = 333230AC0B802D4000C403F5 /* PBXTextBookmark */;
- 333230AD0B802D4000C403F5 /* PBXTextBookmark */ = 333230AD0B802D4000C403F5 /* PBXTextBookmark */;
- 333230AF0B802D4000C403F5 /* PBXTextBookmark */ = 333230AF0B802D4000C403F5 /* PBXTextBookmark */;
- 333230B20B802D4000C403F5 /* PBXTextBookmark */ = 333230B20B802D4000C403F5 /* PBXTextBookmark */;
- 333230B40B802D4000C403F5 /* PBXTextBookmark */ = 333230B40B802D4000C403F5 /* PBXTextBookmark */;
- 333230BA0B802D4000C403F5 /* PBXTextBookmark */ = 333230BA0B802D4000C403F5 /* PBXTextBookmark */;
- 333230BE0B802D4000C403F5 /* PBXTextBookmark */ = 333230BE0B802D4000C403F5 /* PBXTextBookmark */;
- 333230C00B802D4000C403F5 /* PBXTextBookmark */ = 333230C00B802D4000C403F5 /* PBXTextBookmark */;
- 333230C20B802D4000C403F5 /* PBXTextBookmark */ = 333230C20B802D4000C403F5 /* PBXTextBookmark */;
- 333231000B802FF000C403F5 /* PBXTextBookmark */ = 333231000B802FF000C403F5 /* PBXTextBookmark */;
- 33B8460B0BD0A5CC00472F4E /* PBXTextBookmark */ = 33B8460B0BD0A5CC00472F4E /* PBXTextBookmark */;
- 33B8460D0BD0A5CC00472F4E /* PBXTextBookmark */ = 33B8460D0BD0A5CC00472F4E /* PBXTextBookmark */;
- 33B846130BD0A63200472F4E /* PBXTextBookmark */ = 33B846130BD0A63200472F4E /* PBXTextBookmark */;
- 33B846400BD0A6EB00472F4E /* PBXTextBookmark */ = 33B846400BD0A6EB00472F4E /* PBXTextBookmark */;
- 33B846570BD0A77800472F4E /* PBXTextBookmark */ = 33B846570BD0A77800472F4E /* PBXTextBookmark */;
+ 333106140BD0A8DE00A43EF0 = 333106140BD0A8DE00A43EF0 /* PBXTextBookmark */;
+ 333230340B802B2C00C403F5 = 333230340B802B2C00C403F5 /* PBXTextBookmark */;
+ 333230360B802B2C00C403F5 = 333230360B802B2C00C403F5 /* PBXTextBookmark */;
+ 333230700B802C1B00C403F5 = 333230700B802C1B00C403F5 /* PBXTextBookmark */;
+ 333230740B802C2700C403F5 = 333230740B802C2700C403F5 /* PBXTextBookmark */;
+ 333230760B802C3300C403F5 = 333230760B802C3300C403F5 /* PBXTextBookmark */;
+ 333230780B802C3300C403F5 = 333230780B802C3300C403F5 /* PBXTextBookmark */;
+ 3332307B0B802C4100C403F5 = 3332307B0B802C4100C403F5 /* PBXTextBookmark */;
+ 3332307D0B802C4100C403F5 = 3332307D0B802C4100C403F5 /* PBXTextBookmark */;
+ 3332307E0B802C4100C403F5 = 3332307E0B802C4100C403F5 /* PBXTextBookmark */;
+ 333230820B802C4D00C403F5 = 333230820B802C4D00C403F5 /* PBXTextBookmark */;
+ 333230860B802C6100C403F5 = 333230860B802C6100C403F5 /* PBXTextBookmark */;
+ 3332308B0B802C7100C403F5 = 3332308B0B802C7100C403F5 /* PBXTextBookmark */;
+ 3332308C0B802C7100C403F5 = 3332308C0B802C7100C403F5 /* PBXTextBookmark */;
+ 3332308E0B802C7A00C403F5 = 3332308E0B802C7A00C403F5 /* PBXTextBookmark */;
+ 333230900B802C7A00C403F5 = 333230900B802C7A00C403F5 /* PBXTextBookmark */;
+ 333230940B802C8B00C403F5 = 333230940B802C8B00C403F5 /* PBXTextBookmark */;
+ 333230960B802C9A00C403F5 = 333230960B802C9A00C403F5 /* PBXTextBookmark */;
+ 333230990B802C9A00C403F5 = 333230990B802C9A00C403F5 /* PBXTextBookmark */;
+ 3332309A0B802C9A00C403F5 = 3332309A0B802C9A00C403F5 /* PBXTextBookmark */;
+ 333230A30B802D4000C403F5 = 333230A30B802D4000C403F5 /* PBXTextBookmark */;
+ 333230A40B802D4000C403F5 = 333230A40B802D4000C403F5 /* PBXTextBookmark */;
+ 333230A60B802D4000C403F5 = 333230A60B802D4000C403F5 /* PBXTextBookmark */;
+ 333230A70B802D4000C403F5 = 333230A70B802D4000C403F5 /* PBXTextBookmark */;
+ 333230A80B802D4000C403F5 = 333230A80B802D4000C403F5 /* PBXTextBookmark */;
+ 333230A90B802D4000C403F5 = 333230A90B802D4000C403F5 /* PBXTextBookmark */;
+ 333230AA0B802D4000C403F5 = 333230AA0B802D4000C403F5 /* PBXTextBookmark */;
+ 333230AB0B802D4000C403F5 = 333230AB0B802D4000C403F5 /* PBXTextBookmark */;
+ 333230AC0B802D4000C403F5 = 333230AC0B802D4000C403F5 /* PBXTextBookmark */;
+ 333230AD0B802D4000C403F5 = 333230AD0B802D4000C403F5 /* PBXTextBookmark */;
+ 333230AF0B802D4000C403F5 = 333230AF0B802D4000C403F5 /* PBXTextBookmark */;
+ 333230B20B802D4000C403F5 = 333230B20B802D4000C403F5 /* PBXTextBookmark */;
+ 333230B40B802D4000C403F5 = 333230B40B802D4000C403F5 /* PBXTextBookmark */;
+ 333230BA0B802D4000C403F5 = 333230BA0B802D4000C403F5 /* PBXTextBookmark */;
+ 333230BE0B802D4000C403F5 = 333230BE0B802D4000C403F5 /* PBXTextBookmark */;
+ 333230C00B802D4000C403F5 = 333230C00B802D4000C403F5 /* PBXTextBookmark */;
+ 333230C20B802D4000C403F5 = 333230C20B802D4000C403F5 /* PBXTextBookmark */;
+ 333231000B802FF000C403F5 = 333231000B802FF000C403F5 /* PBXTextBookmark */;
+ 3357D0940BD4A3DB004B3223 /* PBXTextBookmark */ = 3357D0940BD4A3DB004B3223 /* PBXTextBookmark */;
+ 3357D0A80BD4A44C004B3223 /* PBXTextBookmark */ = 3357D0A80BD4A44C004B3223 /* PBXTextBookmark */;
+ 33B8460B0BD0A5CC00472F4E = 33B8460B0BD0A5CC00472F4E /* PBXTextBookmark */;
+ 33B8460D0BD0A5CC00472F4E = 33B8460D0BD0A5CC00472F4E /* PBXTextBookmark */;
+ 33B846130BD0A63200472F4E = 33B846130BD0A63200472F4E /* PBXTextBookmark */;
+ 33B846400BD0A6EB00472F4E = 33B846400BD0A6EB00472F4E /* PBXTextBookmark */;
+ 33B846570BD0A77800472F4E = 33B846570BD0A77800472F4E /* PBXTextBookmark */;
};
sourceControlManager = 33AD82DA0B80264000CF4200 /* Source Control */;
userBuildSettings = {
@@ -564,6 +566,26 @@
sepNavVisRect = "{{0, 2231}, {689, 236}}";
};
};
+ 3357D0940BD4A3DB004B3223 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */;
+ name = "static std::time_t base = -1;";
+ rLen = 32;
+ rLoc = 550;
+ rType = 0;
+ vrLen = 610;
+ vrLoc = 424;
+ };
+ 3357D0A80BD4A44C004B3223 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */;
+ name = "static std::time_t base = -1;";
+ rLen = 32;
+ rLoc = 550;
+ rType = 0;
+ vrLen = 610;
+ vrLoc = 424;
+ };
33AD82D60B80262200CF4200 /* ledger */ = {
isa = PBXExecutable;
activeArgIndex = 0;
@@ -655,7 +677,7 @@
};
33AD82E40B80269C00CF4200 /* datetime.cc */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {792, 10332}}";
+ sepNavIntBoundsRect = "{{0, 0}, {792, 10368}}";
sepNavSelRange = "{550, 32}";
sepNavVisRect = "{{0, 378}, {792, 512}}";
};
diff --git a/ledger.xcodeproj/project.pbxproj b/ledger.xcodeproj/project.pbxproj
index 9764b869..1cdfe32b 100644
--- a/ledger.xcodeproj/project.pbxproj
+++ b/ledger.xcodeproj/project.pbxproj
@@ -9,6 +9,8 @@
/* Begin PBXBuildFile section */
3356EA010B80299700EC228D /* main.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3356EA000B80299700EC228D /* main.cc */; };
3356EA0A0B8029FA00EC228D /* option.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3356EA090B8029FA00EC228D /* option.cc */; };
+ 3357D09C0BD4A3FD004B3223 /* libgmp.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 3357D09B0BD4A3FD004B3223 /* libgmp.dylib */; };
+ 3357D09E0BD4A40E004B3223 /* libexpat.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 3357D09D0BD4A40E004B3223 /* libexpat.dylib */; };
33AD831E0B80269C00CF4200 /* amount.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82DC0B80269C00CF4200 /* amount.cc */; };
33AD831F0B80269C00CF4200 /* amount.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82DD0B80269C00CF4200 /* amount.h */; };
33AD83200B80269C00CF4200 /* balance.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82DE0B80269C00CF4200 /* balance.cc */; };
@@ -67,8 +69,6 @@
33AD835E0B80269C00CF4200 /* xpath.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD831C0B80269C00CF4200 /* xpath.cc */; };
33AD835F0B80269C00CF4200 /* xpath.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD831D0B80269C00CF4200 /* xpath.h */; };
33AD83760B80280B00CF4200 /* acconf.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83750B80280B00CF4200 /* acconf.h */; };
- 33B846040BD0A59100472F4E /* libxml2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 33B846030BD0A59100472F4E /* libxml2.dylib */; };
- 33B846070BD0A5B200472F4E /* libgmp.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 33B846050BD0A5B200472F4E /* libgmp.dylib */; };
33B846080BD0A5B200472F4E /* libpcre.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 33B846060BD0A5B200472F4E /* libpcre.dylib */; };
8DD76F6A0486A84900D96B5E /* ledger.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = C6859E8B029090EE04C91782 /* ledger.1 */; };
/* End PBXBuildFile section */
@@ -121,6 +121,8 @@
/* Begin PBXFileReference section */
3356EA000B80299700EC228D /* main.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cc; sourceTree = "<group>"; };
3356EA090B8029FA00EC228D /* option.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = option.cc; sourceTree = "<group>"; };
+ 3357D09B0BD4A3FD004B3223 /* libgmp.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libgmp.dylib; path = /sw/lib/libgmp.dylib; sourceTree = "<absolute>"; };
+ 3357D09D0BD4A40E004B3223 /* libexpat.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libexpat.dylib; path = /usr/local/lib/libexpat.dylib; sourceTree = "<absolute>"; };
33AD82DC0B80269C00CF4200 /* amount.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = amount.cc; sourceTree = "<group>"; };
33AD82DD0B80269C00CF4200 /* amount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = amount.h; sourceTree = "<group>"; };
33AD82DE0B80269C00CF4200 /* balance.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = balance.cc; sourceTree = "<group>"; };
@@ -179,10 +181,8 @@
33AD831C0B80269C00CF4200 /* xpath.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xpath.cc; sourceTree = "<group>"; };
33AD831D0B80269C00CF4200 /* xpath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xpath.h; sourceTree = "<group>"; };
33AD83750B80280B00CF4200 /* acconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = acconf.h; sourceTree = "<group>"; };
- 33B846030BD0A59100472F4E /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = /usr/local/lib/libxml2.dylib; sourceTree = "<absolute>"; };
- 33B846050BD0A5B200472F4E /* libgmp.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libgmp.dylib; path = /usr/local/lib/libgmp.dylib; sourceTree = "<absolute>"; };
33B846060BD0A5B200472F4E /* libpcre.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libpcre.dylib; path = /usr/local/lib/libpcre.dylib; sourceTree = "<absolute>"; };
- 8DD76F6C0486A84900D96B5E /* ledger */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ledger; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8DD76F6C0486A84900D96B5E /* ledger */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = ledger; sourceTree = BUILT_PRODUCTS_DIR; };
C6859E8B029090EE04C91782 /* ledger.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = ledger.1; sourceTree = "<group>"; };
/* End PBXFileReference section */
@@ -191,9 +191,9 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 33B846040BD0A59100472F4E /* libxml2.dylib in Frameworks */,
- 33B846070BD0A5B200472F4E /* libgmp.dylib in Frameworks */,
33B846080BD0A5B200472F4E /* libpcre.dylib in Frameworks */,
+ 3357D09C0BD4A3FD004B3223 /* libgmp.dylib in Frameworks */,
+ 3357D09E0BD4A40E004B3223 /* libexpat.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -385,9 +385,9 @@
33B8460F0BD0A60100472F4E /* Dependencies */ = {
isa = PBXGroup;
children = (
- 33B846050BD0A5B200472F4E /* libgmp.dylib */,
+ 3357D09D0BD4A40E004B3223 /* libexpat.dylib */,
+ 3357D09B0BD4A3FD004B3223 /* libgmp.dylib */,
33B846060BD0A5B200472F4E /* libpcre.dylib */,
- 33B846030BD0A59100472F4E /* libxml2.dylib */,
);
name = Dependencies;
sourceTree = "<group>";
@@ -493,6 +493,7 @@
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
/usr/local/lib,
+ /sw/lib,
);
PRODUCT_NAME = ledger;
ZERO_LINK = YES;
@@ -514,6 +515,7 @@
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
/usr/local/lib,
+ /sw/lib,
);
PRODUCT_NAME = ledger;
};
@@ -524,6 +526,14 @@
buildSettings = {
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ HEADER_SEARCH_PATHS = (
+ /usr/local/include,
+ /sw/include,
+ );
+ LIBRARY_SEARCH_PATHS = (
+ /usr/local/lib,
+ /sw/lib,
+ );
PREBINDING = NO;
SDKROOT = "";
};
@@ -534,6 +544,14 @@
buildSettings = {
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ HEADER_SEARCH_PATHS = (
+ /usr/local/include,
+ /sw/include,
+ );
+ LIBRARY_SEARCH_PATHS = (
+ /usr/local/lib,
+ /sw/lib,
+ );
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};