/[ascend]/trunk/pygtk/library.cpp
ViewVC logotype

Log of /trunk/pygtk/library.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2326)

Revision 2018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 29 03:38:10 2009 UTC (10 years, 1 month ago) by jpye
File length: 12759 byte(s)
Diff to previous 2005
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 20 08:39:46 2009 UTC (10 years, 2 months ago) by jpye
File length: 12612 byte(s)
Diff to previous 2003
Started work on exposing model parameters to canvas GUI.
Updated header/comment formatting in type_descio.h.
Fixed some warnings in error.c.
A bug still exists error_reporter_tree_start that is causing problems with the
canvas-based GUI.
Added Info class to canvas code, for output of debug information via GUI.
Added a few missing types of gtksourceview langdef.

Revision 2003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 13 05:30:00 2009 UTC (10 years, 3 months ago) by jpye
File length: 12548 byte(s)
Diff to previous 1984
Update to current freesteam.

Revision 1984 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 21 22:56:28 2009 UTC (10 years, 5 months ago) by jpye
File length: 12554 byte(s)
Diff to previous 1699
Added Library::loadString method for loading string modules.
First steps on 'run' command for canvas-based models.
Fixed bug with use of obrowser.
Minor correction to blocktypes.a4c.

Revision 1699 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 5 02:49:48 2008 UTC (11 years, 5 months ago) by jpye
File length: 10696 byte(s)
Diff to previous 1665
Added operator< to SymChar class (C++).
Added toString method to Dimensions class (C++).
Fixed close-button behaviour in Solver Reporter dialog (Python).
Added Library::getUnits to get list of all units of measurement in use (C++).
Added Library::getRealAtomTypes to get list of all real atomic types (C++).
Removed duplicated class definition for Dimensions in ascpy.i (C++).
Added __str__ to Python wrapping of Dimensions type.
Started working on populating data fields in UnitsDialog (Python).
Default constructor for Dimensions object now creates 'wildcard' dimension.
Cleared contents of library.i (should delete it actually).
Added Type::isFundamental (C++).
Tidied find.h formatting, #includes.


