/[ascend]/trunk/pygtk
ViewVC logotype

Log of /trunk/pygtk

View Directory Listing Directory Listing


Sticky Revision:

Revision 789 - Directory Listing
Modified Thu Jul 27 04:35:17 2006 UTC (18 years, 2 months ago) by johnpye
Working version of testconopt.a4c now. This model yeilds the solution given in the CONOPT tutorial.

Revision 788 - Directory Listing
Modified Thu Jul 27 03:17:54 2006 UTC (18 years, 2 months ago) by johnpye
CONOPT running with testconopt.a4c but seems to give the wrong answer still.

Revision 786 - Directory Listing
Modified Wed Jul 26 15:04:32 2006 UTC (18 years, 2 months ago) by johnpye
Added a test model for use with CONOPT.

Revision 785 - Directory Listing
Modified Wed Jul 26 14:29:09 2006 UTC (18 years, 2 months ago) by johnpye
Some more work to integrate the new CONOPT API with ASCEND.
Also added ability to select different solvers from the PYGTK GUI

Revision 783 - Directory Listing
Modified Wed Jul 26 09:16:19 2006 UTC (18 years, 2 months ago) by johnpye
First work towards reinstating the CONOPT solver. So far, I've got it building
and linking without errors, but haven't tested the resulting runtime.

Revision 782 - Directory Listing
Modified Tue Jul 25 02:09:12 2006 UTC (18 years, 2 months ago) by johnpye
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 781 - Directory Listing
Modified Tue Jul 25 00:18:19 2006 UTC (18 years, 2 months ago) by johnpye
Fixed up building of extfntest on MinGW.
Added extfntest DLL to Windows installer.

Revision 780 - Directory Listing
Modified Tue Jul 18 06:43:30 2006 UTC (18 years, 2 months ago) by johnpye
Fixing problem with extern "C" linkage in new compiler.cpp file.

Revision 776 - Directory Listing
Modified Sat Jul 15 07:23:50 2006 UTC (18 years, 3 months ago) by johnpye
There are still some problems with this. The fiable varsa list doesn't seem to update.

Revision 775 - Directory Listing
Modified Sat Jul 15 07:18:54 2006 UTC (18 years, 3 months ago) by johnpye
Tidied up headers in slvDOF.h
Added 'show freeable vars' to GUI.
Fixed up the 'check' function a bit. It was doing strange things.

Revision 774 - Directory Listing
Modified Fri Jul 14 08:01:48 2006 UTC (18 years, 3 months ago) by johnpye
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.

Revision 773 - Directory Listing
Modified Fri Jul 14 06:07:14 2006 UTC (18 years, 3 months ago) by johnpye
Adding files for the 'Compiler' class.

Revision 772 - Directory Listing
Modified Fri Jul 14 06:03:47 2006 UTC (18 years, 3 months ago) by johnpye
Improved the reporting of structural singularities in PyGTK interface.

Revision 770 - Directory Listing
Modified Fri Jul 14 03:35:16 2006 UTC (18 years, 3 months ago) by johnpye
Added 'use relation sharing' option to the PyGTK GUI.
Changed some debug output calls.
Tidied up headers in anoncopy, anonmerg, etc.

Revision 759 - Directory Listing
Modified Thu Jul 13 04:16:10 2006 UTC (18 years, 3 months ago) by johnpye
Commenting and changes to deubg output. Some reformatting of ModifyBlackBoxRelationPointers.

Revision 751 - Directory Listing
Modified Wed Jul 12 02:49:46 2006 UTC (18 years, 3 months ago) by johnpye
Added 'ASC_DEBUGGER' env var that allows ASCEND to be run through valgrind.

Revision 750 - Directory Listing
Modified Wed Jul 12 02:23:05 2006 UTC (18 years, 3 months ago) by johnpye
Added listing of external functions to PyGTK GUI.

Revision 747 - Directory Listing
Modified Tue Jul 11 05:42:43 2006 UTC (18 years, 3 months ago) by johnpye
Added couple of missing keywords: 'OF' and 'set'.

Revision 746 - Directory Listing
Modified Fri Jul 7 11:01:26 2006 UTC (18 years, 3 months ago) by johnpye
Fixed small int/unsigned warnings.
Switched to preferring 'numarray' over 'numpy' (perhaps temporarily)

Revision 743 - Directory Listing
Modified Thu Jul 6 14:22:26 2006 UTC (18 years, 3 months ago) by johnpye
Few small changes to fix for Linux after the recent MSVC++ oriented changes.

Revision 742 - Directory Listing
Modified Thu Jul 6 13:47:41 2006 UTC (18 years, 3 months ago) by johnpye
I think this almost resolves all the Visual C++ issues.
Just an outstanding issue with the use of the option struct in LibraryProc.c
eg use of &g_compiler_warnings in initialiser.

Revision 737 - Directory Listing
Modified Wed Jul 5 12:36:29 2006 UTC (18 years, 3 months ago) by johnpye
DSG model converges, using 3 external functions :-)
Added more info in 'diagnose' varinfo and relinfo popups, plus tabstops in display.
Allowed parameters to be used with instantiation_error in instantiate.c.
Fixed up some error messages in bintoken.c.
Renamed 'newcalc_done' to 'evaluation_required' in rel.c.
Other minor changes to error messages and commenting.


Revision 736 - Directory Listing
Modified Wed Jul 5 04:56:26 2006 UTC (18 years, 3 months ago) by johnpye
Relation expressions shown in diagnose window
(click in incidence matrix, then (i) or alt-r)

Revision 735 - Directory Listing
Modified Wed Jul 5 02:42:19 2006 UTC (18 years, 3 months ago) by johnpye
Improved implementation of 'diagnose' window in PyGTK interface.
You can now view solver-side details about variables and relations, see the '(i)' icons.

Revision 734 - Directory Listing
Modified Wed Jul 5 01:18:43 2006 UTC (18 years, 3 months ago) by johnpye
Added missing dependence for ascpy.py

