Server IP : 103.119.228.120 / Your IP : 18.190.160.6 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/share/doc/libzip-0.10.1/ |
Upload File : |
! [doc] zip_source_function: mention that stat is called after close ! [cleanup] get rid of zip_get_{compression,encryption}_implementation ! [compat] test calls against old API + [portability] use _setmode(_fileno(fp), _O_BINARY); where present + [bug] fix permissions of new file to match old one + [bug] _zip_checkcons return value can overflow + [bug] _zip_u2d_time: handle localtime(3) failure + [bug] missing -Wl,-R in pkg-config file + [cleanup] use zip_*int*_t internally + [cleanup] don't make zip_source_zip go through zip_fread + [bug] set "version of encoding software" to 2.0 + [bug?] keep extended local headers when copying? - [cleanup] remove now useless check of fseek - [consistency check] check that local headers come before central dir - [consistency] check arguments for every entry point into libzip - [bug] zip_open: consistency check: check data descriptor - [bug] do not compress if storing is smaller - [bug] zip_open: check whether file can be created and fail if not - [bug] check for limits imposed by format (central dir size, file size, ...) - [feature] handle zip_open/zip_close "race" for new files - [feature] support streaming output (creating new archive to e.g. stdout) - [feature] add functions to: . set compression method for new/changed entry . set last modification time for entry . read/set EAs . parse/create some EAs? . read/set ASCII file flag + [test] run regression tests also from CMake framework - [test] rename deleted (fails) - [test] rename file to dir/ and vice versa (fails) ------------------------------------------------ API issues - character encoding in file names and comments (ZIP_AFL_UTF8, see mail) - parameters for compression/crypt implementations (extra function) ZIP_CM_DEFLATE/ZIP_CM_BZIP2: compression level memlevel? * compression/crypt implementations: how to set error code on failure + compression/crypt error messages a la ZIP_ER_ZLIB (no detailed info passing) * I/O methods ------------------------------------------------ API ideas struct zip *zip_open_encrypted(const char *path, int flags, const char *password, int *errorp); int zip_set_file_compression(struct zip *archive, zip_uint64_t idx, zip_uint16_t method, zip_uint32_t flags); flags: 0-15: compression ratio (0: fast, 15: best) 16: default higher bits: method specific int zip_set_encryption(struct zip *archive, zip_uint64_t idx, zip_uint16_t method, const char *password); void zip_set_archive_encryption(struct zip *archive, zip_uint16_t method, const char *password); struct zip_source *zip_source_writable(struct zip *archive); zip_source_write(struct zip_source *, const void *data, size_t len); zip_source_printf(struct zip_source *, const char *fmt, ...); /* maybe zip_source_vprintf(struct zip_source *, const char *fmt, va_list ap); */ ------------------------------------------------ others * regression tests (duplicate file names, unchange, .{200}) * zip_commit * zip_replace_zip: allow rewinding * API for parsing extra fields? * API for setting/getting extra fields in cdir? * zipcmp: add option for file content comparison * support for zip64 (large file) * append to files (for self-extracting files) * add custom compression function support * zip_replace_zip: remember compression method, recompress if different speced * close even if error... * support for old compression methods????? ------------------------------------------------ regression tests * (add, replace) add to empty zip add to existing zip add w/ existing file name [E] replace ok replace w/ illegal index [E] replace w/ deleted name [E] unchange added/replaced file * (close) copy zip file open copy rename, delete, replace, add w/ new name, add w/ deleted name close zipcmp copy expected remove copy * (delete) * (error_get) * (error_get_sys_type) * (error_to_str) * (extra_fields) * (file_error_get) * (file_strerror) * (fopen_index) illegal index * (get_name) * (get_num_files) * (rename) * (replace) * (source_buffer) * (source_file) * (source_filep) * (source_free) * (source_function) * (source_zip) * (stat) * (stat_index) * (strerror) * (unchange) * (unchange_all)