Commit Graph

331 Commits

Author SHA1 Message Date
Jean-Paul Chaput d9eb8a1b6a * ./hurricane/src/isobar:
- Bug: In PyHurricane, PyTypeViaLayer was *not* reference incremented, causing
        the type to be desallocated when the Python interpreter was finalizing.
        This was causing <isis> to fail.
2012-12-14 14:34:30 +00:00
Jean-Paul Chaput 91a30ce8af Typo in getAbutmentBox(), now display the right function
name in errors...
2012-12-04 12:29:45 +00:00
Jean-Paul Chaput 1334caad6d * All Tools:
- New: Added FreeBSD/Ubuntu patches from Otacilio De Araujo
       (<otaciliodearaujo@gmail.com>).

  * ./hurricane:
    - Change: In CellViewer, one unificated method to lauch Python
        scripts whatever they are Stratus or not.
    - Change: In ScriptWidget, the function lauched is now
        "ScriptMain()".
    - New: In PyCellViewer, add the refresh method.
2012-12-03 08:26:28 +00:00
Jean-Paul Chaput 47f3771f1d * All Tools:
- A complete sweep of cleanup to suppress allmost all compiler warnings.

  * ./hurricane/doc/hurricane:
    - New: Documentation cleanup and update, particularly on the new Layer
        derived classes.

  * ./hurricane/src/hurricane,
    ./hurricane/src/isobar,
    ./hurricane/src/viewer:
    - New: Creation of new methods, more explicit on DbU. Based on a to/from
        naming scheme.
    - New: Python support extented to include all objects needed to configure
        through python scripts.
    - Change: Finally understood what's causing the _XOPEN_SOURCE redefinition.
        Basically the Python.h must be included first before any other
        include. The type-puned problem will remains still (that is a Python
        problem, not our own).
    - Change: In DisplayStyle, uses shared_ptr for DrawingStyle instead of
        custom made reference count.
2012-11-16 12:48:38 +00:00
Jean-Paul Chaput eb4f1b91a8 * ./hurricane/src/hurricane:
- Change: Activate inspector support for Pin, Pin::AccessDirection
        & Pin::AccessStatus.
2012-01-02 21:19:31 +00:00
Damien Dupuis b62e6fb0c1 Bug correction : in PyBox.inflate method : third and fourth arguments were not initialized by Parse_Tuple leadding to a segmentation fault when using inflate with 4 arguments in python. 2011-05-30 11:22:02 +00:00
Jean-Paul Chaput bb50b1e302 * ./hurricane/src/viewer:
- Change: In CellWidget, small cosmetics.
2011-04-12 20:36:30 +00:00
Damien Dupuis 2df0dd439b Missing linking libs 2011-03-10 11:27:21 +00:00
Damien Dupuis 4c2f16a4fe Missing factor in physicalToDbu conversion. 2011-02-24 13:11:11 +00:00
Jean-Paul Chaput 562cca23c7 Added DbU::physicalToGrid method. 2011-02-24 10:00:46 +00:00
Damien Dupuis feecdab3e1 missing header 2011-02-15 11:54:48 +00:00
Jean-Paul Chaput 0ea96eaa3d Add library version to isobar. 2011-02-04 11:09:11 +00:00
Jean-Paul Chaput eb86ef8bc9 * <All Tools>/CMakeLists.txt:
- Change: Added versioning to library.
2011-02-02 22:25:07 +00:00
Jean-Paul Chaput 67af923d4f * <All Tools>/CMakeLists.txt:
- Bug: During the packaging stage, DESTDIR must be appended to the
        pathes prepended to CMAKE_MODULE_PATH.
2011-02-02 12:23:43 +00:00
Jean-Paul Chaput b8e42d2efc * ./hurricane/src/viewer:
- New: In ExceptionWidget, mimic more closely the behavior of a QDialog.
        Uses QTextEdit/QTextDocument for the trace. Static "all in one" methods,
        build from various exceptions/Errors & QString. Automatic window centering
        when the trace is displayed.
2011-01-10 23:58:31 +00:00
Jean-Paul Chaput 214bb4dda4 Add the ability to get a command by it's name. 2011-01-09 18:19:21 +00:00
Jean-Paul Chaput f7721dd754 * ./hurricane/src/hurricane:
- Change: In RoutingPad, uses my C++ style. Normalize constructors calls.
        Allow to select (trough flags) the way the "best component" is choosen.
        Currently: Biggest Area or Lowest Layer or Highest Layer.

  * ./hurricane/src/viewer:
    - New: In DisplayStyle, darkening is now expressed as a ratio over the HSV
        components of a color. Introduce a new DisplayStyle::HSVr type.
        Allow a more readable darkening effect. All object modicated accordingly.
    - Change: In NetlistWidget, the "Net" section now correctly dimension itself
        on the widest net name. Must suppress all the size Hints in the header
        & data models.