Revision 732 - Directory Listing
Modified Tue Jul 4 14:40:17 2006 UTC (18 years, 3 months ago) by johnpye
Added general-purpose text-information dialog to PyGTK interface.
Added reporting of clique of a variable to PyGTK GUI.
Changed 'fixable' and 'new bounds' to use the new dialog.
Removed 'set<...>' from ascpy.i (it wasn't working), changed to vector<...>.
Exported a couple of var incidences fns to the DLL/SO.

Revision 729 - Directory Listing
Modified Tue Jul 4 07:05:44 2006 UTC (18 years, 3 months ago) by johnpye
Fixed up incidence matrix so that var/rel are reported right there in the
plot window. Note sure which version of Matplotlib is required yet though.

Revision 728 - Directory Listing
Modified Tue Jul 4 05:03:59 2006 UTC (18 years, 3 months ago) by johnpye
Removed some debug messages from external libraries stuff.
Fixed auto-sim stuff for files given with relative path on the commandline.

Revision 725 - Directory Listing
Modified Mon Jul 3 11:52:45 2006 UTC (18 years, 3 months ago) by johnpye
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...

Revision 723 - Directory Listing
Modified Mon Jul 3 07:46:53 2006 UTC (18 years, 3 months ago) by johnpye
Added 'auto-sim' mode: models with same stem name as the file are automatically instantiated on loading.

Revision 721 - Directory Listing
Modified Mon Jul 3 06:22:42 2006 UTC (18 years, 3 months ago) by johnpye
Added '--models' option to ascend-config.
Fixed a bug with packages.c wrt generating absolute paths to library files.
Added SCons directives to install header files in INSTALL_INCLUDE subdirs.
Changed rel.c so that init function is only run if provided in the package.
Added 'ospath_getabs' to convert relative paths into absolute paths by adding prefix of fully-resolved '.'

Revision 714 - Directory Listing
Modified Sat Jul 1 03:16:38 2006 UTC (18 years, 3 months ago) by johnpye
Commented out some disused vars

Revision 712 - Directory Listing
Modified Fri Jun 30 05:18:56 2006 UTC (18 years, 3 months ago) by johnpye
Implemented 'instance_getname' that should return a stringified
version of an enum inst_t (Instance::t).
Some other small -Wall fixes.

Revision 711 - Directory Listing
Modified Thu Jun 29 16:18:54 2006 UTC (18 years, 3 months ago) by johnpye
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

Revision 710 - Directory Listing
Modified Thu Jun 29 08:53:37 2006 UTC (18 years, 3 months ago) by johnpye
Added my so-called 'quick fix' to external relation processing.
Still need to pursue corruption of efunc->etype pointer, for some
reason.

Revision 709 - Directory Listing
Modified Wed Jun 28 16:28:57 2006 UTC (18 years, 3 months ago) by johnpye
Monster commit!
Lots of recommenting and reorganising of external relations-related stuff.
Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros.
Fixed (?) the problem Art is having with icons in PyGTK.
Turned on -Wall in SConstruct and fixed up a stack of warnings.
Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)).
Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7.
Fixed up building of extfntest.c.

Revision 694 - Directory Listing
Modified Thu Jun 22 07:54:53 2006 UTC (18 years, 3 months ago) by johnpye
Lots of tidying up to relation_util code. (Most commments but a 
little refactoring of repeated code chunks.)
Added 'IMPORT' to the Gedit syntax definition.
Added error_reporters in place of some console output.

Revision 692 - Directory Listing
Modified Thu Jun 22 02:45:47 2006 UTC (18 years, 3 months ago) by johnpye
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 690 - Directory Listing
Modified Thu Jun 22 00:48:31 2006 UTC (18 years, 3 months ago) by johnpye
Converting some line endings to unix form as part diagnosing the problem
with the current merge from the DAE branch.

Revision 689 - Directory Listing
Modified Thu Jun 22 00:19:54 2006 UTC (18 years, 3 months ago) by johnpye
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors.
Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere)
Added test case to detect this scanner problem.

Revision 688 - Directory Listing
Modified Wed Jun 21 23:42:55 2006 UTC (18 years, 3 months ago) by johnpye
Fixed up runtime problem with 'auto solve' menu

Revision 682 - Directory Listing
Modified Wed Jun 21 12:11:27 2006 UTC (18 years, 3 months ago) by johnpye
'auto solve' is now remembered in user preferences

Revision 669 - Directory Listing
Modified Wed Jun 21 07:00:45 2006 UTC (18 years, 3 months ago) by johnpye
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.

Revision 662 - Directory Listing
Modified Wed Jun 14 09:33:04 2006 UTC (18 years, 4 months ago) by johnpye
module.c switched over to use ospath_searchpath_iterate for REQUIRE statments.
Removed some too-new libglade keywords from ascend.glade.
Fixed up some error messages in scanner.l and library.c.
Corrected some non-terminated string bugs in ospath.c.

Revision 632 - Directory Listing
Modified Wed May 24 15:19:51 2006 UTC (18 years, 4 months ago) by johnpye
Setting matplotlib to use GTKAgg renderer. Should help in the case of Windows.

Revision 631 - Directory Listing
Modified Wed May 24 05:14:20 2006 UTC (18 years, 4 months ago) by johnpye
Changed the way that installer is created on Windows: now you must use
'scons installer' to build the installer. This will only work on windows.
The WITH_INSTALLER option has been removed. 

Switched the expected version of Tcl to 8.4 under Windows for builds with SCons.

Revision 629 - Directory Listing
Modified Wed May 24 04:34:25 2006 UTC (18 years, 4 months ago) by johnpye
Added changes to allow autotools build on ubuntu. There were some wrong assumptions
about file locations that I was able to correct using information in the 
tclConfig.sh and tkConfig.sh files. This will need testing on Fedora/Unix/etc.

Revision 628 - Directory Listing
Modified Wed May 24 01:45:02 2006 UTC (18 years, 4 months ago) by johnpye
Fixed up standard paths stuff to use 'INSTALL_ASCDATA' as the place where tcltk/python/models etc
will live. The confusion here came from the fact that I was taking 'INSTALL_SHARE' to be be assumed
to mean 'the location of /usr/share' -- hence the resulting '$INSTALL_SHARE/ascend' that was bothering
Ben. The 'INSTALL_ASCDATA' fixes this, and behaves as he will like, I hope.

