Commit Graph

60 Commits (30337efcb31173442ac6927ed546ae32fd24e4c0)

Author SHA1 Message Date
Adrian Perez 30337efcb3 Removed half-implemented readme_* directives (#1) 2008-09-11 19:55:52 +02:00
Adrian Perez 9b75e7ebf9 Add note on gawk requisite 2008-09-11 19:55:34 +02:00
Adrian Perez 207be06cd4 Fixes for building on nginx 0.7.7 2008-08-01 11:27:01 +02:00
Adrian Perez 0b7e40f274 Fixed issue with non-bash shells being unable of configuring the module. 2007-09-28 23:01:28 +02:00
Adrian Perez d508e6f95a - Added support for sending as much response as possible in a single
ngx_chain_t instead of always calling the output filter three times.
  This should avoid possible blocking in Nginx code.
- Added warning about using external URLs in subrequest in readme file.
- Factorized out some variable declarations out to function header. Removed
  a shadowed variable.
- Removed some debugging statements.
2007-09-19 18:22:16 +02:00
Adrian Perez 7181e18fb3 Fixed order of handler linkage, fixes #240 2007-09-14 13:39:50 +02:00
Adrian Perez 74863e2716 Fixed module initialization order, so we end up behinx index_module 2007-09-14 04:04:37 +02:00
Adrian Perez 2f429b796b - Updated documentation.
- Fixed XHTML 1.0 validation by enclosing JS code into a CDATA section.
2007-09-13 23:40:40 +02:00
Adrian Perez 75e90109e0 Fixed handling of NGX_AGAIN in big responses 2007-09-12 17:16:59 +02:00
Adrian Perez 4cc0d75806 Fixed readme 2007-09-12 12:40:21 +02:00
Adrian Perez d47dd32858 some code cleanup 2007-09-12 12:38:37 +02:00
Adrian Perez 1eaaa8b505 - Make sure the thing compiles with 0.6.11
- Removed a compiler warning
2007-09-12 11:42:21 +02:00
Adrian Perez 312c69b5aa Merged changes which fix up ticket #231 2007-09-12 11:36:06 +02:00
Adrian Perez 45775bd0f1 - At last, inclusion works in proper order. 2007-09-12 01:11:46 +02:00
Adrian Perez feaa4d9bf7 compiles -- just do not ask 2007-09-11 19:12:58 +02:00
Adrian Perez 7e156ff58d - Implemented seperate functions to create header/footer buffers.
- Simplified template.html and make code work with new template. Some vars
  were uneeded.
- Added buffer chain debug macro in module header.
2007-09-11 13:52:53 +02:00
Adrian Perez 549d00bdae Clarified documentation 2007-09-11 12:28:26 +02:00
Adrian Perez a29f1d861e Some progress for #232 2007-09-10 19:42:11 +02:00
Adrian Perez ddadd2a210 Removed now unused (see comments on #205) include_mode and corresponding directive 2007-09-10 18:01:40 +02:00
Adrian Perez bfbc9fd4a2 cierra el ticket #205 2007-09-10 15:05:58 +02:00
Adrian Perez 323cea9298 Removed unneeded stuff, we will do subrequests 2007-09-06 21:06:43 +02:00
Adrian Perez b2553401cf Simplified an expression a bit 2007-09-06 18:37:53 +02:00
Adrian Perez 05be79d572 - Removed uneeded extra slash in generated src attribute of <iframe>.
- Mapping of URIs to proper header/footer files is done properly now for
  relative paths. Buffer object is returned, but not used yet.
2007-09-06 17:51:44 +02:00
Adrian Perez 3bfd1094a5 Needs more love in the resolution of URI -> path 2007-09-06 14:20:48 +02:00
Adrian Perez 9a22652366 more work on the thing 2007-09-05 19:37:25 +02:00
Adrian Perez a530ef1cd8 Implemented setup of buffer flags so nginx knows where to read the file
from.
2007-09-05 15:47:22 +02:00
Adrian Perez a9a8ced810 - Implemented resolution of URI-style file name to path and checks for valid
file into the inliner.
- Moved module configuration structure definition to header file.
2007-09-05 14:01:01 +02:00
Adrian Perez 493c40587b started work on inliner stuff 2007-09-04 21:00:48 +02:00
Adrian Perez afcb883c7a the thing builds, again 2007-09-04 19:29:53 +02:00
Adrian Perez 97c2710a12 WARNING: This revision WON'T compile at all. You have been warned.
- Added early adaptation of dictionary implementation, needs rework (does
	not build...)
2007-09-03 20:36:32 +02:00
Adrian Perez 2818c1917c Moved some code into header 2007-08-31 01:56:21 +02:00
Adrian Perez ef9ee57749 Updated README 2007-08-30 18:39:37 +02:00
Adrian Perez c0be73d8ad Prepared for inclusion of new features 2007-08-30 18:38:39 +02:00
Adrian Perez 0101fd77a1 - Removed unused macro nfi_conf_path_set.
- Fixed flags for the readme mode, now they are disjoint. This fixed some
  other related things.
- Renamed fancyindex_readme_options to fancyindex_readme_mode (shorter
  and clearer, IMHO)
- Renamed fancyindex_mode to fancyindex_include_mode (clearer).
- Checks for bottom/top readme are now properly done.
- Fix: Initialization of readme_flags now is zero instead of NGX_CONF_UNSET.
- Improved iteration of builtin template.
2007-08-30 18:13:05 +02:00
Adrian Perez 855adc70eb - It is ALIVE. 2007-08-30 14:29:41 +02:00
Adrian Perez 4e3d3c4816 Stuff now compiles with nginx 0.6.9 sources. Changed enum type to plain
ngx_uint_t, so we can use nginx's config merge macros.
2007-08-30 14:06:33 +02:00
Adrian Perez d7129e30f9 Merged weekend changes. Closes #201. 2007-08-29 12:42:08 +02:00
Adrian Perez e73cb8e3bc Implemented sending README as an iframe 2007-08-28 14:38:39 +02:00
Adrian Perez c2f086207b Added fancyindex_mode directive. 2007-08-28 13:32:01 +02:00
Adrian Perez 059d4a8811 - Fixed substitution in Awk script: we were (erroneusly) stripping 'g'
characters.
- Updated template and C header which results after running the script.
2007-08-24 18:10:11 +02:00
Adrian Perez 003e07cd34 Hecho #200 2007-08-24 15:58:20 +02:00
Adrian Perez 2d96368282 Fixed calculation of buffer length to include table markup. 2007-08-24 15:20:38 +02:00
Adrian Perez 1933610719 Moved template size calculation out to Awk script 2007-08-24 15:05:37 +02:00
Adrian Perez cf3c44193b Cierra el ticket #199 2007-08-24 14:07:53 +02:00
Adrian Perez 8d7357aa50 Closes #199 2007-08-24 13:47:59 +02:00
Adrian Perez f3cfbd01b1 - Added missing template pieces into templates/templates.h
- Renamed some ngx_http_fancyindex_* symbols to nfi_* ones (shorter :P)
- Defined some memory-copy utility macros in templates/templates.h
- Updated output size calculation.
2007-08-23 13:11:51 +02:00
Adrian Perez 27a0fbf338 new templates are arriving 2007-08-22 21:27:11 +02:00
Adrian Perez 6aab314f67 Add t2inc header 2007-08-22 20:48:43 +02:00
Adrian Perez ec4deed537 removed _BIT macro 2007-08-22 19:54:14 +02:00
Adrian Perez ec48c46ce8 - Added config flag to wrap up readme file as an IFRAME.
- Updated readme file accordingly.
2007-08-22 19:30:46 +02:00