Alexander Müller <alex@littleblue.de> (xela)
Patch |
r845355,
r841165,
r841074,
r841073,
r841072,
r841071,
r841070,
r841069,
r841068,
r841067,
r841066,
r841065,
r841063,
r841062,
r841061,
r841060,
r841059,
r841056,
r841055,
r841053,
r841052,
r841051,
r841050,
r841049,
r841048,
r841047,
r841045,
r841043,
r841042,
r841041,
r841036,
r841035,
r841034,
r841033,
r841032,
r841031,
r841030,
r841029,
r841028,
r841027,
r841026,
r841025,
r841024,
r841023,
r841022,
r841021,
r841020,
r841019,
r841018,
r841017,
r841016,
r841015,
r841003,
r841002,
r841001,
r841000,
r840773,
r840772,
r840771,
r840770,
r840758,
r840757,
r840752,
r840751,
r840750,
r840697,
r840696,
r840695,
r840693,
r840688,
r840687,
r840686,
r840685,
r840684,
r840682,
r840681,
r840680,
r840679,
r840678,
r840677,
r840676,
r840675,
r840674,
r840673,
r840672,
r840669,
r840668,
r840621,
r840620,
r840619,
r840618,
r840617,
r840616,
r840615,
r840605,
r840604,
r840595,
r840394,
r840393,
r840392,
r840391,
r840329,
r840328,
r840326,
r840311,
r840302,
r840301,
r840299,
r840297 |
r840297 | xela | 2001-10-11 19:36:46 +0000 (Thu, 11 Oct 2001)
Renamed the class to match the filename
r840299 | xela | 2001-10-11 19:59:43 +0000 (Thu, 11 Oct 2001)
replaced all of the (Baton) declaration with a play (Object) declaration
r840301 | xela | 2001-10-11 20:08:08 +0000 (Thu, 11 Oct 2001)
Added new methods (unadd) and (undelete)
r840302 | xela | 2001-10-11 20:35:13 +0000 (Thu, 11 Oct 2001)
first draft of a native implementation
r840311 | xela | 2001-10-14 18:01:35 +0000 (Sun, 14 Oct 2001)
removed methods (unAdd), (unDelete) which were removed from the official svn_client interface within the last milestone
r840326 | xela | 2001-10-16 22:26:29 +0000 (Tue, 16 Oct 2001)
added some getter/setter methods to access authentification information in the library. adapted the definition of the (status) method to the current definition in svn_client.h
r840328 | xela | 2001-10-16 23:51:48 +0000 (Tue, 16 Oct 2001)
added some helper and test files. will be removed later
r840329 | xela | 2001-10-16 23:52:36 +0000 (Tue, 16 Oct 2001)
very early draft of the implementation. right now just enough to get a feeling
r840391 | xela | 2001-10-26 06:34:47 +0000 (Fri, 26 Oct 2001)
new class Item.java to represent svn type svn_item_t
r840392 | xela | 2001-10-26 06:35:29 +0000 (Fri, 26 Oct 2001)
new class StatusKind.java to represent svn type svn_status_kind_t
r840393 | xela | 2001-10-26 06:39:27 +0000 (Fri, 26 Oct 2001)
implemented a whole bunch of utility function and worked on the status method
r840394 | xela | 2001-10-26 06:40:52 +0000 (Fri, 26 Oct 2001)
formatting stuff
r840595 | xela | 2001-11-27 08:51:26 +0000 (Tue, 27 Nov 2001)
parted the helper and utility functions to different source files
r840604 | xela | 2001-11-27 17:44:35 +0000 (Tue, 27 Nov 2001)
test class - no unit test though
r840605 | xela | 2001-11-27 17:45:32 +0000 (Tue, 27 Nov 2001)
test class - no unit test though
r840615 | xela | 2001-11-28 08:17:51 +0000 (Wed, 28 Nov 2001)
new directory for unit tests and basic code
r840616 | xela | 2001-11-28 08:19:57 +0000 (Wed, 28 Nov 2001)
Entry is now a class (former interface), all of the data is passed with the constructor
r840617 | xela | 2001-11-28 08:31:25 +0000 (Wed, 28 Nov 2001)
corrected the basic data type of svn_revnum_t, which is long in Java
r840618 | xela | 2001-11-28 08:42:41 +0000 (Wed, 28 Nov 2001)
now Entry.java reflects svn_wc_entry_t
r840619 | xela | 2001-11-28 08:45:20 +0000 (Wed, 28 Nov 2001)
remodeled, but still broken
r840620 | xela | 2001-11-28 08:47:26 +0000 (Wed, 28 Nov 2001)
various changes; intermediate checkin; broken
r840621 | xela | 2001-11-28 08:48:12 +0000 (Wed, 28 Nov 2001)
various changes; intermediate checkin; broken
r840668 | xela | 2001-12-04 21:51:04 +0000 (Tue, 04 Dec 2001)
dont need this one
r840669 | xela | 2001-12-04 21:55:31 +0000 (Tue, 04 Dec 2001)
new helper functions
r840672 | xela | 2001-12-05 17:29:04 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_hashtable.c to hashtable.c
r840673 | xela | 2001-12-05 17:30:29 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_hashtable.c to hashtable.c
r840674 | xela | 2001-12-05 17:35:07 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_item.c to item.c
r840675 | xela | 2001-12-05 17:36:30 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_misc.c to misc.c
r840676 | xela | 2001-12-05 17:37:49 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_misc.c to misc.c
r840677 | xela | 2001-12-05 17:39:27 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_string.c to string.c
r840678 | xela | 2001-12-05 17:40:13 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_string.c to string.c
r840679 | xela | 2001-12-05 17:41:18 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_status.c to status.c
r840680 | xela | 2001-12-05 17:43:51 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni.c to main.c
r840681 | xela | 2001-12-05 17:56:06 +0000 (Wed, 05 Dec 2001)
Added -classpath . to all javac and javap calls
r840682 | xela | 2001-12-05 17:57:13 +0000 (Wed, 05 Dec 2001)
Renamed files to be compiled according to the latest renames
r840684 | xela | 2001-12-05 18:31:16 +0000 (Wed, 05 Dec 2001)
Deleted j.c - unused utility functions
r840685 | xela | 2001-12-05 18:31:48 +0000 (Wed, 05 Dec 2001)
Deleted j.c - unused utility functions
r840686 | xela | 2001-12-05 19:38:08 +0000 (Wed, 05 Dec 2001)
Renamed svn_jni_global.h to global.h
r840687 | xela | 2001-12-05 22:25:24 +0000 (Wed, 05 Dec 2001)
A lot of remodeling caused by the file renames
and the resulting function prefix changes.
* subversion/subversion/bindings/java/jni/date.c
* subversion/subversion/bindings/java/jni/global.h
* subversion/subversion/bindings/java/jni/hashtable.c
* subversion/subversion/bindings/java/jni/item.c
* subversion/subversion/bindings/java/jni/main.c
* subversion/subversion/bindings/java/jni/misc.c
* subversion/subversion/bindings/java/jni/status.c
* subversion/subversion/bindings/java/jni/string.c
There are some new headers since the function
prototypes dont reside in global.h anymode.
* subversion/subversion/bindings/java/jni/date.h
* subversion/subversion/bindings/java/jni/hashtable.h
* subversion/subversion/bindings/java/jni/item.h
* subversion/subversion/bindings/java/jni/misc.h
* subversion/subversion/bindings/java/jni/status.h
* subversion/subversion/bindings/java/jni/string.h
Re-added the java helper methodes. Also added
appropriate headers.
* subversion/subversion/bindings/java/jni/j.c
* subversion/subversion/bindings/java/jni/j.h
Added utility functions for the java class Entry
* subversion/subversion/bindings/java/jni/entry.c
* subversion/subversion/bindings/java/jni/entry.h
r840688 | xela | 2001-12-05 22:36:37 +0000 (Wed, 05 Dec 2001)
Moved all of the global switches and
definition to global.h.
* subversion/subversion/bindings/java/jni/global.h
* subversion/subversion/bindings/java/jni/main.c
* subversion/subversion/bindings/java/jni/string.c
r840693 | xela | 2001-12-06 21:30:23 +0000 (Thu, 06 Dec 2001)
Modified so the created library libsvn_jni.so
hasnt unresolved symbols
*subversion/bindings/java/jni/build.sh
removed LIBS svn_repos, svn_fs
added OBJS j.c
*subversion/bindings/java/jni/hashtable.?
renamed jni_hashtable__put -> hashtable__put
(yea I know. the function hasnt an appropriate
prefix. I will do this within the next week)
*subversion/bindings/java/jni/string.c
replaced unresolved function name "throw_exception_by_name"
with "misc__throw_exception_by_name"
r840695 | xela | 2001-12-07 22:03:01 +0000 (Fri, 07 Dec 2001)
Changed the interface of the following classes.
A lot of people complained about the public
accessible variables instead of having accessor
functions.
So now there are accessor functions for
every single attribute. Also, there are no
complex constructors anymore, that initialize
the class at once. Maybe this feature will come
back later...
*subversion/bindings/java/jni/org/tigris/subversion/lib/Entry.java
*subversion/bindings/java/jni/org/tigris/subversion/lib/Status.java
r840696 | xela | 2001-12-07 22:04:33 +0000 (Fri, 07 Dec 2001)
Now, there is a factory class, that creates
the Client (we dont want to expose the ClientImpl class).
*subversion/bindings/java/jni/org/tigris/subversion/lib/Factory.java
r840697 | xela | 2001-12-07 22:09:14 +0000 (Fri, 07 Dec 2001)
Extended the java utility functions.
Now there are functions that implement
set accessor function for several datatypes.
Function prefix for set accessor function:
"j__set_"
Right now we do have these functions:
* j__set_boolean
* j__set_int
* j__set_long
* j__set_object
Affected files:
* j.h
* j.c
r840750 | xela | 2001-12-19 20:32:15 +0000 (Wed, 19 Dec 2001)
A lot of moving things around to get things to work.
* build.sh
added entry.c and clientimpl_stats.c (new) to the build
process. The Java JNI include path is now taken out
of JAVA_HOME and will work only under linux (now)
* clientimpl_status.c
* main.c
moved the native implementation of the "status" function
(class org.tigris.subversion.lib.ClientImpl)
from main.c to clientimpl_status.c
The Java classes now do have accessor functions, so
not all of the data has to be passed with the
constructor. The constructor is a call without parameters.
The data es then set using the accessors:
* entry.c
* entry.h
* status.c
* status.h
Added some debugging code:
* date.c
* entry.c
* global.h
macros for debugging
* item.c
* j.c
* misc.c
* status.c
* string.c
Correction of minor bugs:
* j.h (typo)
r840751 | xela | 2001-12-19 20:34:33 +0000 (Wed, 19 Dec 2001)
Added some more flesh to TestStatus.java to
evaluate the results of a status request.
* TestStatus.java
r840752 | xela | 2001-12-19 21:51:35 +0000 (Wed, 19 Dec 2001)
Important bugfix for java/subversion users.
The pools were created with the "apr_pool_create" function.
This is terribly wrong. Changed this to "svn_pool_create".
* clientimpl_status.c
r840757 | xela | 2001-12-20 07:15:57 +0000 (Thu, 20 Dec 2001)
The handling of java exception was changed.
Every function that deals with java exception has
a parameter hasException (by reference). But it deals
with th exceptions locally and just before the
end of the function the hasException is written.
If the hasException is already true it can be
overwritten with false if the local handling
didnt realize there was an exception.
So now the parameter is only set to true if
it isnt a nullpointer and if there is an exception.
Affected files:
* date.c
* entry.c
* hashtable.c
* item.c
* status.c
* string.c
Added some more debugging output code:
* clientimpl_status.c
* entry.c
* j.c
* hashtable.c
* string.c
Debugging output is produced only if
symbol is defined:
* entry.c
SVN_JNI__DEBUG_ENTRY
* hashtable.c
SVN_JNI__DEBUG_HASHTABLE
* j.c
SVN_JNI__DEBUG_J
* status.c
SVN_JNI__DEBUG_STATUS
* string.c
SVN_JNI__DEBUG_STRING
r840758 | xela | 2001-12-20 07:26:22 +0000 (Thu, 20 Dec 2001)
Minor bug in clientimpl_status.c causes
some compilers to complain.
#endif statement had some define following.
* clientimpl_status.c
r840770 | xela | 2001-12-20 19:46:03 +0000 (Thu, 20 Dec 2001)
Moved all of the "-I" parameters for
gcc from CC_ARGS to INCLUDE. Just for
better readability
* build.sh (INCLUDE, CC_ARGS): CC_ARGS uses INCLUDE
The build script is now forcing the compiler to explicitely use the
subversion source path for the includes.
* build.sh (INCLUDE): relative path to the include dir
r840771 | xela | 2001-12-20 20:01:32 +0000 (Thu, 20 Dec 2001)
The subversion working copy calling interface
has changed (every body knows). So these
changes affect us, too.
Obsolete and removed members and functions:
* Entry.java (existence, EXISTENCE_NORMAL, EXISTENCE_DELETED,
getExistence, setExistence): removed.
* entry.h (entry__set_existence): removed.
* entry.c (entry__set_existence): removed.
New members and functions:
* Entry.java (conflicted, setConflicted, getConflicted, copied, setCopied, getCopied): new.
* entry.h (entry__set_conflicted, entry__set_copied): added.
* entry.c (entry__set_conflicted, entry__set_copied): added.
r840772 | xela | 2001-12-20 20:22:38 +0000 (Thu, 20 Dec 2001)
Minor bug in function, prevents the Java VM to find the appropriate
method:
* entry.c (entry__set_copied, entry__set_conflicted):
replaced "j__set_int" call with "j__set_boolean".
r840773 | xela | 2001-12-20 20:51:15 +0000 (Thu, 20 Dec 2001)
Removed item.c/item.h because they were obsolete.
* build.sh (OBJS): removed item.c
* main.c (#include): removed item.h
r841000 | xela | 2002-01-17 06:41:11 +0000 (Thu, 17 Jan 2002)
Added support functions for java class
java.util.Vector and test cases for this.
* vector.h
* vector.c
* tests/VectorTests.java
* tests/jni_vector.c
* tests/NativeWrapper(vectorAdd, vectorCreate): wrapper functions
for native functions in jni_vector.c
* tests/AllTests.java(suite): included the test cases for
NativeWrapper.vectorAdd, NativeWrapper.vectorCreate
r841001 | xela | 2002-01-17 06:52:26 +0000 (Thu, 17 Jan 2002)
Added a new shared library for the unit tests.
It contains the same code that is in "libsvn_jni"
but adds the native wrapper for NativeWrapper
* tests/main.c: load/unload handler for JNI
* build-java.sh: additional javah call to generate
the header for the native functions in NativeWrapper.
* build.sh: added the call to compile the library
libsvn_jni_tests
The JUnit Tests get to work now.
* build-java.sh: build all of the java files under tests
* run-tests.sh: shell script to run the JUnit tests
r841002 | xela | 2002-01-17 07:08:03 +0000 (Thu, 17 Jan 2002)
Changed parameter to const parameter.
* string.h (string__c_to_j)
* string.c (string__c_to_j)
r841003 | xela | 2002-01-17 07:16:58 +0000 (Thu, 17 Jan 2002)
Changed the calling interface of the Client class.
* org/tigris/subversion/Client.java (status): return type changed from
Hashtable to Vector
* org/tigris/subversion/ClientImpl.java (status): return type changed from
Hashtable to Vector
Performed some formatting (line breaks, etc)
* org/tigris/subversion/ClientImpl.java
r841015 | xela | 2002-01-18 09:55:48 +0000 (Fri, 18 Jan 2002)
Renamed "tests/jni_vector.c" to "nativewrapper.c"
* tests/jni_vector.c : deleted
* tests/nativewrapper.c : added
New Java wrappers for functions in "date.h"
* tests/nativewrapper.c(Java_NativeWrapper_dateCreate)
* tests/Nativewrapper.java(dateCreate)
Inserted Javadoc tags
* tests/Nativewrapper.java(vectorCreate, vectorAdd)
r841016 | xela | 2002-01-18 09:58:07 +0000 (Fri, 18 Jan 2002)
New Test case.
* tests/VectorTests.java (testVectorAddInvald)
Inserted Javadoc tags
* tests/VectorTests.java
r841017 | xela | 2002-01-18 10:00:19 +0000 (Fri, 18 Jan 2002)
New Test suite for date functions.
* tests/AllTests.java (suite): added DateTests
* tests/DateTests.java : added
r841018 | xela | 2002-01-18 10:03:40 +0000 (Fri, 18 Jan 2002)
Adapted build script to match recent file renames.
* build.sh: compiling tests/nativewrapper.c instead of
tests/jni_vector.c
Library name for tests chaned.
* build.sh: library is now libsvn_jni_nativewrapper (was
lib_svn_jni_tests)
r841019 | xela | 2002-01-18 10:05:40 +0000 (Fri, 18 Jan 2002)
Header filename changed to match source code filename.
* build-java.sh: name of jni header for class NativeWrapper is now
nativewrapper.h (was svn_jni_tests.h)
r841020 | xela | 2002-01-18 10:14:39 +0000 (Fri, 18 Jan 2002)
Renamed "date__apr_to_j" to "date__create".
* date.c (date__apr_to_j): renamed to "date__create". debugging output
adapted to this
* date.h (date__apr_to_j): renamed
* entry.c (entry__create): adapted to the renames
r841021 | xela | 2002-01-18 10:54:42 +0000 (Fri, 18 Jan 2002)
Added call to superclass.
* org/tigris/subversion/lib/Entry.java(Entry)
r841022 | xela | 2002-01-18 10:55:53 +0000 (Fri, 18 Jan 2002)
Added current dir to classpath parameter on javac call.
* build-java.sh
r841023 | xela | 2002-01-18 10:59:34 +0000 (Fri, 18 Jan 2002)
New wrapper functions for the native functions in "entry.h".
Added test cases for those as well.
* tests/NativeWrapper.java: new wrappers
* tests/EntryTests.java: test cases for new functions
* tests/AllTests.java: included new tests in EntryTests
r841024 | xela | 2002-01-18 19:29:54 +0000 (Fri, 18 Jan 2002)
Prior the compilation of the Java classes,
adapt CLASSPATH variable to our paths (relative),
so there are no explicit parameters for javac
necessary
* build-java.sh
r841025 | xela | 2002-01-18 19:33:08 +0000 (Fri, 18 Jan 2002)
Added new Java wrapper for functions in "hashtable.h".
JUnit tests included as well.
r841026 | xela | 2002-01-18 19:37:36 +0000 (Fri, 18 Jan 2002)
Integrate the hashtable Unit testcases.
* tests/AllTests.java (suite): added HashtableTests
r841027 | xela | 2002-01-18 20:25:51 +0000 (Fri, 18 Jan 2002)
Integrate the hashtable Unit testcases.
* tests/AllTests.java (suite): added HashtableTests
r841028 | xela | 2002-01-18 20:33:13 +0000 (Fri, 18 Jan 2002)
Added new wrappers for native functions.
Units tests as well.
* tests/NativeWrapper.java (miscThrowExceptionByName,statusCreate,
statusSetEntry,statusSetTextStatus,statusSetPropStatus,statusSetLocked,
statusSetReposTextStatus,statusSetReposPropStatus): added
* tests/MiscTests.java: unit tests for "misc*" functions in
tests/NativeWrapper.java
* tests/StatusTests.java: units tests for "status*" functions in
tests/NativeWrapper.java
* tests/AllTests.java (suite): added unit tests in classes MiscTests
and StatusTests
r841029 | xela | 2002-01-18 20:35:18 +0000 (Fri, 18 Jan 2002)
Removed function name in comment. Redundant information.
* tests/DateTests.java (testDateCreateValidDate)
r841030 | xela | 2002-01-18 22:36:00 +0000 (Fri, 18 Jan 2002)
Did some fine modeling on Exceptions.
* org/tigris/subversion/SubversionException (SubversionException):
added overloaded constructor that accepts a String
* org/tigris/subversion/ToBeDoneException: new class that may be used
whereever you want to "mark" work in progress...
r841031 | xela | 2002-01-18 22:37:29 +0000 (Fri, 18 Jan 2002)
Added a new macro for debugging output.
* global.h (SVN_JNI__DEBUG_LONG)
r841032 | xela | 2002-01-18 22:39:15 +0000 (Fri, 18 Jan 2002)
Added additional debugging output
* date.c (date__create)
r841033 | xela | 2002-01-18 22:40:22 +0000 (Fri, 18 Jan 2002)
Added needed header.
* string.h: <apr_pools.h>
r841034 | xela | 2002-01-18 22:46:14 +0000 (Fri, 18 Jan 2002)
Some work with testcases/wrappers
* tests/EntryTests.java (testEntryCreate): till now here was
just a "false" assertion. now inserted real code
* tests/NativeWrapper.java (entryCreate): added
* tests/MiscTests.java (testThrowExceptionByName): there was an
error in the class notation (org.tigris...). Changed to the
correct notation (org/tigris)
r841035 | xela | 2002-01-18 22:52:36 +0000 (Fri, 18 Jan 2002)
Added more included headers.
* tests/nativewrapper.c: entry.h, hashtable.h, misc.h, string.h
Implementation of native wrapper functions added.
* tests/nativewrapper.c (Java_NativeWrapper_entryCreate,
Java_NativeWrapper_entrySetUrl, Java_NativeWrapper_entrySetRevision,
Java_NativeWrapper_entrySetNodekind,
Java_NativeWrapper_entrySetSchedule,
Java_NativeWrapper_entrySetConflicted,
Java_NativeWrapper_entrySetCopied,
Java_NativeWrapper_entrySetTexttime,
Java_NativeWrapper_entrySetProptime,
Java_NativeWrapper_entrySetAttributes,
Java_NativeWrapper_hashtableCreate,
Java_NativeWrapper_hashtablePut,
Java_NativeWrapper_miscThrowExceptionByName,
Java_NativeWrapper_statusCreate,
Java_NativeWrapper_statusSetEntry,
Java_NativeWrapper_statusSetTextStatus,
Java_NativeWrapper_statusSetPropStatus,
Java_NativeWrapper_statusSetLocked,
Java_NativeWrapper_statusSetReposTextStatus,
Java_NativeWrapper_statusSetReposPropStatus) : added
r841036 | xela | 2002-01-18 22:53:59 +0000 (Fri, 18 Jan 2002)
Commented out debugging output define.
* vector.c: SVN_JNI__DEBUG_VECTOR
r841041 | xela | 2002-01-19 19:33:32 +0000 (Sat, 19 Jan 2002)
Changed the functions that create Java
instances so they can be called without
initial values. Added functions that
are special cases.
* entry.h (entry__create): removed parameter entry.
(entry__create_from_svn_wc_entry_t): added.
* entry.c (entry__create): removed parameter entry.
(entry__create_from_svn_wc_entry_t): take a svn_wc_entry_t
parameter and creates a java Entry instance.
* status.h (status__create): removed parameter status.
(status__create_from_svn_wc_status_t): added.
* status.c (status__create): removed parameter status.
(status__create_from_svn_wc_status_t): takes a
svn_wc_status_t as input and builds a java Status instance.
* tests/nativewrapper.c (Java_NativeWrapper_entryCreate,
Java_NativeWrapper_statusCreate): completed implementation.
Back in the past, long time ago, we forgot to include the
svn_wc_status_t member "copied". So, now we added it.
* status.h (status__set_copied): added.
* status.c (status__set_copied): added.
* org/tigris/subversion/lib/Status.java (copied): added.
(setCopied): added get accessor.
(getCopied): added set accessor.
* tests/NativeWrapper.java (statusSetCopied): added.
* tests/nativewrapper.c (Java_NativeWrapper_statusSetCopied): added
* tests/StatusTests.java (testStatusSetCopied): added.
r841042 | xela | 2002-01-19 20:30:58 +0000 (Sat, 19 Jan 2002)
Changed the way date/time values are converted.
Till now we just cast them from apr_time_t to
the "time" value for the java.util.Date class.
This is wrong since apr_time_t means microseconds
since 1970-01-01 00:00:00 GMT while java.util.Date
uses milliseconds since 1970-01-01 00:00:00 GMT.
* date.h (date__create_from_apr_time_t): added.
* date.c (date__create_from_apr_time_t): new
function to perform the conversion.
* entry.c (entry__create_from_svn_wc_entry_t):
use "date__create_from_apr_time_t" instead of
"date__create".
* tests/DateTests.java (testDateCreateFromAprTimeT,
testDateCreateFromAprTimeTIntegrity): tests cases for the
new functions.
* tests/NativeWrapper.java (dateCreateFromAprTimeT): new
wrapper for date__create_from_apr_time_t.
* tests/nativewrapper.c (Java_NativeWrapper_dateCreateFromAprTimeT):
implementation of NativeWrapper.dateCreateFromAprTimeT.
Added DOXYGEN documentation tags.
* date.h (date__create,date__create_from_apr_time_t).
Tweaked the test cases to get better results.
* tests/DateTests.java (testDateCreateValidDate):
used assertNotNull instead of assertTrue.
(testDateCreateIntegrity):
used assertEquals instead of assertTrue
r841043 | xela | 2002-01-19 20:40:00 +0000 (Sat, 19 Jan 2002)
Changed parameter types from long to jlong (was a bug).
With this changed the integrity check testcases dont produces
a failure anymore.
* date.h (date__create): parameter time.
* date.c (date__create): parameter time and milliseconds variable.
r841045 | xela | 2002-01-20 00:14:09 +0000 (Sun, 20 Jan 2002)
Removed primitive datatypes and moved this to separate
classes.
* org/tigris/subversion/lib/Entry.java (SCHEDULE_NORMAL,
SCHEDULE_ADD, SCHEDULE_DELETE, SCHEDULE_REPLACE,
SCHEDULE_UNADD, SCHEDULE_UNDELETE): deleted. You can find
these constants in the new class Schedule.
(NODEKIND_NONE, NODEKIND_FILE, NODEKIND_DIR, NODEKIND_UNKNOWN,
setNodekind, getNodekind):
deleted. Those can now be found in the new class Nodekind.
(revision, setRevision, getRevision): type changed to Revision.
(schedule, setSchedule, getSchedule): type changed to Schedule.
(kind, setKind, getKind): added.
* org/tigris/subversion/lib/Nodekind.java: new class.
Java version of svn_node_kind.
* org/tigris/subversion/lib/Schedule.java: new class.
Java version of svn_wc_schedule_t.
* org/tigris/subversion/lib/Status.java
(setReposRev, getReposRev): deleted.
(setTextStatus, setPropStatus, setReposTextStatus,
setReposPropStatus): deleted, but only the one with the int parameter.
Modified constants to keep them in sync with the native variants.
* org/tigris/subversion/lib/StatusKind.java
(UNVERSION): added
Tweaked around the classes for easier handling:
* org/tigris/subversion/lib/Revision.java: changed to final class.
Easier to handle.
* org/tigris/subversion/lib/Status.java (Status): new
copy constructor.
* org/tigris/subversion/lib/StatusKind.java: changed to final class.
(StatusKind): take parameter to initialize the class.
r841047 | xela | 2002-01-20 00:32:19 +0000 (Sun, 20 Jan 2002)
Added utility functions for the new class
org.tigris.subversion.lib.Nodekind
* nodekind.c (nodekind__create,
nodekind__create_from_svn_node_kind): added
* nodekind.h (nodekind__create,
nodekind__create_from_svn_node_kind): added
* tests/NodekindTests.java: units tests
* tests/AllTests.java (suite): integrated NodekindTests
r841048 | xela | 2002-01-20 00:43:08 +0000 (Sun, 20 Jan 2002)
Added utility functions for the new class
org.tigris.subversion.lib.Revision
* revision.c (revision__create): added
* revision.h (revision__create): added
* tests/RevisionTests.java: units tests
* tests/AllTests.java (suite): integrated RevisionTests
r841049 | xela | 2002-01-20 00:45:24 +0000 (Sun, 20 Jan 2002)
Better Junit assertion handling.
* tests/MiscTests (testMiscThrowExceptionByName): used "fail" and
"assertEquals" calls to produce more detailed results.
r841050 | xela | 2002-01-20 00:49:29 +0000 (Sun, 20 Jan 2002)
Added utility functions for the class
org.tigris.subversion.lib.StatusKind.
No units tests yet, though.
* statuskind.c (statuskind__create): create instance from integer.
(statuskind__create_from_svn_wc_status_kind): create instance from svn_wc_status_kind.
* statuskind.h (statuskind__create,
statuskind__create_from_svn_wc_status_kind): added prototype
r841051 | xela | 2002-01-20 00:51:07 +0000 (Sun, 20 Jan 2002)
Added utility functions for the class
org.tigris.subversion.lib.Schedule.
No units tests yet, though.
* schedule.c (schedule__create): create instance from integer.
(schedule__create_from_svn_wc_schedule_t): create instance from svn_wc_status_kind.
* schedule.h (schedule__create,
schedule__create_from_svn_wc_schedule_t): added prototype
r841052 | xela | 2002-01-20 00:52:51 +0000 (Sun, 20 Jan 2002)
Integrated the new source files to the build process.
* build.sh: added schedule.c revision.c nodekind.c statuskind.c.
r841053 | xela | 2002-01-20 01:00:27 +0000 (Sun, 20 Jan 2002)
Adapted utility functions to reflect the
changed method parameters of the java classes.
* entry.h
* entry.c
* status.h
* status.c
r841055 | xela | 2002-01-20 01:02:49 +0000 (Sun, 20 Jan 2002)
Adapted the units tests for the changed functions.
* tests/EntryTests.java
* tests/StatusTests.java
r841056 | xela | 2002-01-20 01:04:15 +0000 (Sun, 20 Jan 2002)
Adapted the wrapper functions for the
changed function parameters and new classes.
* tests/NativeWrapper.java
* tests/nativewrapper.c
r841059 | xela | 2002-01-20 07:41:52 +0000 (Sun, 20 Jan 2002)
Created JUnit Testcases for
org.tigris.subversion.lib.StatusKind.
* tests/NativeWrapper.java (statuskindCreate): new wrapper function
for statuskind__create.
* tests/StatusKindTests.java: JUnit tests
* tests/AllTests.java (suite): integrated StatusKindTests
r841060 | xela | 2002-01-20 08:00:28 +0000 (Sun, 20 Jan 2002)
Commented debugging output define out.
* date.c (SVN_JNI_DATE__DEBUG).
* entry.c (SVN_JNI__DEBUG_ENTRY).
r841061 | xela | 2002-01-20 08:07:39 +0000 (Sun, 20 Jan 2002)
Commented debugging output define out.
* nodekind.c (SVN_JNI_NODEKIND__DEBUG).
* revision.c (SVN_JNI_REVISION__DEBUG).
r841062 | xela | 2002-01-20 08:15:19 +0000 (Sun, 20 Jan 2002)
Finished the implementation of several
native function wrappers.
* tests/nativewrapper.c
(Java_NativeWrapper_nodekindCreate): wrapper for nodekind__create.
(Java_NativeWrapper_revisionCreate): revision__create.
(Java_NativeWrapper_statuskindCreate): statuskind__create.
r841063 | xela | 2002-01-20 08:17:34 +0000 (Sun, 20 Jan 2002)
Added unit tests for the class
org.tigris.subversion.lib.Client.
* tests/ClientTests.java: test cases.
* tests/AllTests.java (suite): added ClientTests
r841065 | xela | 2002-01-20 17:42:19 +0000 (Sun, 20 Jan 2002)
Added new utlity function to access get accessor methods
on the Java side from the native side.
* j.h (j__get_object, j__get_boolean): added the prototypes.
* j.c (j__get_object, j__get_boolean): added the implementation.
Tweaked the indentation and linebreaks.
* j.h.
* j.c.
r841066 | xela | 2002-01-20 17:45:14 +0000 (Sun, 20 Jan 2002)
Added new native accessor functions to get values
from an instance of the class org.tigris.subversion.lib.Entry:
* entry.h (entry__get_url, entry__get_revision,
entry__get_kind, entry__get_schedule,
entry__get_conflicted, entry__get_copied,
entry__get_texttime, entry__get_proptime,
entry__get_attributes): added the prototypes.
* entry.c (entry__get_url, entry__get_revision,
entry__get_kind, entry__get_schedule,
entry__get_conflicted, entry__get_copied,
entry__get_texttime, entry__get_proptime,
entry__get_attributes): added the implementation.
r841067 | xela | 2002-01-20 17:48:32 +0000 (Sun, 20 Jan 2002)
Added wrapper functions for the unit tests for
the new accessor functions in entry.h.
* NativeWrapper.java (entryCreateFromSvnWcEntryT,
entryGetUrl, entryGetRevision, entryGetKind,
entryGetSchedule, entryGetConflicted,
entryGetCopied, entryGetTexttime,
entryGetProptime, entryGetAttributes): added.
r841068 | xela | 2002-01-20 17:51:21 +0000 (Sun, 20 Jan 2002)
Added new test cases for the JUnit tests.
* tests/EntryTests.java
(testEntryCreateFromSvnWcEntryT, testEntryGetUrl,
testEntryGetRevision, testEntrySetKind,
testEntryGetKind, testEntryGetSchedule,
testEntryGetConflicted, testEntryGetCopied,
testEntryGetTexttime, testEntryGetProptime,
testEntryGetAttributes): added.
r841069 | xela | 2002-01-20 17:54:09 +0000 (Sun, 20 Jan 2002)
Did the implementation for the JNI wrapper functions.
* tests/nativewrapper.c
(Java_NativeWrapper_entryCreateFromSvnWcEntryT,
Java_NativeWrapper_entryGetUrl,
Java_NativeWrapper_entryGetRevision,
Java_NativeWrapper_entryGetKind,
Java_NativeWrapper_entryGetSchedule,
Java_NativeWrapper_entryGetConflicted,
Java_NativeWrapper_entryGetCopied,
Java_NativeWrapper_entryGetTexttime,
Java_NativeWrapper_entryGetProptime,
Java_NativeWrapper_entryGetAttributes): added.
r841070 | xela | 2002-01-20 18:04:05 +0000 (Sun, 20 Jan 2002)
Added some hints for people who want to
start developing for the java subversion binding.
* README
r841071 | xela | 2002-01-20 18:10:17 +0000 (Sun, 20 Jan 2002)
Disabled debugging text output.
* statuskind.c (SVN_JNI_STATUSKIND__DEBUG): commented out.
r841072 | xela | 2002-01-20 18:21:00 +0000 (Sun, 20 Jan 2002)
Renamed the define for the debugging output switch
to match the naming scheme of the other sourcecode files.
* entry.c (SVN_JNI_ENTRY__DEBUG): was SVN_JNI__DEBUG_ENTRY.
* hashtable.c (SVN_JNI_HASHTABLE__DEBUG): was
SVN_JNI__DEBUG_HASHTABLE.
* j.c (SVN_JNI_J__DEBUG): was SVN_JNI__DEBUG_J.
* status.c (SVN_JNI_STATUS__DEBUG): was SVN_JNI__DEBUG_STATUS.
* string.c (SVN_JNI_STRING__DEBUG): was SVN_JNI__DEBUG_STRING.
* vector.c (SVN_JNI_VECTOR__DEBUG): was SVN_JNI__DEBUG_VECTOR.
r841073 | xela | 2002-01-20 18:28:42 +0000 (Sun, 20 Jan 2002)
Added debugging output define to files that didnt have
one based on per-file bases.
* clientimpl_status.c (SVN_JNI_CLIENTIMPL_STATUS__DEBUG): was SVN_JNI__VERBOSE.
* main.c (SVN_JNI_MAIN__DEBUG): was SVN_JNI__VERBOSE.
* misc.c (SVN_JNI_MISC__DEBUG): was SVN_JNI__VERBOSE.
r841074 | xela | 2002-01-20 18:29:46 +0000 (Sun, 20 Jan 2002)
Deleted the generic debugging output define.
* global.h (SVN_JNI__VERBOSE): deleted.
r841165 | xela | 2002-01-28 21:00:21 +0000 (Mon, 28 Jan 2002)
Changed my email adress again to meet svn naming standards... ;-)
* README.
r845355 | rooneg | 2003-03-12 00:05:21 +0000 (Wed, 12 Mar 2003)
Add "subversion-1" to includedir when svn-config is run from it's installed
location. This makes 'svn-config --includes' a bit more useful.
For issue #1184.
Patch by: Alexander Müller <XelaRellum@web.de>
* svn-config.in
(flags): added postfix "subversion-1"