Also note that I have switched the default situation in config.h.in to use relative paths by default,
which is the preferred CMU way. SCons builds will default to absolute paths on non-Windows systems.

Revision 627 - Directory Listing
Modified Tue May 23 03:07:41 2006 UTC (18 years, 4 months ago) by johnpye
Fixing the windows build.
Added full support for Tcl/Tk version to the installer.

Revision 625 - Directory Listing
Modified Thu May 18 16:07:09 2006 UTC (18 years, 4 months ago) by johnpye
Fixed incidences of INSTALL_DATA in SConscript files.

Revision 624 - Directory Listing
Modified Thu May 18 15:39:38 2006 UTC (18 years, 4 months ago) by ben.allan
Summary: most of the recent complaints about autotools build fixed,
but the buildbot might find a problem with the scons build/install/rpmbuild.


Details:

configure,Driver.c,utilities/config.h.in:
The choice of INSTALL_DATA as a configure variable name
has been repaired (renamed INSTALL_SHARE); INSTALL_DATA is the unix
canonical name for the program 'install' handling a data file.
Both autotools and scons builds have been updated to reflect this,
in the process correcting the definition from prefix/share to
prefix/share/ascend. 

autotools build:
Added --with-quiet option to make the install of already installed and
unchanged files less verbose.
Put in a workaround for the '' problem in tkConfig.sh seen by KC/JP.
Added --datadir support to autotools configure. If you configure
the autotools --datadir=PREFIX/share/ascend you get the same behavior
as the Pye packaging; by default you get the CMU packaging convention instead.
Added utilities/env.c to build.

compiler:
Turned off AWAL in anontype.c.
Noodling away at blackboxes continues...


Revision 615 - Directory Listing
Modified Wed May 17 06:29:40 2006 UTC (18 years, 4 months ago) by johnpye
Forced pygtk to share major env vars with base library.
Modified 'can't use this here' error messages.
Added notification when colour codes are being disabled.

Revision 610 - Directory Listing
Modified Tue May 16 08:10:29 2006 UTC (18 years, 5 months ago) by johnpye
Pass calling parameters of ascend.bat through to PyGTK. Needs to be tested still.

Revision 603 - Directory Listing
Modified Mon May 15 14:38:01 2006 UTC (18 years, 5 months ago) by johnpye
Added an exception wrapper around the 'set icon' call for the main window.
Working on adding Tcl/Tk support to the windows installer (need a WinXP machine to test this, or fix the max line length issue).

Revision 590 - Directory Listing
Modified Thu May 11 04:40:18 2006 UTC (18 years, 5 months ago) by johnpye
Minor cleaning.

Revision 580 - Directory Listing
Modified Tue May 9 06:56:55 2006 UTC (18 years, 5 months ago) by johnpye
Fixed a problem with GTK+ 2.6 on Windows.

Revision 579 - Directory Listing
Modified Tue May 9 06:21:18 2006 UTC (18 years, 5 months ago) by johnpye
Fixed for Ubuntu 5.10 (linking to libstdc++ when building _ascpy.so)
Tested with MinGW/WinXP, still OK.

Revision 578 - Directory Listing
Modified Tue May 9 04:59:03 2006 UTC (18 years, 5 months ago) by johnpye
Customisable installer .exe names.
Moved NSIS tool into the scons subdirectory, reverted to standard NsisSconsBuilder from the SCons Wiki.

Revision 577 - Directory Listing
Modified Tue May 9 04:08:53 2006 UTC (18 years, 5 months ago) by johnpye
Bumping the version number for NSIS and RPM pre-releases

Revision 569 - Directory Listing
Modified Tue May 9 00:10:03 2006 UTC (18 years, 5 months ago) by johnpye
Changing from 'tcltk98' to 'tcltk', in progress.

Revision 559 - Directory Listing
Modified Wed May 3 02:40:23 2006 UTC (18 years, 5 months ago) by johnpye
Expanded the installation instructions a little bit.

Revision 558 - Directory Listing
Modified Wed May 3 00:01:46 2006 UTC (18 years, 5 months ago) by johnpye
Fixing some dependency issues with the building of the SWIG wrapper.
Added automatic SWIG dependency scanner (from the SCons Wiki).

Revision 552 - Directory Listing
Modified Sat Apr 29 08:53:04 2006 UTC (18 years, 5 months ago) by johnpye
Created 'scons install' command that also works for Tcl/Tk interface.
These changes required some modifications to the default values of the environment variables.
Installed Tcl/Tk version now works with only the LD_LIBRARY_PATH env var being required.

Revision 542 - Directory Listing
Modified Wed Apr 26 15:15:40 2006 UTC (18 years, 5 months ago) by johnpye
This is a patch to allow statements like "IMPORT johnpye/extfn/extfntest".
It modifies the methods in packages.c. Plan is to reuse the same code for "REQUIRE xxxxxx" statements as well.


Revision 540 - Directory Listing
Modified Tue Apr 25 23:57:49 2006 UTC (18 years, 5 months ago) by johnpye
Fixing SCons Tcl/Tk build on Windows.

Revision 534 - Directory Listing
Modified Tue Apr 25 13:25:04 2006 UTC (18 years, 5 months ago) by johnpye
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 533 - Directory Listing
Modified Mon Apr 24 05:54:11 2006 UTC (18 years, 5 months ago) by johnpye
Starting to refactor the model browser as its own python class.
Fixed a bug with the 'diagnose' feature on linux due to failed loading of an icon.

Revision 532 - Directory Listing
Modified Mon Apr 24 02:23:08 2006 UTC (18 years, 5 months ago) by johnpye
Copied from: trunk/interface revision 531
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level)
Made corresponding changes to SCons* and spec files.

Revision 531 - Directory Listing
Modified Mon Apr 24 02:04:02 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/interface
Copied from: trunk/pygtk/interface revision 530
Removing extra subdir level in pygtk path

Revision 530 - Directory Listing
Modified Sat Apr 22 07:52:30 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Found the problem with the PyGTK interface: a too-long vsprintf. Changed to vsnprintf.

