clogger 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.document +0 -2
- data/.gitignore +1 -2
- data/.manifest +3 -2
- data/{.wrongdoc.yml → .olddoc.yml} +2 -2
- data/GIT-VERSION-FILE +1 -1
- data/GIT-VERSION-GEN +1 -1
- data/GNUmakefile +0 -5
- data/LATEST +16 -11
- data/NEWS +23 -0
- data/README +3 -2
- data/Rakefile +0 -32
- data/archive/.gitignore +3 -0
- data/archive/slrnpull.conf +4 -0
- data/clogger.gemspec +6 -8
- data/ext/clogger_ext/clogger.c +3 -4
- data/pkg.mk +23 -48
- metadata +13 -18
- data/ChangeLog +0 -1734
data/ChangeLog
DELETED
@@ -1,1734 +0,0 @@
|
|
1
|
-
ChangeLog from http://bogomips.org/clogger.git
|
2
|
-
|
3
|
-
commit 8333454e7c95407b7d7eff5e8fbae0a2795b4d06
|
4
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
5
|
-
Date: Mon May 12 06:48:00 2014 +0000
|
6
|
-
|
7
|
-
clogger 2.0.0 - updated website URL, cleanups
|
8
|
-
|
9
|
-
This updates the documentation to point to the new homepage
|
10
|
-
at http://clogger.bogomips.org/
|
11
|
-
|
12
|
-
There is one API change which removes :to_io support,
|
13
|
-
as this was never a valid Rack extension.
|
14
|
-
|
15
|
-
This also fixes a minor incompatibility which prevented the GVL from
|
16
|
-
being released on ruby-trunk (2.2.0dev) during disk operations.
|
17
|
-
|
18
|
-
The mailing list continues to be hosted at librelist, but that will
|
19
|
-
probably soon change to a public-inbox + mailing list.
|
20
|
-
|
21
|
-
There are also minor code cleanups.
|
22
|
-
|
23
|
-
This also relaxes license to LGPLv2.1 or later.
|
24
|
-
|
25
|
-
commit 2dd4c5c457fb658b5b85e20c5ec23c14ab5834de
|
26
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
27
|
-
Date: Mon May 12 06:43:44 2014 +0000
|
28
|
-
|
29
|
-
relax license to allow LGPLv2.1 or later
|
30
|
-
|
31
|
-
In case I'm hit by a bus, the lesser evil is to allow the FSF
|
32
|
-
to update our license than to be stuck as LGPLv3-only in the
|
33
|
-
future.
|
34
|
-
|
35
|
-
Some documentation/gemspec formatting updates while I'm at it.
|
36
|
-
|
37
|
-
commit 1f5f9b0d64af4f0fc741a7ce095bf33745c54abe
|
38
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
39
|
-
Date: Mon May 12 06:39:04 2014 +0000
|
40
|
-
|
41
|
-
test_clogger: workaround test failure on 32-bit
|
42
|
-
|
43
|
-
StringIO isn't a very realistic use case, and our changing
|
44
|
-
the length of a shared string causes errors on 32-bit.
|
45
|
-
|
46
|
-
commit 58f027b6c7bf6bb319e5601594219887770edcc7
|
47
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
48
|
-
Date: Mon Dec 16 20:38:10 2013 +0000
|
49
|
-
|
50
|
-
remove :to_io support
|
51
|
-
|
52
|
-
:to_io never was a Rack extension, and ends up breaking the case
|
53
|
-
where an SSL socket is proxied. The role of :to_io in IO-like
|
54
|
-
objects is to aid IO.select and like methods.
|
55
|
-
|
56
|
-
commit 2b2971794c5deda8fd1b100041c24f06ae55337c
|
57
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
58
|
-
Date: Mon May 12 06:26:49 2014 +0000
|
59
|
-
|
60
|
-
clogger 1.4.0 - updated website URL, cleanups
|
61
|
-
|
62
|
-
This updates the documentation to point to the new homepage
|
63
|
-
at http://clogger.bogomips.org/
|
64
|
-
|
65
|
-
This also fixes a minor incompatibility which prevented the GVL from
|
66
|
-
being released on ruby-trunk (2.2.0dev) during disk operations.
|
67
|
-
|
68
|
-
The mailing list continues to be hosted at librelist, but that will
|
69
|
-
probably soon change to a public-inbox + mailing list.
|
70
|
-
|
71
|
-
There are also minor code cleanups.
|
72
|
-
|
73
|
-
commit 6692e36abd93d3e18841e2d5ab1e89b1889a4ec3
|
74
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
75
|
-
Date: Mon May 12 05:54:14 2014 +0000
|
76
|
-
|
77
|
-
update docs for rubyforge death
|
78
|
-
|
79
|
-
Rubyforge is going away on May 15, 2014.
|
80
|
-
|
81
|
-
commit 9f5697d64b6e536ee7f9a248d5903dd1e2a2b376
|
82
|
-
Author: Eric Wong <e@80x24.org>
|
83
|
-
Date: Tue May 6 21:39:34 2014 +0000
|
84
|
-
|
85
|
-
Add script for redirecting to clogger.bogomips.org
|
86
|
-
|
87
|
-
Rubyforge about to be dead.
|
88
|
-
|
89
|
-
commit 5b43edd70cad4944fc9eadf9477613daa931bc31
|
90
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
91
|
-
Date: Sat Feb 15 23:04:52 2014 +0000
|
92
|
-
|
93
|
-
use rb_thread_call_without_gvl for Ruby 2+
|
94
|
-
|
95
|
-
rb_thread_blocking_region is deprecated and will be removed
|
96
|
-
|
97
|
-
commit 29bab2bc33d224d89608a521b30bf0a40075ff08
|
98
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
99
|
-
Date: Sat Feb 15 22:34:23 2014 +0000
|
100
|
-
|
101
|
-
remove each_id, it was never used
|
102
|
-
|
103
|
-
commit a3562a9a200a1ffd31c472652265bbb234589eb0
|
104
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
105
|
-
Date: Sat Feb 15 22:29:49 2014 +0000
|
106
|
-
|
107
|
-
prevent potential premature GC in byte_xs
|
108
|
-
|
109
|
-
If we convert an object to string, there is a potential the
|
110
|
-
compiler may optimize away the converted string if escaping
|
111
|
-
is needed. Prevent that with RB_GC_GUARD.
|
112
|
-
|
113
|
-
commit 115bbc59f6277c005fe3dbb6d1e192464bb0821d
|
114
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
115
|
-
Date: Sat Feb 15 21:56:00 2014 +0000
|
116
|
-
|
117
|
-
use RB_GC_GUARD instead of volatile
|
118
|
-
|
119
|
-
RB_GC_GUARD is more explicit in intent.
|
120
|
-
|
121
|
-
commit 0c6e7cf2d3435915ae4456eaeb61ba5058a0aab9
|
122
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
123
|
-
Date: Sat Feb 15 21:45:01 2014 +0000
|
124
|
-
|
125
|
-
remove unused RARRAY_PTR macro
|
126
|
-
|
127
|
-
We do not need it anymore
|
128
|
-
|
129
|
-
commit 35dcc336e7c3ae6e89c227ceb486e2f064a564ff
|
130
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
131
|
-
Date: Sat Feb 15 14:03:10 2014 +0000
|
132
|
-
|
133
|
-
blocking_helpers: remove fstat wrapper
|
134
|
-
|
135
|
-
The fstat syscall should never take long, even on sockets and
|
136
|
-
slow FSes.
|
137
|
-
|
138
|
-
commit e7cb48172ca714beb03f858ab73fc60ae0521e78
|
139
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
140
|
-
Date: Mon Sep 30 18:16:42 2013 +0000
|
141
|
-
|
142
|
-
GNUmakefile: kill raa_update invocation
|
143
|
-
|
144
|
-
RAA is still dead.
|
145
|
-
|
146
|
-
commit 2b836fe70b8df7c4d811528669bdada449684ba1
|
147
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
148
|
-
Date: Thu Sep 26 23:41:58 2013 +0000
|
149
|
-
|
150
|
-
Rakefile: kill task to update RAA
|
151
|
-
|
152
|
-
RAA is dead
|
153
|
-
|
154
|
-
commit 1aa8677b0cd65da292bb9431518534faff33206f
|
155
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
156
|
-
Date: Thu Sep 26 23:38:10 2013 +0000
|
157
|
-
|
158
|
-
clogger 1.3.0 - avoid RARRAY_PTR usage
|
159
|
-
|
160
|
-
This release only affects users of the C extension. Users of
|
161
|
-
the pure Ruby code are not affected.
|
162
|
-
|
163
|
-
* avoid RARRAY_PTR usage for RGenGC in Ruby 2.1.0
|
164
|
-
|
165
|
-
I have not benchmarked this, but this is unlikely to be a bottleneck
|
166
|
-
at all in older Rubies. It results in a smaller binary, too, which
|
167
|
-
will help with icache bloat. This should also improve performance
|
168
|
-
under Rubinius, too.
|
169
|
-
|
170
|
-
commit c282d490b2084f0a2360d8bea2795a33688d6a59
|
171
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
172
|
-
Date: Thu Sep 26 18:45:13 2013 +0000
|
173
|
-
|
174
|
-
ext: avoid RARRAY_PTR usage for RGenGC in Ruby 2.1.0
|
175
|
-
|
176
|
-
I have not benchmarked this, but this is unlikely to be a bottleneck
|
177
|
-
at all in older Rubies. It results in a smaller binary, too, which
|
178
|
-
will help with icache bloat. This should also improve performance
|
179
|
-
under Rubinius, too.
|
180
|
-
|
181
|
-
commit cb05eb0c8c2b38292ab0d565e8173ececd68cf3c
|
182
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
183
|
-
Date: Thu Sep 26 18:42:40 2013 +0000
|
184
|
-
|
185
|
-
README: indicate we support all versions of C Ruby
|
186
|
-
|
187
|
-
Because we do, and this is still what I end up using all of the
|
188
|
-
time (startup performance, and I understand C, not C++)
|
189
|
-
|
190
|
-
commit 7cff94a7ce127765e7ce1ce75a92f29e3a15e604
|
191
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
192
|
-
Date: Tue Nov 6 02:58:33 2012 +0000
|
193
|
-
|
194
|
-
clogger 1.2.0 - small bug and compatibility fixes
|
195
|
-
|
196
|
-
This release enables the optional C extension on MRI Ruby 2.0.0
|
197
|
-
(and any other platform that builds C extensions).
|
198
|
-
|
199
|
-
For rare setups which do not specify a :logger or :path
|
200
|
-
parameter for Clogger#initialize, we are now Rack::Lint
|
201
|
-
compliant and call #write on env["rack.errors"] instead
|
202
|
-
of "<<"
|
203
|
-
|
204
|
-
commit 31da4fee4f05cf3ba0359ae11c622440c01ff90b
|
205
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
206
|
-
Date: Tue Nov 6 02:57:07 2012 +0000
|
207
|
-
|
208
|
-
ext: enable C extension under Ruby 2.0.0
|
209
|
-
|
210
|
-
Ruby 2.0.0preview1 is out, and we happen to be compatible
|
211
|
-
(with some harmless linker/build warnings)
|
212
|
-
|
213
|
-
commit 9aebe2b94197aa2ad653ea971cb8f06e14c065fa
|
214
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
215
|
-
Date: Tue Nov 6 02:56:19 2012 +0000
|
216
|
-
|
217
|
-
test_clogger: fix Ruby 1.8 test compatibility
|
218
|
-
|
219
|
-
1.8 did not support my preferred way of writing hashes
|
220
|
-
with symbol keys.
|
221
|
-
|
222
|
-
commit aaf1279e3e73e301b8f65b651933ebe287b82b4d
|
223
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
224
|
-
Date: Fri Nov 2 20:09:28 2012 -0700
|
225
|
-
|
226
|
-
avoid calling "<<" on env["rack.errors"]
|
227
|
-
|
228
|
-
Rack::Lint::ErrorWrapper forbids the "<<" method. This
|
229
|
-
fallback only comes into play when no log destination
|
230
|
-
(via :logger or :path) is specified and is rarely an
|
231
|
-
issue in real setups.
|
232
|
-
|
233
|
-
commit 4bcd56a4f02b8a167d28505182cc6ff723fb027c
|
234
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
235
|
-
Date: Fri Jun 8 15:47:22 2012 -0700
|
236
|
-
|
237
|
-
README: update for Ruby 1.9.3 support status
|
238
|
-
|
239
|
-
It never /not/ worked under 1.9.3, but we should keep the
|
240
|
-
website up-to-date.
|
241
|
-
|
242
|
-
commit e1bed92891f7db5c2d24040778fe31f76d723efe
|
243
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
244
|
-
Date: Fri Jun 8 15:37:38 2012 -0700
|
245
|
-
|
246
|
-
test case to simulate Rack::BodyProxy usage pattern
|
247
|
-
|
248
|
-
The use of Rack::BodyProxy#method_missing causes failures
|
249
|
-
under mainline Ruby 1.9.2 and 1.9.1, but not 1.9.3. This
|
250
|
-
test case exists to document this (now-fixed) bug for users
|
251
|
-
stuck on older Rubies.
|
252
|
-
|
253
|
-
On a side note, our usage of rb_iterate() should be rewritten
|
254
|
-
to use rb_block_call() as rb_iterate() is deprecated in 1.9.
|
255
|
-
|
256
|
-
A Ruby 1.9.2-p290 user privately reported this issue.
|
257
|
-
|
258
|
-
commit eaa531a0e014aa8e4318e11b793f8665ce1509d0
|
259
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
260
|
-
Date: Tue May 8 12:17:57 2012 -0700
|
261
|
-
|
262
|
-
README: updated to use concise format syntax
|
263
|
-
|
264
|
-
It's easier-to-read with the concise syntax.
|
265
|
-
|
266
|
-
commit b772e23294d82dd0982ed60ae95eab8bfaa8c6bf
|
267
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
268
|
-
Date: Tue Dec 6 03:47:36 2011 +0000
|
269
|
-
|
270
|
-
pkg.mk update
|
271
|
-
|
272
|
-
commit a1c4506c011b071a9aef0145827b51ffe4d5cd60
|
273
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
274
|
-
Date: Mon Dec 5 18:52:21 2011 -0800
|
275
|
-
|
276
|
-
clogger 1.1.0 - more escaping!
|
277
|
-
|
278
|
-
This release fixes potential vulnerabilities when escape
|
279
|
-
sequences are viewed in certain terminals.
|
280
|
-
|
281
|
-
The 0x7F-0xFF byte range is escaped to match behavior of nginx
|
282
|
-
1.0.9+, as some character sets may have escape characters in
|
283
|
-
that range.
|
284
|
-
|
285
|
-
$cookie_* values are now escaped to be consistent with the
|
286
|
-
behavior of the $http_cookie value. All users of $cookie_* in
|
287
|
-
their log format must upgrade (of course there may be no
|
288
|
-
Clogger users other than myself, and I don't use $cookie_*)
|
289
|
-
|
290
|
-
commit 3a47f23e74a681339f74b21b94241dcfe9542472
|
291
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
292
|
-
Date: Mon Dec 5 17:59:40 2011 -0800
|
293
|
-
|
294
|
-
escape individual cookie values from $cookie_*
|
295
|
-
|
296
|
-
These values are untrusted, so if any client sends them to us
|
297
|
-
we must escape them.
|
298
|
-
|
299
|
-
commit ba72b12030864a05fc88bc94a3b699971cc70b0a
|
300
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
301
|
-
Date: Mon Dec 5 17:53:43 2011 -0800
|
302
|
-
|
303
|
-
escape bytes in the 0x7F-0xFF range, too
|
304
|
-
|
305
|
-
This matches the behavior of nginx 1.0.9
|
306
|
-
|
307
|
-
commit 9f6aece724a79d5a19723a781766fdb1725ddcf3
|
308
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
309
|
-
Date: Fri Jul 22 09:49:22 2011 -0700
|
310
|
-
|
311
|
-
use librelist.org for mailing list address
|
312
|
-
|
313
|
-
It's clearer that we have zero commercial intent
|
314
|
-
when using a non-profit .org domain for the mailing
|
315
|
-
list.
|
316
|
-
|
317
|
-
commit 99d9141f5d57e286c8205b13c41dde34b4bca16d
|
318
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
319
|
-
Date: Wed Jul 20 14:01:56 2011 -0700
|
320
|
-
|
321
|
-
ext: note we rely on GVL for reentrancy detection
|
322
|
-
|
323
|
-
Nothing wrong with the GVL in Ruby 1.9.3; but we'll need
|
324
|
-
to modify our code if it's removed for C extensions.
|
325
|
-
|
326
|
-
commit d6328a6f31f97bded75a4e2aba73f85366215924
|
327
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
328
|
-
Date: Wed Jun 22 14:43:16 2011 -0700
|
329
|
-
|
330
|
-
clogger 1.0.1 - portability fixes
|
331
|
-
|
332
|
-
Minor portability fixes noticed on some systems.
|
333
|
-
|
334
|
-
There is a minor license change, it is now explicitly LGPLv2.1
|
335
|
-
and LGPLv3 and later versions at the project leader's
|
336
|
-
discretion. It is no longer LGPLv2.1+, so it doesn't give a
|
337
|
-
blank check to the FSF to change the license on us.
|
338
|
-
|
339
|
-
commit 7e3694c6de13fc3d635473d3150412cbda287e75
|
340
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
341
|
-
Date: Wed Jun 22 13:55:25 2011 -0700
|
342
|
-
|
343
|
-
ext: fix portability defines for some installs
|
344
|
-
|
345
|
-
Some Ruby installs muck up headers/#defines and cause weirdness.
|
346
|
-
We now explicitly define _BSD_SOURCE and include #stdio.h
|
347
|
-
|
348
|
-
commit 5979a9b113815721140058d021ecfffc5c529de4
|
349
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
350
|
-
Date: Wed May 11 18:54:47 2011 -0700
|
351
|
-
|
352
|
-
tests: add full URL example
|
353
|
-
|
354
|
-
Could be useful for some folks.
|
355
|
-
|
356
|
-
commit bcb9fb819a8753863952302d71215152cc715935
|
357
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
358
|
-
Date: Tue Apr 26 16:24:18 2011 -0700
|
359
|
-
|
360
|
-
change from LGPLv2.1+ to LGPLv2.1 + LGPLv3
|
361
|
-
|
362
|
-
LGPLv4 could be completely different, so we won't give
|
363
|
-
the FSF a blank check to force it upon us.
|
364
|
-
|
365
|
-
commit edd2bd2b3baa9cca40dcd8717b338076f09d0807
|
366
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
367
|
-
Date: Thu Apr 21 04:02:57 2011 +0000
|
368
|
-
|
369
|
-
clogger 1.0.0 - \o/
|
370
|
-
|
371
|
-
* $time_iso8601 added for nginx compatibility
|
372
|
-
* $time_local (without strftime-options) is now locale-independent
|
373
|
-
|
374
|
-
There's also a minor usability tweak that allows Symbols to be
|
375
|
-
specified as the :format argument, so config.ru can be shortened:
|
376
|
-
|
377
|
-
before (continues to work with 1.0.0):
|
378
|
-
|
379
|
-
use Clogger, :format => Clogger::Format::Rack_1_0
|
380
|
-
|
381
|
-
after:
|
382
|
-
|
383
|
-
use Clogger, :format => :Rack_1_0
|
384
|
-
|
385
|
-
commit b7459a293c1b3efe3f5be4201620af885bb8122e
|
386
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
387
|
-
Date: Tue Apr 19 00:33:48 2011 +0000
|
388
|
-
|
389
|
-
README: stop promoting strftime()-compatible formats
|
390
|
-
|
391
|
-
strftime() isn't locale-independent, so it can lead to
|
392
|
-
inconsistencies in logs.
|
393
|
-
|
394
|
-
commit 0a2cb5093f7fbba370fd9b6caaf308139220b47b
|
395
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
396
|
-
Date: Tue Apr 19 00:28:08 2011 +0000
|
397
|
-
|
398
|
-
$time_local and $time_utc are locale-independent
|
399
|
-
|
400
|
-
This doesn't apply to people that use strftime()-formats,
|
401
|
-
but that's a minority.
|
402
|
-
|
403
|
-
commit 8303d477a13a63e6b28666e04b0c62886feae48e
|
404
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
405
|
-
Date: Sat Apr 16 02:03:34 2011 +0000
|
406
|
-
|
407
|
-
add support for $time_iso8601 format
|
408
|
-
|
409
|
-
This appeared in nginx 0.9.6
|
410
|
-
|
411
|
-
commit a84b132f51bd011f3c3441c28d23ff9c1029a9f8
|
412
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
413
|
-
Date: Mon Mar 21 14:10:07 2011 -0700
|
414
|
-
|
415
|
-
extconf: unnecessary dir_config statement
|
416
|
-
|
417
|
-
Braindamage from back in the day when I didn't understand mkmf
|
418
|
-
|
419
|
-
commit b086541910c5797732886c7f0d276871f2775d08
|
420
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
421
|
-
Date: Wed Mar 16 16:35:40 2011 -0700
|
422
|
-
|
423
|
-
:format may be a Symbol for less typing
|
424
|
-
|
425
|
-
This allows using:
|
426
|
-
|
427
|
-
use Clogger, :format => :Rack_1_0
|
428
|
-
|
429
|
-
Instead of:
|
430
|
-
|
431
|
-
use Clogger, :format => Clogger::Format::Rack_1_0
|
432
|
-
|
433
|
-
commit 9102cb13084980f1899b488627b354fc16bc38eb
|
434
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
435
|
-
Date: Wed Mar 16 14:56:19 2011 -0700
|
436
|
-
|
437
|
-
fix documentation of Clogger.new for :path
|
438
|
-
|
439
|
-
Oops
|
440
|
-
|
441
|
-
commit 21be17fd1307e1e194a3089f0e3317a5948088e7
|
442
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
443
|
-
Date: Tue Mar 15 19:21:02 2011 +0000
|
444
|
-
|
445
|
-
README: misspelled "discusssion"
|
446
|
-
|
447
|
-
commit af8a20dedc47ab001fbe5072d40967c4cf8545ea
|
448
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
449
|
-
Date: Tue Mar 15 11:51:28 2011 +0000
|
450
|
-
|
451
|
-
clogger 0.9.0 - configurable logging for Rack
|
452
|
-
|
453
|
-
Under 1.9, we always release the GVL for filesystem operations
|
454
|
-
now to avoid worst case scenarios. This may hurt performance
|
455
|
-
for some folks with bad locking implementations and extremely
|
456
|
-
fast filesystems. A couple of minor cleanups, too.
|
457
|
-
|
458
|
-
commit 60cde0ff6147211ae09178bb62a82374241514e0
|
459
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
460
|
-
Date: Tue Mar 15 11:49:54 2011 +0000
|
461
|
-
|
462
|
-
clogger: remove VERSION constant
|
463
|
-
|
464
|
-
People shouldn't care, there have been no backwards-incompatible
|
465
|
-
changes in the UI and we're not a library people write code
|
466
|
-
against.
|
467
|
-
|
468
|
-
commit 00864a06a860c31f0b139a543f07d94dd37c8a59
|
469
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
470
|
-
Date: Sun Mar 13 09:54:37 2011 +0000
|
471
|
-
|
472
|
-
avoid potential RString -> C-string conversions
|
473
|
-
|
474
|
-
Unlikely, but it may make a difference somewhere...
|
475
|
-
|
476
|
-
commit bd8334f5f3e901a3d54d3421dffb0db8efa024a9
|
477
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
478
|
-
Date: Sun Mar 13 09:48:18 2011 +0000
|
479
|
-
|
480
|
-
release GVL for filesystem operations
|
481
|
-
|
482
|
-
While local filesystems are usually very fast, we are
|
483
|
-
pessimistic and should prepare for worst-case scenarios. This
|
484
|
-
can use rb_thread_io_blocking_region() under Ruby 1.9.3dev.
|
485
|
-
|
486
|
-
commit c55831a01dab548fdf9eccb7529396f6582c6637
|
487
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
488
|
-
Date: Sun Mar 13 09:43:50 2011 +0000
|
489
|
-
|
490
|
-
ext: ensure path is a valid C string
|
491
|
-
|
492
|
-
Unlikely, but some app could pass '\0' into us
|
493
|
-
|
494
|
-
commit ecd7877787a156e476e31b7108e7b9f15f7523d8
|
495
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
496
|
-
Date: Sun Mar 13 06:03:57 2011 +0000
|
497
|
-
|
498
|
-
update pkg.mk
|
499
|
-
|
500
|
-
commit 3f1832a9bb149cb189371357d06000917b6098eb
|
501
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
502
|
-
Date: Fri Mar 4 09:20:38 2011 +0000
|
503
|
-
|
504
|
-
doc: bogomips.org URL diet
|
505
|
-
|
506
|
-
Old git URLs still work, but new ones are shorter
|
507
|
-
|
508
|
-
commit 3c94498e18ca0f62bf62e5f3d844383b7417cc1c
|
509
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
510
|
-
Date: Fri Mar 4 09:12:49 2011 +0000
|
511
|
-
|
512
|
-
ext: avoid potentially unsafe casts with C API
|
513
|
-
|
514
|
-
Rubinius may be pickier about what a VALUE is, so we can't
|
515
|
-
safely cast any C address into VALUEs.
|
516
|
-
|
517
|
-
commit c2e6c1635c55bfd23470bd30878596245a5d25b0
|
518
|
-
Author: Eric Wong <e@yhbt.net>
|
519
|
-
Date: Thu Jan 27 06:18:35 2011 +0000
|
520
|
-
|
521
|
-
pkg.mk: update in case we get rid of C ext
|
522
|
-
|
523
|
-
commit 1281d0b3cb5758d524af7e9f67094bcf936570b7
|
524
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
525
|
-
Date: Fri Jan 21 09:07:52 2011 +0000
|
526
|
-
|
527
|
-
clogger 0.8.0 - delegating away!
|
528
|
-
|
529
|
-
Clogger now delegates all unknown methods to the response body
|
530
|
-
in cases where it needs to wrap the response body. This allows
|
531
|
-
apps that use non-standard Rack extensions to continue working.
|
532
|
-
|
533
|
-
Eric Wong (4):
|
534
|
-
pass along "to_io" calls to the body
|
535
|
-
delegate method_missing calls to the response body
|
536
|
-
pure: simpler autoload trigger
|
537
|
-
switch to pkg.mk for maintenance tasks
|
538
|
-
|
539
|
-
commit abb753d65398e96c29ce6a66069b0f8f1cc2a384
|
540
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
541
|
-
Date: Fri Jan 21 09:05:25 2011 +0000
|
542
|
-
|
543
|
-
switch to pkg.mk for maintenance tasks
|
544
|
-
|
545
|
-
I like make :D
|
546
|
-
|
547
|
-
commit fae26b8e56f6b6e4c6d75f8faa8570ee209ef757
|
548
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
549
|
-
Date: Fri Jan 21 09:04:39 2011 +0000
|
550
|
-
|
551
|
-
pure: simpler autoload trigger
|
552
|
-
|
553
|
-
No need to actually create the hash, just load the constant
|
554
|
-
|
555
|
-
commit 2c43727f8e689ef5998d773feb4cbb2f58009391
|
556
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
557
|
-
Date: Fri Jan 21 08:53:56 2011 +0000
|
558
|
-
|
559
|
-
delegate method_missing calls to the response body
|
560
|
-
|
561
|
-
Since we delegated response_to?, we also need to delegate
|
562
|
-
method_missing to the response body in case there are
|
563
|
-
non-standard methods defined outside of Rack.
|
564
|
-
|
565
|
-
commit d3a182dd0238c964ff5191642d53fce3d2e64be9
|
566
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
567
|
-
Date: Fri Jan 21 08:53:55 2011 +0000
|
568
|
-
|
569
|
-
pass along "to_io" calls to the body
|
570
|
-
|
571
|
-
This optimization is used by Rainbows! to pass IO objects
|
572
|
-
to the response body.
|
573
|
-
|
574
|
-
commit 0abc76611fe3438dd5b152257f9ba9028c536ed3
|
575
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
576
|
-
Date: Fri Jan 14 14:43:17 2011 -0800
|
577
|
-
|
578
|
-
clogger 0.7.0 - portability improvements, cleanups
|
579
|
-
|
580
|
-
Broken/crazy systems without CLOCK_MONOTONIC (in varying
|
581
|
-
degrees) and/or clock_gettime() should be supported by
|
582
|
-
using gettimeofday(). Thanks to Lawrence Pit for reporting
|
583
|
-
and helping us test.
|
584
|
-
|
585
|
-
The Clogger::ToPath proxy class is gone, Clogger itself can
|
586
|
-
proxy to_path/close calls correctly to the response body.
|
587
|
-
|
588
|
-
$time_utc with a default strftime-format is now supported, and
|
589
|
-
time formats can now be arbitrarily long in the C extension.
|
590
|
-
|
591
|
-
commit 5580514d1b291217ccfd62f2f1b06f64aa3906ef
|
592
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
593
|
-
Date: Fri Jan 14 16:30:38 2011 -0800
|
594
|
-
|
595
|
-
properly support $time_utc as documented
|
596
|
-
|
597
|
-
nginx doesn't have this, only time_local, but we do
|
598
|
-
|
599
|
-
commit 916e7f09c56ff0ab6722c4cce5e78d71ec336d48
|
600
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
601
|
-
Date: Fri Jan 14 16:20:40 2011 -0800
|
602
|
-
|
603
|
-
handle abitrarily long time formats in C extension
|
604
|
-
|
605
|
-
In case some folks need to use insanely long time formats,
|
606
|
-
we'll support them.
|
607
|
-
|
608
|
-
commit fd00bf25c8da9a04952b14bceb7e64420caf9bdb
|
609
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
610
|
-
Date: Fri Jan 14 14:21:41 2011 -0800
|
611
|
-
|
612
|
-
RDoc fixups
|
613
|
-
|
614
|
-
call-seq is needed to make C functions look good
|
615
|
-
|
616
|
-
commit f61187d870c580b6411d025ac1850cc3e5f2eb6a
|
617
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
618
|
-
Date: Fri Jan 14 14:13:38 2011 -0800
|
619
|
-
|
620
|
-
remove dead RSTRUCT* compatibility macros
|
621
|
-
|
622
|
-
The Clogger::ToPath proxy struct class is gone and
|
623
|
-
so is our need to access it.
|
624
|
-
|
625
|
-
commit e4f738709482d95e49552f7ddfda800e1b4a6baf
|
626
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
627
|
-
Date: Fri Jan 14 13:59:15 2011 -0800
|
628
|
-
|
629
|
-
remove Clogger::ToPath proxy class
|
630
|
-
|
631
|
-
We can just make Clogger#respond_to? smarter and forward
|
632
|
-
everything except :close to the body we're proxying.
|
633
|
-
|
634
|
-
commit 63521b4c70a1aff89049abf2ba224114e97f62ac
|
635
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
636
|
-
Date: Fri Jan 14 13:24:58 2011 -0800
|
637
|
-
|
638
|
-
test_clogger_to_path: do not assume implementation details
|
639
|
-
|
640
|
-
We'll be getting rid of an unnecessary wrapper class
|
641
|
-
|
642
|
-
commit b48017f818e13f8c7ddb555f8fe5fa895521af7a
|
643
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
644
|
-
Date: Fri Jan 14 17:26:59 2011 +0000
|
645
|
-
|
646
|
-
another try to fix systems without CLOCK_MONOTONIC
|
647
|
-
|
648
|
-
Fix a reversed typedef and also deal with the case where
|
649
|
-
CLOCK_MONOTONIC is a function call and not a constant
|
650
|
-
macro.
|
651
|
-
|
652
|
-
commit cc43cfbb418ab7b4b2786123d33ede23b3cb5ea3
|
653
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
654
|
-
Date: Fri Jan 14 09:07:57 2011 +0000
|
655
|
-
|
656
|
-
another workaround for systems with broken CLOCK_MONOTONIC
|
657
|
-
|
658
|
-
This should also detect cases where CLOCK_MONOTONIC is
|
659
|
-
available at build but not at runtime.
|
660
|
-
|
661
|
-
commit 6cc7e96f972d9a648bef9d49ca245282250a5502
|
662
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
663
|
-
Date: Wed Jan 12 16:24:23 2011 -0800
|
664
|
-
|
665
|
-
attempt to support broken/crazy systems
|
666
|
-
|
667
|
-
clock_gettime() is not available on some systems and/or
|
668
|
-
CLOCK_MONOTONIC. This is totally broken considering the
|
669
|
-
POSIX standard was 10 years ago, now.
|
670
|
-
|
671
|
-
Nothing in gnulib, either, wtf?!
|
672
|
-
http://www.gnu.org/software/gnulib/manual/html_node/clock_005fgettime.html
|
673
|
-
|
674
|
-
commit eeae500effcddece4e9186d7b647253c48b8a3a7
|
675
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
676
|
-
Date: Wed Jan 12 16:04:34 2011 -0800
|
677
|
-
|
678
|
-
remove unused function (obj_fileno)
|
679
|
-
|
680
|
-
commit f132c6baa33496515743de1a31854d169479518d
|
681
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
682
|
-
Date: Sun Dec 26 01:21:33 2010 +0000
|
683
|
-
|
684
|
-
release: publish_news runs by default
|
685
|
-
|
686
|
-
It's interactive and sucks less, now.
|
687
|
-
|
688
|
-
commit a4b13f3e1376b539a1b7b7cbfeb9e38f6de2b289
|
689
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
690
|
-
Date: Sat Dec 25 09:34:01 2010 +0000
|
691
|
-
|
692
|
-
README: updates
|
693
|
-
|
694
|
-
Remove unnecessary "DESCRIPTION" header, also added note
|
695
|
-
about Rubinius support.
|
696
|
-
|
697
|
-
commit 04ac0bbb1a7eb6d36d80a33e5798c7bbd62455ef
|
698
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
699
|
-
Date: Sat Dec 25 00:59:58 2010 -0800
|
700
|
-
|
701
|
-
clogger 0.6.0 - :path shortcut, minor bugfixes
|
702
|
-
|
703
|
-
Clogger may now be initialized with a :path instead of :logger
|
704
|
-
to avoid typing "::File" in config.ru files to avoid conflicting
|
705
|
-
with the completely-unrelated Rack::File.
|
706
|
-
|
707
|
-
$request_time is now uses the monotonic clock, making it immune
|
708
|
-
to system clock changes. $usec and $msec statements were
|
709
|
-
completely broken in the pure-Ruby code and now fixed.
|
710
|
-
|
711
|
-
Rubinius is supported by the optional C extension as well,
|
712
|
-
the pure-Ruby code always worked.
|
713
|
-
|
714
|
-
commit 8492f6bbc56d42e3068f25ca233faa78884d5a77
|
715
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
716
|
-
Date: Sat Dec 25 01:27:33 2010 -0800
|
717
|
-
|
718
|
-
fix $msec and $usec in pure Ruby variant
|
719
|
-
|
720
|
-
It was totally broken but nobody uses uses it, so it
|
721
|
-
went unnoticed since the beginning of time.
|
722
|
-
|
723
|
-
commit 66a5374e724612cd16f270f43102a6ed347208d7
|
724
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
725
|
-
Date: Sat Dec 25 00:58:03 2010 -0800
|
726
|
-
|
727
|
-
add support for Rubinius
|
728
|
-
|
729
|
-
RSTRUCT_PTR access is unlikely to ever happen for Rubinius,
|
730
|
-
so we'll just make a method dispatch and leave the faster
|
731
|
-
code for Ruby 1.8 and 1.9.
|
732
|
-
|
733
|
-
commit cd91b34636caabb3a1a7cee38f5b84e91eaf62b8
|
734
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
735
|
-
Date: Sat Dec 25 00:47:17 2010 -0800
|
736
|
-
|
737
|
-
GNUmakefile: better external RUBYLIB support
|
738
|
-
|
739
|
-
Duh!
|
740
|
-
|
741
|
-
commit 6720cdda4b890ac42806a8fe290f96449a150c6a
|
742
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
743
|
-
Date: Fri Dec 24 16:48:50 2010 -0800
|
744
|
-
|
745
|
-
eliminate unnecessary freeze and dup
|
746
|
-
|
747
|
-
They're not needed and a waste of code.
|
748
|
-
|
749
|
-
commit 54cf500266b35beecb9c30b8252e72af9fafbc3e
|
750
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
751
|
-
Date: Fri Dec 24 16:32:28 2010 -0800
|
752
|
-
|
753
|
-
doc: switch to wrongdoc for documentation
|
754
|
-
|
755
|
-
wrongdoc eliminates JavaScript from our website and also
|
756
|
-
enables us to cut down on our management scripts/code for
|
757
|
-
supporting the project.
|
758
|
-
|
759
|
-
commit c77066dd3c93d88ab91653244d36e51dc53e60d2
|
760
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
761
|
-
Date: Fri Dec 24 16:16:27 2010 -0800
|
762
|
-
|
763
|
-
GNUmakefile: preserve RUBYLIB env for tests
|
764
|
-
|
765
|
-
commit fb001a2a1e1037597804db458a28316599fc6e83
|
766
|
-
Author: Eric Wong <e+absinthe@yhbt.net>
|
767
|
-
Date: Fri Dec 24 16:14:58 2010 -0800
|
768
|
-
|
769
|
-
fix #include ordering under FreeBSD 7.2
|
770
|
-
|
771
|
-
ruby.h doesn't seem to like being included after time.h
|
772
|
-
|
773
|
-
commit 2816f3ceaa31452f6bb67a7a7297e6795221cb35
|
774
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
775
|
-
Date: Fri Dec 24 15:41:53 2010 -0800
|
776
|
-
|
777
|
-
use clock_gettime for time resolution
|
778
|
-
|
779
|
-
This lets us use CLOCK_MONOTONIC so we are not affected by
|
780
|
-
system clock changes.
|
781
|
-
|
782
|
-
We still convert to microseconds instead of nanoseconds for
|
783
|
-
(pure)-Ruby 1.8 code compatibility. There is also little need
|
784
|
-
for nanosecond timer resolution in log files (microsecond is not
|
785
|
-
needed, even).
|
786
|
-
|
787
|
-
commit 9b46379f75f384c86e42046ab03ce55231197c92
|
788
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
789
|
-
Date: Fri Dec 24 13:23:32 2010 -0800
|
790
|
-
|
791
|
-
accept a new :path argument in initialize
|
792
|
-
|
793
|
-
This lessens confusion for people configuring Clogger in
|
794
|
-
config.ru, since "File" could be mistaken for Rack::File
|
795
|
-
and "::File" needs to be specified.
|
796
|
-
|
797
|
-
commit 8d58b42d0255880d732ba0700597b312a8219f8f
|
798
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
799
|
-
Date: Fri Dec 24 13:17:37 2010 -0800
|
800
|
-
|
801
|
-
GNUmakefile: fix running of extension test
|
802
|
-
|
803
|
-
Oops
|
804
|
-
|
805
|
-
commit fc58e747835f05a64cf3c4625d6a51baa4bc8369
|
806
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
807
|
-
Date: Tue Oct 5 14:24:11 2010 -0700
|
808
|
-
|
809
|
-
GNUmakefile: use portable tar invocation
|
810
|
-
|
811
|
-
We've been spoiled by GNU tar.
|
812
|
-
|
813
|
-
commit 0a13fccf2e9c285baf6d7ebfedb004e496dd976d
|
814
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
815
|
-
Date: Sun Jun 6 08:15:14 2010 +0000
|
816
|
-
|
817
|
-
README: Rack 1.1 is out (and has been for a while)
|
818
|
-
|
819
|
-
commit f60c24e1fd49b6f3876f90a43a886c18d7fe743d
|
820
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
821
|
-
Date: Sun Jun 6 07:50:51 2010 +0000
|
822
|
-
|
823
|
-
clogger 0.5.0 - body.to_path forwarding
|
824
|
-
|
825
|
-
This release allows middleware like Rack::Contrib::Sendfile to
|
826
|
-
work properly higher up the stack from Clogger.
|
827
|
-
|
828
|
-
Certain configurations of the Rainbows! and Zbatery web servers
|
829
|
-
are able to use the return value of body.to_path to serve static
|
830
|
-
files efficiently (via IO.copy_stream under 1.9 or
|
831
|
-
stream_file_data with EventMachine).
|
832
|
-
|
833
|
-
There are some small cleanups and documentation improvements
|
834
|
-
as well.
|
835
|
-
|
836
|
-
I've relicensed to LGPLv2.1+ (from LGPLv3-only) to allow
|
837
|
-
bundling with GPLv2-only applications (I'm currently the sole
|
838
|
-
copyright holder).
|
839
|
-
|
840
|
-
Signed-off-by: Eric Wong <normalperson@yhbt.net>
|
841
|
-
|
842
|
-
commit 86699fa42105c48e7d4c3cf6e16cca4417bf0a06
|
843
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
844
|
-
Date: Sun Jun 6 07:46:25 2010 +0000
|
845
|
-
|
846
|
-
README: document CLOGGER_PURE environment variable
|
847
|
-
|
848
|
-
There may also be some MRI users uncomfortable running C
|
849
|
-
extensions.
|
850
|
-
|
851
|
-
commit fac515bf384d1cb8fe30a310bb38904b1dc74f58
|
852
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
853
|
-
Date: Sun Jun 6 07:42:56 2010 +0000
|
854
|
-
|
855
|
-
CLOGGER_PURE=0 disables the C ext
|
856
|
-
|
857
|
-
It's unintuitive that merely setting the environment variable to
|
858
|
-
an empty string or zero would be a boolean true.
|
859
|
-
|
860
|
-
commit 009760bdb7ba08246b98f4befe856cbda2ce769a
|
861
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
862
|
-
Date: Sun Jun 6 07:37:13 2010 +0000
|
863
|
-
|
864
|
-
ext: comment why we do what we do in to_path
|
865
|
-
|
866
|
-
commit 41debb52b9d719dbb6f3ee7963de8913eff0c13d
|
867
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
868
|
-
Date: Sun Jun 6 07:34:09 2010 +0000
|
869
|
-
|
870
|
-
ext: the N in /dev/fd/N must be unsigned
|
871
|
-
|
872
|
-
There's no way in hell a valid file descriptor can have
|
873
|
-
a negative number attached to it.
|
874
|
-
|
875
|
-
commit cd76457a8eec40a0de8cb2bc779c5bfb08b9d7b3
|
876
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
877
|
-
Date: Sun Jun 6 07:19:55 2010 +0000
|
878
|
-
|
879
|
-
ext: handle weird regular files with O_NONBLOCK set
|
880
|
-
|
881
|
-
Sometimes programmers can blindly set O_NONBLOCK on everything
|
882
|
-
in sight. However, O_NONBLOCK has no effect on regular files,
|
883
|
-
so ignore it and allow the raw file descriptor to be used.
|
884
|
-
|
885
|
-
commit 8794037db3e88fc03d8bc33d603a0b39a69ddf97
|
886
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
887
|
-
Date: Sun Jun 6 07:17:09 2010 +0000
|
888
|
-
|
889
|
-
ext: cleanup -Wshadow warning
|
890
|
-
|
891
|
-
commit 0de4a3d46d15ee5097f4a9cfd46363b5f720ae39
|
892
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
893
|
-
Date: Sun Jun 6 07:02:00 2010 +0000
|
894
|
-
|
895
|
-
no point in using autoload for Rack
|
896
|
-
|
897
|
-
Rack is always used, and Rack itself uses autoload to
|
898
|
-
save memory.
|
899
|
-
|
900
|
-
commit f4dd93733793baadd859ba1197814c3a19f232b4
|
901
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
902
|
-
Date: Sun Jun 6 07:01:23 2010 +0000
|
903
|
-
|
904
|
-
gemspec: update test files
|
905
|
-
|
906
|
-
commit 52180f527a3711f590b369499c1bd83a19b88187
|
907
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
908
|
-
Date: Sun Jun 6 06:58:12 2010 +0000
|
909
|
-
|
910
|
-
relicense as LGPLv2.1 or later (from LGPLv3)
|
911
|
-
|
912
|
-
This allows GPLv2-only programs to bundle us.
|
913
|
-
|
914
|
-
Signed-off-by: Eric Wong <normalperson@yhbt.net>
|
915
|
-
|
916
|
-
commit e3dfea56ec8f189711f7904a9a05dbbfc0bd6acc
|
917
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
918
|
-
Date: Sun Jun 6 06:47:02 2010 +0000
|
919
|
-
|
920
|
-
doc: RDoc cleanups, split out LICENSE file
|
921
|
-
|
922
|
-
commit b895d3d0393a647d3602783bc53bf68e223e51c9
|
923
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
924
|
-
Date: Sun Jun 6 05:17:14 2010 +0000
|
925
|
-
|
926
|
-
pass-through body.to_path when wrapping the body
|
927
|
-
|
928
|
-
Certain configurations of Rainbows! (and Zbatery) are able to
|
929
|
-
use the return value of body.to_path to serve static files
|
930
|
-
more efficiently.
|
931
|
-
|
932
|
-
This also allows middleware like Rack::Contrib::Sendfile to
|
933
|
-
work properly higher up the stack, too.
|
934
|
-
|
935
|
-
commit bc1d1df38d7803ce9fdae05fc5129051eeed89e0
|
936
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
937
|
-
Date: Sun Jun 6 00:43:34 2010 +0000
|
938
|
-
|
939
|
-
when wrapping the body, body.close writes the log
|
940
|
-
|
941
|
-
We no longer write the log out at the end of the body.each call.
|
942
|
-
This is a behavioral change, but fortunately all Rack servers
|
943
|
-
I've seen call body.close inside an ensure.
|
944
|
-
|
945
|
-
This allows us to later pass along the "to_path" method
|
946
|
-
and not rely on "each" to write the log.
|
947
|
-
|
948
|
-
commit e4c3548e8ff4c95c697b4a30699e6f655d60f188
|
949
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
950
|
-
Date: Sat Jun 5 20:57:17 2010 +0000
|
951
|
-
|
952
|
-
GNUmakefile: allow multiple tests to run in parallel
|
953
|
-
|
954
|
-
commit 111e5ac0bf12021a2b8cf9145df59312f1f96992
|
955
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
956
|
-
Date: Wed Apr 21 16:53:43 2010 -0700
|
957
|
-
|
958
|
-
clogger 0.4.0
|
959
|
-
|
960
|
-
Small cleanups and minor enhancements (mainly for the optional
|
961
|
-
C extension) for this release:
|
962
|
-
|
963
|
-
Eric Wong (10):
|
964
|
-
ext: use FIX macros instead of generic NUM macros if possible
|
965
|
-
ext: preserve subclasses of Rack::Utils::HeaderHash
|
966
|
-
test: fix Linux memory usage test
|
967
|
-
avoid direct require of "rack" to quiet warnings
|
968
|
-
ext: GC safety fix when throwing an exception
|
969
|
-
ext: eliminate unused variable
|
970
|
-
ext: fix signedness and shadow warnings
|
971
|
-
ext: sparse cleanups
|
972
|
-
ext: avoid void pointer arithmetic
|
973
|
-
clogger 0.4.0
|
974
|
-
|
975
|
-
commit 380e547ba406c00130304ce0cab4fa289e3f2957
|
976
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
977
|
-
Date: Wed Apr 21 16:52:27 2010 -0700
|
978
|
-
|
979
|
-
ext: avoid void pointer arithmetic
|
980
|
-
|
981
|
-
default CFLAGS for 1.9.2dev complains
|
982
|
-
|
983
|
-
commit 23628403c9dc58925e5db2abb9ed9425a4208325
|
984
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
985
|
-
Date: Wed Apr 21 16:48:48 2010 -0700
|
986
|
-
|
987
|
-
ext: sparse cleanups
|
988
|
-
|
989
|
-
commit c353b5bf62ea500fda8cc7799d1645f9b0c28697
|
990
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
991
|
-
Date: Wed Apr 21 16:35:36 2010 -0700
|
992
|
-
|
993
|
-
ext: fix signedness and shadow warnings
|
994
|
-
|
995
|
-
These were (fortunately) harmless, but better safe than
|
996
|
-
sorry.
|
997
|
-
|
998
|
-
commit c16263dc9ff6230bd148e39431e9c5e059a674a7
|
999
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1000
|
-
Date: Wed Apr 21 16:31:33 2010 -0700
|
1001
|
-
|
1002
|
-
ext: eliminate unused variable
|
1003
|
-
|
1004
|
-
commit e142f2c5db4427be70d10d7e1316e139d08a7c3e
|
1005
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1006
|
-
Date: Wed Apr 21 16:29:56 2010 -0700
|
1007
|
-
|
1008
|
-
ext: GC safety fix when throwing an exception
|
1009
|
-
|
1010
|
-
The return value of rb_inspect() may not be visible
|
1011
|
-
on the stack without assigning it to a local variable
|
1012
|
-
first.
|
1013
|
-
|
1014
|
-
commit a0ee3ba2d08acb423a1cbc4a5ae862bd40c4b914
|
1015
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1016
|
-
Date: Wed Apr 21 15:31:58 2010 -0700
|
1017
|
-
|
1018
|
-
avoid direct require of "rack" to quiet warnings
|
1019
|
-
|
1020
|
-
This quiets down warnings when used with RubyGems loaders such
|
1021
|
-
as Isolate and Bundler where the HTTP server already loaded
|
1022
|
-
Rack.
|
1023
|
-
|
1024
|
-
commit 9c6fd3814b6bed2772fc540e7824febe85e9b046
|
1025
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1026
|
-
Date: Wed Apr 21 15:29:10 2010 -0700
|
1027
|
-
|
1028
|
-
test: fix Linux memory usage test
|
1029
|
-
|
1030
|
-
commit 0313f0651caf9ef35d320c6049d4f32ace711457
|
1031
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1032
|
-
Date: Thu Apr 8 15:12:07 2010 -0700
|
1033
|
-
|
1034
|
-
ext: preserve subclasses of Rack::Utils::HeaderHash
|
1035
|
-
|
1036
|
-
some people subclass HeaderHash and want them preserved
|
1037
|
-
through the middleware stack.
|
1038
|
-
|
1039
|
-
commit 31925d90c3d292d0b5f20524082b7d3dc2e08fcb
|
1040
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1041
|
-
Date: Thu Apr 8 14:36:36 2010 -0700
|
1042
|
-
|
1043
|
-
ext: use FIX macros instead of generic NUM macros if possible
|
1044
|
-
|
1045
|
-
They're slightly faster when we know a number is small enough
|
1046
|
-
to be a FIXNUM.
|
1047
|
-
|
1048
|
-
commit 724c1f6a3b42a020199554c809a46ddc4b404659
|
1049
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1050
|
-
Date: Sat Feb 13 01:47:12 2010 -0800
|
1051
|
-
|
1052
|
-
clogger 0.3.2
|
1053
|
-
|
1054
|
-
This release fixes a memory leak in the optional C extension due to
|
1055
|
-
misuse of the Ruby C API. Users of the pure Ruby version are
|
1056
|
-
unaffected.
|
1057
|
-
|
1058
|
-
We also misreleased 0.3.1 with this fix, but without bumping the
|
1059
|
-
Clogger::VERSION constant.
|
1060
|
-
|
1061
|
-
commit 4247fafd0f361d2373df7213a1a0028554e93d93
|
1062
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1063
|
-
Date: Sat Feb 13 01:35:55 2010 -0800
|
1064
|
-
|
1065
|
-
ext: fix memory leak when reentrant/multithreaded
|
1066
|
-
|
1067
|
-
The optional C extension leaked memory due to improper use of
|
1068
|
-
the Ruby API, causing duplicated objects to never be garbage
|
1069
|
-
collected.
|
1070
|
-
|
1071
|
-
I misread the Data_Make_Struct/Data_Wrap_Struct documentation
|
1072
|
-
and ended up passing NULL as the "free" argument instead of -1,
|
1073
|
-
causing the memory to never be freed.
|
1074
|
-
|
1075
|
-
From README.EXT in the MRI source which I misread:
|
1076
|
-
> The free argument is the function to free the pointer
|
1077
|
-
> allocation. If this is -1, the pointer will be just freed.
|
1078
|
-
> The functions mark and free will be called from garbage
|
1079
|
-
> collector.
|
1080
|
-
|
1081
|
-
commit 883368f745af13a57b3784b834001a82823eee05
|
1082
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1083
|
-
Date: Tue Feb 9 13:57:17 2010 -0800
|
1084
|
-
|
1085
|
-
clogger 0.3.0
|
1086
|
-
|
1087
|
-
You may now force the :reentrant flag to +true+ or +false+ in
|
1088
|
-
your Rack configuration file:
|
1089
|
-
|
1090
|
-
use Clogger,
|
1091
|
-
:format => Clogger::Format::Combined,
|
1092
|
-
:logger => ::File.open("/path/to/log", "ab"),
|
1093
|
-
:reentrant => true
|
1094
|
-
|
1095
|
-
This is to be compatible with Rack servers that do not use use
|
1096
|
-
events or Fibers for concurrency instead of threads. By
|
1097
|
-
default, reentrancy is enabled if env["rack.multithread"] is
|
1098
|
-
true, but "rack.multithread" cannot indicative of a reentrancy
|
1099
|
-
requirement in a web server.
|
1100
|
-
|
1101
|
-
commit 616314a2bbc13095b1da9306916c0d414634e555
|
1102
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1103
|
-
Date: Mon Feb 8 17:20:30 2010 -0800
|
1104
|
-
|
1105
|
-
README: update examples for :reentrant
|
1106
|
-
|
1107
|
-
commit 2dd3e22782090dc347429e306569f687fa794d06
|
1108
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1109
|
-
Date: Mon Feb 8 17:14:41 2010 -0800
|
1110
|
-
|
1111
|
-
Allow :reentrant flag to be forced true/false
|
1112
|
-
|
1113
|
-
Clogger may set this value independently of "rack.multithread"
|
1114
|
-
since Actor/Fiber-based servers may have multiple instances of
|
1115
|
-
Clogger wrapping different response bodies and yet be
|
1116
|
-
incompatible with "rack.multithread"
|
1117
|
-
|
1118
|
-
commit 74ab49d2f02d65fb4d2915563d8b4c4f026e4657
|
1119
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1120
|
-
Date: Wed Jan 6 18:09:27 2010 -0800
|
1121
|
-
|
1122
|
-
Fix minor build system bugs
|
1123
|
-
|
1124
|
-
commit 1df164e28824cf139b38e35d6eb6dbfb088c54a8
|
1125
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1126
|
-
Date: Wed Jan 6 17:44:27 2010 -0800
|
1127
|
-
|
1128
|
-
clogger 0.2.0
|
1129
|
-
|
1130
|
-
The optional C extension no longer tries to preserve the
|
1131
|
-
original response array as it could become subtly broken by
|
1132
|
-
people using non-frozen but constant responses. For the pure
|
1133
|
-
Ruby version, there is a 1.9-encoding bugfix for response
|
1134
|
-
size calculation.
|
1135
|
-
|
1136
|
-
commit 87c742bd385593bfe001dc3247c4a4ae7fc92463
|
1137
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1138
|
-
Date: Wed Jan 6 17:41:41 2010 -0800
|
1139
|
-
|
1140
|
-
pure: use Rack::Utils.bytesize instead of String#size
|
1141
|
-
|
1142
|
-
hacking the C extension with RSTRING_LEN() is so much easier :P
|
1143
|
-
|
1144
|
-
commit 5d4fd9f41ab57f7297569910c08f7330dd3ec39e
|
1145
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1146
|
-
Date: Wed Jan 6 17:37:25 2010 -0800
|
1147
|
-
|
1148
|
-
pure: avoid unnecessary method dispatches
|
1149
|
-
|
1150
|
-
instance variable lookups are expensive as-is
|
1151
|
-
|
1152
|
-
commit 30ce68ad7ba0c7467b0369e0a5d6252baa52aae4
|
1153
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1154
|
-
Date: Wed Jan 6 17:34:58 2010 -0800
|
1155
|
-
|
1156
|
-
GNUmakefile: avoid deleting when uploading docs
|
1157
|
-
|
1158
|
-
commit f8f05dc199a0553bbcd03deb990f220d57278cc9
|
1159
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1160
|
-
Date: Wed Jan 6 17:32:07 2010 -0800
|
1161
|
-
|
1162
|
-
Rakefile: raa_update task
|
1163
|
-
|
1164
|
-
commit 684a9d6083a7f95a3010e7a1291df7ab6de0f394
|
1165
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1166
|
-
Date: Wed Jan 6 17:27:04 2010 -0800
|
1167
|
-
|
1168
|
-
README: use ::File in usage examples
|
1169
|
-
|
1170
|
-
A bare "File" constant may conflict with Rack::File
|
1171
|
-
when run inside Rack::Builder
|
1172
|
-
|
1173
|
-
commit ab37f2d65b01370ae975346110471f33b10bd178
|
1174
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1175
|
-
Date: Wed Jan 6 17:23:13 2010 -0800
|
1176
|
-
|
1177
|
-
ext: unpack response arrays unconditionally
|
1178
|
-
|
1179
|
-
It's too crazy to have to special case for frozen response
|
1180
|
-
constants. 3-element arrays are cheap under Ruby 1.9 anyways.
|
1181
|
-
|
1182
|
-
commit b082327b0363f5236a267abd8a412e18ce9918e0
|
1183
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1184
|
-
Date: Wed Jan 6 16:07:38 2010 -0800
|
1185
|
-
|
1186
|
-
GNUmakefile: NEWS depends on .manifest
|
1187
|
-
|
1188
|
-
commit 6e3977583a4b2932617e5c81bcf1aeb7a2605ddc
|
1189
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1190
|
-
Date: Wed Jan 6 16:06:49 2010 -0800
|
1191
|
-
|
1192
|
-
GNUmakefile: modernize for Gemcutter
|
1193
|
-
|
1194
|
-
Also uppercase rake/ruby variables
|
1195
|
-
|
1196
|
-
commit 0420598d0007d9d816d55c698ed1f9ac4e206433
|
1197
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1198
|
-
Date: Tue Oct 6 13:46:20 2009 -0700
|
1199
|
-
|
1200
|
-
clogger 0.1.0
|
1201
|
-
|
1202
|
-
This release should help ensure compatibility with a
|
1203
|
-
to-be-released version of Rack::Lint that allows subclasses of
|
1204
|
-
the core String and Hash objects for users of the optional C
|
1205
|
-
extension.
|
1206
|
-
|
1207
|
-
Eric Wong (6):
|
1208
|
-
ext: convert non-Hashes #to_hash if possible
|
1209
|
-
ext: ensure all objects we byte_xs are Strings
|
1210
|
-
tests for subclassing
|
1211
|
-
gemspec: disable the license= field for older RubyGems
|
1212
|
-
GNUmakefile: fix grammar FAIL in comment
|
1213
|
-
cleanup packaging and website/rdoc
|
1214
|
-
|
1215
|
-
commit cf543e57efa4b8d81121e712280bb6413719be35
|
1216
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1217
|
-
Date: Tue Oct 6 13:24:05 2009 -0700
|
1218
|
-
|
1219
|
-
cleanup packaging and website/rdoc
|
1220
|
-
|
1221
|
-
commit 1e4b7c3d2fe12e4732ed816ebd75bb7dc81d6151
|
1222
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1223
|
-
Date: Tue Oct 6 11:16:43 2009 -0700
|
1224
|
-
|
1225
|
-
GNUmakefile: fix grammar FAIL in comment
|
1226
|
-
|
1227
|
-
commit cf3be5aca27a82a1f6939cd6383f6b1c0ac0c602
|
1228
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1229
|
-
Date: Tue Oct 6 11:12:07 2009 -0700
|
1230
|
-
|
1231
|
-
gemspec: disable the license= field for older RubyGems
|
1232
|
-
|
1233
|
-
commit 485fe222d304c9a795141532596b0575c3d2e6ea
|
1234
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1235
|
-
Date: Tue Oct 6 12:03:11 2009 -0700
|
1236
|
-
|
1237
|
-
tests for subclassing
|
1238
|
-
|
1239
|
-
Rack::Lint will be relaxed in the next version to allow
|
1240
|
-
subclasses of String and Hash objects, so ensure we're
|
1241
|
-
good to go when the next version of Rack hits.
|
1242
|
-
|
1243
|
-
commit 2ca88db578a4b9143a5dfaa66ce38b9463e7e166
|
1244
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1245
|
-
Date: Tue Oct 6 12:03:10 2009 -0700
|
1246
|
-
|
1247
|
-
ext: ensure all objects we byte_xs are Strings
|
1248
|
-
|
1249
|
-
Rack will be relaxing the spec to allow subclasses
|
1250
|
-
of String objects. Just in case they're not compatible,
|
1251
|
-
we'll convert them to strings.
|
1252
|
-
|
1253
|
-
commit c4eca8765e9aaf0d2736e764770d72f407affc16
|
1254
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1255
|
-
Date: Tue Oct 6 12:03:09 2009 -0700
|
1256
|
-
|
1257
|
-
ext: convert non-Hashes #to_hash if possible
|
1258
|
-
|
1259
|
-
This is to remain compatible with Rack if it relaxes
|
1260
|
-
Rack::Lint to allow subclasses.
|
1261
|
-
|
1262
|
-
commit 162110a29c6b3f4e3698151d83d998f24ed3768a
|
1263
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1264
|
-
Date: Wed Sep 9 10:11:29 2009 -0700
|
1265
|
-
|
1266
|
-
clogger 0.0.7
|
1267
|
-
|
1268
|
-
We now properly handle bodies that do not respond to the :close
|
1269
|
-
method. Additionally there small documentation/formatting
|
1270
|
-
fixes.
|
1271
|
-
|
1272
|
-
commit 7eb0c4e29e567f02affc202b51eb277cbae43688
|
1273
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1274
|
-
Date: Wed Sep 9 10:02:49 2009 -0700
|
1275
|
-
|
1276
|
-
handle bodies that do not respond to :close
|
1277
|
-
|
1278
|
-
Since the wrapped Clogger object always responds to
|
1279
|
-
close, we cannot blindly delegate the close method to
|
1280
|
-
the body without ensuring it can be closed. So ensure
|
1281
|
-
that it can be closed before attempting to close it,
|
1282
|
-
all return values and errors are trapped and returned.
|
1283
|
-
|
1284
|
-
Reported-by: Iñaki Baz Castillo
|
1285
|
-
|
1286
|
-
commit 72dfd64ed0ab31ced0f27e8a8a941c555221bb96
|
1287
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1288
|
-
Date: Mon Sep 7 19:32:17 2009 -0700
|
1289
|
-
|
1290
|
-
README: fix some grammar peculiarities
|
1291
|
-
|
1292
|
-
commit 1c19cf0066ac83d2da02f331be65dffacd560c36
|
1293
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1294
|
-
Date: Mon Sep 7 19:28:17 2009 -0700
|
1295
|
-
|
1296
|
-
README: document $status
|
1297
|
-
|
1298
|
-
Hopefully it was obvious before, if not it is now.
|
1299
|
-
|
1300
|
-
commit 5d77f491c59f79a7727d8699be2aaf12db9d81c6
|
1301
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1302
|
-
Date: Mon Sep 7 17:27:18 2009 -0700
|
1303
|
-
|
1304
|
-
Rakefile: preformatted text for history rdoc
|
1305
|
-
|
1306
|
-
escaping issues are too painful to deal with
|
1307
|
-
|
1308
|
-
commit 898d31b2ffa0383d62bf28c4fa49bc74aa92fde5
|
1309
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1310
|
-
Date: Mon Sep 7 17:25:09 2009 -0700
|
1311
|
-
|
1312
|
-
Rakefile: Fix history with multi-paragraph tag messages
|
1313
|
-
|
1314
|
-
commit 25faf9f74637db03f0e5e1bcd1785d74d7ff6309
|
1315
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1316
|
-
Date: Mon Sep 7 17:24:35 2009 -0700
|
1317
|
-
|
1318
|
-
gemspec: license is LGPLv3
|
1319
|
-
|
1320
|
-
Odd, RubyGems doesn't warn about a lack of it and
|
1321
|
-
I didn't notice this field until now...
|
1322
|
-
|
1323
|
-
commit 4d0226b77b2d053ee677d3101b19fb662b1f10b6
|
1324
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1325
|
-
Date: Mon Sep 7 17:19:05 2009 -0700
|
1326
|
-
|
1327
|
-
GNUmakefile: cleanup release notes generation
|
1328
|
-
|
1329
|
-
commit 6769f9b6615ebe172b3a75f1d11554ada26c592d
|
1330
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1331
|
-
Date: Mon Sep 7 16:49:22 2009 -0700
|
1332
|
-
|
1333
|
-
clogger 0.0.6
|
1334
|
-
|
1335
|
-
"clogger_ext" is no longer a separate gem, but merged into the
|
1336
|
-
"clogger" gem itself. The installation should automatically
|
1337
|
-
detect compatible versions of Ruby and only build the C
|
1338
|
-
extension for MRI 1.8/1.9.
|
1339
|
-
|
1340
|
-
Rack::Utils::HeaderHash is now used for $sent_http_* variable
|
1341
|
-
lookups instead of a hand-rolled solution. HeaderHash objects
|
1342
|
-
should be reusable in Rack soon to avoid the penalty of
|
1343
|
-
recreating them repeatedly in middlewares and hopefully
|
1344
|
-
more-widely used as a result.
|
1345
|
-
|
1346
|
-
Underlying logger objects are sync=true for safety reasons.
|
1347
|
-
This has always been the case for the C extension version
|
1348
|
-
when writing to regular files.
|
1349
|
-
|
1350
|
-
Other small changes include more CGI variables and the :ORS
|
1351
|
-
(output record separator) option added (default: "\n").
|
1352
|
-
|
1353
|
-
commit 1475c6ce69dab9a6679dc3237be7761afd29e998
|
1354
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1355
|
-
Date: Mon Sep 7 16:47:38 2009 -0700
|
1356
|
-
|
1357
|
-
ext: fix compiler warnings in the cpp "comment"
|
1358
|
-
|
1359
|
-
commit 3547efe6386bb4ad224be49b723d16cde2067f9c
|
1360
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1361
|
-
Date: Sat Sep 5 19:33:33 2009 -0700
|
1362
|
-
|
1363
|
-
Don't bother creating HeaderHash unless we need it
|
1364
|
-
|
1365
|
-
It's expensive to create if not needed, and no current released
|
1366
|
-
version of Rack has my proposed optimizations for it yet...
|
1367
|
-
|
1368
|
-
commit 9335d300dbf62e7b8bd140f6388358fe71a62bc0
|
1369
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1370
|
-
Date: Sun Sep 6 16:30:39 2009 -0700
|
1371
|
-
|
1372
|
-
README: note that it's multi-instance-safe
|
1373
|
-
|
1374
|
-
commit 9b1012102ad16fcb27188b6a3ffd299c70ef63e1
|
1375
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1376
|
-
Date: Mon Sep 7 16:43:45 2009 -0700
|
1377
|
-
|
1378
|
-
README: fix links
|
1379
|
-
|
1380
|
-
commit 732325a67ba68060fe18dc66c21134c35f8006ea
|
1381
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1382
|
-
Date: Mon Sep 7 16:24:41 2009 -0700
|
1383
|
-
|
1384
|
-
enable MRI C extension by default
|
1385
|
-
|
1386
|
-
It was too much confusion to have multiple gems in the mix
|
1387
|
-
and I mainly use the C extension anyways.
|
1388
|
-
|
1389
|
-
If we're not on a compatible version of Ruby, the extension will
|
1390
|
-
just be disabled by generating a dummy no-op Makefile to work
|
1391
|
-
around it.
|
1392
|
-
|
1393
|
-
commit cee939b527e82237f89eb8eece62610854ac888a
|
1394
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1395
|
-
Date: Mon Sep 7 15:49:55 2009 -0700
|
1396
|
-
|
1397
|
-
Switch to hand-rolled packaging/distro scripts
|
1398
|
-
|
1399
|
-
Several bikeshed reasons brought me to this point:
|
1400
|
-
|
1401
|
-
* I like the README.html layout more than any default index.html
|
1402
|
-
even if it's using README content. Having links on the side
|
1403
|
-
helps navigation IMHO.
|
1404
|
-
|
1405
|
-
* publish_docs preserves timestamps to improve cache hit rate
|
1406
|
-
|
1407
|
-
* git is used to maintain the manifest at packaging/release-time
|
1408
|
-
so my changesets have less noise in them
|
1409
|
-
|
1410
|
-
* git is used to generate history files (from tag messages),
|
1411
|
-
this is a more DRY approach to me.
|
1412
|
-
|
1413
|
-
* I don't like the ".txt" suffix being translated to "_txt.html" in
|
1414
|
-
URLs. I don't like the ".txt" suffix in general.
|
1415
|
-
|
1416
|
-
* I don't like Manifest.txt showing up in my RDoc
|
1417
|
-
|
1418
|
-
commit 00814d46e9e82fa24d38bd77172143df3757f020
|
1419
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1420
|
-
Date: Mon Sep 7 15:23:01 2009 -0700
|
1421
|
-
|
1422
|
-
ext: hack to prevent rdoc from finding Rack* namespace
|
1423
|
-
|
1424
|
-
TODO: find a better way to do this...
|
1425
|
-
|
1426
|
-
commit 1d764d806b65d392fdb3f3dd8055ed18d42a5c2b
|
1427
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1428
|
-
Date: Fri Sep 4 19:26:42 2009 -0700
|
1429
|
-
|
1430
|
-
ext: only duplicate frozen response arrays
|
1431
|
-
|
1432
|
-
Otherwise modify the response array in place since
|
1433
|
-
most frameworks give you a modifiable array for you
|
1434
|
-
to play with anyways.
|
1435
|
-
|
1436
|
-
commit 09cae70d5509530ed3abff9046b1dc0fe448b3b3
|
1437
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1438
|
-
Date: Fri Sep 4 19:19:28 2009 -0700
|
1439
|
-
|
1440
|
-
use Rack::Utils::HeaderHash for $sent_http_* lookups
|
1441
|
-
|
1442
|
-
No point in having extra code to do case-insensitive lookups,
|
1443
|
-
especially since the HeaderHash implementation is already in
|
1444
|
-
wide use and will only get faster as time goes by.
|
1445
|
-
|
1446
|
-
commit 38e617b5a044ed91c799718d2188052c5646bc95
|
1447
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1448
|
-
Date: Fri Sep 4 18:49:44 2009 -0700
|
1449
|
-
|
1450
|
-
ext: store each response element explicitly
|
1451
|
-
|
1452
|
-
Avoid calling RARRAY_PTR all over the place and make the code
|
1453
|
-
easier to read/audit as a result.
|
1454
|
-
|
1455
|
-
commit 3ebed5dbd35440cb1e892a1361c71dc0516c64e8
|
1456
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1457
|
-
Date: Fri Sep 4 17:43:59 2009 -0700
|
1458
|
-
|
1459
|
-
ext: more consistent function naming
|
1460
|
-
|
1461
|
-
s/init_bad_response/init_bad_app_response/
|
1462
|
-
|
1463
|
-
The new name matches the variable it initializes more closely.
|
1464
|
-
|
1465
|
-
commit f704fba80a8522975b6c167a751f2b68298f1d66
|
1466
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1467
|
-
Date: Thu Sep 3 23:43:38 2009 -0700
|
1468
|
-
|
1469
|
-
add support for several more CGI variables
|
1470
|
-
|
1471
|
-
$auth_type, $gateway_interface, $server_software,
|
1472
|
-
$path_translated are all supported now.
|
1473
|
-
|
1474
|
-
commit b32d1da1d760f2e193b293af6dde9da272a85e8d
|
1475
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1476
|
-
Date: Thu Sep 3 19:25:39 2009 -0700
|
1477
|
-
|
1478
|
-
add output record separator option (:ORS)
|
1479
|
-
|
1480
|
-
This allows overriding the default of "\n". Behavior remains
|
1481
|
-
similar to IO#puts, the :ORS (output record separator) is
|
1482
|
-
appended iff the format doesn't already end with that string.
|
1483
|
-
|
1484
|
-
commit af12d387069d017494daa23534fa7f87aea9ff3b
|
1485
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1486
|
-
Date: Thu Sep 3 19:23:43 2009 -0700
|
1487
|
-
|
1488
|
-
CLOGGER_PURE forces the pure version to be loaded
|
1489
|
-
|
1490
|
-
This is useful for testing the pure Ruby version in case
|
1491
|
-
clogger_ext is already installed on your system.
|
1492
|
-
|
1493
|
-
commit b7c6846e317b0f2bfe4807aab34524c2a633947c
|
1494
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1495
|
-
Date: Thu Sep 3 09:20:42 2009 -0700
|
1496
|
-
|
1497
|
-
Ensure underlying logger objects are sync=true
|
1498
|
-
|
1499
|
-
Userspace buffering defaults are dangerous as the Ruby default
|
1500
|
-
IO objects do not do line-aware buffering. This makes the
|
1501
|
-
README examples with File.open much safer to use out-of-the-box
|
1502
|
-
for users of the pure-Ruby version. For users on the MRI C
|
1503
|
-
extension logging to regular files, this should not have any
|
1504
|
-
effect as we've optimized those to do unbuffered write(2)
|
1505
|
-
syscalls anyways.
|
1506
|
-
|
1507
|
-
commit afaa8efb31094a831a68b383523f9bac46a244ac
|
1508
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1509
|
-
Date: Wed Sep 2 18:44:55 2009 -0700
|
1510
|
-
|
1511
|
-
clogger 0.0.5
|
1512
|
-
|
1513
|
-
commit 5fd5bb6aa884ec8f2c62a5edaae6b93ec8275f2e
|
1514
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1515
|
-
Date: Wed Sep 2 18:40:02 2009 -0700
|
1516
|
-
|
1517
|
-
README: minor updates and clarifications
|
1518
|
-
|
1519
|
-
* link to Clogger::Format when talking about predefined formats
|
1520
|
-
* use upper-case for escape chars since that's what we use
|
1521
|
-
* clarify $request_time{PRECISION} range
|
1522
|
-
|
1523
|
-
commit 3bc7000a34c8e1788a5951381c7007f617233da2
|
1524
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1525
|
-
Date: Wed Sep 2 18:29:58 2009 -0700
|
1526
|
-
|
1527
|
-
alias $http_content_{length,type} to $content_{length,type}
|
1528
|
-
|
1529
|
-
Since Rack doesn't allow the HTTP_CONTENT_{LENGTH,TYPE} headers,
|
1530
|
-
alias attempts to use those to the non-"HTTP_"-prefixed
|
1531
|
-
equivalents to avoid confusion on the user side (nginx also does
|
1532
|
-
this).
|
1533
|
-
|
1534
|
-
commit 41e3dcf47d8ee855747681b80dab1c3b9d6bc457
|
1535
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1536
|
-
Date: Wed Sep 2 18:21:09 2009 -0700
|
1537
|
-
|
1538
|
-
expose the $content_length/$content_type variables
|
1539
|
-
|
1540
|
-
Since the HTTP_CONTENT_LENGTH and HTTP_CONTENT_TYPE variables
|
1541
|
-
are not allowed by Rack, we need to allow access to the CGI
|
1542
|
-
variables instead.
|
1543
|
-
|
1544
|
-
commit 34bda71752bc7401c552a7a4d5b77cf7e1bfe431
|
1545
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1546
|
-
Date: Wed Sep 2 18:15:27 2009 -0700
|
1547
|
-
|
1548
|
-
expose $request_method as documented in the README
|
1549
|
-
|
1550
|
-
Accessing "REQUEST_METHOD" in the Rack env should be doable as a
|
1551
|
-
CGI-ish variable. Thanks to Iñaki Baz Castillo for spotting the
|
1552
|
-
issue and reporting it to me.
|
1553
|
-
|
1554
|
-
commit d60d0b4656718a63137f89baa15b6589740ad454
|
1555
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1556
|
-
Date: Wed Sep 2 01:04:19 2009 -0700
|
1557
|
-
|
1558
|
-
clogger 0.0.4
|
1559
|
-
|
1560
|
-
commit 144e9909ea0f875b3dd58c6c850e25ed9f70c3cb
|
1561
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1562
|
-
Date: Tue Sep 1 19:04:52 2009 -0700
|
1563
|
-
|
1564
|
-
correctly rebuild simple HTTP/0.9 GET requests
|
1565
|
-
|
1566
|
-
Back in HTTP/0.9 days (before it was called HTTP/0.9),
|
1567
|
-
"GET /uri/goes/here\r\n" was a valid HTTP request.
|
1568
|
-
|
1569
|
-
See rfc 1945, section 4.1 for details on this ancient
|
1570
|
-
"Simple-Request" scheme used by HTTP/0.9 clients.
|
1571
|
-
|
1572
|
-
commit 98d72e530ae0e7899aee88bcb0a607e046b32965
|
1573
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1574
|
-
Date: Tue Sep 1 15:40:07 2009 -0700
|
1575
|
-
|
1576
|
-
README: point to repo.or.cz git mirror setup
|
1577
|
-
|
1578
|
-
The rubyforge one is out-of-date right now, so lets stop
|
1579
|
-
referencing it until the issues around it can be fixed.
|
1580
|
-
|
1581
|
-
commit 12d45b13dc28be86ada0bf304153155cb1975ba9
|
1582
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1583
|
-
Date: Tue Sep 1 15:17:06 2009 -0700
|
1584
|
-
|
1585
|
-
README: new git repository
|
1586
|
-
|
1587
|
-
I seem to have problems pushing to Rubyforge at the moment, so
|
1588
|
-
I'll put the repository on a host I have more control over.
|
1589
|
-
|
1590
|
-
Tracking the issue here:
|
1591
|
-
|
1592
|
-
http://rubyforge.org/tracker/index.php?func=detail&aid=26185&group_id=5&atid=102
|
1593
|
-
|
1594
|
-
commit c9f68fc6294a59c31728bab9e01350c4b271fe30
|
1595
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1596
|
-
Date: Sun Aug 30 22:27:26 2009 -0700
|
1597
|
-
|
1598
|
-
Ensure hex escaping is done in uppercase
|
1599
|
-
|
1600
|
-
The pure variant was using lower-case output instead
|
1601
|
-
of upper case, the ext variant was actually fine in this
|
1602
|
-
case. This is for nginx output format compatibility.
|
1603
|
-
|
1604
|
-
commit a6e410b7f85f22e6adbc55eb9dd3a494ca7200b2
|
1605
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1606
|
-
Date: Sun Aug 30 22:27:25 2009 -0700
|
1607
|
-
|
1608
|
-
ext: ensure headers#each in response is valid
|
1609
|
-
|
1610
|
-
We're not Rack::Lint, but we still need to take steps to
|
1611
|
-
avoid segfaulting if we host non-Rack::Lint-compliant
|
1612
|
-
applications.
|
1613
|
-
|
1614
|
-
This also updates the pure variant to fail on bad applications,
|
1615
|
-
too.
|
1616
|
-
|
1617
|
-
commit a6978053b9e9f4eff3e54bda6b4aa0c06f707075
|
1618
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1619
|
-
Date: Sun Aug 30 22:27:24 2009 -0700
|
1620
|
-
|
1621
|
-
ext: compiler compatibility fix
|
1622
|
-
|
1623
|
-
Remove trailing "," for enum
|
1624
|
-
|
1625
|
-
commit 465625fa4763177553846653c2b1198c543d2496
|
1626
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1627
|
-
Date: Tue Sep 1 11:26:59 2009 -0700
|
1628
|
-
|
1629
|
-
GNUmakefile: post_news after release
|
1630
|
-
|
1631
|
-
commit 5fb4355a370632391654a9aa19338fc48a30d143
|
1632
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1633
|
-
Date: Sat Aug 29 16:20:19 2009 -0700
|
1634
|
-
|
1635
|
-
clogger 0.0.3
|
1636
|
-
|
1637
|
-
commit cb1772c91444c0c4eb3e4cf17cac5e265cb2a551
|
1638
|
-
Merge: de46287 ed276bd
|
1639
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1640
|
-
Date: Sat Aug 29 16:15:18 2009 -0700
|
1641
|
-
|
1642
|
-
Merge dcvr:clogger
|
1643
|
-
|
1644
|
-
* dcvr:clogger:
|
1645
|
-
ext: several cleanups and robustness improvements
|
1646
|
-
ext: explicitly gc_mark each struct element
|
1647
|
-
|
1648
|
-
commit ed276bd6ba03b89201bfdfd1730b428b224372f0
|
1649
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1650
|
-
Date: Sat Aug 29 16:11:52 2009 -0700
|
1651
|
-
|
1652
|
-
ext: several cleanups and robustness improvements
|
1653
|
-
|
1654
|
-
Add a little more tolerance for bad applications that may not
|
1655
|
-
give us string objects. This should only have a minor
|
1656
|
-
performance penalty for proper applications but at least ensures
|
1657
|
-
we don't segfault on misbehaving apps.
|
1658
|
-
|
1659
|
-
commit e4bdbdcfcbf51ee91e4192ef361ba73e80e14dcc
|
1660
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1661
|
-
Date: Sat Aug 29 16:08:55 2009 -0700
|
1662
|
-
|
1663
|
-
ext: explicitly gc_mark each struct element
|
1664
|
-
|
1665
|
-
rb_gc_mark_locations doesn't seem in common use for structs and
|
1666
|
-
there was a fencepost error so the response element didn't seem
|
1667
|
-
to be marked at times.
|
1668
|
-
|
1669
|
-
This should fix random errors I've been seeing on big/longer
|
1670
|
-
response bodies.
|
1671
|
-
|
1672
|
-
commit de46287e9ea70e63e77d17c862ee6bf5ab105e96
|
1673
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1674
|
-
Date: Sat Aug 29 13:58:26 2009 -0700
|
1675
|
-
|
1676
|
-
GNUmakefile: fix "release" now that I've used it..
|
1677
|
-
|
1678
|
-
* pass correct arguments for changes
|
1679
|
-
* correctly generate change log from git
|
1680
|
-
* add blank line after description in release notes
|
1681
|
-
|
1682
|
-
commit d7cbdb6d59434145ed7293f97578feea83a47bc2
|
1683
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1684
|
-
Date: Sat Aug 29 13:52:37 2009 -0700
|
1685
|
-
|
1686
|
-
clogger 0.0.2
|
1687
|
-
|
1688
|
-
commit 4cae518fd0b2ba81114ed4cc26eb1704a1f71e28
|
1689
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1690
|
-
Date: Sat Aug 29 13:39:58 2009 -0700
|
1691
|
-
|
1692
|
-
Log bad/invalid app responses as 500 errors
|
1693
|
-
|
1694
|
-
Some misbehaved apps can do this to us, and we don't want
|
1695
|
-
the C extension to segfault when this happens.
|
1696
|
-
|
1697
|
-
commit c03045ecde0f3270d7458ba7ac0d76a25afc6fb2
|
1698
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1699
|
-
Date: Sat Aug 29 13:35:22 2009 -0700
|
1700
|
-
|
1701
|
-
support "$request_uri" as a log variable
|
1702
|
-
|
1703
|
-
This was documented in the README but never implemented. Some
|
1704
|
-
popular web servers set REQUEST_URI even though it's not
|
1705
|
-
required by Rack, so allow this variable to be used if possible.
|
1706
|
-
|
1707
|
-
As a side effect, it is also less likely to be modified by
|
1708
|
-
certain handlers (*cough*Rails::Rack::Static*cough*).
|
1709
|
-
|
1710
|
-
commit 46a176a741ad4d19d81946b4232c0c26fb8bdbc8
|
1711
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1712
|
-
Date: Sat Aug 29 12:45:45 2009 -0700
|
1713
|
-
|
1714
|
-
GNUmakefile: "release" steps
|
1715
|
-
|
1716
|
-
commit 0a582a3a0f18d359792a523d3ca3ae25eba0b279
|
1717
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1718
|
-
Date: Fri Aug 28 21:47:18 2009 -0700
|
1719
|
-
|
1720
|
-
Remove benchmarks from Manifest.txt
|
1721
|
-
|
1722
|
-
We don't care
|
1723
|
-
|
1724
|
-
commit d3fcf416c616327ca8aacd6f0a1cd8fd74baca01
|
1725
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1726
|
-
Date: Fri Aug 28 21:45:29 2009 -0700
|
1727
|
-
|
1728
|
-
README: updates and clarifications
|
1729
|
-
|
1730
|
-
commit a70468036d9b780bc7ec921f7feb6e1275778169
|
1731
|
-
Author: Eric Wong <normalperson@yhbt.net>
|
1732
|
-
Date: Fri Aug 28 20:47:43 2009 -0700
|
1733
|
-
|
1734
|
-
initial import
|