Commit Graph

54 Commits

Author SHA1 Message Date
Wolfgang Hommel
02bc1fccae Version bump to 0.9.10 (prepares for #366) 2022-02-20 17:53:54 +01:00
Wolfgang Hommel
3c0b101a84 Version bump to v0.9.9 2021-02-21 18:27:02 +01:00
Daniel Kahn Gillmor
cce377b371 Fix spelling 2021-02-03 11:55:28 -05:00
Wolfgang Hommel
e00ba47ca9 Preliminary documentation related to #275 changes 2020-11-16 16:56:47 +01:00
Steffen Dettmer
c1d10321a7 settime functions support FAKETIME_UPDATE_TIMESTAMP_FILE (for #239).
When the environment variable FAKETIME_TIMESTAMP_FILE is set, points to
a writeable (creatable) custom config file and the environment variable
FAKETIME_UPDATE_TIMESTAMP_FILE is "1", then the file also is updated on
each call. By this, a common "virtual time" can be shared by several
processes, where each can adjust the time for all.
2020-04-09 16:06:32 +02:00
Wolfgang Hommel
3123ad7fe2 Revert "Automake branch" 2019-11-30 09:36:46 +01:00
Michael D. Stemle, Jr
f92d919fb0 Merged master in and cleaned up.
We no longer need the OSX-specific test. Tests are passing, too.
2019-11-27 14:32:15 -05:00
Wolfgang Hommel
5d1e6325f2 Add FAKE_SETTIME to CFLAGS to intercept time-setting calls (#179) 2019-09-03 12:01:33 +02:00
Wolfgang Hommel
8ed946cb63 Documentation for packagers, esp. about FORCE_PTHREAD_NONVER and FORCE_MONOTONIC_FIX 2019-08-31 21:32:52 +02:00
Wolfgang Hommel
c60390a7e3 Updated documentation regarding compatibility, use on macOS, and contributions 2019-08-23 15:24:13 +02:00
Wolfgang Hommel
d79ed053d7 Updated documentation regarding shared memory, fixed spelling 2019-08-23 14:46:06 +02:00
Wolfgang Hommel
ba32d1b01c Added FORCE_MONOTONIC_FIX CFLAG to avoid hangs on timedwait (#202 #142) 2019-08-23 10:29:53 +02:00
Wolfgang Hommel
52108dba7a Added FAKETIME_XRESET to smoothen run-time transition between 'x' modifier values (#198) 2019-08-22 00:49:21 +02:00
Wolfgang Hommel
57917c4d5a Added follow-file-timestamp mode via FAKETIME='%' and FAKETIME_FOLLOW_FILE (#156) 2019-08-20 19:43:15 +02:00
Wolfgang Hommel
e85863f671 Added note regarding leap year handling in documentation (#145) 2019-08-20 18:07:17 +02:00
Wolfgang Hommel
b855b8a0d3 Updated documentation regarding offset specification on x/i modifiers 2019-08-20 13:08:36 +02:00
Wolfgang Hommel
aa091db286 Preparations for 0.9.8 release 2019-08-12 12:25:41 +02:00
Mathis Beer
5c4fdb5173 Rename DONT_FAKE_MONOTONIC to FAKETIME_DONT_FAKE_MONOTONIC for consistency.
The old variable still works.
2019-02-05 07:45:31 +01:00
Michael D. Stemle, Jr
96668a9c6d Fixing a couple of issues I just found. 2018-10-02 22:20:14 -04:00
Michael D. Stemle, Jr
24fd806e6b Added GNU autotools support. 2018-10-02 22:02:30 -04:00
Wolfgang Hommel
c9a681c3e3 Preparations for 0.9.7 release 2017-11-14 20:28:32 +01:00
Jason Soo
d42a2a9ec7 Mention possibility of running java in README 2017-09-30 15:51:39 +10:00
Wolfgang Hommel
6e4037768a early preparations for 0.9.7 release 2017-05-19 21:51:25 +02:00
Jakub Wilk
d1fdfb1950 Fix typo in README 2017-02-28 12:22:50 +01:00
Jakub Wilk
4786b94f8e Fix grammar in README
"allow" is a transitive verb, which requires an object,
so "allow to <verb>" is ungrammatical.
2016-06-02 21:36:54 +02:00
Jakub Wilk
0d790dabb6 Fix license name in README
There's no such thing as "GNU Public License";
GPL stands for "General Public License".
2016-06-02 21:31:43 +02:00
Jakub Wilk
6de283f621 Fix typos 2016-06-02 21:31:42 +02:00
Wolfgang Hommel
6357820d52 Added hint about library search paths 2015-02-19 20:24:07 +01:00
Joker
75896bdd32 added runtime cache manipulation: change duration and active state with environment variables 2014-11-17 10:42:15 +01:00
Joker
6c207c9c68 Custom timestamp filename added: ~/.faketimerc alternative 2014-11-17 10:28:20 +01:00
Wolfgang Hommel
70aa6b394d Preparations for 0.9.6 release 2014-06-07 17:04:02 +02:00
Wolfgang Hommel
c3e4760338 Updated documentation for v0.9.6 & Makefile consolidation 2014-02-14 15:59:06 +01:00
Wolfgang Hommel
e653c388bf Minor updates to debug msgs and docs related to filter commands 2013-10-30 21:47:56 +01:00
Balint Reczey
c2ca839b6a Limit faking based on command name 2013-10-28 22:58:03 +01:00
Wolfgang Hommel
a0987efa5c renamed library name from libfaketime.dylib.1 to libfaketime.1.dylib based on Apple design guidelines. Thanks to ryandesign at MacPorts 2013-10-11 16:33:37 +02:00
Wolfgang Hommel
4586eef851 Documentation on building 32-bit libraries on 64-bit platforms 2013-10-04 10:24:23 +02:00
Wolfgang Hommel
89f58cd720 Updated documentation and credits 2013-09-02 14:09:32 +02:00
Balint Reczey
5d9429257b Fix typo in README 2013-09-01 18:22:47 +02:00
Wolfgang Hommel
aef788c795 Revert "merged rbalint's pr27"
This reverts commit 5283614bec, reversing
changes made to 4ecef4db08.
2013-09-01 16:04:21 +02:00
Wolfgang Hommel
8b67256736 Revert 30dd22e..bdac73e
This rolls back to commit 30dd22e157.
2013-08-29 10:08:32 +02:00
Balint Reczey
8bb28faa91 Save faked timestamps to file, load faked timestamps from file
The files can be set using FAKETIME_SAVE_FILE and FAKETIME_LOAD_FILE
environment variables respectively.
2013-08-28 14:41:48 +02:00
Wolfgang Hommel
03fbad9bca Revert a0e3346..2dceb57
This rolls back to commit a0e33461a0.
2013-08-24 21:24:57 +02:00
Toni G
1ac7472769 Comment 2013-08-22 02:08:46 +02:00
Toni G
b4e3028494 explanation in readme 2013-08-22 02:08:30 +02:00
Toni G
af245d9d6c explanation in readme 2013-08-22 01:49:53 +02:00
Balint Reczey
d5cd7064f5 Use the same global clock for all processes spawned by faketime -f '... iN'
In case the clock is set to advance with each faked time(), etc. call, the
counter uses the same clock counter stored in shared memory and protected
by a semaphore.
2013-08-19 14:08:51 +02:00
Balint Reczey
2451de2244 Advance time with each time(), gettimeofday(), etc. call 2013-08-15 18:50:41 +02:00
Tomi Ollila
b648b7712d whitespace cleanup
Used (emacs) M-x untabify for whole faketime.c as the prevailing
style in that file used spaces for indentation.

Used M-x delete-trailing-whitespace to all files that had either
trailing whitespace or empty lines at the end of file to remove
those.
2012-08-30 10:46:58 +03:00
Wolfgang Hommel
dac5d28af2 Updated documentation for the upcoming 0.9 release 2012-01-11 22:37:21 +01:00
Wolfgang Hommel
ec89c44011 Added feature to exec external command after x sec
This feature makes libfaketime execute an arbitrary system
command, such as a shell script, after a program has been
running for X seconds or has made Y time-related function
calls.
It is controlled by three environment variables.
FAKETIME_SPAWN_TARGET is the full path + file name +
command line arguments to the user-specified system
command.
FAKETIME_SPAWN_SECONDS is the number of seconds (after
program start / program's first time function call) after
which FAKETIME_SPAWN_TARGET will be executed.
FAKETIME_SPAWN_NUMCALLS can be used as an alternative
to ..._SECONDS.
2012-01-11 22:23:09 +01:00