Commit Graph

10542 Commits

Author SHA1 Message Date
Andreas Köhler
c3272290ea Strip libdir directives in distributed libtool .la files, because they
may point to still existing libraries that will be dlopened and conflict
with those loaded on startup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15248 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-23 06:41:31 +00:00
Andreas Köhler
643de6fae9 Fix install.sh typo, spotted by hfelton.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15247 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-22 11:10:38 +00:00
Andreas Köhler
cef6ed4b1f Various install.sh improvements:
* Use $GNUCASH_DIR\\{repos,build,inst,dist} as directories for the
  source, build, installation and packaging
* `mkdir -p' cannot handle backslashes, use unix paths
* Downgrade to ORBit2-2.13.3
* Print command to create /etc/profile.d if needed


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15246 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 23:09:04 +00:00
Andreas Köhler
49470adf27 Add include directives for ${top_builddir}/src/swig-runtime.h.
Merged r15229 from branches/reshuffle-modules.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15245 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 19:28:26 +00:00
Andreas Köhler
af0dc642d2 install.sh: Ease registration of environment variables. Fix dist.sh to
set PATH for unzip and gconftool-2.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15244 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 19:19:09 +00:00
Christian Stimming
4e4375e504 Add code for download/installation of Inno Setup Compiler, as suggested by hfelton.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15241 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 14:10:41 +00:00
Christian Stimming
802c9c5119 Minor message improvement by hfelton.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15240 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 13:53:03 +00:00
Andreas Köhler
94947a75db Do not distribute share\guile\1.6\slibcat and let slib recreate it once
GnuCash is started for the first time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15239 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-21 01:07:02 +00:00
Christian Stimming
37987662cc Convert even more strings of locale into utf8, as suggested by Jon Arney.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15237 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-20 15:27:39 +00:00
Christian Stimming
cca07a4d9b Remove windows-specific ignoring of engine_is_initialized check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15236 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-20 15:26:01 +00:00
Christian Stimming
e2ad7f4d60 Some forgotten file for copying
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15235 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-19 16:37:55 +00:00
Andreas Köhler
c0db3c7dd7 install.sh: Make gnome installation relocatable again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15227 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-18 19:39:05 +00:00
Christian Stimming
9abcbe4533 Install the .ico icon file into $datadir/gnucash/pixmaps instead of $datadir/pixmaps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15226 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-18 15:59:51 +00:00
Christian Stimming
a07f2b1726 Add gnucash icon in Windows .ico format for windows icon
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15225 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-18 15:35:59 +00:00
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