Changeset 534
- Timestamp:
- 1999-09-07T16:57:43+12:00 (25 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/lib/Makefile
r440 r534 2 2 # 3 3 # Makefile -- Makefile for general C++ libraries 4 # A component of the Greenstone digital library software 5 # from the New Zealand Digital Library Project at the 6 # University of Waikato, New Zealand. 7 # 4 8 # Copyright (C) 1999 The New Zealand Digital Library Project 5 9 # 6 # PUT COPYRIGHT NOTICE HERE 10 # This program is free software; you can redistribute it and/or modify 11 # it under the terms of the GNU General Public License as published by 12 # the Free Software Foundation; either version 2 of the License, or 13 # (at your option) any later version. 14 # 15 # This program is distributed in the hope that it will be useful, 16 # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # GNU General Public License for more details. 19 # 20 # You should have received a copy of the GNU General Public License 21 # along with this program; if not, write to the Free Software 22 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 # 7 24 # 8 25 ########################################################################### … … 59 76 depend: 60 77 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES) 61 62 # DO NOT DELETE63 cfgread.o: cfgread.cpp cfgread.h gsdlconf.h site.h text_t.h \64 /usr/include/g++/vector /usr/include/g++/vector.h \65 /usr/include/g++/function.h /usr/include/g++/algobase.h \66 /usr/include/g++/pair.h /usr/include/g++/iterator.h \67 /usr/lib/gcc-lib/i486-linux/2.7.2/include/stddef.h \68 /usr/include/g++/iostream.h /usr/include/g++/streambuf.h \69 /usr/include/libio.h /usr/include/_G_config.h \70 /usr/include/sys/cdefs.h /usr/include/g++/defalloc.h \71 /usr/include/g++/new.h /usr/include/g++/std/new.h \72 /usr/include/g++/std/cstddef.h /usr/include/stdlib.h \73 /usr/include/features.h /usr/include/errno.h \74 /usr/include/linux/errno.h /usr/include/asm/errno.h \75 /usr/include/alloca.h \76 /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h \77 /usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h \78 /usr/include/limits.h /usr/include/posix1_lim.h \79 /usr/include/linux/limits.h /usr/include/posix2_lim.h \80 /usr/include/g++/list /usr/include/g++/list.h /usr/include/g++/set \81 /usr/include/g++/set.h /usr/include/g++/tree.h \82 /usr/include/g++/projectn.h /usr/include/g++/map \83 /usr/include/g++/map.h /usr/include/g++/fstream.h84 fileutil.o: fileutil.cpp fileutil.h text_t.h gsdlconf.h site.h \85 /usr/include/g++/vector /usr/include/g++/vector.h \86 /usr/include/g++/function.h /usr/include/g++/algobase.h \87 /usr/include/g++/pair.h /usr/include/g++/iterator.h \88 /usr/lib/gcc-lib/i486-linux/2.7.2/include/stddef.h \89 /usr/include/g++/iostream.h /usr/include/g++/streambuf.h \90 /usr/include/libio.h /usr/include/_G_config.h \91 /usr/include/sys/cdefs.h /usr/include/g++/defalloc.h \92 /usr/include/g++/new.h /usr/include/g++/std/new.h \93 /usr/include/g++/std/cstddef.h /usr/include/stdlib.h \94 /usr/include/features.h /usr/include/errno.h \95 /usr/include/linux/errno.h /usr/include/asm/errno.h \96 /usr/include/alloca.h \97 /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h \98 /usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h \99 /usr/include/limits.h /usr/include/posix1_lim.h \100 /usr/include/linux/limits.h /usr/include/posix2_lim.h \101 /usr/include/g++/list /usr/include/g++/list.h /usr/include/g++/set \102 /usr/include/g++/set.h /usr/include/g++/tree.h \103 /usr/include/g++/projectn.h /usr/include/g++/map \104 /usr/include/g++/map.h /usr/include/g++/fstream.h105 text_t.o: text_t.cpp text_t.h gsdlconf.h site.h \106 /usr/include/g++/vector /usr/include/g++/vector.h \107 /usr/include/g++/function.h /usr/include/g++/algobase.h \108 /usr/include/g++/pair.h /usr/include/g++/iterator.h \109 /usr/lib/gcc-lib/i486-linux/2.7.2/include/stddef.h \110 /usr/include/g++/iostream.h /usr/include/g++/streambuf.h \111 /usr/include/libio.h /usr/include/_G_config.h \112 /usr/include/sys/cdefs.h /usr/include/g++/defalloc.h \113 /usr/include/g++/new.h /usr/include/g++/std/new.h \114 /usr/include/g++/std/cstddef.h /usr/include/stdlib.h \115 /usr/include/features.h /usr/include/errno.h \116 /usr/include/linux/errno.h /usr/include/asm/errno.h \117 /usr/include/alloca.h \118 /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h \119 /usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h \120 /usr/include/limits.h /usr/include/posix1_lim.h \121 /usr/include/linux/limits.h /usr/include/posix2_lim.h \122 /usr/include/g++/list /usr/include/g++/list.h /usr/include/g++/set \123 /usr/include/g++/set.h /usr/include/g++/tree.h \124 /usr/include/g++/projectn.h /usr/include/g++/map \125 /usr/include/g++/map.h /usr/include/g++/algorithm \126 /usr/include/g++/algo.h /usr/include/g++/heap.h \127 /usr/include/g++/tempbuf.h ../packages/mg/lib/unitool.h128 display.o: display.cpp display.h gsdlconf.h site.h text_t.h \129 /usr/include/g++/vector /usr/include/g++/vector.h \130 /usr/include/g++/function.h /usr/include/g++/algobase.h \131 /usr/include/g++/pair.h /usr/include/g++/iterator.h \132 /usr/lib/gcc-lib/i486-linux/2.7.2/include/stddef.h \133 /usr/include/g++/iostream.h /usr/include/g++/streambuf.h \134 /usr/include/libio.h /usr/include/_G_config.h \135 /usr/include/sys/cdefs.h /usr/include/g++/defalloc.h \136 /usr/include/g++/new.h /usr/include/g++/std/new.h \137 /usr/include/g++/std/cstddef.h /usr/include/stdlib.h \138 /usr/include/features.h /usr/include/errno.h \139 /usr/include/linux/errno.h /usr/include/asm/errno.h \140 /usr/include/alloca.h \141 /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h \142 /usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h \143 /usr/include/limits.h /usr/include/posix1_lim.h \144 /usr/include/linux/limits.h /usr/include/posix2_lim.h \145 /usr/include/g++/list /usr/include/g++/list.h /usr/include/g++/set \146 /usr/include/g++/set.h /usr/include/g++/tree.h \147 /usr/include/g++/projectn.h /usr/include/g++/map \148 /usr/include/g++/map.h /usr/include/g++/algorithm \149 /usr/include/g++/algo.h /usr/include/g++/heap.h \150 /usr/include/g++/tempbuf.h /usr/include/g++/fstream.h gsdlunicode.h \151 /usr/include/assert.h152 gsdlunicode.o: gsdlunicode.cpp gsdlunicode.h text_t.h gsdlconf.h \153 site.h /usr/include/g++/vector /usr/include/g++/vector.h \154 /usr/include/g++/function.h /usr/include/g++/algobase.h \155 /usr/include/g++/pair.h /usr/include/g++/iterator.h \156 /usr/lib/gcc-lib/i486-linux/2.7.2/include/stddef.h \157 /usr/include/g++/iostream.h /usr/include/g++/streambuf.h \158 /usr/include/libio.h /usr/include/_G_config.h \159 /usr/include/sys/cdefs.h /usr/include/g++/defalloc.h \160 /usr/include/g++/new.h /usr/include/g++/std/new.h \161 /usr/include/g++/std/cstddef.h /usr/include/stdlib.h \162 /usr/include/features.h /usr/include/errno.h \163 /usr/include/linux/errno.h /usr/include/asm/errno.h \164 /usr/include/alloca.h \165 /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h \166 /usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h \167 /usr/include/limits.h /usr/include/posix1_lim.h \168 /usr/include/linux/limits.h /usr/include/posix2_lim.h \169 /usr/include/g++/list /usr/include/g++/list.h /usr/include/g++/set \170 /usr/include/g++/set.h /usr/include/g++/tree.h \171 /usr/include/g++/projectn.h /usr/include/g++/map \172 /usr/include/g++/map.h ../packages/mg/lib/unitool.h fileutil.h \173 /usr/include/stdio.h174 gsdltimes.o: gsdltimes.cpp gsdltimes.h /usr/include/time.h \175 /usr/include/features.h /usr/include/sys/cdefs.h \176 /usr/include/sys/time.h /usr/include/linux/types.h \177 /usr/include/linux/posix_types.h /usr/include/asm/posix_types.h \178 /usr/include/asm/types.h /usr/include/linux/time.h \179 /usr/include/sys/types.h /usr/include/sys/bitypes.h text_t.h \180 gsdlconf.h site.h /usr/include/g++/vector /usr/include/g++/vector.h \181 /usr/include/g++/function.h /usr/include/g++/algobase.h \182 /usr/include/g++/pair.h /usr/include/g++/iterator.h \183 /usr/lib/gcc-lib/i486-linux/2.7.2/include/stddef.h \184 /usr/include/g++/iostream.h /usr/include/g++/streambuf.h \185 /usr/include/libio.h /usr/include/_G_config.h \186 /usr/include/g++/defalloc.h /usr/include/g++/new.h \187 /usr/include/g++/std/new.h /usr/include/g++/std/cstddef.h \188 /usr/include/stdlib.h /usr/include/errno.h /usr/include/linux/errno.h \189 /usr/include/asm/errno.h /usr/include/alloca.h \190 /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h \191 /usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h \192 /usr/include/limits.h /usr/include/posix1_lim.h \193 /usr/include/linux/limits.h /usr/include/posix2_lim.h \194 /usr/include/g++/list /usr/include/g++/list.h /usr/include/g++/set \195 /usr/include/g++/set.h /usr/include/g++/tree.h \196 /usr/include/g++/projectn.h /usr/include/g++/map \197 /usr/include/g++/map.h -
trunk/gsdl/lib/cfgread.cpp
r131 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.5 1999/09/07 04:57:41 sjboddie 31 added gpl notice 32 14 33 Revision 1.4 1999/02/02 09:54:26 rjmcnab 15 34 -
trunk/gsdl/lib/cfgread.h
r114 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/lib/display.cpp
r477 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.14 1999/09/07 04:57:41 sjboddie 31 added gpl notice 32 14 33 Revision 1.13 1999/08/31 07:59:11 rjmcnab 15 34 Generalised spaces to unicode spaces, added ability to automatically detect -
trunk/gsdl/lib/display.h
r182 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/lib/fileutil.cpp
r478 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.8 1999/09/07 04:57:42 sjboddie 31 added gpl notice 32 14 33 Revision 1.7 1999/08/31 08:00:43 rjmcnab 15 34 Fixed a windows specific error in the file_exists function. -
trunk/gsdl/lib/fileutil.h
r224 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/lib/gsdlconf.h
r483 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/lib/gsdltimes.cpp
r371 r534 4 4 * Copyright (C) 1999 DigiLib Systems Limited, New Zealand 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.2 1999/09/07 04:57:42 sjboddie 31 added gpl notice 32 14 33 Revision 1.1 1999/07/11 10:52:56 rjmcnab 15 34 Initial revision. … … 23 42 // returns "" if an error occurs 24 43 text_t time2text (time_t time) { 25 tm *tm_ptr = localtime(&time);44 tm *tm_ptr = gmtime(&time); 26 45 if (tm_ptr == NULL) return ""; 27 46 -
trunk/gsdl/lib/gsdltimes.h
r371 r534 4 4 * Copyright (C) 1999 DigiLib Systems Limited, New Zealand 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/lib/gsdlunicode.cpp
r413 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.10 1999/09/07 04:57:43 sjboddie 31 added gpl notice 32 14 33 Revision 1.9 1999/07/21 07:23:17 rjmcnab 15 34 Added setmapfile function to map conversion utilities so the map file -
trunk/gsdl/lib/gsdlunicode.h
r413 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/lib/text_t.cpp
r480 r534 1 1 /********************************************************************** 2 2 * 3 * text_t.cpp -- a simple 16-bit chara ter string class3 * text_t.cpp -- a simple 16-bit character string class 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.13 1999/09/07 04:57:43 sjboddie 31 added gpl notice 32 14 33 Revision 1.12 1999/08/31 08:04:41 rjmcnab 15 34 Fixed a small but hard to find bug in getcarr -
trunk/gsdl/lib/text_t.h
r479 r534 1 1 /********************************************************************** 2 2 * 3 * text_t.h -- a simple 16-bit chara ter string class3 * text_t.h -- a simple 16-bit character string class 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/Makefile
r440 r534 2 2 # 3 3 # Makefile -- 4 # A component of the Greenstone digital library software 5 # from the New Zealand Digital Library Project at the 6 # University of Waikato, New Zealand. 7 # 4 8 # Copyright (C) 1999 The New Zealand Digital Library Project 5 9 # 6 # PUT COPYRIGHT NOTICE HERE 10 # This program is free software; you can redistribute it and/or modify 11 # it under the terms of the GNU General Public License as published by 12 # the Free Software Foundation; either version 2 of the License, or 13 # (at your option) any later version. 14 # 15 # This program is distributed in the hope that it will be useful, 16 # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # GNU General Public License for more details. 19 # 20 # You should have received a copy of the GNU General Public License 21 # along with this program; if not, write to the Free Software 22 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 # 7 24 # 8 25 ########################################################################### -
trunk/gsdl/src/colservr/browsefilter.cpp
r491 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.7 1999/09/07 04:57:20 sjboddie 31 added gpl notice 32 14 33 Revision 1.6 1999/08/31 22:33:21 rjmcnab 15 34 small update. … … 78 97 79 98 // get the filename for the database and make sure it exists 80 81 82 // yet another hack for niupepa 83 if (collection == "niupepa") 84 gdbm_filename = filename_cat(collectdir,"index.new","text",collection); 85 else 86 gdbm_filename = filename_cat(collectdir,"index","text",collection); 99 gdbm_filename = filename_cat(collectdir,"index","text",collection); 87 100 88 101 #ifdef _LITTLE_ENDIAN -
trunk/gsdl/src/colservr/browsefilter.h
r227 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/collectserver.cpp
r492 r534 5 5 * Copyright (C) 1999 The New Zealand Digital Library Project 6 6 * 7 * PUT COPYRIGHT NOTICE HERE 7 * A component of the Greenstone digital library software 8 * from the New Zealand Digital Library Project at the 9 * University of Waikato, New Zealand. 10 * 11 * This program is free software; you can redistribute it and/or modify 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2 of the License, or 14 * (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program; if not, write to the Free Software 23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 8 24 * 9 25 * $Id$ … … 13 29 /* 14 30 $Log$ 31 Revision 1.15 1999/09/07 04:57:20 sjboddie 32 added gpl notice 33 15 34 Revision 1.14 1999/08/31 22:34:55 rjmcnab 16 35 Changes to get compiling on AIX. -
trunk/gsdl/src/colservr/collectserver.h
r492 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/colservrconfig.cpp
r166 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.2 1999/09/07 04:57:20 sjboddie 31 added gpl notice 32 14 33 Revision 1.1 1999/02/21 22:32:55 rjmcnab 15 34 … … 78 97 filename = filename_cat (filename, collection); 79 98 filename = filename_cat (filename, "index"); 99 80 100 filename = filename_cat (filename, "build.cfg"); 81 101 if (!file_exists (filename)) { -
trunk/gsdl/src/colservr/colservrconfig.h
r166 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/filter.cpp
r493 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.9 1999/09/07 04:57:21 sjboddie 31 added gpl notice 32 14 33 Revision 1.8 1999/08/31 22:37:34 rjmcnab 15 34 A few changes to get compiling on AIX. -
trunk/gsdl/src/colservr/filter.h
r495 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/gdbmclass.cpp
r125 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.6 1999/09/07 04:57:21 sjboddie 31 added gpl notice 32 14 33 Revision 1.5 1999/01/25 03:59:40 sjboddie 15 34 fixed a bug in sorting code -
trunk/gsdl/src/colservr/gdbmclass.h
r124 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/maptools.cpp
r494 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.3 1999/09/07 04:57:22 sjboddie 31 added gpl notice 32 14 33 Revision 1.2 1999/08/31 22:39:28 rjmcnab 15 34 Changes for AIX. -
trunk/gsdl/src/colservr/maptools.h
r495 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/mggdbmsource.cpp
r496 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.15 1999/09/07 04:57:22 sjboddie 31 added gpl notice 32 14 33 Revision 1.14 1999/08/31 22:40:44 rjmcnab 15 34 A couple of gdbm changes. … … 115 134 // get the filename for the database and make sure it exists 116 135 gdbm_filename = filename_cat(collectdir,"index","text",collection); 117 118 // temporary hack for niupepa119 if (collection == "niupepa")120 gdbm_filename = filename_cat(collectdir,"index.new","text",collection);121 136 122 137 #ifdef _LITTLE_ENDIAN -
trunk/gsdl/src/colservr/mggdbmsource.h
r312 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/mgq.h
r334 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/mgsearch.cpp
r497 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.18 1999/09/07 04:57:22 sjboddie 31 added gpl notice 32 14 33 Revision 1.17 1999/08/31 22:42:41 rjmcnab 15 34 A couple of minor things. … … 272 291 273 292 text_t indexsuffix = "index"; 274 // temporary hack so old version of niupepa collection275 // can stay up until new one's finished276 if (collection == "niupepa") indexsuffix = "index.new";277 278 293 indexsuffix = filename_cat (indexsuffix, index); 279 294 indexsuffix = filename_cat (indexsuffix, collection); -
trunk/gsdl/src/colservr/mgsearch.h
r498 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/phrasequeryfilter.cpp
r499 r534 4 4 * Copyright (C) 1999 DigiLib Systems Limited, New Zealand 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.4 1999/09/07 04:57:23 sjboddie 31 added gpl notice 32 14 33 Revision 1.3 1999/08/31 22:44:38 rjmcnab 15 34 Fixed small bug. -
trunk/gsdl/src/colservr/phrasequeryfilter.h
r351 r534 4 4 * Copyright (C) 1999 DigiLib Systems Limited, New Zealand 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/phrasesearch.cpp
r500 r534 4 4 * Copyright (C) 1999 DigiLib Systems Limited 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.6 1999/09/07 04:57:23 sjboddie 31 added gpl notice 32 14 33 Revision 1.5 1999/08/31 22:45:12 rjmcnab 15 34 fixed small problem -
trunk/gsdl/src/colservr/phrasesearch.h
r395 r534 4 4 * Copyright (C) 1999 DigiLib Systems Limited 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/querycache.cpp
r114 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.4 1999/09/07 04:57:24 sjboddie 31 added gpl notice 32 14 33 Revision 1.3 1999/01/19 01:38:17 rjmcnab 15 34 -
trunk/gsdl/src/colservr/querycache.h
r110 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/queryfilter.cpp
r501 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.16 1999/09/07 04:57:24 sjboddie 31 added gpl notice 32 14 33 Revision 1.15 1999/08/31 22:47:09 rjmcnab 15 34 Added matchmode option for some and all. … … 71 90 #include <assert.h> 72 91 73 #define MAXDOCS 50000 // note that maxdocs must be at least as large74 92 #define MAXDOCS 200 // note that maxdocs must be at least as large 93 // as the highest possible value of EndResults 75 94 76 95 // some useful functions … … 585 604 586 605 // get the filename for the database and make sure it exists 587 588 589 // yet another hack for niupepa 590 if (collection == "niupepa") 591 gdbm_filename = filename_cat(collectdir,"index.new","text",collection); 592 else 593 gdbm_filename = filename_cat(collectdir,"index","text",collection); 606 gdbm_filename = filename_cat(collectdir,"index","text",collection); 594 607 595 608 #ifdef _LITTLE_ENDIAN -
trunk/gsdl/src/colservr/queryfilter.h
r396 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/queryinfo.cpp
r502 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.12 1999/09/07 04:57:24 sjboddie 31 added gpl notice 32 14 33 Revision 1.11 1999/08/31 22:47:57 rjmcnab 15 34 Added MatchMode. -
trunk/gsdl/src/colservr/queryinfo.h
r503 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ -
trunk/gsdl/src/colservr/source.cpp
r504 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$ … … 12 28 /* 13 29 $Log$ 30 Revision 1.7 1999/09/07 04:57:25 sjboddie 31 added gpl notice 32 14 33 Revision 1.6 1999/08/31 22:49:01 rjmcnab 15 34 Changes for AIX. -
trunk/gsdl/src/colservr/source.h
r504 r534 4 4 * Copyright (C) 1999 The New Zealand Digital Library Project 5 5 * 6 * PUT COPYRIGHT NOTICE HERE 6 * A component of the Greenstone digital library software 7 * from the New Zealand Digital Library Project at the 8 * University of Waikato, New Zealand. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 23 * 8 24 * $Id$
Note:
See TracChangeset
for help on using the changeset viewer.