- 12 Dec, 2020 2 commits
-
-
Philip Withnall authored
Instead, return `NULL` if the checksum type is unsupported. This may come in useful if we have to withdraw support for a particular checksum type in future, due to it being broken. These semantics were already in place for the return value of `g_checksum_new()` — see commit 877cc60f and bug comment https://bugzilla.gnome.org/show_bug.cgi?id=501853#c6. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org>
-
Philip Withnall authored
This commit only looks at the `Returns:` lines in the documentation, and has examined all of them in the file. Function arguments have not been checked. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org> Helps: #2227
-
- 05 Sep, 2019 1 commit
-
-
Philip Withnall authored
These squash various warnings from `scan-build`. None of them are legitimate bugs, but some of them do improve code readability a bit. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1767
-
- 24 Aug, 2019 1 commit
-
-
Дилян Палаузов authored
-
- 28 Jan, 2019 1 commit
-
-
Emmanuel Fleury authored
glib/gchecksum.c: In function ‘digest_to_string’: glib/gchecksum.c:186:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘gsize’ {aka ‘long unsigned int’} [-Werror=sign-compare] for (i = 0; i < digest_len; i++) ^
-
- 29 Jun, 2018 1 commit
-
-
Philip Withnall authored
They’re all 8 bytes long, and integer constants that large need a suffix on 32-bit platforms. Signed-off-by:
Philip Withnall <withnall@endlessm.com> #977
-
- 20 Mar, 2018 1 commit
-
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
-
- 24 May, 2017 1 commit
-
-
Sébastien Wilmet authored
All glib/*.{c,h} files have been processed, as well as gtester-report. 12 of those files are not licensed under LGPL: gbsearcharray.h gconstructor.h glibintl.h gmirroringtable.h gscripttable.h gtranslit-data.h gunibreak.h gunichartables.h gunicomp.h gunidecomp.h valgrind.h win_iconv.c Some of them are generated files, some are licensed under a BSD-style license and win_iconv.c is in the public domain. Sub-directories inside glib/: deprecated/: processed in a previous commit glib-mirroring-tab/: already LGPLv2.1+ gnulib/: not modified, the code is copied from gnulib libcharset/: a copy pcre/: a copy tests/: processed in a previous commit https://bugzilla.gnome.org/show_bug.cgi?id=776504
-
- 27 Feb, 2017 1 commit
-
-
Philip Withnall authored
This fixes the unit tests after commit 3e32350b rearranged the enum order. Signed-off-by:
Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=771997
-
- 20 Feb, 2017 1 commit
-
-
Igor Gnatenko authored
Signed-off-by:
Igor Gnatenko <ignatenko@src.gnome.org>
-
- 28 Jun, 2014 1 commit
-
-
Allison Karlitskaya authored
We should have done this a decade ago... https://bugzilla.gnome.org/show_bug.cgi?id=730293
-
- 20 Feb, 2014 1 commit
-
-
William Jon McCann authored
Instead of "Return value:".
-
- 31 Jan, 2014 1 commit
-
-
Daniel Mustieles García authored
-
- 21 May, 2013 1 commit
-
-
Dan Winship authored
Back in the far-off twentieth century, it was normal on unix workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027 APOSTROPHE to be drawn as "’". This led to the convention of using them as poor-man's ‛smart quotes’ in ASCII-only text. However, "'" is now universally drawn as a vertical line, and "`" at a 45-degree angle, making them an `odd couple' when used together. Unfortunately, there are lots of very old strings in glib, and also lots of new strings in which people have kept up the old tradition, perhaps entirely unaware that it used to not look stupid. Fix this by just using 'dumb quotes' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=700746
-
- 11 Dec, 2012 1 commit
-
-
Colin Walters authored
In 2.34, g_compute_checksum_for_bytes() was added, but this patch allows binding users to use the incremental update API; this is significantly more efficient than reading entire files into memory. https://bugzilla.gnome.org/show_bug.cgi?id=689982
-
- 21 Nov, 2012 1 commit
-
-
- 06 Aug, 2012 1 commit
-
-
Stef Walter authored
* Add a GBytes based version of g_compute_checksum_for_data() * Add appropriate tests https://bugzilla.gnome.org/show_bug.cgi?id=680912
-
- 05 Apr, 2012 1 commit
-
-
- 28 Jan, 2012 1 commit
-
-
- 13 Nov, 2011 1 commit
-
-
Matthias Clasen authored
Move some things around, make capitalization of short descriptions more consistent.
-
- 19 Sep, 2011 1 commit
-
-
Allison Karlitskaya authored
It looks like this was done just to help people port from gmem to gslice, but nothing in this header actually requires gslice.h to be included.
-
- 09 Jun, 2011 1 commit
-
-
Allison Karlitskaya authored
Just use 'const'. https://bugzilla.gnome.org/show_bug.cgi?id=644611
-
- 15 Mar, 2011 2 commits
-
-
Emmanuele Bassi authored
This reverts commit 36741245. The removal has not been discussed, except on Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=644611
-
Allison Karlitskaya authored
Just use 'const'.
-
- 01 Feb, 2011 1 commit
-
-
Johan Dahlin authored
g-ir-scanner does not allow a space between the : and the section name.
-
- 04 Sep, 2010 1 commit
-
-
Emmanuele Bassi authored
-
- 03 Sep, 2010 1 commit
-
-
Matthias Clasen authored
and clean up some whitespace
-
- 07 Jul, 2010 1 commit
-
-
Allison Karlitskaya authored
-
- 24 Jun, 2010 1 commit
-
-
Allison Karlitskaya authored
Several GChecksum functions were incorrectly aborting when passed a NULL data pointer, even if the length parameter was equal to zero.
-
- 01 Feb, 2010 1 commit
-
-
Allison Karlitskaya authored
-
- 11 Mar, 2009 1 commit
-
-
Stefan Walter authored
See bug #574019 svn path=/trunk/; revision=7971
-
- 23 Feb, 2009 1 commit
-
-
Matthias Clasen authored
* Fix "it's" vs "its" confusion throughout the source. Patch by Will Thompson. svn path=/trunk/; revision=7897
-
- 24 Oct, 2008 1 commit
-
-
Matthias Clasen authored
svn path=/trunk/; revision=7625
-
- 02 Sep, 2008 1 commit
-
-
Michael Natterer authored
2008-09-02 Michael Natterer <mitch@imendio.com> * glib/gchecksum.c (g_checksum_reset): add g_return_if_fail (checksum != NULL) svn path=/trunk/; revision=7423
-
- 22 Jun, 2008 1 commit
-
-
Johan Dahlin authored
2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch svn path=/trunk/; revision=7092
-
- 26 May, 2008 1 commit
-
-
Matthias Clasen authored
svn path=/trunk/; revision=6933
-
- 17 May, 2008 1 commit
-
-
Jeffrey Stedfast authored
2008-05-12 Jeffrey Stedfast <fejj@novell.com> * glib/gchecksum.c (g_checksum_reset): New function to reset the state of a GChecksum. (g_checksum_new): Call g_checksum_reset() instead of duplicating code. svn path=/trunk/; revision=6903
-
- 17 Apr, 2008 1 commit
-
-
Emmanuele Bassi authored
2008-04-17 Emmanuele Bassi <ebassi@gnome.org> * glib/gchecksum.c: (sha_byte_reverse): Use the macro GLib provides for byte-swapping as it can be optimized. (g_checksum_update): Fix a compiler warning. svn path=/trunk/; revision=6861
-
- 28 Feb, 2008 1 commit
-
-
Matthew Barnes authored
2008-02-27 Matthew Barnes <mbarnes@redhat.com> * glib/gchecksum.[ch] (g_checksum_update), (g_compute_checksum_for_string): Make 'length' parameter signed to accomodate passing negative lengths. (#510855) svn path=/trunk/; revision=6600
-
- 30 Jan, 2008 1 commit
-
-
Wouter Bolsterlee authored
2008-01-30 Wouter Bolsterlee <wbolster@svn.gnome.org> * glib/gchecksum.c: * glib/gtestutils.c: * glib/gutils.c: Fixed gtk-doc warnings by updating the documentation of various functions. svn path=/trunk/; revision=6429
-