1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

29 Commits

Author SHA1 Message Date
David M
1e25c5bece - We don't use the extra info because we can extrapolate the only thing of 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
2006-01-30 01:14:21 +00:00
David M
e78c215eba - More loose definition regarding what gets to be a folder and what does not (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
2006-01-27 06:51:52 +00:00
David M
e77bc7e936 - Tar extraction is MUCH faster, we parse the archive ONCE and create the 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
2006-01-27 04:20:12 +00:00
David M
5922903264 Fixes in both CAPTCHA and Compress
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
2006-01-26 21:39:23 +00:00
David M
17dc26e19b - file_get_contents instead of imploding file()s or fread()ing till the 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
2006-01-04 06:37:17 +00:00
Meik Sievertsen
2faf2639ee - install style and style elements
- refresh template and style cache


git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-02 17:30:59 +00:00
David M
8ad9a36d08 - I forgot that we can add and remove prefixes :D
- A small style fix :D


git-svn-id: file:///svn/phpbb/trunk@5385 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 17:21:01 +00:00
David M
7eea0d3529 - Forgot to repair a function ;-)
git-svn-id: file:///svn/phpbb/trunk@5383 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 14:13:38 +00:00
Meik Sievertsen
4373cf2f30 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5377 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-25 11:12:03 +00:00
David M
46a8ebfe47 This code works. All of it works. At least, it should.
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
2005-12-18 04:35:51 +00:00
David M
ceb10e1b2f - Now creates vaild ZIP archives, "Data Descriptor" is not needed and breaks things.
git-svn-id: file:///svn/phpbb/trunk@5335 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 12:42:23 +00:00
Meik Sievertsen
1bf18e23ed - added acp_language (language pack management)
- minor adjustments to cope with PHP5.x


git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-30 17:48:06 +00:00
Meik Sievertsen
fc32df0358 - Documentation related changes
- 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
2005-04-09 12:26:45 +00:00
Meik Sievertsen
1613c37d91 - change registration page language on-the-fly
- 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
2005-01-23 23:02:10 +00:00
Paul S. Owen
28b604b69c Various updates "discovered" while working on website compression function useage
git-svn-id: file:///svn/phpbb/trunk@4418 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-22 00:35:59 +00:00
Paul S. Owen
e46f4cb505 Seems some compression applications don't bother with little things like standards ...
git-svn-id: file:///svn/phpbb/trunk@4399 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 16:43:58 +00:00
Paul S. Owen
321eb7eedc Fix up issues with .tar, .tar.gz and .tar.bz2 archives and directory structure creation
git-svn-id: file:///svn/phpbb/trunk@4398 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 16:11:04 +00:00
Paul S. Owen
a4ac56c798 Don't write out when closing unless a file actually exists ...
git-svn-id: file:///svn/phpbb/trunk@4381 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 01:37:49 +00:00
Paul S. Owen
e9c616f732 Brain wanted in Room 101, Brain wanted
git-svn-id: file:///svn/phpbb/trunk@4357 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 16:05:58 +00:00
Paul S. Owen
2efff50736 It's amazing what a strategically placed = can do for normal operation ...
git-svn-id: file:///svn/phpbb/trunk@4356 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 15:30:08 +00:00
Paul S. Owen
5e79ac7d8f Further tidy ups for zip compatibility ... still seem to be problems deleting entries via Powerarchiver ... works fine under Linux
git-svn-id: file:///svn/phpbb/trunk@4355 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 12:36:14 +00:00
Paul S. Owen
d85c1e052d Improve compatibility of zip extract method
git-svn-id: file:///svn/phpbb/trunk@4353 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 00:30:24 +00:00
Paul S. Owen
3c208e1d0b Save some mem when decompressing .zip
git-svn-id: file:///svn/phpbb/trunk@4315 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-22 20:06:17 +00:00
Paul S. Owen
971968b08c Extract .zip ... damn gzuncompress
git-svn-id: file:///svn/phpbb/trunk@4309 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 22:54:46 +00:00
Paul S. Owen
71cc8e79b3 Extraction of .tar, .tar.gz and .tar.bz2
git-svn-id: file:///svn/phpbb/trunk@4308 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 17:32:42 +00:00
Paul S. Owen
cc637e72f0 concanetate rather than substr_replace
git-svn-id: file:///svn/phpbb/trunk@4306 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 16:10:07 +00:00
Paul S. Owen
852f552b4a add .tar, .tar.gz and .tar.bz2 support, rejiggle source, seperate compress objects extending the base class
git-svn-id: file:///svn/phpbb/trunk@4305 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 15:44:39 +00:00
Paul S. Owen
e0c4360705 Ignore given list of files
git-svn-id: file:///svn/phpbb/trunk@4291 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:37:14 +00:00
Paul S. Owen
22cfe6dddb Compression/decompression "libs" and a change to filelist
git-svn-id: file:///svn/phpbb/trunk@4287 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:18:03 +00:00