[Getdata-commits] SF.net SVN: getdata:[776] tags
Scientific Database Format
Brought to you by:
ketiltrout
From: <ket...@us...> - 2012-12-13 01:03:45
|
Revision: 776 http://getdata.svn.sourceforge.net/getdata/?rev=776&view=rev Author: ketiltrout Date: 2012-12-13 01:03:33 +0000 (Thu, 13 Dec 2012) Log Message: ----------- Tag getdata-0.8.2 Added Paths: ----------- tags/getdata-0.8.2/ tags/getdata-0.8.2/ChangeLog tags/getdata-0.8.2/NEWS tags/getdata-0.8.2/RELEASE_NOTES.in tags/getdata-0.8.2/getdata/ tags/getdata-0.8.2/m4/version.m4 Removed Paths: ------------- tags/getdata-0.8.2/ChangeLog tags/getdata-0.8.2/NEWS tags/getdata-0.8.2/RELEASE_NOTES.in tags/getdata-0.8.2/m4/version.m4 Deleted: tags/getdata-0.8.2/ChangeLog =================================================================== --- trunk/getdata/ChangeLog 2012-12-12 22:16:46 UTC (rev 774) +++ tags/getdata-0.8.2/ChangeLog 2012-12-13 01:03:33 UTC (rev 776) @@ -1,5511 +0,0 @@ -2012-12-12 D. V. Wiebe <ge...@ke...> svn:773 - * src/common.c (_GD_CanonicalPath): Don't bail early when encountering a - trailing absolute symlink. - - * src/common.c (_GD_CanonicalPath): Strip DIRSEP along with a symlink name - from res when necessary. - - * test/test.h test/parse_include_absolute.c test/parse_include_absrel.c - test/parse_include_relabs.c: Abstract getcwd in the header. - * test/open_sym_a.c test/open_sym_al.c test/open_sym_at.c test/open_sym_c.c - test/open_sym_cl.c test/open_sym_ct.c test/open_sym_p.c test/open_sym_pl.c - test/open_sym_pt.c: Added. - -2012-11-22 D. V. Wiebe <ge...@ke...> svn:772 - * src/encoding.c (_GD_WriteOut): Remove unnecessary DIRFILE parameter. - -2012-10-10 D. V. Wiebe <ge...@ke...> svn:771 - * src/getdata.c (_GD_DoMplex): Check we're at the BOF before trying to do a - lookback. - - * src/internal.h: Only export gd_MakeFullPathOnly when using modules. - -2012-08-20 D. V. Wiebe <ge...@ke...> svn:767 - GetData-0.8.1 released. - -2012-08-15 D. V. Wiebe <ge...@ke...> svn:760 - * src/internal (_GD_IsDirSep): Added. - * src/common.c (_GD_CanonicalPath): Call _GD_IsDirSep - -2012-08-15 D. V. Wiebe <ge...@ke...> svn:759 - GetData-0.8.1rc1: - - * src/parse.c (_GD_ParseDirective _GD_ParseFragment): Remove inappropriate - restrict keywords. Reported by Daniel Flanigan. - -2012-08-14 D. V. Wiebe <ge...@ke...> svn:757 - * src/include.c (_GD_Include): Return the correct fragment index, not just - D->n_fragment - 1. - * test/include_sub.c: Added. - -2012-08-04 D. V. Wiebe <ge...@ke...> svn:755 - * src/parse.c (_GD_ParseFragment): Don't resize instring unnecessarily. - -2012-08-04 D. V. Wiebe <ge...@ke...> svn:754 - * src/parse.c (_GD_ParseDirective): Delete free reference on encountered - one in a subfragment. - -2012-08-02 D. V. Wiebe <ge...@ke...> svn:753 - * src/include.c (_GD_Include): Reject non-regular files as fragments. - -2012-08-02 D. V. Wiebe <ge...@ke...> svn:752 - * src/globals.c (gd_dirfilename): Return the full path. - * test/global_name.c: Update. - - * src/add.c (_GD_Add): Properly compute filebase. - - * src/entry.c (gd_linterp_tablename): Added. - * test/table.c test/table_code. test/table_type.c: Added. - * bindings/cxx/dirfile.cpp (Dirfile::LinterpTableName) - bindings/perl/simple_funcs.xsin (linterp_tablename) - bindings/f77/getdata.f90.in (fgd_linterp_tablename) bindings/f77/fgetdata.c - (GDLTTN) bindings/idl/getdata.c (gdidl_get_linterp_tablename) - bindings/python/pydirfile.c (gdpy_dirfile_linterptablename): Added. - * bindings/perl/simple_funcs.pl: Handle returning malloc'd string. - - * bindings/cxx/test/big_test.cpp bindings/perl/test/big_test.t - bindings/f77/test/big_test.f bindings/f77/test/big_test95.f90 - bindings/idl/test/big_test.pro bindings/python/test/big_test.py: Add test - 241. Update tests 21 and 80. - -2012-07-26 D. V. Wiebe <ge...@ke...> svn:751 - * src/flush.c (_GD_FieldSpec): Write /HIDDEN directives for /ALIASes. - -2012-07-26 D. V. Wiebe <ge...@ke...> svn:749 - * src/parse.c (_GD_SetScalar _GD_ParseLincom _GD_ParseLinterp - _GD_ParseMultiply _GD_ParseRecip _GD_ParseWindow _GD_ParseMplex - _GD_ParseDivide _GD_ParseBit _GD_ParsePhase _GD_ParsePolynom - _GD_ParseAlias): Store munged input fields. - * src/entry.c (_GD_GetScalar) src/common.c (_GD_BadInput) src/parse.c - (_GD_ResolveAlias): Don't (re-)munge field codes. - - * src/name.c (_GD_MungeCode): Take an additional parameter, err_ok, - indicating whether missing affixes indicate an internal error or not. - - * src/mod.c (_GD_AlterInField) src/name.c (_GD_CheckCodeAffixes): Added. - * src/mod.c (_GD_AlterScalar) src/add.c (_GD_FixName _GD_Add _GD_AddAlias): - Call _GD_CheckCodeAffixes. - * src/mod.c (_GD_Change): Call _GD_AlterInField to modify in_fields. - - * src/flush.c (_GD_WriteFieldCode): Added. - * src/flush.c (_GD_PadField _GD_WriteConst _GD_FieldSpec): Call - _GD_WriteFieldCode. - - * test/get_affix.c test/add_alias_affix.c test/add_alias_affix.c - test/add_spec_affix.c test/madd_alias_affix.c test/alter_lincom_affix.c - test/add_lincom_affix.c test/alter_scalar_affix.c: Added. - - * test/add_string_affix.c test/madd_affix.c test/add_affix.c: Update for new - affix semantics. - - * src/mod.c (gd_alter_entry) src/add.c (gd_madd_alias): Clear error when - starting. - -2012-07-12 D. V. Wiebe <ge...@ke...> svn:743 - * bindings/f77/fgetdata.c (GDALLC): Delete unnecessary malloc. - * src/fragment.c (_GD_CheckAffixes): Free subaffixes on error. - * src/fragment.c (gd_desync): Free old name after reopen. - * src/include.c (_GD_Include): Free sname on error. - * src/add.c (_GD_Add): Free temp_buffer on error. - * src/close.c (_GD_FreeD): Free tok_base and error_prefix. - * src/move.c (_GD_Move): Free new_code on error. - * src/parse.c (gd_strtok): Cache the string per documentation. - - * test/valgrind.suppressions: Added. - * bindings/cxx/test/big_test.cpp test/add_affix.c test/add_meta_alias.c - test/add_scalar_carray.c test/name_updb_alias.c test/name_updb_const.c - test/name_updb_const_alias.c test/name_alias.c test/name_updb.c - test/madd_affix.c test/add_meta.c test/add_scalar.c test/name.c test/add.c - test/parse_mplex_nomax.c: Deal with memory. - -2012-07-10 D. V. Wiebe <ge...@ke...> svn:740 - * src/common.c (_GD_CanonicalPath): Fix pointer arithmetic - - * src/compat.c (gd_strtod): Drop octal (not in POSIX); handle hex floating - point; don't zero errno. - -2012-07-04 D. V. Wiebe <ge...@ke...> svn:737 - GetData-0.8.0 released. - -2012-07-04 D. V. Wiebe <ge...@ke...> svn:736 - * src/constant.c (gd_get_carray_slice gd_get_carray gd_carray_len - gd_put_carray_slice gd_put_carray): Handle both CONST and CARRAY. - * src/constant.c (gd_get_constant gd_put_constant): Just call the - corresponding carray_slice function. - -2012-06-30 D. V. Wiebe <ge...@ke...> svn:732 - * src/getdata.h.in configure.ac cmake/CMakeLists.txt: Fix definition of - gd_off64_t. - - * bindings/perl/Build.PL.in: make getdata.h a dependency of lib/GetData.xs. - -2012-06-29 D. V. Wiebe <ge...@ke...> svn:728 - * src/getdata.h.in src/internal.h src/errors.c: Merge GD_E_BAD_VERSION into - GD_E_ARGUMENT. - -2012-06-28 D. V. Wiebe <ge...@ke...> svn:725,726 - * util/checkdirfile.c: Find and report dangling aliases. - - * bindings/python/pydirfile.c (gdpy_dirfile_nentries gdpy_dirfile_entrylist) - bindings/cxx/dirfile.cpp (Dirfile::NEntries Dirfile::EntryList) - bindings/perl/GetData.xs (entry_list) : Fix signedness of "type". - * bindings/idl/getdata.c (gdidl_get_field_list gdidl_get_nfields): Deal with - /ALIASES. - * bindings/make_parameters.c: Add GD_ALIAS_ENTRIES. - - * test/nentries_noalias.c test/elist_noalias.c: Renamed from ..._alias.c. - * test/nentries_alias.c test/elist_alias.c: Added. - - * src/internal.h getdata.h.in: Move GD_ALIAS_ENTRY to public header. - * src/getdata.h.in: Define GD_ALIAS_ENTRIES. - * src/field_list.c (_GD_EntryIndex _GD_ListEntry) src/nfields.c - (_GD_NEntries): Handle GD_ALIAS_ENTRIES. - - * src/common.c (_GD_CanonicalPath): Sidestep GCC warning. - -2012-06-27 D. V. Wiebe <ge...@ke...> svn:724 - * src/name.c (_GD_UpdateScalar _GD_InvalidateConst _GD_UpdateInField - _GD_InvalidateVect): Handle aliases. - * src/name.c (gd_rename): Don't dereference aliases. - * src/name.c (gd_rename_alias): Deleted. - * test/name.c test/name_updb_const.c test/name_updb.c: Updated. - * test/name_updb_const_alias.c test/name_move_alias.c test/name_alias.c - test/name_updb_alias.c: Added. - * test/name_after_const.c test/name_after.c: Deleted. - - * src/parse.c (_GD_ResolveAlias): Reset aliases if requested. - - * man/make_html.pl: Don't eat "**" in synopses. - -2012-06-25 D. V. Wiebe <ge...@ke...> svn:723 - * src/flush.c (_GD_FindVersion): ALIAS means >= 9. - - * util/checkdirfile.c: Grammar. - -2012-06-13 D. V. Wiebe <ge...@ke...> svn:721 - GetData-0.8.0rc2. - -2012-06-04 D. V. Wiebe <ge...@ke...> svn:720 - * bindings/cxx/dirfile.cpp bindings/cxx/fragment.cpp - bindings/cxx/getdata/dirfile.h bindings/cxx/getdata/fragment.h: off_t - -> gd_off64_t. - -2012-06-02 D. V. Wiebe <ge...@ke...> svn:717 - * src/internal.h (_GD_AbsPath): Allow s == NULL. - -2012-05-25 D. V. Wiebe <ge...@ke...> svn:712 - * bindings/cxx/fragment.cpp (Fragment::Fragment Fragment::SetEndianness) - bindings/cxx/dirfile.cpp (Dirfile::NFrames Dirfile::EoF Dirfile::BoF - Dirfile::GetData Dirfile::PutData Dirfile::FrameNum Dirfile::Seek - Dirfile::Tell): Call the 64-bit API. - - * src/getdata.h.in: Support GD_64BIT_API and use configure to define - gd_off64_t. - * src/internal.h bindings/cxx/getdata/dirfile.h: Define GD_64BIT_API before - including getdata.h. - - * test/Makefile.am man/Makefile.am: Remove LFS_TRANSITIONAL_API (always - enabled). - - * confihure.ac: Figure out a suitable type for gd_off64_t. Remove - LFS_TRANSITIONAL_API conditional. - -2012-05-23 D. V. Wiebe <ge...@ke...> svn:710 - * test/test.h: Don't redefine isnan if it's okay as-is. - - * src/open.c (_GD_CreateDirfile): Don't unnecessarily disable mtime - acquisition. - * cmake/test/CMakeLists.txt: enable desync checks. - - * src/compat.c (gd_strtod): Fix sign check. - -2012-05-22 D. V. Wiebe <ge...@ke...> svn:709 - * cmake/CMakeLists.txt: Update definitons. Support GD_UTIL. - * cmake/test/CMakeLists.txt: Update the list of excluded tests. - * cmake/src/CMakeLists.txt: Support GD_DEBUG and conditionally build debug.c. - * cmake/bindings/cxx/CMakeLists.txt: Support GD_TEST. - * cmake/util/CMakeLists.txt cmake/bindings/cxx/test/CMakeLists.txt: Added. - - * src/internal.h: Define PRNsize_t and PRNssize_t to get around printf()s - which don't recognise the "z" length modifier. Changed everywhere. Handle - basename, offsetof, strtod. - - * src/compat.c (basename gd_strtod): Added. - * src/parse.c (_GD_SetScalar) src/nan.h: Call gd_strtod. - - * README.win: Update. - - * bindings/cxx/test/big_test.cpp: Tweak includes to allow compilation with - MSVC. - - * bindings/cxx/getdata/entry.h bindings/cxx/getdata/fragment.h: Include - dirfile.h. - - * test/include_cb.c test/madd_window.c test/open_cb_cont.c - test/open_cb_invalid.c test/include_pc.c test/test.h test/open_cb_rescan.c - test/open_cb_abort.c test/open_cb_ignore.c: Tweak for compilation with MSVC. - - * test/add_meta_alias.c test/madd_affix.c test/parse_mplex_nomax.c - test/add_meta.c: Fix gd_entry_t access. - - * util/checkdirfile.c: Preprocessor fixes for compilation with MSVC. - -2012-04-21 D. V. Wiebe <ge...@ke...> svn:706 - GetData-0.8.0rc1: - - * bindings/cxx/test/big_test.cpp bindings/perl/test/big_test.t: Fix - mplex_lookback checks. - -2012-04-21 D. V. Wiebe <ge...@ke...> svn:705 - * man/make_html.pl: Improvements. - - * src/globals.c (gd_mplex_lookback): Always succeed; return void. - - * bindings/perl/simple_funcs.pl: Handle returning void. - -2012-04-19 D. V. Wiebe <ge...@ke...> svn:701 - * src/add.c (_GD_Add): Don't check protection level before figuring out the - fragment index. - - * bindings/perl/GetData.xs bindings/perl/typemap - bindings/perl/simple_funcs.pl: gdpu_spf_t -> gdpu_uint_t. - - * bindings/perl/GetData.xs (gdp_to_entry entry): Use "in_fields" everywhere - to be consistent with the C API. - - * bindings/perl/GetData.xs (mcarrays): Remove unpacked. Use GIMME_V - instead. - - * bindings/perl/simple_funcs.xsin (reference alter_phase add_window - alter_window alter_affixes add_mplex alter_mplex desync flags - verbose_prefix): Fix parameter defaults and types. - - * bindings/perl/Build.PL.in: Install GetData.pm - - * bindings/perl/simple_funcs.xsin (include include_affex): Deleted. - * bindings/perl/GetData.xs (include): Added. - - * doc/README.perl: Added. - * bindings/perl/GetData.pm.in: POD. - - * bindings/cxx/test/Makefile.am bindings/f77/Makefile.am test/Makefile.am - test/error_verbose.c test/error_verbose_prefix.c: Remove GNUisms. - -2012-04-13 D. V. Wiebe <ge...@ke...> svn:699 - * src/common.c (_GD_CanonicalPath): Terminate and don't clobber string - from realpath(). - - * bindings/make_parameters.c: Add GD_SIE_ENCODED. - - * bindings/cxx/getdata/fragment.h: Update encodings. - - * bindings/f77/fgetdata.c (GDTOKE) bindings/f77/getdata.f90.in (fgd_strtok): - Drop the 'n' parameter: just do what the C API does. - - * bindings/idl/getdata.c (gdidl_getdata gdidl_putdata): Drop /HERE: just use - the absense of FIRST_FRAME and FIRST_SAMPLE. - - * bindings/idl/getdata.c (gdidl_add_mplex): Make the MAX parameter optional. - -2012-04-01 D. V. Wiebe <ge...@ke...> svn:696 - * src/compat.c (_GD_ReadDir): Renamed from gd_readdir(). - -2012-04-01 D. V. Wiebe <ge...@ke...> svn:694 - * src/getdata.h.in: Deprecate gd_bit_t and gd_spf_t. Remove gd_count_t. - * src/getdata.h.in bindings/make_parameters.c: Remove GD_COUNT_MAX. - * cmake/CMakeLists.txt: Remove DEFINE_gd_int16_t and DEFINE_gd_uint16_t. - * src/internal.h: Calculate GD_INT_TYPE and GD_UINT_TYPE. - - * src/entry.c (_GD_CalculateEntry) src/flush.c (_GD_FieldSpec) src/getdata.c - (_GD_DoMplex) src/putdata.c (_GD_DoMplexOut gd_putdata64) src/del.c - (_GD_DeReference) src/parse.c (_GD_ParseMplex _GD_ParseBit) src/mod.c - (_GD_Change): Use GD_INT_TYPE when dealing with bitnum, numbits, count_max, - and count_val. - * src/add.c (gd_add_bit gd_add_sbit gd_add_mplex gd_madd_bit gd_madd_sbit - gd_madd_mplex) src/mod.c (gd_alter_bit gd_alter_sbit gd_alter_mplex) - bindings/python/pyentry.c (gdpy_entry_setnumbits gdpy_entry_setbitnum - gdpy_entry_setcountval gdpy_entry_setcountmax) bindings/cxx/mplexentry.cpp - (MplexEntry::MplexEntry MplexEntry::SetCountVal MplexEntry::SetCountMax) - bindings/cxx/sbitentry.cpp (SBitEntry::SBitEntry SBitEntry::SetFirstBit - SBitEntry::SetNumBits) bindings/cxx/test/big_test.cpp - bindings/cxx/bitentry.cpp (BitEntry::BitEntry BitEntry::SetFirstBit - BitEntry::SetNumBits) bindings/cxx/getdata/bitentry.h (FirstBit NumBits) - bindings/cxx/getdata/entry.h (FirstBit NumBits CountVal CountMax) - bindings/cxx/getdata/mplexentry.h (CountVal CountMax) - bindings/cxx/getdata/sbitentry.h (FirstBit NumBits) bindings/perl/GetData.xs - bindings/perl/typemap bindings/perl/simple_funcs.pl bindings/f77/fgetdata.c - (GDADBT GDADSB GDMDBT GDMDSB GDALBT GDALSB) bindings/idl/getdata.c - (gdidl_make_idl_entry gdidl_read_idl_entry gdidl_add_mplex gdidl_alter_mplex): - gd_bit_t, gd_count_t -> int. - * src/fpos.c (_GD_Seek) src/getdata.c (_GD_MultiplyData _GD_CMultiplyData - _GD_DivideData _GD_CDivideData _GD_WindowData _GD_CDivideData _GD_MplexData - _GD_DoLincom _GD_DoMultiply _GD_DoDivide _GD_DoWindow _GD_DoMplex - gd_getdata64) src/putdata.c (_GD_MplexOutData gd_putdata64) src/flimits.c - (_GD_GetEOF _GD_GetBOF gd_bof64) src/common.c (_GD_LinterpData - _GD_LincomData) src/add.c (gd_add_raw) src/spf.c (_GD_GetSPF gd_spf) - src/mod.c (_GD_SPFConvert) src/mod.c (gd_alter_entry) src/index.c - (gd_framenum_subset64) bindings/python/pyentry.c (gdpy_entry_setspf) - bindings/python/pydirfile.c (gdpy_dirfile_getdata) bindings/cxx/rawentry.cpp - (RawEntry::RawEntry RawEntry::SetSamplesPerFrame) - bindings/cxx/getdata/rawentry.h (SamplesPerFrame) bindings/perl/GetData.xs - bindings/perl/typemap bindings/perl/simple_funcs.pl bindings/f77/fgetdata.c - (GDADRW GDALRW) util/dirfile2ascii.c: gd_spf_t -> unsigned int. - * src/flush.c (_GD_WriteConst) src/mod.c (_GD_AlterScalar): Add missing - integer types. - - * src/parse.c (_GD_ParseMplex): Make count_max optional. - * src/getdata.c (_GD_DoMplex) src/add.c (_GD_Add): Handle count_max == 0. - - * src/getdata.h.in: Mark GD_FLOAT and GD_DOUBLE as deprecated. - - * src/encoding.c (_GD_FiniRawIO): Handle short writes and IO errors. - - * src/getdata.c (_GD_DoMplex): use D->lookback to determine how far to - search backwards. Also, read data in chunks of size GD_BUFFER_SIZE. - * src/open.c (_GD_Open): Initialise D->lookback. - * src/globals.c (gd_mplex_lookback): Added. - * bindings/cxx/dirfile.cpp (Dirfile::MplexLookback) - bindings/perl/simple_funcs.xsin (mplex_lookback) bindings/f77/getdata.f90.in - (fgd_mplex_lookback) bindings/f77/fgetdata.c (GDMXLB) bindings/idl/getdata.c - (gdidl_mplex_lookback): Added. - - * src/parse.c (gd_strtok): Renamed from gd_tokenise to avoid regional - spelling variations. Bindings renamed accordingly (except for the F77 - bindings). - - * bindings/python/pygetdata.c: Add GD_E_EXISTS exception. - - * bindings/python/pydirfile.h: Add mplex_lookback and verbose_prefix to - gdpy_constant_t. - * bindings/python/pydirfile.c (gdpy_dirfile_delete): Delete verbose_prefix. - * bindings/python/pydirfile.c (gdpy_dirfile_create): Initialise - mplex_lookback and verbose_prefix. - * bindings/python/pydirfile.c (gdpy_dirfile_verbose_prefix): Deleted. - * bindings/python/pydirfile.c (gdpy_dirfile_getverboseprefix - gdpy_dirfile_setverboseprefix gdpy_dirfile_getmplexlookback - gdpy_dirfile_setmplexlookback): Added. - - * bindings/Makefile.am: add src/gd_config.h to the prerequisites of - make_parameters. - - * src/flush.c (_GD_FlushFragment): Write /ENCODING for zzip and zzslim. - - * src/meta_list.c: Merged into src/field_list.c - * src/nmeta.c: Merged into src/nfields.c - - * src/add.c (_GD_InvalidEntype): Added. - * src/internal.h: Add entry_list and entry_list_flags to DIRFILE and - private_entry. - * src/internal.h (_GD_EntryIndex): Deleted. - * src/field_list.c (_GD_EntryIndex _GD_EntryList gd_entry_list): Added. - * src/field_list.c (_GD_ListEntry): Handle GD_ENTRIES_... flags. - * src/field_list.c (gd_field_list_by_type gd_vector_list gd_field_list - gd_mfield_list_by_type gd_mfield_list): Reimplement via gd_entry_list(). - - * src/nfields.c (_GD_NEntries gd_nentries): Added. - * src/nfields.c (gd_nfields gd_nvectors gd_nfields_by_type gd_nmfields - gd_nmvectors gd_nmfields_by_type): Reimplement via gd_nentries(). - - * src/field_list.c (gd_constants gd_carrays gd_strings gd_mconstants - gd_mcarrays gd_mstrings): Call _GD_NEntries for counts. - - * src/entry.c (gd_hide gd_unhide) src/del.c (_GD_Delete) src/include.c - (gd_uninclude) src/add.c (_GD_Add): Delete count updates. - - * src/name.c (_GD_Rename) src/del.c (_GD_Delete) src/include.c - (gd_uninclude) src/add.c (_GD_Add _GD_AddAlias): Invalidate metafield lists - too. - - * src/entry.c (_GD_FreeE) src/close.c (_GD_FreeD): Delete entry_lists. - - * src/globals.c (gd_flags): Don't check GD_INVALID. - - * bindings/python/pydirfile.c (gdpy_dirfile_nentries - gdpy_dirfile_entrylist) bindings/perl/GetData.xs (entry_list) - bindings/cxx/dirfile.cpp (Dirfile::NEntries Dirfile::EntryList) - bindings/f77/getdata.f90.in (fgd_nentries fgd_entry_name_max fgd_entry_list) - bindings/f77/fgetdata.c (GDNENT GDENTX GDENTN): Added. - * bindings/idl/getdata.c (gdidl_get_field_list gdidl_get_nfields)): Convert to - bindings for gd_entry_list and gd_nentries. - - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/test/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90 bindings/idl/test/big_test.pro: Add tests - 237 through 240. - - * test/elist_alias.c test/elist_hidden.c test/elist_scalar.c - test/get_lincom_null.c test/get_mplex_lball.c test/get_mplex_nolb.c - test/nentries_alias.c test/nentries_hidden.c test/nentries_scalar.c - test/parse_malias_meta.c test/parse_mplex_nomax.c: Added. - - * man/: Updated. - -2012-03-28 D. V. Wiebe <ge...@ke...> svn:691 - * src/flush.c (_GD_FieldSpec) src/parse.c (_GD_ParseMplex): Swap order of - fields in MPLEX specification. - - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/test/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90 bindings/idl/test/big_test.pro - test/entry_mplex_scalar.c test/get_mplex.c test/alter_mplex.c - test/put_mplex.c test/get_mplex_lb.ctest/entry_mplex.c: Update for - Standards change. - -2012-03-28 D. V. Wiebe <ge...@ke...> svn:690 - * m4/compiler.m4 (GD_C_RESTRICT_ARRAY): Fix test program. - * bindings/idl/getdata.c (gdidl_alter_mplex): Fix uninitialised variable. - -2012-03-28 D. V. Wiebe <ge...@ke...> svn:689 - * m4/compiler.m4 (GD_C_RESTRICT_ARRAY): Added. - * src/parse.c src/internal.h: Work around deficiencies in the GCC-3.4 C99 - compliance. - -2012-03-22 D. V. Wiebe <ge...@ke...> svn:683 - * src/sie.c (_GD_SampIndWrite): Fix file size calculation during truncation. - - * bindings/python/pydirfile.c (gdpy_dirfile_getdata): Make return_type and - num_<foo> optional. - -2012-03-16 D. V. Wiebe <ge...@ke...> svn:680 - * src/globals.c (gd_flags gd_verbose_prefix): Added. - * src/errors.c (_GD_SetError): Print verbose prefix, if present. - - * make_parameters.c: Promote GD_VERBOSE and GD_PRETTY_PRINT. - * bindings/cxx/dirfile.cpp (Dirfile::Flags Dirfile::VerbosePrefix) - bindings/python/pydirfile.c (gdpy_dirfile_getflags gdpy_dirfile_setflags - gdpy_dirfile_verbose_prefix) bindings/perl/simple_funcs.xsin (flags - verbose_prefix) bindings/f77/fgetdata.c (GDFLAG GDVBPX) - bindings/f77/getdata.f90.in (fgd_flags fgd_verbose_prefix) - bindings/idl/getdata.c (gdidl_flags gdidl_verbose_prefix): Added. - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/test/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90 bindings/idl/test/big_test.pro: Add tests - 235, 236. - - * src/open.c (_GD_Open): Reset errno to prevent spurious error messages. - - * src/flush.c (_GD_FlushFragment): Avoid FPE. - - * test/global_flags.c test/error_verbose.c test/error_verbose_prefix.c: - Added. - - * bindings/idl/getdata.c (gdidl_open): Add missing IGNORE_REFS, - PRETTY_PRINT, TRUNCSUB. - - * bindings/f77/fgetdata.c (_GDF_CString): Take care of the malloc'ing rather - than forcing the caller to do it. - -2012-03-16 D. V. Wiebe <ge...@ke...> svn:678 - * src/errors.c src/getdata.h.in: Add GD_E_EXISTS - * src/open.c (_GD_CreateDirfile): Replace GD_E_CREAT:GD_E_CREAT_EXCL with - GD_E_EXISTS. - -2012-03-16 D. V. Wiebe <ge...@ke...> svn:676 - * configure.ac bindings/idl/package/configure.ac src/include.h - bindings/make_parameters.c bindings/cxx/internal.h bindings/idl/getdata.c - test/test.h util/dirfile2ascii.c util/checkdirfile.c: Renamed config.h to - gd_config.h to get around lossage in the Perl CORE public headers. - - * bindings/perl/test: Renamed from t. - * bindings/perl/MANIFEST.in: Renamed from MANIFEST. - * bindings/perl Makefile.am bindings/f77/test/Makefile.am: VPATH fixes. - - * src/fragment.c (gd_desync): dup the dirfile fd before closing. - * test/desync_reopen.c test/desync_reopen_inv.c: Added. - - * bindings/idl/package/configure.ac bindings/idl/package/README: Bump - GetData min version. - -2012-03-15 D. V. Wiebe <ge...@ke...> svn:675 - * src/internal.h: Add fragment->mtime, dirfile->open_flags. Deconst - fragment->sname. - * src/close.c (_GD_FreeD _GD_ShutdownDirfile): Add new parameter - (keep_dirfile) to prohibit deallocating the dirfile struct itself. - De-staticked _GD_ShutdownDirfile. - * src/include.c (_GD_Include): Compute the path relative to the parent of - fragment and store it in fragment->sname. Store mtime. - * src/close.c (_GD_FreeD): Free fragment->sname. - * src/flush.c (_GD_FlushFragment): Remove unnecessary strdup: we already - cache the basename. Update mtime. - * src/open.c (_GD_CreateDirfile): Return mtime. - * src/open.c (_GD_Open): Renamed from gd_cbopen; optionally take an existing - dirfd and DIRFILE pointer. Fix the dirfd/dirfile race condition by - canonicalising dirfile first. - * src/fragment.c (gd_desync) src/open.c (gd_cbopen): Added. - * src/getdata.h.in: Added GD_DESYNC_PATHCHECK GD_DESYNC_REOPEN. - * test/desync.c test/desync_flush.c: Added. - - * src/internal.h (offsetof): Added. - * src/compat.c (gd_readdir): Added. - * src/open.c (_GD_TruncDir): Use a thread-safe readdir where possible. - - * src/include.c (gd_include_affix): Don't call do stuff before validating - the dirfile. - - * bindings/make_parameters.c: Add desync flags. - * bindings/python/pydirfile.c (gdpy_dirfile_desync) bindings/cxx/dirfile.cpp - (Dirfile::DeSync) bindings/perl/simple_funcs.xsin (desync) - bindings/f77/getdata.f90.in (fgd_desync) bindings/f77/fgetdata.c (GDDSYN) - bindings/idl/getdata.c (gdidl_desync): Added. - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/t/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90 bindings/idl/test/big_test.pro: Added test - 234. - - * bindings/cxx/test/big_test.cpp: Functionise to reduce compilation work. - - * bindings/perl/Makefile.am: Tweak yet some more. - -2012-03-14 D. V. Wiebe <ge...@ke...> svn:674 - * src/open.c (gd_cbopen): Handle failure of _GD_CanonicalPath better. - -2012-03-14 D. V. Wiebe <ge...@ke...> svn:671 - * src/flush.c (_GD_FlushFragment): Write SIE encoding directives. - - * src/sie.c (_GD_SampIndOpen): Initialise file->pos to 0 to avoid issues - with _GD_GetFilePos. - * src/sie.c (_GD_SampIndSeek): Don't short circuit if no record is loaded. - - * src/flush.c (_GD_Flush _GD_SyncOrClose): Make syncing optional with a new - parameter (syn). - * src/flush.c (gd_raw_close): Added. - * src/clsoe.c (_GD_ShutdownDirfile) src/include.c (gd_uninclude): Don't - sync, just close raw files. - - * bindings/python/pydirfile.c (gdpy_dirfile_raw_close) - bindings/cxx/dirfile.cpp (Dirfile::RawClose) bindings/perl/simple_funcs.xsin - (raw_close) bindings/f77/fgetdata.c (GDRCLO) bindings/f77/getdata.f90.in - (fgd_raw_close): Added. - * bindings/idl/getdata.c (gdidl_flush): Add /NOSYNC. - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/t/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90: Added test 233. - - * bindings/perl/Build.PL.in: subclass Module::Build to properly handle - simple_funcs.xs dependency tracking. - -2012-03-06 D. V. Wiebe <ge...@ke...> svn:667 - * src/errors.c: Change prefix on verbose output to "libgetdata". - - * src/add.c (_GD_FixName): Added. - * src/add.c (_GD_Add _GD_AddAlias): Call _GD_FixName. - * test/add_alias_meta.c: Added. - - * src/open.c (_GD_TruncDir): Fix subdirectory truncation. - * src/internal.h: Remove conditional defition of AT_SYMLINK_NOFOLLOW. - * src/compat.c (gd_StatAt): Check for definition of AT_SYMLINK_NOFOLLOW - before use. - -2012-03-03 D. V. Wiebe <ge...@ke...> svn:665 - * src/getdata.h.in bindings/make_parameters.c: Added GD_TRUNCSUB open flag. - * src/open.c (_GD_TruncDir): Added. - * src/open.c (_GD_CreateDirfile): Call _GD_TruncDir. - * test/trunc_dir.c test/trunc_truncsub.c: Added. - - * src/fragment.c (gd_alter_affixes): Handle GD_E_ACCMODE and GD_E_PROTECTED - errors. - - * bindings/f77/fgetdata.c (GDDELA): Correct call to gd_delete_alias. - -2012-03-02 D. V. Wiebe <ge...@ke...> svn:664 - * src/errors.c: Added GD_E_ARGUMENT:GD_E_ARG_NODATA. - * src/parse.c (_GD_Tokenise): Take number of columns to return. - * src/parse.c (gd_tokenise): Added. - * src/internal.h: Added _GD_DIRFILE->tok_pos. - - * src/parse.c (_GD_CheckParent): Destatickify, and modify for use by - _GD_Add. - * src/add.c (_GD_Add): Call _GD_CheckParent to automatically allow - parent/meta style metafield addition via gd_add[_<whatever>](). - - * bindings/python/pydirfile.c (gdpy_dirfile_tokenise) - bindings/cxx/dirfile.cpp (Dirfile::Tokenise) bindings/perl/GetData.xs - (tokenise) bindings/f77/getdata.f90.in (fgd_tokenise) - bindings/f77/fgetdata.c (GDTOKE) bindings/idl/getdata.c (gdidl_tokenise): - Added. - - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/t/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90 bindings/idl/test/big_test.pro: Add test - #232. - - * bindings/f77/getdata.f90.in (fgd_fragment_affixes): Fix GDFRAF call. - - * bindings/f77/fgetdata.c (_GDF_SetDirfile _GDF_Callback GDCOPN GDCLBK): - Don't cast between data and code pointers. Encapsulate the F77 callback - function in a container. - * bindings/f77/fgetdata.c (GDNOCB): Added. - * bindings/f77/test/gdcopn.f: Add GDCLBK and GDNOCB tests. - - * test/ascii_get.c test/ascii_put.c test/ascii_get_get.c - test/ascii_nframes.c: Delete FOPEN_TEXT. - - * test/add_meta.c test/add_meta_alias.c: Added. - -2012-02-16 D. V. Wiebe <ge...@ke...> svn:658 - * src/getdata.c (_GD_DoLincom): Get the correct SPFs. - * test/get_lincom_spf.c: Added. - - * src/open.c (_GD_CreateDirfile): When truncating, don't delete and then - recreate the format file; just truncate it. (This helps kst not get - confused when monitoring a dirfile which gets truncated.) - -2012-02-14 D. V. Wiebe <ge...@ke...> svn:656 svn:657 - * src/putdata.c (gd_putdata): Return early if num_samp == 0. - * test/put_zero.c: Added. - -2012-02-01 D. V. Wiebe <ge...@ke...> svn:652 - * configure.ac: Figure out the directory separator (ie. '/' on POSIX). - - * src/open.c (_GD_CreateDirfile): Handle DIRSEP. - * src/internal.h (_GD_Root): Added. - * src/common.c (_GD_CanonicalPath): Handle WIN32/DOS paths. - - * src/open.c (gd_cbopen): Temporarily store the full path in D->name so that - _GD_CreateDirfile can use it when needed. - - * src/spf.c (_GD_GetSPF): De const-ify E. - - * src/common.c (_GD_FindField): Fix buffer length calculation. - - * test/file.c test/fragment_name.c bindings/cxx/test/big_test.cpp - bindings/f77/test/big_test.f bindings/f77/test/big_test95.f90: Handle DIRSEP. - * bindings/f77/test/test_getdata.f.in: Added. - -2012-01-18 D. V. Wiebe <ge...@ke...> svn:650 - * src/getdata.h.in src/internal.h: Define GD_ENC_ZZSLIM GD_ZZSLIM_ENCODED. - * src/zzslim.c: Added. - * src/encoding.c: In the initialisation of _gd_ef, differentiate things - that are willing to use the Generic functions from those that aren't. Added - zzslim. - - * src/common.c (_GD_CanonicalPath): Don't truncate on ENOENT. - - * src/slim.c (_GD_SlimOpen): The slimdopen in slimlib-2.6.5 doesn't interact - well with slim's own zzip support, so let's ignore it for now. - - * bindings/make_parameters.c: Convert F77 encoding parameters to the form - GDE_xx. - - * configure.ac: zzslim tests. Always look for a C++ compiler. - * m4/encoding.m4: Separate LIBS from LDFLAGS; fix some underquoting. - -2012-01-11 D. V. Wiebe <ge...@ke...> svn:644 - * src/getdata.h.in: Added GD_MPLEX_ENTRY. Updated gd_entry_t. Defined - GD_COUNT_MAX. - - * src/legacy.c (CopyMplexEntry) src/getdata.c (_GD_MplexData _GD_DoMplex) - src/putdata.c (_GD_MplexOutData _GD_DoMplexOut) src/parse.c (_GD_ParseMplex) - src/add.c (gd_add_mplex gd_madd_mplex) src/mod.c (gd_alter_mplex): Added. - * src/internal.h: Define GD_MPLEX_LOOKBACK - - * src/entry.c (_GD_FreeE _GD_CalculateEntry gd_entry gd_validate) - src/flush.c (_GD_Flush _GD_FieldSpec _GD_FindVersion) src/fpos.c - (_GD_GetFilePos _GD_WriteSeek) src/legacy.c (GetFormat) src/getdata.c - (_GD_DoField) src/name.c (_GD_InvalidateConst _GD_InvalidateVect) - src/native.c (_GD_NativeType) src/putdata.c (_GD_DoFieldOut) src/del.c - (_GD_ClearDerived _GD_DeReference) src/flimits.c (_GD_GetEOF _GD_GetBOF) - src/parse.c (_GD_ParseFieldSpec) src/add.c (_GD_Add) src/spf.c (_GD_GetSPF) - src/mod.c (_GD_Change): Handle MPLEX. - - * src/fpos.c (_GD_Seek): De-statickify. - * src/legacy.c (CopyWindowEntry): Report as MPLEX. - * src/getdata_legacy.h: Fix mplex list in FormatType. - - * src/errors.c: Rename GD_E_BAD_ENTRY_* suberrors to GD_E_ENTRY_* for - brevity. Added GD_E_FORMAT_MPLEXVAL, GD_E_ENTRY_CNTVAL, GD_E_ENTRY_CNTMAX. - - * src/field_list.c (_GD_ListEntry): Move the alias check down so that hidden - and meta alias are handled properly. - - * internal.h src/common.c (_GD_Malloc _GD_Realloc _GD_Strdup): Moved from - internal.h. - - * bindings/make_parameters.c: Define MPLEX_ENTRY, E_FORMAT_MPLEXVAL, - COUNT_MAX. - * bindings/cxx/mplexentry.cpp bindings/cxx/getdata/mplexentry.h: Added. - * bindings/python/pyentry.c (gdpy_entry_getcountval gdpy_entry_setcountval - gdpy_entry_getcountmax gdpy_entry_setcountmax) bindings/cxx/getdata/entry.h - (Entry::CountVal Entry::CountMax) bindings/f77/getdata.f90.in (fgd_add_mplex - fgd_madd_mplex fgd_alter_mplex) bindings/f77/fgetdata.c (GDGEMX GDADMX - GDMDMX GDALMX) bindings/idl/getdata.c (gdidl_add_mplex gdidl_alter_mplex): - Added. - - * bindings/python/pyentry.c (gdpy_set_entry_from_tuple - gdpy_set_entry_from_dict gdpy_entry_getinfields gdpy_entry_setinfields - gdpy_entry_getparms) bindings/cxx/entry.cpp (CheckIndex scalar_ok) - bindings/cxx/dirfile.cpp (Dirfile::Entry) bindings/cxx/getdata/dirfile.h - bindings/perl/GetData.xs (gdp_to_entry entry) bindings/f77/getdata.f90.in - (fgd_entry fgd_add fgd_madd) bindings/f77/fgetdata.c (GDASCA GDMDWD) - bindings/idl/getdata.c (gdidl_make_idl_entry gdidl_read_idl_entry): MPLEX - bindings. - - * bindings/perl/simple_funcs.xsin: Add add_mplex, alter_mplex, madd_mplex. - * bindings/perl/simple_funcs.pl: Handle gd_count_t. - - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/t/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90 bindings/idl/test/big_test.pro: Add tests - 228-231. - - * bindings/cxx/windowentry.cpp bindings/cxx/getdata/windowentry.h - bindings/idl/getdata.c (gdidl_alter_window): Get rid of - Check stuff: just use Input, for consistency. - - * test/add_mplex.c test/add_mplex_val.c test/alter_mplex.c - test/entry_mplex.c test/entry_mplex_scalar.c test/get_mplex.c - test/get_mplex_lb.c test/madd_mplex.c test/parse_mplex.c - test/parse_mplex_ncols.c test/parse_mplex_scalar.c test/put_mplex.c: Added. - -2011-12-31 D. V. Wiebe <ge...@ke...> svn:643 - * bindings/python/pyentry.c (gdpy_set_entry_from_dict): Add missing INCREF. - -2011-12-29 D. V. Wiebe <ge...@ke...> svn:641 - * src/internal.h src/encoding.c (_GD_GenericName): Added fragment->enc_data. - Pass enc_data to gd_ef->name. Flag encodings that use enc_data with - GD_EF_EDAT. - * src/parse.c (_GD_ParseDirective): Allow an optional second parameter to - /ENCODING of encoding-specific data. - * src/entry.c (_GD_ResolveEncoding): Pass in enc_data. - * src/zzip.c (_GD_ZzipName): Use enc_data to specify archive name. - -2011-12-29 D. V. Wiebe <ge...@ke...> svn:640 - * configure.ac: zzip encoding check. - * src/getdata.h.in src/internal.h: GD_ZZIP_ENCODED / GD_ENC_ZZIP; Added name - to encoding_t. - * src/zzip.c: Added. - * src/encoding.c: Add Zzip encoding; gd_ef_name_t. - * src/encoding.c (_GD_GenericName): Renamed from _GD_SetEncodedName and - pushed down into the encoding framework. - * src/encoding.c (_GD_MissingFramework): Handle GD_EF_NAME. - * src/encoding.c (_GD_ResolveEncoding): Handle external name functions. - * src/entry.c (gd_raw_filename) src/encoding.c (_GD_InitRawIO - _GD_RecodeFragment) src/move.c (_GD_MogrifyFile) src/name.c (_GD_Rename) - src/del.c (_GD_Delete) src/flimits.c (_GD_GetEOF): Call _gd_ef->name. - * test/zzip_get.c test/zzip_get_get.c test/zzip_nframes.c: Added. - -2011-12-27 D. V. Wiebe <ge...@ke...> svn:639 - * src/add.c (gd_madd_lincom gd_madd_clincom gd_madd_linterp gd_madd_bit - gd_madd_sbit gd_madd_multiply gd_madd_phase gd_madd_polynom gd_madd_cpolynom - gd_madd_string gd_madd_const gd_madd_carray): Zero entry before - initialisation. - - * src/fragment.c (gd_alter_affixes): Allow {pre,suf}fix == NULL to indicate - no change. - - * src/entry.c (_GD_FreeE): Handle aliases. - - * src/close.c (_GD_FreeD): Free fragment affixes. - - * src/debug.c (gd_colnil gd_coladd gd_colsub): Export debugging symbols. - - * src/field_list.c (_GD_ListEntry): Added. - * src/field_list.c (gd_constants gd_carrays gd_strings gd_field_list_by_type - gd_vector_list gd_field_list) src/meta_list.c (gd_mconstants gd_mcarrays - gd_mstrings gd_mfield_list_by_type gd_mvector_list gd_mfield_list): Call - _GD_ListEntry. - - * bindings/python/pyentry.c bindings/python/pyfragment.c - bindings/python/pydirfile.c: Update for DSV9. - * bindings/cxx/fragment.cpp bindings/cxx/entry.cpp bindings/cxx/dirfile.cpp - bindings/cxx/getdata/entry.h bindings/cxx/getdata/dirfile.h: Update for - DSV9. - * bindings/cxx/windowentry.cpp bindings/cxx/getdata/windowentry.h: Added. - * bindings/perl/GetData.xs bindings/perl/simple_funcs.xsin: Update for DSV9. - * bindings/f77/fgetdata.c bindings/f77/getdata.f90.in: Update for DSV9. - * bindings/idl/getdata.c: Update for DSV9. Removed most of the function - aliases. - - * bindings/make_parameters.c: Update for DSV9. Add missing - GD_E_UNKNWON_ENCODING. - - * bindings/python/pygetdata.c (initpygetdata): Handle gaps in - gdpy_exception_list. Fix exception list. - - * bindings/python/pyentry.c (gdpy_entry_settable): Set correct parameter. - - * test/vlist_alias.c: Added. - -2011-12-20 D. V. Wiebe <ge...@ke...> svn:638 - * src/entry.c (_GD_GetScalar _GD_CalculateEntry) src/common.c (_GD_GetRepr - _GD_BadInput _GD_FindFieldAndRepr: Optionally prohibit setting errors (for - use by the post-rename update stuff). - * src/errors.c: Added GD_E_FORMAT_ALIAS, GD_E_DEL_ALIAS. - * src/flush.c (_GD_FieldSpec): Write aliases. Also tweaked to allow slashed - metafield specification with DSV7. - * src/del.c (_GD_ClearDerived): Handle aliases. - * src/parse.c (_GD_CheckParent _GD_ParseAlias _GD_ResolveAlias - _GD_UpdateAliases) src/add.c (_GD_AddAlias gd_add_alias gd_madd_alias): Added. - * src/parse.c (_GD_ParseFieldSpec): Call _GD_CheckParent. - * src/parse.c (_GD_ParseDirective): Use a switch to reduce the number of - strcmps done. Handle /ALIAS. - * src/parse.c (_GD_ParseFragment): Optionally call _GD_UpdateAliases to - resolve aliases. - * src/add.c (_GD_Add gd_madd_spec gd_add_spec): Update aliases after addition. - - * src/common.c (_GD_FindField): Optionally dealias names. - - * src/del.c (_GD_Delete): Renamed from gd_delete(). - * src/del.c (gd_delete gd_delete_alias): Added. - - * src/name.c (_GD_UpdateScalar _GD_InvalidateConst _GD_UpdateInField - _GD_InvalidateVect): Added. - * src/name.c (_GD_Rename): Renamed from gd_rename(). Handle cleaning up - after the rename. - - * src/move.c (_GD_Move): Renamed from gd_move(). - - * src/name.c (_GD_ValidateField): Permit is_dot = NULL. - - * src/entry.c (gd_alias_target gd_aliases gd_naliases gd_hidden) src/move.c - (gd_move gd_move_alias) src/name.c (gd_rename gd_rename_alias): Added. - - * src/alias.c (gd_fragment_index gd_hide gd_unhide): Call _GD_FindField - instead of _GD_FindFieldAndRepr to avoid resolving aliases. As a side effect, - these function will no long ignore representation suffices. - - * src/flush.c (_GD_StringEscapeise): Handle writing slashed meta-fields. - - * src/spf.c (_GD_GetSPF): Ensure return is zero on error. - - * test/alias_num_missing.c alias_target_missing.c spf_alias_missing.c - alias_list.c del_derived_after.c madd_spec_resolv.c parse_alias_meta.c - entry_type_alias.c spf_alias.c name_after_const.c parse_malias_dup.c - add_alias.c alias_target.c alias_list_alias.c add_resolv.c spf_alias_meta.c - move_alias.c name_after.c parse_meta_jump.c parse_alias_missing.c - name_update_const.c madd_alias.c parse_alias_dup.c fragment_index_alias.c - add_spec_resolv.c alias_target_alias.c name_update.c hide_hidden.c - alias_num_alias.c parse_malias.c parse_alias_code.c parse_alias.c - alias_num.c parse_meta_malias.c parse_meta_alias.c alias_list_missing.c: - Added. - - * test/fragment_parent.c: Renamed from test/parent.c. - * test/fragment_num.c: Renamed from test/nfragments.c. - - * test/version_9_write.c: Update. - -2011-12-13 D. V. Wiebe <ge...@ke...> svn:637 - * test/fragment_affix_alter2.c test/fragment_affix_alter.c - test/fragment_affix_dup.c test/fragment_affix.c test/include_affix.c: Added. - - * src/move.c (_GD_StrCmpNull): Renamed from strcmpnull and de-statickified. - - * src/name.c (_GD_MungeFromFrag): Added. - * src/name.c (_GD_MungeCode): Converted into a swiss army munger handling - both enmunging and demunging. Most old, simple, uses of this function now - call _GD_MungeFromFrag (which calls this) instead. - * src/flush.c (_GD_DeMungeCode): Deleted in favour of the new _GD_MungeCode. - - * src/fragment.c (gd_fragment_affixes _GD_CheckAffixes _GD_ChangeAffixes - gd_alter_affixes): Added. - - * src/include.c (gd_include_affix): Renamed from gd_include. - * src/include.c (gd_include): Added. - -2011-12-11 D. V. Wiebe <ge...@ke...> svn:635 - * test/add_string_affix.c test/name_affix_bad.c test/move_affix.c - test/alter_entry_affix.c test/alter_entry_affix.c test/madd_affix.c - test/parse_meta_affix.c test/madd_index.c test/name_affix.c - test/alter_mspec_affix.c test/name_dup.c test/parse_meta_implicit_affix.c - test/add_affix.c test/alter_spec_affix.c: Added. - - * test/version_9_strict.c test/version_9_write.c: Expanded. - - * src/open.c (gd_cbopen): Set errors for _GD_CanonicalPath. - - * src/errors.c: Distingish missing codes from invalid codes for - GD_E_BAD_CODE. - - * src/name.c (gd_rename): Validate the new name first and then DeMunge it - if it's not a meta field. - - * src/move.c (gd_move): Compose the new field name by remunging it for the - new fragment. Also compose the new names of all its metafield early, if - necessary. - - * src/parse.c (_GD_ParseFieldSpec _GD_ParseDirective): Munge field codes - before lookup. Also munge the reference field. - - * src/mod.c (gd_alter_spec gd_malter_spec): The parser will end up - reapplying affixes to the field name, so undo that. - - * src/add.c (_GD_Add gd_add_string gd_add_const gd_add_const gd_madd_string - gd_madd_const gd_madd_carray): _GD_Add() returns the added entry on success. - This saves a field lookup in the others. - - * src/add.c (_GD_Add): Munge field name earlier. - - * src/name.c (gd_rename): Flag fragment as modified. - - * src/flush.c (_GD_FieldSpec): Properly write /HIDDEN directives. - -2011-12-09 D. V. Wiebe <ge...@ke...> svn:634 - * test/parse_include_preprefix.c test/version_9_strict.c test/version_9.c - test/parse_include_suffix.c test/parse_include_loop.c test/version_9_write.c - test/parse_include_sufsuffix.c test/parse_include_prefix.c - test/parse_include_prefix_dup.c test/get_phase_affix.c: Added. - - * test/add_sort.c test/add_scalar_carray.c test/add_code.c test/add_type.c - test/add_invalid.c test/put_carray.c test/add_scalar.c test/madd.c - test/add_format.c: Remove dirfile before starting. - - * test/version_8_strict.c: Fix initialisation. - - * test/version_6_write.c: Test whitespace in field names. - - * test/test.h: Armour plate macros. - - * src/internal.h: Add prefix and suffix to gd_fragment_t. - * src/name.c (_GD_MungeCode) src/flush.c (_GD_DeMungeCode) src/include.c - (_GD_SetFieldAffixes): Added. - * src/flush.c (_GD_StringEscapeise): Handle null tokens. Escape spaces - rather than assuming the caller will quote the token (which it wasn't - doing). - * src/entry.c (_GD_GetScalar) src/name.c (gd_rename) src/add.c (_GD_Add) - src/commonc. (_GD_BadInput): Munge field code before use. - * src/flush.c (_GD_PadField): Demunge field code before writing. - * src/flush.c (_GD_WriteConst): Properly demunge and escapeise scalar names. - * src/name.c (_GD_ValidateField): This function no longer takes care of - malloc'ing. Modified to return integer true on error. - * src/name.c (_GD_FlushFragment): Add prefix and suffix to INCLUDE when - present. - * src/parse.c (_GD_ParseRaw _GD_ParseLincom _GD_ParseLinterp - _GD_ParseMultiply _GD_ParseRecip _GD_ParseLincom _GD_ParseWindow - _GD_ParseDivide _GD_ParseBit _GD_ParsePhase _GD_ParsePolynom _GD_ParseConst - _GD_ParseCarray _GD_ParseString): Munge field code on parsing. - * include.c (_GD_Include): Handle affixes. - - * src/common.c (_GD_EntryCmp): Moved from src/internal.h and deinlined, - destatickified. Given that the only use of this function is to pass it to - qsort, making it static inline only ensured that it got replaced once per - translation unit that referred to it. - - * include.c (_GD_Include): Replaced the old filename comparison stage with a - simple recursion counter. - - * src/parse.c (_GD_Tokenise): Handle token-initial escaped character. - Handle "\[ux#]##\...". - - * src/flush.c (_GD_FindVersion): Prefix or suffix implies DSV >= 9. - - * src/parse.c (_GD_SetScalar): Handle bad malloc. - - * src/name.c (_GD_FieldSpec): Properly escapeise input field codes. - - * src/errors.c: Distinguish GD_E_RECURSE_CODE from GD_E_RECURSE_INCLUDE. - - * src/internal.h (_GD_Malloc _GD_Realloc _GD_Strdup): Added. - * src/commonc. (_GD_MakeFullPath): Set error if requested. - * src/common.c (_GD_MakeFullPathOnly): Added. This is a wrapper around - _GD_MakeFullPath which ensures the DIRFILE is not modified. Used by the - compatibility functions and the slim encoding framework (ie. things that have - at best a tenuous connection to the DIRFILE object). - - * src/internal.h: Define GD_MULTISTANDARD. - * src/include.c (_GD_Include): Set GD_MULTISTANDARD if moving into/out of - DSV >= 9. - * src/open.c (gd_cbopen): If the metadata contain multiple standards, figure - out a single one for the whole dirfile. - -2011-12-08 D. V. Wiebe <ge...@ke...> svn:633 - * test/svlist_hidden.c test/svlist_meta_hidden.c test/hide.c - test/flist_hidden.c test/nfields_hidden.c test/parse_version_89.c - test/nmeta_type_hidden.c test/parse_version_98.c test/nmeta_vectors_hidden.c - test/nmeta_hidden.c test/alter_entry_hidden.c test/parse_version_p8.c - test/parse_version_p9.c test/hide_unhide.c test/cvlist_meta_hidden.c - test/nfields_type_hidden.c test/vlist_hidden.c test/flist_meta_hidden.c - test/vlist_meta_hidden.c test/flist_type_meta_hidden.c - test/parse_hidden_meta.c test/cvlist_array_hidden.c test/parse_meta_meta.c - test/nfields_vector_hidden.c test/parse_hidden.c test/parse_hidden_field.c - test/cvlist_hidden.c test/cvlist_array_meta_hidden.c - test/flist_type_hidden.c: Added. - - * test/nfields_vector.c test/nfields_vector_invalid.c: Renamed from nvectors* - - * src/parse.c (_GD_ParseDirective): Parse /HIDDEN directives. - * src/entry.c (gd_hide gd_unhide): Added. - * src/nmeta.c (gd_nmfields gd_nmvectors gd_nmfields_by_type) src/nfields.c - (gd_nfields gd_nvectors gd_nfields_by_type) src/field_list.c (gd_constants - gd_carrays gd_strings gd_field_list_by_type gd_vector_list gd_field_list) - src/meta_list (gd_mconstants gd_mcarrays gd_mstrings gd_mfield_list_by_type - gd_mvector_list gd_mfield_list): Compensate for hidden fields. - * src/flush.c (_GD_FieldSpec): Write /HIDDEN directives. - * src/flush.c (_GD_FindVersion): Consider hidden entries. - * src/mod.c (_GD_Change): Prohibit changing hiddenness via gd_alter_entry(). - - * src/parse.c (_GD_ParseDirective): Forbid a metafield code from appearing - as a parent in /META directives. - - * src/internal.h: Record the number of each type of field, rather than just - for the scalar field types. - * src/internal.h (_GD_EntryIndex): Added. - * src/open.c (gd_cbopen): Initialise D->n[INDEX_ENTRY]. - * src/nmeta.c (gd_nmvectors gd_nmfields_by_type) src/nfields.c (gd_nvectors - gd_nfields_by_type) src/field_list.c (gd_constants gd_carrays gd_strings - gd_field_list_by_type gd_vector_list) src/meta_list.c (gd_mconstants - gd_mcarrays gd_mstrings gd_mfield_list_by_type gd_mvector_list): Use type - counts. - * src/del.c (gd_delete) src/parse.c (_GD_ParseFieldSpec) src/include.c - (gd_uninclude) src/add.c (_GD_Add): Update type counts. - * src/field_list.c (_gd_entype_index): Deleted. - - * src/include.c (_GD_Include): Remember incoming Standards Version and - parser mode, and restore them on exit if the new DSV >=9 or the old mode is - pedantic and the old DSV >= 9. This is an attempt to stave the "version - leak" problem experienced in earlier DSVs. - - * src/internal.h: Renamed GD_E_FORMAT_NO_PARENT to GD_E_FORMAT_NO_FIELD. - -2011-12-06 D. V. Wiebe <ge...@ke...> svn:632 - * test/get_window_ne.c test/get_window.c test/parse_window_scalar.c - test/alter_window.c test/parse_window.c test/madd_window.c - test/parse_window_ncols.c test/add_window.c test/put_window.c - test/get_window_set.c test/get_window_gt.c test/get_window_ge.c - test/parse_window_op.c test/entry_window.c test/entry_window_scalar.c - test/add_window_op.c test/get_window_lt.c test/get_window_clr.c - test/get_window_le.c: Added. - - * test/madd_phase.c: Fix check. - - * test/version_6.c test/version_7.c test/version_8.c: Update for Version 9. - - * cmake/CMakeLists.txt configure.ac: Define gd_int64_t. - - * src/getdata.h.in: Add GD_WINDOW_ENTRY, gd_windop_t, gd_triplet_t. - * src/entry.c (_GD_FreeE _GD_CalculateEntry gd_entry) legacy.c (GetFormat) - src/getdata.c (_GD_DoField) src/errors.c src/flush.c (_GD_Flush - _GD_FieldSpec) src/native.c (_GD_NativeType) src/spf.c (_GD_GetSPF) - src/putdata.c (_GD_DoFieldOut) src/del.c (_GD_ClearDerived _GD_DeReference) - src/flimits.c (_GD_GetEOF _GD_GetBOF) src/fpos.c (_GD_GetFilePos _GD_Seek) - src/parse.c (_GD_ParseFieldSpec) src/field_list.c src/mod.c (_GD_Change) - src/add.c (_GD_Add): Update for WINDOW. - * src/legacy.c (CopyWindowEntry) src/getdata.c (_GD_WindowData _GD_DoWindow) - src/flush.c (_GD_WindopName) src/parse.c (_GD_WindOp _GD_ParseWindow) - src/mod.c (gd_alter_window) src/internal.h (_GD_BadWindop) src/add.c - (gd_add_window gd_madd_window): Added. - * src/flush.c (_GD_WriteConst): Write GD_UINT64. - - * src/flush.c (_GD_WriteConst): Fix writing of RECIP fields. - - * src/parse.c (_GD_ParseRecip _GD_ParsePhase): Fail if SetScalar fails. - - * src/parse.c (_GD_SetScalar): Don't bother trying to decode an imaginary - part before failing if we're not interested in complex numbers. - - * src/parse.c (_GD_SetScalar): Call strto[u]ll with base=0 for Version >= 9 to - allow automatic parsing of 0x[hex] and 0[octal] numbers in format files. - - * src/getdata.h.in: Increment GD_DIRFILE_STANDARDS_VERSION. - * src/flush.c (_GD_FindVersion): Update for Version 9. - -2011-12-05 D. V. Wiebe <ge...@ke...> svn:630 - * python/test/callback.pl python/test/big_test.py cxx/test/big_test.cpp - f77/test/big_test.f f77/test/big_test95.f90: Fix path checks. - - * f77/test/big_test.f f77/test/big_test95.f90: Use check functions. - - * src/flush.c (_GD_Flush): Don't call sync on a file opened read-only. - - * configure.ac: Look for Availability.h - * src/internal.h: Fix lstat64 on OS X 10.6+ - - * src/common.c (_GD_CanonicalPath): Don't run past the end of the work - buffer. - -2011-12-03 D. V. Wiebe <ge...@ke...> svn:629 - * test/test.h (CHECKEOS): Added. - * test/file.c test/fragment_name.c: Only check the end of the returned - string since we don't know what the full path is. - - * src/internal.h: Define PATH_MAX, if necessary. - * src/common.c (_GD_CanonicalPath): Added. - * src/open.c (gd_cbopen): Canonicalise filedir. - * src/common.c (_GD_MakeFullPath): Canonicalise path. Handle dirfd < 0. - * src/common.c (_GD_GrabDir): Let _GD_MakeFullPath hande canonicalising - absolute paths. - - * configure.ac: Check for lstat(3). - * src/compat.c (gd_StatAt): Don't use lstat if the platform doesn't have it. - - * src/internal.h: Move library includes into header. - -2011-12-01 D. V. Wiebe <ge...@ke...> svn:628 - * src/flush.c (_GD_FlushFragment): Write "/PROTECT data" when appropriate. - Bug report from Alexandra Rahlin. - -2011-11-13 D. V. Wiebe <ge...@ke...> svn:626 - * src/entry.c (gd_raw_filename): Revert r613 changes. - * src/gzip.c: Move OOP code out of gzip layer. - * src/encoding.c (_GD_FiniRawIO _GD_InitRawIO) src/fpos.c (_GD_WriteSeek): - Handle OOP writes. - * src/encoding.c (_GD_WriteOut): Added. - * src/mod.c (_GD_Change) src/putdata.c (_GD_DoRawOut): Call _GD_WriteSeek and - _GD_WriteOut - - * src/putdata.c (_GD_DoRawOut): Correctly handle write errors. - - * configure.ac: Fix x86_64 host check. - -2011-11-10 D. V. Wiebe <ge...@ke...> svn:622 - * configure.ac: Figure out whether unaligned memory access will work. - * src/internal.h: Deal with UNALIGNED_ACCESS_OK - * src/sie.c (_GD_SampIndWrite): Handle unaligned memory access. - -2011-11-08 D. V. Wiebe <ge...@ke...> svn:615 - * test/add_scalar_carray.c: Added. - - * src/add.c (_GD_Add): Copy scalar_ind when copying scalars. Patch from - S. J. Benton. - -2011-11-08 D. V. Wiebe <ge...@ke...> svn:614 - * test/gzip_put_get.c test/gzip_move_to.c test/gzip_add.c - test/gzip_get_put.c test/gzip_put.c: Handle TEST_GZIP && !USE_GZIP. - - * src/encoding.c (_GD_FiniRawIO): Don't change error code if already set. - - * src/sie.c (_GD_SampIndSize): Fix descriptor leak. - -2011-11-05 D. V. Wiebe <ge...@ke...> svn:610 - * test/gzip_put_get.c test/ascii_add.c test/get_rofs.c test/gzip_move_to.c - test/gzip_add.c test/endian_alter_sie.c test/gzip_get_put.c: Added. - * test/gzip_put.c: Update. - - * m4/encoding.m4: Add a AC_CHECK_FUNCS call. - - * src/slim.c (_GD_SlimOpen): Update for the (non-existant) slimdopen(). - - * src/getdata.h.in: Renamed GD_SEEK_PAD to GD_SEEK_WRITE to better reflect - its purpose. - * bindings/idl/getdata.c (gdidl_seek): Update keywords for same. - - * src/flush.c (_GD_Flush): Add a third parameter, clo, to distinguish - sync from sync-and-close. - * src/flush.c (_GD_SyncOrClose): Renamed from gd_flush. - * src/flush.c (gd_sync gd_flush): Added. - - * src/internal.h: Added _gd_raw_file.mode. Replaced encoding_t.ecor with - encoding_t.flags; - * src/encoding.c: Deleted touch, topen, tmove, tunlink from the encoding - framework. Changed signature of open and seek. - * src/encoding.c (_GD_MoveOver): Renamed from _GD_GenericTMove. - * src/encoding.c (_GD_FiniRawIO) src/fpos.c (_GD_WriteSeek): Added. - * src/gzip.c (_GD_GzipOpen _GD_GzipSeek _GD_GzipClose) src/encoding.c - (_GD_InitRawIO): Update for out-of-place writes. - * src/endian.c (_GD_ByteSwapFragment) src/name.c (gd_rename) src/flush.c - (_GD_Flush) src/encoding.c (_GD_RecodeFragment) src/del.c (gd_delete) - src/flimits.c (_GD_ShiftFragment): Use _GD_FiniRawIO to clean up. - * src/encoding.c (_GD_GenericTouch) src/ascii.c (_GD_AsciiTOpen - _GD_AsciiTUnlink) src/sie.c (_GD_SampIndTOpen _GD_SampIndTUnlink) src/raw.c - (_GD_RawTOpen _GD_RawTUnlink): Deleted. - * src/move.c (_GD_MogrifyFile) src/mod.c (_GD_Change): Use _GD_FiniRawIO and - _GD_InitRawIO. - * src/parse.c (_GD_ParseFieldSpec) add.c (_GD_Add): Use _GD_InitRawIO for - touch. - * src/gzip.c (_GD_GzipOpen) src/ascii.c (_GD_AsciiOpen) src/sie.c - (_GD_SampIndDoOpen _GD_SampIndOpen) src/raw.c (_GD_RawOpen): Handle temp file - opens. - * src/putdata.c (_GD_DoRawOut) src/fpos.c (_GD_Seek): Use _GD_WriteSeek. - - * src/fpos.c (_GD_GetFilePos): Only try to open the file if necessary. - - * src/gzip.c (_GD_GzipWrite _GD_GzipSync): Added. - -2011-10-20 D. V. Wiebe <ge...@ke...> svn:609 - * test/get_here_foffs.c test/seek_foffs.c: Added. - - * src/getdata.c (_GD_DoRaw): Update file->pos after calling FillZero. - * src/fpos.c (_GD_GetFilePos): Adjust for SPF. - * src/fpos.c (_GD_Seek): If seeking before FRAMEOFFSET, set file->pos < 0. - - * bindings/python/pydirfile.c (gdpy_dirfile_seek): Fix type of frame_num, - sample_num. - - * bindings/perl/typemap: off64_t is signed. - - * bindings/f77/fgetdata.c (GDCONS GDMCOS GDSTRS GDMSTS GDSTRX GDMSTX): - Added. - * bindings/f77/getdata.f90.in (fgd_constants_i1 fgd_constants_i2 - fgd_constants_i4 fgd_constants_i8 fgd_constants_r4 fgd_constants_r8 - fgd_constants_c8 fgd_constants_c16 fgd_mconstants_i1 fgd_mconstants_i2 - fgd_mconstants_i4 fgd_mconstants_i8 fgd_mconstants_r4 fgd_mconstants_r8 - fgd_mconstants_c8 fgd_mconstants_c16 fgd_string_value_max fgd_strings - fgd_mstring_value_max fgd_mstrings): Added. - - * bindings/idl/getdata.c (gdidl_getdata gdidl_putdata): Add /HERE. - - * bindings/python/test/big_test.py bindings/cxx/test/big_test.cpp - bindings/perl/t/big_test.t bindings/f77/test/big_test.f - bindings/f77/test/big_test95.f90 bindings/idl/test/big_test.pro: Added tests - 183-204. - -2011-10-18 D. V. Wiebe <ge...@ke...> svn:607 - * man/gd_seek.3 man/gd_tell.3: Added. - - * src/spf.c (gd_spf): Throw GD_E_DIMENSION on scalar field specified per - documentation. - * src/fpos.c (gd_tell64 gd_seek64): Ditto. - - * src/putdata.c (_GD_DoFieldOut): Don't return on error from _GD_GetFilePos; - a better error will be generated later. - - * bindings/make_parameters.c: Add GD_E_ARGUMENT, GD_SEEK_*, GD_HERE. - * bindings/python/pydirfile.c (gdpy_dirfile_seek gdpy_dirfile_tell) - bindings/cxx/dirfile.cpp (Dirfile::Seek Dirfile::Tell) - bindings/perl/simple_funcs.xsin (seek tell) bindings/f77/fgetdata.c (GDSEEK - GDTELL) bindings/f77/getdata.f90.in (fgd_seek fgd_tell) - bindings/idl/getdata.c (gdidl_seek gdidl_tell): Added. - -2011-10-13 D. V. Wiebe <ge...@ke...> svn:606 - * test/entry_divide.c test/entry_recip.c test/get_here.c test/get_heres.c - test/put_here.c test/put_heres.c test/seek64.c test/seek_cur.c test/seek_end.c - test/seek_set.c test/tell.c test/tell64.c: Added. - - * test/legacy_put.c test/put_complex128.c test/put_complex64.c - test/put_float32.c test/put_float64.c test/put_ff.c test/put_foffs.c - test/put_fs.c test/put_int16.c test/put_int32.c test/put_int64.c - test/put_int8.c test/put_lincom1.c test/put_linterp.c - test/put_linterp_reverse.c test/put_off64.c test/put_phase.c - test/put_polynom1.c test/put_recip.c test/put_sf.c test/put_ss.c - test/put_uint16.c test/put_uint32.c test/put_uint64.c: Don't perform - unnecessary tests in the event the data file wasn't created. - - * src/getdata.h.in: Combine GD_E_BAD_ENDIANNESS and GD_E_BAD_PROTECTION into - GD_ARGUMENT. The former are kept as aliases of the new symbol. - * src/endian.c (gd_alter_endianness) src/errors.c src/protect.c - (gd_alter_protection): Update for GD_E_ARGUMENT. - - * src/internal.h: Add .pos to _gd_raw_file. Add .u.index_pos to - _gd_private_entry. - * src/ascii.c (_GD_AsciiOpen _GD_AsciiSeek _GD_AsciiRead _GD_AsciiTOpen - _GD_AsciiTUnlink) src/gzip.c (_GD_GzipOpen _GD_GzipSeek _GD_GzipRead) - src/lzma.c (_GD_LzmaOpen _GD_LzmaSeek _GD_LzmaRead) src/sie.c - (_GD_SampIndOpen _GD_SampIndSeek _GD_SampIndRead _GD_SampIndWrite - _GD_SampIndTOpen) src/raw.c (_GD_RawOpen _GD_RawSeek _GD_RawRead - _GD_RawWrite _GD_RawTOpen): Track file position. - - * src/encoding.c (_GD_InitRawIO): Added. - * src/getdata.c (_GD_DoRaw) src/putdata.c (_GD_DoRawOut): Call _GD_InitRawIO. - - * src/fpos.c: Added. - * src/flimits.c (_GD_GetEOF): Publicise. - * src/getdata.c (gd_getdata64) src/putdata.c (gd_putdata64): Regularise use of - GD_HERE. Also, only call _GD_GetSPF when necessary. - * src/getdata.c (_GD_DoField) src/putdata.c (_GD_DoFieldOut): Resolve - instances of GD_HERE. - - * bindings/python/Makefile.am bindings/cxx/Makefile.am - bindings/f77/Makefile.am: Remove some unnecessary linking. - - * bindings/idl/package/Makefile.am: Add $(DEFS) to the make_parameters rule - to ensure it builds properly. - -2011-08-23 D. V. Wiebe <ge...@ke...> svn:600 - * test/error_error.c: Simplify test. - * test/test.h (CHECKSp): Added. - - * src/errors.c src/internal.h: Added GD_E_CREAT_OPEN. - * src/open.c (_GD_CreateDirfile): Distinguish GD_E_CREAT_DIR from - GD_E_CREAT_OPEN. - - * src/internal.h: When linking to the MSVCRT, define GD_NO_DIR_OPEN to - indicate that the MSVCRT's open() prohibits openind directories. (This is - referred to as "the non-POSIX case". - * src/open.c (_GD_CreateDirfile): Take dirfile, ... [truncated message content] |