summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO9
-rw-r--r--base/base_cpudep.c (renamed from base/cpudep.c)0
-rw-r--r--base/base_error.c (renamed from base/error.c)0
-rw-r--r--base/base_hash.c (renamed from base/hash.c)0
-rw-r--r--base/base_matrix.c (renamed from base/matrix.c)0
-rw-r--r--base/base_memory.c (renamed from base/memory.c)0
-rw-r--r--base/base_rect.c (renamed from base/rect.c)0
-rw-r--r--base/base_rune.c (renamed from base/rune.c)0
-rw-r--r--base/node_debug.c (renamed from tree/debug.c)0
-rw-r--r--base/node_misc1.c (renamed from tree/node1.c)0
-rw-r--r--base/node_misc2.c (renamed from tree/node2.c)0
-rw-r--r--base/node_optimize.c (renamed from tree/optimize.c)0
-rw-r--r--base/node_path.c (renamed from tree/path.c)0
-rw-r--r--base/node_text.c (renamed from tree/text.c)0
-rw-r--r--base/node_tree.c (renamed from tree/tree.c)0
-rw-r--r--base/res_cmap.c (renamed from tree/cmap.c)0
-rw-r--r--base/res_colorspace.c (renamed from tree/colorspace.c)0
-rw-r--r--base/res_font.c (renamed from tree/font.c)0
-rw-r--r--base/res_image.c (renamed from tree/image.c)0
-rw-r--r--base/res_shade.c (renamed from tree/shade.c)0
-rw-r--r--base/util_getopt.c (renamed from util/getopt.c)0
-rw-r--r--base/util_strlcat.c (renamed from util/strlcat.c)0
-rw-r--r--base/util_strlcpy.c (renamed from util/strlcpy.c)0
-rw-r--r--base/util_strsep.c (renamed from util/strsep.c)0
-rw-r--r--filter/TODO8
-rw-r--r--stream/crypt_arc4.c (renamed from base/arc4.c)0
-rw-r--r--stream/crypt_md5.c (renamed from base/md5.c)0
-rw-r--r--stream/filt_a85d.c (renamed from filter/a85d.c)0
-rw-r--r--stream/filt_a85e.c (renamed from filter/a85e.c)0
-rw-r--r--stream/filt_ahxd.c (renamed from filter/ahxd.c)0
-rw-r--r--stream/filt_ahxe.c (renamed from filter/ahxe.c)0
-rw-r--r--stream/filt_arc4.c (renamed from filter/arc4filter.c)0
-rw-r--r--stream/filt_buffer.c (renamed from filter/buffer.c)0
-rw-r--r--stream/filt_dctc.h (renamed from filter/dctc.h)0
-rw-r--r--stream/filt_dctd.c (renamed from filter/dctd.c)0
-rw-r--r--stream/filt_dcte.c (renamed from filter/dcte.c)0
-rw-r--r--stream/filt_faxc.h (renamed from filter/faxc.h)0
-rw-r--r--stream/filt_faxd.c (renamed from filter/faxd.c)0
-rw-r--r--stream/filt_faxd.h (renamed from filter/faxd.h)0
-rw-r--r--stream/filt_faxdtab.c (renamed from filter/faxdtab.c)0
-rw-r--r--stream/filt_faxe.c (renamed from filter/faxe.c)0
-rw-r--r--stream/filt_faxe.h (renamed from filter/faxe.h)0
-rw-r--r--stream/filt_faxetab.c (renamed from filter/faxetab.c)0
-rw-r--r--stream/filt_filec.c (renamed from filter/filec.c)0
-rw-r--r--stream/filt_filer.c (renamed from filter/filer.c)0
-rw-r--r--stream/filt_filew.c (renamed from filter/filew.c)0
-rw-r--r--stream/filt_flate.c (renamed from filter/flate.c)0
-rw-r--r--stream/filt_jbig2d.c (renamed from filter/jbig2d.c)0
-rw-r--r--stream/filt_jpxd.c (renamed from filter/jpxd.c)0
-rw-r--r--stream/filt_lzwd.c (renamed from filter/lzwd.c)0
-rw-r--r--stream/filt_lzwe.c (renamed from filter/lzwe.c)0
-rw-r--r--stream/filt_null.c (renamed from filter/null.c)0
-rw-r--r--stream/filt_pipeline.c (renamed from filter/pipeline.c)0
-rw-r--r--stream/filt_predict.c (renamed from filter/predict.c)0
-rw-r--r--stream/filt_process.c (renamed from filter/filter.c)0
-rw-r--r--stream/filt_rld.c (renamed from filter/rld.c)0
-rw-r--r--stream/filt_rle.c (renamed from filter/rle.c)0
-rw-r--r--stream/obj_array.c (renamed from object/array.c)0
-rw-r--r--stream/obj_dict.c (renamed from object/dict.c)0
-rw-r--r--stream/obj_parse.c (renamed from object/parse.c)0
-rw-r--r--stream/obj_print.c (renamed from object/print.c)0
-rw-r--r--stream/obj_simple.c (renamed from object/simple.c)0
-rw-r--r--util/cleanname.c63
63 files changed, 9 insertions, 71 deletions
diff --git a/TODO b/TODO
index 5b52caaf..b1653719 100644
--- a/TODO
+++ b/TODO
@@ -57,3 +57,12 @@ fz_optimizetree()
- concatenate chained transforms
- remove identity transforms
+validate ahxd pushback
+go through eof responsibility
+be more defensive of api user errors
+flate needin/needout
+
+jbig2 rewrite
+dctencode params
+dctdecode app marker
+
diff --git a/base/cpudep.c b/base/base_cpudep.c
index 0db2e331..0db2e331 100644
--- a/base/cpudep.c
+++ b/base/base_cpudep.c
diff --git a/base/error.c b/base/base_error.c
index 926c48dc..926c48dc 100644
--- a/base/error.c
+++ b/base/base_error.c
diff --git a/base/hash.c b/base/base_hash.c
index 65bc7130..65bc7130 100644
--- a/base/hash.c
+++ b/base/base_hash.c
diff --git a/base/matrix.c b/base/base_matrix.c
index 7d7097c4..7d7097c4 100644
--- a/base/matrix.c
+++ b/base/base_matrix.c
diff --git a/base/memory.c b/base/base_memory.c
index 2c2f8e0d..2c2f8e0d 100644
--- a/base/memory.c
+++ b/base/base_memory.c
diff --git a/base/rect.c b/base/base_rect.c
index 2efb11f7..2efb11f7 100644
--- a/base/rect.c
+++ b/base/base_rect.c
diff --git a/base/rune.c b/base/base_rune.c
index 4aa81df3..4aa81df3 100644
--- a/base/rune.c
+++ b/base/base_rune.c
diff --git a/tree/debug.c b/base/node_debug.c
index b03d4e28..b03d4e28 100644
--- a/tree/debug.c
+++ b/base/node_debug.c
diff --git a/tree/node1.c b/base/node_misc1.c
index c2d6e876..c2d6e876 100644
--- a/tree/node1.c
+++ b/base/node_misc1.c
diff --git a/tree/node2.c b/base/node_misc2.c
index f21ebf36..f21ebf36 100644
--- a/tree/node2.c
+++ b/base/node_misc2.c
diff --git a/tree/optimize.c b/base/node_optimize.c
index d92aa812..d92aa812 100644
--- a/tree/optimize.c
+++ b/base/node_optimize.c
diff --git a/tree/path.c b/base/node_path.c
index 24b4dfc8..24b4dfc8 100644
--- a/tree/path.c
+++ b/base/node_path.c
diff --git a/tree/text.c b/base/node_text.c
index d88e04ec..d88e04ec 100644
--- a/tree/text.c
+++ b/base/node_text.c
diff --git a/tree/tree.c b/base/node_tree.c
index f6874711..f6874711 100644
--- a/tree/tree.c
+++ b/base/node_tree.c
diff --git a/tree/cmap.c b/base/res_cmap.c
index 577ba7c0..577ba7c0 100644
--- a/tree/cmap.c
+++ b/base/res_cmap.c
diff --git a/tree/colorspace.c b/base/res_colorspace.c
index 65909bfe..65909bfe 100644
--- a/tree/colorspace.c
+++ b/base/res_colorspace.c
diff --git a/tree/font.c b/base/res_font.c
index b7367ce1..b7367ce1 100644
--- a/tree/font.c
+++ b/base/res_font.c
diff --git a/tree/image.c b/base/res_image.c
index dbeb1fd8..dbeb1fd8 100644
--- a/tree/image.c
+++ b/base/res_image.c
diff --git a/tree/shade.c b/base/res_shade.c
index 67a64e4e..67a64e4e 100644
--- a/tree/shade.c
+++ b/base/res_shade.c
diff --git a/util/getopt.c b/base/util_getopt.c
index c870e206..c870e206 100644
--- a/util/getopt.c
+++ b/base/util_getopt.c
diff --git a/util/strlcat.c b/base/util_strlcat.c
index c659b73a..c659b73a 100644
--- a/util/strlcat.c
+++ b/base/util_strlcat.c
diff --git a/util/strlcpy.c b/base/util_strlcpy.c
index 73416ae1..73416ae1 100644
--- a/util/strlcpy.c
+++ b/base/util_strlcpy.c
diff --git a/util/strsep.c b/base/util_strsep.c
index e54903ce..e54903ce 100644
--- a/util/strsep.c
+++ b/base/util_strsep.c
diff --git a/filter/TODO b/filter/TODO
deleted file mode 100644
index 404d76c2..00000000
--- a/filter/TODO
+++ /dev/null
@@ -1,8 +0,0 @@
-validate ahxd pushback
-go through eof responsibility
-be more defensive of api user errors
-flate needin/needout
-
-jbig2 rewrite
-dctencode params
-
diff --git a/base/arc4.c b/stream/crypt_arc4.c
index 86c9afd8..86c9afd8 100644
--- a/base/arc4.c
+++ b/stream/crypt_arc4.c
diff --git a/base/md5.c b/stream/crypt_md5.c
index 03601e5b..03601e5b 100644
--- a/base/md5.c
+++ b/stream/crypt_md5.c
diff --git a/filter/a85d.c b/stream/filt_a85d.c
index 5b2e105e..5b2e105e 100644
--- a/filter/a85d.c
+++ b/stream/filt_a85d.c
diff --git a/filter/a85e.c b/stream/filt_a85e.c
index d9cd22c6..d9cd22c6 100644
--- a/filter/a85e.c
+++ b/stream/filt_a85e.c
diff --git a/filter/ahxd.c b/stream/filt_ahxd.c
index d0e6d7f5..d0e6d7f5 100644
--- a/filter/ahxd.c
+++ b/stream/filt_ahxd.c
diff --git a/filter/ahxe.c b/stream/filt_ahxe.c
index c2b882a6..c2b882a6 100644
--- a/filter/ahxe.c
+++ b/stream/filt_ahxe.c
diff --git a/filter/arc4filter.c b/stream/filt_arc4.c
index b025368c..b025368c 100644
--- a/filter/arc4filter.c
+++ b/stream/filt_arc4.c
diff --git a/filter/buffer.c b/stream/filt_buffer.c
index 206137a6..206137a6 100644
--- a/filter/buffer.c
+++ b/stream/filt_buffer.c
diff --git a/filter/dctc.h b/stream/filt_dctc.h
index 8aa6aeb7..8aa6aeb7 100644
--- a/filter/dctc.h
+++ b/stream/filt_dctc.h
diff --git a/filter/dctd.c b/stream/filt_dctd.c
index 750f7893..750f7893 100644
--- a/filter/dctd.c
+++ b/stream/filt_dctd.c
diff --git a/filter/dcte.c b/stream/filt_dcte.c
index 547721b4..547721b4 100644
--- a/filter/dcte.c
+++ b/stream/filt_dcte.c
diff --git a/filter/faxc.h b/stream/filt_faxc.h
index 14cae13f..14cae13f 100644
--- a/filter/faxc.h
+++ b/stream/filt_faxc.h
diff --git a/filter/faxd.c b/stream/filt_faxd.c
index d8686a08..d8686a08 100644
--- a/filter/faxd.c
+++ b/stream/filt_faxd.c
diff --git a/filter/faxd.h b/stream/filt_faxd.h
index 9f3fb470..9f3fb470 100644
--- a/filter/faxd.h
+++ b/stream/filt_faxd.h
diff --git a/filter/faxdtab.c b/stream/filt_faxdtab.c
index 8e387d03..8e387d03 100644
--- a/filter/faxdtab.c
+++ b/stream/filt_faxdtab.c
diff --git a/filter/faxe.c b/stream/filt_faxe.c
index e96c5ace..e96c5ace 100644
--- a/filter/faxe.c
+++ b/stream/filt_faxe.c
diff --git a/filter/faxe.h b/stream/filt_faxe.h
index dd3fc121..dd3fc121 100644
--- a/filter/faxe.h
+++ b/stream/filt_faxe.h
diff --git a/filter/faxetab.c b/stream/filt_faxetab.c
index 409039f4..409039f4 100644
--- a/filter/faxetab.c
+++ b/stream/filt_faxetab.c
diff --git a/filter/filec.c b/stream/filt_filec.c
index 05813185..05813185 100644
--- a/filter/filec.c
+++ b/stream/filt_filec.c
diff --git a/filter/filer.c b/stream/filt_filer.c
index a63a7dd2..a63a7dd2 100644
--- a/filter/filer.c
+++ b/stream/filt_filer.c
diff --git a/filter/filew.c b/stream/filt_filew.c
index f83399a2..f83399a2 100644
--- a/filter/filew.c
+++ b/stream/filt_filew.c
diff --git a/filter/flate.c b/stream/filt_flate.c
index c34a49b7..c34a49b7 100644
--- a/filter/flate.c
+++ b/stream/filt_flate.c
diff --git a/filter/jbig2d.c b/stream/filt_jbig2d.c
index ed54eed3..ed54eed3 100644
--- a/filter/jbig2d.c
+++ b/stream/filt_jbig2d.c
diff --git a/filter/jpxd.c b/stream/filt_jpxd.c
index 2aa93448..2aa93448 100644
--- a/filter/jpxd.c
+++ b/stream/filt_jpxd.c
diff --git a/filter/lzwd.c b/stream/filt_lzwd.c
index 95fc462a..95fc462a 100644
--- a/filter/lzwd.c
+++ b/stream/filt_lzwd.c
diff --git a/filter/lzwe.c b/stream/filt_lzwe.c
index f2c3c7a4..f2c3c7a4 100644
--- a/filter/lzwe.c
+++ b/stream/filt_lzwe.c
diff --git a/filter/null.c b/stream/filt_null.c
index e83b6d5a..e83b6d5a 100644
--- a/filter/null.c
+++ b/stream/filt_null.c
diff --git a/filter/pipeline.c b/stream/filt_pipeline.c
index 7b7f4252..7b7f4252 100644
--- a/filter/pipeline.c
+++ b/stream/filt_pipeline.c
diff --git a/filter/predict.c b/stream/filt_predict.c
index d7b594ac..d7b594ac 100644
--- a/filter/predict.c
+++ b/stream/filt_predict.c
diff --git a/filter/filter.c b/stream/filt_process.c
index afe4feed..afe4feed 100644
--- a/filter/filter.c
+++ b/stream/filt_process.c
diff --git a/filter/rld.c b/stream/filt_rld.c
index bcad4323..bcad4323 100644
--- a/filter/rld.c
+++ b/stream/filt_rld.c
diff --git a/filter/rle.c b/stream/filt_rle.c
index 921e470a..921e470a 100644
--- a/filter/rle.c
+++ b/stream/filt_rle.c
diff --git a/object/array.c b/stream/obj_array.c
index c493bdaa..c493bdaa 100644
--- a/object/array.c
+++ b/stream/obj_array.c
diff --git a/object/dict.c b/stream/obj_dict.c
index a0fb6d25..a0fb6d25 100644
--- a/object/dict.c
+++ b/stream/obj_dict.c
diff --git a/object/parse.c b/stream/obj_parse.c
index c3f3d3dc..c3f3d3dc 100644
--- a/object/parse.c
+++ b/stream/obj_parse.c
diff --git a/object/print.c b/stream/obj_print.c
index 7ada9845..7ada9845 100644
--- a/object/print.c
+++ b/stream/obj_print.c
diff --git a/object/simple.c b/stream/obj_simple.c
index 131e11b4..131e11b4 100644
--- a/object/simple.c
+++ b/stream/obj_simple.c
diff --git a/util/cleanname.c b/util/cleanname.c
deleted file mode 100644
index e8a8ed86..00000000
--- a/util/cleanname.c
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * In place, rewrite name to compress multiple /, eliminate ., and process ..
- */
-
-#define SEP(x) ((x)=='/' || (x) == 0)
-
-char *
-cleanname(char *name)
-{
- char *p, *q, *dotdot;
- int rooted;
-
- rooted = name[0] == '/';
-
- /*
- * invariants:
- * p points at beginning of path element we're considering.
- * q points just past the last path element we wrote (no slash).
- * dotdot points just past the point where .. cannot backtrack
- * any further (no slash).
- */
-
- p = q = dotdot = name + rooted;
-
- while (*p)
- {
- if (p[0] == '/') /* null element */
- p++;
-
- else if (p[0] == '.' && SEP(p[1]))
- p += 1; /* don't count the separator in case it is nul */
-
- else if (p[0] == '.' && p[1] == '.' && SEP(p[2]))
- {
- p += 2;
- if (q > dotdot) { /* can backtrack */
- while (--q > dotdot && *q != '/')
- ;
- } else if (!rooted) { /* /.. is / but ./../ is .. */
- if (q != name)
- *q++ = '/';
- *q++ = '.';
- *q++ = '.';
- dotdot = q;
- }
- }
-
- else { /* real path element */
- if (q != name + rooted)
- *q++ = '/';
- while ((*q = *p) != '/' && *q != 0)
- p++, q++;
- }
- }
-
- if (q == name) /* empty string is really ``.'' */
- *q++ = '.';
-
- *q = '\0';
-
- return name;
-}
-