From 59b13f9a1d684a632c2c73352f0ec08a63bc0913 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 21 Aug 2005 23:30:17 +0000 Subject: r9460: - Move pidl to lib/. This fixes standalone installation of pidl. - Update the README - Allow building the docs stand-alone (This used to be commit b56084ce251ab7a35dd1422f38de258e8e1e1477) --- source4/pidl/lib/Parse/Pidl.pm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 source4/pidl/lib/Parse/Pidl.pm (limited to 'source4/pidl/lib/Parse/Pidl.pm') diff --git a/source4/pidl/lib/Parse/Pidl.pm b/source4/pidl/lib/Parse/Pidl.pm new file mode 100644 index 0000000000..465f3409ad --- /dev/null +++ b/source4/pidl/lib/Parse/Pidl.pm @@ -0,0 +1,16 @@ +################################################### +# package to parse IDL files and generate code for +# rpc functions in Samba +# Copyright tridge@samba.org 2000-2003 +# Copyright jelmer@samba.org 2005 +# released under the GNU GPL + +package Parse::Pidl; + +use strict; + +use vars qw ( $VERSION ); + +$VERSION = '0.01'; + +1; -- cgit From 87fd7b5484b10ccdece6152f2a2a9adb4ea5fc78 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 29 Dec 2005 16:04:34 +0000 Subject: r12574: Bring tables.pl back to life and move registration of interfaces now completely to a new subsystem. (This used to be commit bbacfaaea5819e0ecadf81e8fbb424916284c809) --- source4/pidl/lib/Parse/Pidl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/pidl/lib/Parse/Pidl.pm') diff --git a/source4/pidl/lib/Parse/Pidl.pm b/source4/pidl/lib/Parse/Pidl.pm index 465f3409ad..c60fc59aba 100644 --- a/source4/pidl/lib/Parse/Pidl.pm +++ b/source4/pidl/lib/Parse/Pidl.pm @@ -11,6 +11,6 @@ use strict; use vars qw ( $VERSION ); -$VERSION = '0.01'; +$VERSION = '0.02'; 1; -- cgit From f97f11eab25f0c294ff02b3c4485d7a0a91b5501 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 3 Jan 2007 15:34:01 +0000 Subject: r20511: Combine warnings/errors/fatal functions and move them to Parse::Pidl. (This used to be commit 959adfd0a682a4894c3bdd4ae9c6fc3ebfeeef1f) --- source4/pidl/lib/Parse/Pidl.pm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'source4/pidl/lib/Parse/Pidl.pm') diff --git a/source4/pidl/lib/Parse/Pidl.pm b/source4/pidl/lib/Parse/Pidl.pm index c60fc59aba..249bcd9f20 100644 --- a/source4/pidl/lib/Parse/Pidl.pm +++ b/source4/pidl/lib/Parse/Pidl.pm @@ -7,10 +7,32 @@ package Parse::Pidl; +require Exporter; +@ISA = qw(Exporter); +@EXPORT = qw(warning error fatal); + use strict; use vars qw ( $VERSION ); $VERSION = '0.02'; +sub warning($$) +{ + my ($l,$m) = @_; + print STDERR "$l->{FILE}:$l->{LINE}: warning: $m\n"; +} + +sub error($$) +{ + my ($l,$m) = @_; + print STDERR "$l->{FILE}:$l->{LINE}: error: $m\n"; +} + +sub fatal($$) +{ + my ($e,$s) = @_; + die("$e->{FILE}:$e->{LINE}: $s\n"); +} + 1; -- cgit From 2963c639871665ced7ee0b5afad3406e7496b233 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 5 Jan 2007 14:55:26 +0000 Subject: r20547: Add tests for expected errors/warnings. (This used to be commit 2d960d4d7b0bc39c3ec4c2face546adc2cb345ee) --- source4/pidl/lib/Parse/Pidl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/pidl/lib/Parse/Pidl.pm') diff --git a/source4/pidl/lib/Parse/Pidl.pm b/source4/pidl/lib/Parse/Pidl.pm index 249bcd9f20..a6fc4867c3 100644 --- a/source4/pidl/lib/Parse/Pidl.pm +++ b/source4/pidl/lib/Parse/Pidl.pm @@ -9,7 +9,7 @@ package Parse::Pidl; require Exporter; @ISA = qw(Exporter); -@EXPORT = qw(warning error fatal); +@EXPORT_OK = qw(warning error fatal); use strict; -- cgit From f7ca27b9ca318657b38688bf063a63d96b1e8c3a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 5 Jan 2007 15:03:21 +0000 Subject: r20548: Remove unnecessary "use lib", fix warnings. (This used to be commit 30d721569fdf33e4784eb1f7c650e75ed1b80527) --- source4/pidl/lib/Parse/Pidl.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/pidl/lib/Parse/Pidl.pm') diff --git a/source4/pidl/lib/Parse/Pidl.pm b/source4/pidl/lib/Parse/Pidl.pm index a6fc4867c3..0c6e0e5727 100644 --- a/source4/pidl/lib/Parse/Pidl.pm +++ b/source4/pidl/lib/Parse/Pidl.pm @@ -17,13 +17,13 @@ use vars qw ( $VERSION ); $VERSION = '0.02'; -sub warning($$) +sub warning { my ($l,$m) = @_; print STDERR "$l->{FILE}:$l->{LINE}: warning: $m\n"; } -sub error($$) +sub error { my ($l,$m) = @_; print STDERR "$l->{FILE}:$l->{LINE}: error: $m\n"; -- cgit From 2cf35f206817bfcc77a3f258fe220aac2b6f19a8 Mon Sep 17 00:00:00 2001 From: Julien Kerihuel Date: Fri, 18 Jan 2008 18:30:00 +0100 Subject: pidl: Add --version argument. (This used to be commit ed1e58e8b35bc971451f4e0a357daa903cd7820d) --- source4/pidl/lib/Parse/Pidl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/pidl/lib/Parse/Pidl.pm') diff --git a/source4/pidl/lib/Parse/Pidl.pm b/source4/pidl/lib/Parse/Pidl.pm index 0c6e0e5727..c2c9463d03 100644 --- a/source4/pidl/lib/Parse/Pidl.pm +++ b/source4/pidl/lib/Parse/Pidl.pm @@ -9,7 +9,7 @@ package Parse::Pidl; require Exporter; @ISA = qw(Exporter); -@EXPORT_OK = qw(warning error fatal); +@EXPORT_OK = qw(warning error fatal $VERSION); use strict; -- cgit