1. 28 Feb, 2015 1 commit
    • jean-pierre charras's avatar
      Eeschema: Fix a (minor but annoying) bug detected by coverity which prevent... · 00f8994e
      jean-pierre charras authored
      Eeschema: Fix a (minor but annoying) bug detected by coverity which prevent Eeschema to draw components in "fast mode" (i;e. without pin texts) when they are moved, due to a draw parameter which was incorrectly used.
      Move items rework: enhancements: for some items (sheets, components, bus entries) the mouse cursor is no more wrapped to the anchor. For large symbols, this is better: they are more easy to place.
      There is also a change when starting a move item command: the full screen is redraw, and therefore there is no artifact due to the XOR draw mode.
      Some other minor coverity fixes (uninitialized members).
      00f8994e
  2. 21 Feb, 2015 1 commit
    • jean-pierre charras's avatar
      Eeschema: Minor code reorganization: · c6f4f159
      jean-pierre charras authored
      * move not shared files (sch_item_struct.*, sch_base_frame.h) to eeschema;
      * move wxEeschemaStruct.h to eeschema and rename it schframe.h to be consistent with the other corresponding file name schframe.cpp;
      * remove few not needed  #include
      c6f4f159
  3. 06 Aug, 2013 1 commit
  4. 05 Aug, 2013 1 commit
    • Dick Hollenbeck's avatar
      BUG FIX: eeschema as segfaulting on the 'Insert' key because the m_itemToRepeat · c0832a03
      Dick Hollenbeck authored
      was simply a pointer to an object on the display list.  At times this object
      would disappear from the display list, in the test case because of a concatonation
      of two wires, and if you then tried to clone the non-existent object you'd get a 
      crash.  This was not merely a bug, but a naive design choice. IMO.
      Now the item to repeat is cloned, so will never also be on the display list.
      c0832a03
  5. 03 Aug, 2013 1 commit
  6. 06 Apr, 2013 1 commit
  7. 04 Apr, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      More work on EDA_COLOR_T and layers. · d12a4592
      Lorenzo Marcantonio authored
      In particular the new mechanism for handling extended color palettes is in place,
      included renaming the ini keys and saving the color name instead of its index; this means better forward compatibility with palette changes.
      
      Since ini keys are changed, colors will be reset
      d12a4592
  8. 31 Mar, 2013 1 commit
  9. 28 Sep, 2012 1 commit
  10. 22 Sep, 2012 1 commit
  11. 02 Sep, 2012 2 commits
  12. 21 Jul, 2012 1 commit
  13. 05 Jul, 2012 1 commit
  14. 20 Jun, 2012 1 commit
  15. 19 Mar, 2012 1 commit
  16. 17 Mar, 2012 1 commit
  17. 16 Mar, 2012 1 commit
  18. 09 Mar, 2012 1 commit
    • jean-pierre charras's avatar
      Dialog exit: better icon. · 909c2a60
      jean-pierre charras authored
      Pcbnew:
       * graphic_item_properties_base.fbp * dialog pad edit: make some strings more easier to translate.
       * global pad edition: fix a bug that change pad position instead of pad size (round pas only).
      Eeschema:
       * fix a bug: new created wires were not alwaes shows until the screen was redrawn.
      909c2a60
  19. 26 Feb, 2012 1 commit
    • Wayne Stambaugh's avatar
      Eeschema object list and other minor improvements. · aaa1cc3e
      Wayne Stambaugh authored
      * Convert Eeschema from manually linked list to DLIST for storing
        SCH_ITEM objects.
      * Add helper functions to SCH_SCREEN for appending list of SCH_ITEM
        objects.
      * Fix bug in wire editing code for accurate undo/redo behavior.
      * Add member to DLIST to append another DLIST.
      * Other minor code cleaning.
      aaa1cc3e
  20. 23 Jan, 2012 1 commit
  21. 29 Dec, 2011 1 commit
  22. 22 Dec, 2011 1 commit
  23. 12 Dec, 2011 1 commit
  24. 08 Dec, 2011 1 commit
  25. 07 Dec, 2011 2 commits
  26. 10 Nov, 2011 1 commit
    • Wayne Stambaugh's avatar
      Memory allocation improvements and other minor fixes. · cc7e7fc5
      Wayne Stambaugh authored
      * Replace C malloc() and free() functions with C++ new and delete
        operators or the appropriate STL container.
      * Add option to end mouse capture function to skip executing the end
        mouse capture callback.
      * Lots of coding policy and Doxygen comment goodness.
      cc7e7fc5
  27. 22 Oct, 2011 1 commit
  28. 21 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      More Eeschema schematic item move code unification. · 78377058
      Wayne Stambaugh authored
      * Tweak move item to support moving schematic sheet pin objects.
      * Change schematic sheet pin set position to constrain position within
        the parent sheet.
      * Schematic sheet pin moving now handled by unified move code.
      * Remove old schematic sheet pin move code.
      * Add custom client data object for passing hot key information to
        command event handlers.
      * Fix a bug that prevented changes to schematic sheet pin objects from
        being undone.
      78377058
  29. 19 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Eeschema schematic item move code unification. · 6a4e8aa9
      Wayne Stambaugh authored
      * Add get and set position methods to all schematic items.
      * Encapsulate schematic item position members.
      * Add swap data method to schematic items that lacked one.
      * Remove global swap data function used by undo and redo functions.
      * Unify as many schematic move methods as possible.
      * Remove unnecessary place schematic item methods.
      * All schematic items are now moved in the same event handler.
      * Fixed bug in hierarchical sheet get menu item string method.
      * Make no connect and junction items movable, fixes lp:804048
      6a4e8aa9
  30. 07 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Eeschema ERC improvements and other minor fixes. · d4fb921b
      Wayne Stambaugh authored
      * Move the hierarchical label connected test into the NETLIST_OBJECT class.
      * ERC pin type strings can now be translated.
      * Remove unused EDA_DRAW_PANEL attribute from all ERC test functions.
      * Add get marker count method to SCH_SCREENS object.
      * Redundant header removal.
      * Lots of coding style policy fixes.
      d4fb921b
  31. 06 Sep, 2011 1 commit
  32. 03 Jul, 2011 1 commit
  33. 10 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      Schematic editor locate item changes and other minor fixes. · c07b677a
      Wayne Stambaugh authored
      * Move locate function code into schematic screen object.
      * Move test for junction needed into schematic screen object.
      * Move test for marking connected items into schematic screen object.
      * Move delete item function code into schematic screen object.
      * Move delete all markers code into schematic screen object.
      * Add method for locating multiple items in schematic screen object.
      * Fix minor bug in schematic field object hit test declaration.
      * Initial encapsulation work on item picker object.
      * Remove duplicate doxygen comments from item picker object source file.
      c07b677a
  34. 21 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      All control state handling is now performed in wxUpdateUIEvent handlers. · bdca3c5e
      Wayne Stambaugh authored
      * Old control state handling code completely removed in all applications.
      * Factor common control state handlers into EDA_DRAW_FRAME.
      * Replaced EDA_ITEM test for newness with IsNew() method.
      * Factor vertical right toolbar command handlers out of giant edit command
        switch statement in EESchema and PCBNew.
      bdca3c5e
  35. 11 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Draw panel object refactoring and other minor code cleaning. · 7b8b51b2
      Wayne Stambaugh authored
      * Rename all member variables and methods that reference the cross hair
        code in draw panel object from cursor to cross hair to eliminate confusion
        between the two concepts.
      * Rename cursor capture call backs in draw panel object to improve code
        readability.
      * Create helper class for turning off the cross hair while drawing.
      * Remove redundant block clear code.
      * Remove redundant mouse capture call back reset code when end capture
        call back is called.
      * Remove unused function definitions in base draw frame object.
      * Lots of minor coding policy and doxygen comment fixes.
      7b8b51b2
  36. 05 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      EESchema improvements and other minor fixes. · 0d8cb9b5
      Wayne Stambaugh authored
      * Remove base screen methods from draw frame object and correct current
        screen methods in derived objects.
      * Move restore old wires function code into schematic screen object.
      * Make add junction method use current screen position instead of store
        position.
      * Move poly line ghosting function into the delete current segment method
        as that was the only place is was being used.
      * Add method to base schematic object of testing if object has a label
        that can be incremented.
      * Simplified the schematic hierarchy traversing code.
      * PCBNew Doxygen warning fixes.
      0d8cb9b5
  37. 03 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Changes to use cursor position as parameter and snap to grid settings. · 50f063da
      Wayne Stambaugh authored
      * Changed managed cursor callback definition to include the current
        cursor drawing position.
      * Modified all managed cursor callbacks to match new definition.
      * Added snap to grid option to base drawing frame object.
      * Changed add no connect managed cursor callback to use new position
        parameter instead of the stored one.
      * Lots of coding policy fixes.
      50f063da
  38. 30 Jan, 2011 1 commit
    • Wayne Stambaugh's avatar
      Use wxDC for all coordinate manipulations. · d657b430
      Wayne Stambaugh authored
      * Remove all occurrences if #ifdef USE_WX_ZOOM and all associated code within
        the #else/#endif block ( old zoom code ).
      * Removed the build option for USE_WX_ZOOM from CMakeList.txt and config.h.in.
      * Removed all scaling code in base screen object.
      * Fixed buffered paint and buffered client DC on Windows.  Buffering works
        properly on Linux and Windows.
      * Modified kicad_device_context.h to automatically uses buffering on platforms
        where double buffering is supported natively.
      * Remove all of the scaled versions of the drawing functions in gr_basic.cpp
        and any support code.
      * Removed all traces of ActiveScreen global variable from eeschema and
        gerbview.
      * Renamed Recadre_Trace to RedrawScreen in draw frame object.
      * Renamed PostDirtyRect to RefreshDrawingRect in draw panel object.
      * Lots of code cleaning an Doxygen comment improvements.
      d657b430