Revision 1665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 17 00:45:59 2007 UTC (11 years, 6 months ago) by jpye
File length: 9896 byte(s)
Diff to previous 1524
Refactored 'moduleview' stuff out of gtkbrowser.py.
Fixed headers of childio.h (added #include "child.h")
Fixed line-up of incidence matrix and axis tickmarks.
Module list is now sorted in library.cpp.
Added some docstrings in ascpy.i.

Revision 1524 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 30 23:21:49 2007 UTC (11 years, 11 months ago) by jpye
File length: 9941 byte(s)
Diff to previous 1520
changed to ASC_ENV_SOLVERS and ASC_ENV_LIBRARY in C code.
Rerranged order of Tcl/Tk initialisation so that path env vars are set before solvers are loaded.

Revision 1520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 30 01:23:36 2007 UTC (11 years, 11 months ago) by jpye
File length: 9961 byte(s)
Diff to previous 1316
Fixing for missing yacc/lex on Windows, auto-update of them when yacc/lex *are* avail.
Fixing 'test.py' operation on Windows (ASCENDSOLVERS env var)
Adding missing ida.dll to installer.
Adding some missing export symbols in libascend.

Revision 1316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 07:22:21 2007 UTC (12 years, 3 months ago) by johnpye
File length: 9909 byte(s)
Diff to previous 1240
Another one of these big refactorings. Split out 'system' directory from 'solver' directory. This will need more work
but it's a start at getting the non-solver-specific code out separately.

Revision 1240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 11:12:20 2007 UTC (12 years, 5 months ago) by johnpye
File length: 9909 byte(s)
Diff to previous 1237
@!@#$#$%! working at last

Revision 1237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 26 01:42:16 2007 UTC (12 years, 5 months ago) by johnpye
File length: 9907 byte(s)
Diff to previous 1210
Fixed problem with sort order of diffvars vs sindex vs IntegratorSystem::y

Revision 1210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 04:25:51 2007 UTC (12 years, 5 months ago) by johnpye
File length: 9869 byte(s)
Diff to previous 1150
Removed unnecessary #include <compiler.h>

Revision 1150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 04:49:21 2007 UTC (12 years, 5 months ago) by johnpye
File length: 9929 byte(s)
Diff to previous 1041
Changed ascdev script to pure python.

Revision 1041 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 00:29:21 2007 UTC (12 years, 5 months ago) by johnpye
File length: 9927 byte(s)
Diff to previous 1027
Removed redundant 'Error:' text from runtime_error calls in Library::load

Revision 1027 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 12:46:37 2007 UTC (12 years, 5 months ago) by johnpye
File length: 9955 byte(s)
Diff to previous 1026
Fixing bug with importhandler_setsharedpointer (you need to RemoveTableData if you want to overwrite a value)
Minor correction to (not fully implemented) importhandler_destroylibrary for case where library is NULL.

Revision 1026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 12:03:08 2007 UTC (12 years, 5 months ago) by johnpye
File length: 9953 byte(s)
Diff to previous 973
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together.
Added comments about new solverparameter macros.

Revision 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 10:48:38 2006 UTC (12 years, 6 months ago) by johnpye
File length: 9920 byte(s)
Diff to previous 932
Fixed the 'repeated test' bug (a static pointer to a destroyed symchar was being used in type.cpp)
Improved error reporting for 'not a refined solver_var' message.
Refactors Library::listModules and Library::getModules to use shared code.
TODO: find a more efficient solution to the static pointer problem above.

Revision 932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 13:23:33 2006 UTC (12 years, 7 months ago) by johnpye
File length: 9783 byte(s)
Diff to previous 931
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (12 years, 7 months ago) by johnpye
File length: 9747 byte(s)
Diff to previous 929
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 929 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 11:01:06 2006 UTC (12 years, 7 months ago) by johnpye
File length: 9200 byte(s)
Diff to previous 912
Little more on removing stream redirection (ongoing)

Revision 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (12 years, 8 months ago) by johnpye
File length: 9158 byte(s)
Diff to previous 897
Removed BBOXWHINE (replaced with some one-time-only warnings for the moment)
Added ExtMethodDestroyFn to allow 'user_data' associated with external methods to be destroyed.
Implemented the destroy fn through to 'extpy' module.
Added 'name' as an extra parameter in the user_data for extpy, to help with debug msgs.
Moved 'solvernotes' to a file of its own (was part of listnotes.py)
Added 'repaint' to GTK 'tools' menu (for debugging)
Added 'python.h' to top of library, type files (pygtk) to stop silly warnings.
Working on some diagnosing of problems as noted in Simulation::checkInstance.
Removed some old comments from namio.h and others.
Renamed 'blsys' to 'sys' in integrator.c.
Some work on fixing up the J*v function for IDA (not yet complete).
Added new 'destroyfn' parameter (as NULL) to all calls to 'CreateUserFunctionMethod'.

Revision 897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 11:05:18 2006 UTC (12 years, 8 months ago) by johnpye
File length: 9137 byte(s)
Diff to previous 875
Adding 'NOTES' support to C++ interface. 'johnpye/thermalequilibrium2.a4c' is the example case.
listnotes.py performs listing via a python external script method.
annotation.h and annotation.cpp implement the C++ wrapper referenced by SWIG.
library.{h,cpp} modified to provide access to the AnnotationDatabase.
Typemapping modified in ascpy.i in attempt to get a more maintainable wrapping.
Added annotation.cpp to build.
Updated copyright header and formatting of notate.{c,h}.
Improved ErrMsg_BracesEOF error message fn.
Updated copyright header and formatting of braced.{c,h}
Some misc debug output removed esp in simulation.cpp, conopt.c, importhandler.c.


Revision 875 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 7 06:26:34 2006 UTC (12 years, 8 months ago) by johnpye
File length: 9098 byte(s)
Diff to previous 803
Can now access the ASCEND model from an external python script method. The API is not at all nice, but it's basically working now.

Revision 803 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 05:51:31 2006 UTC (12 years, 10 months ago) by johnpye
File length: 9062 byte(s)
Diff to previous 782
Added default solver preference in PyGTK GUI.
Removed some debug output from library.cpp

Revision 782 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 25 02:09:12 2006 UTC (12 years, 11 months ago) by johnpye
File length: 9056 byte(s)
Diff to previous 711
Radu Serban sent me a preview of the new version of IDA which has new header file layout.
This patch updates for the new layout.
Also couple of minor fixes for gcc warnings in numlist and library.cpp.

Revision 711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 16:18:54 2006 UTC (12 years, 11 months ago) by johnpye
File length: 9049 byte(s)
Diff to previous 692
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

Revision 692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 02:45:47 2006 UTC (13 years ago) by johnpye
File length: 9049 byte(s)
Diff to previous 534
Fixed up behaviour of default ASCENDLIBRARY in python interface (for the case
where you're using ascpy without using the PyGTK GUI).
Removed some debug output when loading external libraries.
Fixed up the 'extfntest' example & SConscript file.

Revision 534 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 25 13:25:04 2006 UTC (13 years, 2 months ago) by johnpye
File length: 8787 byte(s)
Diff to previous 532
Working on platform-independent pathnames for the IMPORT command.
Added 'ospath.c' to base/generic/general for this purpose.
Patched kvalues and sensitivity to use the 'IMPORT "libname";' syntax
instead of 'IMPORT registerfn FROM libname;'.
Fixed pathnames in create.nsi.
Added GPL header to coupla files.
Added quoting to 'IMPORT' syntax in ascParse.y.
Removed 'PackageOption' from Tcl/Tk related Scons options so that missing Tcl/Tk
doesn't cause breakage.

Revision 532 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 02:23:08 2006 UTC (13 years, 2 months ago) by johnpye
File length: 8786 byte(s)
Diff to previous 531
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level)
Made corresponding changes to SCons* and spec files.

Revision 531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 02:04:02 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/interface/library.cpp
File length: 8786 byte(s)
Diff to previous 507
Removing extra subdir level in pygtk path

Revision 507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 02:44:25 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8786 byte(s)
Diff to previous 500
Fixing for ubuntu GCC 4

Revision 500 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 11:55:12 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8816 byte(s)
Diff to previous 485
Reduced some runtime debug messages from Python and C++ and base/generic/compiler/type_descio.c.
Fixed up support for GCC Visibility and add SCons 'sniffer' for this.
Fixed a bug with 'fileopenpath' in PyGTK interface (File->Open location is remembered from last time).
Fixed a bug with missing includes in C++.

Revision 485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 04:47:11 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8813 byte(s)
Diff to previous 481
Huge cleanup of file header comments (GPL notice etc).

Changed from ASC_DLLSPEC to ASC_DLLSPEC(TYPE) -- like python

Fixed up some badly export symbols (missing 'extern')

Fixed exporting of symbols from error.h

Removed ASC_DLLSPEC from .c files-- only in .h files now (hope that's right...)

Changed the way bintoken does its exporting, to take 
advantage of ASC_BUILDING_LIBASCEND (needs testing)

I wonder if the 'extern' keywork should be a part of the ASC_DLLSPEC macro?


Revision 481 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 11:10:29 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8753 byte(s)
Diff to previous 480
Fixed the windows crash problem. Actually looks like it was a bug 
with some hot-off-the-press SWIG features.

Revision 480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 10:45:23 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8748 byte(s)
Diff to previous 412
Adding ASC_DLLSPEC to all functions that are being used by Python interface.
Also cleaned up some #ifdef header brackets and html-style comments inside doxygen comments.
Renamed pygtk/interface/config.in to pygtk/interface/config.h.in and made 
this active again (for ASC_BUILDING_INTERFACE) use.
Trying to catch error in ascpy.Library call with try/except, doesn't work though.

Revision 412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 03:31:30 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8720 byte(s)
Diff to previous 392
Trying to fix problems with the parser 'yy' and 'zz' stuff so that it works with SCons and hopefuly autotools at same time.

Revision 392 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 12:36:15 2006 UTC (13 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8720 byte(s)
Diff to previous 341
Some fixes to the SCons build:
- adding flags to enable QRSLV and CMSLV by default.
- adding commands to build SWIG library correctly for Python interface.

Revision 341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 1 05:25:23 2006 UTC (13 years, 3 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8731 byte(s)
Diff to previous 213
Added support for default ASCENDLIBRARY value specified in the configure.in script.
This value used in Library(string defaultpath) and and is also passed to ASCEND by
gtkbrowser.py. Getting and setting of environment variables seems pretty messy
but hopefully this will work for now.

Revision 213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 24 23:25:56 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8495 byte(s)
Diff to previous 190
Fixed some missed 'ExtFn'->'ExtMethod' changes

Revision 190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 08:53:30 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8455 byte(s)
Diff to previous 180
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

Revision 180 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 12 03:20:58 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 8460 byte(s)
Diff to previous 175
Adding a little documentation

Revision 175 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 04:27:34 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 7862 byte(s)
Diff to previous 164
More work on adding plotting capability under PyGTK

Revision 164 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 3 09:54:43 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 7705 byte(s)
Diff to previous 161
Added wait-cursor during compile/build, started working
on correct destruction of Simulation objects.

Revision 161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 09:58:03 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 7578 byte(s)
Diff to previous 150
Adding missing call to Library::clear()

Revision 150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 09:24:56 2005 UTC (13 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 7481 byte(s)
Diff to previous 132
Committed changes to C++ solver class to accommodate new slv_lookup_client.
Still seeing bug #178 though.

Revision 132 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Dec 21 00:14:13 2005 UTC (13 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/library.cpp
File length: 7479 byte(s)
Adding the PyGTK interface to CMU repository. Whaddyareckon?

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22