summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not add libarchive to Requires when libarchive.pc is not availableHEADmasterTing-Wei Lan2014-08-272-4/+8
|
* Update doap file to include programming languageTing-Wei Lan2014-08-061-1/+2
|
* AutoarExtract: Prevent unneeded floating operationsTing-Wei Lan2014-05-112-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.girTing-Wei Lan2014-05-111-1/+1
|
* Fix typo in autoar-gtk.h include guardTing-Wei Lan2014-05-111-1/+1
|
* Make all internal functions privateTing-Wei Lan2014-05-1110-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.amTing-Wei Lan2014-03-311-1/+0
|
* Remove unused virtual function tablesTing-Wei Lan2014-01-294-44/+11
|
* Enable C99 or C11 supportTing-Wei Lan2014-01-261-0/+1
|
* Update .gitignoreTing-Wei Lan2014-01-261-3/+6
|
* Move GTK+ widgets to a separate libraryTing-Wei Lan2014-01-2611-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 Lan2014-01-223-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 supportTing-Wei Lan2014-01-228-27/+62
| | | | Most GObject things work, but some non-GObject things need API change to work.
* Update .gitignore for non-recursive MakefilesTing-Wei Lan2014-01-181-3/+3
|
* Use non-recursive Makefiles if possibleTing-Wei Lan2014-01-185-124/+125
|
* Fix MinGW build problemTing-Wei Lan2013-11-082-14/+16
|
* AutoarExtract: Prevent priv->size == 0Ting-Wei Lan2013-10-131-0/+5
| | | | This prevent "progress" signal from dividing number by zero.
* Fix segmentation fault when extracting archives using raw formatTing-Wei Lan2013-10-131-10/+11
|
* Add description about gnome-autoar to the master page of reference manualTing-Wei Lan2013-09-191-0/+5
|
* Update reference manual for autoar-commonTing-Wei Lan2013-09-192-0/+90
|
* Update reference manual for autoar-gtkTing-Wei Lan2013-09-192-3/+64
|
* Update reference manual for autoar-format-filterTing-Wei Lan2013-09-192-2/+258
|
* Update reference manual for AutoarPrefTing-Wei Lan2013-09-182-0/+254
|
* Update reference manual for AutoarExtractTing-Wei Lan2013-09-172-0/+306
|
* Fix error in AutoarCreate reference manualTing-Wei Lan2013-09-171-4/+5
|
* Update reference manual for AutoarCreateTing-Wei Lan2013-09-172-5/+264
|
* AutoarCreate: Fix segmentation fault when output_is_dest is setTing-Wei Lan2013-09-151-0/+7
|
* Use G_TYPE_ERROR instead of G_TYPE_POINTER in signal handler argumentsTing-Wei Lan2013-09-132-4/+4
|
* AutoarExtract: properties related to progress will not be writableTing-Wei Lan2013-09-133-58/+5
|
* AutoarExtract: Reduce progress signal frequency by setting minimal intervalTing-Wei Lan2013-09-132-25/+60
|
* AutoarCreate: Force progress to be updated after all files are archivedTing-Wei Lan2013-09-131-3/+8
|
* AutoarCreate: properties related to progress will not be writableTing-Wei Lan2013-09-132-58/+4
|
* AutoarCreate: Reduce progress signal frequency by setting minimal intervalTing-Wei Lan2013-09-132-28/+53
|
* Prevent calling g_output_stream_write with NULL streamTing-Wei Lan2013-09-121-1/+1
|
* Update GTK-Doc master pageTing-Wei Lan2013-09-115-48/+88
|
* GTK-Doc must be enabled to run `make distcheck'Ting-Wei Lan2013-09-111-0/+2
|
* Fix possible build problemTing-Wei Lan2013-09-112-3/+3
|
* Rename from libgnome-autoar to gnome-autoarTing-Wei Lan2013-09-112-2/+2
|
* Add gtk-doc to the build systemTing-Wei Lan2013-09-116-2/+65
|
* Add missing headers in autoar.hTing-Wei Lan2013-09-071-0/+1
|
* libarchive 3.1.0 is required to use seek callbacks and the lzop filterTing-Wei Lan2013-09-061-1/+1
|
* Workaround for archive_write_set_formatTing-Wei Lan2013-09-063-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 errorTing-Wei Lan2013-09-061-2/+6
|
* Prevent using AUTOAR_*_LAST constant outside autoar-format-filter.[ch]Ting-Wei Lan2013-09-064-22/+38
|
* Fix incorrect condition in set_completed_size and set_completed_filesTing-Wei Lan2013-09-062-4/+4
|
* Fix incorrect commentsTing-Wei Lan2013-08-301-2/+2
|
* Remove extra g_free and g_object_unref, which causes segmentation faultTing-Wei Lan2013-08-301-2/+2
|
* Fix memory leakTing-Wei Lan2013-08-303-1/+5
|
* GFile can be used as source to create archives nowTing-Wei Lan2013-08-295-172/+426
|
* Add new GQuark for libarchive-related errorTing-Wei Lan2013-08-296-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 fileTing-Wei Lan2013-08-291-0/+20
|
* autoar_gtk_format_filter_simple_new: Fix problems when initial value is zeroTing-Wei Lan2013-08-291-35/+37
|
* Corrent bad return value and add missing #includeTing-Wei Lan2013-08-272-1/+4
|
* Allow archive format and filter widgets having initial valuesTing-Wei Lan2013-08-275-61/+162
|
* Remove unneeded CFLAGS in .pc fileTing-Wei Lan2013-08-271-1/+1
|
* Fix "make distcheck" problemTing-Wei Lan2013-08-262-2/+2
|
* Add widgets to select archive format and filterTing-Wei Lan2013-08-267-3/+589
|
* Remove "file" and "archive" from description of filtersTing-Wei Lan2013-08-261-9/+9
|
* Add missing G_BEGIN_DECLS and G_END_DECLSTing-Wei Lan2013-08-241-0/+4
|
* Add GTK+ 3 to dependenciesTing-Wei Lan2013-08-242-4/+6
|
* Add functions related to archive formats and filtersTing-Wei Lan2013-08-249-159/+380
|
* AutoarCreate: Reduce unneeded workTing-Wei Lan2013-08-231-25/+25
|
* AutoarCreate: Add missing g_object_unref()Ting-Wei Lan2013-08-231-0/+2
| | | | This commit prevents memory leak and too many open files error.
* Set locale from environment variables beforce doing anythingTing-Wei Lan2013-08-232-0/+6
| | | | libarchive may not work if the locale is not set.
* Add application/gzip MIME typeTing-Wei Lan2013-08-191-1/+1
|
* AutoarExtract: Add function to free the source bufferTing-Wei Lan2013-08-192-0/+13
|
* Add an argument used to guess destination file name if source is memoryTing-Wei Lan2013-08-183-25/+35
|
* AutoarExtract: Fix segmentation fault if source is memoryTing-Wei Lan2013-08-182-8/+33
|
* Add some tarball file extensions to default valuesTing-Wei Lan2013-08-171-1/+1
| | | | These file extensions are copied from file-roller: src/fr-init.c.
* AutoarExtract: Do not remove source file if source is a fileTing-Wei Lan2013-08-171-1/+1
|
* AutoarPref: add some direct access functionsTing-Wei Lan2013-08-173-15/+84
|
* Make autoar_{extract,create}_quark publicTing-Wei Lan2013-08-174-2/+4
|
* AutoarCreate: Prevent using uninitialized variablesTing-Wei Lan2013-08-171-1/+1
|
* AutoarExtract: add memory backend and destination determination skip switchTing-Wei Lan2013-08-172-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 AutoarCreateTing-Wei Lan2013-08-102-32/+88
|
* Move GSettings schema file into data directoryTing-Wei Lan2013-08-096-12/+17
|
* Change all GVariant to GBoxedTing-Wei Lan2013-08-093-81/+44
|
* Add cancellable support to AutoarExtractTing-Wei Lan2013-08-061-39/+92
|
* Move local variables into objects or smaller blocksTing-Wei Lan2013-08-045-348/+404
| | | | The previous commit modified AutoarExtract; this commit modified AutoarCreate.
* Move local variables into objects or smaller blocksTing-Wei Lan2013-08-046-369/+449
| | | | I hope this will ease the memory management task.
* Prevent possibly using uninitialized valuesTing-Wei Lan2013-08-041-0/+1
|
* Workaround for creating zip and ar archivesTing-Wei Lan2013-08-041-15/+56
|
* Workaround for some libarchive problemsTing-Wei Lan2013-08-041-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 filesTing-Wei Lan2013-08-031-2/+2
|
* test-extract: Move file patterns settings to command line argumentsTing-Wei Lan2013-08-031-9/+3
|
* Correct timestamps of extracted directories after all entries are writtenTing-Wei Lan2013-08-032-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 valuesTing-Wei Lan2013-08-032-0/+3
|
* Fix memory leakTing-Wei Lan2013-08-031-1/+0
|
* Complete hard link resolver in AutoarCreateTing-Wei Lan2013-08-031-9/+25
|
* The man pages of libarchive recommend using archive_entry_permTing-Wei Lan2013-08-022-7/+10
|
* Add asynchronous archives creating functionsTing-Wei Lan2013-08-012-0/+21
|
* Add hard link support to AutoarExtractTing-Wei Lan2013-08-011-38/+102
|
* Fix file type error for block devicesTing-Wei Lan2013-08-011-6/+6
|
* Prevent trailing slash in path name and fix symbolic link issuesTing-Wei Lan2013-08-011-14/+37
|
* Do not remove file extension if it is not a regular fileTing-Wei Lan2013-08-011-7/+29
|
* Add testing program for automatic archive creationTing-Wei Lan2013-08-012-2/+79
|
* Fix incorrect data types and wrong file name when the file has no extensionTing-Wei Lan2013-08-013-6/+31
|
* Add AutoarCreate reading and writing support with hard link resolvingTing-Wei Lan2013-08-012-4/+607
| | | | These codes have not been tested, so it may contain serious bugs.
* Fix segmentation fault when destination directory cannot be createdTing-Wei Lan2013-07-311-1/+0
|
* Fix build system after becoming a shared libraryTing-Wei Lan2013-07-3121-89/+247
|
* Add some missing definitions and functionsTing-Wei Lan2013-07-303-8/+87
|
* Move some common functions into separate filesTing-Wei Lan2013-07-294-158/+263
|
* Fix segmentation fault in the previous commitTing-Wei Lan2013-07-291-1/+0
|
* Use g_signal_query to get signal infomationTing-Wei Lan2013-07-291-32/+28
| | | | Remove duplicate code about signal in the source file.
* Remove unneeded memory allocation and copyingTing-Wei Lan2013-07-291-17/+3
|
* Add AutoarCreate boilerplate codeTing-Wei Lan2013-07-283-0/+525
| | | | Many lines are copied or modified from AutoarExtract
* Fix incorrect properties descriptionTing-Wei Lan2013-07-282-3/+16
|
* Add more archive formats from archive.hTing-Wei Lan2013-07-281-10/+21
|
* Reject to copy the source file without doing modificationTing-Wei Lan2013-07-281-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 commitTing-Wei Lan2013-07-281-21/+26
|
* Fix extraction problems for archives containing only one fileTing-Wei Lan2013-07-271-35/+71
|
* Add seek and skip callback functions for libarchiveTing-Wei Lan2013-07-272-19/+126
| | | | Seek callback function is required to extract 7-zip file.
* Fix issues in non-ASCII filenameTing-Wei Lan2013-07-271-1/+5
|
* Fix some typoTing-Wei Lan2013-07-272-11/+11
|
* Show error message in download panel if extraction failedTing-Wei Lan2013-07-271-2/+2
|
* Add asynchronous archives extracting functionsTing-Wei Lan2013-07-263-40/+204
|
* Complete archive preferences support and integrate into AutoarExtractTing-Wei Lan2013-07-227-18/+197
|
* Add AutoarPref settings reading supportTing-Wei Lan2013-07-224-78/+188
| | | | These codes has not been tested, so it may contain serious bugs.
* Add .cpio check when removing the file extensionTing-Wei Lan2013-07-221-5/+4
|
* Use BUILT_SOURCES to fix some build dependencies problemTing-Wei Lan2013-07-212-7/+13
|
* Add AutoarPref boilerplate codeTing-Wei Lan2013-07-216-6/+630
|
* Fix some trivial things in the build systemTing-Wei Lan2013-07-192-5/+15
|
* Ignore unneeded files when extracting filesTing-Wei Lan2013-07-173-13/+77
|
* Set uid / gid when writing filesTing-Wei Lan2013-07-161-10/+88
|
* Change the meaning of size variable in AutoarExtractPrivateTing-Wei Lan2013-07-162-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 programTing-Wei Lan2013-07-154-172/+448
| | | | Several mistakes are discovered and fixed using the testing program.
* Add new function autoar_extract_start to do the extractionTing-Wei Lan2013-07-132-2/+230
| | | | This function is not tested and does not write files to disks currently.
* Implement callback functions for archive_read_openTing-Wei Lan2013-07-122-24/+122
|
* Add AutoarExtract class filesTing-Wei Lan2013-07-093-0/+589
AutoarExtract class is used to handle automatic extraction of archives. Currently only boilerplate code is completed.