diff --git a/datetime.cc b/datetime.cc index ac20d64b..99a40aab 100644 --- a/datetime.cc +++ b/datetime.cc @@ -31,8 +31,10 @@ const char * date_t::formats[] = { datetime_t datetime_t::now(std::time(NULL)); namespace { +#if 0 static std::time_t base = -1; static int base_year = -1; +#endif static const int month_days[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 diff --git a/gnucash.cc b/gnucash.cc index 8095f9f3..9089638f 100644 --- a/gnucash.cc +++ b/gnucash.cc @@ -358,14 +358,14 @@ unsigned int gnucash_parser_t::parse(std::istream& in, in.getline(buf, BUFSIZ - 1); std::strcat(buf, "\n"); if (! XML_Parse(parser, buf, std::strlen(buf), in.eof())) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; const char * msg = XML_ErrorString(XML_GetErrorCode(parser)); XML_ParserFree(parser); throw new parse_error(msg); } if (! have_error.empty()) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; parse_error err(have_error); std::cerr << "Error: " << err.what() << std::endl; have_error = ""; diff --git a/journal.cc b/journal.cc index 1da58fdc..61e4e294 100644 --- a/journal.cc +++ b/journal.cc @@ -605,7 +605,7 @@ void print_entry(std::ostream& out, const entry_base_t& entry_base, { std::string print_format; - if (const entry_t * entry = dynamic_cast(&entry_base)) { + if (dynamic_cast(&entry_base)) { print_format = (prefix + "%D %X%C%P\n" + prefix + " %-34A %12o\n%/" + prefix + " %-34A %12o\n"); diff --git a/ledger.xcodeproj/johnw.mode1 b/ledger.xcodeproj/johnw.mode1 new file mode 100644 index 00000000..612e33e5 --- /dev/null +++ b/ledger.xcodeproj/johnw.mode1 @@ -0,0 +1,1431 @@ + + + + + ActivePerspectiveName + Project + AllowedModules + + + BundleLoadPath + + MaxInstances + n + Module + PBXSmartGroupTreeModule + Name + Groups and Files Outline View + + + BundleLoadPath + + MaxInstances + n + Module + PBXNavigatorGroup + Name + Editor + + + BundleLoadPath + + MaxInstances + n + Module + XCTaskListModule + Name + Task List + + + BundleLoadPath + + MaxInstances + n + Module + XCDetailModule + Name + File and Smart Group Detail Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXBuildResultsModule + Name + Detailed Build Results Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXProjectFindModule + Name + Project Batch Find Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXRunSessionModule + Name + Run Log + + + BundleLoadPath + + MaxInstances + n + Module + PBXBookmarksModule + Name + Bookmarks Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXClassBrowserModule + Name + Class Browser + + + BundleLoadPath + + MaxInstances + n + Module + PBXCVSModule + Name + Source Code Control Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXDebugBreakpointsModule + Name + Debug Breakpoints Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCDockableInspector + Name + Inspector + + + BundleLoadPath + + MaxInstances + n + Module + PBXOpenQuicklyModule + Name + Open Quickly Tool + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugSessionModule + Name + Debugger + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugCLIModule + Name + Debug Console + + + Description + DefaultDescriptionKey + DockingSystemVisible + + Extension + mode1 + FavBarConfig + + PBXProjectModuleGUID + 33AD83720B8027C500CF4200 + XCBarModuleItemNames + + XCBarModuleItems + + + FirstTimeWindowDisplayed + + Identifier + com.apple.perspectives.project.mode1 + MajorVersion + 31 + MinorVersion + 1 + Name + Default + Notifications + + + XCObserverAutoDisconnectKey + + XCObserverDefintionKey + + PBXStatusErrorsKey + 0 + + XCObserverFactoryKey + XCPerspectivesSpecificationIdentifier + XCObserverGUIDKey + XCObserverProjectIdentifier + XCObserverNotificationKey + PBXStatusBuildStateMessageNotification + XCObserverTargetKey + XCMainBuildResultsModuleGUID + XCObserverTriggerKey + awakenModuleWithObserver: + XCObserverValidationKey + + PBXStatusErrorsKey + 2 + + + + XCObserverAutoDisconnectKey + + XCObserverDefintionKey + + PBXStatusWarningsKey + 0 + + XCObserverFactoryKey + XCPerspectivesSpecificationIdentifier + XCObserverGUIDKey + XCObserverProjectIdentifier + XCObserverNotificationKey + PBXStatusBuildStateMessageNotification + XCObserverTargetKey + XCMainBuildResultsModuleGUID + XCObserverTriggerKey + awakenModuleWithObserver: + XCObserverValidationKey + + PBXStatusWarningsKey + 2 + + + + OpenEditors + + PerspectiveWidths + + -1 + -1 + + Perspectives + + + ChosenToolbarItems + + active-target-popup + action + NSToolbarFlexibleSpaceItem + buildOrClean + build-and-runOrDebug + com.apple.ide.PBXToolbarStopButton + get-info + toggle-editor + NSToolbarFlexibleSpaceItem + com.apple.pbx.toolbar.searchfield + + ControllerClassBaseName + + IconName + WindowOfProjectWithEditor + Identifier + perspective.project + IsVertical + + Layout + + + BecomeActive + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 08FB7794FE84155DC02AAC07 + 08FB7795FE84155DC02AAC07 + 3332304B0B802B5500C403F5 + 333230630B802BB200C403F5 + 3332304F0B802B6500C403F5 + 333230590B802B8E00C403F5 + C6859E8C029090F304C91782 + 33B8460F0BD0A60100472F4E + 1AB674ADFE9D54B511CA2CBB + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {186, 764}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {203, 782}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 206 55 1041 823 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 203pt + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20306471E060097A5F4 + PBXProjectModuleLabel + datetime.cc + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CE0B20406471E060097A5F4 + PBXProjectModuleLabel + datetime.cc + _historyCapacity + 0 + bookmark + 333106110BD0A83600A43EF0 + history + + 333230340B802B2C00C403F5 + 333230760B802C3300C403F5 + 3332307B0B802C4100C403F5 + 3332308E0B802C7A00C403F5 + 333230960B802C9A00C403F5 + 333230A30B802D4000C403F5 + 333230A40B802D4000C403F5 + 333230A60B802D4000C403F5 + 333230A70B802D4000C403F5 + 333230A80B802D4000C403F5 + 333230A90B802D4000C403F5 + 333230AA0B802D4000C403F5 + 333230AB0B802D4000C403F5 + 333230AC0B802D4000C403F5 + 333230AD0B802D4000C403F5 + 333230AF0B802D4000C403F5 + 333231000B802FF000C403F5 + 33B8460B0BD0A5CC00472F4E + 33B846130BD0A63200472F4E + 33B846400BD0A6EB00472F4E + 33B846570BD0A77800472F4E + + prevStack + + 333230360B802B2C00C403F5 + 333230700B802C1B00C403F5 + 333230740B802C2700C403F5 + 333230780B802C3300C403F5 + 3332307D0B802C4100C403F5 + 3332307E0B802C4100C403F5 + 333230820B802C4D00C403F5 + 333230860B802C6100C403F5 + 3332308B0B802C7100C403F5 + 3332308C0B802C7100C403F5 + 333230900B802C7A00C403F5 + 333230940B802C8B00C403F5 + 333230990B802C9A00C403F5 + 3332309A0B802C9A00C403F5 + 333230B20B802D4000C403F5 + 333230B40B802D4000C403F5 + 333230BA0B802D4000C403F5 + 333230BE0B802D4000C403F5 + 333230C00B802D4000C403F5 + 333230C20B802D4000C403F5 + 33B8460D0BD0A5CC00472F4E + + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {833, 544}} + RubberWindowFrame + 206 55 1041 823 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 544pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20506471E060097A5F4 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{0, 549}, {833, 233}} + RubberWindowFrame + 206 55 1041 823 0 0 1440 878 + + Module + XCDetailModule + Proportion + 233pt + + + Proportion + 833pt + + + Name + Project + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + XCModuleDock + PBXNavigatorGroup + XCDetailModule + + TableOfContents + + 333106120BD0A83600A43EF0 + 1CE0B1FE06471DED0097A5F4 + 333106130BD0A83600A43EF0 + 1CE0B20306471E060097A5F4 + 1CE0B20506471E060097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.default + + + ControllerClassBaseName + + IconName + WindowOfProject + Identifier + perspective.morph + IsVertical + 0 + Layout + + + BecomeActive + 1 + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 11E0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {186, 337}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + 1 + XCSharingToken + com.apple.Xcode.GFSharingToken + + GeometryConfiguration + + Frame + {{0, 0}, {203, 355}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 373 269 690 397 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 100% + + + Name + Morph + PreferredWidth + 300 + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + + TableOfContents + + 11E0B1FE06471DED0097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.default.short + + + PerspectivesBarVisible + + ShelfIsVisible + + SourceDescription + file at '/System/Library/PrivateFrameworks/DevToolsInterface.framework/Versions/A/Resources/XCPerspectivesSpecificationMode1.xcperspec' + StatusbarIsVisible + + TimeStamp + 198223926.73633999 + ToolbarDisplayMode + 1 + ToolbarIsVisible + + ToolbarSizeMode + 1 + Type + Perspectives + UpdateMessage + The Default Workspace in this version of Xcode now includes support to hide and show the detail view (what has been referred to as the "Metro-Morph" feature). You must discard your current Default Workspace settings and update to the latest Default Workspace in order to gain this feature. Do you wish to update to the latest Workspace defaults for project '%@'? + WindowJustification + 5 + WindowOrderList + + 33AD83730B8027C500CF4200 + /Volumes/Users/johnw/Projects/sf.ledger/trunk/ledger.xcodeproj + + WindowString + 206 55 1041 823 0 0 1440 878 + WindowTools + + + FirstTimeWindowDisplayed + + Identifier + windowTool.build + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528F0623707200166675 + PBXProjectModuleLabel + xmlparse.cc + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {730, 268}} + RubberWindowFrame + 397 238 730 550 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 268pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + XCMainBuildResultsModuleGUID + PBXProjectModuleLabel + Build + XCBuildResultsTrigger_Collapse + 1022 + XCBuildResultsTrigger_Open + 1013 + + GeometryConfiguration + + Frame + {{0, 273}, {730, 236}} + RubberWindowFrame + 397 238 730 550 0 0 1440 878 + + Module + PBXBuildResultsModule + Proportion + 236pt + + + Proportion + 509pt + + + Name + Build Results + ServiceClasses + + PBXBuildResultsModule + + StatusbarIsVisible + + TableOfContents + + 33AD83730B8027C500CF4200 + 333105EB0BD0A79900A43EF0 + 1CD0528F0623707200166675 + XCMainBuildResultsModuleGUID + + ToolbarConfiguration + xcode.toolbar.config.build + WindowString + 397 238 730 550 0 0 1440 878 + WindowToolGUID + 33AD83730B8027C500CF4200 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debugger + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + Debugger + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {377, 331}} + {{377, 0}, {489, 331}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {866, 331}} + {{0, 331}, {866, 416}} + + + + LauncherConfigVersion + 8 + PBXProjectModuleGUID + 1C162984064C10D400B95A72 + PBXProjectModuleLabel + Debug - GLUTExamples (Underwater) + + GeometryConfiguration + + DebugConsoleDrawerSize + {100, 120} + DebugConsoleVisible + None + DebugConsoleWindowFrame + {{200, 200}, {500, 300}} + DebugSTDIOWindowFrame + {{200, 200}, {500, 300}} + Frame + {{0, 0}, {866, 747}} + RubberWindowFrame + 106 71 866 788 0 0 1440 878 + + Module + PBXDebugSessionModule + Proportion + 747pt + + + Proportion + 747pt + + + Name + Debugger + ServiceClasses + + PBXDebugSessionModule + + StatusbarIsVisible + + TableOfContents + + 1CD10A99069EF8BA00B06720 + 3332303A0B802B2C00C403F5 + 1C162984064C10D400B95A72 + 3332303B0B802B2C00C403F5 + 3332303C0B802B2C00C403F5 + 3332303D0B802B2C00C403F5 + 3332303E0B802B2C00C403F5 + 3332303F0B802B2C00C403F5 + 333230400B802B2C00C403F5 + + ToolbarConfiguration + xcode.toolbar.config.debug + WindowString + 106 71 866 788 0 0 1440 878 + WindowToolGUID + 1CD10A99069EF8BA00B06720 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.find + IsVertical + + Layout + + + Dock + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CDD528C0622207200134675 + PBXProjectModuleLabel + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {781, 212}} + RubberWindowFrame + 227 385 781 470 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 781pt + + + Proportion + 212pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528E0623707200166675 + PBXProjectModuleLabel + Project Find + + GeometryConfiguration + + Frame + {{0, 217}, {781, 212}} + RubberWindowFrame + 227 385 781 470 0 0 1440 878 + + Module + PBXProjectFindModule + Proportion + 212pt + + + Proportion + 429pt + + + Name + Project Find + ServiceClasses + + PBXProjectFindModule + + StatusbarIsVisible + + TableOfContents + + 1C530D57069F1CE1000CFCEE + 3332309E0B802CA500C403F5 + 3332309F0B802CA500C403F5 + 1CDD528C0622207200134675 + 1CD0528E0623707200166675 + + WindowString + 227 385 781 470 0 0 1440 878 + WindowToolGUID + 1C530D57069F1CE1000CFCEE + WindowToolIsVisible + + + + Identifier + MENUSEPARATOR + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debuggerConsole + IsVertical + + Layout + + + Dock + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAAC065D492600B07095 + PBXProjectModuleLabel + Debugger Console + + GeometryConfiguration + + Frame + {{0, 0}, {440, 358}} + RubberWindowFrame + 127 436 440 400 0 0 1440 878 + + Module + PBXDebugCLIModule + Proportion + 358pt + + + Proportion + 359pt + + + Name + Debugger Console + ServiceClasses + + PBXDebugCLIModule + + StatusbarIsVisible + + TableOfContents + + 333230D00B802DB800C403F5 + 333230D10B802DB800C403F5 + 1C78EAAC065D492600B07095 + + WindowString + 127 436 440 400 0 0 1440 878 + WindowToolGUID + 333230D00B802DB800C403F5 + WindowToolIsVisible + + + + Identifier + windowTool.run + Layout + + + Dock + + + ContentConfiguration + + LauncherConfigVersion + 3 + PBXProjectModuleGUID + 1CD0528B0623707200166675 + PBXProjectModuleLabel + Run + Runner + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {493, 167}} + {{0, 176}, {493, 267}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {405, 443}} + {{414, 0}, {514, 443}} + + + + + GeometryConfiguration + + Frame + {{0, 0}, {460, 159}} + RubberWindowFrame + 316 696 459 200 0 0 1280 1002 + + Module + PBXRunSessionModule + Proportion + 159pt + + + Proportion + 159pt + + + Name + Run Log + ServiceClasses + + PBXRunSessionModule + + StatusbarIsVisible + 1 + TableOfContents + + 1C0AD2B3069F1EA900FABCE6 + 1C0AD2B4069F1EA900FABCE6 + 1CD0528B0623707200166675 + 1C0AD2B5069F1EA900FABCE6 + + ToolbarConfiguration + xcode.toolbar.config.run + WindowString + 316 696 459 200 0 0 1280 1002 + WindowToolGUID + 1C0AD2B3069F1EA900FABCE6 + WindowToolIsVisible + 0 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.scm + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAB2065D492600B07095 + PBXProjectModuleLabel + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {452, 0}} + RubberWindowFrame + 227 547 452 308 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 0pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CD052920623707200166675 + PBXProjectModuleLabel + SCM Results + + GeometryConfiguration + + Frame + {{0, 5}, {452, 262}} + RubberWindowFrame + 227 547 452 308 0 0 1440 878 + + Module + PBXCVSModule + Proportion + 262pt + + + Proportion + 267pt + + + Name + SCM + ServiceClasses + + PBXCVSModule + + StatusbarIsVisible + + TableOfContents + + 333230D30B802DD900C403F5 + 333230D40B802DD900C403F5 + 1C78EAB2065D492600B07095 + 1CD052920623707200166675 + + ToolbarConfiguration + xcode.toolbar.config.scm + WindowString + 227 547 452 308 0 0 1440 878 + WindowToolGUID + 333230D30B802DD900C403F5 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.breakpoints + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C77FABC04509CD000000102 + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + no + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 168 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 1C77FABC04509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 0}, {168, 350}} + + PBXTopSmartGroupGIDs + + XCIncludePerspectivesSwitch + + + GeometryConfiguration + + Frame + {{0, 0}, {185, 368}} + GroupTreeTableConfiguration + + MainColumn + 168 + + RubberWindowFrame + 127 427 744 409 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 185pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CA1AED706398EBD00589147 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{190, 0}, {554, 368}} + RubberWindowFrame + 127 427 744 409 0 0 1440 878 + + Module + XCDetailModule + Proportion + 554pt + + + Proportion + 368pt + + + MajorVersion + 2 + MinorVersion + 0 + Name + Breakpoints + ServiceClasses + + PBXSmartGroupTreeModule + XCDetailModule + + StatusbarIsVisible + + TableOfContents + + 333230F90B802FDD00C403F5 + 333230FA0B802FDD00C403F5 + 1CE0B1FE06471DED0097A5F4 + 1CA1AED706398EBD00589147 + + ToolbarConfiguration + xcode.toolbar.config.breakpoints + WindowString + 127 427 744 409 0 0 1440 878 + WindowToolGUID + 333230F90B802FDD00C403F5 + WindowToolIsVisible + + + + Identifier + windowTool.debugAnimator + Layout + + + Dock + + + Module + PBXNavigatorGroup + Proportion + 100% + + + Proportion + 100% + + + Name + Debug Visualizer + ServiceClasses + + PBXNavigatorGroup + + StatusbarIsVisible + 1 + ToolbarConfiguration + xcode.toolbar.config.debugAnimator + WindowString + 100 100 700 500 0 0 1280 1002 + + + Identifier + windowTool.bookmarks + Layout + + + Dock + + + Module + PBXBookmarksModule + Proportion + 100% + + + Proportion + 100% + + + Name + Bookmarks + ServiceClasses + + PBXBookmarksModule + + StatusbarIsVisible + 0 + WindowString + 538 42 401 187 0 0 1280 1002 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.classBrowser + IsVertical + + Layout + + + Dock + + + ContentConfiguration + + OptionsSetName + Hierarchy, project classes + PBXProjectModuleGUID + 1CA6456E063B45B4001379D8 + PBXProjectModuleLabel + Class Browser - value_t + + GeometryConfiguration + + ClassesFrame + {{0, 0}, {378, 96}} + ClassesTreeTableConfiguration + + PBXClassNameColumnIdentifier + 208 + PBXClassBookColumnIdentifier + 22 + + Frame + {{0, 0}, {630, 332}} + MembersFrame + {{0, 101}, {378, 231}} + MembersTreeTableConfiguration + + PBXMemberTypeIconColumnIdentifier + 22 + PBXMemberNameColumnIdentifier + 216 + PBXMemberTypeColumnIdentifier + 101 + PBXMemberBookColumnIdentifier + 22 + + RubberWindowFrame + 227 503 630 352 0 0 1440 878 + + Module + PBXClassBrowserModule + Proportion + 332pt + + + Proportion + 332pt + + + Name + Class Browser + ServiceClasses + + PBXClassBrowserModule + + StatusbarIsVisible + + TableOfContents + + 1C0AD2AF069F1E9B00FABCE6 + 333230E20B802E8300C403F5 + 1CA6456E063B45B4001379D8 + + ToolbarConfiguration + xcode.toolbar.config.classbrowser + WindowString + 227 503 630 352 0 0 1440 878 + WindowToolGUID + 1C0AD2AF069F1E9B00FABCE6 + WindowToolIsVisible + + + + + diff --git a/ledger.xcodeproj/johnw.pbxuser b/ledger.xcodeproj/johnw.pbxuser new file mode 100644 index 00000000..e0b310fc --- /dev/null +++ b/ledger.xcodeproj/johnw.pbxuser @@ -0,0 +1,1154 @@ +// !$*UTF8*$! +{ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + activeBuildConfigurationName = Debug; + activeExecutable = 33AD82D60B80262200CF4200 /* ledger */; + activeTarget = 8DD76F620486A84900D96B5E /* ledger */; + addToTargets = ( + 8DD76F620486A84900D96B5E /* ledger */, + ); + breakpoints = ( + 333230A20B802D3E00C403F5 /* xpath.h:768 */, + ); + breakpointsGroup = 333231030B802FF000C403F5 /* XCBreakpointsBucket */; + codeSenseManager = 33AD82DB0B80264000CF4200 /* Code sense */; + executables = ( + 33AD82D60B80262200CF4200 /* ledger */, + ); + perUserDictionary = { + "PBXConfiguration.PBXBreakpointsDataSource.v1:1CA1AED706398EBD00589147" = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXBreakpointsDataSource_BreakpointID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 20, + 210, + 20, + 110, + 109, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXBreakpointsDataSource_ActionID, + PBXBreakpointsDataSource_TypeID, + PBXBreakpointsDataSource_BreakpointID, + PBXBreakpointsDataSource_UseID, + PBXBreakpointsDataSource_LocationID, + PBXBreakpointsDataSource_ConditionID, + PBXBreakpointsDataSource_ContinueID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXExecutablesDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXExecutablesDataSource_NameID; + PBXFileTableDataSourceColumnWidthsKey = ( + 22, + 300, + 481.5835, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXExecutablesDataSource_ActiveFlagID, + PBXExecutablesDataSource_NameID, + PBXExecutablesDataSource_CommentsID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 594, + 20, + 48, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXConfiguration.PBXTargetDataSource.PBXTargetDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 200, + 63, + 20, + 48, + 43, + 43, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXTargetDataSource_PrimaryAttribute, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 198223751; + PBXWorkspaceStateSaveDate = 198223751; + }; + perUserProjectItems = { + 333105E90BD0A79900A43EF0 /* PBXTextBookmark */ = 333105E90BD0A79900A43EF0 /* PBXTextBookmark */; + 333105EA0BD0A79900A43EF0 /* PBXTextBookmark */ = 333105EA0BD0A79900A43EF0 /* PBXTextBookmark */; + 333105EC0BD0A79900A43EF0 /* PBXTextBookmark */ = 333105EC0BD0A79900A43EF0 /* PBXTextBookmark */; + 333105ED0BD0A79900A43EF0 /* PBXTextBookmark */ = 333105ED0BD0A79900A43EF0 /* PBXTextBookmark */; + 333105F00BD0A7AD00A43EF0 /* PBXTextBookmark */ = 333105F00BD0A7AD00A43EF0 /* PBXTextBookmark */; + 333105F10BD0A7AD00A43EF0 /* PBXTextBookmark */ = 333105F10BD0A7AD00A43EF0 /* PBXTextBookmark */; + 333105F20BD0A7AD00A43EF0 /* PBXTextBookmark */ = 333105F20BD0A7AD00A43EF0 /* PBXTextBookmark */; + 333105F30BD0A7AD00A43EF0 /* PBXTextBookmark */ = 333105F30BD0A7AD00A43EF0 /* PBXTextBookmark */; + 333105F40BD0A7AD00A43EF0 /* PBXTextBookmark */ = 333105F40BD0A7AD00A43EF0 /* PBXTextBookmark */; + 333105F50BD0A7AD00A43EF0 /* PBXTextBookmark */ = 333105F50BD0A7AD00A43EF0 /* PBXTextBookmark */; + 333105F90BD0A7B200A43EF0 /* PBXTextBookmark */ = 333105F90BD0A7B200A43EF0 /* PBXTextBookmark */; + 333105FA0BD0A7B200A43EF0 /* PBXTextBookmark */ = 333105FA0BD0A7B200A43EF0 /* PBXTextBookmark */; + 333105FB0BD0A7B200A43EF0 /* PBXTextBookmark */ = 333105FB0BD0A7B200A43EF0 /* PBXTextBookmark */; + 333105FC0BD0A7B500A43EF0 /* PBXTextBookmark */ = 333105FC0BD0A7B500A43EF0 /* PBXTextBookmark */; + 333105FE0BD0A7BA00A43EF0 /* PBXTextBookmark */ = 333105FE0BD0A7BA00A43EF0 /* PBXTextBookmark */; + 333105FF0BD0A7BA00A43EF0 /* PBXTextBookmark */ = 333105FF0BD0A7BA00A43EF0 /* PBXTextBookmark */; + 333106000BD0A7BA00A43EF0 /* PBXTextBookmark */ = 333106000BD0A7BA00A43EF0 /* PBXTextBookmark */; + 333106020BD0A7CA00A43EF0 /* PBXTextBookmark */ = 333106020BD0A7CA00A43EF0 /* PBXTextBookmark */; + 333106030BD0A7CA00A43EF0 /* PBXTextBookmark */ = 333106030BD0A7CA00A43EF0 /* PBXTextBookmark */; + 333106040BD0A7CA00A43EF0 /* PBXTextBookmark */ = 333106040BD0A7CA00A43EF0 /* PBXTextBookmark */; + 333106050BD0A80E00A43EF0 /* PBXTextBookmark */ = 333106050BD0A80E00A43EF0 /* PBXTextBookmark */; + 333106090BD0A82A00A43EF0 /* PBXTextBookmark */ = 333106090BD0A82A00A43EF0 /* PBXTextBookmark */; + 3331060A0BD0A82A00A43EF0 /* PBXTextBookmark */ = 3331060A0BD0A82A00A43EF0 /* PBXTextBookmark */; + 3331060B0BD0A82A00A43EF0 /* PBXTextBookmark */ = 3331060B0BD0A82A00A43EF0 /* PBXTextBookmark */; + 3331060E0BD0A83200A43EF0 /* PBXTextBookmark */ = 3331060E0BD0A83200A43EF0 /* PBXTextBookmark */; + 333106110BD0A83600A43EF0 /* PBXTextBookmark */ = 333106110BD0A83600A43EF0 /* 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 */; + 33B8460B0BD0A5CC00472F4E = 33B8460B0BD0A5CC00472F4E /* PBXTextBookmark */; + 33B8460D0BD0A5CC00472F4E = 33B8460D0BD0A5CC00472F4E /* PBXTextBookmark */; + 33B846130BD0A63200472F4E = 33B846130BD0A63200472F4E /* PBXTextBookmark */; + 33B846150BD0A63200472F4E = 33B846150BD0A63200472F4E /* PBXTextBookmark */; + 33B846380BD0A6C500472F4E = 33B846380BD0A6C500472F4E /* PBXTextBookmark */; + 33B846400BD0A6EB00472F4E = 33B846400BD0A6EB00472F4E /* PBXTextBookmark */; + 33B846410BD0A6EB00472F4E = 33B846410BD0A6EB00472F4E /* PBXTextBookmark */; + 33B846570BD0A77800472F4E = 33B846570BD0A77800472F4E /* PBXTextBookmark */; + }; + sourceControlManager = 33AD82DA0B80264000CF4200 /* Source Control */; + userBuildSettings = { + }; + }; + 333105E90BD0A79900A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + comments = "warning: ‘::base’ defined but not used"; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + rLen = 1; + rLoc = 34; + rType = 1; + }; + 333105EA0BD0A79900A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "datetime.cc: month_days"; + rLen = 0; + rLoc = 617; + rType = 0; + vrLen = 238; + vrLoc = 475; + }; + 333105EC0BD0A79900A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "datetime.cc: month_days"; + rLen = 0; + rLoc = 617; + rType = 0; + vrLen = 238; + vrLoc = 475; + }; + 333105ED0BD0A79900A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "datetime.cc: month_days"; + rLen = 0; + rLoc = 617; + rType = 0; + vrLen = 238; + vrLoc = 475; + }; + 333105F00BD0A7AD00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "datetime.cc: month_days"; + rLen = 0; + rLoc = 617; + rType = 0; + vrLen = 238; + vrLoc = 475; + }; + 333105F10BD0A7AD00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83180B80269C00CF4200 /* xml.cc */; + name = "xml.cc: offset"; + rLen = 0; + rLoc = 7071; + rType = 0; + vrLen = 436; + vrLoc = 6859; + }; + 333105F20BD0A7AD00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + comments = "warning: unused variable ‘offset’"; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + rLen = 1; + rLoc = 203; + rType = 1; + }; + 333105F30BD0A7AD00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "datetime.cc: month_days"; + rLen = 0; + rLoc = 617; + rType = 0; + vrLen = 238; + vrLoc = 475; + }; + 333105F40BD0A7AD00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83180B80269C00CF4200 /* xml.cc */; + name = "xml.cc: offset"; + rLen = 0; + rLoc = 7071; + rType = 0; + vrLen = 436; + vrLoc = 6859; + }; + 333105F50BD0A7AD00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333105F90BD0A7B200A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333105FA0BD0A7B200A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333105FB0BD0A7B200A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333105FC0BD0A7B500A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333105FE0BD0A7BA00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333105FF0BD0A7BA00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333106000BD0A7BA00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333106020BD0A7CA00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333106030BD0A7CA00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333106040BD0A7CA00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333106050BD0A80E00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333106090BD0A82A00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 3331060A0BD0A82A00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 3331060B0BD0A82A00A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 3331060E0BD0A83200A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 204"; + rLen = 0; + rLoc = 5476; + rType = 0; + vrLen = 362; + vrLoc = 5358; + }; + 333106110BD0A83600A43EF0 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "static std::time_t base = -1;"; + rLen = 32; + rLoc = 550; + rType = 0; + vrLen = 610; + vrLoc = 424; + }; + 333230340B802B2C00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82F00B80269C00CF4200 /* format.cc */; + name = "format.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 808; + vrLoc = 0; + }; + 333230360B802B2C00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82F00B80269C00CF4200 /* format.cc */; + name = "format.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 808; + vrLoc = 0; + }; + 333230700B802C1B00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 3356EA090B8029FA00EC228D /* option.cc */; + name = "option.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 794; + vrLoc = 0; + }; + 333230740B802C2700C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83750B80280B00CF4200 /* acconf.h */; + name = "acconf.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1172; + vrLoc = 0; + }; + 333230760B802C3300C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83050B80269C00CF4200 /* quotes.cc */; + name = "quotes.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1072; + vrLoc = 0; + }; + 333230780B802C3300C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83050B80269C00CF4200 /* quotes.cc */; + name = "quotes.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1072; + vrLoc = 0; + }; + 3332307B0B802C4100C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82DD0B80269C00CF4200 /* amount.h */; + name = "TRACE_CTOR(\"amount_t()\");"; + rLen = 30; + rLoc = 920; + rType = 0; + vrLen = 645; + vrLoc = 0; + }; + 3332307D0B802C4100C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "static std::time_t base = -1;"; + rLen = 39; + rLoc = 595; + rType = 0; + vrLen = 740; + vrLoc = 0; + }; + 3332307E0B802C4100C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82DD0B80269C00CF4200 /* amount.h */; + name = "TRACE_CTOR(\"amount_t()\");"; + rLen = 30; + rLoc = 920; + rType = 0; + vrLen = 645; + vrLoc = 0; + }; + 333230820B802C4D00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82DC0B80269C00CF4200 /* amount.cc */; + name = "amount.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 801; + vrLoc = 0; + }; + 333230860B802C6100C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82F40B80269C00CF4200 /* journal.cc */; + name = "journal.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 723; + vrLoc = 0; + }; + 3332308B0B802C7100C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E00B80269C00CF4200 /* binary.cc */; + name = "binary.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1013; + vrLoc = 0; + }; + 3332308C0B802C7100C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83180B80269C00CF4200 /* xml.cc */; + name = "xml.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 912; + vrLoc = 0; + }; + 3332308E0B802C7A00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 946; + vrLoc = 0; + }; + 333230900B802C7A00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; + name = "xmlparse.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 946; + vrLoc = 0; + }; + 333230940B802C8B00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83070B80269C00CF4200 /* reconcile.cc */; + name = "reconcile.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 0; + vrLoc = 0; + }; + 333230960B802C9A00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83090B80269C00CF4200 /* report.cc */; + name = "report.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1023; + vrLoc = 0; + }; + 333230990B802C9A00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83090B80269C00CF4200 /* report.cc */; + name = "report.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1023; + vrLoc = 0; + }; + 3332309A0B802C9A00C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E20B80269C00CF4200 /* csv.cc */; + name = "csv.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 0; + vrLoc = 0; + }; + 333230A20B802D3E00C403F5 /* xpath.h:768 */ = { + isa = PBXFileBreakpoint; + actions = ( + ); + breakpointStyle = 0; + continueAfterActions = 0; + delayBeforeContinue = 0; + fileReference = 33AD831D0B80269C00CF4200 /* xpath.h */; + functionName = "operator()"; + hitCount = 1; + lineNumber = 768; + location = main.ob; + modificationTime = 192950207.974497; + state = 1; + }; + 333230A30B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82EF0B80269C00CF4200 /* fdstream.hpp */; + name = "fdstream.hpp: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1154; + vrLoc = 0; + }; + 333230A40B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82F60B80269C00CF4200 /* ledger.h */; + name = "ledger.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 775; + vrLoc = 0; + }; + 333230A60B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82DC0B80269C00CF4200 /* amount.cc */; + name = "amount.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 801; + vrLoc = 0; + }; + 333230A70B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82F40B80269C00CF4200 /* journal.cc */; + name = "journal.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 723; + vrLoc = 0; + }; + 333230A80B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E10B80269C00CF4200 /* binary.h */; + name = "binary.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 839; + vrLoc = 0; + }; + 333230A90B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E00B80269C00CF4200 /* binary.cc */; + name = "binary.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1013; + vrLoc = 0; + }; + 333230AA0B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83180B80269C00CF4200 /* xml.cc */; + name = "xml.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 912; + vrLoc = 0; + }; + 333230AB0B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83070B80269C00CF4200 /* reconcile.cc */; + name = "reconcile.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 0; + vrLoc = 0; + }; + 333230AC0B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E80B80269C00CF4200 /* derive.cc */; + name = "derive.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 934; + vrLoc = 0; + }; + 333230AD0B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E20B80269C00CF4200 /* csv.cc */; + name = "csv.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 0; + vrLoc = 0; + }; + 333230AF0B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 3356EA090B8029FA00EC228D /* option.cc */; + name = "option.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 794; + vrLoc = 0; + }; + 333230B20B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82EF0B80269C00CF4200 /* fdstream.hpp */; + name = "fdstream.hpp: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 1154; + vrLoc = 0; + }; + 333230B40B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82F60B80269C00CF4200 /* ledger.h */; + name = "ledger.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 775; + vrLoc = 0; + }; + 333230BA0B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E10B80269C00CF4200 /* binary.h */; + name = "binary.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 839; + vrLoc = 0; + }; + 333230BE0B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E80B80269C00CF4200 /* derive.cc */; + name = "derive.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 934; + vrLoc = 0; + }; + 333230C00B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 3356EA000B80299700EC228D /* main.cc */; + name = "main.cc: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 696; + vrLoc = 0; + }; + 333230C20B802D4000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83190B80269C00CF4200 /* xml.h */; + name = "}"; + rLen = 4; + rLoc = 1896; + rType = 0; + vrLen = 1033; + vrLoc = 1373; + }; + 333231000B802FF000C403F5 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 3356EA000B80299700EC228D /* main.cc */; + name = "ledger::tracing_active = true;"; + rLen = 35; + rLoc = 10634; + rType = 0; + vrLen = 718; + vrLoc = 10521; + }; + 333231030B802FF000C403F5 /* XCBreakpointsBucket */ = { + isa = XCBreakpointsBucket; + name = "Project Breakpoints"; + objects = ( + 333230A20B802D3E00C403F5 /* xpath.h:768 */, + ); + }; + 3356EA000B80299700EC228D /* main.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {825, 8910}}"; + sepNavSelRange = "{10634, 0}"; + sepNavVisRect = "{{0, 7305}, {825, 384}}"; + }; + }; + 3356EA090B8029FA00EC228D /* option.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {767, 5202}}"; + sepNavSelRange = "{2917, 0}"; + sepNavVisRect = "{{0, 2231}, {689, 236}}"; + }; + }; + 33AD82D60B80262200CF4200 /* ledger */ = { + isa = PBXExecutable; + activeArgIndex = 0; + activeArgIndices = ( + YES, + YES, + YES, + ); + argumentStrings = ( + "-f", + /home/johnw/doc/Finances/ledger.dat, + xml, + ); + autoAttachOnCrash = 1; + configStateDict = { + }; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = ledger; + savedGlobals = { + }; + sourceDirectories = ( + ); + variableFormatDictionary = { + }; + }; + 33AD82DA0B80264000CF4200 /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 1; + scmConfiguration = { + SubversionToolPath = /usr/local/bin/svn; + }; + scmType = scm.subversion; + }; + 33AD82DB0B80264000CF4200 /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; + 33AD82DC0B80269C00CF4200 /* amount.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {794, 37152}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82DD0B80269C00CF4200 /* amount.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 11178}}"; + sepNavSelRange = "{920, 30}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82DF0B80269C00CF4200 /* balance.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {686, 17244}}"; + sepNavSelRange = "{206, 16}"; + sepNavVisRect = "{{0, 0}, {337, 199}}"; + }; + }; + 33AD82E00B80269C00CF4200 /* binary.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 18378}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82E10B80269C00CF4200 /* binary.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 4662}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82E20B80269C00CF4200 /* csv.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 745}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82E40B80269C00CF4200 /* datetime.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 10332}}"; + sepNavSelRange = "{550, 32}"; + sepNavVisRect = "{{0, 378}, {792, 512}}"; + }; + }; + 33AD82E80B80269C00CF4200 /* derive.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 3294}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82EF0B80269C00CF4200 /* fdstream.hpp */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 3330}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82F00B80269C00CF4200 /* format.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 4770}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD82F20B80269C00CF4200 /* gnucash.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {749, 6912}}"; + sepNavSelRange = "{11616, 0}"; + sepNavVisRect = "{{0, 6522}, {459, 186}}"; + }; + }; + 33AD82F40B80269C00CF4200 /* journal.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {776, 18828}}"; + sepNavSelRange = "{14713, 0}"; + sepNavVisRect = "{{41, 10857}, {459, 186}}"; + }; + }; + 33AD82F60B80269C00CF4200 /* ledger.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 846}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD83050B80269C00CF4200 /* quotes.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 1566}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD83070B80269C00CF4200 /* reconcile.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 745}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD83090B80269C00CF4200 /* report.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 3852}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 745}}"; + }; + }; + 33AD830D0B80269C00CF4200 /* textual.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {830, 16146}}"; + sepNavSelRange = "{13898, 0}"; + sepNavVisRect = "{{0, 10086}, {459, 186}}"; + }; + }; + 33AD83160B80269C00CF4200 /* value.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {776, 47790}}"; + sepNavSelRange = "{51277, 0}"; + sepNavVisRect = "{{0, 33738}, {459, 186}}"; + }; + }; + 33AD83170B80269C00CF4200 /* value.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {722, 10170}}"; + sepNavSelRange = "{702, 14}"; + sepNavVisRect = "{{0, 360}, {337, 199}}"; + }; + }; + 33AD83180B80269C00CF4200 /* xml.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {812, 8442}}"; + sepNavSelRange = "{7071, 0}"; + sepNavVisRect = "{{0, 5687}, {689, 236}}"; + }; + }; + 33AD83190B80269C00CF4200 /* xml.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 6048}}"; + sepNavSelRange = "{1896, 4}"; + sepNavVisRect = "{{0, 1463}, {792, 512}}"; + }; + }; + 33AD831A0B80269C00CF4200 /* xmlparse.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {740, 8514}}"; + sepNavSelRange = "{5476, 0}"; + sepNavVisRect = "{{0, 3545}, {689, 236}}"; + }; + }; + 33AD831C0B80269C00CF4200 /* xpath.cc */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {749, 45954}}"; + sepNavSelRange = "{46916, 0}"; + sepNavVisRect = "{{0, 35124}, {459, 186}}"; + }; + }; + 33AD831D0B80269C00CF4200 /* xpath.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {785, 13968}}"; + sepNavSelRange = "{7507, 0}"; + sepNavVisRect = "{{0, 5550}, {459, 186}}"; + }; + }; + 33AD83750B80280B00CF4200 /* acconf.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {792, 1674}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 512}}"; + }; + }; + 33B8460B0BD0A5CC00472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831D0B80269C00CF4200 /* xpath.h */; + name = "xpath.h: 774"; + rLen = 0; + rLoc = 18463; + rType = 0; + vrLen = 613; + vrLoc = 17535; + }; + 33B8460D0BD0A5CC00472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD831D0B80269C00CF4200 /* xpath.h */; + name = "xpath.h: 774"; + rLen = 0; + rLoc = 18463; + rType = 0; + vrLen = 613; + vrLoc = 17535; + }; + 33B846130BD0A63200472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83750B80280B00CF4200 /* acconf.h */; + name = "acconf.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 840; + vrLoc = 0; + }; + 33B846150BD0A63200472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83750B80280B00CF4200 /* acconf.h */; + name = "acconf.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 840; + vrLoc = 0; + }; + 33B846380BD0A6C500472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + comments = "warning: ‘::base’ defined but not used"; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + rLen = 1; + rLoc = 34; + rType = 1; + }; + 33B846400BD0A6EB00472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83190B80269C00CF4200 /* xml.h */; + name = "}"; + rLen = 4; + rLoc = 1896; + rType = 0; + vrLen = 613; + vrLoc = 1552; + }; + 33B846410BD0A6EB00472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD83190B80269C00CF4200 /* xml.h */; + name = "}"; + rLen = 4; + rLoc = 1896; + rType = 0; + vrLen = 613; + vrLoc = 1552; + }; + 33B846570BD0A77800472F4E /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; + name = "static std::time_t base = -1;"; + rLen = 32; + rLoc = 550; + rType = 0; + vrLen = 699; + vrLoc = 424; + }; + 8DD76F620486A84900D96B5E /* ledger */ = { + activeExec = 0; + executables = ( + 33AD82D60B80262200CF4200 /* ledger */, + ); + }; + C6859E8B029090EE04C91782 /* ledger.1 */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {821, 1422}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {792, 512}}"; + }; + }; +} diff --git a/ledger.xcodeproj/project.pbxproj b/ledger.xcodeproj/project.pbxproj new file mode 100644 index 00000000..9764b869 --- /dev/null +++ b/ledger.xcodeproj/project.pbxproj @@ -0,0 +1,566 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* 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 */; }; + 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 */; }; + 33AD83210B80269C00CF4200 /* balance.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82DF0B80269C00CF4200 /* balance.h */; }; + 33AD83220B80269C00CF4200 /* binary.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82E00B80269C00CF4200 /* binary.cc */; }; + 33AD83230B80269C00CF4200 /* binary.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82E10B80269C00CF4200 /* binary.h */; }; + 33AD83240B80269C00CF4200 /* csv.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82E20B80269C00CF4200 /* csv.cc */; }; + 33AD83250B80269C00CF4200 /* csv.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82E30B80269C00CF4200 /* csv.h */; }; + 33AD83260B80269C00CF4200 /* datetime.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82E40B80269C00CF4200 /* datetime.cc */; }; + 33AD83270B80269C00CF4200 /* datetime.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82E50B80269C00CF4200 /* datetime.h */; }; + 33AD83280B80269C00CF4200 /* debug.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82E60B80269C00CF4200 /* debug.cc */; }; + 33AD83290B80269C00CF4200 /* debug.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82E70B80269C00CF4200 /* debug.h */; }; + 33AD832A0B80269C00CF4200 /* derive.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82E80B80269C00CF4200 /* derive.cc */; }; + 33AD832B0B80269C00CF4200 /* derive.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82E90B80269C00CF4200 /* derive.h */; }; + 33AD832E0B80269C00CF4200 /* emacs.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82EC0B80269C00CF4200 /* emacs.cc */; }; + 33AD832F0B80269C00CF4200 /* emacs.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82ED0B80269C00CF4200 /* emacs.h */; }; + 33AD83300B80269C00CF4200 /* error.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82EE0B80269C00CF4200 /* error.h */; }; + 33AD83310B80269C00CF4200 /* fdstream.hpp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82EF0B80269C00CF4200 /* fdstream.hpp */; }; + 33AD83320B80269C00CF4200 /* format.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82F00B80269C00CF4200 /* format.cc */; }; + 33AD83330B80269C00CF4200 /* format.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82F10B80269C00CF4200 /* format.h */; }; + 33AD83340B80269C00CF4200 /* gnucash.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82F20B80269C00CF4200 /* gnucash.cc */; }; + 33AD83350B80269C00CF4200 /* gnucash.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82F30B80269C00CF4200 /* gnucash.h */; }; + 33AD83360B80269C00CF4200 /* journal.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82F40B80269C00CF4200 /* journal.cc */; }; + 33AD83370B80269C00CF4200 /* journal.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82F50B80269C00CF4200 /* journal.h */; }; + 33AD83380B80269C00CF4200 /* ledger.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82F60B80269C00CF4200 /* ledger.h */; }; + 33AD83390B80269C00CF4200 /* mask.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82F70B80269C00CF4200 /* mask.cc */; }; + 33AD833A0B80269C00CF4200 /* mask.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82F80B80269C00CF4200 /* mask.h */; }; + 33AD833D0B80269C00CF4200 /* option.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82FB0B80269C00CF4200 /* option.h */; }; + 33AD833E0B80269C00CF4200 /* parser.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD82FC0B80269C00CF4200 /* parser.cc */; }; + 33AD833F0B80269C00CF4200 /* parser.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD82FD0B80269C00CF4200 /* parser.h */; }; + 33AD83450B80269C00CF4200 /* qif.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83030B80269C00CF4200 /* qif.cc */; }; + 33AD83460B80269C00CF4200 /* qif.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83040B80269C00CF4200 /* qif.h */; }; + 33AD83470B80269C00CF4200 /* quotes.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83050B80269C00CF4200 /* quotes.cc */; }; + 33AD83480B80269C00CF4200 /* quotes.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83060B80269C00CF4200 /* quotes.h */; }; + 33AD83490B80269C00CF4200 /* reconcile.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83070B80269C00CF4200 /* reconcile.cc */; }; + 33AD834A0B80269C00CF4200 /* reconcile.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83080B80269C00CF4200 /* reconcile.h */; }; + 33AD834B0B80269C00CF4200 /* report.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83090B80269C00CF4200 /* report.cc */; }; + 33AD834C0B80269C00CF4200 /* report.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD830A0B80269C00CF4200 /* report.h */; }; + 33AD834D0B80269C00CF4200 /* session.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD830B0B80269C00CF4200 /* session.cc */; }; + 33AD834E0B80269C00CF4200 /* session.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD830C0B80269C00CF4200 /* session.h */; }; + 33AD834F0B80269C00CF4200 /* textual.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD830D0B80269C00CF4200 /* textual.cc */; }; + 33AD83500B80269C00CF4200 /* textual.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD830E0B80269C00CF4200 /* textual.h */; }; + 33AD83510B80269C00CF4200 /* timing.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD830F0B80269C00CF4200 /* timing.h */; }; + 33AD83520B80269C00CF4200 /* trace.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83100B80269C00CF4200 /* trace.cc */; }; + 33AD83530B80269C00CF4200 /* trace.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83110B80269C00CF4200 /* trace.h */; }; + 33AD83540B80269C00CF4200 /* transform.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83120B80269C00CF4200 /* transform.cc */; }; + 33AD83550B80269C00CF4200 /* transform.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83130B80269C00CF4200 /* transform.h */; }; + 33AD83560B80269C00CF4200 /* util.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83140B80269C00CF4200 /* util.cc */; }; + 33AD83570B80269C00CF4200 /* util.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83150B80269C00CF4200 /* util.h */; }; + 33AD83580B80269C00CF4200 /* value.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83160B80269C00CF4200 /* value.cc */; }; + 33AD83590B80269C00CF4200 /* value.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83170B80269C00CF4200 /* value.h */; }; + 33AD835A0B80269C00CF4200 /* xml.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD83180B80269C00CF4200 /* xml.cc */; }; + 33AD835B0B80269C00CF4200 /* xml.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD83190B80269C00CF4200 /* xml.h */; }; + 33AD835C0B80269C00CF4200 /* xmlparse.cc in Sources */ = {isa = PBXBuildFile; fileRef = 33AD831A0B80269C00CF4200 /* xmlparse.cc */; }; + 33AD835D0B80269C00CF4200 /* xmlparse.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 33AD831B0B80269C00CF4200 /* xmlparse.h */; }; + 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 */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + 8DD76F6A0486A84900D96B5E /* ledger.1 in CopyFiles */, + 33AD831F0B80269C00CF4200 /* amount.h in CopyFiles */, + 33AD83210B80269C00CF4200 /* balance.h in CopyFiles */, + 33AD83230B80269C00CF4200 /* binary.h in CopyFiles */, + 33AD83250B80269C00CF4200 /* csv.h in CopyFiles */, + 33AD83270B80269C00CF4200 /* datetime.h in CopyFiles */, + 33AD83290B80269C00CF4200 /* debug.h in CopyFiles */, + 33AD832B0B80269C00CF4200 /* derive.h in CopyFiles */, + 33AD832F0B80269C00CF4200 /* emacs.h in CopyFiles */, + 33AD83300B80269C00CF4200 /* error.h in CopyFiles */, + 33AD83310B80269C00CF4200 /* fdstream.hpp in CopyFiles */, + 33AD83330B80269C00CF4200 /* format.h in CopyFiles */, + 33AD83350B80269C00CF4200 /* gnucash.h in CopyFiles */, + 33AD83370B80269C00CF4200 /* journal.h in CopyFiles */, + 33AD83380B80269C00CF4200 /* ledger.h in CopyFiles */, + 33AD833A0B80269C00CF4200 /* mask.h in CopyFiles */, + 33AD833D0B80269C00CF4200 /* option.h in CopyFiles */, + 33AD833F0B80269C00CF4200 /* parser.h in CopyFiles */, + 33AD83460B80269C00CF4200 /* qif.h in CopyFiles */, + 33AD83480B80269C00CF4200 /* quotes.h in CopyFiles */, + 33AD834A0B80269C00CF4200 /* reconcile.h in CopyFiles */, + 33AD834C0B80269C00CF4200 /* report.h in CopyFiles */, + 33AD834E0B80269C00CF4200 /* session.h in CopyFiles */, + 33AD83500B80269C00CF4200 /* textual.h in CopyFiles */, + 33AD83510B80269C00CF4200 /* timing.h in CopyFiles */, + 33AD83530B80269C00CF4200 /* trace.h in CopyFiles */, + 33AD83550B80269C00CF4200 /* transform.h in CopyFiles */, + 33AD83570B80269C00CF4200 /* util.h in CopyFiles */, + 33AD83590B80269C00CF4200 /* value.h in CopyFiles */, + 33AD835B0B80269C00CF4200 /* xml.h in CopyFiles */, + 33AD835D0B80269C00CF4200 /* xmlparse.h in CopyFiles */, + 33AD835F0B80269C00CF4200 /* xpath.h in CopyFiles */, + 33AD83760B80280B00CF4200 /* acconf.h in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 3356EA000B80299700EC228D /* main.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cc; sourceTree = ""; }; + 3356EA090B8029FA00EC228D /* option.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = option.cc; sourceTree = ""; }; + 33AD82DC0B80269C00CF4200 /* amount.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = amount.cc; sourceTree = ""; }; + 33AD82DD0B80269C00CF4200 /* amount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = amount.h; sourceTree = ""; }; + 33AD82DE0B80269C00CF4200 /* balance.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = balance.cc; sourceTree = ""; }; + 33AD82DF0B80269C00CF4200 /* balance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = balance.h; sourceTree = ""; }; + 33AD82E00B80269C00CF4200 /* binary.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = binary.cc; sourceTree = ""; }; + 33AD82E10B80269C00CF4200 /* binary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = binary.h; sourceTree = ""; }; + 33AD82E20B80269C00CF4200 /* csv.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = csv.cc; sourceTree = ""; }; + 33AD82E30B80269C00CF4200 /* csv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = csv.h; sourceTree = ""; }; + 33AD82E40B80269C00CF4200 /* datetime.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = datetime.cc; sourceTree = ""; }; + 33AD82E50B80269C00CF4200 /* datetime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = datetime.h; sourceTree = ""; }; + 33AD82E60B80269C00CF4200 /* debug.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = debug.cc; sourceTree = ""; }; + 33AD82E70B80269C00CF4200 /* debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = debug.h; sourceTree = ""; }; + 33AD82E80B80269C00CF4200 /* derive.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = derive.cc; sourceTree = ""; }; + 33AD82E90B80269C00CF4200 /* derive.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = derive.h; sourceTree = ""; }; + 33AD82EC0B80269C00CF4200 /* emacs.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = emacs.cc; sourceTree = ""; }; + 33AD82ED0B80269C00CF4200 /* emacs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = emacs.h; sourceTree = ""; }; + 33AD82EE0B80269C00CF4200 /* error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = error.h; sourceTree = ""; }; + 33AD82EF0B80269C00CF4200 /* fdstream.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = fdstream.hpp; sourceTree = ""; }; + 33AD82F00B80269C00CF4200 /* format.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = format.cc; sourceTree = ""; }; + 33AD82F10B80269C00CF4200 /* format.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = format.h; sourceTree = ""; }; + 33AD82F20B80269C00CF4200 /* gnucash.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = gnucash.cc; sourceTree = ""; }; + 33AD82F30B80269C00CF4200 /* gnucash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gnucash.h; sourceTree = ""; }; + 33AD82F40B80269C00CF4200 /* journal.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = journal.cc; sourceTree = ""; }; + 33AD82F50B80269C00CF4200 /* journal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = journal.h; sourceTree = ""; }; + 33AD82F60B80269C00CF4200 /* ledger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ledger.h; sourceTree = ""; }; + 33AD82F70B80269C00CF4200 /* mask.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = mask.cc; sourceTree = ""; }; + 33AD82F80B80269C00CF4200 /* mask.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mask.h; sourceTree = ""; }; + 33AD82FB0B80269C00CF4200 /* option.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = option.h; sourceTree = ""; }; + 33AD82FC0B80269C00CF4200 /* parser.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = parser.cc; sourceTree = ""; }; + 33AD82FD0B80269C00CF4200 /* parser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = parser.h; sourceTree = ""; }; + 33AD83030B80269C00CF4200 /* qif.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = qif.cc; sourceTree = ""; }; + 33AD83040B80269C00CF4200 /* qif.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = qif.h; sourceTree = ""; }; + 33AD83050B80269C00CF4200 /* quotes.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = quotes.cc; sourceTree = ""; }; + 33AD83060B80269C00CF4200 /* quotes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = quotes.h; sourceTree = ""; }; + 33AD83070B80269C00CF4200 /* reconcile.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = reconcile.cc; sourceTree = ""; }; + 33AD83080B80269C00CF4200 /* reconcile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = reconcile.h; sourceTree = ""; }; + 33AD83090B80269C00CF4200 /* report.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = report.cc; sourceTree = ""; }; + 33AD830A0B80269C00CF4200 /* report.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = report.h; sourceTree = ""; }; + 33AD830B0B80269C00CF4200 /* session.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = session.cc; sourceTree = ""; }; + 33AD830C0B80269C00CF4200 /* session.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = session.h; sourceTree = ""; }; + 33AD830D0B80269C00CF4200 /* textual.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = textual.cc; sourceTree = ""; }; + 33AD830E0B80269C00CF4200 /* textual.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = textual.h; sourceTree = ""; }; + 33AD830F0B80269C00CF4200 /* timing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = timing.h; sourceTree = ""; }; + 33AD83100B80269C00CF4200 /* trace.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = trace.cc; sourceTree = ""; }; + 33AD83110B80269C00CF4200 /* trace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = trace.h; sourceTree = ""; }; + 33AD83120B80269C00CF4200 /* transform.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = transform.cc; sourceTree = ""; }; + 33AD83130B80269C00CF4200 /* transform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = transform.h; sourceTree = ""; }; + 33AD83140B80269C00CF4200 /* util.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = util.cc; sourceTree = ""; }; + 33AD83150B80269C00CF4200 /* util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = util.h; sourceTree = ""; }; + 33AD83160B80269C00CF4200 /* value.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = value.cc; sourceTree = ""; }; + 33AD83170B80269C00CF4200 /* value.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = value.h; sourceTree = ""; }; + 33AD83180B80269C00CF4200 /* xml.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xml.cc; sourceTree = ""; }; + 33AD83190B80269C00CF4200 /* xml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xml.h; sourceTree = ""; }; + 33AD831A0B80269C00CF4200 /* xmlparse.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xmlparse.cc; sourceTree = ""; }; + 33AD831B0B80269C00CF4200 /* xmlparse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xmlparse.h; sourceTree = ""; }; + 33AD831C0B80269C00CF4200 /* xpath.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xpath.cc; sourceTree = ""; }; + 33AD831D0B80269C00CF4200 /* xpath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xpath.h; sourceTree = ""; }; + 33AD83750B80280B00CF4200 /* acconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = acconf.h; sourceTree = ""; }; + 33B846030BD0A59100472F4E /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = /usr/local/lib/libxml2.dylib; sourceTree = ""; }; + 33B846050BD0A5B200472F4E /* libgmp.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libgmp.dylib; path = /usr/local/lib/libgmp.dylib; sourceTree = ""; }; + 33B846060BD0A5B200472F4E /* libpcre.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libpcre.dylib; path = /usr/local/lib/libpcre.dylib; sourceTree = ""; }; + 8DD76F6C0486A84900D96B5E /* ledger */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ledger; sourceTree = BUILT_PRODUCTS_DIR; }; + C6859E8B029090EE04C91782 /* ledger.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = ledger.1; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 33B846040BD0A59100472F4E /* libxml2.dylib in Frameworks */, + 33B846070BD0A5B200472F4E /* libgmp.dylib in Frameworks */, + 33B846080BD0A5B200472F4E /* libpcre.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* ledger */ = { + isa = PBXGroup; + children = ( + 08FB7795FE84155DC02AAC07 /* Source */, + C6859E8C029090F304C91782 /* Documentation */, + 33B8460F0BD0A60100472F4E /* Dependencies */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = ledger; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 333230420B802B3A00C403F5 /* Utility code */, + 333230470B802B4700C403F5 /* Core numerics */, + 3332304B0B802B5500C403F5 /* Journal representation */, + 3332304F0B802B6500C403F5 /* XML meta-representation */, + 333230530B802B7400C403F5 /* Transformations */, + 333230570B802B8200C403F5 /* Reporting */, + 333230590B802B8E00C403F5 /* Command-line driver */, + 3332305B0B802B9E00C403F5 /* Python scripting */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* ledger */, + ); + name = Products; + sourceTree = ""; + }; + 333230420B802B3A00C403F5 /* Utility code */ = { + isa = PBXGroup; + children = ( + 33AD82F60B80269C00CF4200 /* ledger.h */, + 33AD83140B80269C00CF4200 /* util.cc */, + 33AD83150B80269C00CF4200 /* util.h */, + 33AD83750B80280B00CF4200 /* acconf.h */, + 33AD82E60B80269C00CF4200 /* debug.cc */, + 33AD82E70B80269C00CF4200 /* debug.h */, + 33AD82EE0B80269C00CF4200 /* error.h */, + 33AD830F0B80269C00CF4200 /* timing.h */, + 33AD83100B80269C00CF4200 /* trace.cc */, + 33AD83110B80269C00CF4200 /* trace.h */, + ); + name = "Utility code"; + sourceTree = ""; + }; + 333230470B802B4700C403F5 /* Core numerics */ = { + isa = PBXGroup; + children = ( + 3332306A0B802BC800C403F5 /* Common data types */, + 333230670B802BC800C403F5 /* Amounts and values */, + ); + name = "Core numerics"; + sourceTree = ""; + }; + 3332304B0B802B5500C403F5 /* Journal representation */ = { + isa = PBXGroup; + children = ( + 33AD82F40B80269C00CF4200 /* journal.cc */, + 33AD82F50B80269C00CF4200 /* journal.h */, + 33AD82FC0B80269C00CF4200 /* parser.cc */, + 33AD82FD0B80269C00CF4200 /* parser.h */, + 333230630B802BB200C403F5 /* Input formats */, + ); + name = "Journal representation"; + sourceTree = ""; + }; + 3332304F0B802B6500C403F5 /* XML meta-representation */ = { + isa = PBXGroup; + children = ( + 33AD83180B80269C00CF4200 /* xml.cc */, + 33AD83190B80269C00CF4200 /* xml.h */, + 33AD831C0B80269C00CF4200 /* xpath.cc */, + 33AD831D0B80269C00CF4200 /* xpath.h */, + ); + name = "XML meta-representation"; + sourceTree = ""; + }; + 333230530B802B7400C403F5 /* Transformations */ = { + isa = PBXGroup; + children = ( + 33AD83070B80269C00CF4200 /* reconcile.cc */, + 33AD83080B80269C00CF4200 /* reconcile.h */, + 33AD83120B80269C00CF4200 /* transform.cc */, + 33AD83130B80269C00CF4200 /* transform.h */, + ); + name = Transformations; + sourceTree = ""; + }; + 333230570B802B8200C403F5 /* Reporting */ = { + isa = PBXGroup; + children = ( + 33AD82E80B80269C00CF4200 /* derive.cc */, + 33AD82E90B80269C00CF4200 /* derive.h */, + 33AD82F00B80269C00CF4200 /* format.cc */, + 33AD82F10B80269C00CF4200 /* format.h */, + 33AD83090B80269C00CF4200 /* report.cc */, + 33AD830A0B80269C00CF4200 /* report.h */, + 3332305F0B802BAA00C403F5 /* Output formats */, + ); + name = Reporting; + sourceTree = ""; + }; + 333230590B802B8E00C403F5 /* Command-line driver */ = { + isa = PBXGroup; + children = ( + 3356EA000B80299700EC228D /* main.cc */, + 3356EA090B8029FA00EC228D /* option.cc */, + 33AD82FB0B80269C00CF4200 /* option.h */, + 33AD830B0B80269C00CF4200 /* session.cc */, + 33AD830C0B80269C00CF4200 /* session.h */, + 33AD82EF0B80269C00CF4200 /* fdstream.hpp */, + ); + name = "Command-line driver"; + sourceTree = ""; + }; + 3332305B0B802B9E00C403F5 /* Python scripting */ = { + isa = PBXGroup; + children = ( + ); + name = "Python scripting"; + sourceTree = ""; + }; + 3332305F0B802BAA00C403F5 /* Output formats */ = { + isa = PBXGroup; + children = ( + 33AD82E20B80269C00CF4200 /* csv.cc */, + 33AD82E30B80269C00CF4200 /* csv.h */, + 33AD82EC0B80269C00CF4200 /* emacs.cc */, + 33AD82ED0B80269C00CF4200 /* emacs.h */, + ); + name = "Output formats"; + sourceTree = ""; + }; + 333230630B802BB200C403F5 /* Input formats */ = { + isa = PBXGroup; + children = ( + 33AD82E00B80269C00CF4200 /* binary.cc */, + 33AD82E10B80269C00CF4200 /* binary.h */, + 33AD82F20B80269C00CF4200 /* gnucash.cc */, + 33AD82F30B80269C00CF4200 /* gnucash.h */, + 33AD83030B80269C00CF4200 /* qif.cc */, + 33AD83040B80269C00CF4200 /* qif.h */, + 33AD830D0B80269C00CF4200 /* textual.cc */, + 33AD830E0B80269C00CF4200 /* textual.h */, + 33AD831A0B80269C00CF4200 /* xmlparse.cc */, + 33AD831B0B80269C00CF4200 /* xmlparse.h */, + ); + name = "Input formats"; + sourceTree = ""; + }; + 333230670B802BC800C403F5 /* Amounts and values */ = { + isa = PBXGroup; + children = ( + 33AD82DC0B80269C00CF4200 /* amount.cc */, + 33AD82DD0B80269C00CF4200 /* amount.h */, + 33AD82DE0B80269C00CF4200 /* balance.cc */, + 33AD82DF0B80269C00CF4200 /* balance.h */, + 33AD83160B80269C00CF4200 /* value.cc */, + 33AD83170B80269C00CF4200 /* value.h */, + 33AD83050B80269C00CF4200 /* quotes.cc */, + 33AD83060B80269C00CF4200 /* quotes.h */, + ); + name = "Amounts and values"; + sourceTree = ""; + }; + 3332306A0B802BC800C403F5 /* Common data types */ = { + isa = PBXGroup; + children = ( + 33AD82E40B80269C00CF4200 /* datetime.cc */, + 33AD82E50B80269C00CF4200 /* datetime.h */, + 33AD82F70B80269C00CF4200 /* mask.cc */, + 33AD82F80B80269C00CF4200 /* mask.h */, + ); + name = "Common data types"; + sourceTree = ""; + }; + 33B8460F0BD0A60100472F4E /* Dependencies */ = { + isa = PBXGroup; + children = ( + 33B846050BD0A5B200472F4E /* libgmp.dylib */, + 33B846060BD0A5B200472F4E /* libpcre.dylib */, + 33B846030BD0A59100472F4E /* libxml2.dylib */, + ); + name = Dependencies; + sourceTree = ""; + }; + C6859E8C029090F304C91782 /* Documentation */ = { + isa = PBXGroup; + children = ( + C6859E8B029090EE04C91782 /* ledger.1 */, + ); + name = Documentation; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* ledger */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "ledger" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ledger; + productInstallPath = "$(HOME)/bin"; + productName = ledger; + productReference = 8DD76F6C0486A84900D96B5E /* ledger */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "ledger" */; + hasScannedForEncodings = 1; + mainGroup = 08FB7794FE84155DC02AAC07 /* ledger */; + projectDirPath = ""; + targets = ( + 8DD76F620486A84900D96B5E /* ledger */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 33AD831E0B80269C00CF4200 /* amount.cc in Sources */, + 33AD83200B80269C00CF4200 /* balance.cc in Sources */, + 33AD83220B80269C00CF4200 /* binary.cc in Sources */, + 33AD83240B80269C00CF4200 /* csv.cc in Sources */, + 33AD83260B80269C00CF4200 /* datetime.cc in Sources */, + 33AD83280B80269C00CF4200 /* debug.cc in Sources */, + 33AD832A0B80269C00CF4200 /* derive.cc in Sources */, + 33AD832E0B80269C00CF4200 /* emacs.cc in Sources */, + 33AD83320B80269C00CF4200 /* format.cc in Sources */, + 33AD83340B80269C00CF4200 /* gnucash.cc in Sources */, + 33AD83360B80269C00CF4200 /* journal.cc in Sources */, + 33AD83390B80269C00CF4200 /* mask.cc in Sources */, + 33AD833E0B80269C00CF4200 /* parser.cc in Sources */, + 33AD83450B80269C00CF4200 /* qif.cc in Sources */, + 33AD83470B80269C00CF4200 /* quotes.cc in Sources */, + 33AD83490B80269C00CF4200 /* reconcile.cc in Sources */, + 33AD834B0B80269C00CF4200 /* report.cc in Sources */, + 33AD834D0B80269C00CF4200 /* session.cc in Sources */, + 33AD834F0B80269C00CF4200 /* textual.cc in Sources */, + 33AD83520B80269C00CF4200 /* trace.cc in Sources */, + 33AD83540B80269C00CF4200 /* transform.cc in Sources */, + 33AD83560B80269C00CF4200 /* util.cc in Sources */, + 33AD83580B80269C00CF4200 /* value.cc in Sources */, + 33AD835A0B80269C00CF4200 /* xml.cc in Sources */, + 33AD835C0B80269C00CF4200 /* xmlparse.cc in Sources */, + 33AD835E0B80269C00CF4200 /* xpath.cc in Sources */, + 3356EA010B80299700EC228D /* main.cc in Sources */, + 3356EA0A0B8029FA00EC228D /* option.cc in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 3.0; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = ""; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG_LEVEL=4", + "HAVE_EXPAT=1", + ); + HEADER_SEARCH_PATHS = /usr/local/include; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + /usr/local/lib, + ); + PRODUCT_NAME = ledger; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + CURRENT_PROJECT_VERSION = 3.0; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = ""; + HEADER_SEARCH_PATHS = /usr/local/include; + INSTALL_PATH = "$(HOME)/bin"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + /usr/local/lib, + ); + PRODUCT_NAME = ledger; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = ""; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "ledger" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "ledger" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/option.cc b/option.cc index ef78bfd9..f5c315d1 100644 --- a/option.cc +++ b/option.cc @@ -128,7 +128,6 @@ void process_arguments(int argc, char ** argv, const bool anywhere, xml::xpath_t::scope_t * scope, std::list& args) { - int index = 0; for (char ** i = argv; *i; i++) { if ((*i)[0] != '-') { if (anywhere) { diff --git a/textual.cc b/textual.cc index b1c19308..b2370157 100644 --- a/textual.cc +++ b/textual.cc @@ -563,7 +563,6 @@ unsigned int textual_parser_t::parse(std::istream& in, { static bool added_auto_entry_hook = false; static char line[MAX_LINE + 1]; - char c; unsigned int count = 0; unsigned int errors = 0; @@ -830,7 +829,7 @@ unsigned int textual_parser_t::parse(std::istream& in, } default: { - unsigned int first_line = linenum; + //unsigned int first_line = linenum; unsigned long pos = end_pos; if (entry_t * entry = parse_entry(in, line, journal, account_stack.front(), diff --git a/value.cc b/value.cc index 52d9fd6d..cc75be00 100644 --- a/value.cc +++ b/value.cc @@ -1879,6 +1879,9 @@ value_t value_t::value(const datetime_t& moment) const throw new value_error("Cannot find the value of a pointer"); case SEQUENCE: throw new value_error("Cannot find the value of a sequence"); + default: + assert(0); + return value_t(); } } diff --git a/xml.cc b/xml.cc index 7705d5bb..4b47e5aa 100644 --- a/xml.cc +++ b/xml.cc @@ -320,7 +320,6 @@ document_t * parser_t::parse(std::istream& in, const char ** builtins, document = doc.get(); - unsigned int offset = 2; parser = XML_ParserCreate(NULL); XML_SetElementHandler(parser, startElement, endElement); @@ -336,20 +335,20 @@ document_t * parser_t::parse(std::istream& in, const char ** builtins, result = XML_Parse(parser, buf, std::strlen(buf), in.eof()); } catch (const std::exception& err) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; XML_ParserFree(parser); throw new parse_error(err.what()); } if (! have_error.empty()) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; parse_error err(have_error); std::cerr << "Error: " << err.what() << std::endl; have_error = ""; } if (! result) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; const char * err = XML_ErrorString(XML_GetErrorCode(parser)); XML_ParserFree(parser); throw new parse_error(err); @@ -426,8 +425,10 @@ node_t * account_node_t::children() const node_t * journal_node_t::children() const { if (! _children) { +#if 0 account_node_t * master_account = new account_node_t(document, journal->master, const_cast(this)); +#endif parent_node_t * entries = new parent_node_t(document, const_cast(this)); diff --git a/xml.h b/xml.h index 2ddb247a..5c91bc31 100644 --- a/xml.h +++ b/xml.h @@ -93,6 +93,7 @@ public: virtual const char * text() const { assert(0); + return NULL; } const char * name() const { @@ -301,6 +302,7 @@ template inline parent_node_t * wrap_node(document_t * doc, T * item, void * parent_node = NULL) { assert(0); + return NULL; } template <> diff --git a/xmlparse.cc b/xmlparse.cc index c036c007..62d7ee03 100644 --- a/xmlparse.cc +++ b/xmlparse.cc @@ -201,7 +201,6 @@ unsigned int xml_parser_t::parse(std::istream& in, curr_comm = NULL; ignore = false; - unsigned int offset = 2; XML_Parser parser = XML_ParserCreate(NULL); current_parser = parser; @@ -216,20 +215,20 @@ unsigned int xml_parser_t::parse(std::istream& in, result = XML_Parse(parser, buf, std::strlen(buf), in.eof()); } catch (const std::exception& err) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; XML_ParserFree(parser); throw new parse_error(err.what()); } if (! have_error.empty()) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; parse_error err(have_error); std::cerr << "Error: " << err.what() << std::endl; have_error = ""; } if (! result) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; const char * err = XML_ErrorString(XML_GetErrorCode(parser)); XML_ParserFree(parser); throw new parse_error(err); diff --git a/xpath.cc b/xpath.cc index ccf0ec82..80a75b36 100644 --- a/xpath.cc +++ b/xpath.cc @@ -1713,7 +1713,6 @@ xpath_t::op_t * xpath_t::op_t::compile(value_t * context, scope_t * scope, std::auto_ptr call_seq; - int index = 0; op_t * args = right; while (args) { op_t * arg = args; @@ -1955,7 +1954,6 @@ bool xpath_t::op_t::write(std::ostream& out, { int arg_index = 0; bool found = false; - op_t * expr; if (start_pos && this == op_to_find) { *start_pos = (long)out.tellp() - 1; diff --git a/xpath.h b/xpath.h index 5c364b6a..f62a3082 100644 --- a/xpath.h +++ b/xpath.h @@ -311,6 +311,7 @@ private: if (&other == this) return *this; assert(0); + return *this; } void clear() { @@ -606,6 +607,7 @@ public: unsigned long * end_pos) const { if (ptr) ptr->write(out, relaxed, op_to_find, start_pos, end_pos); + return true; } public: