RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change
on this file since 1568554 was
647407d,
checked in by Olly Betts <olly@…>, 24 years ago
|
Lots of fixes from CUCC 2000 Expo:
- cavern: *fix with error values (one for same all round, two for horizontal
and vertical, three for x, y, z)
- Fixed RISC OS not treating "foo." as a directory
- Improved behaviour when sgmltools not installed
- cavern: Merged patches for generating .3dx files for chasm
- Miscellaneous code tidying
- Moved unresolvable issues from BUGS to ZOMBIES
- cavern: Fixed articulation code bug (handling of some cases of components
with multiple fixed points); added regression test
- cavern: "*begin" / "*end foo" now gives more explicit error
- cavern: More work on gross error detection
- xcaverot: you can now set environmental variables XCAVEROT_FONTNAME,
XCAVEROT_INDICATOR_RADIUS
- extend: now starts from highest station with only one leg. If no such
station exists then revert to the previous behaviour of starting from
the highest station (but complain if we have no legs at all).
- cavern: line numbers now correct for .svx files with Mac style lineends
- cavern: improved error reporting in several cases
- caverot: on RISC OS now fall back to using 2 or even just one screen
bank if we can't find a mode where we can create 3 banks [FIXME: need
to test this works]
- cavern: added data styles "TOPOFIL" (like tape/compass/clino but with a
counter instead of the tape), "CARTESIAN" (dx, dy, dz), and "NOSURVEY"
(for unsurveyed connections between surveys)
- cavern: can now suppress "unused fixed point" error on a station by
station basis by using: "*fix <station> reference <coords>"
- cavern: new command "*require <version>" to allow survey data to specify
the minimum survex version required to process it
- print*: now search multiple print.ini files so you can override settings
in the shipped file rather than having to modify it. Search order is:
~/.survex/print.ini (unix only), $SURVEXHOME/myprint.ini,
$SURVEXHOME/print.ini
- Changed xcaverot rotation/zoom to be the same way round as caverot
- diffpos, extend, xcaverot, caverot: Now use cmdline library to parse
command line arguments and so support --help, --version, etc.
- hto2svx, svx2hto, and survex wrapper now all support --help and --version
- `configure --disable-aven' now disables building of aven
- caverot: on RISC OS fall back to using 2 or just 1 screen bank if there's
not enough video memory allocated for 3.
- Documentation brought more up to date.
- If a station is only referenced once, and that reference is in a *equate
and with an explicit prefix (e.g. "*equate 1 possibletypo.6"), a warning
is issued.
- configure now autoprobes compiler for 16 and 32 bit types so osdepend.h
no longer needs to list them for each platform.
- Removed pointless check for floating point support - it was only implemented
for RISC OS and without FP the program falls over during initialisation and
never gets to the check.
- Rearranged caverot sources to make use of cvrotimg from other programs
cleaner.
- Minor enhancements to cmdline library.
- Strings read by get_token now reported with original case in error messages.
- Handle LANG=C (Mandrake Linux) and LANG=en_US (RedHat? 6.1).
git-svn-id: file:///home/survex-svn/survex/trunk@460 4b37db11-9a0c-4f06-9ece-9ab7cdaee568
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[d1b1380] | 1 | /* > ini.h |
---|
| 2 | * .ini file routines |
---|
[647407d] | 3 | * Copyright (C) 1995-2000 Olly Betts |
---|
[846746e] | 4 | * |
---|
[89231c4] | 5 | * This program is free software; you can redistribute it and/or modify |
---|
| 6 | * it under the terms of the GNU General Public License as published by |
---|
| 7 | * the Free Software Foundation; either version 2 of the License, or |
---|
| 8 | * (at your option) any later version. |
---|
[846746e] | 9 | * |
---|
| 10 | * This program is distributed in the hope that it will be useful, |
---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
[89231c4] | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 13 | * GNU General Public License for more details. |
---|
[846746e] | 14 | * |
---|
[89231c4] | 15 | * You should have received a copy of the GNU General Public License |
---|
| 16 | * along with this program; if not, write to the Free Software |
---|
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
[d1b1380] | 18 | */ |
---|
| 19 | |
---|
| 20 | #include <stdio.h> |
---|
| 21 | |
---|
[647407d] | 22 | /* fh_list is a NULL terminated array of FILE*-s of ini files |
---|
| 23 | * section is the section of the ini file to read from |
---|
[d1b1380] | 24 | * vars is a list of variables to read (terminated by NULL) |
---|
| 25 | * returns a list of values with NULL for "not found" (not terminated) |
---|
| 26 | */ |
---|
[647407d] | 27 | char **ini_read(FILE **fh_list, char *section, char **vars); |
---|
[d1b1380] | 28 | |
---|
[647407d] | 29 | /* very similar to ini_read, but recursively tries the section named by |
---|
| 30 | * the first read parameter until it finds the variable or finds no |
---|
| 31 | * recursive field |
---|
[d1b1380] | 32 | */ |
---|
[647407d] | 33 | char **ini_read_hier(FILE **fh_list, char *section, char **vars); |
---|
Note: See
TracBrowser
for help on using the repository browser.