Commit Graph

19 Commits

Author SHA1 Message Date
John Ralls
6716e3ac5b Convert all time_t to time64: app-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22620 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-12-01 22:44:41 +00:00
Christian Stimming
6cbd67d180 Follow-up to r19999: Refactor guile version-safe scm_to_locale_string into gnc function.
(Yay, I made r20000 :-)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20000 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 11:41:33 +00:00
Christian Stimming
a322015eb8 Rename the type GUID into GncGUID because on Windows, the system headers have a type GUID which clashes with ours.
Note that only the type was renamed, but not any enums or function names.
Hence, the scheme wrappers should be unchanged completely (hopefully).

Discussed at http://lists.gnucash.org/pipermail/gnucash-devel/2010-March/027679.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18969 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-27 21:01:21 +00:00
Christian Stimming
b7b34b87c9 Rename GNCBook into QofBook everywhere and remove separate header gnc-book.h.
The former was already #define'd on the latter, so its removal gets
rid of one level of indirection which makes function lookup easier.
Also, the macro (!) qof_book_get_slots was turned into a normal
function again because that's what functions are for (and otherwise
the additional declaration in engine.i would break).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18800 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-03 20:47:10 +00:00
Christian Stimming
61c16a06dd Re-indentation of source code, next batch.
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.23 using the following options:

astyle --indent=spaces=4 --brackets=break --pad-oper

Discussed at http://lists.gnucash.org/pipermail/gnucash-devel/2009-August/026121.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18535 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 20:12:48 +00:00
Andreas Köhler
94dc306411 Add gnc_parse_time_to_timet, a concatenation of strptime and mktime.
This will be needed for the price quotes on systems that lack a guile
function `strptime'.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16016 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 19:13:43 +00:00
Andreas Köhler
47d18a2618 Add wrappable functions to spawn, chat with and kill processes.
* gnc_spawn_process_async, gnc_process_get_fd and gnc_detach_process in
  app-utils/guile-util
* gnc_gpid_kill in core-utils/gnc-glib-utils. Works on Windows too.
  Defined there to avoid clashes with GUID definitions from winbase.h.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15660 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-25 17:35:57 +00:00
David Hampton
6fbada92ec Remove all traces of the AccountGroup data structure. Accounts now
point directly to their parent and have a simple GList of children.
(The old method was alternating data structures in the form Account,
AccountGroup, Account, AccountGroup, etc.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15647 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-23 01:23:31 +00:00
Neil Williams
72762ab9c9 Use only qof.h in place of other QOF headers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12007 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-21 19:31:44 +00:00
David Hampton
0b8a944f30 Update FSF street address.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11964 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-17 05:35:02 +00:00
David Hampton
817dd3687f Add code to save window state into a Glib Key-Value file. This code
is distributed between the gnc-main-window code and all of the plugin
pages.  It subsumes the existing state file code, and will call that
code upon file open if it cannot find a key-value state file.  This
code is also where the creation of the initial account tree page
occurs when no state file is found.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11905 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-11 14:16:12 +00:00
Linas Vepstas
cfdbd2e916 start mergine in qof book and session changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8761 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:38:40 +00:00
Linas Vepstas
68ce8ad55b rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8554 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 18:54:43 +00:00
David Hampton
d154e92e71 Initial port from the deprecated (in 1.6) guile gh_xxx interface to
the supported scm_xxx interface.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8013 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 08:15:53 +00:00
Dave Peticolas
860adf103c Move entity tables from sessions to books.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6018 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 12:10:42 +00:00
Rob Browning
1742e056d6 * src/app-utils/guile-util.h:
(gnc_depend): deleted.
(gnc_scm_lookup): new prototype.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5600 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-14 17:39:23 +00:00
Dave Peticolas
2408e0f983 Work on moving entity tables into sessions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5468 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-06 08:12:55 +00:00
Dave Peticolas
97b19d1878 Work on moving entity tables into sessions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5466 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-05 08:35:04 +00:00
Dave Peticolas
d9be6ea67b 2001-08-16 Bill Gribble <grib@billgribble.com>
* move report system into gnc-modules. This required a new
	module of application framework stuff, src/app-utils.

	* src/report/report-system/: the report-html-generation code
	and the various report utilities and infrastructure

	* src/report/standard-reports/: non-locale-specific financial
	reports

	* src/report/utility-reports: non-financial reports

	* src/report/locale-specific: reports that only apply to specific
	locales.

	* src/report/stylesheet: report style sheet definitions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5144 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-17 00:44:01 +00:00