Commit Graph

204 Commits

Author SHA1 Message Date
dsandersoremutah
a16671fb45 Added methods to C# for setting cache limits and getting cache information. Also added unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@904 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-22 19:35:22 +00:00
dsandersoremutah
5cab689eb0 Fixed up structures used in C# to exactly match the definitions - so that it won't matter if we are compiling on 64 bit or 32 bit platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@892 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-21 18:10:49 +00:00
dsandersoremutah
ad3b140608 Should not change the NE_FLM_EOF_HIT error to NE_FLM_OK inside of F_Base64DecoderIStream class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@882 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-21 15:13:02 +00:00
dsandersoremutah
450009bd51 Should have been testing puiBytesRead, not *puiBytesRead.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@881 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-21 14:52:35 +00:00
ahodgkinson
2bf270fcfb FTK changes. Updates for Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@853 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-18 14:33:13 +00:00
dsandersoremutah
cddaeea5a8 Turned off warning C4514 for Windows VC6 compiler - warns about unreferenced inline functions.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@849 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-15 14:40:49 +00:00
dsandersoremutah
2e4d2fb076 Added ifdef around O_NOATIME. This is only defined for linux kernels 2.6.8 and greater.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@847 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-13 14:50:13 +00:00
dsandersoremutah
567f6dc6be Fixed up doxygen comment.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@821 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-07 18:46:12 +00:00
ahodgkinson
e9b758fd06 FTK change. Fixed AIX xlc 64-bit build. Also incremented the library version numbers.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@819 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-07 18:35:02 +00:00
ahodgkinson
6c36f1059d FTK changes. Fixed Solaris build.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@817 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-06 20:31:20 +00:00
ahodgkinson
7ec88ac471 More changes for NetWare.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@816 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-06 19:01:38 +00:00
ahodgkinson
93c2f2b939 Various changes for NetWare.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@815 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-06 17:56:38 +00:00
ahodgkinson
9b00179045 FTK change. Fixed Solaris compiler warnings.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@812 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-05 17:12:15 +00:00
ahodgkinson
5a40bba976 FTK change. Fixed issue where a thread was locking the same mutex twice.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@808 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-01 19:55:19 +00:00
ahodgkinson
3a0aefb321 Added support for I/O completion callbacks.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@807 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-01 19:45:34 +00:00
ahodgkinson
a8713bba98 FTK change. Needed to use the fast checksum code on Windows platforms when calculating a packet checksum.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@806 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-09-01 19:41:19 +00:00
ahodgkinson
aefe3a0a67 FTK change. Fixed issue when building with gcc on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@796 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-23 17:12:22 +00:00
ahodgkinson
3755f0e717 FTK change. Renamed FLM_GENERIC_SPARC to FLM_SPARC_GENERIC. Also renamed the "generic" target to "genericsparc".
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@794 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-23 16:40:24 +00:00
ahodgkinson
7f949c01a5 FTK change. Added support for the "genericsparc" target. This will build a library without any v8plus or newer instructions.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@793 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-23 16:05:13 +00:00
ahodgkinson
52279ed81e FTK change. Improved performance of PPC atomic ops by removing the leading sync instruction.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@792 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 23:13:54 +00:00
ahodgkinson
7bf48c61ea FTK change. Fixed OS X compiler warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@788 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 21:40:31 +00:00
ahodgkinson
3922aa7255 FTK changes. Minor cleanup.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@786 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 21:14:42 +00:00
ahodgkinson
ccdbccde49 FTK changes. Various optimizations for Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@785 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 20:54:08 +00:00
ahodgkinson
564ae538a7 FTK change. Fixed Solaris 32-bit compile issue.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@784 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-22 18:44:30 +00:00
ahodgkinson
84931997bb FTK changes. Fixed bug in f_combineWPChar that was resulting in an illegal memory access when processing characters beyond 0x0F00.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@780 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-21 20:30:14 +00:00
ahodgkinson
7c37eb0d40 FTK changes. Fixed bug in f_wpBreakChar that was resulting in an illegal memory access when processing character 0x01F2.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@779 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-21 20:23:32 +00:00
ahodgkinson
c48052bdf7 FTK changes. Improvements to collation routines, including an optimization that results in 10x the performance when converting US English characters for collation. Added more collation unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@777 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-21 19:49:24 +00:00
ahodgkinson
521d5ef269 FTK change. Needed to verify items are in the avail list before changing the prev/next avail pointers in F_SlabInfoRelocator::relocate.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@774 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-17 22:59:58 +00:00
ahodgkinson
b92e178965 FTK change. Fixed bug in SPARC checksum code when processing a misaligned buffer. Added unit tests to validate the code change.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@767 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-14 22:48:06 +00:00
ahodgkinson
3e45be3400 FTK change. Fixed misc problems in ftkFastXor routine.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@764 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-14 17:44:00 +00:00
ahodgkinson
9acc51698a Fixed compile errors on Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@762 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-10 22:40:06 +00:00
ahodgkinson
0eb11f49db FTK changes. Checksum improvements for Windows.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@759 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-10 22:32:16 +00:00
ahodgkinson
7c9bb608c9 FTK change. Added assembly routines for calculating checksums on SPARC platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@758 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-10 21:33:06 +00:00
ahodgkinson
2e508596bc FTK change. Enabled use of fast checkum routines on all x86 platforms when building with gcc.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@757 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 20:36:41 +00:00
ahodgkinson
9e08e127e8 FTK changes. Added f_calcPacketChecksum() function and corresponding unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@756 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 20:24:40 +00:00
ahodgkinson
964b602d2f Added ftkFastCheckSumMMX for 32 and 64-bit Intel Linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@755 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 19:48:07 +00:00
ahodgkinson
3175324999 FTK changes. Added f_getRandomByte() function and added a unit test for the block checksum routine.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@754 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-09 16:21:27 +00:00
ahodgkinson
65ec01a749 FTK change. Added native Linux atomic ops on PPC.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@753 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 23:12:02 +00:00
ahodgkinson
6a71caf32f FTK change. Added native atomic routines for Linux on SPARC processors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@749 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 18:43:28 +00:00
ahodgkinson
09151de0aa FTK change. Needed to use atomic "barrier" functions on OS X to ensure correct
behavior.


