Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: Rename most C files that contain underscore with dash. | Richard W.M. Jones | 2012-07-19 | 1 | -423/+0 |
| | | | | | | | This is just code motion. Some files cannot be renamed. Notably rpcgen input and output files must not contain dash characters, else rpcgen breaks. | ||||
* | ocaml: Fix parameters to ocaml_guestfs_create. | Richard W.M. Jones | 2012-06-06 | 1 | -3/+3 |
| | | | | The first parameter (not used) is a unit, so declare it properly. | ||||
* | Replace 'int' with 'size_t' passim. | Richard W.M. Jones | 2012-03-13 | 1 | -2/+2 |
| | | | | | Analyze all uses of 'int' in the code, and replace with 'size_t' where appropriate. | ||||
* | Tempus fugit. | Richard W.M. Jones | 2012-01-18 | 1 | -1/+1 |
| | | | | Update all copyright dates to 2012. | ||||
* | ocaml: Memory leak: Free roots array along handle close path. | Richard W.M. Jones | 2011-11-29 | 1 | -0/+1 |
| | |||||
* | ocaml: Fix locking in event callbacks. | Richard W.M. Jones | 2011-07-26 | 1 | -9/+27 |
| | | | | | | | | We weren't acquiring the GC lock around some allocations, resulting in segfaults when an event callback ran at the same time as a main thread allocation or garbage collection. In particular this fixes a noticable crash in guestfs-browser. | ||||
* | ocaml: Bind guestfs_last_errno. | Richard W.M. Jones | 2011-07-16 | 1 | -0/+19 |
| | |||||
* | ocaml: Add binding for guestfs_user_cancel. | Richard W.M. Jones | 2011-07-15 | 1 | -0/+11 |
| | |||||
* | New event API - OCaml bindings (RHBZ#664558). | Richard W.M. Jones | 2011-03-15 | 1 | -37/+158 |
| | | | | | | The functions set_progress_callback and clear_progress_callback have been removed, and replaced with a complete mechanism for setting and deleting general-purpose events. | ||||
* | ocaml: Fix some unused parameter warnings in OCaml bindings. | Richard W.M. Jones | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | ocaml: bindings to progress callback. | Richard Jones | 2010-09-01 | 1 | -2/+91 |
| | |||||
* | ocaml: Fix thread safety of strings in bindings (RHBZ#604691). | Richard Jones | 2010-06-16 | 1 | -9/+6 |
| | | | | | | | | | | | | | | | | | | | | | | There's a thread safety issue with the current OCaml bindings which is well explained in the bug report: https://bugzilla.redhat.com/show_bug.cgi?id=604691 This commit fixes the safety issue by copying strings temporarily before releasing the thread lock. Updated code looks like this: char *filename = guestfs_safe_strdup (g, String_val (filenamev)); int r; caml_enter_blocking_section (); r = guestfs_add_drive_ro (g, filename); caml_leave_blocking_section (); free (filename); if (r == -1) ocaml_guestfs_raise_error (g, "add_drive_ro"); Also included is a regression test. | ||||
* | ocaml: General improvements to generated code. | Richard W.M. Jones | 2009-11-06 | 1 | -0/+11 |
| | |||||
* | ocaml/guestfs_c.c: avoid warning about missing prototypes | Jim Meyering | 2009-08-27 | 1 | -0/+4 |
| | | | | * ocaml/guestfs_c.c (ocaml_guestfs_create, ocaml_guestfs_close): Declare. | ||||
* | ocaml/guestfs_c.c: avoid warning about initialization discarding "const" | Jim Meyering | 2009-08-27 | 1 | -1/+1 |
| | | | | * ocaml/guestfs_c.c (guestfs_custom_operations): Add a cast. | ||||
* | ocaml/guestfs_c.c avoid signed/unsigned-comparison warning | Jim Meyering | 2009-08-27 | 1 | -1/+1 |
| | | | | | * ocaml/guestfs_c.c (ocaml_guestfs_strings_val): Declare index as unsigned int. | ||||
* | always include <config.h> | Jim Meyering | 2009-08-03 | 1 | -0/+1 |
| | | | | | | * ocaml/guestfs_c.c: Include <config.h>. * examples/to-xml.c: Likewise. * examples/hello.c: Likewise. | ||||
* | Backport CAMLreturnT for OCaml <= 3.10 | Richard Jones | 2009-05-06 | 1 | -0/+9 |
| | |||||
* | Use safe_malloc and/or check returns from malloc (Jim Meyering). | Richard Jones | 2009-04-30 | 1 | -3/+7 |
| | |||||
* | Lots, mainly Python bindings. | Richard Jones | 2009-04-13 | 1 | -17/+8 |
| | |||||
* | Added test suite. | Richard Jones | 2009-04-11 | 1 | -0/+26 |
| | |||||
* | OCaml bindings compile. | Richard Jones | 2009-04-08 | 1 | -5/+85 |
| | |||||
* | Outline OCaml bindings. | Richard Jones | 2009-04-07 | 1 | -0/+41 |