Re: Win32 build environment

2009-10-06 Thread James Raehl
MSYS-1.0.11 has been running fine for a couple weeks on all my 
computers, both in Windows 2000 and Windows XP.  The RXVT version is 
running fine on 64-bit Windows Vista (I didn't try the non-RXVT 
version).  Version 1.0.10 in RXVT window on 64-bit Windows Vista went 
into an endless loop, creating windows like crazy.


The desktop MSYS icon, as installed, uses the non-RXVT setup.  The Start 
menu has both the RXVT and non-RXVT versions to select.


If there are other uses for MSYS from within Gnucash, other than the 
command window which I use for building, I didn't test them.


MSYS-1.0.11 INSTALL PROCEDURE

This is to a fully downloaded and built Gnucash build folder structure.

1. Uninstall Msys 1.0.10
2. Download to c:\soft\msys (select the direct link from within this 
page, if nothing happens)

http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download
3. Execute MSYS-1.0.11.exe from within c:\soft\msys with the following 
prompt replies (defaults for anything else):

  Folder: c:\soft\msys (without the 1.0 sub-folder)
  MingW installed: yes (I also tried no, after renaming c:/soft/mingw, 
but didn't get a request to install it)

  Mingw installation at c:/soft/mingw (forward slashes)
  Add mount bindings: y
  Use rxvt (if it asks): yes

Jim Raehl



Phil Longstaff wrote:

MinGW has recently released msys 0.11 and gcc 4.4.0.  Has anyone tried them?  
The previous gcc was 3.4 or something archaic like that.

Phil
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


  


--

Jim Raehl
j...@raehl.us
Choose the Opera browser (http://www.better-browser.com/).  Tabs, sessions, 
notes, Email, newsfeeds, RSS, chat, all instantly available at a click, 
keypress, or mouse gesture.

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [Patch] to add option to disable 'skip to value field' on memorised transaction

2009-10-06 Thread David T.
The developers have explained why they want the default to be false, so I would 
recommend using Tab moves to Transfer field which can default to False. Since 
Gnucash currently goes directly to the Amount field, you should consider this 
to be the expected behavior, even if it's not YOUR expectation.

David

--- On Tue, 10/6/09, Colin Law clan...@googlemail.com wrote:

 From: Colin Law clan...@googlemail.com
 Subject: Re: [Patch] to add option to disable 'skip to value field' on  
 memorised transaction
 To: Christian Stimming stimm...@tuhh.de, gnucash-devel 
 gnucash-devel@gnucash.org
 Date: Tuesday, October 6, 2009, 12:45 PM
 2009/10/4 Colin Law clan...@googlemail.com:
  2009/10/4 Christian Stimming stimm...@tuhh.de:
  Am Sonntag, 4. Oktober 2009 11:23 schrieb Colin
 Law:
  Patch that provides a new option in the
 Register preferences to
  specify whether, when tab is hit after
 entering the description for a
  memorised transaction in Basic Ledger view,
 that the cursor  skips to
  the value field (as at present) or just tabs
 to the Transfer field.
  The option defaults to skip so gnucash
 operation is unaffected unless
  user modifies the option.
 
  Thanks a lot for this patch! This looks very fine.
 There is one single issue
  that can be improved even more (even though nobody
 has told you so far -
  sorry for that): If for whatever reason your
 changed gconf schema file isn't
  being installed in the correct location, and your
 new key isn't found, gconf
  will return the global default value for bool
 keys, which is FALSE. Hence, to
  make life still a little easier, we try to add new
 gconf keys in a way so
  that their default value also is FALSE. By
 coincidence, your default value is
  TRUE. I would ask whether it is sensible and
 possible to switch the option so
  that it's default value is FALSE? It's not
 extremely important, but still
  helpful.
 
  I can see the logic in going for a default of false
 wherever possible,
  I had that problem with the schema file myself.  I
 did think of
  reversing the logic but had difficulty coming up with
 a sensible
  choice of words in the preferences dialog.  I have
 the text 'Tab skips
  to value on memorised transaction' which requires a
 default of true.
  Can anyone think of appropriate text for a default of
 false?  Tab
  moves to Transfer field... does not really work for me
 as that is the
  normal action one would expect from tab anyway and I
 am too close to
  the problem to see an alternative.
 
 If no-one has an alternative for the text would it be best
 just to
 leave it as in the patch I have submitted?  It is not
 as if anyone
 getting the wrong default is going to be much upset, in
 fact they
 would likely not even notice.
 
 Colin
 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel
 


  
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Scrollkeeper in Gnucash Docs

2009-10-06 Thread John Ralls


On Oct 5, 2009, at 10:22 AM, Derek Atkins wrote:



Then I guess we might as well turn it off.



OK. Since
svn: Commit blocked by pre-commit hook (exit code 1) with output:
/home/svn/repo/hooks/commit-access-control.pl: user `jralls' does not  
have permission to commit to these paths:

  gnucash-docs/trunk
  gnucash-docs/trunk/configure.in
  gnucash-docs/trunk/xmldocs.make

The patch follows.

Regards,
John Ralls



Index: xmldocs.make
===
--- xmldocs.make(revision 18372)
+++ xmldocs.make(working copy)
@@ -74,10 +74,15 @@
 CLEANFILES = omf_timestamp $(docname)/*.html

 # If the following file is in a subdir (like help/) you need to add  
that to the path

+if ENABLE_SK
 include $(top_srcdir)/omf.make
+OMF=omf
+OMF_DATA_HOOK=install-data-hook-omf
+UNINSTALL_OMF=uninstall-local-omf
+endif

 html: all convert-html copy-pics copy-style
-all: omf
+all: ${OMF}

 #$(docname).xml: $(entities)
 #  -ourdir=`pwd`;  \
@@ -107,9 +112,9 @@
  done


-install-data-hook: install-data-hook-omf
+install-data-hook: ${OMF_DATA_HOOK}

-uninstall-local: uninstall-local-doc uninstall-local-omf
+uninstall-local: uninstall-local-doc ${UNINSTALL_OMF}

 uninstall-local-doc:
-if test $(figdir); then \
Index: configure.in
===
--- configure.in(revision 18372)
+++ configure.in(working copy)
@@ -16,15 +16,15 @@
 dnl 
 dnl = Begin tests for scrollkeeper
 dnl 
-AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
-if test x$SCROLLKEEPER_CONFIG = xno; then
-  AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the  
scrollkeeper package: http://scrollkeeper.sourceforge.net)

-fi
 AC_ARG_ENABLE([scrollkeeper],
[AC_HELP_STRING([--disable-scrollkeeper],
[do not make updates to the scrollkeeper  
database])],,

enable_scrollkeeper=yes)
 AM_CONDITIONAL(ENABLE_SK, test x$enable_scrollkeeper = xyes)
+AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
+if (test x$enable_scrollkeeper = xyes)  (test x 
$SCROLLKEEPER_CONFIG = xno); then
+  AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the  
scrollkeeper package: http://scrollkeeper.sourceforge.net)

+fi
 dnl 
 dnl = End tests for scrollkeeper
 dnl 

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


GnuCash 2.3.7 Crashing

2009-10-06 Thread Volker Englisch

Hi,

I just build GC 2.3.7 (r18374) and it crashes with the following error:

Backtrace:
In unknown file:
   ?: 0* [gnc:transaction-transaction-scm #swig-pointer Transaction * 
91003b8 #f]

   ?: 1* (letrec (#) (gnc:make-transaction-scm # # # ...))
In /opt/gnucash/share/gnucash/scm/engine-interface.scm:
 226: 2  [gnc:make-transaction-scm ...
 227: 3*  [gncTransGetGUID #swig-pointer Transaction * 91003b8]

/opt/gnucash/share/gnucash/scm/engine-interface.scm:227:4: In procedure 
gncTransGetGUID in expression (gncTransGetGUID trans):
/opt/gnucash/share/gnucash/scm/engine-interface.scm:227:4: Wrong type 
argument in position 1: #swig-pointer Transaction * 91003b8



I can repeat this error with these steps:
1)  Start GC
2)  Cancel Scheduled transaction (running at startup)
3)  Enter TX in register
- Click in the date field and TAB to description
- Type a letter or two to autofill the description
- TAB to move to the next field  -- Crash

If I enter a description that's not auto-filled GC doesn't crash.

I build GC r18372 yesterday and that's working without this problem but 
my build from a few days ago (maybe R18365 or so) crashed with the same 
error.


I'm running Ubuntu 9.04.

--
Volker Englisch
http://www.englisch.us
mailto:vol...@englisch.us
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel