summaryrefslogtreecommitdiff
path: root/time
Commit message (Collapse)AuthorAgeFilesLines
* PR:wrowe2000-05-282-4/+4
| | | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Fix the last of the tags APR_EXPORT_VAR and APR_IMPORT_VAR to the accepted APR_VAR_EXPORT and APR_VAR_IMPORT. This patch finally includes the apr.h.in file (newly added to my grepper). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60111 13f79535-47bb-0310-9956-ffa450edef68
* Fixup a couple of rename's missed APR_VAR_EXPORT->APR_EXPORT_VARrbb2000-05-272-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60110 13f79535-47bb-0310-9956-ffa450edef68
* PR:wrowe2000-05-272-4/+4
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Reverse out APR_EXPORT_VAR to APR_VAR_EXPORT from early this week, to maintain consistency with the Apache core project. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60109 13f79535-47bb-0310-9956-ffa450edef68
* Mass update of API_IMPORT/EXPORT symbols TO APR_ symbols.wrowe2000-05-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | APR is -NOT- the Apache server, so the import/export declations cannot use the same defined symbols. Other minor changes API_THREAD_PROC is now APR_THREAD_PROC. API_VAR_IMPORT/EXPORT are now APR_IMPORT/EXPORT_VAR, to allow easier grepping. The new compilation switches APR_STATIC and APR_EXPORT_SYMBOLS allow the builder to select either static linked or the creation of the export symbols for APR. The aprlib and aprlibdll .dsp projects now include the later symbol. More cleanups from recent commits are still needed, as well as a thorough review of the distinction between APR_EXPORT and APR_EXPORT_NONSTD. The later is used only for pure __cdecl required functions, such as variable arguments (not va array arguments, those are not an issue.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60101 13f79535-47bb-0310-9956-ffa450edef68
* Make `mm' an INCDIR in shmem/unix, so that the INCDIR rewriter cansascha2000-04-301-1/+0
| | | | | | | | | automatically adapt it for VPATH use. Remove $(OBJS): Makefile dependency to avoid unnecessary rebuilds. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59998 13f79535-47bb-0310-9956-ffa450edef68
* Update comment for depend target. The template makefiles are now calledsascha2000-04-301-1/+1
| | | | | | | Makefile.in, and Configure became configure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59996 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.rbb2000-04-223-4/+4
| | | | | | | | This should make the fact that this is a private header file more obvious. This also updates all of the references to apr_config.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesrbb2000-04-144-6/+6
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* more documentation movementdgaudet2000-04-141-55/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59841 13f79535-47bb-0310-9956-ffa450edef68
* Fix some of the Windows APR time functions.stoddard2000-04-042-2/+4
| | | | | | | | Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59786 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).stoddard2000-04-031-1/+1
| | | | | | | | | | | Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw at build time. At this point, the server will not compile on Windows because of the recent DSO commits. Fixing those next. Submitted by: Bill Rowe & Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59770 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1fielding2000-03-317-222/+216
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Last doc update.rbb2000-03-151-7/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59713 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:rbb2000-03-107-63/+63
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
* another unused warningdgaudet2000-03-021-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59672 13f79535-47bb-0310-9956-ffa450edef68
* Make some of the APR to Windows time conversion routines available to otherstoddard2000-02-011-5/+3
| | | | | | | APR functions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59634 13f79535-47bb-0310-9956-ffa450edef68
* Make interprocess mutexes actually choose, fix semaphore mutexes.ben2000-01-231-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59613 13f79535-47bb-0310-9956-ffa450edef68
* Make change suggested by Benstoddard2000-01-192-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59609 13f79535-47bb-0310-9956-ffa450edef68
* Initialize struct tmstoddard2000-01-171-1/+1
| | | | | | | Submitted by: Paul Reder git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59606 13f79535-47bb-0310-9956-ffa450edef68
* Humm, ULONGLONG does not appear to be recognised by VC++ 5.0stoddard2000-01-171-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59605 13f79535-47bb-0310-9956-ffa450edef68
* Add timestr to Windows port. We really need a better way to use common files.stoddard2000-01-171-0/+174
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59603 13f79535-47bb-0310-9956-ffa450edef68
* Reimplement Win32 time functions to the new spec.stoddard2000-01-171-64/+121
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59600 13f79535-47bb-0310-9956-ffa450edef68
* Move per directory Windows project files to the atticstoddard2000-01-122-135/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59593 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Migrate directory API to new style ap_time_tbjh2000-01-101-0/+24
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59582 13f79535-47bb-0310-9956-ffa450edef68
* add the ap_get_os_*_time funcs after Dean's time re-write.rbb2000-01-092-12/+83
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59580 13f79535-47bb-0310-9956-ffa450edef68
* time overhaul:dgaudet2000-01-094-650/+203
| | | | | | | | | | - ap_time_t is a 64-bit scalar, microseconds since epoch - ap_exploded_time_t corresponds to struct tm with a few extras probably broken on anything except linux. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59578 13f79535-47bb-0310-9956-ffa450edef68
* Add a new time function which creates a new time instance and initializesrbb2000-01-061-1/+22
| | | | | | | | | | the current time. This augments the ap_make_time ap_current_time combination that we already have because it does the same thing in one function. Both methods are necessary, because more often than not, we create a time instance, but don't fill it out with the current time. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59576 13f79535-47bb-0310-9956-ffa450edef68
* Next pass at the time functions. This defines an ap_ansi_time_t which hasrbb2000-01-061-4/+4
| | | | | | | | | a specific format (seconds since 0:00:00 Jan 1, 1970). I also renamed the (get|set)_curtime functions to (get|set)ansitime. This should make more sense, and be a bit more intuitive. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59575 13f79535-47bb-0310-9956-ffa450edef68
* retsize should be ap_size_t, not hardwired to 32 bitsdgaudet1999-12-311-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59565 13f79535-47bb-0310-9956-ffa450edef68
* Some changes to the ap_strftime function. We now inform the user of therbb1999-12-301-2/+4
| | | | | | | | length of the string written, and we return a status code. I expect the status code to mean a bit more on Windows than it currently does on Unix. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59558 13f79535-47bb-0310-9956-ffa450edef68
* A couple of new functions for APR's time library.rbb1999-12-211-0/+37
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59549 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_gm_timestr_822 to ap_timestr. Now, one function can be used to getrbb1999-12-211-8/+8
| | | | | | | a timestr for GMT and Localtimes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59548 13f79535-47bb-0310-9956-ffa450edef68
* Prevent segfault on comparing an uninitialized ap_time_t object. Treat itbjh1999-12-211-2/+2
| | | | | | | as a zero value, same as a NULL ap_time_t pointer. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59546 13f79535-47bb-0310-9956-ffa450edef68
* Remove OS/2 version of time library, the default unix code works just fine.bjh1999-12-213-117/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59545 13f79535-47bb-0310-9956-ffa450edef68
* Fix the build process for APR. There is no reason to build each libraryrbb1999-12-201-6/+6
| | | | | | | | | individually if we are just going to combine them into one library later. I am just commenting out those lines we don't need anymore. They will probably go away very soon, but I want to think about it a bit more. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59544 13f79535-47bb-0310-9956-ffa450edef68
* A bunch more time functions for use in Apache. This is really the first cutrbb1999-12-205-4/+203
| | | | | | | at making the time library usable in an actual program. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59542 13f79535-47bb-0310-9956-ffa450edef68
* The compiler for PowerPC versions of BeOS is about as pedantic asdreid1999-12-191-3/+2
| | | | | | | | | I've ever seen so this set of patches gets it working with no niggles. The autoconf also gives answers that don't work so these are set to get around this problem. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59540 13f79535-47bb-0310-9956-ffa450edef68
* Make APR compile on Windows again. The changes that I introduced forrbb1999-12-092-1/+1
| | | | | | | | | autoconf had the undesirable effect of killing the Windows build. This still generates a few warnings, but at least it provides us with working code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59511 13f79535-47bb-0310-9956-ffa450edef68
* Cleaning up the config stuff for APR even more. We had some smallrbb1999-12-061-0/+3
| | | | | | | | | macros that weren't getting defined since the leakage problem was cleared up. I think I fixed this. And all APR macros will be using #if instead of #ifdef from now on. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59506 13f79535-47bb-0310-9956-ffa450edef68
* Fix the logic in blocking vs non-blocking pipes to children. It onlyrbb1999-12-034-19/+15
| | | | | | | | makes sense to change the blocking attributes of a pipe if we actually are successful in creating the pipe. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59501 13f79535-47bb-0310-9956-ffa450edef68
* Be careful, _POSIX_THREAD_SAFE_FUNCTIONS is a feature test macro, yes, but itrse1999-10-311-2/+2
| | | | | | | | works by being either defined or not. It's not always defined and just has a value 0 or not 0... git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59427 13f79535-47bb-0310-9956-ffa450edef68
* Remove all of the ugly SAFETY_LOCK code. APR determines if it has threadingrbb1999-10-191-12/+10
| | | | | | | | | | | support turned on. If so, it uses re-entrant functions that should be there. If the functions aren't there, we use non-re-entrant functions. If this causes problems in the future, we'll provide implementations of the re-entrant functions. For now though, this should work, and it is definately cleaner than what we had before. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59383 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Update dependenciesbjh1999-10-181-8/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59372 13f79535-47bb-0310-9956-ffa450edef68
* Simplify time/os2 directory by using a default.c module that #includesbjh1999-10-184-128/+2
| | | | | | | common modules from the unix directory as suggested by David Reid. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59361 13f79535-47bb-0310-9956-ffa450edef68
* This corrects a small problem with the safety locks. Always helpsdreid1999-10-161-2/+2
| | | | | | | to lock and unlock the same lock! git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59354 13f79535-47bb-0310-9956-ffa450edef68
* Fix a bug in the logic to set/get userdata from ALL apr types. I haverbb1999-10-152-2/+2
| | | | | | | | known about this bug for a while, but I am just now finding the time to fix it. :) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59352 13f79535-47bb-0310-9956-ffa450edef68
* Rid ourselves of a warning, and make all the time functions use one lock.rbb1999-10-141-4/+5
| | | | | | | | This is because all the time functions supposedly may use the same static memory space for their work. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59350 13f79535-47bb-0310-9956-ffa450edef68
* Isolate the APR thread-safety macros. This makes any macro available torbb1999-10-141-2/+3
| | | | | | | | ANY portion of APR. It also makes these macros internal to APR only, because this header file is not exposed to programs which use APR. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59349 13f79535-47bb-0310-9956-ffa450edef68
* Ditch the OS/2 specific time code as it's identical to the unix code (exceptbjh1999-10-133-277/+10
| | | | | | | for being out of date wrt parameter reordering). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59334 13f79535-47bb-0310-9956-ffa450edef68
* This finishes the argument swaps. The docs haven't been updated, andrbb1999-10-111-1/+1
| | | | | | | | probably won't be for a while yet. These argument orders have been documented in the APR Design doc committed earlier today. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59316 13f79535-47bb-0310-9956-ffa450edef68