Commit Graph

10178 Commits

Author SHA1 Message Date
Andreas Köhler
eb6ca3e6d7 install.sh: Do not call pkg-config-msys.sh from within
pkg-config-msys.sh. Use correct header directory for regex (differs
between v3.8 and v3.8.g.3). Untested.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15224 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-18 02:53:14 +00:00
Andreas Köhler
8d288704d7 Do not determine SWIG_LIB by running swig -swiglib, because we do not
make use of it and it made problems on MinGW (output was two lines).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15223 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-17 18:32:18 +00:00
Derek Atkins
cf2c12f366 Update for 2.0.3 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15222 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-16 17:50:25 +00:00
Andreas Köhler
d7120c002c Revert r15216, because the actual guile dll file names differ from those
in builds of revisions <15213.
Replace shebang in packaging/win32/functions by a local variables list.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15221 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-16 02:50:23 +00:00
Christian Stimming
130dc98fae Fix missing files of dist.sh. Improve iss script.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15219 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 18:39:40 +00:00
Christian Stimming
6ac92d1086 Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15218 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 18:18:22 +00:00
Christian Stimming
317f63e372 Improve Inno Setup Compiler script; should probably be able to package the outcome of dist.sh into one setup file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15217 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 18:04:17 +00:00
Christian Stimming
b5a5086b67 Fix guile DLL names that have additional trailing numbers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15216 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 15:10:43 +00:00
Christian Stimming
5eace5e762 Use the installed PKG_CONFIG instead of what might be available in the PATH
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15215 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 14:51:37 +00:00
Andreas Köhler
989da8757d Add dist.sh, a script that extracts all necessary files needed to run
GnuCash on Windows and puts them into $DIST_DIR. The plan is to call the
Inno Setup Compiler from it and create gnucash-$ver-setup.exe with one
command. A complete GnuCash build on MinGW is needed to run it.
Factor out common functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15214 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-15 14:36:45 +00:00
Andreas Köhler
eed0933fdf Install.sh improvements:
* Replace RegEx-Gnu by RegEx-Spencer 3.8, because GtkHTML is linked
  against that
* Update fontconfig, use expat-2.0.0.zip from ftp.gnome.org, drop
  inst_expat
* Use $GNOME_WIN32_URL/dependencies for other packages too
* Build guile with -avoid-version


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15213 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-14 22:32:01 +00:00
Christian Stimming
f643a37cc8 Change enum names to avoid name collision of IGNORE identifier, especially with win32 headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15211 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:41:59 +00:00
Christian Stimming
12f43b1bec Add author of r15203, 15206, 15207, 15208.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15210 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:36:51 +00:00
Christian Stimming
320c1af625 Code cleanup: Move variable declaration into block where it is used.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15209 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:34:42 +00:00
Christian Stimming
a95ff05967 Check for return value of regcomp() and return NULL on failure, as suggested by Jon Arney.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15208 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:33:03 +00:00
Christian Stimming
29bf7e2dd1 Rename private min/max functions to avoid name collisions with existing functions of macros, as suggested by Jon Arney
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15207 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:28:08 +00:00
Christian Stimming
4d598abed4 Change enum names to avoid name collisions, especially with win32 headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15206 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:24:14 +00:00
Derek Atkins
a70c7c4b88 Load and store a commodity's KVP-frame (IFF it's non-empty).
This would let us store something like an Asset Class.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15205 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 02:51:37 +00:00
Christian Stimming
9aa7ad31d2 Check for potentially failed utf8 conversion of locale strings. bug#383270
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15204 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-11 22:28:36 +00:00
Christian Stimming
0dcefd51f6 Rename variables to avoid potential conflicts with C/C++ keywords.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15203 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-11 17:48:44 +00:00
Andreas Köhler
47f406a9b7 Fix some printf's of NULL in DEBUG, ENTER and LEAVE macro invocations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15188 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-06 20:03:30 +00:00
Christian Stimming
e453f3d4c1 Add Author for r15184 bugfix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15185 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-05 21:21:21 +00:00
Christian Stimming
86e011e98b Remove unused variables and dead code. Patch provided by Jerry Quinn. Fixes #347084.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15184 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-05 21:19:48 +00:00
Christian Stimming
04b2a41c7c Updates for changed areas of contribution; add andi5 to top. Feel free to adjust this to your liking again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15183 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-05 21:15:45 +00:00
Derek Atkins
e838b75c64 Print out more information about "broken" splits.
Extends r15179 which should fix the crash of bug #379625
NOTE: it now prints zeros, which could confuse the user...
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15180 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-04 03:09:24 +00:00
Chris Shoemaker
e8e2e12e11 Return zero instead of failing an assertion when the register asks a
Split for its amount in a commodity that is not involved in the split's
transaction.  This will prevent the crash in bug #379625, but doesn't solve
the underlying problem, which is a bug in the register.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15179 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-04 02:20:01 +00:00
Chris Shoemaker
099867608e Remove unused variables.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15170 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-03 01:40:32 +00:00
Chris Shoemaker
501d0943f5 Factor out some quiting code from gnc_main_window_delete_event() and
gnc_main_window_cmd_file_quit().  The new implementation fixes two bugs -
one in each of the previous implementations.  