git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@747 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-08 16:14:17 +00:00
ahodgkinson
894499caf4 FTK changes. Added simple atomic increment and decrement unit test.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@744 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 18:52:57 +00:00
ahodgkinson
0860382e06 FTK changes. Added more asserts to check for correct list linkages.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@743 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-07 18:16:04 +00:00
ahodgkinson
828f7f8e65 FTK Changes. Added support for HP-UX built with the native compiler (aCC). Added extendFile() method to the file handle class -- this method will increase the size of a file in the most optimal way possible on the host platform.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@732 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-03 19:21:37 +00:00
ahodgkinson
a575399f58 Fixed Linux compiler warning.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@731 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 21:15:36 +00:00
ahodgkinson
27bc96c21f Initial support for direct and async I/O on AIX.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@730 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 21:11:45 +00:00
ahodgkinson
0e2ba5f0b3 Updated support for AIX.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@729 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-08-01 19:31:50 +00:00
ahodgkinson
5bb928b5e8 FTK change. According to the documentation posix_* routines do not set errno. Needed to make a couple of code changes to account for this.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@728 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-31 19:06:59 +00:00
ahodgkinson
78fe7721a6 FTK change. Fixed compiler warning in release build.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@725 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 22:40:33 +00:00
ahodgkinson
a157ff5fb4 All projects changed to build with -xarch=v8plus when using the Workshop compiler on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@724 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 22:24:38 +00:00
ahodgkinson
af49935bcb FTK changes. Optimized Solaris file extend operation.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@723 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-27 21:13:17 +00:00