| #
fe227084 |
| 07-Jun-2018 |
Andreas Gohr <gohr@cosmocode.de> |
removed safemode hack
Safemode has been removed in PHP 5.4.0. We finally no longer need to deal with this insanity.
|
| #
64159a61 |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
line lengths shortened
This makes sure all files use line lenghts shorter than 120 characters.
This is a quick fix. It might not always be the nicest change.
|
| #
b4f2363a |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
remove DOKU_INC checks
There is no need for this check, since these files should not have any main code that is executed on direct call.
Fixes PSR1.Files.SideEffects.FoundWithSymbols
|
| #
a93ad676 |
| 12-May-2017 |
Andreas Gohr <andi@splitbrain.org> |
remove deprecated each() call
|
| #
a4306b74 |
| 18-Jan-2017 |
Andreas Gohr <andi@splitbrain.org> |
touch an attic file after writing it
This should ensure it has the same lastmod timestamp as the revision it stores.
|
| #
59752844 |
| 14-Jun-2016 |
Anders Sandblad <runeson@gmail.com> |
Fixed broken links to php.net and redirecting pages to php.net
|
| #
cc6e07d8 |
| 20-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
strlen does already calculate the right length
|
| #
42a2fb23 |
| 19-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Not needed due to use of more general functions
|
| #
f549be3d |
| 18-Mar-2016 |
Gerrit Uitslag <klapinklapin@gmail.com> |
io_getSizeFile returns uncompressed size of given file
A bz2-file doesn't contain information about the size of its uncompressed content. Therefore it requires reading the whole file to obtain the f
io_getSizeFile returns uncompressed size of given file
A bz2-file doesn't contain information about the size of its uncompressed content. Therefore it requires reading the whole file to obtain the filesize.
show more ...
|
| #
13c37900 |
| 27-Nov-2015 |
Andreas Gohr <andi@splitbrain.org> |
streamline zlib checking #1410
Instead of having various function_exists checks all over the place, this introduces the constants DOKU_HAS_GZIP and DOKU_HAS_BZIP. All non-3rdparty parts of the code
streamline zlib checking #1410
Instead of having various function_exists checks all over the place, this introduces the constants DOKU_HAS_GZIP and DOKU_HAS_BZIP. All non-3rdparty parts of the code using gz* functions should now check if zlib is actually available.
show more ...
|
| #
2ad45add |
| 24-Jul-2015 |
Andreas Gohr <andi@splitbrain.org> |
avoid errors on trying to read corrupt gzip files
|
| #
d93ba631 |
| 29-May-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Rephrase description of io_replaceInFiles to be clarify use of regex
|
| #
dc4a4eb0 |
| 29-May-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Abort io_replaceInLine when the search parameter is empty
|
| #
e12c5ac7 |
| 29-May-2015 |
Christopher Smith <chris@jalakai.co.uk> |
Minor Refactoring - put test comments in more appropriate spot - move appending replacement line alongside its search/delete code
|
| #
3dfe7d64 |
| 29-May-2015 |
Christopher Smith <chris@jalakai.co.uk> |
add anchors when constructing pattern from a non-regex oldline
|
| #
9a734b7a |
| 28-May-2015 |
Christopher Smith <chris@jalakai.co.uk> |
Refactor code to make it simpler. The changes should also: - fix unlikely edge case when replacement line is the same as the old line (would have resulted in timeout) - reduce memory footprint - av
Refactor code to make it simpler. The changes should also: - fix unlikely edge case when replacement line is the same as the old line (would have resulted in timeout) - reduce memory footprint - avoid applying string search beyond maxlines replacement limit
show more ...
|
| #
6c000204 |
| 08-May-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Limit number of lines to replace.
|
| #
1bd6bbde |
| 07-May-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Add io_replaceInFile
|
| #
cfb71e37 |
| 07-May-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Deleting lines works with BZ2 files.
|
| #
36907582 |
| 06-May-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Append to BZip2 files. Unit tests for writing files.
|
| #
d387bf5e |
| 18-Mar-2015 |
Andreas Gohr <andi@splitbrain.org> |
correct error checking for bz2 file reading
The code reading .bz2 compressed files did not correctly check for possible read errors. In case of a corrupted file this could have led to an infinite lo
correct error checking for bz2 file reading
The code reading .bz2 compressed files did not correctly check for possible read errors. In case of a corrupted file this could have led to an infinite loop.
Thanks to Filippo Cavallarin from www.segment.technology for dicovering this bug.
show more ...
|
| #
79e79377 |
| 07-Jan-2015 |
Andreas Gohr <gohr@cosmocode.de> |
Remove error supression for file_exists()
In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PH
Remove error supression for file_exists()
In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
show more ...
|
| #
42ea7f44 |
| 01-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Many PHPDocs, some unused and dyn declared vars
many PHPDocs some unused variables some dynamically declared variables declared
|
| #
2472a8f6 |
| 20-Feb-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Removed unused vars, define undefined ones
|
| #
8426a3ee |
| 19-Jan-2014 |
Andreas Gohr <andi@splitbrain.org> |
check for false in readdir
|