The bug in the gnc_main_window_cmd_file_quit() code was a race condition 
whereby one could quit the application without finishing pending changes in 
pages.  This would happen if the began a save, modified the page during the 
save, and then triggered the File->Quit command before the save completed.  
For the register page, this sequence was possible, even though most of the UI 
controls are disabled during save.

The bug in the gnc_main_window_delete_event() code was that it didn't check 
for an in-progress save before prompting the user to save a dirty book.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15169 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-03 00:56:01 +00:00
Chris Shoemaker
60e5a01dfd Fix bug #353450 - Crash on quit during save.
Add a lock to the QofSession object, and use it in qof_session_save() to 
protect against re-entrance.

The lock always starts at 1 and is 0 while inside qof_session_save().  
If another call is made to qof_session_save() while one is in progress, 
the lock will momentarily drop below 0 before returning to zero.

Note: The per-session nature of the lock would make it appear that we support
concurrent saving of different sessions.  In fact, we do not, because the 
file backend blocks the main process until the forked gzip process is 
finished, and it only knows how to keep track of one child pid at a time. 



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15168 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-02 22:13:13 +00:00
Andreas Köhler
4018fd17ab Drop argv-list-converters.[ch], because its use was removed by r12942
when we switched to a more C-based start-up.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15167 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-02 18:03:13 +00:00
Andreas Köhler
36e5eb23ec Save window size and position of the transfer dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15166 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-02 02:46:30 +00:00
Andreas Köhler
26f4dd062a When progress bar is showing, do not make menus and toolbars
insensitive, but rather the underlying action groups. This way even
keyboard accelerators will not make sneaking calls while saving.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15162 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-29 19:46:34 +00:00
Christian Stimming
8139f08d62 Replace 'static inline' by 'static' for functions that are used by function pointers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15161 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-29 15:13:02 +00:00
Christian Stimming
0b5c0fd30b Oops. Now really fix absolute path of perl binary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15157 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-28 09:10:57 +00:00
Christian Stimming
376c2592c0 Fix absolute path of perl binary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15156 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-28 09:09:18 +00:00
Christian Stimming
278c11df1f Version number updates for mingw and libxml2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15155 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-28 08:47:31 +00:00
Christian Stimming
81ee8fa296 Check for installed perl by absolute path of expected location
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15154 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-28 08:46:31 +00:00
Christian Stimming
d809670e2a Updated French README and small corrections to main README by Fabrice Kurz
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15152 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-27 14:40:10 +00:00
Christian Stimming
f60c817a45 Remove unneeded extra Makefile variable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15150 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-27 13:32:32 +00:00
Christian Stimming
7f94d3b5b7 Remove configure-time path variables that are not used in the source code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15149 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-27 12:56:12 +00:00
Christian Stimming
29c158335a Remove configure argument --with-locale-dir because it is unused anyway
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15134 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 14:04:43 +00:00
Christian Stimming
7852857000 Remove compiled-in pathname LOCALE_DIR by relocatable runtime function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15133 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 13:50:41 +00:00
Christian Stimming
462cebb82f Fix gnc_path_get_localedir() because binreloc's implementation did not
respect the choice of DATADIRNAME from AM_GLIB_GNU_GETTEXT in configure.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15132 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 13:14:41 +00:00
Christian Stimming
efe2a9fc12 Add version numbers for opensuse 10.2, due 2006-12-07.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15131 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 10:38:39 +00:00
Derek Atkins
b4ca5382d8 Don't have aktzu in the "case" twice. Fixes #377519.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15128 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-21 14:56:24 +00:00
Christian Stimming
3571a1f3ad Mark forgotten string as translatable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15126 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-19 20:57:39 +00:00
Christian Stimming
80886e50c6 Revert r15119. That change needs more testing on my side.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15123 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-15 08:54:51 +00:00
Christian Stimming
175bc56f09 For non-msys startup script, add SCHEME_LIBRARY_PATH again - it's definitely needed on at least one of my test machines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15119 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-14 21:56:24 +00:00
Christian Stimming
3c2dfcb44a Replace mkstemp by g_mkstemp because the former is unavailable on windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15118 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-14 20:58:21 +00:00
Chris Shoemaker
b2c2ae2bf8 Add src/base-typemaps.i as a prerequisite for all wrapper-generator rules.
Fix some comment typos.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15114 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-14 02:14:13 +00:00