# HG changeset patch # User jwe # Date 1100834792 0 # Node ID 6861a84b1d47cc4d958561370e582cd2652cef2c # Parent 252e8c2a492b3b321fb9969a77888b5f7f05da1d [project @ 2004-11-19 03:26:32 by jwe] diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/ChangeLog --- a/liboctave/ChangeLog Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/ChangeLog Fri Nov 19 03:26:32 2004 +0000 @@ -1,5 +1,19 @@ +2004-11-18 John W. Eaton + + * int32NDArray.cc (pow): Delete instantiation. + * int16NDArray.cc (pow): Likewise. + * int8NDArray.cc (pow): Likewise. + * uint32NDArray.cc (pow): Likewise. + * uint16NDArray.cc (pow): Likewise. + * uint8NDArray.cc (pow): Likewise. + 2004-11-17 John W. Eaton + * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): + Now static. + (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, + DEFAULT_TEXMFDBS): Delete unused macros. + * Array.cc (Array::index): Call generic N-d indexing function if idx_arg is N-d. diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/int16NDArray.cc --- a/liboctave/int16NDArray.cc Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/int16NDArray.cc Fri Nov 19 03:26:32 2004 +0000 @@ -35,8 +35,6 @@ template class intNDArray; -template octave_int16 pow (const octave_int16& a, const octave_int16& b); - template std::ostream& operator << (std::ostream& os, const intNDArray& a); diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/int32NDArray.cc --- a/liboctave/int32NDArray.cc Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/int32NDArray.cc Fri Nov 19 03:26:32 2004 +0000 @@ -35,8 +35,6 @@ template class intNDArray; -template octave_int32 pow (const octave_int32& a, const octave_int32& b); - template std::ostream& operator << (std::ostream& os, const intNDArray& a); diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/int8NDArray.cc --- a/liboctave/int8NDArray.cc Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/int8NDArray.cc Fri Nov 19 03:26:32 2004 +0000 @@ -35,8 +35,6 @@ template class intNDArray; -template octave_int8 pow (const octave_int8& a, const octave_int8& b); - template std::ostream& operator << (std::ostream& os, const intNDArray& a); diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/kpse.cc --- a/liboctave/kpse.cc Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/kpse.cc Fri Nov 19 03:26:32 2004 +0000 @@ -1652,12 +1652,6 @@ return c; } -/* An external database to avoid filesystem lookups. */ - -#ifndef DEFAULT_TEXMFDBS -#define DEFAULT_TEXMFDBS "/usr/local/share/texmf:/var/tmp/texfonts" -#endif - /* For each file format, we record the following information. The main thing that is not part of this structure is the environment variable lists. They are used directly in tex-file.c. We could incorporate @@ -1682,8 +1676,6 @@ Initialized by calls to `kpse_find_file' for `kpse_init_format'. */ static kpse_format_info_type kpse_format_info; -#define DB_ENVS "TEXMFDBS" - /* And EXPAND_DEFAULT calls kpse_expand_default on try_path and the present info->path. */ #define EXPAND_DEFAULT(try_path, source_string) \ @@ -1700,23 +1692,7 @@ static hash_table_type db; /* The hash table for all the ls-R's. */ -/* SMALL: The old size of the hash table was 7603, with the assumption - that a minimal ls-R bas about 3500 entries. But a typical ls-R will - be more like double that size. */ -#ifndef DB_HASH_SIZE -#define DB_HASH_SIZE 15991 -#endif -#ifndef DB_NAME -#define DB_NAME "ls-R" -#endif - static hash_table_type alias_db; -#ifndef ALIAS_NAME -#define ALIAS_NAME "aliases" -#endif -#ifndef ALIAS_HASH_SIZE -#define ALIAS_HASH_SIZE 1009 -#endif static string_vector db_dir_list; @@ -2448,7 +2424,7 @@ /* Add the new string STR to the end of the list L. */ -void +static void str_llist_add (str_llist_type *l, const std::string& str) { str_llist_elt_type *e; @@ -2474,7 +2450,7 @@ directory, and looking for the file in all the directories in between is thus a waste. */ -void +static void str_llist_float (str_llist_type *l, str_llist_elt_type *mover) { str_llist_elt_type *last_moved, *unmoved; @@ -2589,7 +2565,7 @@ /* Maybe we should support some or all of the various shell ${...} constructs, especially ${var-value}. */ -std::string +static std::string kpse_var_expand (const std::string& src) { std::string expansion; diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/uint16NDArray.cc --- a/liboctave/uint16NDArray.cc Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/uint16NDArray.cc Fri Nov 19 03:26:32 2004 +0000 @@ -35,8 +35,6 @@ template class intNDArray; -template octave_uint16 pow (const octave_uint16& a, const octave_uint16& b); - template std::ostream& operator << (std::ostream& os, const intNDArray& a); diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/uint32NDArray.cc --- a/liboctave/uint32NDArray.cc Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/uint32NDArray.cc Fri Nov 19 03:26:32 2004 +0000 @@ -35,8 +35,6 @@ template class intNDArray; -template octave_uint32 pow (const octave_uint32& a, const octave_uint32& b); - template std::ostream& operator << (std::ostream& os, const intNDArray& a); diff -r 252e8c2a492b -r 6861a84b1d47 liboctave/uint8NDArray.cc --- a/liboctave/uint8NDArray.cc Fri Feb 01 21:16:05 2008 -0500 +++ b/liboctave/uint8NDArray.cc Fri Nov 19 03:26:32 2004 +0000 @@ -35,8 +35,6 @@ template class intNDArray; -template octave_uint8 pow (const octave_uint8& a, const octave_uint8& b); - template std::ostream& operator << (std::ostream& os, const intNDArray& a);