commit e944720de06adb5cdc907537f896c56681dac882 Author: Alberto Bertogli Date: Mon Mar 2 21:01:01 2009 -0200 libjio 0.24 Release 0.24. This patch also changes the UPGRADING document to correct a version typo. Signed-off-by: Alberto Bertogli commit 6deb15627f906e2728a91753520f7eb49013ba18 Author: Alberto Bertogli Date: Mon Mar 2 03:48:40 2009 -0200 Documentation overhaul This patch is a much-needed documentation overhaul. It changes the documentation format from LyX to rst, updates all the important docs, and removes the redundant ones. Signed-off-by: Alberto Bertogli commit f4f54460bfe2fd3321da7ed0e3c51d167094066f Author: Alberto Bertogli Date: Sun Mar 1 22:37:53 2009 -0200 Clarify some sanity checks in fill_trans() This patch rewrites some of the checks in fill_trans() to make them more clear and readable. While at it, fix a minor coding style deviation. Signed-off-by: Alberto Bertogli commit 5b2cc6ff1001a637c350a0491db7f44b2a32ec1b Author: Alberto Bertogli Date: Sun Mar 1 22:37:15 2009 -0200 Remove *.gcda files when doing make clean They're generated by profile runs. Signed-off-by: Alberto Bertogli commit 991c13f664a12858f32974df952e531c42a63f7f Author: Alberto Bertogli Date: Sun Mar 1 22:36:40 2009 -0200 Split Makefile's DEBUG into DEBUG and PROFILE There is no reason why a debug build should include the profile compiler options, it just adds noise. This patch decouples the DEBUG option into DEBUG and PROFILE. Signed-off-by: Alberto Bertogli commit 7b27277aed27424d3563aad21159926cf0334846 Author: Alberto Bertogli Date: Fri Feb 27 13:18:28 2009 -0200 jtrans_rollback(): Check if ftruncate() fails Signed-off-by: Alberto Bertogli commit 58faf056fff9f3306faabc99ab24c557ccded737 Author: Alberto Bertogli Date: Thu Feb 26 21:11:26 2009 -0200 Add checks for operations inside jfsck_cleanup() commit 9b42486d89cc99e2d3ba042bf98a9884a75e7a8b Author: Alberto Bertogli Date: Thu Feb 26 20:34:43 2009 -0200 Remove *.gcno in "make clean" Signed-off-by: Alberto Bertogli commit 9ed0e6af25adc463773078d51333a5fbfe49eb9f Author: Alberto Bertogli Date: Thu Feb 26 20:34:20 2009 -0200 Use $(ALL_CFLAGS) when building jiofsck Signed-off-by: Alberto Bertogli commit 0d1bf4cec86ae81df5e0c995025e5a9c07e20d66 Author: Alberto Bertogli Date: Thu Feb 26 20:28:55 2009 -0200 Use the appropriate data types in Python bindings When PyArg_ParseTuple() expects an int, it's better if we really give it an int. Otherwise, if we use a larger data type, we might get garbage because it will assume it's the size of an int. We had some cases when that could happen, and this patch gets rid of them. Signed-off-by: Alberto Bertogli commit 9b6ee79bc86c65a99901c1fca066856b60296761 Author: Alberto Bertogli Date: Wed Feb 25 05:48:31 2009 -0200 In Python bindings, check return values and raise exceptions accordingly commit 95a4c5d5372cd43244c132c80cbef8c4e5956045 Author: Alberto Bertogli Date: Wed Feb 25 05:06:23 2009 -0200 Properly cast buffers in Python bindings Signed-off-by: Alberto Bertogli commit 3aefb8d965efb6646a32459958b64989375d4449 Author: Alberto Bertogli Date: Wed Feb 25 04:33:05 2009 -0200 Initialize jdir properly in Python bindings Otherwise, when we do not get jdir as a parameter, it has rubbish which causes jfsck() and jfsck_cleanup() not to find the journal directory. Signed-off-by: Alberto Bertogli commit e7abd100c45fe57426f6fe37b00a075c66e86287 Author: Alberto Bertogli Date: Wed Feb 25 04:32:37 2009 -0200 Replace malloc() + strcpy() with strdup() Signed-off-by: Alberto Bertogli commit 76715c9ffb5983a40867376f14f0474a9e685208 Author: Alberto Bertogli Date: Wed Feb 25 04:15:16 2009 -0200 Free a strdup()ed buffer on an error condition Signed-off-by: Alberto Bertogli commit b3617834242ae8330836f305945627da57a62210 Author: Alberto Bertogli Date: Wed Feb 25 04:07:09 2009 -0200 [ABI BREAK] Clarify and improve jfsck()'s return codes The return codes were undocumented, and the Python interface was really unclear. This patch improves all that by properly documenting the possible return values of jfsck(), and uses them in the Python bindings. It breaks the ABI. Signed-off-by: Alberto Bertogli commit 97c8dc5e4894dad4ca71073bf33aed5044d3e5e3 Author: Alberto Bertogli Date: Sun Feb 22 19:36:15 2009 -0200 Add a pkg-config support This patch adds pkg-config support by generating a libjio.pc file and installing it accordingly. Signed-off-by: Alberto Bertogli commit 3fd76c54a0a2cd4a6b611cb428b5143a5f86f6e4 Author: Alberto Bertogli Date: Sun Feb 22 05:09:24 2009 -0200 Split the default CFLAGS in optional and mandatory parts The library cannot be built without some flags, so split CFLAGS in two, making it easier for the user to pass them in the command line without having to include the mandatory ones. While at it, also pass the flags when linking, because there may be relevant flags. We should use LDFLAGS for this, tho; but for now we'll take the simpler approach. Signed-off-by: Alberto Bertogli commit 9143f7fa888869ed2d88a95886f35e089f6948a7 Author: Alberto Bertogli Date: Sun Feb 22 04:35:16 2009 -0200 Make the fact that get_jtfile() cannot fail explicit Since get_jtfile() can't fail, why keep checking for it? Signed-off-by: Alberto Bertogli commit 0cf5dbd40ff3a579208e47eb3260ebf54dfd996e Author: Alberto Bertogli Date: Sun Feb 22 04:20:25 2009 -0200 Improve error handling in free_tid() This patch improves free_tid()'s error handling by detecting when access() fails with anything else but EACCES (which is expected) and leaving the max untouched. get_jtfile() can't fail, so it's not a problem either. While at it, remove some unused assignments. Signed-off-by: Alberto Bertogli commit 38e3f986fc53eaae2c9b5b617c52965d30c7e35e Author: Alberto Bertogli Date: Sun Aug 3 12:33:52 2008 -0300 Remove obsolete utilities Since darcs is not used anymore, and it makes no sense to include these in the repository, remove them. Signed-off-by: Alberto Bertogli commit 220599af3864d11d7bfd6b2bcb810a37752328f0 Author: Alberto Bertogli Date: Fri Jul 25 19:55:54 2008 -0300 By default, hide the compiler line when building It makes the warnings stand out more. If desired, the full line can be shown by building with V=1. Signed-off-by: Alberto Bertogli commit 34f635e2f8474ba89903c5e9b2d822b53c7204bb Author: Alberto Bertogli Date: Fri Jul 25 19:53:51 2008 -0300 Default to build using C99 and -pedantic We use long long, so it makes sense to use the C99 flag. And we always want the compiler to be strict about it, so use -pedantic by default. Signed-off-by: Alberto Bertogli commit 4138295f2cd884439d7cc252adb5012eb35d852f Author: Alberto Bertogli Date: Fri Jul 25 19:46:13 2008 -0300 Unify the Makefile There is no need to keep a separate Make.conf file, so merge it with the Makefile. Signed-off-by: Alberto Bertogli commit 44036b8f98d669ac85fdf36176d4685cb162b97c Author: Alberto Bertogli Date: Fri Jul 25 19:40:31 2008 -0300 Fix _FILE_OFFSET_BITS check in libjio.h The check was wrong; luckily _FILE_OFFSET_BITS is often (if not always) undefined if not set to 64 so there shouldn't be any problems with this change. Signed-off-by: Alberto Bertogli commit d5715e472549de00f68dce5c8c4c07648dd3364a Author: Alberto Bertogli Date: Fri Jul 25 17:55:48 2008 -0300 Change "paralell" into "parallel" Sadly, it was a common typo and requires even a rename. Signed-off-by: Alberto Bertogli commit bebc2aaefd896cd5c78f6c563697527c83b265d3 Author: Alberto Bertogli Date: Fri Jul 25 17:51:55 2008 -0300 Update website and email address. The new website is http://blitiri.com.ar/p/libjio/, and my new email address is albertito@blitiri.com.ar. Signed-off-by: Alberto Bertogli commit 75041d0670514cf3f8335f0370cd4cc2853ed4d5 Author: Alberto Bertogli Date: Thu Mar 13 00:55:26 2008 -0200 Add a .gitignore file commit 8b8c9e1ebadc2034c0ba396e6be4d5e125007586 Author: Alberto Bertogli Date: Sun Jul 15 08:28:30 2007 -0300 Re-license under the OSL 3.0. As I am the sole copyright owner, I'm allowed to upgrade the license to the new version. Signed-off-by: Alberto Bertogli commit 51742931c62f6302f7b9351e12270f5efa3873f9 Author: Alberto Bertogli Date: Fri Mar 30 05:11:55 2007 +0000 Make a prototype more explicit. Signed-off-by: Alberto Bertogli commit 2a09eda4841c67a846a7cdfc5fcf3f02fae58e69 Author: Alberto Bertogli Date: Fri Mar 30 05:10:10 2007 +0000 Cast a parameter in mmap() to properly identify it as a void *. A sparse run complained about the first mmap() parameter (void *start, we have it fixed to 0) is an integer being used as a pointer. We could use NULL, but it might not be 0, and the mmap() manpage recommends it to be 0, so we cast it to a void * instead. Signed-off-by: Alberto Bertogli