Displaying 20 results from an estimated 81 matches for "generator_types".
2012 Jan 11
2
Testing github pull requests
I've sent a github pull request containing this patch here:
https://github.com/libguestfs/libguestfs/pull/1
I'm interested to know if this interface could be useful to the project. We
should be wary, though, of tying useful development history in the form of
review discussion into github's proprietary system. Your thoughts are
appreciated.
Incidentally, I'm also looking for ACKs
2012 Jan 16
1
[PATCH] generator: Add an explicit Cancellable flag
...which takes a FileIn or FileOut parameter is implicitly
cancellable. This change make cancellable an explicit flag in anticipation of it
being added to other apis.
---
generator/generator_actions.ml | 53 ++++++++++++++++++++++++++-------------
generator/generator_checks.ml | 3 +-
generator/generator_types.ml | 1 +
3 files changed, 38 insertions(+), 19 deletions(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index 5bb02f7..d7d3470 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -58,7 +58,7 @@ let test_all_rets = [
]
let t...
2012 Feb 23
1
[PATCH v2] Add a flag to make some functions called only at CONFIG state(RHBZ796520)
...should be called only at CONFIG state(RHBZ796520).
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
generator/generator_actions.ml | 44 ++++++++++++++++++++--------------------
generator/generator_c.ml | 8 ++++++-
generator/generator_checks.ml | 1 +
generator/generator_types.ml | 2 +
4 files changed, 32 insertions(+), 23 deletions(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index d9bd356..53a9607 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -112,7 +112,7 @@ You probably don't want to...
2012 Jan 09
1
[PATCH 1/2] generator: Rename java_structs to camel_structs to better reflect their purpose
...to %s" typ
let cols_of_struct typ =
try List.assoc typ structs
diff --git a/generator/generator_structs.mli b/generator/generator_structs.mli
index 66ae2ea..f47a9ad 100644
--- a/generator/generator_structs.mli
+++ b/generator/generator_structs.mli
@@ -26,8 +26,8 @@ type cols = (string * Generator_types.field) list
val structs : (string * cols) list
(** List of structures. *)
-val java_structs : (string * string) list
-(** Of course, Java has to be different from everyone else. *)
+val camel_structs : (string * string) list
+(** For bindings which want camel case struct names *)
val lvm_pv_...
2012 Jan 20
11
[PATCH 01/10] Revert "Revert "generator: Add CamelName flag""
This reverts commit 3f6ca541c7b24d4c86688a509582cb41a7e0078c.
The original commit was reverted prematurely.
---
generator/generator_actions.ml | 10 +++++-----
generator/generator_checks.ml | 5 +++++
generator/generator_types.ml | 3 +++
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index 56691c5..d2e9f67 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -6189,7 +6189,7 @@ Note that for large devices...
2011 Nov 10
5
[PATCH v2] Add tune2fs command.
The changes since the previous patch:
- safe ADD_ARG macro for adding arguments to a fixed size stack array
- support for testing functions that return RHashtable, ie. tune2fs-l.
- add tests that set (tune2fs) and get (tune2fs-l) various parameters.
- only one 'intervalbetweenchecks' parameter (in seconds)
Rich.
2010 Oct 21
2
[PATCH 0/2] First part of fix for CVE-2010-3851
These two patches implement the first (and hardest) part of the fix
for CVE-2010-3851.
This adds a way to specify the format when adding a drive, avoiding
qemu's auto-detection.
In order to avoid an explosion of different add_drive_* functions (we
have 4 already), we have implemented a way to specify optional
arguments to functions, so all we need is a single new
'add_drive_opts'
2011 Mar 07
1
[PATCH] generator: Introduce error code (errcode) concept.
.../generator_java.ml | 85 +++++++++++++++------------
generator/generator_ocaml.ml | 58 ++++++++++--------
generator/generator_php.ml | 57 ++++++++++--------
generator/generator_python.ml | 46 ++++++++------
generator/generator_ruby.ml | 40 +++++++-----
generator/generator_types.ml | 4 +-
generator/generator_utils.ml | 17 +++++-
generator/generator_utils.mli | 13 ++++-
11 files changed, 315 insertions(+), 223 deletions(-)
diff --git a/generator/generator_c.ml b/generator/generator_c.ml
index 99cf327..9b88376 100644
--- a/generator/generator_c.ml
+++ b...
2011 Mar 10
1
[PATCH for discussion only] New event API (RHBZ#664558).
...hanged, 609 insertions(+), 148 deletions(-)
create mode 100644 generator/generator_events.ml
create mode 100644 src/events.c
diff --git a/generator/.depend b/generator/.depend
index 4ea8040..afd1c1e 100644
--- a/generator/.depend
+++ b/generator/.depend
@@ -21,6 +21,8 @@ generator_optgroups.cmx: generator_types.cmx generator_actions.cmx
generator_prepopts.cmi:
generator_prepopts.cmo: generator_prepopts.cmi
generator_prepopts.cmx: generator_prepopts.cmi
+generator_events.cmo: generator_utils.cmi
+generator_events.cmx: generator_utils.cmx
generator_pr.cmi:
generator_pr.cmo: generator_utils.cmi generato...
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880
https://bugzilla.redhat.com/show_bug.cgi?id=847881
This patch series adds various optional arguments to the tar-in and
tar-out commands.
Firstly (1/7) an optional "compress" flag is added to select
compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out
deprecated, and expands the range of compression types available.
2012 Jul 14
6
[PATCH 0/6] Allow non-optargs functions to gain optional arguments.
This rather complex set of patches allow non-optargs functions to gain
optional arguments, while preserving source and binary backwards
compatibility.
The problem is that we cannot add an optional argument to an existing
function. For example, we might want to add flags to the 'lvresize'
API which currently has no optional arguments.
2012 Apr 26
3
[PATCH 1/3] gobject: NFC generated code formatting fix
---
generator/generator_gobject.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml
index e4c175b..48ddbf0 100644
--- a/generator/generator_gobject.ml
+++ b/generator/generator_gobject.ml
@@ -391,7 +391,7 @@ let generate_gobject_optargs_source name optargs flags () =
pr "G_DEFINE_TYPE(%s, guestfs_%s,
2012 Jan 17
3
GObject bindings
This is the first iteration of the GObject bindings. I have 'kicked the tyres'
on these, meaning I have ensured that a bunch of basic manual tests work as
expected. I'm in the process of adding more comprehensive tests.
Here's an example simple javascript program which uses these bindings:
===
const Guestfs = imports.gi.Guestfs;
print('Starting');
var g = new
2011 Mar 04
1
builder-debian libguestfs FAILED build step eda9826d25336bcf661700270c580d4d62128750
...ke[1]: Leaving directory `/home/rjones/d/libguestfs/ocaml/examples'
Making clean in ocaml
make[1]: Entering directory `/home/rjones/d/libguestfs/ocaml'
make -C ../generator stamp-generator
make[2]: Entering directory `/home/rjones/d/libguestfs/generator'
rm -f .depend .depend-t
ocamldep generator_types.ml generator_utils.mli generator_utils.ml generator_actions.mli generator_actions.ml generator_structs.mli generator_structs.ml generator_api_versions.mli generator_api_versions.ml generator_optgroups.ml generator_prepopts.mli generator_prepopts.ml generator_pr.mli generator_pr.ml generator_docstri...
2011 Mar 29
1
builder-debian libguestfs FAILED build step 58f7a5a4ac8cce77dfaded1c29f3ad382b4cc9a8
...ke[1]: Leaving directory `/home/rjones/d/libguestfs/ocaml/examples'
Making clean in ocaml
make[1]: Entering directory `/home/rjones/d/libguestfs/ocaml'
make -C ../generator stamp-generator
make[2]: Entering directory `/home/rjones/d/libguestfs/generator'
rm -f .depend .depend-t
ocamldep generator_types.ml generator_utils.mli generator_utils.ml generator_actions.mli generator_actions.ml generator_structs.mli generator_structs.ml generator_api_versions.mli generator_api_versions.ml generator_optgroups.ml generator_prepopts.mli generator_prepopts.ml generator_events.ml generator_pr.mli generator_pr....
2011 Apr 01
0
builder-debian libguestfs FAILED build step 05dbe09a5c5be3d5f68dc6eb033c4f642fbac8bf
...ke[1]: Leaving directory `/home/rjones/d/libguestfs/ocaml/examples'
Making clean in ocaml
make[1]: Entering directory `/home/rjones/d/libguestfs/ocaml'
make -C ../generator stamp-generator
make[2]: Entering directory `/home/rjones/d/libguestfs/generator'
rm -f .depend .depend-t
ocamldep generator_types.ml generator_utils.mli generator_utils.ml generator_actions.mli generator_actions.ml generator_structs.mli generator_structs.ml generator_api_versions.mli generator_api_versions.ml generator_optgroups.ml generator_prepopts.mli generator_prepopts.ml generator_events.ml generator_pr.mli generator_pr....
2011 Mar 25
1
builder-debian libguestfs FAILED build step a0e3b2183733c7440ad017c4ffe361935672339b
...ke[1]: Leaving directory `/home/rjones/d/libguestfs/ocaml/examples'
Making clean in ocaml
make[1]: Entering directory `/home/rjones/d/libguestfs/ocaml'
make -C ../generator stamp-generator
make[2]: Entering directory `/home/rjones/d/libguestfs/generator'
rm -f .depend .depend-t
ocamldep generator_types.ml generator_utils.mli generator_utils.ml generator_actions.mli generator_actions.ml generator_structs.mli generator_structs.ml generator_api_versions.mli generator_api_versions.ml generator_optgroups.ml generator_prepopts.mli generator_prepopts.ml generator_events.ml generator_pr.mli generator_pr....
2011 Apr 01
0
builder-ubuntu libguestfs FAILED build step 8bb22a2902fc723eb809086dd93f5b8ed2ec85b1
...ke[1]: Leaving directory `/home/rjones/d/libguestfs/ocaml/examples'
Making clean in ocaml
make[1]: Entering directory `/home/rjones/d/libguestfs/ocaml'
make -C ../generator stamp-generator
make[2]: Entering directory `/home/rjones/d/libguestfs/generator'
rm -f .depend .depend-t
ocamldep generator_types.ml generator_utils.mli generator_utils.ml generator_actions.mli generator_actions.ml generator_structs.mli generator_structs.ml generator_api_versions.mli generator_api_versions.ml generator_optgroups.ml generator_prepopts.mli generator_prepopts.ml generator_events.ml generator_pr.mli generator_pr....
2011 Jun 21
1
builder-debian libguestfs FAILED build step e1e78bcef5e4654bd2456bd696840329359d35cd
...ke[1]: Leaving directory `/home/rjones/d/libguestfs/ocaml/examples'
Making clean in ocaml
make[1]: Entering directory `/home/rjones/d/libguestfs/ocaml'
make -C ../generator stamp-generator
make[2]: Entering directory `/home/rjones/d/libguestfs/generator'
rm -f .depend .depend-t
ocamldep generator_types.ml generator_utils.mli generator_utils.ml generator_actions.mli generator_actions.ml generator_structs.mli generator_structs.ml generator_api_versions.mli generator_api_versions.ml generator_optgroups.ml generator_prepopts.mli generator_prepopts.ml generator_events.ml generator_pr.mli generator_pr....
2011 Jul 08
1
builder-debian libguestfs FAILED build step ebe3d8f43a0ab7f60f3c1c612f117e793179f644
...ke[1]: Leaving directory `/home/rjones/d/libguestfs/ocaml/examples'
Making clean in ocaml
make[1]: Entering directory `/home/rjones/d/libguestfs/ocaml'
make -C ../generator stamp-generator
make[2]: Entering directory `/home/rjones/d/libguestfs/generator'
rm -f .depend .depend-t
ocamldep generator_types.ml generator_utils.mli generator_utils.ml generator_actions.mli generator_actions.ml generator_structs.mli generator_structs.ml generator_api_versions.mli generator_api_versions.ml generator_optgroups.ml generator_prepopts.mli generator_prepopts.ml generator_events.ml generator_pr.mli generator_pr....