Chris Pavlina
b9be9a4f57
Common: delete accidental dead branch (Coverity)
...
CID 135586 in widget_hotkey_list: logically dead code
This code was added accidentally; it is both dead and unnecessary, and so was
removed.
2016-03-05 23:13:25 -05:00
jean-pierre charras
8dc0a33cc7
Remove a old useless font file (the Cyrillic fonte is, since a long time, in the current font file)
2016-03-03 18:51:38 +01:00
Bernhard Stegmaier
59f6a720f0
Fix touchpad scrolling on OSX.
2016-03-01 15:19:00 -05:00
jean-pierre charras
624c508dda
Fix an issue relative to the env vars initializations on Linux: they are not initialized if the value contains any non ASCII7 char, and if the locale is not set.
...
The locale is now set before reading the env vars configuration.
2016-03-01 14:37:15 +01:00
Tomasz Wlostowski
0fa71d8d8f
more accurate pushout force calculation for circle-segment collisions
2016-03-01 14:26:08 +01:00
Bernhard Stegmaier
f8abe9c191
Add support for optional touchpad panning.
2016-02-24 14:53:02 -05:00
Wayne Stambaugh
bedf0b6aec
Remove incorrect comment regarding wxWidgets bug report from class_bitmap_base.cpp.
2016-02-23 19:31:34 -05:00
Nick Winters
8cb1f39ed5
OSX: fix bug caused by wxBitmap drawing 0 width or heigth bitmap. (fixes lp:1529159)
2016-02-22 16:23:17 -05:00
Bernhard Stegmaier
5d25b4ef90
Disable FPS limiter for OSX (GAL).
2016-02-16 09:05:41 +01:00
jean-pierre charras
d902c2716a
Add Slovak entry in language menu.
2016-02-11 20:12:37 +01:00
jean-pierre charras
2284228c35
HPGL plot dialog: remove no more in use Pen Overlap parameter. Fix incorrect polygon fill by setting the hpgl pen thickness in hpgl file. Add filled circle (previously, a circle was never filled)
2016-02-11 13:14:46 +01:00
jean-pierre charras
5658ed9c8e
Prepare rounded rect and custom shaped pads: add plot functions. It fixes also a pcbnew crash in HPGL mode when plotting trapezoidal pads.
2016-02-10 17:02:40 +01:00
jean-pierre charras
050bdbc772
Pcbnew: minor changes:
...
* Dialog copper zones: Always enable thermal shape settings, because even with no thermal, some pads can use thermal option in local pad settings.
* GAL mode: shows page limits in gray color, like in legacy mode, and according to comments in sources.
2016-02-09 09:23:24 +01:00
Chris Pavlina
39ad4ef7fc
Hotkey editor: dynamically resize columns
...
This was done in OnSize(), but was not triggered when a hotkey was edited.
2016-01-25 11:17:52 -05:00
Chris Pavlina
76fb8ce8f9
Hotkey editor: Fix GTK assertion
...
Tried to set negative width when dialog sized too small
2016-01-25 11:17:43 -05:00
Bernhard Stegmaier
3e2b4244f9
OSX: add support for wxMagnifyEvent on OSX builds using wxWidgets 3.1.0 or greater.
2016-01-24 19:18:29 -05:00
jean-pierre charras
731a87db25
Fix Bug #1536427 ("User (Custom)" size selection in"Page Settings" issue in non English languages).
...
Remove also a no more in use code
2016-01-21 11:15:13 +01:00
Maciej Suminski
4951285a67
GAL::DrawPolygon() and GAL::DrawPolyline() variants that work with VECTOR2D array.
2016-01-20 15:16:39 +01:00
Chris Pavlina
c490e7dd06
Fix typing problems with GR_KB_* constants
2016-01-20 07:11:17 -05:00
Simon Wells
edc47c3f8e
Clean up includes in confirm.cpp, confirm.h
2016-01-18 00:17:56 -05: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
Mark Roszko
05ee63fe39
Replace dangerous cast of pointer->long
2016-01-16 22:56:58 -05: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
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
80fae7161e
Coding style fixes
2016-01-15 21:06:25 -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
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
Dick Hollenbeck
f527b29e68
GitHub plugin: fix threading issues when libcurl is build against openssl.
...
* Dick Hollenbeck also contributed commit r6440. I inadvertently forgot to set
the Bazaar author tag before I committed it. My apologies.
* Switch to static linking of libcurl and on linux and windows and also
statically link in only required portions of openssl.
* Add the required thread locks which openssl needs.
* Remove the get curl version call from BASEFRAME since it pulls in curl and
openssl into every derived wxFrame class link image.
* Remove curl function from PGM_BASE, switch to atexit() instead. Anything in
PGM_BASE made the singletops bigger.
* Tested on Linux, Windows, and OSX.
2016-01-14 10:17:13 -05:00
jean-pierre charras
731f785256
Fix erroneous calculation of segments by circle count in shape_poly_set.cpp Inflate method.
2016-01-14 12:37:09 +01:00
Tomasz Wlostowski
991b9d509a
GAL: apply grid offset when board is loaded and respect grid color setting. (fixes lp:1533168)
2016-01-13 13:37:52 -05:00
Chris Pavlina
ee2752827a
Remove old, empty header
2016-01-12 10:35:27 -05:00
Simon Wells
2028fa7926
Add missing header to richio
2016-01-11 21:41:33 -05:00
Wayne Stambaugh
ef87a0de54
Fix build errors when casting wxString to const char * with some compilers.
2016-01-11 10:44:33 -05:00