277 Commits

Author SHA1 Message Date
Scott R Charlton
b6fe6dd6b6 updated for error handling
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@5851 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2011-12-02 05:09:25 +00:00
Scott R Charlton
a749742d19 IPhreeqc passes all unit tests on VS2005
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@5841 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2011-12-01 06:33:54 +00:00
Scott R Charlton
89f4961673 added phreeqcpp/phreeqc/NA.h to src/Makefile.am
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5468 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2011-07-12 05:34:33 +00:00
Scott R Charlton
1b9d96122a removed phreeqcpp/char_star.h from src/Makefile.am
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5467 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2011-07-12 05:18:27 +00:00
Scott R Charlton
887c4d6eae updated for output_file rename
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5222 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2011-03-22 23:26:17 +00:00
Scott R Charlton
ae090a01b3 added missing files for windows versions
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5221 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2011-03-22 23:13:09 +00:00
Scott R Charlton
12746394ba Cleaned up some more memory leaks reported by Intel Inspector XE 2011 (Kinneburgh)
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5005 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-12-29 01:33:27 +00:00
Scott R Charlton
656d81aed9 Fixed small memory leak and updated unit tests for DumpString
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5003 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-12-28 22:30:25 +00:00
Scott R Charlton
5fa682d846 initialized VAR
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4474 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-28 00:08:43 +00:00
Scott R Charlton
1874da5f1d ListComponents is now cached
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4464 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-25 00:47:02 +00:00
Scott R Charlton
4480134e5d updated include files
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4450 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-21 05:09:18 +00:00
Scott R Charlton
556b588e64 removed UnLoadDatabase from public API
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4449 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-21 05:01:07 +00:00
Scott R Charlton
f8f24e1c78 Added AddWarning AddError C/Fortran methods
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4439 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-20 18:49:08 +00:00
Scott R Charlton
cf6d8d2eaf added open_output_files method
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4429 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-20 01:30:47 +00:00
Scott R Charlton
7427c34aa1 renamed DLL_EXPORT to IPQ_DLL_EXPORT
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4420 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-18 05:07:56 +00:00
Scott R Charlton
c30ed6369a resorted renamed methods
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4413 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-18 04:35:20 +00:00
Scott R Charlton
67f49a29c0 # IPQ_DLL_EXPORT int GetDumpOn(int id);
#	IPQ_DLL_EXPORT int         GetDumpFileOn(int id);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetDumpOn(int id, int dump_on);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetDumpFileOn(int id, int dump_on);
s/etDumpOn/etDumpFileOn/g
s/etdumpon/etdumpfileon/g
s/ETDUMPON/ETDUMPFILEON/g
#	IPQ_DLL_EXPORT int         GetErrorOn(int id);
#	IPQ_DLL_EXPORT int         GetErrorFileOn(int id);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetErrorOn(int id, int error_on);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetErrorFileOn(int id, int error_on);
s/etErrorOn/etErrorFileOn/g
s/eterroron/eterrorfileon/g
s/ETERRORON/ETERRORFILEON/g
#	IPQ_DLL_EXPORT int         GetLogOn(int id);
#	IPQ_DLL_EXPORT int         GetLogFileOn(int id);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetLogOn(int id, int log_on);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetLogFileOn(int id, int log_on);
s/etLogOn/etLogFileOn/g
s/etlogon/etlogfileon/g
s/ETLOGON/ETLOGFILEON/g
#	IPQ_DLL_EXPORT int         GetOutputOn(int id);
#	IPQ_DLL_EXPORT int         GetOutputFileOn(int id);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetOutputOn(int id, int output_on);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetOutputFileOn(int id, int output_on);
s/etOutputOn/etOutputFileOn/g
s/etoutputon/etoutputfileon/g
s/ETOUTPUTON/ETOUTPUTFILEON/g
#	IPQ_DLL_EXPORT int         GetSelectedOutputOn(int id);
#	IPQ_DLL_EXPORT int         GetSelectedOutputFileOn(int id);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetSelectedOutputOn(int id, int sel_on);
#	IPQ_DLL_EXPORT IPQ_RESULT  SetSelectedOutputFileOn(int id, int sel_on);
s/etSelectedOutputOn/etSelectedOutputFileOn/g
s/etselectedoutputon/etselectedoutputfileon/g
s/ETSELECTEDOUTPUTON/ETSELECTEDOUTPUTFILEON/g
#	IPQ_DLL_EXPORT const char* GetDumpLine(int id, int n);
#	IPQ_DLL_EXPORT const char* GetDumpStringLine(int id, int n);
#	IPQ_DLL_EXPORT int         GetDumpLineCount(int id);
#	IPQ_DLL_EXPORT int         GetDumpStringLineCount(int id);
s/GetDumpLine/GetDumpStringLine/g
s/getdumpline/getdumpstringline/g
s/GETDUMPLINE/GETDUMPSTRINGLINE/g
#	IPQ_DLL_EXPORT const char* GetErrorLine(int id, int n);
#	IPQ_DLL_EXPORT const char* GetErrorStringLine(int id, int n);
#	IPQ_DLL_EXPORT int         GetErrorLineCount(int id);
#	IPQ_DLL_EXPORT int         GetErrorStringLineCount(int id);
s/GetErrorLine/GetErrorStringLine/g
s/geterrorline/geterrorstringline/g
s/GETERRORLINE/GETERRORSTRINGLINE/g
#	IPQ_DLL_EXPORT const char* GetWarningLine(int id, int n);
#	IPQ_DLL_EXPORT const char* GetWarningStringLine(int id, int n);
#	IPQ_DLL_EXPORT int         GetWarningLineCount(int id);
#	IPQ_DLL_EXPORT int         GetWarningStringLineCount(int id);
s/GetWarningLine/GetWarningStringLine/g
s/getwarningline/getwarningstringline/g
s/GETWARNINGLINE/GETWARNINGSTRINGLINE/g
#	IPQ_DLL_EXPORT void        OutputError(int id);
#	IPQ_DLL_EXPORT void        OutputErrorString(int id);
s/OutputError/OutputErrorString/g
s/outputerror/outputerrorstring/g
s/OUTPUTERROR/OUTPUTERRORSTRING/g
#	IPQ_DLL_EXPORT void        OutputLines(int id);
#	IPQ_DLL_EXPORT void        OutputAccumulatedLines(int id);
s/OutputLines/OutputAccumulatedLines/g
s/outputlines/outputaccumulatedlines/g
s/OUTPUTLINES/OUTPUTACCUMULATEDLINES/g
#	IPQ_DLL_EXPORT void        OutputWarning(int id);
#	IPQ_DLL_EXPORT void        OutputWarningString(int id);
s/OutputWarning/OutputWarningString/g
s/outputwarning/outputwarningstring/g
s/OUTPUTWARNING/OUTPUTWARNINGSTRING/g


