Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not add libarchive to Requires when libarchive.pc is not availableHEADmaster | Ting-Wei Lan | 2014-08-27 | 2 | -4/+8 |
| | |||||
* | Update doap file to include programming language | Ting-Wei Lan | 2014-08-06 | 1 | -1/+2 |
| | |||||
* | AutoarExtract: Prevent unneeded floating operations | Ting-Wei Lan | 2014-05-11 | 2 | -12/+10 |
| | | | | | Fractions are not always needed, so I removed change it the same as AutoarCreate to the prevent unneeded calculation and function calls. | ||||
* | Fix race condition when building GnomeAutoarGtk-0.1.gir | Ting-Wei Lan | 2014-05-11 | 1 | -1/+1 |
| | |||||
* | Fix typo in autoar-gtk.h include guard | Ting-Wei Lan | 2014-05-11 | 1 | -1/+1 |
| | |||||
* | Make all internal functions private | Ting-Wei Lan | 2014-05-11 | 10 | -46/+136 |
| | | | | | | All internal functions in autoar-common is moved to autoar-private, and their documentation are not generated now. Public functions and data types in autoar-common are moved to autoar-misc. | ||||
* | Remove old and unused variables from Makefile.am | Ting-Wei Lan | 2014-03-31 | 1 | -1/+0 |
| | |||||
* | Remove unused virtual function tables | Ting-Wei Lan | 2014-01-29 | 4 | -44/+11 |
| | |||||
* | Enable C99 or C11 support | Ting-Wei Lan | 2014-01-26 | 1 | -0/+1 |
| | |||||
* | Update .gitignore | Ting-Wei Lan | 2014-01-26 | 1 | -3/+6 |
| | |||||
* | Move GTK+ widgets to a separate library | Ting-Wei Lan | 2014-01-26 | 11 | -90/+233 |
| | | | | | GTK+ support is optional now, but building API documentation requires GTK+ support to be enabled. | ||||
* | Remove unused CFLAGS and LIBS. Allow using libarchive without a pc file. | Ting-Wei Lan | 2014-01-22 | 3 | -8/+17 |
| | | | | | | Unused CFLAGS and LIBS may cause strange error in some system. FreeBSD system libarchive does not have a pc file installed. Use AC_SEARCH_LIBS to find it, so FreeBSD users do not have to install libarchive from ports. | ||||
* | Enable GObject Introspection support | Ting-Wei Lan | 2014-01-22 | 8 | -27/+62 |
| | | | | Most GObject things work, but some non-GObject things need API change to work. | ||||
* | Update .gitignore for non-recursive Makefiles | Ting-Wei Lan | 2014-01-18 | 1 | -3/+3 |
| | |||||
* | Use non-recursive Makefiles if possible | Ting-Wei Lan | 2014-01-18 | 5 | -124/+125 |
| | |||||
* | Fix MinGW build problem | Ting-Wei Lan | 2013-11-08 | 2 | -14/+16 |
| | |||||
* | AutoarExtract: Prevent priv->size == 0 | Ting-Wei Lan | 2013-10-13 | 1 | -0/+5 |
| | | | | This prevent "progress" signal from dividing number by zero. | ||||
* | Fix segmentation fault when extracting archives using raw format | Ting-Wei Lan | 2013-10-13 | 1 | -10/+11 |
| | |||||
* | Add description about gnome-autoar to the master page of reference manual | Ting-Wei Lan | 2013-09-19 | 1 | -0/+5 |
| | |||||
* | Update reference manual for autoar-common | Ting-Wei Lan | 2013-09-19 | 2 | -0/+90 |
| | |||||
* | Update reference manual for autoar-gtk | Ting-Wei Lan | 2013-09-19 | 2 | -3/+64 |
| | |||||
* | Update reference manual for autoar-format-filter | Ting-Wei Lan | 2013-09-19 | 2 | -2/+258 |
| | |||||
* | Update reference manual for AutoarPref | Ting-Wei Lan | 2013-09-18 | 2 | -0/+254 |
| | |||||
* | Update reference manual for AutoarExtract | Ting-Wei Lan | 2013-09-17 | 2 | -0/+306 |
| | |||||
* | Fix error in AutoarCreate reference manual | Ting-Wei Lan | 2013-09-17 | 1 | -4/+5 |
| | |||||
* | Update reference manual for AutoarCreate | Ting-Wei Lan | 2013-09-17 | 2 | -5/+264 |
| | |||||
* | AutoarCreate: Fix segmentation fault when output_is_dest is set | Ting-Wei Lan | 2013-09-15 | 1 | -0/+7 |
| | |||||
* | Use G_TYPE_ERROR instead of G_TYPE_POINTER in signal handler arguments | Ting-Wei Lan | 2013-09-13 | 2 | -4/+4 |
| | |||||
* | AutoarExtract: properties related to progress will not be writable | Ting-Wei Lan | 2013-09-13 | 3 | -58/+5 |
| | |||||
* | AutoarExtract: Reduce progress signal frequency by setting minimal interval | Ting-Wei Lan | 2013-09-13 | 2 | -25/+60 |
| | |||||
* | AutoarCreate: Force progress to be updated after all files are archived | Ting-Wei Lan | 2013-09-13 | 1 | -3/+8 |
| | |||||
* | AutoarCreate: properties related to progress will not be writable | Ting-Wei Lan | 2013-09-13 | 2 | -58/+4 |
| | |||||
* | AutoarCreate: Reduce progress signal frequency by setting minimal interval | Ting-Wei Lan | 2013-09-13 | 2 | -28/+53 |
| | |||||
* | Prevent calling g_output_stream_write with NULL stream | Ting-Wei Lan | 2013-09-12 | 1 | -1/+1 |
| | |||||
* | Update GTK-Doc master page | Ting-Wei Lan | 2013-09-11 | 5 | -48/+88 |
| | |||||
* | GTK-Doc must be enabled to run `make distcheck' | Ting-Wei Lan | 2013-09-11 | 1 | -0/+2 |
| | |||||
* | Fix possible build problem | Ting-Wei Lan | 2013-09-11 | 2 | -3/+3 |
| | |||||
* | Rename from libgnome-autoar to gnome-autoar | Ting-Wei Lan | 2013-09-11 | 2 | -2/+2 |
| | |||||
* | Add gtk-doc to the build system | Ting-Wei Lan | 2013-09-11 | 6 | -2/+65 |
| | |||||
* | Add missing headers in autoar.h | Ting-Wei Lan | 2013-09-07 | 1 | -0/+1 |
| | |||||
* | libarchive 3.1.0 is required to use seek callbacks and the lzop filter | Ting-Wei Lan | 2013-09-06 | 1 | -1/+1 |
| | |||||
* | Workaround for archive_write_set_format | Ting-Wei Lan | 2013-09-06 | 3 | -27/+150 |
| | | | | | | archive_write_set_format does not recognize all available format codes, so we have to manually maps format codes to functions. This problem is found in libarchive 3.1.2 source code, libarchive/archive_write_set_format.c. | ||||
* | Prevent using g_return_val_if_fail to check error | Ting-Wei Lan | 2013-09-06 | 1 | -2/+6 |
| | |||||
* | Prevent using AUTOAR_*_LAST constant outside autoar-format-filter.[ch] | Ting-Wei Lan | 2013-09-06 | 4 | -22/+38 |
| | |||||
* | Fix incorrect condition in set_completed_size and set_completed_files | Ting-Wei Lan | 2013-09-06 | 2 | -4/+4 |
| | |||||
* | Fix incorrect comments | Ting-Wei Lan | 2013-08-30 | 1 | -2/+2 |
| | |||||
* | Remove extra g_free and g_object_unref, which causes segmentation fault | Ting-Wei Lan | 2013-08-30 | 1 | -2/+2 |
| | |||||
* | Fix memory leak | Ting-Wei Lan | 2013-08-30 | 3 | -1/+5 |
| | |||||
* | GFile can be used as source to create archives now | Ting-Wei Lan | 2013-08-29 | 5 | -172/+426 |
| | |||||
* | Add new GQuark for libarchive-related error | Ting-Wei Lan | 2013-08-29 | 6 | -27/+31 |
| | | | | | | G_DEFINE_QUARK is used to define GQuark. The old global variables are removed. Error reported by libarchive use its own quark now. Quarks for autoar-extract and autoar-create are only used for error occurred within gnome-autoar. | ||||
* | Add doap file | Ting-Wei Lan | 2013-08-29 | 1 | -0/+20 |
| | |||||
* | autoar_gtk_format_filter_simple_new: Fix problems when initial value is zero | Ting-Wei Lan | 2013-08-29 | 1 | -35/+37 |
| | |||||
* | Corrent bad return value and add missing #include | Ting-Wei Lan | 2013-08-27 | 2 | -1/+4 |
| | |||||
* | Allow archive format and filter widgets having initial values | Ting-Wei Lan | 2013-08-27 | 5 | -61/+162 |
| | |||||
* | Remove unneeded CFLAGS in .pc file | Ting-Wei Lan | 2013-08-27 | 1 | -1/+1 |
| | |||||
* | Fix "make distcheck" problem | Ting-Wei Lan | 2013-08-26 | 2 | -2/+2 |
| | |||||
* | Add widgets to select archive format and filter | Ting-Wei Lan | 2013-08-26 | 7 | -3/+589 |
| | |||||
* | Remove "file" and "archive" from description of filters | Ting-Wei Lan | 2013-08-26 | 1 | -9/+9 |
| | |||||
* | Add missing G_BEGIN_DECLS and G_END_DECLS | Ting-Wei Lan | 2013-08-24 | 1 | -0/+4 |
| | |||||
* | Add GTK+ 3 to dependencies | Ting-Wei Lan | 2013-08-24 | 2 | -4/+6 |
| | |||||
* | Add functions related to archive formats and filters | Ting-Wei Lan | 2013-08-24 | 9 | -159/+380 |
| | |||||
* | AutoarCreate: Reduce unneeded work | Ting-Wei Lan | 2013-08-23 | 1 | -25/+25 |
| | |||||
* | AutoarCreate: Add missing g_object_unref() | Ting-Wei Lan | 2013-08-23 | 1 | -0/+2 |
| | | | | This commit prevents memory leak and too many open files error. | ||||
* | Set locale from environment variables beforce doing anything | Ting-Wei Lan | 2013-08-23 | 2 | -0/+6 |
| | | | | libarchive may not work if the locale is not set. | ||||
* | Add application/gzip MIME type | Ting-Wei Lan | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | AutoarExtract: Add function to free the source buffer | Ting-Wei Lan | 2013-08-19 | 2 | -0/+13 |
| | |||||
* | Add an argument used to guess destination file name if source is memory | Ting-Wei Lan | 2013-08-18 | 3 | -25/+35 |
| | |||||
* | AutoarExtract: Fix segmentation fault if source is memory | Ting-Wei Lan | 2013-08-18 | 2 | -8/+33 |
| | |||||
* | Add some tarball file extensions to default values | Ting-Wei Lan | 2013-08-17 | 1 | -1/+1 |
| | | | | These file extensions are copied from file-roller: src/fr-init.c. | ||||
* | AutoarExtract: Do not remove source file if source is a file | Ting-Wei Lan | 2013-08-17 | 1 | -1/+1 |
| | |||||
* | AutoarPref: add some direct access functions | Ting-Wei Lan | 2013-08-17 | 3 | -15/+84 |
| | |||||
* | Make autoar_{extract,create}_quark public | Ting-Wei Lan | 2013-08-17 | 4 | -2/+4 |
| | |||||
* | AutoarCreate: Prevent using uninitialized variables | Ting-Wei Lan | 2013-08-17 | 1 | -1/+1 |
| | |||||
* | AutoarExtract: add memory backend and destination determination skip switch | Ting-Wei Lan | 2013-08-17 | 2 | -279/+582 |
| | | | | | | | | | | | | | | This commit add two functions: 1. Memory can be used as source archive. 2. Destination determination can be skipped. This commit also changes: 1. Fix memory leak in file name pattern array. 2. Move more local variable into AutoarExtractPrivate. 3. Rewrite autoar_extract_new*. 4. Move steps in autoar_extract_run into separate functions. Function pointers are used to run each step. This also reduces duplicate code doing error checking and cancellation checking. | ||||
* | Add cancellable support to AutoarCreate | Ting-Wei Lan | 2013-08-10 | 2 | -32/+88 |
| | |||||
* | Move GSettings schema file into data directory | Ting-Wei Lan | 2013-08-09 | 6 | -12/+17 |
| | |||||
* | Change all GVariant to GBoxed | Ting-Wei Lan | 2013-08-09 | 3 | -81/+44 |
| | |||||
* | Add cancellable support to AutoarExtract | Ting-Wei Lan | 2013-08-06 | 1 | -39/+92 |
| | |||||
* | Move local variables into objects or smaller blocks | Ting-Wei Lan | 2013-08-04 | 5 | -348/+404 |
| | | | | The previous commit modified AutoarExtract; this commit modified AutoarCreate. | ||||
* | Move local variables into objects or smaller blocks | Ting-Wei Lan | 2013-08-04 | 6 | -369/+449 |
| | | | | I hope this will ease the memory management task. | ||||
* | Prevent possibly using uninitialized values | Ting-Wei Lan | 2013-08-04 | 1 | -0/+1 |
| | |||||
* | Workaround for creating zip and ar archives | Ting-Wei Lan | 2013-08-04 | 1 | -15/+56 |
| | |||||
* | Workaround for some libarchive problems | Ting-Wei Lan | 2013-08-04 | 1 | -14/+26 |
| | | | | | | | | | 1. archive_write_data may return 0. The manual page says it will return bytes actually written or -1 on error, but it does not say what zero means. This will cause infinite loop in the program. 2. libarchive may use NULL as its error message. It is not expected because NULL is not a valid string. Therefore, I remove replace g_error_new_literal with g_error_new to make sure the function return when error occurs. | ||||
* | Prevent opening and reading non-regular files | Ting-Wei Lan | 2013-08-03 | 1 | -2/+2 |
| | |||||
* | test-extract: Move file patterns settings to command line arguments | Ting-Wei Lan | 2013-08-03 | 1 | -9/+3 |
| | |||||
* | Correct timestamps of extracted directories after all entries are written | Ting-Wei Lan | 2013-08-03 | 2 | -1/+36 |
| | | | | | | Timestamps of extracted directories may be updated when new files are added into the directories, so we have to apply the GFileInfo again to reset the timestamps. | ||||
* | Prevent possibly using uninitialized values | Ting-Wei Lan | 2013-08-03 | 2 | -0/+3 |
| | |||||
* | Fix memory leak | Ting-Wei Lan | 2013-08-03 | 1 | -1/+0 |
| | |||||
* | Complete hard link resolver in AutoarCreate | Ting-Wei Lan | 2013-08-03 | 1 | -9/+25 |
| | |||||
* | The man pages of libarchive recommend using archive_entry_perm | Ting-Wei Lan | 2013-08-02 | 2 | -7/+10 |
| | |||||
* | Add asynchronous archives creating functions | Ting-Wei Lan | 2013-08-01 | 2 | -0/+21 |
| | |||||
* | Add hard link support to AutoarExtract | Ting-Wei Lan | 2013-08-01 | 1 | -38/+102 |
| | |||||
* | Fix file type error for block devices | Ting-Wei Lan | 2013-08-01 | 1 | -6/+6 |
| | |||||
* | Prevent trailing slash in path name and fix symbolic link issues | Ting-Wei Lan | 2013-08-01 | 1 | -14/+37 |
| | |||||
* | Do not remove file extension if it is not a regular file | Ting-Wei Lan | 2013-08-01 | 1 | -7/+29 |
| | |||||
* | Add testing program for automatic archive creation | Ting-Wei Lan | 2013-08-01 | 2 | -2/+79 |
| | |||||
* | Fix incorrect data types and wrong file name when the file has no extension | Ting-Wei Lan | 2013-08-01 | 3 | -6/+31 |
| | |||||
* | Add AutoarCreate reading and writing support with hard link resolving | Ting-Wei Lan | 2013-08-01 | 2 | -4/+607 |
| | | | | These codes have not been tested, so it may contain serious bugs. | ||||
* | Fix segmentation fault when destination directory cannot be created | Ting-Wei Lan | 2013-07-31 | 1 | -1/+0 |
| | |||||
* | Fix build system after becoming a shared library | Ting-Wei Lan | 2013-07-31 | 21 | -89/+247 |
| | |||||
* | Add some missing definitions and functions | Ting-Wei Lan | 2013-07-30 | 3 | -8/+87 |
| | |||||
* | Move some common functions into separate files | Ting-Wei Lan | 2013-07-29 | 4 | -158/+263 |
| | |||||
* | Fix segmentation fault in the previous commit | Ting-Wei Lan | 2013-07-29 | 1 | -1/+0 |
| | |||||
* | Use g_signal_query to get signal infomation | Ting-Wei Lan | 2013-07-29 | 1 | -32/+28 |
| | | | | Remove duplicate code about signal in the source file. | ||||
* | Remove unneeded memory allocation and copying | Ting-Wei Lan | 2013-07-29 | 1 | -17/+3 |
| | |||||
* | Add AutoarCreate boilerplate code | Ting-Wei Lan | 2013-07-28 | 3 | -0/+525 |
| | | | | Many lines are copied or modified from AutoarExtract | ||||
* | Fix incorrect properties description | Ting-Wei Lan | 2013-07-28 | 2 | -3/+16 |
| | |||||
* | Add more archive formats from archive.h | Ting-Wei Lan | 2013-07-28 | 1 | -10/+21 |
| | |||||
* | Reject to copy the source file without doing modification | Ting-Wei Lan | 2013-07-28 | 1 | -19/+54 |
| | | | | | libarchive will just copy the source file without modifying anything if no filter can be applied. This behavior is not what users expecting. | ||||
* | Fix bugs in the previous commit | Ting-Wei Lan | 2013-07-28 | 1 | -21/+26 |
| | |||||
* | Fix extraction problems for archives containing only one file | Ting-Wei Lan | 2013-07-27 | 1 | -35/+71 |
| | |||||
* | Add seek and skip callback functions for libarchive | Ting-Wei Lan | 2013-07-27 | 2 | -19/+126 |
| | | | | Seek callback function is required to extract 7-zip file. | ||||
* | Fix issues in non-ASCII filename | Ting-Wei Lan | 2013-07-27 | 1 | -1/+5 |
| | |||||
* | Fix some typo | Ting-Wei Lan | 2013-07-27 | 2 | -11/+11 |
| | |||||
* | Show error message in download panel if extraction failed | Ting-Wei Lan | 2013-07-27 | 1 | -2/+2 |
| | |||||
* | Add asynchronous archives extracting functions | Ting-Wei Lan | 2013-07-26 | 3 | -40/+204 |
| | |||||
* | Complete archive preferences support and integrate into AutoarExtract | Ting-Wei Lan | 2013-07-22 | 7 | -18/+197 |
| | |||||
* | Add AutoarPref settings reading support | Ting-Wei Lan | 2013-07-22 | 4 | -78/+188 |
| | | | | These codes has not been tested, so it may contain serious bugs. | ||||
* | Add .cpio check when removing the file extension | Ting-Wei Lan | 2013-07-22 | 1 | -5/+4 |
| | |||||
* | Use BUILT_SOURCES to fix some build dependencies problem | Ting-Wei Lan | 2013-07-21 | 2 | -7/+13 |
| | |||||
* | Add AutoarPref boilerplate code | Ting-Wei Lan | 2013-07-21 | 6 | -6/+630 |
| | |||||
* | Fix some trivial things in the build system | Ting-Wei Lan | 2013-07-19 | 2 | -5/+15 |
| | |||||
* | Ignore unneeded files when extracting files | Ting-Wei Lan | 2013-07-17 | 3 | -13/+77 |
| | |||||
* | Set uid / gid when writing files | Ting-Wei Lan | 2013-07-16 | 1 | -10/+88 |
| | |||||
* | Change the meaning of size variable in AutoarExtractPrivate | Ting-Wei Lan | 2013-07-16 | 2 | -20/+16 |
| | | | | | The meaning of the size is changed from read source archive size to the written bytes of the extracted files. | ||||
* | Add functions to writing files and a new testing program | Ting-Wei Lan | 2013-07-15 | 4 | -172/+448 |
| | | | | Several mistakes are discovered and fixed using the testing program. | ||||
* | Add new function autoar_extract_start to do the extraction | Ting-Wei Lan | 2013-07-13 | 2 | -2/+230 |
| | | | | This function is not tested and does not write files to disks currently. | ||||
* | Implement callback functions for archive_read_open | Ting-Wei Lan | 2013-07-12 | 2 | -24/+122 |
| | |||||
* | Add AutoarExtract class files | Ting-Wei Lan | 2013-07-09 | 3 | -0/+589 |
AutoarExtract class is used to handle automatic extraction of archives. Currently only boilerplate code is completed. |