Re: [Kicad-developers] UTF8 source files

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 11:20:09PM -0500, Dick Hollenbeck wrote: > We introduced a patch today which introduces UTF8 encoding into a couple of > source files, > then made a policy decision to allow UTF8 string constants in 8 bit strings. > So this is > currently about 3 places only, nothing to w

[Kicad-developers] UTF8 source files

2013-05-02 Thread Dick Hollenbeck
We introduced a patch today which introduces UTF8 encoding into a couple of source files, then made a policy decision to allow UTF8 string constants in 8 bit strings. So this is currently about 3 places only, nothing to worry about yet. The only time you can be sure you have an 8 bit string is

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Adam Wolf
Oh, I'm extremely impressed. It was fixed within a few minutes of my build cluster complaining. I was just wondering in general if a Release mode would be useful on my cluster, and I don't think it would be of general use enough to justify doing it for every checkin. :) Adam Wolf Wayne and Layne

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 03:26:47PM -0500, Dick Hollenbeck wrote: > The debug build is more beneficial to finding an explanation for bugs, there > are some > asserts which would popup a window, whereas the release build may run > slightly faster, it > would crash at that same hypothetical bug site

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Dick Hollenbeck
On 05/02/2013 01:53 PM, Adam Wolf wrote: > Hi folks, > > This is also showing up on my build cluster as of 4129. Should I add an > additional build > that builds in Release mode? Is this generally helpful for diagnosing bad > builds? The debug build is more beneficial to finding an explanatio

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Edwin van den Oetelaar
Confirmed, it compiles in Debug too. Greetings, and thanks, Edwin van den Oetelaar 2013/5/2 Lorenzo Marcantonio : > On Thu, May 02, 2013 at 07:31:11PM +0200, Edwin van den Oetelaar wrote: >> [ 47%] Building CXX object >> cvpcb/CMakeFiles/cvpcb.dir/__/pcbnew/board_items_to_polygon_shape_transform.c

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 01:53:36PM -0500, Adam Wolf wrote: > This is also showing up on my build cluster as of 4129. Should I add an > additional build that builds in Release mode? Is this generally helpful > for diagnosing bad builds? In this case the build should only fail on Debug builds; I d

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 07:31:11PM +0200, Edwin van den Oetelaar wrote: > [ 47%] Building CXX object > cvpcb/CMakeFiles/cvpcb.dir/__/pcbnew/board_items_to_polygon_shape_transform.cpp.o > /home/oetelaar/kicad_dev/kicad/cvpcb/../pcbnew/class_drawsegment.h: In > member function ‘void > MODULE::Transfo

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Adam Wolf
Hi folks, This is also showing up on my build cluster as of 4129. Should I add an additional build that builds in Release mode? Is this generally helpful for diagnosing bad builds? Adam Wolf Wayne and Layne LLC On May 2, 2013 12:41 PM, "Dick Hollenbeck" wrote: > Can you build it in Release mo

Re: [Kicad-developers] Plot and drill file generation via scripts

2013-05-02 Thread Adam Wolf
Hi Dick, Thanks. Let me know if there's anything I can do to help get this or similar functionality built-in. Wayne and Layne volunteers to do any desired refactoring to drill/plotting in order to reduce logic in the dialogs and create a solid and small API. If this is something you want, pleas

Re: [Kicad-developers] Plot and drill file generation via scripts

2013-05-02 Thread Dick Hollenbeck
On 05/01/2013 09:39 AM, Adam Wolf wrote: > Hi folks, > > One of the tasks I've been doing for Wayne and Layne for Kicad is > command line plot and drill generation. Internally, we're going to > use it to generate files upon commit to better track progress in the > distributed team, but externally

