aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2007-10-11put only file basename into #line directivesTomas Kukosa1-4/+4
svn path=/trunk/; revision=23146
2007-10-10Improve error msg when libraries out of date.Bill Meier1-1/+1
svn path=/trunk/; revision=23142
2007-10-05do not prepend './' before input file name if -D <dir> option is not usedTomas Kukosa1-3/+4
it made problem with absolute path usage svn path=/trunk/; revision=23068
2007-10-02support of 'ANY DEFINED BY' from X.208 which is obsolete but still used in ↵Tomas Kukosa1-6/+12
some RFCs svn path=/trunk/; revision=23043
2007-09-28Use the tag for downloading.Anders Broman1-2/+2
svn path=/trunk/; revision=23005
2007-09-25Use GTK+ 2.12Anders Broman1-2/+2
svn path=/trunk/; revision=22955
2007-09-24Update from samba tree revision 25198 to 25306Jörg Mayer2-2/+1
============================ Samba log start ============ ------------------------------------------------------------------------ r25301 | jelmer | 2007-09-23 23:35:03 +0200 (Sun, 23 Sep 2007) | 1 line A /branches/SAMBA_4_0/source/libcli/raw/clierror.c (from /branches/SAMBA_4_0/source/libcli/util/clierror.c:25300) D /branches/SAMBA_4_0/source/libcli/util/clierror.c D /branches/SAMBA_4_0/source/libcli/util/nt_status.h D /branches/SAMBA_4_0/source/libcli/util/nterr.h A /branches/SAMBA_4_0/source/libcli/util/ntstatus.h (from /branches/SAMBA_4_0/source/libcli/util/nterr.h:25300) A /branches/SAMBA_4_0/source/libcli/util/werror.h (from /branches/SAMBA_4_0/source/libcli/util/nt_status.h:25300) Merge my includes.h cleanups. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=22939
2007-09-24Add command line switchJörg Mayer1-31/+37
-D dir : Directory for input_file(s) (default: '.') to allow asn2wrs being used in out of tree builds. Beautify -h output a bit. svn path=/trunk/; revision=22938
2007-09-24Update pidl to current samba tree. This changes the licenseJörg Mayer23-1639/+1862
of the *tool* to GPLv3. The license of the generated code is is most likely not affected (see mail on wireshark-dev from Jelmer). Update from samba tree revision 23750 to 25198 ============================ Samba log start ============ ------------------------------------------------------------------------ r23792 | tridge | 2007-07-10 04:07:03 +0200 (Tue, 10 Jul 2007) | 6 lines convert Samba4 to GPLv3 There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. ------------------------------------------------------------------------ r24407 | metze | 2007-08-14 13:50:45 +0200 (Tue, 14 Aug 2007) | 6 lines $element->{ARRAY_LEN} doesn't exist... and a few lines above we use $element->{ORIGINAL}->{ARRAY_LEN} I assume it was just forgotten in the update. metze ------------------------------------------------------------------------ r24446 | metze | 2007-08-15 08:08:02 +0200 (Wed, 15 Aug 2007) | 4 lines We only need one genric GenerateFunctionInEnv function metze ------------------------------------------------------------------------ r24447 | metze | 2007-08-15 10:55:16 +0200 (Wed, 15 Aug 2007) | 3 lines fix samba3-cli pidl tests metze ------------------------------------------------------------------------ r24452 | metze | 2007-08-15 11:18:25 +0200 (Wed, 15 Aug 2007) | 4 lines bail out instead of only giving a warning on incorrect idl files metze ------------------------------------------------------------------------ r24454 | metze | 2007-08-15 12:23:28 +0200 (Wed, 15 Aug 2007) | 3 lines when level 0 is a pointer we need to look for an array in level 1... metze ------------------------------------------------------------------------ r24463 | metze | 2007-08-15 16:02:23 +0200 (Wed, 15 Aug 2007) | 4 lines we have a function to correctly create an $env object so don't try it manually and introduce bugs:-) metze ------------------------------------------------------------------------ r24482 | metze | 2007-08-16 12:07:19 +0200 (Thu, 16 Aug 2007) | 3 lines white space cleanup only... metze ------------------------------------------------------------------------ r24484 | metze | 2007-08-16 12:54:11 +0200 (Thu, 16 Aug 2007) | 3 lines pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm metze ------------------------------------------------------------------------ r24487 | metze | 2007-08-16 15:27:41 +0200 (Thu, 16 Aug 2007) | 3 lines fix formating and add defined($opt_header) metze ------------------------------------------------------------------------ r24488 | metze | 2007-08-16 15:29:38 +0200 (Thu, 16 Aug 2007) | 3 lines enum's and bitmap's not have nested types metze ------------------------------------------------------------------------ r24489 | metze | 2007-08-16 15:34:54 +0200 (Thu, 16 Aug 2007) | 4 lines only typedef enum { ... } foo; enum's should look for has_properties() of $enum->{PARENT} metze ------------------------------------------------------------------------ r24490 | metze | 2007-08-16 15:39:30 +0200 (Thu, 16 Aug 2007) | 8 lines For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn() so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn(). Also the base_type() property isn't standard IDL and we should not support it. This changes TDR enum to also to default to uint16 (as with NDR enums). metze ------------------------------------------------------------------------ r24492 | metze | 2007-08-16 15:41:48 +0200 (Thu, 16 Aug 2007) | 4 lines Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree not the $pidl tree anymore. metze ------------------------------------------------------------------------ r24493 | metze | 2007-08-16 16:42:22 +0200 (Thu, 16 Aug 2007) | 11 lines - it turns out that foreach my $e (@{$union->{ELEMENTS}}) { changes $union->{ELEMENTS} from undef into an empty array. this removes the difference between struct foo { }; and struct foo; So we need to explicit return before. - we should return the same element for layout for structs and unions with no elements. - fix the testsuite to match metze ------------------------------------------------------------------------ r24505 | metze | 2007-08-17 09:06:02 +0200 (Fri, 17 Aug 2007) | 3 lines pass down $fn one level metze ------------------------------------------------------------------------ r24506 | metze | 2007-08-17 09:46:34 +0200 (Fri, 17 Aug 2007) | 3 lines pass $fn down one more layer metze ------------------------------------------------------------------------ r24507 | metze | 2007-08-17 10:05:57 +0200 (Fri, 17 Aug 2007) | 3 lines pass $d down to HeaderTypedef metze ------------------------------------------------------------------------ r24508 | metze | 2007-08-17 10:47:38 +0200 (Fri, 17 Aug 2007) | 3 lines add HeaderTypeNew() which will go if everything is converted metze ------------------------------------------------------------------------ r24509 | metze | 2007-08-17 11:01:19 +0200 (Fri, 17 Aug 2007) | 4 lines pass down the full ndr elements instead of the old pidl elements from ->{ORIGINAL} metze ------------------------------------------------------------------------ r24511 | metze | 2007-08-17 11:12:13 +0200 (Fri, 17 Aug 2007) | 3 lines pass the correct thing to fatal() metze ------------------------------------------------------------------------ r24514 | metze | 2007-08-17 13:09:46 +0200 (Fri, 17 Aug 2007) | 3 lines IS_* elemements sound be perl integers consistantly... metze ------------------------------------------------------------------------ r24515 | metze | 2007-08-17 13:24:25 +0200 (Fri, 17 Aug 2007) | 3 lines use fatal() wrapper instead of die() directly metze ------------------------------------------------------------------------ r24516 | metze | 2007-08-17 14:04:41 +0200 (Fri, 17 Aug 2007) | 3 lines don't use ->{ORIGINAL} metze ------------------------------------------------------------------------ r24517 | metze | 2007-08-17 14:55:47 +0200 (Fri, 17 Aug 2007) | 4 lines move skipping pointer before an array logic into the pointer loop as we do in other places metze ------------------------------------------------------------------------ r24518 | metze | 2007-08-17 15:01:51 +0200 (Fri, 17 Aug 2007) | 4 lines get rid of using ->{ORIGINAL} and move stuff into subfunctions metze ------------------------------------------------------------------------ r24520 | metze | 2007-08-17 15:08:00 +0200 (Fri, 17 Aug 2007) | 4 lines make use of the new ElementStars() and ArrayBrackets() functions metze ------------------------------------------------------------------------ r24521 | metze | 2007-08-17 15:42:09 +0200 (Fri, 17 Aug 2007) | 3 lines we don't yet have optional args to DeclLong() metze ------------------------------------------------------------------------ r24522 | metze | 2007-08-17 15:45:18 +0200 (Fri, 17 Aug 2007) | 3 lines make the "skip pointer to an array" logic a bit easier metze ------------------------------------------------------------------------ r24523 | metze | 2007-08-17 15:47:03 +0200 (Fri, 17 Aug 2007) | 4 lines we don't support multi-dimentional [out] arrays for the samba3 server stubs yet, so bail out. metze ------------------------------------------------------------------------ r24524 | metze | 2007-08-17 15:53:12 +0200 (Fri, 17 Aug 2007) | 3 lines make use of ElementStars() metze ------------------------------------------------------------------------ r24535 | metze | 2007-08-18 12:30:40 +0200 (Sat, 18 Aug 2007) | 4 lines rename struct dcerpc_interface_call -> struct ndr_interface_call and move it to librpc/ndr/libndr.h metze ------------------------------------------------------------------------ r24540 | metze | 2007-08-18 14:25:37 +0200 (Sat, 18 Aug 2007) | 4 lines rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list into ndr_interface_string_array and move it to libndr.h metze ------------------------------------------------------------------------ r24551 | metze | 2007-08-19 22:46:45 +0200 (Sun, 19 Aug 2007) | 6 lines rename dcerpc_interface_table -> ndr_interface_table rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze ------------------------------------------------------------------------ r24557 | metze | 2007-08-19 23:23:03 +0200 (Sun, 19 Aug 2007) | 3 lines rename 'dcerpc_table_' -> 'ndr_table_' metze ------------------------------------------------------------------------ r24560 | metze | 2007-08-20 00:09:21 +0200 (Mon, 20 Aug 2007) | 3 lines rename some DCERPC_ prefixes into NDR_ metze ------------------------------------------------------------------------ r24563 | metze | 2007-08-20 00:23:17 +0200 (Mon, 20 Aug 2007) | 3 lines remove unused DCERPC specific stuff from the generated NDR code metze ------------------------------------------------------------------------ r24592 | metze | 2007-08-21 14:19:56 +0200 (Tue, 21 Aug 2007) | 4 lines pass down the ndr_interface_table in the samba3 client bindings instead of the pull and push functions metze ------------------------------------------------------------------------ r24596 | metze | 2007-08-21 16:06:33 +0200 (Tue, 21 Aug 2007) | 7 lines - talloc request structure for the samba3 server bindings and make that the primary context for the request which the implementations can also use. - go via functions pointers in the ndr_interface_table instead of calling functions directly. metze ------------------------------------------------------------------------ r24717 | jelmer | 2007-08-27 20:43:18 +0200 (Mon, 27 Aug 2007) | 2 lines D /branches/SAMBA_4_0/BRANCH.TODO Some more easy bool conversions, update TODO for registry ------------------------------------------------------------------------ r24721 | jelmer | 2007-08-27 21:47:23 +0200 (Mon, 27 Aug 2007) | 1 line Avoid True and False because they are only available within Samba. ------------------------------------------------------------------------ r24812 | jelmer | 2007-08-31 00:25:59 +0200 (Fri, 31 Aug 2007) | 1 line Fix headers for external users. ------------------------------------------------------------------------ r24815 | jelmer | 2007-08-31 02:03:54 +0200 (Fri, 31 Aug 2007) | 1 line Support cpp_quote(). ------------------------------------------------------------------------ r24816 | jelmer | 2007-08-31 02:31:32 +0200 (Fri, 31 Aug 2007) | 4 lines D /branches/SAMBA_4_0/source/include/core.h Move the rest of the contents of core.h to more appropriate places. include/ now only contains build system related headers, all other headers are now near the source code they're related to. ------------------------------------------------------------------------ r24983 | metze | 2007-09-06 15:48:01 +0200 (Thu, 06 Sep 2007) | 4 lines setup the correct talloc name for structures used in the generated server stubs metze ------------------------------------------------------------------------ r25114 | metze | 2007-09-12 14:31:19 +0200 (Wed, 12 Sep 2007) | 7 lines handle structs and unions without typedefs better in can_contain_deffered() jelmer: we need to handle this more genericly, I assume we have a lot of other related bugs metze ------------------------------------------------------------------------ r25166 | jelmer | 2007-09-14 20:06:51 +0200 (Fri, 14 Sep 2007) | 1 line Simplify can_contain_deferred and add tests for it. ------------------------------------------------------------------------ r25168 | jelmer | 2007-09-14 20:26:23 +0200 (Fri, 14 Sep 2007) | 1 line Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel. ------------------------------------------------------------------------ r25185 | jelmer | 2007-09-16 01:03:34 +0200 (Sun, 16 Sep 2007) | 1 line Check that can_contain_deferred returns true if one of the members of a type can contain deferred data. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=22935
2007-09-24ome files were left even after "make maintainer-clean". FoundJörg Mayer2-0/+4
with "svn status --no-ignore". svn path=/trunk/; revision=22932
2007-09-02Verify existence of required downloaded library packages during make after ↵Bill Meier1-1/+14
Makefile.nmake updated svn path=/trunk/; revision=22769
2007-08-30Clean up "setuid-root.pl" when we do "make distclean".Guy Harris1-0/+3
svn path=/trunk/; revision=22757
2007-08-30Huh. Fetch setuid-root.pl.in from srcdir instead.Stig Bjørlykke1-2/+1
svn path=/trunk/; revision=22754
2007-08-30Added setuid-root.pl.in to EXSTRA_DISTStig Bjørlykke1-0/+1
svn path=/trunk/; revision=22753
2007-08-30Add the setuid script missing from my last checkin.Gerald Combs1-0/+80
svn path=/trunk/; revision=22736
2007-08-30Change the "--enable-setuid-install" option to install dumpcap and TSharkGerald Combs1-0/+9
setuid instead of Wireshark. Remove the "DANGEROUS" notices, but leave it disabled by default. Whine if the user runs Wireshark or TShark as root. Add a preference to disable the whining. Add a "setuid-root" script that can be used to switch dumpcap and TShark's setuid-ness on and off for development and testing. Update the release notes and README.packaging. svn path=/trunk/; revision=22733
2007-08-29new directive #.ASSIGN_VALUE_TO_TYPETomas Kukosa1-5/+13
svn path=/trunk/; revision=22725
2007-08-24Make Windows path separator look like Unix path separator.Jörg Mayer1-1/+2
That way, we will not have irrelevant diffs depending on the platform the last submitter built the dissector on. svn path=/trunk/; revision=22624
2007-08-23Don't rename to self when fuzz err; enable ^C file cleanup trapBill Meier1-5/+3
svn path=/trunk/; revision=22601
2007-08-15As discussed on the -dev list quite a while ago: a small tool to check ↵Jeff Morriss1-0/+164
Wireshark code (or at least parts of it) for "bad" things (C++ style comments and API/function calls that should not be used). I'm checking in because I almost missed some C++ style comments in a file I was contemplating checking in; this tool can help us (at least me) avoid such problems in the future. svn path=/trunk/; revision=22509
2007-08-13NBAP rewritten to use original ASN.1 source and updated to TS 25.433 V7.5.0 ↵Tomas Kukosa1-1/+1
(2007-06) svn path=/trunk/; revision=22490
2007-08-10Use the latest GTK2 packagesAnders Broman1-1/+1
svn path=/trunk/; revision=22482
2007-08-041989 was quite a while ago. We use function prototypes extensively;Guy Harris1-1/+1
don't worry about YY_PROTO, which isn't defined with the newer shinier versions of Flex. svn path=/trunk/; revision=22450
2007-08-04Sigh, crufty old shells. The Solaris test(1) manual says thatGuy Harris1-1/+1
1) "-e" isn't supported by good old /bin/sh, so we use "-r" instead; 2) "The algorithm for determining the precedence of the operators and the return value that will be generated is based on the number of arguments presented to test", so we explicitly parenthesize. svn path=/trunk/; revision=22448
2007-08-04Oops, forgot to check in the script for running Flex/Lex.Guy Harris1-0/+159
svn path=/trunk/; revision=22447
2007-08-04Add a script as a front-end for Flex, to work around various problems,Guy Harris1-0/+1
such as the fact that Flex strips all but the last component of the "-o" argument, and that it doesn't generate a header file to declare routines the generated lexical analyzer defines. Use that script when building lexical analyzers, and, for each lexical analyzer, include the generated header file in the generated analyzer. svn path=/trunk/; revision=22446
2007-07-31If YY_SKIP_YYWRAP is defined, don't bother defining WRAP_FUNC - withGuy Harris1-5/+6
flex 2.5.31, WRAP_FUNC will end up being defined as a value that, when used as a function-style macro, expands to 1, so the definition of WRAP_FUNC will get a syntax error. svn path=/trunk/; revision=22428
2007-07-30H.450 regenerated from original ASN.1 sourcesTomas Kukosa1-28/+28
svn path=/trunk/; revision=22417
2007-07-20QSIG fully implementedTomas Kukosa1-12/+23
svn path=/trunk/; revision=22361
2007-07-19change QSIG tables structure so as they can be generated automatically from ↵Tomas Kukosa1-13/+50
ASN.1 in the next step svn path=/trunk/; revision=22354
2007-07-17support for syntax of TYPE-IDENTIFIER and ABSTRACT-SYNTAX classesTomas Kukosa1-56/+95
svn path=/trunk/; revision=22332
2007-07-08Update from samba tree revision 23135 to 23750Jörg Mayer3-14/+14
============================ Samba log start ============ ------------------------------------------------------------------------ r23677 | abartlet | 2007-07-03 09:28:46 +0200 (Tue, 03 Jul 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/tests/ndr_align.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl When I removed data_blob_equal, I clearly didn't test the PIDL code. Fix these to use the new data_blob_cmp() Andrew Bartlett ------------------------------------------------------------------------ r23721 | sahlberg | 2007-07-05 09:19:14 +0200 (Thu, 05 Jul 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm For unions, The TAG and the ARM are aligned independently. Move emitting ALIGN_TO_x_BYTES to after the tag has been dissected so the alignment only affects the ARM. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=22268
2007-07-03small changes in value reference handling and parameterized object ↵Tomas Kukosa1-18/+38
assignment handling svn path=/trunk/; revision=22234
2007-07-02- HSTRING value supportTomas Kukosa1-5/+11
- accept any type in CONSTRAINED BY svn path=/trunk/; revision=22232
2007-07-02register type of OPERATION fields &ArgumentType and &ResultType and ERROR ↵Tomas Kukosa1-4/+40
field &ParemeterType if other type than Typereference is used svn path=/trunk/; revision=22230
2007-06-29- implementation of OPERATION and ERROR objects support startedTomas Kukosa1-37/+262
- new #.TABLE... directives to printout objects into output files svn path=/trunk/; revision=22223
2007-06-27check conflict in CLASS fields redefinitionTomas Kukosa1-3/+19
svn path=/trunk/; revision=22203
2007-06-27- INSTANCE OF type supportTomas Kukosa1-16/+69
- fix bug in empty SET handling - partial support for OpenTypeFieldVal - allow useful object classes in ObjectFieldSpec and ObjectSetFieldSpec svn path=/trunk/; revision=22202
2007-06-25comment out some forgotten debug printoutsTomas Kukosa1-3/+2
svn path=/trunk/; revision=22185
2007-06-25- fix field type FT_... for SelectionTypeTomas Kukosa1-5/+24
- fix OPTIONAL handling in CLASS definition - Q.932 ROS regenerated svn path=/trunk/; revision=22184
2007-06-07- improve compilation (passing type information) if modules are not merged ↵Tomas Kukosa1-20/+82
with -p option - start "module grouping" compilation feature svn path=/trunk/; revision=22063
2007-06-06build-in OPERATION and ERROR classes definitionTomas Kukosa1-2/+36
svn path=/trunk/; revision=22056
2007-06-06use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)Tomas Kukosa1-3/+4
svn path=/trunk/; revision=22054
2007-06-05replace '&' with '_' in asn2c() functionTomas Kukosa1-1/+1
svn path=/trunk/; revision=22046
2007-06-05not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 typesTomas Kukosa1-6/+8
it makes interconnection between .cnf file and ASN.1 source more readable (changes for #.FN_BODY will follow) svn path=/trunk/; revision=22043
2007-06-05few small changes to compile INAP (Q.1248.x) from original ASN.1 sourceTomas Kukosa1-11/+66
svn path=/trunk/; revision=22042
2007-06-04- CLASS definitions support including exports through the *-exp.cnf fileTomas Kukosa1-84/+405
- support of extension in middle of SEQUENCE root elements - new option EMBEDDED_PDV_CB to set default callback - ChoiceValue support at syntax level - ValueSet support at syntax level - exception identifier support - ValueFromObject support at syntax level - next minor changes (to compile X.880 and INAP) - dissectors using classes regenerated svn path=/trunk/; revision=22036
2007-06-03INAP:Anders Broman1-1/+12
- Use (some) IN CS4 asn1 files Q.1248.1 Q.1248.2 Q.1248.3 BER/asn2wrs: - Add basic support for EmbeddedPDVType svn path=/trunk/; revision=22031
2007-06-02Syntax suport for Embedded pdv.Anders Broman1-2/+24
svn path=/trunk/; revision=22025
2007-05-30- fix bug in TaggedType supportTomas Kukosa1-0/+4
svn path=/trunk/; revision=22003