From: <sv...@te...> - 2003-05-03 10:03:59
|
Author: roms Date: Sat May 3 12:03:51 2003 New Revision: 288 Added: libtifiles/trunk/win32/bcc32/ libtifiles/trunk/win32/msvc/ libtifiles/trunk/win32/msvc/net.bat libtifiles/trunk/win32/msvc/net.sh (contents, props changed) libtifiles/trunk/win32/msvc/resource.h libtifiles/trunk/win32/msvc/test_tifiles.dsp libtifiles/trunk/win32/msvc/test_tifiles.dsw libtifiles/trunk/win32/msvc/tifiles.aps (contents, props changed) libtifiles/trunk/win32/msvc/tifiles.def libtifiles/trunk/win32/msvc/tifiles.dsp libtifiles/trunk/win32/msvc/tifiles.dsw libtifiles/trunk/win32/msvc/tifiles.rc libtifiles/trunk/win32/scan.awk libtifiles/trunk/win32/scan.sh (contents, props changed) libtifiles/trunk/win32/tifiles.def Modified: libtifiles/trunk/ChangeLog libtifiles/trunk/configure libtifiles/trunk/po/fr.po libtifiles/trunk/po/libtifiles.pot libtifiles/trunk/src/file_int.h Log: Win32 projects added Modified: libtifiles/trunk/ChangeLog ============================================================================== --- libtifiles/trunk/ChangeLog (original) +++ libtifiles/trunk/ChangeLog Sat May 3 12:03:51 2003 @@ -6,11 +6,12 @@ - 01/05/2003, version 0.5.6: Added 'mu' char to TI89..V200. Unicode translation was missing for TI92(+)/V200. + Translation (detokenization in fact) is being reworked. - 19/04/2003, version 0.5.5: Added various varname translations (ASCII, ISO8859-1 and UTF-8). Some fields have been extended (trans[9] -> trans[17]) to store - Unicode strings; + Unicode strings. tifiles_vartype2icon was missing. Some icons name was internationalized. Modified: libtifiles/trunk/configure ============================================================================== --- libtifiles/trunk/configure (original) +++ libtifiles/trunk/configure Sat May 3 12:03:51 2003 @@ -1455,7 +1455,7 @@ # set library version number MAJOR_VERSION=0 MINOR_VERSION=5 -MICRO_VERSION=5 +MICRO_VERSION=6 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION @@ -2667,12 +2667,12 @@ (exit $ac_status); }; }; then for ac_declaration in \ ''\ - '#include <stdlib.h>' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ - 'void exit (int);' + 'void exit (int);' \ + '#include <stdlib.h>' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -2993,12 +2993,12 @@ fi for ac_declaration in \ ''\ - '#include <stdlib.h>' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ - 'void exit (int);' + 'void exit (int);' \ + '#include <stdlib.h>' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" Modified: libtifiles/trunk/po/fr.po ============================================================================== --- libtifiles/trunk/po/fr.po (original) +++ libtifiles/trunk/po/fr.po Sat May 3 12:03:51 2003 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: libtifiles-0.5.1\n" -"POT-Creation-Date: 2003-04-23 22:03+0200\n" +"POT-Creation-Date: 2003-05-03 12:02+0200\n" "PO-Revision-Date: 2003-04-05 21:47+0100\n" "Last-Translator: GARSAULT Sylvain <syl...@fr...>\n" "Language-Team: FRENCH <FR...@li...>\n" Modified: libtifiles/trunk/po/libtifiles.pot ============================================================================== --- libtifiles/trunk/po/libtifiles.pot (original) +++ libtifiles/trunk/po/libtifiles.pot Sat May 3 12:03:51 2003 @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2003-04-23 22:03+0200\n" +"POT-Creation-Date: 2003-05-03 12:02+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" Modified: libtifiles/trunk/src/file_int.h ============================================================================== --- libtifiles/trunk/src/file_int.h (original) +++ libtifiles/trunk/src/file_int.h Sat May 3 12:03:51 2003 @@ -68,13 +68,21 @@ extern int (*tifiles_printf) (const char *format, ...); // trans.c + TIEXPORT uint8_t TICALL *tixx_detokenize_varname(const char *varname, + char *translate, + uint8_t vartype, + TicalcType calc_type); + + TIEXPORT char* TICALL tifiles_transcode_to_ascii(char* dst, + const char *src); + TIEXPORT char* TICALL tifiles_transcode_to_latin1(char* dst, + const char *src); + TIEXPORT char* TICALL tifiles_transcode_to_unicode(char* dst, + const char *src); + TIEXPORT void TICALL tifiles_translate_set_encoding(TifileEncoding encoding); TIEXPORT TifileEncoding TICALL tifiles_translate_get_encoding(void); - TIEXPORT char* TICALL tifiles_convert_to_ascii(char* dst, const char *src); - TIEXPORT char* TICALL tifiles_convert_to_latin1(char* dst, const char *src); - TIEXPORT char* TICALL tifiles_convert_to_unicode(char* dst, const char *src); - TIEXPORT char *TICALL tifiles_translate_varname(const char *varname, char *translate, uint8_t vartype); Added: libtifiles/trunk/win32/msvc/net.bat ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/net.bat Sat May 3 12:03:51 2003 @@ -0,0 +1,16 @@ +del *.ncb +del *.ilk +del *.dep +del *.opt +del *.plg +del *.aps +del *.exp +del *.idb +del *.obj +del *.pch +del *.exe +deltree /y output +deltree /y debug +deltree /y release + +cls \ No newline at end of file Added: libtifiles/trunk/win32/msvc/net.sh ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/net.sh Sat May 3 12:03:51 2003 @@ -0,0 +1,2 @@ +#!/bin/sh +rm *.exp *.lib *.mak *.ncb *.opt *.plg Added: libtifiles/trunk/win32/msvc/resource.h ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/resource.h Sat May 3 12:03:51 2003 @@ -0,0 +1,15 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by tifiles.rc +// + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif Added: libtifiles/trunk/win32/msvc/test_tifiles.dsp ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/test_tifiles.dsp Sat May 3 12:03:51 2003 @@ -0,0 +1,106 @@ +# Microsoft Developer Studio Project File - Name="test_tifiles" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=test_tifiles - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "test_tifiles.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "test_tifiles.mak" CFG="test_tifiles - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "test_tifiles - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "test_tifiles - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "test_tifiles - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "" +# PROP Intermediate_Dir "C:\msvc\Output\libtifiles" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "..\win32" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__WIN32__" /YX /FD /c +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "test_tifiles - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "C:\msvc\tilp\" +# PROP Intermediate_Dir "C:\msvc\Output\libtifiles" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\win32" /D "_DEBUG" /D "__WIN32__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "test_tifiles - Win32 Release" +# Name "test_tifiles - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\...\test\test_libtifiles.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# Begin Source File + +SOURCE=C:\msvc\tilp\libtifiles.lib +# End Source File +# End Target +# End Project Added: libtifiles/trunk/win32/msvc/test_tifiles.dsw ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/test_tifiles.dsw Sat May 3 12:03:51 2003 @@ -0,0 +1,44 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "test_tifiles"=.\test_tifiles.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name tifiles + End Project Dependency +}}} + +############################################################################### + +Project: "tifiles"=.\tifiles.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + Added: libtifiles/trunk/win32/msvc/tifiles.aps ============================================================================== Binary file. No diff available. Added: libtifiles/trunk/win32/msvc/tifiles.def ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/tifiles.def Sat May 3 12:03:51 2003 @@ -0,0 +1,99 @@ +LIBRARY +EXPORTS + + tifiles_init @1 + tifiles_exit @2 + tifiles_get_version @3 + tifiles_set_calc @4 + tifiles_get_calc @5 + tifiles_set_printf @6 + tifiles_msgbox @7 + tifiles_choose @8 + tifiles_printf @9 + tifiles_translate_varname @10 + tifiles_translate_varname2 @11 + tifiles_vartype2string @12 + tifiles_string2vartype @13 + tifiles_vartype2file @14 + tifiles_file2vartype @15 + tifiles_vartype2desc @16 + tifiles_group_file_ext @17 + tifiles_backup_file_ext @18 + tifiles_flash_app_file_ext @19 + tifiles_flash_os_file_ext @20 + tifiles_folder_type @21 + tifiles_flash_type @22 + tifiles_idlist_type @23 + tifiles_calc_type_to_string @24 + tifiles_attribute_to_string @25 + tifiles_vartype_to_file_extension @26 + tifiles_is_a_ti_file @27 + tifiles_is_a_single_file @28 + tifiles_is_a_group_file @29 + tifiles_is_a_regular_file @30 + tifiles_is_a_backup_file @31 + tifiles_is_a_flash_file @32 + tifiles_which_calc_type @33 + tifiles_which_file_type @34 + tifiles_file_descriptive @35 + tifiles_is_ti9x @36 + tifiles_is_silent @38 + tifiles_has_folder @39 + tifiles_is_flash @40 + tifiles_calctype2signature @41 + tifiles_signature2calctype @42 + tifiles_get_extension @43 + tifiles_dup_extension @44 + tifiles_compute_checksum @45 + tifiles_get_varname @46 + tifiles_get_fldname @47 + tifiles_build_fullname @48 + tifiles_create_regular_content @49 + tifiles_free_regular_content @50 + tifiles_read_regular_file @51 + tifiles_write_regular_file @52 + tifiles_display_file @53 + tifiles_create_table_of_entries @54 + tifiles_group_contents @55 + tifiles_ungroup_content @56 + tifiles_group_files @57 + tifiles_ungroup_file @58 + + ti8x_create_regular_content @60 + ti8x_create_backup_content @61 + ti8x_create_flash_content @62 + ti8x_free_regular_content @63 + ti8x_free_backup_content @64 + ti8x_free_flash_content @65 + ti8x_read_regular_file @66 + ti8x_read_backup_file @67 + ti8x_read_flash_file @68 + ti8x_write_regular_file @69 + ti8x_write_backup_file @70 + ti8x_write_flash_file @71 + ti8x_display_regular_content @72 + ti8x_display_backup_content @73 + ti8x_display_flash_content @74 + ti8x_display_file @75 + + ti9x_create_regular_content @80 + ti9x_create_backup_content @81 + ti9x_create_flash_content @82 + ti9x_free_regular_content @83 + ti9x_free_backup_content @84 + ti9x_free_flash_content @85 + ti9x_read_regular_file @86 + ti9x_read_backup_file @87 + ti9x_read_flash_file @88 + ti9x_write_regular_file @89 + ti9x_write_backup_file @90 + ti9x_write_flash_file @91 + ti9x_display_regular_content @92 + ti9x_display_backup_content @93 + ti9x_display_flash_content @94 + ti9x_display_file @95 + + tifiles_calloc @100 + tifiles_malloc @101 + tifiles_free @102 + tifiles_realloc @103 \ No newline at end of file Added: libtifiles/trunk/win32/msvc/tifiles.dsp ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/tifiles.dsp Sat May 3 12:03:51 2003 @@ -0,0 +1,313 @@ +# Microsoft Developer Studio Project File - Name="tifiles" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=tifiles - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "tifiles.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "tifiles.mak" CFG="tifiles - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "tifiles - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "tifiles - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "tifiles - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "" +# PROP Intermediate_Dir "C:\msvc\Output\tifiles" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MT /w /W0 /GX /I "./" /D "NDEBUG" /D "TIFILES_EXPORTS" /D "WIN32" /D "_WINDOWS" /D "__WIN32__" /D "ENABLE_NLS" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL" +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL" +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib intl.lib /nologo /subsystem:windows /dll /machine:I386 /out:"..\..\tests\tifiles.dll" + +!ELSEIF "$(CFG)" == "tifiles - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "C:\msvc\tilp\" +# PROP Intermediate_Dir "C:\msvc\Output\tifiles" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MTd /W2 /GX /ZI /Od /I "./" /D "_DEBUG" /D "TIFILES_EXPORTS" /D "WIN32" /D "_WINDOWS" /D "__WIN32__" /D "ENABLE_NLS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL" +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL" +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib intl.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept +# SUBTRACT LINK32 /map + +!ENDIF + +# Begin Target + +# Name "tifiles - Win32 Release" +# Name "tifiles - Win32 Debug" +# Begin Group "TI types" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\src\types73.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types82.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types83.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types83p.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types85.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types86.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types89.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types92.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\types92p.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\typesv2.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\typesXX.c +# End Source File +# End Group +# Begin Group "Headers" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\src\export.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\file_def.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\file_err.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\file_int.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\files8X.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\files9X.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\filesXX.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\grp_ops.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\intelhex.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\intl.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\macros.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\misc.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\plerror.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\tifiles.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\Trans.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types73.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types82.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types83.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types83p.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types85.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types86.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types89.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types92.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\types92p.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\typesv2.h +# End Source File +# Begin Source File + +SOURCE=..\..\src\typesXX.h +# End Source File +# End Group +# Begin Group "TI files" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\src\files8X.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\files9X.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\filesxx.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\grp_ops.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\intelhex.c +# End Source File +# End Group +# Begin Group "Others" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\src\error.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\intrface.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\misc.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\trans.c +# End Source File +# Begin Source File + +SOURCE=..\..\src\type2str.c +# End Source File +# End Group +# Begin Source File + +SOURCE=..\..\ChangeLog +# End Source File +# Begin Source File + +SOURCE=..\..\src\file_ver.h +# End Source File +# Begin Source File + +SOURCE=.\stdint.h +# End Source File +# Begin Source File + +SOURCE=.\tifiles.rc +# End Source File +# End Target +# End Project Added: libtifiles/trunk/win32/msvc/tifiles.dsw ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/tifiles.dsw Sat May 3 12:03:51 2003 @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 5.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "tifiles"=.\tifiles.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + Added: libtifiles/trunk/win32/msvc/tifiles.rc ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/msvc/tifiles.rc Sat May 3 12:03:51 2003 @@ -0,0 +1,109 @@ +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 0,0,5,1 + PRODUCTVERSION 0,0,5,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x21L +#else + FILEFLAGS 0x20L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "04090000" + BEGIN + VALUE "Comments", "This lib is placed under LGPL license. The license can be found on www.gnu.org\0" + VALUE "CompanyName", "The TiLP Team\0" + VALUE "FileDescription", "TI file library\0" + VALUE "FileVersion", "0.5.1\0" + VALUE "InternalName", "libtifiles\0" + VALUE "LegalCopyright", "Copyright © 2002-2003, Romain Liévin\0" + VALUE "LegalTrademarks", "\0" + VALUE "OriginalFilename", "libtifiles.dll\0" + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "TI files library for Windows9x/Me, NT4/2000/XP\0" + VALUE "ProductVersion", "0.5.1\0" + VALUE "SpecialBuild", "Windows 9x/Me, NT4/2000/XP version\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 0 + END +END + +#endif // !_MAC + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + Added: libtifiles/trunk/win32/scan.awk ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/scan.awk Sat May 3 12:03:51 2003 @@ -0,0 +1,22 @@ +#! /usr/bin/awk +# scan - scan source files for exported functions +# Copyright (C) Romain Lievin 2003 +# Contact: ro...@ti... +# + +BEGIN { + if (ARGC < 2) { + print "usage: cat <src_file> | awk -f scan.awk dst=<file>"; + exit; + } +} + +/TICALL/ { + nf = split($0, array, /TICALL/); +# print array[nf] >> dst; + nf2 = split(array[nf], array2, /\(/); + print array2[1] >> dst; +} + +END { +} Added: libtifiles/trunk/win32/scan.sh ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/scan.sh Sat May 3 12:03:51 2003 @@ -0,0 +1,22 @@ +#! /bin/sh +# scan - scan source files for exported functions +# Copyright (C) Romain Lievin 2003 +# Contact: ro...@ti... +# + +SRC=../src +DST=tifiles.def + +echo "Parsing..." + +rm -f $DST +echo "LIBRARY tifiles.dll" >> $DST +echo "EXPORTS" >> $DST +echo "" >> $DST + +for I in $SRC/*.c ; do \ + echo $I + cat $I | awk -f scan.awk dst=$DST +done + +echo "Done !" Added: libtifiles/trunk/win32/tifiles.def ============================================================================== --- (empty file) +++ libtifiles/trunk/win32/tifiles.def Sat May 3 12:03:51 2003 @@ -0,0 +1,94 @@ +LIBRARY tifiles.dll +EXPORTS + + tifiles_get_error + ti8x_create_regular_content + ti8x_create_backup_content + ti8x_create_flash_content + ti8x_free_regular_content + ti8x_free_backup_content + ti8x_free_flash_content + ti8x_read_regular_file + ti8x_read_backup_file + ti8x_read_flash_file + ti8x_write_regular_file + ti8x_write_backup_file + ti8x_write_flash_file + ti8x_display_regular_content + ti8x_display_backup_content + ti8x_display_flash_content + ti8x_display_file + ti9x_create_regular_content + ti9x_create_backup_content + ti9x_create_flash_content + ti9x_free_regular_content + ti9x_free_backup_content + ti9x_free_flash_content + ti9x_read_regular_file + ti9x_read_backup_file + ti9x_read_flash_file + ti9x_write_regular_file + ti9x_write_backup_file + ti9x_write_flash_file + ti9x_display_regular_content + ti9x_display_backup_content + ti9x_display_flash_content + ti9x_display_file + tifiles_create_regular_content + tifiles_free_regular_content + tifiles_read_regular_file + tifiles_write_regular_file + tifiles_display_file + tifiles_create_table_of_entries + tifiles_group_contents + tifiles_ungroup_content + tifiles_group_files + tifiles_ungroup_file + tifiles_init + tifiles_exit + tifiles_get_version + tifiles_set_calc + tifiles_get_calc + tifiles_calloc + tifiles_malloc + tifiles_free + tifiles_realloc + tifiles_get_extension + tifiles_dup_extension + tifiles_compute_checksum + tifiles_get_varname + tifiles_get_fldname + tifiles_build_fullname + tifiles_translate_varname + tifiles_translate_varname2 + tifiles_vartype2string + tifiles_string2vartype + tifiles_vartype2file + tifiles_file2vartype + tifiles_vartype2desc + tifiles_group_file_ext + tifiles_backup_file_ext + tifiles_flash_app_file_ext + tifiles_flash_os_file_ext + tifiles_folder_type + tifiles_flash_type + tifiles_idlist_type + tifiles_calc_type_to_string + tifiles_attribute_to_string + tifiles_vartype_to_file_extension + tifiles_calctype2signature + tifiles_signature2calctype + tifiles_is_a_ti_file + tifiles_is_a_single_file + tifiles_is_a_group_file + tifiles_is_a_regular_file + tifiles_is_a_backup_file + tifiles_is_a_flash_file + tifiles_which_calc_type + tifiles_which_file_type + tifiles_file_descriptive + tifiles_is_ti8x + tifiles_is_ti9x + tifiles_is_silent + tifiles_has_folder + tifiles_is_flash |