~ubuntu-branches/debian/sid/nunit/sid

« back to all changes in this revision

Viewing changes to src/GuiException/UiException/data/TextCode.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2014-09-16 13:43:36 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140916134336-kjxz48tty6lx2ja5
Tags: 2.6.3+dfsg-1
* [c7bd1b5] Imported Upstream version 2.6.3+dfsg
* [bcb4bf8] Move nunit-console-runner to GAC-installed libnunit2.6, 
  don't treat it as a private lib. This lib is signed, and treated 
  as a GAC lib by consumers such as MonoDevelop.
* [7f08e99] Bump version to 2.6.3 as required
* [84535eb] Refreshed patches
* [8479f61] Split package up into per-assembly packages. This makes 
  ABI tracking easier in the future, as we can meaningfully have GAC 
  policy for cases where ABI isn't truly bumped, and no policy for 
  cases where it is. For example, if nunit.framework bumps ABI but 
  nunit.core does not, previously we would need to rebuild everything 
  using NUnit, but under the new split packaging, that rebuild would 
  not be needed for apps only using nunit.core.
* [17a7dc7] Add missing nunit.mocks.dll to nunit.pc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
01     #include <stdio.h>
 
2
02      #include <stdlib.h>
 
3
03      #include <string.h>
 
4
04      #include <ctype.h>
 
5
05      #include <time.h>
 
6
06      #include <sys/types.h>
 
7
07      #include <sys/stat.h>
 
8
08
 
9
09      /* logic */
 
10
10      #ifndef TRUE
 
11
11      # define TRUE 1
 
12
12      #endif /* TRUE */
 
13
13      #ifndef FALSE
 
14
14      # define FALSE 0
 
15
15      #endif /* FALSE */
 
16
16      #define EOF_OK TRUE
 
17
17      #define EOF_NOT_OK FALSE
 
18
18
 
19
19      /* global limits */
 
20
20      #define RULE_YEAR 2004          /* NOTE: should match the current year */
 
21
21      #define START_DATE "07Jan2004 00:00 UTC" /* first confirmation received */
 
22
22      #define MAX_COL 79              /* max column a line should hit */
 
23
23      #define MAX_BUILD_SIZE 521      /* max how to build size */
 
24
24      #define MAX_PROGRAM_SIZE 4096   /* max program source size */
 
25
25      #define MAX_PROGRAM_SIZE2 2048  /* max program source size not counting
 
26
26                                         whitespace and {}; not followed by
 
27
27                                         whitespace or EOF */
 
28
28      #define MAX_TITLE_LEN 31        /* max chars in the title */
 
29
29      #define MAX_ENTRY_LEN 1         /* max length in the entry input line */
 
30
30      #define MAX_ENTRY 8             /* max number of entries per person per year */
 
31
31      #define MAX_FILE_LEN 1024       /* max filename length for a info file */
 
32
32
 
33
33      /* where to send entries */
 
34
34      #define ENTRY_USER "e.2004"
 
35
35      #define ENTRY_HOST "ioccc.org"
 
36
36
 
37
37      /* uuencode process - assumes ASCII */
 
38
38      #define UUENCODE(c) ((c) ? encode_str[(int)(c)&0x3f] : '`')
 
39
39      #define UUENCODE_LEN 45         /* max uuencode chunk size */
 
40
40      #define UUINFO_MODE 0444        /* mode of an info file's uuencode file */
 
41
41      #define UUBUILD_MODE 0444       /* mode of the build file's uuencode file */
 
42
42      #define UUBUILD_NAME "build"    /* name for the build file's uuencode file */
 
43
43      #define UUPROG_MODE 0444        /* mode of the program's uuencode file */
 
44
44      #define UUPROG_NAME "prog.c"    /* name for the program's uuencode file */
 
45
45
 
46
46      /* encode_str[(char)val] is the uuencoded character of val */
 
47
47      char encode_str[] = "`!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_";
 
48
48
 
49
49      /* global declarations */
 
50
50      char *program;                  /* our name */
 
51
51      long start_time;                /* the startup time */
 
52
52
 
53
53      /* forward declarations */
 
54
54      void parse_args(int argc, char **argv, char **rname,
 
55
55                              char **bname, char **pname, char **oname);
 
56
56      void usage(int exitval);
 
57
57      FILE *open_remark(char *filename);
 
58
58      FILE *open_build(char *filename);
 
59
59      FILE *open_program(char *filename);
 
 
b'\\ No newline at end of file'