aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compress.php
Commit message (Collapse)AuthorAgeFilesLines
* #13327David M2007-07-131-11/+17
| | | | git-svn-id: file:///svn/phpbb/trunk@7877 89ea8834-ac86-4346-8a33-228a782c2dd0
* safer name for the updater downloads (even if removed after download) - ↵Meik Sievertsen2007-03-061-6/+16
| | | | | | reported by SHS` git-svn-id: file:///svn/phpbb/trunk@7134 89ea8834-ac86-4346-8a33-228a782c2dd0
* #5654David M2006-11-281-1/+1
| | | | | | | - bzopen_or_bzdopen in bzlib.c appends us our binary mode in a strcat call, we don't need it for bzopen(); git-svn-id: file:///svn/phpbb/trunk@6688 89ea8834-ac86-4346-8a33-228a782c2dd0
* - compress is nicer (fixed a bug :P)David M2006-11-031-27/+27
| | | | | | | | - UTF-8 code is nicer (fixed a bug :P) - new CAPTCHA. Replaced the old one for size and usability issues. The old CAPTCHA will most likely be released as a separate package git-svn-id: file:///svn/phpbb/trunk@6549 89ea8834-ac86-4346-8a33-228a782c2dd0
* bug fixesDavid M2006-09-161-2/+1
| | | | | | | | schema changes i really hope nothing went wrong git-svn-id: file:///svn/phpbb/trunk@6371 89ea8834-ac86-4346-8a33-228a782c2dd0
* - removed db cache (might re-appear, but for now we do not see the need for it)Meik Sievertsen2006-06-161-5/+5
| | | | | | | | | | | - all changes to styles/subsilver/template are purely cosmetic (no functional changes) - cosmetics - bugfixes - add index to modules table - use modules ordering code for forums too git-svn-id: file:///svn/phpbb/trunk@6073 89ea8834-ac86-4346-8a33-228a782c2dd0
* make sure custom profile fields are created correctly on registration (#2225)Meik Sievertsen2006-06-131-5/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@6058 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, this one is rather large... the most important change:Meik Sievertsen2006-06-061-35/+89
| | | | | | | | | re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different apart from this, code cleanage, bug fixing, etc. git-svn-id: file:///svn/phpbb/trunk@6015 89ea8834-ac86-4346-8a33-228a782c2dd0
* - allow searches for multibyte characters in fulltext_nativeNils Adermann2006-04-271-1/+1
| | | | | | | - use preg_quote safely git-svn-id: file:///svn/phpbb/trunk@5853 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Some archivers are worthless in this worldDavid M2006-04-151-0/+20
| | | | git-svn-id: file:///svn/phpbb/trunk@5786 89ea8834-ac86-4346-8a33-228a782c2dd0
* To all people having their bug status set to fixed: SF pserver CVS access is ↵Meik Sievertsen2006-04-061-1/+1
| | | | | | | | | | | | | | | | | | currently down, therefore the snapshots are still out of date. - fix a bunch of bugs - <!-- $Id$ --> is no longer allowed in template (.html) files - changed layout of private message screens (folders are menu items) - removed unread mode for private messages - added new feature to template engine - "jump out of loop" or "loop another loop within my loop" :D (will be documented within the coding guidelines) - added autologin field to sessions - check session length checks - added add_log statement to sessions to track session valid to invalid changes if ip/browser change depending on config settings (only debug) - added multibyte support for various variables (exception at the moment is usernames which needs some discussion) - hopefully not broke something. :/ git-svn-id: file:///svn/phpbb/trunk@5765 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Cleaned up some compress stuffDavid M2006-03-181-6/+7
| | | | | | | | | - Replaced deprecated functions in the PostrgreSQL DBAL - Added an undefined constant during install - Oh, and we now have backups :D We currently work with all the MySQL flavors, PostgreSQL and SQLite... git-svn-id: file:///svn/phpbb/trunk@5647 89ea8834-ac86-4346-8a33-228a782c2dd0
* - We only write to the archive ONCE for every file and folder when working ↵David M2006-02-241-27/+26
| | | | | | | | | | | with tar files - Checksum is faster, uses some precomputation to speed things up - We only needed to pad the end of the archive with 512 nulls, not 1024 :D - Added some comments regarding the other fields ;-) git-svn-id: file:///svn/phpbb/trunk@5581 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fseek -> rewindDavid M2006-02-241-23/+18
| | | | | | | | - fewer read commands, less ugly array stuff :D - much cleaner way to deal with the version flag, stored files are now differently labeled than deflated files ( we follow the zip spec better than 7-Zip :D ) git-svn-id: file:///svn/phpbb/trunk@5579 89ea8834-ac86-4346-8a33-228a782c2dd0
* Appending to the string is faster than copying it. Additionally, str_repeat ↵David M2006-02-231-1/+1
| | | | | | is optimized for strings like "\0". This issue only came up with really, really large files to compress ( 150 MB + !) git-svn-id: file:///svn/phpbb/trunk@5578 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Tar extraction and compression has changed to be more efficent by making ↵David M2006-02-041-18/+5
| | | | | | fewer read/write commands. git-svn-id: file:///svn/phpbb/trunk@5521 89ea8834-ac86-4346-8a33-228a782c2dd0
* - We don't use the extra info because we can extrapolate the only thing of ↵David M2006-01-301-6/+3
| | | | | | use (attributes) by using logic. Thus, we can skip large amounts of the file without missing any information. git-svn-id: file:///svn/phpbb/trunk@5511 89ea8834-ac86-4346-8a33-228a782c2dd0
* - More loose definition regarding what gets to be a folder and what does not ↵David M2006-01-271-103/+73
| | | | | | | | | | (More accurate, we lost folders before...) - Changed some fread()s to fseek()s - Much faster, single loop ( This might eat up more mem! Please report findings! ) git-svn-id: file:///svn/phpbb/trunk@5498 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Tar extraction is MUCH faster, we parse the archive ONCE and create the ↵David M2006-01-271-76/+35
| | | | | | | | | directories on the spot instead of reading it twice and playing magic with file pointers. Also removed a potential leak. - Zip extraction needs a small shot in the arm, files and archive must be handled a little better. git-svn-id: file:///svn/phpbb/trunk@5497 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixes in both CAPTCHA and CompressDavid M2006-01-261-8/+13
| | | | | | | | | | | | | Compress: - The "crc bug" is not a bug, it is actually a feature (the function returns an Adler hash, not a crc hash. This is more usefull for PNG files..) and was "fixed" by using the proper function instead of munging a substring - Zip files that are BZip2'd are now supported for extraction :-) CAPTCHA: - PNG generation now returns positive numbers for CRC, length, height and width! - We generate a variable number of images git-svn-id: file:///svn/phpbb/trunk@5496 89ea8834-ac86-4346-8a33-228a782c2dd0
* - file_get_contents instead of imploding file()s or fread()ing till the ↵David M2006-01-041-16/+7
| | | | | | | | | | | | | | | maximum filesize - language and style properly use compression - language now prompts user for methods - functions_compress does not need to eval() to get a hex date, instead calls pack() - A writing method is defined at the end of tar operations only if data has been sent to the archive - BBCode parser does not have to eval(), it instead uses the regex to loop around the matches Hopefully nothing broke :-) git-svn-id: file:///svn/phpbb/trunk@5422 89ea8834-ac86-4346-8a33-228a782c2dd0
* - install style and style elementsMeik Sievertsen2006-01-021-2/+12
| | | | | | | - refresh template and style cache git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
* - I forgot that we can add and remove prefixes :DDavid M2005-12-271-4/+4
| | | | | | | - A small style fix :D git-svn-id: file:///svn/phpbb/trunk@5385 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Forgot to repair a function ;-)David M2005-12-271-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5383 89ea8834-ac86-4346-8a33-228a782c2dd0
* *** empty log message ***Meik Sievertsen2005-12-251-17/+26
| | | | git-svn-id: file:///svn/phpbb/trunk@5377 89ea8834-ac86-4346-8a33-228a782c2dd0
* This code works. All of it works. At least, it should.David M2005-12-181-141/+163
| | | | | | | | | | | | | | | | | | | | | | | Extraction of TAR files: - It now works! - If it could work before (which it couldn't) , it would create nasty issues with spaces. This is resolved - If it could work before (which it couldn't) , it would try to create folders in such a way where some (all) folders could not be created. This is resolved. Creation of TAR files: - It now works! - Before, it created malformed TAR files. This is resolved. Now, the really really cool code... Extraction of ZIP files: - Totally new code - Fault tolerant - Very efficient Need sleep... *mumbles the TAR file header* git-svn-id: file:///svn/phpbb/trunk@5351 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Now creates vaild ZIP archives, "Data Descriptor" is not needed and breaks ↵David M2005-12-151-3/+0
| | | | | | things. git-svn-id: file:///svn/phpbb/trunk@5335 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added acp_language (language pack management)Meik Sievertsen2005-11-301-10/+22
| | | | | | | - minor adjustments to cope with PHP5.x git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Documentation related changesMeik Sievertsen2005-04-091-22/+31
| | | | | | | | | | - added resend activation email dialog - fixed issue in session code - log failed/successful admin re-authentication/login - fixed simple forum dropdown box (used in mcp and posting) git-svn-id: file:///svn/phpbb/trunk@5114 89ea8834-ac86-4346-8a33-228a782c2dd0
* - change registration page language on-the-flyMeik Sievertsen2005-01-231-4/+60
| | | | | | | | - added download function to functions_compress as well as tiny bugfixes - added local_name and author to iso.txt file git-svn-id: file:///svn/phpbb/trunk@5074 89ea8834-ac86-4346-8a33-228a782c2dd0
* Various updates "discovered" while working on website compression function ↵Paul S. Owen2003-08-221-14/+14
| | | | | | useage git-svn-id: file:///svn/phpbb/trunk@4418 89ea8834-ac86-4346-8a33-228a782c2dd0
* Seems some compression applications don't bother with little things like ↵Paul S. Owen2003-08-131-2/+14
| | | | | | standards ... git-svn-id: file:///svn/phpbb/trunk@4399 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix up issues with .tar, .tar.gz and .tar.bz2 archives and directory ↵Paul S. Owen2003-08-131-16/+58
| | | | | | structure creation git-svn-id: file:///svn/phpbb/trunk@4398 89ea8834-ac86-4346-8a33-228a782c2dd0
* Don't write out when closing unless a file actually exists ...Paul S. Owen2003-08-121-5/+29
| | | | git-svn-id: file:///svn/phpbb/trunk@4381 89ea8834-ac86-4346-8a33-228a782c2dd0
* Brain wanted in Room 101, Brain wantedPaul S. Owen2003-08-091-2/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@4357 89ea8834-ac86-4346-8a33-228a782c2dd0
* It's amazing what a strategically placed = can do for normal operation ...Paul S. Owen2003-08-091-19/+24
| | | | git-svn-id: file:///svn/phpbb/trunk@4356 89ea8834-ac86-4346-8a33-228a782c2dd0
* Further tidy ups for zip compatibility ... still seem to be problems ↵Paul S. Owen2003-08-091-54/+56
| | | | | | deleting entries via Powerarchiver ... works fine under Linux git-svn-id: file:///svn/phpbb/trunk@4355 89ea8834-ac86-4346-8a33-228a782c2dd0
* Improve compatibility of zip extract methodPaul S. Owen2003-08-091-53/+105
| | | | git-svn-id: file:///svn/phpbb/trunk@4353 89ea8834-ac86-4346-8a33-228a782c2dd0
* Save some mem when decompressing .zipPaul S. Owen2003-07-221-12/+21
| | | | git-svn-id: file:///svn/phpbb/trunk@4315 89ea8834-ac86-4346-8a33-228a782c2dd0
* Extract .zip ... damn gzuncompressPaul S. Owen2003-07-211-11/+81
| | | | git-svn-id: file:///svn/phpbb/trunk@4309 89ea8834-ac86-4346-8a33-228a782c2dd0
* Extraction of .tar, .tar.gz and .tar.bz2Paul S. Owen2003-07-211-0/+44
| | | | git-svn-id: file:///svn/phpbb/trunk@4308 89ea8834-ac86-4346-8a33-228a782c2dd0
* concanetate rather than substr_replacePaul S. Owen2003-07-211-36/+47
| | | | git-svn-id: file:///svn/phpbb/trunk@4306 89ea8834-ac86-4346-8a33-228a782c2dd0
* add .tar, .tar.gz and .tar.bz2 support, rejiggle source, seperate compress ↵Paul S. Owen2003-07-211-1993/+92
| | | | | | objects extending the base class git-svn-id: file:///svn/phpbb/trunk@4305 89ea8834-ac86-4346-8a33-228a782c2dd0
* Ignore given list of filesPaul S. Owen2003-07-201-1/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@4291 89ea8834-ac86-4346-8a33-228a782c2dd0
* Compression/decompression "libs" and a change to filelistPaul S. Owen2003-07-201-0/+2179
git-svn-id: file:///svn/phpbb/trunk@4287 89ea8834-ac86-4346-8a33-228a782c2dd0