Cirilo Bernardo
d3f68e6482
Fix resolution of paths relative to KISYS3DMOD in legacy support
2016-01-19 10:30:20 +11:00
Cirilo Bernardo
625ce3cb69
Fix accidental application of filters to all cells of 3D search path GUI
2016-01-19 10:11:09 +11:00
Cirilo Bernardo
54940002f9
Implemented 3D search path configuration GUI
2016-01-18 19:53:35 +11:00
Cirilo Bernardo
7848b2a52e
Implemented new 3D searchpath configurator
2016-01-18 16:59:06 +11:00
Simon Wells
edc47c3f8e
Clean up includes in confirm.cpp, confirm.h
2016-01-18 00:17:56 -05:00
Cirilo Bernardo
7434e673e1
Fixed bug in VRML coordinate conversion
2016-01-18 10:54:24 +11:00
Cirilo Bernardo
9a0b020806
Added VRML conversion of 'translation' and 'center' to mm on read and 0.1 inch on write
2016-01-18 10:39:51 +11:00
Cirilo Bernardo
ef62a5f153
Ensure consistent use of mm within SG models and that SG models write VRML files using 0.1 inch units
2016-01-18 08:35:29 +11:00
Cirilo Bernardo
9aeaf4a71b
Prevent unresolved path expansions from appearing as blank entries in 3D path list
2016-01-18 08:34:21 +11:00
Cirilo Bernardo
5d82d9348d
Fix bug: MSWin to UNIX file separator conversion was in the wrong place, leading to wrong separator shown in GUI
2016-01-18 08:33:39 +11:00
Simon Richter
da9ca2def2
Avoid cast from const_iterator to iterator
...
The standard library requires iterators passed to functions that modify the
container to be mutable iterators, but GCC's implementation accepts
const_iterator in some places where these are only used to mark a place,
but the actual modification happens through a different parameter.
As this breaks implementations that use the passed iterator to modify the
container (e.g. because they use a different data organization), this is
not portable; because we already have a non-const reference to the
container anyway, this is trivially fixed as well.
2016-01-17 12:31:00 -05:00
Simon Richter
ff4febc7a8
Clarify atan2 overloads
...
In the C++ standard, this function is only defined for floating point
types, and integers cannot be implicitly converted. Using explicit
conversions avoids a GCC specific extension to the standard library.
2016-01-17 10:59:24 -05:00
Simon Richter
ef582c07f3
Drop some debug output
...
This was apparently left in from debugging earlier, and should no longer be
needed. Since it uses a GCC extension, it makes compilation on others fail.
2016-01-17 10:59:17 -05:00
Simon Richter
ba66f0360a
Avoid comparing filepos with integers
...
The filepos type is not necessarily an integer type, because it also needs
to save the multibyte character state in case we're reading from a stream
with shift states.
The convention of using -1 as a special value is from Unix ftell(), and not
portable. Instead, the stream's failbit needs to be examined after the call
to tellg().
2016-01-17 10:59:08 -05:00
Mark Roszko
05ee63fe39
Replace dangerous cast of pointer->long
2016-01-16 22:56:58 -05:00
Chris Pavlina
a9216b9a32
Merge: Move eeschema colors into preferences
2016-01-16 18:53:19 -05:00
Chris Pavlina
5d805e94eb
Remove last vestiges of DIALOG_COLOR_CONFIG
...
The color config dialog in libedit edits the same settings as the one in
eeschema, so there's no reason for it - it's just duplicated.
2016-01-16 18:51:56 -05:00
Chris Pavlina
b891fa4358
Remove separate color configuration dialog
2016-01-16 18:51:48 -05:00
Chris Pavlina
bf03642220
Pull colors widget into preferences dialog
2016-01-16 18:51:38 -05:00
Chris Pavlina
9513741816
Rename WIDGET_COLOR_CONFIG -> WIDGET_EESCHEMA_COLOR_CONFIG
2016-01-16 18:51:27 -05:00
Chris Pavlina
8c2427d3fa
Add and use WIDGET_COLOR_CONFIG::InstallOnPanel
2016-01-16 18:50:55 -05:00
Chris Pavlina
c4694e029d
Move color configuration into a separate widget
2016-01-16 18:50:45 -05:00
Simon Wells
b5a9e466ff
Fix layer widget appearance on OSX
2016-01-16 17:07:24 -05:00
Simon Wells
b125054afe
Pcbnew: Allow changing layer color with left mouse button
...
Many users, particularly those on laptops, have no middle mouse button, and
thus have no way at all to set the layer colors.
2016-01-16 10:31:10 -05:00
Simon Wells
e0beb36f1e
GAL: Update grid color when changed by user
2016-01-16 10:23:28 -05:00
jean-pierre charras
e3f399ca38
pcb_calculator: remove no more in use png files.
2016-01-16 15:59:50 +01:00
jean-pierre charras
38b84f3551
pcb_calculator: fix incorrect formulas shown in attenuators panel. Png files are no more used, and formulas are now html doc files.
...
kicad_curl.cpp: fix a compil warning on Windows due to incorrect order of includes (regression)
2016-01-16 15:56:45 +01:00
jean-pierre charras
454dd64ac5
Remove autogenerated files
2016-01-16 15:50:34 +01:00
jean-pierre charras
6155cba077
kicad_curl.cpp: fix a compil warning on Windows (regression)
...
pcb_calculator: fix incorrect formulas shown in attenuators panel. Png files are no more used, and formulas are now html doc files.
2016-01-16 15:27:42 +01:00
Cirilo Bernardo
e185b29baa
Resync with main branch r6482
2016-01-16 19:10:53 +11:00
Cirilo Bernardo
f3c56eff12
Work in progress: changed Footprint Properties editors to handle aliased 3D file names
2016-01-16 17:49:28 +11:00
Chris Pavlina
bc614a5e0b
Fix accidental string+int in a debug message
2016-01-15 22:47:47 -05:00
Simon Richter
128459470a
Clean up truncation of constant
...
In the autorouter code, the value 0x80 is assigned to MATRIX_CELL, which is
an overflow for a signed 8-bit type. As this type is used as a bit mask,
there is no point in having a sign bit anyway.
2016-01-15 22:24:17 -05:00
Simon Richter
f674942e27
Remove superfluous include in the middle of source file
2016-01-15 22:20:32 -05:00
Chris Pavlina
60055e04af
Merge new hotkey edit/entry widget
2016-01-15 21:08:33 -05:00
Chris Pavlina
3b4e6dc1fa
Fix wx font bug
...
Labels don't size correctly with large font
2016-01-15 21:07:42 -05:00
Chris Pavlina
950d2458c0
Fix label sizing in hotkey query dialog
2016-01-15 21:07:35 -05:00
Chris Pavlina
6e52c228bc
Add comment and tidy up
2016-01-15 21:07:28 -05:00
Chris Pavlina
165f42daaf
Continue fixing silly Windows-related bugs
2016-01-15 21:07:19 -05:00
Chris Pavlina
4391f99a25
Clean up EVT_CHAR_HOOK and fix a bug on Linux
...
Forgot aEvent.Skip()
2016-01-15 21:07:12 -05:00
Chris Pavlina
95988802f7
Fix special keys on Windows
2016-01-15 21:07:06 -05:00
Chris Pavlina
f574620d07
Fix special hotkeys on Windows
2016-01-15 21:06:59 -05:00
Chris Pavlina
14008321fe
Dynamically size horizontal column if necessary.
2016-01-15 21:06:51 -05:00
Chris Pavlina
2ed78cf84b
Move import/export button back into menu
2016-01-15 21:06:41 -05:00
Chris Pavlina
80fae7161e
Coding style fixes
2016-01-15 21:06:25 -05:00
Chris Pavlina
73faa8238e
Adjust options window
2016-01-15 21:06:15 -05:00
Chris Pavlina
b2a5307e4b
Do not reset the selection after changing hotkey
2016-01-15 21:06:07 -05:00
Chris Pavlina
06add0d130
Add context menu
2016-01-15 20:58:53 -05:00
Chris Pavlina
4dad12794a
Add and use WIDGET_HOTKEY_LIST::InstallOnPanel
2016-01-15 20:58:39 -05:00
Chris Pavlina
7d30eaf13a
Refactor keycode lookup
2016-01-15 20:58:31 -05:00