Commit Graph

147 Commits

Author SHA1 Message Date
ahodgkinson
cabd3b05da Fixed problem with f_freeAlignedBuffer on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@656 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-12 02:01:24 +00:00
ahodgkinson
f721085a15 Reverted to calling fsync on Mac OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@655 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 22:24:43 +00:00
ahodgkinson
04c8a75de2 Enhanced Unix code for auto-extending files.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@653 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 21:12:04 +00:00
ahodgkinson
f9f8ade96b Fixed Linux compile errors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@652 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 19:46:17 +00:00
ahodgkinson
eacf9625d9 Added support for auto-extending files when writing to minimize filesystem metadata logging.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@651 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 19:40:14 +00:00
ahodgkinson
057af14af9 waitToComplete() method needed to support OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@646 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:01:27 +00:00
ahodgkinson
a53f8acaf8 Improved async i/o error handling. Disabled file system caching on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@645 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:00:54 +00:00
ahodgkinson
82f98d78a8 Added support for allocating aligned buffers on Unix platforms that don't provide the memalign() function.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@644 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-11 03:00:03 +00:00
ahodgkinson
c44e49e82c Added option in FLAIM to disable direct I/O on Linux and Unix platforms. Re-architected the FTK I/O layer and cleaned up the async interfaces.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@643 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-10 23:38:53 +00:00
ahodgkinson
3dc23e1bcd Added support for f_yieldCPU() on Unix platforms.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@638 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 20:47:42 +00:00
ahodgkinson
25871146ba Updated FTK makefile to detect the Sun Studio compiler.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@637 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 19:03:29 +00:00
ahodgkinson
4f9dbe409c Initial support for Solaris 7 and the Sun Forte.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@636 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-06 18:22:41 +00:00
dsandersoremutah
d60f9efd0c Added default new operators to the F_Object class - ones without file and line number.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@633 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-07-05 14:42:47 +00:00
dsandersoremutah
8c0b2ce402 Modified to include stdarg.h to get va_xxx functionality - on all platforms except for Netware ring 0.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@620 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-30 20:30:37 +00:00
dsandersoremutah
c843dd7fb7 Some typedefs are no longer in F_FixedAlloc class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@615 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-27 16:03:03 +00:00
dsandersoremutah
5f91337220 Moved some typedefs out of the private area of the F_FixedAlloc class. Some compilers can't deal with that.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@614 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-27 15:55:42 +00:00
dsandersoremutah
b8c853ae20 Modified to use new F_Printf object to do f_sprintf and logging.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@606 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-22 21:27:38 +00:00
dsandersoremutah
02786f16e7 Got rid of printf formatter routines that are no longer used.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@605 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-22 21:20:25 +00:00
dsandersoremutah
8d69473eb6 Changed strings for embedding colors in printf() format strings. Added F_Printf class.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@604 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-22 21:19:53 +00:00
dsandersoremutah
720fd25e8c Added prototypes and functions to initialize the logger client and associated mutex.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@594 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 18:32:08 +00:00
dsandersoremutah
0a3fb74248 Base 64 decoder should have returned success instead of eof hit.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@591 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 18:30:51 +00:00
ahodgkinson
4da76e02e8 Added call to fflush in f_printf().
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@589 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:36:32 +00:00
ahodgkinson
b15d0a0694 Added nlm.xdc.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@588 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:10:35 +00:00
ahodgkinson
44f3c67458 Fixed NetWare build issues.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@587 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:09:42 +00:00
ahodgkinson
b6a7ffc76d Needed to lock/unlock the random generator mutex when getting a random number via f_getRandomUINT32.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@586 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-20 15:09:28 +00:00
dsandersoremutah
15aee67ddf Fixed compiler warning on linux.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@585 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-19 21:03:16 +00:00
dsandersoremutah
b9268e985e Added SynchronizeStart
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@577 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-16 16:12:04 +00:00
dsandersoremutah
cd3612fbf5 Made Ring 0 the default mode for compiling and building on Netware. Added "const" in one prototype.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@576 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-16 16:11:43 +00:00
ahodgkinson
2fabd31c06 Moved the super-file handle into FTK and fixed various memory leaks in the FLAIM/XFLAIM unit tests.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@575 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-15 17:05:55 +00:00
ahodgkinson
d8d61143f7 More bug fixes for NetWare.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@572 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-14 19:39:30 +00:00
ahodgkinson
f5aa2e1a0d Fixed various memory leaks and enabled memory tracking for debug builds.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@571 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 21:13:24 +00:00
ahodgkinson
8ee3ed8699 Needed to release "free" cache during shutdown.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@570 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 20:20:44 +00:00
ahodgkinson
34b2324144 Misc. FTK cleanup.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@567 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 19:02:07 +00:00
dsandersoremutah
151f1a4c6a Added F_DynSearchSet class and supporting classes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@566 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 18:52:45 +00:00
dsandersoremutah
0723a1ffa7 Added F_DynSearchSet class. Moved a definition for other result sets to ftk.h
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@561 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 18:14:04 +00:00
dsandersoremutah
c685939ff8 Moved definition for F_FileSystem to ftksys.h
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@560 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 18:12:40 +00:00
ahodgkinson
b905629bb0 NetWare ring zero thread fixes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@559 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 17:29:11 +00:00
ahodgkinson
d19dd80901 Makefile changes for NetWare.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@557 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 17:17:42 +00:00
ahodgkinson
64c22eb9cd Changed Solaris and Linux to use DEV_BSIZE as the value of m_uiBytesPerSector.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@556 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-13 15:38:44 +00:00
ahodgkinson
e6b528664d Added more asserts.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@554 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 23:32:15 +00:00
ahodgkinson
7fde897e34 Needed to set uiBytesWritten in directWrite() after the async write has been queued.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@553 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 23:20:08 +00:00
ahodgkinson
67543bc464 Enabled direct I/O and async on OS X.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@552 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 23:07:08 +00:00
ahodgkinson
8ac4179f56 Fixed Solaris compile errors.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@550 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 21:13:09 +00:00
ahodgkinson
18607f2306 Misc. changes for Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@549 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 21:00:03 +00:00
ahodgkinson
de1f513a3d Changes to support async reads on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@548 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 20:50:04 +00:00
dsandersoremutah
1a77c362ff Added f_getpid call - so all applications can call it.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@546 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 19:29:16 +00:00
ahodgkinson
d38be29699 NetWare async I/O changes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@542 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 18:48:34 +00:00
ahodgkinson
7b20027e35 Solaris async I/O changes.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@540 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-12 18:28:33 +00:00
ahodgkinson
9593313285 Added more asserts in F_FileHdl methods.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@539 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-09 18:45:16 +00:00
ahodgkinson
ba28b1401a Changes to use sema_xxxx calls on Solaris.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@538 0109f412-320b-0410-ab79-c3e0c5ffbbe6
2006-06-09 17:04:41 +00:00