Revision 529 - Directory Listing
Modified Sat Apr 22 06:26:23 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working of debugging the mysterious PyGTK bug. Seems to be coming from a wrong
char *filename in an error_reporter call from the DEBUG_RELS sections of the
compiler code.
Also renamed the WSEM and WSNM macros for clarity, removed unused file pointer.

Revision 527 - Directory Listing
Modified Fri Apr 21 15:20:17 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Correct the regular expression

Revision 526 - Directory Listing
Modified Fri Apr 21 13:47:31 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed up a problem with ordering of headers with Python.h.
Removed psyco initialisation, pending evidence that it actually does something :-)
Disabled python 'director' error message callbacks, trying to debug a segfault.
Added ability to disable GCC Visibility, scons WITH_GCCVISIBILITY=0.
Turned off runtime signal tests for SIG_INT and SIG_FPE (makes using GDB a pain), see base/generic/utilities/ascSignal.[ch].

Revision 524 - Directory Listing
Modified Fri Apr 21 07:38:32 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Another small fix to the tuple bug

Revision 519 - Directory Listing
Modified Fri Apr 21 02:07:11 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing up the 'tuple' thing (Yomi's change) as it didn't now work with Python 2.4
Fixed up dependencies around the SWIG compile.
Fixed so that SCons makes pygtk/interface/ascend executable automatically.

Revision 514 - Directory Listing
Modified Wed Apr 19 14:59:06 2006 UTC (18 years, 5 months ago) by wangym
Original Path: trunk/pygtk/interface
the position maybe negative after maximized in ini

Revision 510 - Directory Listing
Modified Wed Apr 19 06:38:42 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removing the chmod+x ascend thing, it's not right.

Revision 509 - Directory Listing
Modified Wed Apr 19 05:13:08 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
SWIG < 1.3.28 can't do GCC visibility, so turn off for python interface in that case.

Revision 508 - Directory Listing
Modified Wed Apr 19 04:48:32 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
More fixes for compiling and running on ubuntu 5.10 with GCC:
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Added ASC_SHLIBSUFFIX and ASC_SHLIBPREFIX which are used in packages.c in preference to platform-specific #ifdefs.


Revision 507 - Directory Listing
Modified Wed Apr 19 02:44:25 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing for ubuntu GCC 4

Revision 506 - Directory Listing
Modified Tue Apr 18 14:30:39 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
The Visual C++ 2005 version now builds without linker errors.
But I ran the installer and it crashed during the first C++ call, so still problems.

Revision 505 - Directory Listing
Modified Tue Apr 18 13:22:29 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Add some 'Depends' to ensure that the PyGTK app gets built before the installer does.

Revision 504 - Directory Listing
Modified Tue Apr 18 13:14:20 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Playing around with dllspec for gcc 4.0, trying to fix a bug.

Revision 502 - Directory Listing
Modified Tue Apr 18 12:57:30 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added check to see that YACC runs OK.
Fixing build with MSVC++ 2005.
All builds now except for some problems in the SWIG-generated code.

Revision 500 - Directory Listing
Modified Tue Apr 18 11:55:12 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 499 - Directory Listing
Modified Tue Apr 18 08:26:16 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on Linux again.
For some reason you need to run /sbin/ldconfig though. I'm going to
ask Ben about this.

Revision 498 - Directory Listing
Modified Tue Apr 18 08:07:13 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
MinGW build fixed and working again.
Changed SConstruct so that if you run SCons from MSYS, SCons won't try to use MV++ tools.
Wrapped extern "C" {} around #include <utilities/ascConfig.h> in pygtk/interface/config.h.in.
Added 'HAVE_LEX' and 'HAVE_YACC' env vars in SCons so that we can be smart about using _no_yacc source.
Changed tcltk98 SCons script so that _no_yacc is switchable.

Revision 485 - Directory Listing
Modified Tue Apr 18 04:47:11 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 482 - Directory Listing
Modified Mon Apr 17 12:22:31 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Set up memory of file->open path in PyGTK GUI.
Improved pass-through of ./ascend parameters in ASC_DEVELOPING mode.
Removed disused SWIG builder in SConscript (using SCOns' builtin stuff now)
Improved some console messages from Python.

Revision 481 - Directory Listing
Modified Mon Apr 17 11:10:29 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed the windows crash problem. Actually looks like it was a bug 
with some hot-off-the-press SWIG features.

Revision 480 - Directory Listing
Modified Mon Apr 17 10:45:23 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 479 - Directory Listing
Modified Mon Apr 17 08:49:14 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
More small tweaks to help debug loading of PyGTK GUI

Revision 478 - Directory Listing
Modified Mon Apr 17 08:10:48 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing build for SWIG 1.3.24 (no -O flag)
Adding more debug info to loading output in PyGTK interface/config.py.in
Adding SWIGVERSION flag to SCons env.
Commenting in ascDynaLoad.c and ascParse.y
Adding VERSION to config.py

Revision 476 - Directory Listing
Modified Mon Apr 17 07:06:45 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added some INSTALL notes relating to building windows installer.
Added some optimisations to the SWIG build to reduce target file size.
Fixed bug with WITH_INSTALLER=1 flag.

Revision 466 - Directory Listing
Modified Sun Apr 16 15:07:48 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Rolled back revision 451, since the DLL loading issue on Windows is now resolved.
Fixed up some #ifdef brackets in slv*.h headers.
Added NSIS functionality to SConstruct file
Renamed default installer to 'ascend-setup.exe' pending a more clever approach to version numbers.

Revision 465 - Directory Listing
Modified Sun Apr 16 13:43:44 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Renamed 'WITHOUT_TCLTK_GUI' option to 'WITHOUT_TCLTK'.
Hard-wired path to c:\Python24 and c:\GTK\bin in Windows Python GUI installer.

Revision 463 - Directory Listing
Modified Sun Apr 16 10:18:16 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface
Converting to the new shared-object configuration (on email discussion with Ben)
First stage: PyGTK interface on windows. More to come.

Revision 462 - Directory Listing
Modified Sun Apr 16 00:38:25 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
32x32 icon for gnome-files

Revision 459 - Directory Listing
Modified Fri Apr 7 08:05:05 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing default PackageOption values
Adding --library option to gtkbrowser for ASC_DEVELOPING override of 'models' path.

Revision 455 - Directory Listing
Modified Wed Apr 5 07:50:22 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Tidying up some debug output
Fixing up use of icon filenames on Windows
Removing reference to .svg file in glade/ascend.glade

Revision 454 - Directory Listing
Modified Wed Apr 5 07:43:57 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added icon

Revision 453 - Directory Listing
Modified Wed Apr 5 06:47:01 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Remove default CUnit locations for failsafe 'scons -h' on Windows

Revision 450 - Directory Listing
Modified Wed Apr 5 01:54:16 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removed ~/ascdata from DEFAULT_ASCENDLIBRARY

Revision 449 - Directory Listing
Modified Wed Apr 5 01:32:45 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding 'models' directory to SCons install

Revision 448 - Directory Listing
Modified Wed Apr 5 01:04:59 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
RPM build works now. The model library isn't being installed but the PyGTK interface opens up correctly.

Revision 447 - Directory Listing
Modified Wed Apr 5 00:31:15 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Renamed 'desktop' directory to 'gnome'

Revision 446 - Directory Listing
Modified Wed Apr 5 00:30:15 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added GNOME integration stuff under pygtk/interface/desktop

Revision 440 - Directory Listing
Modified Tue Apr 4 11:58:26 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added missing 'ascend.in' and fixed up missing dependencies in RPM spec

Revision 437 - Directory Listing
Modified Tue Apr 4 11:08:15 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Missed a GLADE_FILE

Revision 436 - Directory Listing
Modified Tue Apr 4 11:02:51 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Implemented installer version of PyGTK interface. Use 'scons install' to
install. See 'scons -h' for new build options.

Revision 435 - Directory Listing
Modified Tue Apr 4 10:09:09 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Starting work on linux-based install process

Revision 427 - Directory Listing
Modified Tue Apr 4 04:13:34 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
tentative: Disabled ascDynaload functions when DYNAMIC_PACKAGES is not defined. 
Altered error.[ch] so that MS VC++ variadic macros are used when available. 
Disabled Windows MessageBox in ascPanic, so that compilation of base engine is possible with the Platform SDK.
Added SConscript files to build FORTRAN components.
Removed some autoconf-related stuff from the pygtk/interface directory.

Revision 426 - Directory Listing
Modified Tue Apr 4 01:09:05 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some debug output added for bug #255.

Revision 412 - Directory Listing
Modified Mon Apr 3 03:31:30 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Trying to fix problems with the parser 'yy' and 'zz' stuff so that it works with SCons and hopefuly autotools at same time.

Revision 404 - Directory Listing
Modified Sat Apr 1 05:37:52 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added Tcl detection. Still to do: check that Tk version matches Tcl version.

Revision 398 - Directory Listing
Modified Fri Mar 31 07:55:11 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added SWIG version detection.
Added some ignore patterns for files in the repository.

Revision 395 - Directory Listing
Modified Fri Mar 31 06:09:03 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Successful build of Python interface on Windows with MinGW/MSYS.

Revision 393 - Directory Listing
Modified Thu Mar 30 14:46:37 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed SCons build to do output of config file 'config.py' require
by PyGTK GUI. Removed requirement for 'config.h' from the C++ file
and instead supplied required flags via compiler commandline.

Revision 392 - Directory Listing
Modified Thu Mar 30 12:36:15 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 391 - Directory Listing
Modified Thu Mar 30 07:19:05 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
A little bit of progress on getting the windows build to work

Revision 388 - Directory Listing
Modified Thu Mar 30 05:52:06 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Successful build of the PyGTK interface with SCons on Linux (FC4)

Revision 387 - Directory Listing
Modified Thu Mar 30 05:13:59 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added SConscript for PyGTK interface.
It's not finding the lib files, something wrong with the -L options?

Revision 381 - Directory Listing
Modified Sun Mar 19 23:01:39 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing 'auto package registration' with 'libstemname_register'.
Fixed bug #247.

Revision 380 - Directory Listing
Modified Sat Mar 18 07:29:48 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 379 - Directory Listing
Modified Wed Mar 15 12:48:03 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Ensuring that plugins contain no undefined symbols (for the sake of Windows).
Rearranging and commending error.c slightly.
Removing some debug output in solverreporter.

Revision 378 - Directory Listing
Modified Wed Mar 15 11:32:33 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing makefile <TAB>

Revision 377 - Directory Listing
Modified Wed Mar 15 11:27:22 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
By default, no xterm console colour codes are used now.
More output in extfn test python script.
pygtk/interface/Makefile cleans up gcov files when 'make clean'.

Revision 374 - Directory Listing
Modified Tue Mar 14 08:41:17 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing script

Revision 373 - Directory Listing
Modified Tue Mar 14 08:39:37 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Tidied up formatting in measures.a4l
Added GPL notice to cavity.a4c
Fixed up reconfig to turn OFF gcov testing by default.
Removed some debug output from typedef.c and instantiate.c and arrayinst.c.
Commenting changes in extinst.h.
Working on getting the buildbot working :-)

Revision 372 - Directory Listing
Modified Tue Mar 14 05:36:32 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Set ./configure to use 'support files' like install-sh from the main base/autotools/config dir

Revision 366 - Directory Listing
Modified Thu Mar 9 06:26:51 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some fixes for GTK+

Revision 365 - Directory Listing
Modified Thu Mar 9 06:20:17 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding a windows/gtk adaptable filechooser.

Revision 361 - Directory Listing
Modified Wed Mar 8 03:47:59 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug 234.
Added 'loading...' to console output when PyGTK GUI is starting up.

Revision 359 - Directory Listing
Modified Tue Mar 7 03:17:43 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing for linux

Revision 358 - Directory Listing
Modified Mon Mar 6 06:53:59 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Syntax definition file for TextPad

Revision 357 - Directory Listing
Modified Mon Mar 6 06:30:21 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added work for creating a windows installer

Revision 356 - Directory Listing
Modified Mon Mar 6 03:43:04 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing bug 231.

Revision 355 - Directory Listing
Modified Mon Mar 6 03:11:28 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
In PyGTK 'modules' list, you can now see non-parameterised types in bold.

Revision 351 - Directory Listing
Modified Fri Mar 3 04:45:19 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added windows-friendly application icon
Moved all references to GLADE_FILE to the new config.py arrangement.
First commit after the repository was broken...

Revision 350 - Directory Listing
Modified Fri Mar 3 04:27:16 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
This file was what had broken the repository. SO I'll remove it.

Revision 349 - Directory Listing
Modified Fri Mar 3 01:00:17 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removed file/folder

Revision 348 - Directory Listing
Modified Thu Mar 2 01:53:21 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface


Revision 347 - Directory Listing
Modified Thu Mar 2 00:28:11 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding missing files for ./configure build of PyGTK GUI

Revision 345 - Directory Listing
Modified Wed Mar 1 11:09:00 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Hopefully permit debugging from within MSYS as well...?

Revision 342 - Directory Listing
Modified Wed Mar 1 06:11:03 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on getting PyGTK plotting to work under windows

Revision 341 - Directory Listing
Modified Wed Mar 1 05:25:23 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 340 - Directory Listing
Modified Wed Mar 1 03:41:35 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed SWIG error
Fixed selftest.py to work with new SolverReporter

Revision 339 - Directory Listing
Modified Wed Mar 1 03:36:38 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed build problems on Linux (still some remain
in the 'reconfig' and 'configure.in' files for
Tcl/Tk build)

Revision 338 - Directory Listing
Modified Wed Mar 1 03:11:27 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added GLADE_FILE location to configpy.in.
Added warning about the SWIG error under MinGW to gtkbrowser.py.

Revision 337 - Directory Listing
Modified Wed Mar 1 00:51:23 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Something is starting to run on MinGW now. GUI loads and ascend DLL is opened.
This revision still breaks the linux and Tcl/Tk builds, I expect.
Also added some smarts to the 'help...contents' menu for loading offline/online help files.

Revision 336 - Directory Listing
Modified Tue Feb 28 11:39:08 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing SWIG modifications

Revision 332 - Directory Listing
Modified Tue Feb 28 04:39:00 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
These changes fix compilation 'make libs' on MinGW.

I have changed the configure.in to allow '--without-tcl'
however this will likely break linux compiles. I'll commit this
on windows, then try to check out and fix on a linux machine.

Revision 329 - Directory Listing
Modified Fri Feb 24 06:16:31 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug 229

Revision 328 - Directory Listing
Modified Fri Feb 24 06:05:10 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to output variables at bounds (currently just to the console).
Changed solver parameters window into a proper 'dialog'.
Various fixes to make dialogs focus and position correctly.

Revision 325 - Directory Listing
Modified Fri Feb 24 01:05:43 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing up initial values in SolverReporter
Fixing 'block time'

Revision 323 - Directory Listing
Modified Fri Feb 24 00:01:15 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of amount of time spent updating GUI
Added SolverReporter.update_interval to preferences

Revision 322 - Directory Listing
Modified Thu Feb 23 14:28:36 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Cleaning up: In PopupSolverReporter, change 'Variables' to 'n of N' instead of just 'N'

Revision 321 - Directory Listing
Modified Thu Feb 23 14:14:36 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added 'close on non-converged' preference
Unified message output for popup/non-popup status reporting

Revision 319 - Directory Listing
Modified Thu Feb 23 12:30:40 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed a bug with the diagnose window after a successful solve
Added preference: SolverReporter:close_on_converged

Revision 318 - Directory Listing
Modified Thu Feb 23 10:29:29 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on solver interrupt using 'stop' button

Revision 317 - Directory Listing
Modified Thu Feb 23 10:21:17 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added GUI SolverReporter... you can now watch the residuals shrink, etc.

Revision 316 - Directory Listing
Modified Thu Feb 23 07:49:27 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug #233

Revision 315 - Directory Listing
Modified Thu Feb 23 07:40:47 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Expanded the python solver reporter a little
Added detection of newer SWIG versions that can optimise (-O)

Revision 314 - Directory Listing
Modified Thu Feb 23 06:00:42 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Finally fixed the SolverReporter problems. Thanks Marcelo!

Revision 313 - Directory Listing
Modified Thu Feb 23 05:46:05 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Further changes as suggested by Marcelo.

Revision 312 - Directory Listing
Modified Thu Feb 23 05:26:57 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing to SolverStatus* in report(...)

Revision 311 - Directory Listing
Modified Thu Feb 23 04:54:13 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
More work on SolveReporter following help from Marcelo Matus on SWIG mailing list.

Revision 310 - Directory Listing
Modified Thu Feb 23 03:48:56 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed the SolveReporter functionality so that it works from Python

Revision 309 - Directory Listing
Modified Thu Feb 23 01:16:08 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
See http://www.swig.org/Doc1.3/Typemaps.html

Revision 308 - Directory Listing
Modified Thu Feb 23 00:58:12 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on adding the SolverReporter class that will allow
different GUI output for the solver, depending on the context.
For example, solving from the 'Diagnose' window will give
different user feedback to solving from the main window.

Revision 307 - Directory Listing
Modified Wed Feb 22 07:48:17 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added wrapping of slv_status_t (SolverStatus) for bug #138.
Improved 'About...' box.

Revision 300 - Directory Listing
Modified Fri Feb 17 08:04:04 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Moving stuff around for GLADE

Revision 299 - Directory Listing
Modified Fri Feb 17 07:09:09 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding ctrl-F and ctrl-R for fix/free

Revision 298 - Directory Listing
Modified Fri Feb 17 07:07:36 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ascend icon

Revision 297 - Directory Listing
Modified Fri Feb 17 01:51:19 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug #227

Revision 295 - Directory Listing
Modified Thu Feb 16 08:10:24 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to output structural singularity analysis.

Revision 294 - Directory Listing
Modified Thu Feb 16 02:53:56 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed collapse/expand in 'diagnose' window, and added their values to preferences

Revision 291 - Directory Listing
Modified Fri Feb 10 03:32:21 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Tiny bug

Revision 290 - Directory Listing
Modified Fri Feb 10 03:30:05 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixable vars added to interface (outputs to console)
Added 'next big' and 'prev big' to move between 'big blocks' in the diagnose window.

Revision 287 - Directory Listing
Modified Thu Feb 9 23:56:11 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
More on diagnose window.

Revision 286 - Directory Listing
Modified Thu Feb 9 07:36:39 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added cursor to report mouse-over variable and residual

Revision 285 - Directory Listing
Modified Thu Feb 9 04:21:30 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Colours fixed, zooming works, active block focussed by default.

Revision 284 - Directory Listing
Modified Thu Feb 9 03:02:44 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved display of blocks with zoom facility added

Revision 283 - Directory Listing
Modified Wed Feb 8 15:30:50 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
This is the initial working 'block diagnose' functionality.

Revision 282 - Directory Listing
Modified Wed Feb 8 13:51:04 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
This version uses direct creation of the block incidence matrix image data
using the gtk.gdk.pixbuf_new_from_data function.

Revision 281 - Directory Listing
Modified Wed Feb 8 11:18:19 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding icons

Revision 280 - Directory Listing
Modified Wed Feb 8 08:31:56 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some work on adding the 'block diagnosis' window

Revision 279 - Directory Listing
Modified Tue Feb 7 07:23:44 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Add optional use of PSYCO, see http://psyco.sourceforge.net/

Revision 278 - Directory Listing
Modified Mon Feb 6 23:52:30 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removed reference to libf2c (I think this was required only on FC3)
Updated use of SWIG 'typemap' syntax in ascend.i
Corrected C++ code for FC5 (art's error msg)
Fixed minor but with uninstantiated models in PyGTK GUI

Revision 277 - Directory Listing
Modified Mon Feb 6 09:23:10 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug #216

Revision 276 - Directory Listing
Modified Mon Feb 6 00:07:58 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changes to the condenser model
Working on a 'diagnose' window, maybe

Revision 275 - Directory Listing
Modified Sun Feb 5 13:33:25 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of divergent relation names.
Found more convergent form of LMTD heat-exchanger equation

Revision 274 - Directory Listing
Modified Sun Feb 5 08:03:06 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed minor bug

Revision 273 - Directory Listing
Modified Sun Feb 5 06:44:06 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of relations and residuals via GUI

Revision 271 - Directory Listing
Modified Sat Feb 4 09:08:54 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on adding support for listing cliques

Revision 270 - Directory Listing
Modified Sat Feb 4 08:00:21 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
More on the usability of the solver_var props window

Revision 269 - Directory Listing
Modified Sat Feb 4 07:15:30 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added usability keybindings on properties input fields: escape, enter

Revision 268 - Directory Listing
Modified Sat Feb 4 06:09:57 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding ability to edit upper/lower bounds and nominal values

Revision 264 - Directory Listing
Modified Fri Feb 3 04:26:04 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Deactivated bintokens. Need to implement a GUI on/off switch for this

Revision 260 - Directory Listing
Modified Thu Feb 2 15:31:29 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved behaviour of incidence matrix when you mouseover points outside the matrix
Stopped emitting exception for Block out of range (why does it happen?)

Revision 258 - Directory Listing
Modified Thu Feb 2 14:50:05 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Made it so that fixed variables never get an icon.

Revision 255 - Directory Listing
Modified Thu Feb 2 14:02:23 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding preliminary support for showing variable solve-status in browser view

Revision 254 - Directory Listing
Modified Thu Feb 2 06:27:17 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of unconverged variables to the console

Revision 253 - Directory Listing
Modified Thu Feb 2 00:24:38 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding reorderable and movable columns in Observer.
Removing some debug output from console

Revision 252 - Directory Listing
Modified Wed Feb 1 06:29:46 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Implemented editable 'active' row in observer
Move focus of to active row when new row added and observer tab already focussed

Revision 251 - Directory Listing
Modified Wed Feb 1 04:33:46 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed observer copy crash, bug #214.

Revision 250 - Directory Listing
Modified Wed Feb 1 04:01:10 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
You can now copy the observer matrix to the clipboard and paste into another document.

Revision 249 - Directory Listing
Modified Wed Feb 1 03:22:11 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working (read-only) observer thing. Observer instances are updated in the table
and if you click 'add' on the observer tab, the current values are kept and a new
row is added.

Revision 248 - Directory Listing
Modified Wed Feb 1 03:20:29 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding new icons

Revision 247 - Directory Listing
Modified Wed Feb 1 00:46:12 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added missing file

Revision 246 - Directory Listing
Modified Tue Jan 31 16:24:27 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some more work on the 'Observer' feature

Revision 245 - Directory Listing
Modified Tue Jan 31 07:49:58 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on adding Observer functionality

Revision 242 - Directory Listing
Modified Mon Jan 30 15:02:26 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Minor usability improvements - keybindings

Revision 241 - Directory Listing
Modified Mon Jan 30 09:36:11 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding a couple of icons

Revision 240 - Directory Listing
Modified Mon Jan 30 09:35:34 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Can now view block numbers via console while mouse-ing over incidence matrix

Revision 238 - Directory Listing
Modified Mon Jan 30 06:41:10 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of relation name to console onmouseover of incidence matrix

Revision 237 - Directory Listing
Modified Mon Jan 30 06:10:26 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Incidence matrix now reports the mouseover-ed variable on the console

Revision 235 - Directory Listing
Modified Mon Jan 30 01:48:01 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed some problems with the split-off solverparameters.py file

Revision 234 - Directory Listing
Modified Sun Jan 29 17:15:47 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Plotting of incidence matrix: still need to check that orientation is correct though.

Revision 233 - Directory Listing
Modified Sun Jan 29 16:55:27 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Something resembling an incidence matrix returned via SWIG...

Revision 231 - Directory Listing
Modified Sun Jan 29 14:15:44 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Moved some incidence matrix routines to generic/solver from tcltk98.
Documentation changes.
Added (inactive) incidence matrix menu item to PyGTK interface
Fixed autotools make for above changed (need to fix for Jam as well)

Revision 230 - Directory Listing
Modified Sun Jan 29 07:16:06 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Solverparameters GUI code split into separate file.
Help launcher started, will need more work.
Corrected wrong cpu_elapsed values in GUI by direct use of tm_cpu_time()
Added 'about' box.
Fixed 'auto' menu option.

Revision 228 - Directory Listing
Modified Sat Jan 28 05:22:38 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed up bounds checking for solver parameter window

Revision 227 - Directory Listing
Modified Sat Jan 28 04:44:15 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added grouping of solver parameters into pages

Revision 226 - Directory Listing
Modified Sat Jan 28 02:12:19 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Can now edit string values via drop-down menu, just like with Tcl/Tk interface.
Boolean values changed with a doubleclick.

Revision 225 - Directory Listing
Modified Fri Jan 27 14:55:43 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added const-ness to 2nd parameter of slv_set_char_parameter.
Implemented setting of int, real and string parameters via PyGTK interface.

Revision 223 - Directory Listing
Modified Fri Jan 27 08:18:43 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some progress on editable solver parameters

Revision 221 - Directory Listing
Modified Fri Jan 27 03:05:38 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to examine solver parameters via python

Revision 215 - Directory Listing
Modified Wed Jan 25 02:08:29 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved display of relations by adding getRelationAsString(relative_to)

Revision 213 - Directory Listing
Modified Tue Jan 24 23:25:56 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed some missed 'ExtFn'->'ExtMethod' changes

Revision 212 - Directory Listing
Modified Tue Jan 24 13:20:47 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing nomenclature from ExtFn to ExtMethod

Revision 211 - Directory Listing
Modified Tue Jan 24 13:20:20 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding FIX and ASSERT keywords to gedit syntax definition

Revision 210 - Directory Listing
Modified Tue Jan 24 13:18:15 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing nomenclature to 'external method' and 'ExtMethod'

Revision 208 - Directory Listing
Modified Tue Jan 24 03:19:37 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added menu bar at top of PyGTK interface.
'Preferences' menu currently just outputs the number of
solver parameters in use. Plan is to allow the parameters
to be viewed and edited via the GUI.

Revision 207 - Directory Listing
Modified Mon Jan 23 06:47:06 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to output expressions from PyGTK interface. Expressions are
output to the console using WriteRelationString. You must right-click on
a relation an hit 'properties'.

Revision 196 - Directory Listing
Modified Tue Jan 17 15:58:23 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved status reporting for solvers. When a solver is going slowly, you'll get a fair bit of output. If it's going fast there shouldn't be much input at all. Todo: use some kind of callback technique to get this information back to the GUI.

Revision 195 - Directory Listing
Modified Tue Jan 17 05:49:40 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Commenting
Adding coloured output on CONSOLE_DEBUG
Adding test testextfn for monolithic tests of external function calls.

Revision 193 - Directory Listing
Modified Tue Jan 17 02:28:18 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing up some cygwin stuff that crept in to the linux build...

Revision 191 - Directory Listing
Modified Mon Jan 16 09:03:29 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Minor fixes to PyGTK build after error_reporter modifications of last revision.

Revision 190 - Directory Listing
Modified Mon Jan 16 08:53:30 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

Revision 189 - Directory Listing
Modified Mon Jan 16 07:48:18 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing default name for Jam-built libraries
Annotating out-of-date NOTES.configure
Removing apparently-broken ability to use Jam build in PyGTK GUI

Revision 185 - Directory Listing
Modified Fri Jan 13 03:35:54 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing missing 'clear' commands to allow new models to be loaded/reloaded

Revision 182 - Directory Listing
Modified Thu Jan 12 06:05:35 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed problem with figure closing causing ASCEND to exit

Revision 181 - Directory Listing
Modified Thu Jan 12 05:43:41 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed up the right-click context menu a bit

Revision 180 - Directory Listing
Modified Thu Jan 12 03:20:58 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding a little documentation

Revision 177 - Directory Listing
Modified Tue Jan 10 06:57:34 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removing some debug output, attempting to stop closing the figure from closing ASCEND

Revision 176 - Directory Listing
Modified Tue Jan 10 06:22:23 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Completed PyGTK plotting using matplotlib

Revision 175 - Directory Listing
Modified Tue Jan 10 04:27:34 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
More work on adding plotting capability under PyGTK

Revision 173 - Directory Listing
Modified Sat Jan 7 11:20:32 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
PyGTK interface now remembers size of errors/warnings pane as well.

Revision 172 - Directory Listing
Modified Sat Jan 7 10:06:13 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Storing of window size and position in .ascend.ini
Starting to implement plotting functions.

Revision 171 - Directory Listing
Modified Fri Jan 6 09:00:52 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Correct do_check

Revision 168 - Directory Listing
Modified Fri Jan 6 01:08:58 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
PyGTK GUI: Added wait cursor during solve, changed method select box so that you can't type into it.

Revision 164 - Directory Listing
Modified Tue Jan 3 09:54:43 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added wait-cursor during compile/build, started working
on correct destruction of Simulation objects.

Revision 161 - Directory Listing
Modified Mon Jan 2 09:58:03 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding missing call to Library::clear()

Revision 160 - Directory Listing
Modified Mon Jan 2 09:57:02 2006 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Minor usability changes:
	default_self method highlighted by default
	model instance hierarchy top-level expanded on creation

Revision 154 - Directory Listing
Modified Thu Dec 22 15:18:02 2005 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removing debug output, adding self_test to iapws95.

Revision 153 - Directory Listing
Modified Thu Dec 22 13:53:42 2005 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing bug #178.

Revision 151 - Directory Listing
Modified Thu Dec 22 10:58:33 2005 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on a test case for bug #178

Revision 150 - Directory Listing
Modified Thu Dec 22 09:24:56 2005 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Committed changes to C++ solver class to accommodate new slv_lookup_client.
Still seeing bug #178 though.

Revision 143 - Directory Listing
Modified Thu Dec 22 03:41:47 2005 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing for ability to use both autotools and jam libraries

Revision 138 - Directory Listing
Modified Wed Dec 21 07:32:17 2005 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing to set flags correctly for SWIG on MINGW.

Revision 132 - Directory Listing
Added Wed Dec 21 00:14:13 2005 UTC (18 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding the PyGTK interface to CMU repository. Whaddyareckon?

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