2010-12-30 18:38:43 +00:00
Jean-Paul Chaput daab8a8b8f * ./hurricane/src/viewer:
- In CellViewer, adds a shortcut for launching Stratus scipts: SHIFT+P,S
        and one for pure Python scripts: SHIFT+P,P.
    - In ExceptionWidget, put the trace inside a QScrollArea so all the call
        stack can be viewed regardless of the window's size. It seems that
        QFontMetrics has problems to compute the right text size when using
        a Qt::RichText enabled widget. Adds some "manual" corrections, hope
        they will be sufficiently portables.
2010-12-15 15:10:58 +00:00
Damien Dupuis 011be5487b regex correction for Mac osX 2010-12-09 14:38:41 +00:00
Damien Dupuis e43c102f45 Missing include dirs
Boost_LIBRARIES misplaced : not in add_library but target_link_libraries
2010-12-07 11:53:36 +00:00
Jean-Paul Chaput 828b1d6b6f * ./hurricane/src/hurricane:
- New: Torus object. To allow a simpler management of a chip's corona,
         the toric area between the pads and the core.
    - Change: In HyperNet/LeafPlugOccurrences, change the instance stop criterions
        from "isLeaf()", which means "contains no instances" to "isTerminal()"
        which can be programmatically changed. This has to be done for the Pads
        which are non-leaf due to "padreal" but still must be considered for their
        connectors.
          This modification is coupled with one in the Ap parser.
    - Change: In Backtrace, enable support for Apple backtrace. This is a blind
        test as I can't check by myself.

  * ./hurricane/src/viewer:
    - Change: In CellWidget/SelectionModel/SelectionWidget, rewrite the Gos selec-
        tion mechanism. Now ExtensionGo could be selecteds as they ought to be.
        Also adopt a more standard way of how objetcs are selecteds.
          Prefer "dataChanged()" signal over "reset()" or "layoutChanged()" as
        it keeps the selection instead of resetting it.
          Unselecteds entry in the window (toggled with 't') are now shown in
        red for better readability.
2010-12-04 15:22:54 +00:00
Damien Dupuis cefe8dc6a7 Adding translate method to PyHorizontal
Bug correction in METHOD_HEAD definition of PyHorizontal
2010-11-16 15:24:19 +00:00
Jean-Paul Chaput 8be83b1ae0 * ./hurricane/src/hurricane:
- New: Backtrace to print the stack when an exception is thrown.
    - New: In Error, support for Backtrack.
    - Change: In TextTranslator, provides a default HTML translator instead of
        building it every time it was needed.
    - Bug: In Common, when demangling a C++ symbol fails, returns the empty
        string instead of NULL.

  * ./hurricane/src/viewer:
    - New: In Exception, support for the Backtrack new feature.

  * ./hurricane/src/isobar:
    - Change: In PyHurricane, when catching a C++ exception, adds a newline to
        have a more clean display.
2010-11-16 13:43:34 +00:00
Jean-Paul Chaput b90b40f656 * ./hurricane/src/hurricane:
- New: In Query, adds an accessor to get the current path.
    - Bug: In NetExternalComponents, every component of an external net was
        considered as an external one. Now only truly external components
        are considered.

  *  ./hurricane/src/isobar:
     - New: StratusScript, dedicated Stratus script laucher.
     - Bug: In CellWidget, when drawing selecteds Gos, the loop variable was
         not reset between loops resulting in incomplete display.

  * ./hurricane/src/isobar:
    - New: In PyHorizontal & PyVertical, adds mutator methods.
2010-11-02 16:05:29 +00:00
Damien Dupuis 3d2d3e545d Default type for a new net is now Net::Type::LOGICAL (and not UNDEFINED) 2010-10-01 13:29:35 +00:00
Jean-Paul Chaput a2d5823fce * ./hurricane/src/viewer:
- Change: In Controller, adjust to the configuration changes.
2010-09-15 21:28:03 +00:00
Jean-Paul Chaput c2f3a393f1 * ./hurricane/src/viewer:
- New: Specific support for Stratus scripts. In a perfect world, this
        should be added in the stratus tool, but it would be much more
        complicated.
