-
Here is the diff to fix this bug...
$ cvs diff generic/tclThreadTest.c
Index: generic/tclThreadTest.c
===================================================================
RCS file: /cvsroot/tcl/tcl/generic/tclThreadTest.c,v
retrieving revision 1.32
diff -r1.32 tclThreadTest.c
590c590
< result = Tcl_PackageRequire(tsdPtr->interp, "Tcltest", TCL_VERSION, 1);
---
> result =...
2009-11-22 14:12:07 UTC in Tcl
-
CVS head (as of this post at least) will not link on Windows using MSys/MinGW. The error I receive is:
gcc -shared -O2 -fomit-frame-pointer -o tcltest86.dll -Wl,--out-implib,libtcltest86.a tclTest.o tclTestObj.o tclTestProcBodyObj.o tclThreadTest.o tclWinTest.o libtclstub86.a -lws2_32 /home/Jeremy/TclTk_CVS/tcl/compat/zlib/win32/zdll.lib
Creating library file: libtcltest86.a...
2009-11-21 15:53:01 UTC in Tcl
-
The right thing to do here is beyond me. I'll let others hash it out. If it's not a bug, you can do as you please with this ticket.
2009-11-20 00:09:23 UTC in Tk Toolkit
-
% entry .e -textvariable e
% info exists e
1
% ttk::entry .e -textvariable e
.e
% info exists e
0
This requires you to either initialize it ahead of it's use or requires you to check info exists before any use of the variable.
2009-11-19 22:52:37 UTC in Tk Toolkit
-
I just wanted to point out that there is a slight packaging inconsistency. If you download the bundle vs. the .zip file, the main .jar files are named differently (. vs a -). i.e. one is named neodatis-odb-1.9.20-653.jar vs. the other being neodatis-odb-1.9.20.653.jar.
I would assume that the -653 is the proper method as the other .jar files are -653... the javadoc.jar and sources.jar file...
2009-11-05 16:13:41 UTC in NeoDatis ODB
-
Olivier,
What about the performance of this, constantly reattaching objects?
Jeremy.
2009-11-03 17:07:52 UTC in NeoDatis ODB
-
What happens then to my loaded objects. For instance, say I populate an ArrayList with objects loaded from the database. A change is made to an object in the array list so I close and reopen the database. Now another object in the same array list (not loaded during this session but last) is edited and saved. I understand that this will create a new object in the database, not save the existing...
2009-11-02 13:26:10 UTC in NeoDatis ODB
-
Hm, that looked fine in the "Preview"... Hope everyone can understand the original code.
Jeremy.
2009-11-01 14:08:10 UTC in NeoDatis ODB
-
I entered this into the scala command prompt:
<pre>
import org.neodatis.odb.ODBFactory
class Person(n:String) {
var name = n
}
val p = new Person("John")
val db = ODBFactory.open("people.odb")
db.store(p)
</pre>
Output is:
<pre>
java.lang.ClassNotFoundException: Person
at java.net.URLClassLoader$1.run(Unknown Source)
at...
2009-11-01 13:59:43 UTC in NeoDatis ODB
-
I guess I am a bit confused about it keeping the transaction open and it's cache data. My use of NeoDatis is in a long lasting desktop application. For instance, the application may be loaded and stay loaded for many days at a time on a users desktop. It would seem, then, that the application would use more and more memory each time something were saved if I only use commit() ?
Jeremy.
2009-10-31 12:54:22 UTC in NeoDatis ODB