Made vigil into a package with a setup.py file.

This commit is contained in:
Andrew Hamilton 2017-06-27 14:03:32 +01:00
parent 49f8d87659
commit 5728e5cff3
135 changed files with 76 additions and 50 deletions

View file

@ -0,0 +1 @@
Verification completed: 0 reported messages

View file

@ -0,0 +1,19 @@
Test results:
No issues identified.
Code scanned:
Total lines of code: 2
Total lines skipped (#nosec): 0
Run metrics:
Total issues (by severity):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Total issues (by confidence):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Files skipped (0):

View file

@ -0,0 +1,19 @@
Test results:
No issues identified.
Code scanned:
Total lines of code: 2
Total lines skipped (#nosec): 0
Run metrics:
Total issues (by severity):
Undefined: 0
Low: 0
Medium: 0
High: 0
Total issues (by confidence):
Undefined: 0
Low: 0
Medium: 0
High: 0
Files skipped (0):

View file

@ -0,0 +1,8 @@
(B#include(B (B<iostream>(B (B
(B (B
(Busing(B (Bnamespace(B std;(B (B
(B (B
(Bint(B (Bmain(B()(B (B
(B{(B (B
(B cout << (B"Hello World"(B << endl;(B
(B}(B (B

View file

@ -0,0 +1,2 @@
(Bdef(B (Bhi(B():(B (B
(B (Bprint(B((B"hi"(B)(B

View file

@ -0,0 +1,132 @@
>> 0 <238> 3340
>> 3 UNARY_POSITIVE
>> 4 BUILD_TUPLE_UNPACK 46083
7 YIELD_VALUE
8 INPLACE_FLOOR_DIVIDE
9 <0>
10 <0>
11 <0>
12 <227> 0
15 <0>
>> 16 <0>
17 <0>
18 <0>
19 <0>
20 <0>
21 <0>
22 <0>
23 <0>
24 <0>
25 ROT_TWO
26 <0>
27 <0>
28 <0>
29 BINARY_AND
30 <0>
31 <0>
32 <0>
33 POP_JUMP_IF_TRUE 16
36 <0>
37 <0>
38 LOAD_CONST 0 (0)
41 LOAD_CONST 1 (1)
44 MAKE_FUNCTION 0
47 STORE_NAME 0 (0)
50 LOAD_CONST 2 (2)
53 RETURN_VALUE
54 <41>
55 ROT_THREE
56 <99> 0
59 <0>
60 <0>
61 <0>
62 <0>
63 <0>
64 <0>
65 <0>
66 <0>
67 <0>
68 <0>
69 ROT_TWO
70 <0>
71 <0>
72 <0>
73 INPLACE_POWER
74 <0>
75 <0>
76 <0>
77 POP_JUMP_IF_TRUE 14
80 <0>
81 <0>
82 LOAD_GLOBAL 0 (0)
85 LOAD_CONST 1 (1)
88 CALL_FUNCTION 1 (1 positional, 0 keyword pair)
91 POP_TOP
92 LOAD_CONST 0 (0)
95 RETURN_VALUE
96 <41>
97 ROT_TWO
98 INPLACE_XOR
99 <218> 26626
102 BUILD_MAP 297
105 <218> 28677
108 POP_JUMP_IF_FALSE 28265
111 LOAD_GLOBAL 169 (169)
114 POP_JUMP_IF_FALSE 3
117 <0>
118 <0>
119 POP_JUMP_IF_FALSE 3
122 <0>
123 <0>
124 <250> 11790
127 <47>
128 BUILD_MAP 28782
131 <117> 12148
134 BUILD_SET 13161
137 <46>
138 JUMP_IF_TRUE_OR_POP 29305
141 POP_TOP
142 <0>
143 <0>
144 <0>
145 ROT_THREE
146 <0>
147 <0>
148 <0>
149 POP_JUMP_IF_TRUE 2
152 <0>
153 <0>
154 <0>
155 POP_TOP
156 POP_JUMP_IF_FALSE 1
159 <0>
160 <0>
161 INPLACE_XOR
162 <41>
163 POP_TOP
164 POP_JUMP_IF_FALSE 1
167 <0>
168 <0>
169 POP_JUMP_IF_FALSE 3
172 <0>
173 <0>
174 POP_JUMP_IF_FALSE 3
177 <0>
178 <0>
179 POP_JUMP_IF_FALSE 3
182 <0>
183 <0>
184 POP_JUMP_IF_FALSE 4
187 <0>
188 <0>
189 <218> 15368
192 IMPORT_FROM 25711 (25711)
195 <117> 25964
198 BINARY_LSHIFT
199 ROT_THREE
200 <0>
201 <0>
202 <0>
203 POP_JUMP_IF_TRUE 0
206 <0>
207 <0>

View file

@ -0,0 +1 @@
hello

View file

@ -0,0 +1,16 @@
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 2 column 3 - Warning: inserting missing 'title' element
Info: Document content looks like HTML5
Tidy found 2 warnings and 0 errors!
About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium
Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md

View file

@ -0,0 +1 @@
Verification completed: 0 reported messages.

View file

@ -0,0 +1,18 @@
(Bsize:(B 12.0 B(B (12 bytes)(B
(Bpermissions:(B ?rwxr-xr-x(B (755)(B
(Bmodified time:(B Sun Jan 31 23:14:05 2016(B (1454282045 secs)(B
(Bcreation time:(B Sun Jan 31 23:14:05 2016(B (1454282045 secs)(B
(Baccess time:(B Sun Jan 31 23:14:07 2016(B (1454282047 secs)(B
(Bowner:(B foo(B (1111 uid)(B
(Bgroup:(B foo(B (1111 gid)(B
(Bhardlinks:(B 2
(Bsymlink:(B no
(Bmd5:(B 28ca2e417cb64ea4e555efe3203642de
(Bsha1:(B 8b8c0214f3f0a0d79032d1b44550064964a33a26
(Bmime type:(B text/plain; charset=us-ascii
(Bfile type:(B ASCII text (B

View file

View file

@ -0,0 +1 @@
input/hi.py:4: error: Parse error before string literal

View file

@ -0,0 +1 @@
00000000 D _LIB_VERSION

View file

@ -0,0 +1 @@
nm: ./input/libpcprofile.so: no symbols

View file

@ -0,0 +1,5 @@
./input/Mcrt1.o: file format elf32-i386
objdump: ./input/Mcrt1.o: not a dynamic object
objdump: ./input/Mcrt1.o: Invalid operation

View file

@ -0,0 +1,23 @@
./input/Mcrt1.o: file format elf32-i386
./input/Mcrt1.o
architecture: i386, flags 0x00000000:
start address 0x00000000
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000000 00000000 00000000 00000034 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000000 00000000 00000000 00000034 2**0
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000000 00000000 00000000 00000034 2**0
ALLOC
3 .note.GNU-stack 00000000 00000000 00000000 00000034 2**0
CONTENTS, READONLY
4 .gnu_debuglink 0000000c 00000000 00000000 00000034 2**0
CONTENTS, READONLY
SYMBOL TABLE:
no symbols

View file

@ -0,0 +1,3 @@
Cover Page
#

View file

@ -0,0 +1,16 @@
#[31m===#[0mSORRY!#[31m===#[0m
Two terms in a row across lines (missing semicolon or comma?)
at /tmp/vigil/golden-files/./input/perl6.p6:30
------> #[32msay 'Hello from Perl 6!'#[33m⏏#[31m<EOL>#[0m
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
Other potential difficulties:
Useless declaration of a has-scoped method in mainline (did you mean 'my regex http-verb'?)
at /tmp/vigil/golden-files/./input/perl6.p6:11
------> #[32mregex #[33m⏏#[31mhttp-verb {#[0m

View file

@ -0,0 +1,16 @@
#[31m===#[0mSORRY!#[31m===#[0m
Two terms in a row across lines (missing semicolon or comma?)
at /tmp/vigil/golden-files/./input/perl6.pl:30
------> #[32msay 'Hello from Perl 6!'#[33m⏏#[31m<EOL>#[0m
expecting any of:
infix
infix stopper
postfix
statement end
statement modifier
statement modifier loop
Other potential difficulties:
Useless declaration of a has-scoped method in mainline (did you mean 'my regex http-verb'?)
at /tmp/vigil/golden-files/./input/perl6.pl:11
------> #[32mregex #[33m⏏#[31mhttp-verb {#[0m

View file

@ -0,0 +1 @@
./input/perl.pl syntax OK

View file

@ -0,0 +1,70 @@
Net::Z3950::AsyncZ
Intro
Net::Z3950::AsyncZ adds an additional layer of asynchronous support for
the Z3950 module through the use of multiple forked processes. I hope
that users will also find that it provides a convenient front end to
"Net::Z3950". My initial idea was to write something that would provide
a convenient means of processing and formatting Z39.50 records--which I
did, using the "Z3950" synchronous code. But I also wanted something
that could handle queries to large numbers of servers at one session.
Working on this part of my project, I found that I had trouble with the
"Z3950" asynchronous features and so ended up with what I have here.
I give a more detailed account in in the DESCRIPTION section of
"AsyncZ.pod".
Documentation
AsyncZ.pod
This is the starting point--it gives an overview of the AsyncZ
module, describes the basic mechanics of its asynchronous workings,
and details the particulars of the objects and methods. But see
""Examples.pod" for detailed explanations of the sample scripts
which come with the "Net::Z3950::AsyncZ" distribution.
Options.pod
This document details the various options that can be set to modify
the behavior of AsyncZ Index
Report.pod
Report.pod deals with how records are treated line by line and how
you can affect the apearance of a record's line by line output
Examples.pod
This document goes through the sample scripts that come with the
"Net::Z3950::AsyncZ" distribution and annotates them in a
line-by-line fashion. It's a basic HOW-TO.
The Modules
There are more modules than there is documentation. The reason for this
is that the only module you have full and complete access to is
"Net::Z3950::AsyncZ". The other modules are either internal to
"Net::AsyncZ" or accessed indirectly or in part indirectly.
Here are the modules:
Net::Z3950::AsyncZ
The main module: direct access --documented in "AsyncZ" and
"Options" documentation
Net::Z3950::AsyncZ::ErrMsg
User error message handling: indirect access -- documented in
"AsyncZ" documentation
Net::Z3950::AsyncZ::Errors
Error handling for debugging: limited access -- documented in
"AsyncZ" documentation
Net::Z3950::AsyncZ::Report
Module reponsible for fetching and formatting records: limited
access -- documented
Net::Z3950::AsyncZ::ZLoop
Event loop for child processes: no access -- not documented
Net::Z3950::AsyncZ::ZSend
Connection details for child processes: no access -- not documented
Net::Z3950::AsyncZ::Options::_params
Options for child processes: direct and indirect access --
documented in "Options" and "AsyncZ" documentation
INDEX

View file

@ -0,0 +1 @@
No documentation found for "./input/perl.pl".

View file

@ -0,0 +1,2 @@
(B#!/usr/bin/perl(B (B
(Bprint(B (B"Hello, world!\n"(B;(B

View file

@ -0,0 +1 @@
No syntax errors detected in ./input/root.php

View file

@ -0,0 +1,16 @@
(B
(B (B
(B (B (B (B
(B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B
(B (B
(B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B (B (B (B (B
(B (B (B (B
(B

View file

@ -0,0 +1,16 @@
(B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B (B
(B

View file

@ -0,0 +1,16 @@
(B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B (B (B (B (B
(B (B (B (B (B (B (B (B (B (B (B (B

View file

@ -0,0 +1,16 @@
(B
(B (B
(B (B (B (B
(B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B
(B (B
(B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B (B (B (B (B
(B (B (B (B
(B

View file

@ -0,0 +1,16 @@
(B
(B (B
(B (B (B (B
(B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B
(B (B
(B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B (B (B (B (B
(B (B (B (B
(B

View file

@ -0,0 +1,16 @@
(B
(B (B
(B (B (B (B
(B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B
(B (B
(B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B (B (B (B (B
(B (B (B (B
(B

View file

@ -0,0 +1,16 @@
(B
(B (B
(B (B (B (B
(B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B
(B (B
(B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B
(B (B (B (B (B
(B (B (B (B (B (B
(B (B (B (B
(B

View file

@ -0,0 +1,8 @@
(B▀▀▀▀▀▀(B▀▀▀▀(B▀▀▀▀▀▀(B
(B▀▀▀(B▀(B▀▀(B▀▀▀▀(B▀▀(B▀(B▀▀▀(B
(B▀▀(B▀(B▀▀▀▀▀▀▀▀▀▀(B▀(B▀(B▀(B
(B▀(B▀▀▀▀▀▀▀▀▀▀▀▀▀▀(B▀(B
(B▀(B▀(B▀▀▀▀▀▀▀▀▀▀▀▀(B▀(B▀(B
(B▀(B▀(B▀(B▀▀▀▀▀▀▀▀▀▀(B▀(B▀(B▀(B
(B▀▀▀(B▀(B▀(B▀▀▀▀▀▀(B▀(B▀(B▀(B▀▀(B
(B▀▀▀▀▀(B▀(B▀(B▀▀▀▀(B▀▀▀▀▀(B

View file

@ -0,0 +1,12 @@
Help on module hi3:
NAME
hi3
FUNCTIONS
hi()
FILE
/CWD/input/hi3.py

View file

@ -0,0 +1,12 @@
Help on module hi:
NAME
hi
FILE
/CWD/input/hi.py
FUNCTIONS
hi()

View file

@ -0,0 +1 @@
No config file found, using default configuration

View file

@ -0,0 +1 @@
No config file found, using default configuration

View file

@ -0,0 +1,4 @@
(B
(B> def hi():(B
(B> print("hi")(B

View file

@ -0,0 +1,4 @@
(B
(B> def hi():(B
(B> print "hi"(B

View file

@ -0,0 +1,2 @@
(Bdef(B (Bhi(B():
(B

View file

@ -0,0 +1,2 @@
(Bdef(B (Bhi(B():
(B

View file

@ -0,0 +1 @@
3:1: 'hi' 1

View file

@ -0,0 +1 @@
("3:1: 'hi'", 1)

View file

@ -0,0 +1,4 @@
Name File
---- ----
m __main__ ./input/hi3.py

View file

@ -0,0 +1,4 @@
Name File
---- ----
m __main__ ./input/hi.py

View file

@ -0,0 +1 @@
No tests.

View file

@ -0,0 +1,7 @@
hi
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK

View file

@ -0,0 +1 @@
No tests.

View file

@ -0,0 +1,2 @@
tested foo

View file

@ -0,0 +1,45 @@
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: REL (Relocatable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 (bytes into file)
Start of section headers: 124 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 0 (bytes)
Number of program headers: 0
Size of section headers: 40 (bytes)
Number of section headers: 7
Section header string table index: 6
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 00000000 000034 000000 00 AX 0 0 1
[ 2] .data PROGBITS 00000000 000034 000000 00 WA 0 0 1
[ 3] .bss NOBITS 00000000 000034 000000 00 WA 0 0 1
[ 4] .note.GNU-stack PROGBITS 00000000 000034 000000 00 0 0 1
[ 5] .gnu_debuglink PROGBITS 00000000 000034 00000c 00 0 0 1
[ 6] .shstrtab STRTAB 00000000 000040 00003b 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
p (processor specific)
There are no section groups in this file.
There are no program headers in this file.
There are no relocations in this file.
The decoding of unwind sections for machine type Intel 80386 is not currently supported.
No version information found in this file.

View file

@ -0,0 +1,3 @@
Splint 3.1.2 --- 01 Dec 2016
Finished checking --- no warnings

View file

@ -0,0 +1,3 @@
Splint 3.1.2 --- 01 Dec 2016
Finished checking --- no warnings

View file

@ -0,0 +1 @@
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py

View file

@ -0,0 +1 @@
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py

View file

@ -0,0 +1 @@
-rw-rw-r-- EVERY_USER/EVERY_USER 27 2016-02-09 21:50 hi.py

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.2.0">
<title></title>
</head>
<body>
hello
</body>
</html>

View file

@ -0,0 +1,2 @@
(B
(B

View file

@ -0,0 +1,7 @@
(B#include(B (B<stdio.h>(B (B
(B (B
(Bint(B (Bmain(B()(B (B
(B{(B (B
(B printf((B"Hello World\n"(B);(B
(B (Breturn(B (B0(B;(B (B
(B}(B (B

View file

@ -0,0 +1,8 @@
(B#include(B (B<iostream>(B (B
(B (B
(Busing(B (Bnamespace(B std;(B (B
(B (B
(Bint(B (Bmain(B()(B (B
(B{(B (B
(B cout << (B"Hello World"(B << endl;(B
(B}(B (B

View file

@ -0,0 +1,6 @@
(B#ifndef HELLO_H(B
(B#define HELLO_H(B
(B (B
(Bvoid(B (Bhello(B();(B (B
(B (B
(B#endif(B (B

View file

@ -0,0 +1,6 @@
Archive: ./input/hi.zip
Length Date Time Name
--------- ---------- ----- ----
27 2016-02-09 21:50 hi.py
--------- -------
27 1 file