2010-08-26 22:01:12 +00:00
Jean-Paul Chaput 6e91d50324 * ./hurricane/src/viewer:
- Change: In CellViewer, attempt to put the menus entries in a more
        classic (intuitive?) order.
2010-08-26 15:01:39 +00:00
Jean-Paul Chaput 8a0852c730 * ./hurricane/src/viewer:
- New: In CellViewer, new menu entries for Import/Export cell, build on the
        model of open/save.
2010-08-22 12:35:29 +00:00
Jean-Paul Chaput 81cd63baf0 * ./hurricane/src/hurricane:
- Bug: In Mask, the "!=" operator was erroneously implemented like the
        "==" operator. Making "!=" behave like "==", what a mess.
    - Bug: In BasicLayer, in constructor the _blockageLayer and _connectorLayer
        where *not* initialised, leading to erratic behavior when checked
        against NULL.
2010-08-18 20:22:47 +00:00
Jean-Paul Chaput 3774c09bab * All Main Python Modules:
- Change: New problem identified with the Python modules: each module seems
        to be built as a complete binary, so all the static C++ initializers are
        allocated in each module. In particular the C++ tree inheritance is built
        for *each* module so we cannot longer uses the typeid() comparisons
        across modules... It was used by boost::program_options to perform is
        casts with boost::any and was starting throwing exceptions because of
        bad casts. program_option was first initialized in "configuration"
        first included by PyViewer then in PyCRL (see Utilities.cpp).
          A first solution is to re-order the import of Python modules in
        stratus1/st_model so that CRL is imported first.
          The second is to not not link "configuration" with boost::program_option
        as only the binary vlsisapd-conf-editor needs it.
          That is a serious problem of which we must be aware and can cause further
        strange behaviors.
          Debug code used to diagnostic has been kept commented in the sources a
        it may be needed again :-(
          This behavior do not affect our singletons because they are part of
        dynamic libraries that seems to be correctly shared between the various
        Python modules.
2010-07-17 10:22:00 +00:00
The Coriolis Project 9f6e840036 Misplaced include (something about slot defined by QT and python : python must be included first) 2010-07-15 12:11:16 +00:00
Damien Dupuis b2e2eafadb Minor changes for compatibility with Mac osx 10.6
- moving Script from isobar to viewer
    - adding missing target_link_libraries
    - adding boost::filesystem component dependency
2010-07-15 11:13:24 +00:00
Jean-Paul Chaput 21e0040b3b Forgotten. 2010-07-14 20:07:38 +00:00
Jean-Paul Chaput 7231703f4f * All Tools:
- Change: Switch from "goodies" to "bootstrap".
2010-07-14 19:39:36 +00:00
Jean-Paul Chaput 62b8477fee * All tools:
- Bug: target_link_libraries() must be put back for OSX Snow Leopard
        (doesn't seems to affect Leopard). As I do not have an OSX under
        my hand it's untested and is likely to fail at that point.

  * ./hurricane:
    - Bug: In Instance, correct support for Instance::PlacementStatus::Code.
    - New: NetExternalComponents python object wrapper, moves
        getExternalComponents() from Hurricane module into that new object.
    - New: Breakpoint python object wrapper, to allow stratus1 to stop each
        times it calls the viewer.
    - Change: In PyHurricane, UpdateSession is now a true object with static
        methods.
    - Change: In BreakpointWidget uses a local event loop mechanism that no
        longer consumes 100% of a CPU while doing nothing... (copied from
        Qt's sources of QDialog).
2010-07-12 15:07:58 +00:00
Jean-Paul Chaput 90527e4533 Forgotten TextTranslator sources. 2010-07-06 10:10:50 +00:00
Jean-Paul Chaput fbd9aba2f5 * All tools:
- Library linking: there must not be "target_link_library()" for libraries,
        only when building binaries. Avoid clashes between static module
        or class variables, and strange reinitialisation of those variables.
    - Change: Boost is now always linked staticly.
  * ./hurricane/src/hurricane:
    - New: TextTranslator to allow translation to and from text & HTML.
    - Change: In Exception, make uses of TextTranslator to correctly display
        exception text when in graphic mode.
  * ./hurricane/src/isobar:
    - New: Script, small object to wrap around Python scripts.
2010-07-01 11:46:29 +00:00
Jean-Paul Chaput adaae1af9b * ./hurricane/src/hurricane:
- Bug: In Instance::_postCreate, do not disable Go auto materialization if
        the instance is placed.
2010-06-25 08:37:07 +00:00
Jean-Paul Chaput 85b246eb16 * ./hurricane/src/viewer:
- Change: In DisplayStyle, new attribute "goMatched" to tell if the style
        is associated to a given Go and therefore should be displayed in the
        Layer table.
2010-06-22 20:37:28 +00:00
Jean-Paul Chaput 72418edb16 * ./hurricane/src/viewer:
- Change: The tab settings of the controller now refers to the XML
        configuration widget.
2010-06-18 14:01:08 +00:00
Jean-Paul Chaput c293c57fb8 * ./hurricane:
- Change: In Instance & Cell, do *not* materialize unplaced instances.
        This is to avoid overloading the QuadTree at point (0,0) and besides
        has no senses. Uses the PlacementStatus state.
    - Bug: In Viewer CMakeLists.txt, put tool include directories first.
2010-06-08 12:02:03 +00:00
Jean-Paul Chaput 1407845847 Install python modules at the right places. 2010-05-22 22:15:47 +00:00
Jean-Paul Chaput 4db3b0b3de * All tools:
- Change: adopt a tree layout compliant with the UNIX FHS.
        * includes under      TOP/include/coriolis2.
        * shared datas under  TOP/shared/coriolis2.
        * docs under          TOP/share/doc/coriolis2.
        * configuration under TOP/etc/coriolis2

  * ./crlcore:
    - Change: In Environment, comply to the new tree layout, search configuration
        files under TOP/etc/coriolis2/.

  * ./knik:
    - Change: In flute, comply to the new tree layout, get the "POW*.dat" files
        from TOP/share/coriolis2/flute-2.4.
2010-05-18 12:53:00 +00:00
Jean-Paul Chaput 9b54c926fe Adds LIB_SUFFIX to all CMakeLists install "lib" targets, so that 64 bits
libraries gets installed in "lib64" instead of "lib".

buildCoriolis.py sets automatically LIB_SUFFIX for cmake.
coriolis2.spec modificated to uses lib64 on 64 bits.
2010-05-17 21:19:07 +00:00
Jean-Paul Chaput bca3815efe Correct argument of dbuModeChanged and changeDbuMode consistently (to unigned int) 2010-05-17 16:37:14 +00:00
Jean-Paul Chaput b8883968be * All tools:
- Change: Correction to suppress all g++ warnings. Except thoses comming
        from bad Python system includes...
2010-05-17 14:40:36 +00:00
Jean-Paul Chaput 8a32b65a39 One more slash to remove on install command. 2010-05-16 17:36:05 +00:00
Jean-Paul Chaput f8d79dc53e * All tools:
- Change: In the CMakeLists.txt, in all the install commands remove all
        the leading "/" as they prevents the CMAKE_INSTALL_PREFIX to be took
        into account. It was nevertheless working because buildCoriolis.py was
        using DESTDIR which is prepended anyway.
  * ./goodies:
    - Change: In buildCoriolis.py, no longer uses the DESTDIR but instead
        CMAKE_INSTALL_PREFIX.
2010-05-16 16:33:58 +00:00
Jean-Paul Chaput 74e05d19ff * ./hurricane:
- Cleanup: In Slot.h, comment out print for debug.
    - New: In CellViewer, adds a renameCell() method to "rename" the currently
        loaded Cell "in place". Utility function for SaveCellDialog (see below).
2010-05-14 07:36:42 +00:00
Jean-Paul Chaput d89379bc64 * ./hurricane:
- Bug: In Net.h, force expansion of SlotTemplate<Net*> with the line:
        const SlotTemplate<Net*> dummyNetSlot ( string("dummyNetSlot"), NULL );
          I've no satisfactory explanation, but in the cyclop Inspector the
        Cell's NetMap is correctly created and in the cgt Inspector, Nets
        entries of the NetMap appears as "unsupported", meaning that the
        SlotTemplate<> has not been generated for Net. This correct the
        problem.
2010-05-11 11:02:42 +00:00
Jean-Paul Chaput 92422cb683 * ./hurricane:
- Bug: In CellWidget, correct the slightly off position of Labels references.
    - New: In ControllerWidget, new TabSettings tab to hold the configuration
        settings of the various Coriolis tools. The TabSettings is a tab itself.
2010-04-28 15:40:51 +00:00
Damien Dupuis eed0d1b35a - comment correction in PyPad.cpp
- adding getBoundingBox method in PyReference.cpp
2010-04-27 12:25:56 +00:00
Jean-Paul Chaput 22f2a47f99 * ./hurricane:
- Bug: In CellWidget, correct the slightly off position of Labels references.
2010-04-27 10:54:26 +00:00
Jean-Paul Chaput ddf2fb19bc * ./hurricane:
- Bug: In PaletteWidget, do not derive from QScrollArea. Instead uses it
        as a child widget. This solves the refreshing problem of the Palette.
        As a rule now: never derives from anything other than QWidget.
    - New: GotoWidget, not having this feature finally unverved me enough for
        beeing implemented. You can specify an (x,y) on which the view will
        be centered and an aperture which gives the size of the view smallest
        side. It's a way of specifying the zoom level (as the zoom is not
        meaningful for users). An aperture of "zero" disable that feature,
        that is, zoom remains unchanged. The coordinates are integer which
        are implicitly expressed in the current mode used by the viewer
        (Symbolic, Grid, or Physical in micro-meters).
    - Change: Big rewrite of how the Symbolic/Grid/Physical modes are sets
        to/from the CellWidget. Impacted widgets are CellWidget &
        DisplayFilterWidget.
          Main changes are that there is no more "individual" setter/getter for
        modes (setSymbolic(), setGrid(), setPhysical(DbU::UnitPower)) but one
        with two arguments:
              setDbuMode(int mode,DbU::UnitPower)
          Signals & slots of the widgets also evolves into:
              dbuModeChanged(int mode,DbU::UnitPower)
              changeDbuMode (int mode,DbU::UnitPower)
2010-04-26 13:22:23 +00:00
Jean-Paul Chaput b985e8c96f * ./hurricane:
- New: In Reference, adds a type to differentiate between "Labels" and
        "Position". Labels are strings that we wants to display, and position
        are specific points with a name attached to it.
    - New: In CellWidget, specific display for the two kind of references
        (Label & Display).
2010-04-17 10:13:17 +00:00
Jean-Paul Chaput d1d2a2ea01 * ./hurricane/src/hurricane:
- New: In Query, add support for Markers, although they are Go's, are stored
        in a separate QuadTree directly at Cell level. In a very similar fashion
        to the ExtensionGos. Sometimes should look if thoses mecanism could be
        unified.

  * ./hurricane/src/viewer:
    - New: In CellWidget, add support for displaying References. Uses the Marker
        Query. For now labels are displayed centered on the reference point,
        making that point hard to see. That behavior may be changed later if
        needs to be.
    - Bug: In InspectorWidget, the History::push() wasn't updating the ComboBox
        index. The line was strangely commented out (?).
2010-04-03 13:56:07 +00:00
Ramy Iskander 7e0d158a16 Replacing "unsigned int" by "size_t" for demangle so it can be compiled on mac osx 2010-03-29 09:09:22 +00:00
Jean-Paul Chaput 53ba314063 * ./hurricane/src/viewer:
- Change: In Cyclop, now uses the GtkStyle when not under OSX and Qt is
        newer or equal to Qt 4.5.0.
    - Change: In the various Qt Model Table, do the rowHeigh bug correction.
    - Bug: In InspectorWidget/NetlistModel, when browsing through the records
        tree, the records were generated twice at each slot change. This
        was due to the History ComboBox sending a index change signal then
        the InspectorWidget setting the slot *again*.
          When trying to explore a Slot, but this Slot is empty (like an
        empty vector, for instance) do not gut the RecordModel. Because
        as we find out that the new Slot is empty we go back and restore
        the previous contents. Potentially slow if we comes from a Slot
        with lots of records. Now we dump the contents only if there is
        something to explore.

  * ./hurricane/src/hurricane:
    - Bug: In Record, the slots where stored in a list container, which was
        making indexed accesses very very slow. This slowdown was also
        affecting the destructor of Record (this is the explanation why
        the RecordWidget was slow, even when *leaving* the net IntrusiveSet).
          Now implemented in term of STL vector.
    - Bug: In Slot/Common, still some adjustements to make the Inspection
        mechanism work with all types. Correct the "IntrusiveMap<>" not
        working with the NetMap. Related to templates not using the same
        constness.
    - Change: In Entity/DBo/Cell, Some more adjustements on Slot/Records.
2010-03-26 18:01:41 +00:00
Jean-Paul Chaput d55da89955 * ./hurricane/src/viewer:
- Bug: In NetlistWidget/NetlistModel, suppress the "forceRowHeight()"
        method which was terribly slowing down the table display. Instead
        uses the "setDefaultSectionSize()" of the vertical header to setup
        the row height (much more compact display).
    - Bug: In NetlistModel, strangely, although we have a "data()" and a 
        "headerData()" method, the "data()" is also called for the headers
        potentially erasing any previous setting done with "headerData()".
          This was occuring for the fonts settings. Don't known if it is
        a bug or a feature of Qt...
    - Thoses changes has to be ported to the others widgets some times...
2010-03-23 12:54:50 +00:00
Jean-Paul Chaput 822fd9ae23 Rename documentation of hviewer into viewer. 2010-03-15 14:05:45 +00:00
Jean-Manuel Caba c24c8b18e4 some hviewer dir where still present in CMakelist 2010-03-10 10:41:05 +00:00
Jean-Paul Chaput 905c7b4960 * ./hurricane/src/hurricane:
- SVN MOVE: "hviewer" directory renamed to "viewer".
2010-03-09 15:10:18 +00:00
Jean-Paul Chaput b7adc4db52 Caching QVariant of the column to accelerate the QTreeView. 2010-03-09 14:19:23 +00:00
Jean-Paul Chaput 4449b76213 * ./hurricane/src/hurricane:
- Bug: In DebugSession, bad stacking/unstacking of debug levels (unapaired),
        and wrong value stacked sometimes.

   * All Hurricane/Coriolis tools:
     - Change: Simplify the CMakeLists,
2010-03-08 16:33:57 +00:00
Damien Dupuis 88778da1a2 Added DirectSetBoolAttribute method. I did some tests with it and thought it might be useful. 2010-01-29 08:51:48 +00:00
Jean-Paul Chaput bdad551e30 * ./hurricane/src/hviewer:
- Change: In CellWidget, Ruler again, no more negative ticks.
2010-01-27 12:07:51 +00:00
Jean-Paul Chaput ca270f2396 * ./hurricane/src/hurricane,
./hurricane/src/hviewer:
    - Change: In DbU/CellWidget, some more small adjustments on the ruler.
2010-01-27 10:52:34 +00:00
Jean-Paul Chaput 08333f11fa * ./hurricane/src/hurricane:
- Bug: In DbU, "micro" symbol is "u", not "m".
    - Change: In DbU, uses different precisions on differents units.

  * ./hurricane/src/hviewer:
    - Change: In CellWidget, when drawing a Ruler, display the current Unit
        mode on first & last tick.
2010-01-27 09:43:07 +00:00
Jean-Paul Chaput e6f4c5c508 Increase precision of DbU::getValueString() to 3 decimals for micrometer.
Uses SmartTruncate when displaying rulers.
2010-01-26 16:24:20 +00:00
Jean-Paul Chaput faceb1f169 * ./hurricane/src/hurricane:
- New: In DbU, extend the StringMode/getValueString() to support the physical
        unit in addition of lambda & foundry grid. "setStringMode()" has now a
        second parameter "UnitPower", only used when the mode is DbU::Physical.

  * ./hurricane/src/hviewer:
    - New: In CellWidget, the fitToContents now adds a margin of 5% to get border
        clear of the bounding box.
    - New: In CellWidget, ability to display lengths in nanometers & micrometers
        in complement of symbolic and foundry grid. DisplayFilterWidget modificated
        accordingly. New members:
          void           setPhysicalMode ( DbU::UnitPower );
          bool           physicalMode    () const;
          DbU::UnitPower getUnitPower    () const;
        In addition to:
          bool           gridMode        () const;
          bool           symbolicMode    () const;
          void           setGridMode     ();
          void           setSymbolicMode ();
2010-01-26 12:58:36 +00:00
Jean-Paul Chaput 0c88f99622 Spot now uses the custom grid as it should. Allowing to step
by one foundry step.
2010-01-25 15:52:37 +00:00
Jean-Paul Chaput cea214de5e Test for NULL cell in setCell() ... 2010-01-25 14:41:48 +00:00
Jean-Paul Chaput ae85636e13 * ./hurricane/src/hviewer:
- Change: In CellWidget/Ruler, rulers are now unidirectionals (as in Cadence).
    - New: In CellWidget, support for drawing components names. Includes correction
        of badly computed coordinates in drawDisplayText.
          Components names are drawed only for the top level of hierarchy and only
        if the bounding box is large enought (currently hard-coded to 50x50 pixels).
    - New: In Net, "Automatic" attributes to distinguish automatically generated
        net names without string pattern matching. "Automatic" Net's names are not
        drawn by the CellWidget to much cluttering the display. And testing a boolean
        is way faster than a pattern matching on a hard-coded name.
    - Change: In CellWidget, when loading a terminal Cell, draw it's internals.
2010-01-22 16:38:21 +00:00
Jean-Paul Chaput 51573cfa23 * ./hurricane/src/hurricane :
- In Common.h, disable floatCompare(), floatDifference() & floatRound() as
        they triggers g++ warnings in optimized mode. Replace with roundfp().
2009-12-27 20:12:46 +00:00
Jean-Paul Chaput 089ff09c4f Oups. 2009-12-08 14:30:49 +00:00
Jean-Paul Chaput f9c9467ea7 Adds a mutator for BasicLayer extractNumber (for gdsII support). 2009-12-08 14:28:27 +00:00
Jean-Paul Chaput dcf39378c5 * ./hurricane/src/hviewer :
- Change: In RulerCommand, key & mouse now mimic Cadence behavior.
2009-12-03 11:19:54 +00:00
Damien Dupuis e208fbeb2f CHANGES
Depending on the fact the segment relies on contacts or not the translate method behavior is different (useful pour device layout)
2009-11-26 12:21:02 +00:00
Damien Dupuis dda0af6966 ADDS
translate methods
    UpdateSession methods
    for python layout
2009-11-26 12:18:12 +00:00
Damien Dupuis 0107042e04 ADDS
- setRealSnapGridStep on CellWidget useful to set snapGridStep to DbU::grid(1.0) when I want to debug layout (misalignment)
2009-10-26 12:15:47 +00:00
Damien Dupuis eacc908861 Adding CellWidget::State::getCursorStep(). I needed it to debug, may be useful. 2009-10-21 11:06:28 +00:00
Jean-Paul Chaput a72131367e * ./hurricane/src/hurricane :
- Change: In RulerCommand, allow the ruler to be on the cursor grid, not the
        snap grid (usesul for the real mode where the snap grid is much bigger
        than the cursor grid).
2009-10-21 09:18:12 +00:00
Jean-Paul Chaput e5c4402395 * ./hurricane :
- New: In Occurrence, new method getBoundingBox(const BasicLayer*). Returns
        a different value from getBoundingBox() only if the Entity is a Component.
          Long awaited by the Solstice extractor.
    - Change: In ExtensionSlice, keep track of the created ExtensionSlice by name
        to avoid consuming a new bit each time an ExtensionGo slice is deallocated/
        re-allocated (happens often in Solstice/Equinox).
    - Backtrack: In SelectCommand, do not uses::boost regex as their library have
        not been compiled for 32 bits support under OSX Snow Leopard ?!$#.
    - Bug: In Command.h, include and uses std::string has in some rare case no one
        has done it before.
2009-10-20 10:52:52 +00:00
Jean-Paul Chaput 56b2abb260 - Change: In CellWidget & Command, rewrite of the active command mechanism.
Now a command is associated to one CellWidget exactly, the active flag
        was shared among all CellWidget which was an error (do not show unless
        we start to multithread).
    - New: In SelectCommand/SelectionPopup/SelectionPopupModel now there are three
        selection mode:
          Mode 0: Select all Component under point.
          Mode 1: Select whole nets whose at least one component is under point.
          Mode 2: Same as 1, but hide all cluttering "*nymous*" nets.
          Rotation through the mode is done by pressing repeadedly the 'N' key.
          The various select modes are implemented through "sub" Collections.
2009-10-19 17:17:21 +00:00
Jean-Paul Chaput 7f9c707871 * ./hurricane/src/hurricane :
- Bug: In DbU, do not multiply by _physicalPerGrid in getGrid(), was causing
        all coordinates to appear as zero...
2009-10-15 14:06:06 +00:00
Damien Dupuis 297e58d535 CHANGES
- export MousePositionWidget.h so pharos can use it (displays the (x,y) mouse position in status bar)
    
    ADDS
    - add a getOnPhysicalGrid() in DbU
    - add getPhysical and getOnPhysicalGrid functions in PyDbU and also defines useful CONSTANTS
2009-10-15 13:46:29 +00:00
Jean-Paul Chaput fee6e4c593 * ./hurricane/src/hurricane :
- New: In DbU, create a "onCustomGrid(point,step,round)" method to place
        a point on an arbitrary grid. That different from the real or symbolic
        ones.
    - Bug: In DbU, all the snap function where bugged when passed negatives
        coordinates.
    - New: In DbU, new conversion function, DbU::getPhysical() to translate into
        physical (metric) system.
    - New: In CellWidget, separate the "Snap Grid" (real or symbolic) from the
        cursor position. The cursor position will now be displayed in half-lambda
        (symbolic mode) or founder grid unit (real mode).
          That can be changed trough the CellWidget::setCursorStep(DbU::Unit)
        method.
    - New: In CellViewer/ControllerWidget, the CTRL+I keys toggle the visibility
        of the Controller instead of systematically showing it.
2009-10-14 08:20:08 +00:00
Damien Dupuis 3b9f8cbd7b I did suppress the constructor (new) system christophe build since it seemed bugged.
I rewrited everything like it was in Coriolis-1 (PyType_create) and reuse the precedent hierarchical system (PyTypeInheritedObjectDefinition)
    With all these changes Pharos is able to run the same script several times without any error (and not only 7 times before crash)
    Maybe there are still some bugs but it seems ok for the moment :D.
2009-09-30 15:11:49 +00:00
Damien Dupuis 689b8cd722 In case of multiple addType with same type :
does not throw Error anymore but cerr and return
        this way it is possible to execute python script more than one time

    Adding trace information for DirectDeleteMethod
2009-09-25 13:51:09 +00:00
Jean-Paul Chaput dbe871fe7e * In All top level CMakeList :
- Adds a CMAKE_POLICY CMP0003 has we've upgraded to cmake 2.6.

  * ./hurricane/src/hurricane :
    - Bug: In Interval, the merge method wasn't working if the "other"
        Interval was empty (doing merge) instead of nothing. This was
        a non-symetrical behavior.

  * ./hurricane/src/hviewer :
    - New: In CellViewer, adds an accessor to the ControlerWidget widget.
    - Bug: In CellViewer::imageDisplay(), when using GtkStyle the file
        dialog seems to core dump if the directory is not specified.
        Now systematically starts with the current working directory.
2009-08-11 10:43:55 +00:00
Jean-Paul Chaput cc98bd541d * ./hurricane/src/hurricane :
- Change: In Technology::getViaBetween(Layer*,Layer*) if the two layers
        are identicals, return the layer instead of NULL (mostly for mono-
        metallic VIAs).
  * ./hurricane/src/hviewer :
    - Bug: In CellWidget::redrawSelection(), correct calculation of the
        selected Instances abutment box. We must apply the occurrence path
        transformation to the instance transformation and not the other way
        around.
    - Bug: In SelectorLess(), Instance must be *inferior* to Components as
        they are drawed after in CellWidget::redrawSelection().
2009-07-25 15:10:46 +00:00
Damien Dupuis 54219843d6 - Modified 'copy to image' :
o added bool noScale to hide colorScale (only useful for congestionMap)
        o respect the cellWidget aspect ratio when saving

    - Adding 'Save to image' functino which call a QFileDialog to choose file name

    - Highlight a masterCell's abutmentbox when it's selected (there is a bug in this)
2009-07-24 10:32:14 +00:00
Jean-Paul Chaput 66cbe976c3 * ./hurricane/src/hviewer :
- Change: Small size adjustments on the cartouche.
2009-06-04 18:28:46 +00:00
Jean-Paul Chaput 46ab139ef9 * ./hurricane/src/hviewer :
- New: Adds a nice cartouche on printed snapshots.
2009-05-14 11:39:31 +00:00
Jean-Paul Chaput 0c3c37066d * ./hurricane/src/hurricane :
- New: Utility functions to manage float rounding errors.
2009-05-13 14:58:53 +00:00
Jean-Paul Chaput e0c9f0ba3f * ./hurricane/src/hviewer :
- Bug: In CellWidget, the drawRulers was copying an enlarged redrawArea into
        the Selection Plane causing the selection to deseapear gradually when
        slowly shifting.
2009-05-06 13:11:03 +00:00
Jean-Paul Chaput 609772dcc3 * ./hurricane/src/hviewer :
- New: In PaletteWidget: allow to select the number of rows of the grid
        widget (up to "infinite", meaning one column). Allow to hide entire
        groups in the widget.
2009-04-21 11:41:10 +00:00
Jean-Paul Chaput 4b8f79bc29 * ./hurricane/src/hurricane :
- Putting LGPL headers.
2009-04-17 16:36:02 +00:00
Jean-Paul Chaput ee828cb19f * ./hurricane/src/viewer :
- Change: Consistent encapsulation of "_active" in Command and all it's derived
        classes.
    - New: support for Rulers. Start drawing by pressing Shift+L.Button, finish
        by pressing it again. To cancel a Ruler press Shift+R.Button.
          Drawing style support also added : "text.ruler". Rulers are always
        visibles (display threshold sets to zero), only the numbers of graduations
        displayeds changes (at least 5 pixels between two graduations).
2009-04-15 16:09:18 +00:00