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
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
Chris Pavlina
87cb6c4429
Adjustments to dialog formatting
2016-01-15 20:58:23 -05:00
Chris Pavlina
45a304ed1c
Change label
2016-01-15 20:58:14 -05:00
Chris Pavlina
a16b2c6eba
New hotkey press acquirer
2016-01-15 20:57:10 -05:00
Chris Pavlina
af042628ff
Refactor WIDGET_HOTKEY_LIST out of DIALOG_HOTKEYS_EDITOR
2016-01-15 20:56:57 -05:00
Chris Pavlina
9663060f97
Recreate menu bar after changing hotkeys
2016-01-15 20:56:23 -05:00
Chris Pavlina
2e4bb307dc
Fix dialog sizing issue on Windows
2016-01-15 20:56:16 -05:00
Chris Pavlina
db178dcdaf
Eeschema options+hotkeys fixes
...
Fix wxTreeListCtrl column sizing
Minor: fix signed/unsigned comparison
Remove unnecessary m_parent direct access
2016-01-15 20:56:00 -05:00
Chris Pavlina
5173699eec
Pull hotkey editor into eeschema preferences
2016-01-15 20:55:50 -05:00
Simon Wells
e5f3edf0f1
Eeschema: minor coding policy fix
2016-01-15 20:26:34 -05:00
Simon Wells
24d293ab8d
bmp2cmp: include cleanup
2016-01-15 19:57:52 -05:00
Chris Pavlina
74ef947575
github_plugin: remove unused variable
2016-01-15 11:56:14 -05:00
Chris Pavlina
2ff439b894
Move some old legacy save code into the block for that
2016-01-15 10:34:51 -05:00
Simon Richter
769104d542
pin table: Support flat table
2016-01-14 21:26:42 -05:00