summaryrefslogtreecommitdiff
path: root/src/java-utils.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-17Remove unused macrosPablo Barciela1-1/+0
2020-07-31Avoid memory leak in java utilsPavel Shlyak1-1/+3
2019-10-03Set compiler debug flags using MATE_DEBUG_CHECK and update configure summaryrbuj1-1/+2
test: $ ./autogen.sh --enable-debug=profile --prefix=/usr <cut> Configuration: Source code location: . Compiler: gcc Compiler flags: -g -pg Warning flags: -Wall -Wmissing-prototypes Linker flags: -pg Caja support: yes PackageKit support: yes Run in place no Use libmagic: no JSON support: yes Now type `make' to compile engrampa $ ./autogen.sh --enable-debug --prefix=/usr <cut> Configuration: Source code location: . Compiler: gcc Compiler flags: -g -O0 Warning flags: -Wall -Wmissing-prototypes Linker flags: Caja support: yes PackageKit support: yes Run in place no Use libmagic: no JSON support: yes Now type `make' to compile engrampa $ grep MATE_ENABLE_DEBUG config.h
2019-09-22Use g_list_free_full and g_slist_free_fullrbuj1-8/+4
void g_list_free_full (GList *list, GDestroyNotify free_func); void g_slist_free_full (GList *list, GDestroyNotify free_func); Convenience methods, which free all the memory used by a list, and calls free_func on every element's data.
2019-09-02java-utils: Remove blank spaces before reading package namerbuj1-3/+14
Closes https://github.com/mate-desktop/engrampa/issues/291 Test: touch test.txt zip test.zip test.txt mv test.zip test.jar cat << EOF > HelloWorld.java package org.mate.tests; class HelloWorld { public static void main(String args[]) { System.out.println("Hello, World"); } } EOF engrampa -a test.jar HelloWorld.java jar tf test.jar Output: test.txt org/mate/tests/HelloWorld.java
2019-09-01comparison of unsigned expression >= 0 is always truerbuj1-3/+4
java-utils.c:310:23: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] 310 | for (i = length; (i >= 0) && (end == 0); i-- ) | ^~
2019-08-28comparison of integers of different signs: 'int' and 'guint'rbuj1-1/+1
Fix compiler warning: comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare]
2019-07-01Remove trailing whitespacesLaurent Napias1-47/+47
2019-06-11Update FSF addressLaurent Napias1-1/+1
2012-10-09Fixed fsf addresses. Closes #4.Steve Zesch1-1/+1
2011-11-30many renames from file-roller to engrampaStefano Karapetsas1-1/+1
2011-11-09initialPerberos1-0/+441