Re: [Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Dick Hollenbeck
Can you build it in Release mode? On 05/02/2013 12:31 PM, Edwin van den Oetelaar wrote: > bzr pull > > Using saved parent location: > http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/ > M pcbnew/netlist.cpp > M pcbnew/specctra_export.cpp > All changes applied successfully.

[Kicad-developers] kicad does not compile anymore, could it be my setup? (too old)

2013-05-02 Thread Edwin van den Oetelaar
bzr pull Using saved parent location: http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/ M pcbnew/netlist.cpp M pcbnew/specctra_export.cpp All changes applied successfully. Now on revision 4129. rm -rf build mkdir build build cmake ../ -DKICAD_TESTING_VERSION=ON -DKICAD_SCR

Re: [Kicad-developers] Title block date in pcbnew

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 10:29:38AM -0400, Wayne Stambaugh wrote: > Why would you need to change the file unless you were planning to put > the date generation option in the file? I'm not sure this setting > really belongs in the board file. It strikes me as application level > setting. If you wa

Re: [Kicad-developers] Title block date in pcbnew

2013-05-02 Thread Wayne Stambaugh
On 5/2/2013 12:56 AM, Lorenzo Marcantonio wrote: > On Wed, May 01, 2013 at 04:52:41PM -0400, Wayne Stambaugh wrote: >> 5) Add a configuration option to select 1), 2), or 3) and let the user >> decide how they want the title block date to be updated. Make option 1) >> the default so the VCS users d

Re: [Kicad-developers] Plot and drill file generation via scripts

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 07:35:00AM -0500, Adam Wolf wrote: > Hi Lorenzo, > > The print script uses plot controller--thanks for writing that! Right If you're using the plot controller then it's being used as designed :D As for the drill, the collection/sorting step is a little convoluted, but it

Re: [Kicad-developers] Plot and drill file generation via scripts

2013-05-02 Thread Adam Wolf
Hi Lorenzo, The print script uses plot controller--thanks for writing that! Right now, it does basically only what it needs to do to support gerber generation--there are no "per layer" settings. There is about as much logic in the drill generation script as there is in the plot script--that is t

Re: [Kicad-developers] Regression Testing

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 03:18:43AM -0500, Dick Hollenbeck wrote: > This is an application bug, one which failed to properly dovetail object life > cycles in > the dual language environment. I will get with Miguel on it in the next > couple of weeks. It's inherently difficult. I don't know if it

Re: [Kicad-developers] Regression Testing

2013-05-02 Thread Dick Hollenbeck
On 05/02/2013 02:03 AM, Lorenzo Marcantonio wrote: > On Thu, May 02, 2013 at 01:25:02AM -0500, Dick Hollenbeck wrote: >> Please, just give us a script or the commands that causes the crash, a bug >> report can be >> created. > > OK, I don't have python on this machine, I'll do that tonight. > >

Re: [Kicad-developers] Title block date in pcbnew

2013-05-02 Thread Sergey A. Borshch
On 02.05.2013 10:45, Lorenzo Marcantonio wrote: On Thu, May 02, 2013 at 10:40:50AM +0300, Sergey A. Borshch wrote: I was complaining about date change because it was often the only change in file after just opening/closing file without any modifications! I remember it in .sch and *-cache.lib fil

Re: [Kicad-developers] Title block date in pcbnew

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 10:40:50AM +0300, Sergey A. Borshch wrote: > I was complaining about date change because it was often the only > change in file after just opening/closing file without any > modifications! I remember it in .sch and *-cache.lib files. The only > thing I wanted is to save date

Re: [Kicad-developers] Plot and drill file generation via scripts

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 09:16:23AM +0200, Miguel Angel Ajo wrote: > I haven't worked very much with the plotters & drillers, but may be Lorenzo > could help us take a look at it before committing, he was working > on the PLOT_CONTROLLER / python integration later (may be more, I'm > unsure). I'm

Re: [Kicad-developers] Title block date in pcbnew

2013-05-02 Thread Sergey A. Borshch
On 01.05.2013 20:18, Lorenzo Marcantonio wrote: Also the vcs users wouldn't have to complain (I don't see the problem if a date changes in a versioned file... maybe they don't like it). I was complaining about date change because it was often the only change in file after just opening/closing fi

Re: [Kicad-developers] Plot and drill file generation via scripts

2013-05-02 Thread Miguel Angel Ajo
HI Adam, it looks good to me, I haven't worked very much with the plotters & drillers, but may be Lorenzo could help us take a look at it before committing, he was working on the PLOT_CONTROLLER / python integration later (may be more, I'm unsure). I reader the diff and both .py's and they lo

Re: [Kicad-developers] Regression Testing

2013-05-02 Thread Lorenzo Marcantonio
On Thu, May 02, 2013 at 01:25:02AM -0500, Dick Hollenbeck wrote: > Please, just give us a script or the commands that causes the crash, a bug > report can be > created. OK, I don't have python on this machine, I'll do that tonight. With my luck is the *first* thing happened to me with python:D