git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4411 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-18 01:59:33 +00:00
Scott R Charlton
caa9bd83ca alphabetized src/IPhreeqcLib.cpp; added ClearAccumulatedLines routines
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4408 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-17 21:59:43 +00:00
Scott R Charlton
4c0e1fbdff changed to avoid warnings from intel c++ compiler
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4395 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-13 04:23:01 +00:00
Scott R Charlton
ed8ca4aedd All tests compile in all configurations
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4357 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-10 06:12:42 +00:00
Scott R Charlton
c3c27d34d8 working on fortran interfaces
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4349 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-06 06:48:20 +00:00
Scott R Charlton
4a9fdcfffb added KIND= to fortran wrappers
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4348 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-06 03:18:32 +00:00
Scott R Charlton
2f1b9f0d90 Added some additional error handling for GetDumpString;
Changed return value for UnLoadDatabase.

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4345 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-06 01:31:08 +00:00
Scott R Charlton
166750a340 Changed error messages
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4343 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-05 21:25:06 +00:00
Scott R Charlton
0fc11d724b Renamed GetLastErrorString to GetErrorString
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4339 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-04 23:36:21 +00:00
Scott R Charlton
51ee087d84 removed SAX header files
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4329 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-03 22:34:37 +00:00
Scott R Charlton
272f661a96 removed libtool versioning for now
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4328 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-03 22:23:43 +00:00
Scott R Charlton
1f20f19a80 working on library versioning
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4327 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-05-03 22:19:55 +00:00
Scott R Charlton
6745855c70 combined src/Makefile.am src/phreeqcpp/Makefile.am src/phreecpp/phreeqc/Makefile.am into one file
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4316 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-27 22:25:21 +00:00
Scott R Charlton
0713b95e00 working on autotools
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4307 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-27 03:20:38 +00:00
Scott R Charlton
d8ed021b21 modified Makefile.am's to handle each src dir independently
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4298 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-23 05:21:21 +00:00
Scott R Charlton
1ba5b0dcfa added newline al end of files
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4293 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-22 21:00:35 +00:00
Scott R Charlton
e1c4814d96 replaced malloc.h with stdlib.h
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4291 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-22 20:39:16 +00:00
Scott R Charlton
b522a268b2 changed svn:eol-style to native for many files
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4276 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-21 05:29:27 +00:00
Scott R Charlton
b90695455a working on autotools
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4273 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-21 04:49:32 +00:00
Scott R Charlton
b51c3bf7d6 removed debugging code
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4272 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-21 00:17:20 +00:00
Scott R Charlton
0a2feb4ad1 working on configure script and testing on linux
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4271 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-20 23:30:04 +00:00
Scott R Charlton
74589b4d48 Added AC_F77_WRAPPERS handling
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4262 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-16 06:56:42 +00:00
Scott R Charlton
7941ba5cf5 still working on autotools integration
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4261 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-16 06:24:43 +00:00
Scott R Charlton
0527e27f64 working on autotools
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4260 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-15 06:47:05 +00:00
Scott R Charlton
156ceae299 working on autotools integration
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4259 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-15 03:36:24 +00:00
Scott R Charlton
459c77562a added missing fortran routines
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4257 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-14 23:07:01 +00:00
Scott R Charlton
671f38ff97 re-added src/fwrap.cpp
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4253 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-14 04:22:59 +00:00
Scott R Charlton
5c22665a1f merged in IPhreeqc-class 4140-4239
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4251 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-14 04:10:37 +00:00
Scott R Charlton
c0f7528bf5 Added support for dll run time libraries
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4239 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-09 04:22:42 +00:00
Scott R Charlton
611d6fc59a added underscores
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4230 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-08 00:52:26 +00:00
Scott R Charlton
3ec05f6dda added GetWarningLineCount GetWarningLine for fortran
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4229 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-08 00:37:39 +00:00
Scott R Charlton
95e46c1659 git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4227 1feff8c3-07ed-0310-ac33-dd36852eb9cd 2010-04-08 00:26:48 +00:00
Scott R Charlton
7499d8f14d removed module_files.h module_files.cpp module_output.cpp FInterface.for
renamed IPhreeqc2 to IPhreeqc



git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4226 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-07 22:59:00 +00:00
Scott R Charlton
7728a79b35 renamed IPhreeqc2.h to IPhreeqc.hpp
renamed IPhreeqc2.cpp to IPhreeqc.cpp

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4225 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-04-07 22:13:33 +00:00