-
Notifications
You must be signed in to change notification settings - Fork 1
/
History.txt
134 lines (85 loc) · 3.76 KB
/
History.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
fsdb 0.7.4
- modernize rakefile and gemspec
- switch to minitest
fsdb 0.7.3
- avoid warnings with ruby 2.0
- update rakefile and gemspec
- reorganized test dir and scripts
- add bench tasks to rakefile
fsdb 0.7.2
- rename lock_shared and lock_exclusive by appending _fsdb to avoid conflicts
- require thread for 1.8.7 compat
- added fixture example
- fetch clears cache entry to prevent increasing memory use
- fix possible race condition in insert
- use db cache_mutex instead of Thread.exclusive.
- minor api doc changes
- stop using literal character notation, for clarity
- updated README with recent benchmarks
fsdb 0.7.1
- added a require needed for ruby 1.8
fsdb 0.7.0
- remove fcntl locking option; fsdb is pure ruby again.
- removed obsolete mutex classes; ruby 1.8.7 and 1.9.3 don't need them.
- fixed problems in Modex class under ruby 1.9.3.
- removed workaround code for obsolete ruby versions.
fsdb 0.6.1
- Improved gem packaging.
- Fixed paths in tests.
fsdb 0.6.0
- Replaced ftools with fileutils.
- Released as a gem using Mr. Bones.
fsdb 0.5
- If ruby is 1.8.2 or later, flock doesn't block other threads, so accessing
FSDB databases from a multithreaded app doesn't have to use a lock polling
hack in file-lock.rb. This results in a 12%-17% speed boost. No change to
user code is required.
- Added a _load_ argument to Database#delete, with default +true+. If the
_load_ argument is +false+, delete the object from the db without
loading it or yielding.
- Replaced #id with #object_id.
- For ruby 1.9 compatibility, replaced use of class variables (@@cache and
@@cache_mutex).
fsdb 0.4
- Fixed a problem that caused nested transactions to fail on windows. (The
source of the problem is that there is no way to calculate a unique file
id on Windows, and File::Stat#ino always returns 0. The workaround is to
use the file path, although it might not be unique, due to links on NTFS
or Samba, for instance. FSDB does try to use a canonical version of the
path.)
This fix also improves the speed of db access on windows.
- Disable the fcntl-lock extension on systems that do not already have flock.
(It still works on linux, which is where it is useful, since it allows locking
over NFS mounts.)
- Fix for file locking on Win 95/98/ME: File#lock_exclusive and
File#lock_shared always just use LOCK_EX on those OS's. Thanks to
Matija Kejzar for reporting this.
- Added examples/indexes.rb to show use of rbtree indexes of objects in a db.
(Requires that rbtree be built and installed separately.)
fsdb 0.3
- Improved error handling and exception classes. More Errno exceptions are
now translated into FSDB-specific informative error classes, or handled
internally as appropriate.
- test/test-formats.rb
- bench/bench.rb
- Fixed a bug that caused the absolute path to be used instead of the
database-relative path when searching for the Format matching the path.
- Since YAML is now standard with ruby, the YAML_FORMAT is now standard
with FSDB, and requiring 'fsdb/formats/yaml' is no longer needed.
- format mapping example in examples/formats.rb.
- drb client-server example in examples/client.rb and examples/server.rb.
- browse, edit, etc. no longer require a block
- Database.[] shortcut for Database.new
- rewrote test/test-concurrency.rb so it can run on windows. (Note
that the benchmark times come out a bit slower now, as a result,
even though FSDB itself is not slower.)
- test/test-fsdb.rb improved.
- Windows fixes (to the point of being usable but still not perfect).
- BINARY_FORMAT template.
fsdb 0.2
- Updated to ruby 1.8.1.
- Fixed a concurrency bug that allowed a write thread and another
thread to access a file at the same time.
- Added option for fcntl locking, thanks to Ara Howard.
fsdb 0.1
- First public release.