Send commitlog mailing list submissions to
        commitlog@lists.openmoko.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        commitlog-requ...@lists.openmoko.org

You can reach the person managing the list at
        commitlog-ow...@lists.openmoko.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r5433 - trunk/gta02-core/kicad-patches (wer...@docs.openmoko.org)
   2. r5434 - trunk/eda/fped (wer...@docs.openmoko.org)
   3. r5435 - trunk/gta02-core/kicad-patches (wer...@docs.openmoko.org)
   4. r5436 - trunk/gta02-core/components (wer...@docs.openmoko.org)
   5. r5437 - trunk/gta02-core/docs (wer...@docs.openmoko.org)
--- Begin Message ---
Author: werner
Date: 2009-08-13 12:25:06 +0200 (Thu, 13 Aug 2009)
New Revision: 5433

Removed:
   trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch
Log:
This one also made it into mainline.



Deleted: trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch
===================================================================
--- trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch      2009-08-13 
09:30:16 UTC (rev 5432)
+++ trunk/gta02-core/kicad-patches/fix-eeschema-libs.patch      2009-08-13 
10:25:06 UTC (rev 5433)
@@ -1,20 +0,0 @@
-The comma-placing logic is reversed. Luckily, the LIBS line is never
-read back, so this didn't cause any real damage.
-
-- Werner
-
----
-
-Index: kicad/eeschema/save_schemas.cpp
-===================================================================
---- kicad.orig/eeschema/save_schemas.cpp       2009-06-19 17:48:39.000000000 
-0300
-+++ kicad/eeschema/save_schemas.cpp    2009-06-19 17:48:46.000000000 -0300
-@@ -121,7 +121,7 @@
-     bool first = true;
-     for( LibraryStruct* Lib = g_LibraryList; Lib != NULL; Lib = Lib->m_Pnext )
-     {
--        if( first )
-+        if( !first )
-             Name += wxT( "," );
-         Name += Lib->m_Name;
-         first = false;




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-08-13 12:57:39 +0200 (Thu, 13 Aug 2009)
New Revision: 5434

Modified:
   trunk/eda/fped/gui_frame.c
   trunk/eda/fped/inst.c
   trunk/eda/fped/inst.h
Log:
- objects selected via the item view can now be edited directly, even if no
  instance is found. This allows recovery from mistakes where a failing item
  never gets instantiated.



Modified: trunk/eda/fped/gui_frame.c
===================================================================
--- trunk/eda/fped/gui_frame.c  2009-08-13 10:25:06 UTC (rev 5433)
+++ trunk/eda/fped/gui_frame.c  2009-08-13 10:57:39 UTC (rev 5434)
@@ -957,7 +957,7 @@
 static gboolean item_select_vec(GtkWidget *widget, GdkEventButton *event,
      gpointer data)
 {
-       const struct vec *vec = data;
+       struct vec *vec = data;
 
        switch (event->button) {
        case 1:
@@ -972,7 +972,7 @@
 static gboolean item_select_obj(GtkWidget *widget, GdkEventButton *event,
      gpointer data)
 {
-       const struct obj *obj = data;
+       struct obj *obj = data;
 
        switch (event->button) {
        case 1:

Modified: trunk/eda/fped/inst.c
===================================================================
--- trunk/eda/fped/inst.c       2009-08-13 10:25:06 UTC (rev 5433)
+++ trunk/eda/fped/inst.c       2009-08-13 10:57:39 UTC (rev 5434)
@@ -299,7 +299,11 @@
 /* ----- select instance by vector/object ---------------------------------- */
 
 
-void inst_select_vec(const struct vec *vec)
+static void vec_edit(struct vec *vec);
+static void obj_edit(struct obj *obj);
+
+
+void inst_select_vec(struct vec *vec)
 {
        struct inst *inst;
 
@@ -311,11 +315,11 @@
                        inst_select_inst(inst);
                        return;
                }
-       
+       vec_edit(vec);
 }
 
 
-void inst_select_obj(const struct obj *obj)
+void inst_select_obj(struct obj *obj)
 {
        enum inst_prio prio;
        struct inst *inst;
@@ -328,6 +332,7 @@
                        inst_select_inst(inst);
                        return;
                }
+       obj_edit(obj);
 }
 
 
@@ -433,14 +438,20 @@
 }
 
 
+static void vec_edit(struct vec *vec)
+{
+       edit_x(&vec->x);
+       edit_y(&vec->y);
+       edit_unique_null(&vec->name, validate_vec_name, vec);
+}
+
+
 static void vec_op_select(struct inst *self)
 {
        status_set_type_entry("ref =");
        status_set_name("%s", self->vec->name ? self->vec->name : "");
        rect_status(self->base, self->u.rect.end, -1);
-       edit_x(&self->vec->x);
-       edit_y(&self->vec->y);
-       edit_unique_null(&self->vec->name, validate_vec_name, self->vec);
+       vec_edit(self->vec);
 }
 
 
@@ -511,10 +522,16 @@
 }
 
 
+static void obj_line_edit(struct obj *obj)
+{
+       edit_expr(&obj->u.line.width);
+}
+
+
 static void line_op_select(struct inst *self)
 {
        rect_status(self->bbox.min, self->bbox.max, self->u.rect.width);
-       edit_expr(&self->obj->u.line.width);
+       obj_line_edit(self->obj);
 }
 
 
@@ -564,10 +581,16 @@
 }
 
 
+static void obj_rect_edit(struct obj *obj)
+{
+       edit_expr(&obj->u.rect.width);
+}
+
+
 static void rect_op_select(struct inst *self)
 {
        rect_status(self->bbox.min, self->bbox.max, self->u.rect.width);
-       edit_expr(&self->obj->u.rect.width);
+       obj_rect_edit(self->obj);
 }
 
 
@@ -619,12 +642,18 @@
 }
 
 
+static void obj_pad_edit(struct obj *obj)
+{
+       edit_name(&obj->u.pad.name, validate_pad_name, NULL);
+}
+
+
 static void pad_op_select(struct inst *self)
 {
        status_set_type_entry("label =");
        status_set_name("%s", self->u.pad.name);
        rect_status(self->base, self->u.pad.other, -1);
-       edit_name(&self->obj->u.pad.name, validate_pad_name, NULL);
+       obj_pad_edit(self->obj);
 }
 
 
@@ -673,6 +702,12 @@
 }
 
 
+static void obj_arc_edit(struct obj *obj)
+{
+       edit_expr(&obj->u.arc.width);
+}
+
+
 static void arc_op_select(struct inst *self)
 {
        status_set_xy(self->base);
@@ -682,7 +717,7 @@
        status_set_r("r = %5.2f mm", units_to_mm(self->u.arc.r));
        status_set_type_entry("width =");
        status_set_name("%5.2f mm", units_to_mm(self->u.arc.width));
-       edit_expr(&self->obj->u.arc.width);
+       obj_arc_edit(self->obj);
 }
 
 
@@ -745,12 +780,18 @@
 }
 
 
+static void obj_meas_edit(struct obj *obj)
+{
+       edit_expr(&obj->u.meas.offset);
+}
+
+
 static void meas_op_select(struct inst *self)
 {
        rect_status(self->bbox.min, self->bbox.max, -1);
        status_set_type_entry("offset =");
        status_set_name("%5.2f mm", units_to_mm(self->u.meas.offset));
-       edit_expr(&self->obj->u.meas.offset);
+       obj_meas_edit(self->obj);
 }
 
 
@@ -795,6 +836,35 @@
 }
 
 
+/* ----- direct editing of objects ----------------------------------------- */
+
+
+static void obj_edit(struct obj *obj)
+{
+       switch (obj->type) {
+       case ot_frame:
+               break;
+       case ot_line:
+               obj_line_edit(obj);
+               break;
+       case ot_rect:
+               obj_rect_edit(obj);
+               break;
+       case ot_arc:
+               obj_arc_edit(obj);
+               break;
+       case ot_pad:
+               obj_pad_edit(obj);
+               break;
+       case ot_meas:
+               obj_meas_edit(obj);
+               break;
+       default:
+               abort();
+       }
+}
+
+
 /* ----- active instance --------------------------------------------------- */
 
 

Modified: trunk/eda/fped/inst.h
===================================================================
--- trunk/eda/fped/inst.h       2009-08-13 10:25:06 UTC (rev 5433)
+++ trunk/eda/fped/inst.h       2009-08-13 10:57:39 UTC (rev 5434)
@@ -133,8 +133,8 @@
 int inst_select(struct coord pos);
 void inst_deselect(void);
 
-void inst_select_vec(const struct vec *vec);
-void inst_select_obj(const struct obj *obj);
+void inst_select_vec(struct vec *vec);
+void inst_select_obj(struct obj *obj);
 
 struct inst *inst_find_point(struct coord pos);
 int inst_find_point_selected(struct coord pos, struct inst **res);




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-08-13 21:49:35 +0200 (Thu, 13 Aug 2009)
New Revision: 5435

Added:
   trunk/gta02-core/kicad-patches/README
Modified:
   trunk/gta02-core/kicad-patches/eeschema-plot-only-mode.patch
   trunk/gta02-core/kicad-patches/erc-exceptions.patch
   trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch
   trunk/gta02-core/kicad-patches/series
   trunk/gta02-core/kicad-patches/streamline-erc.patch
Log:
Update for KiCad revision 1923, by Nathael Pajani.



Added: trunk/gta02-core/kicad-patches/README
===================================================================
--- trunk/gta02-core/kicad-patches/README                               (rev 0)
+++ trunk/gta02-core/kicad-patches/README       2009-08-13 19:49:35 UTC (rev 
5435)
@@ -0,0 +1,30 @@
+Patches found in this directory are relevant as of revision 1923 of Kicad SVN
+
+See series file to apply them in the right order.
+Use Quilt.
+
+
+Here is a list of patches that have made it to the Kicad svn sources
+(removed from this svn).
+
+# tentative fix for making command-line invocation with relative paths work
+# functionality has been added into 1857
+## eeschema-fix-relative-path.patch
+
+# accepted as of r1854
+## make-junctions-larger-in-plots.patch
+## make-junctions-larger-on-plotps.patch
+
+# fix-eeschema-libs.patch has made it upstream. We're now at r1837
+## fix-eeschema-libs.patch
+
+# accepted as of r1783
+## gerbview-export-arcs.patch
+
+# accepted as of r1774
+## fix-pinbypin-button-type.patch
+
+# pending work, will perhaps be implemented in an entirely different fashion
+## auto-overline-config.patch
+## auto-overline-screen.patch
+

Modified: trunk/gta02-core/kicad-patches/eeschema-plot-only-mode.patch
===================================================================
--- trunk/gta02-core/kicad-patches/eeschema-plot-only-mode.patch        
2009-08-13 10:57:39 UTC (rev 5434)
+++ trunk/gta02-core/kicad-patches/eeschema-plot-only-mode.patch        
2009-08-13 19:49:35 UTC (rev 5435)
@@ -17,8 +17,8 @@
 
 Index: kicad/eeschema/eeschema.cpp
 ===================================================================
---- kicad.orig/eeschema/eeschema.cpp   2009-07-01 23:14:44.000000000 -0300
-+++ kicad/eeschema/eeschema.cpp        2009-07-01 23:15:15.000000000 -0300
+--- kicad.orig/eeschema/eeschema.cpp        2009-07-01 23:14:44.000000000 -0300
++++ kicad/eeschema/eeschema.cpp        2009-07-01 23:15:15.000000000 -0300
 @@ -12,6 +12,7 @@
  #include "general.h"
  #include "bitmaps.h"
@@ -51,15 +51,15 @@
 +
 +    if( app->argc < 3 )
 +    {
-+      fprintf( stderr, "usage: %ls [[--plot] filename]\n", *app->argv );
-+      exit( 1 );
++        fprintf( stderr, "usage: %ls [[--plot] filename]\n", *app->argv );
++        exit( 1 );
 +    }
 +
 +    fn = app->argv[2];
 +    if( !fn.IsOk() )
 +    {
-+      fprintf( stderr, "%ls: bad name\n", app->argv[2] );
-+      exit(1);
++        fprintf( stderr, "%ls: bad name\n", app->argv[2] );
++        exit(1);
 +    }
 +
 +    /* init EESCHEMA */
@@ -77,12 +77,12 @@
 +
 +    /* Load file specified in the command line. */
 +    if( fn.GetExt() != SchematicFileExtension )
-+      fn.SetExt( SchematicFileExtension );
++        fn.SetExt( SchematicFileExtension );
 +    wxSetWorkingDirectory( fn.GetPath() );
 +    if( !frame->LoadOneEEProject( fn.GetFullPath(), false ) )
 +    {
-+      fprintf( stderr, "%ls: can't load\n", app->argv[2] );
-+      exit( 1 );
++        fprintf( stderr, "%ls: can't load\n", app->argv[2] );
++        exit( 1 );
 +    }
 +
 +    WinEDA_PlotPSFrame* Ps_frame = new WinEDA_PlotPSFrame( frame );
@@ -102,7 +102,7 @@
      InitEDA_Appl( wxT( "EESchema" ), APP_TYPE_EESCHEMA );
  
 +    if( argc > 1 && !wxStrcmp( argv[1], wxT( "--plot" ) ) )
-+      PlotOnly( this );
++        PlotOnly( this );
 +
      if( m_Checker && m_Checker->IsAnotherRunning() )
      {

Modified: trunk/gta02-core/kicad-patches/erc-exceptions.patch
===================================================================
--- trunk/gta02-core/kicad-patches/erc-exceptions.patch 2009-08-13 10:57:39 UTC 
(rev 5434)
+++ trunk/gta02-core/kicad-patches/erc-exceptions.patch 2009-08-13 19:49:35 UTC 
(rev 5435)
@@ -24,16 +24,28 @@
 
 - Werner
 
+Updated to rev 1923
+
+- Nathael
+
 ---
 
 Index: kicad/eeschema/erc.cpp
 ===================================================================
---- kicad.orig/eeschema/erc.cpp        2009-07-03 10:05:43.000000000 -0300
-+++ kicad/eeschema/erc.cpp     2009-07-03 12:50:34.000000000 -0300
-@@ -267,6 +267,188 @@
+--- kicad.orig/eeschema/erc.cpp        2009-08-13 16:48:27.000000000 +0200
++++ kicad/eeschema/erc.cpp     2009-08-13 16:49:08.000000000 +0200
+@@ -4,6 +4,7 @@
+ 
+ #include "fctsys.h"
+ #include "common.h"
++#include "confirm.h"
+ #include "class_drawpanel.h"
+ #include "kicad_string.h"
+ #include "gestfich.h"
+@@ -212,6 +213,187 @@
+     return err_count;
  }
  
- 
 +static struct exception
 +{
 +    char* a_ref;
@@ -54,10 +66,10 @@
 +
 +    while( exceptions )
 +    {
-+      next = exceptions->next;
-+      MyFree( exceptions->line );
-+      MyFree( exceptions );
-+      exceptions = next;
++        next = exceptions->next;
++        MyFree( exceptions->line );
++        MyFree( exceptions );
++        exceptions = next;
 +    }
 +}
 +
@@ -68,14 +80,14 @@
 +{
 +    *field = *s;
 +    if( ! **s )
-+      return FALSE;
++        return FALSE;
 +    while( **s && ! isspace( **s ) )
-+      (*s)++;
++        (*s)++;
 +    if( ! **s )
-+      return TRUE;
++        return TRUE;
 +    *(*s)++ = 0;
 +    while( **s && isspace( **s ) )
-+      (*s)++;
++        (*s)++;
 +    return TRUE;
 +}
 +
@@ -90,13 +102,13 @@
 +    tmp.line = s;
 +
 +    if( ! ParseField( &s, &tmp.a_ref))
-+      return FALSE;
++        return FALSE;
 +    if( ! ParseField( &s, &tmp.a_pin ))
-+      return FALSE;
++        return FALSE;
 +    if( ! ParseField( &s, &tmp.b_ref))
-+      return FALSE;
++        return FALSE;
 +    if( ! ParseField( &s, &tmp.b_pin ))
-+      return FALSE;
++        return FALSE;
 +
 +    e = (struct exception*) MyMalloc( sizeof( *e ));
 +    *e = tmp;
@@ -121,40 +133,39 @@
 +    FreeExceptions();
 +    file = wxFopen( file_name, wxT( "r" ) );
 +    if( ! file )
-+      return FALSE;
++        return FALSE;
 +
 +    while( 1 )
 +    {
-+      s = fgets( buf, sizeof( buf ), file );
-+      if( ! s )
-+          break;
++        s = fgets( buf, sizeof( buf ), file );
++        if( ! s )
++            break;
 +
-+      n++;
++        n++;
 +
-+      // remove comments
-+      hash = strchr( s, '#' );
-+      if( hash )
-+          *hash = 0;
-+
-+      // skip leading whitespace
-+      while( *s && isspace( *s ) )
-+          s++;
-+      if( ! *s )
-+          continue;
-+
-+      tmp = (char*) MyMalloc( strlen( s ) + 1 );
-+      strcpy( tmp, s );
-+
-+      if( ! ParseException( tmp ) )
-+      {
-+          wxString msg;
-+
-+          msg.Printf( wxT( "Parse error at %s:%d" ),
-+            CONV_TO_UTF8( file_name ), n );
-+          DisplayError( NULL, msg );
-+          MyFree( tmp );
-+          break;
-+      }
++        // remove comments
++        hash = strchr( s, '#' );
++        if( hash )
++            *hash = 0;
++        
++        // skip leading whitespace
++        while( *s && isspace( *s ) )
++            s++;
++        if( ! *s )
++            continue;
++        
++        tmp = (char*) MyMalloc( strlen( s ) + 1 );
++        strcpy( tmp, s );
++        
++        if( ! ParseException( tmp ) )
++        {
++            wxString msg;
++        
++            msg.Printf( wxT( "Parse error at %s:%d" ), 
CONV_TO_UTF8(file_name), n );
++            DisplayError( NULL, msg );
++            MyFree( tmp );
++            break;
++        }
 +    }
 +
 +    fclose( file );
@@ -172,12 +183,12 @@
 +    fn = g_RootSheet->m_AssociatedScreen->m_FileName;
 +    fn.SetExt( wxT( "erx" ) );
 +    if ( LoadExceptionsByName( fn.GetFullPath() ) )
-+      g_EESchemaVar.NbExceptionErc = 0;
++        g_EESchemaVar.NbExceptionErc = 0;
 +}
 +
 +
 +/********************************************************************/
-+static bool FindException( ObjetNetListStruct* a, ObjetNetListStruct* b )
++static bool FindException( NETLIST_OBJECT* a, NETLIST_OBJECT* b )
 +/********************************************************************/
 +{
 +    SCH_COMPONENT* a_comp = (SCH_COMPONENT*) a->m_Link;
@@ -194,22 +205,22 @@
 +fprintf(stderr, "a) %s %4.4s =? %s %4.4s\n", e->a_ref, e->a_pin, a_ref, 
a_pin);
 +fprintf(stderr, "b) %s %4.4s =? %s %4.4s\n", e->b_ref, e->b_pin, b_ref, 
b_pin);
 +#endif
-+      if( strcmp( e->a_ref, a_ref ) )
-+          continue;
-+      if( strncmp( e->a_pin, a_pin, 4 ) )
-+          continue;
-+      if( strcmp( e->b_ref, b_ref ) )
-+          continue;
-+      if( strncmp( e->b_pin, b_pin, 4 ) )
-+          continue;
-+      return TRUE;
++        if( strcmp( e->a_ref, a_ref ) )
++            continue;
++        if( strncmp( e->a_pin, a_pin, 4 ) )
++            continue;
++        if( strcmp( e->b_ref, b_ref ) )
++            continue;
++        if( strncmp( e->b_pin, b_pin, 4 ) )
++            continue;
++        return TRUE;
 +    }
 +    return FALSE;
 +}
 +
 +
 +/********************************************************************/
-+static bool IsException( ObjetNetListStruct* a, ObjetNetListStruct* b )
++static bool IsException( NETLIST_OBJECT* a, NETLIST_OBJECT* b )
 +/********************************************************************/
 +{
 +    return FindException( a, b ) || FindException( b, a);
@@ -217,9 +228,9 @@
 +
 +
  /**************************************************/
- void WinEDA_ErcFrame::TestErc( wxCommandEvent& event )
+ void DIALOG_ERC::TestErc( wxArrayString* aMessagesList )
  /**************************************************/
-@@ -303,6 +485,7 @@
+@@ -248,6 +430,7 @@
  
      g_EESchemaVar.NbErrorErc   = 0;
      g_EESchemaVar.NbWarningErc = 0;
@@ -227,47 +238,47 @@
  
      /* Cleanup the entire hierarchy */
      EDA_ScreenList ScreenList;
-@@ -320,6 +503,8 @@
+@@ -272,6 +455,8 @@
  
      m_Parent->BuildNetListBase();
  
 +    LoadExceptions();
 +
-     /* Analyse de la table des connexions : */
-     Lim = g_TabObjNet + g_NbrObjNet;
+     /* Reset the flag m_FlagOfConnection, that will be used next, in 
calculations */
+     for( unsigned ii = 0;  ii < g_NetObjectslist.size(); ii++ )
+        g_NetObjectslist[ii]->m_FlagOfConnection = UNCONNECTED;
+@@ -339,7 +524,13 @@
  
-@@ -379,7 +564,13 @@
-     FreeTabNetList( g_TabObjNet, g_NbrObjNet );
- 
+     // Displays global results:
      wxString num;
 -    num.Printf( wxT( "%d" ), g_EESchemaVar.NbErrorErc );
 +
 +    if( g_EESchemaVar.NbExceptionErc >= 0)
-+      num.Printf( wxT( "%d (%d exception%s)" ), g_EESchemaVar.NbErrorErc,
-+        g_EESchemaVar.NbExceptionErc,
-+        g_EESchemaVar.NbExceptionErc == 1 ? wxT( "" ) : wxT( "s" ) );
++        num.Printf( wxT( "%d (%d exception%s)" ), g_EESchemaVar.NbErrorErc,
++          g_EESchemaVar.NbExceptionErc,
++          g_EESchemaVar.NbExceptionErc == 1 ? wxT( "" ) : wxT( "s" ) );
 +    else
-+      num.Printf( wxT( "%d" ), g_EESchemaVar.NbErrorErc );
++        num.Printf( wxT( "%d" ), g_EESchemaVar.NbErrorErc );
      m_TotalErrCount->SetLabel( num );
  
      num.Printf( wxT( "%d" ), g_EESchemaVar.NbErrorErc - 
g_EESchemaVar.NbWarningErc );
-@@ -693,6 +884,12 @@
-             if( NetItemTst->m_FlagOfConnection > 0 )
-               break;
+@@ -619,6 +810,12 @@
+             if( g_NetObjectslist[NetItemTst]->m_FlagOfConnection > 0 )
+                 break;
  
-+          if( IsException( NetItemRef, NetItemTst ) )
-+          {
-+              g_EESchemaVar.NbExceptionErc++;
-+              break;
-+          }
++            if( IsException( g_NetObjectslist[NetItemRef], 
g_NetObjectslist[NetItemTst] ) )
++            {
++                g_EESchemaVar.NbExceptionErc++;
++                break;
++            }
 +
-             Diagnose( panel, DC, NetItemRef, NetItemTst, 0, erc );
-             NetItemTst->m_FlagOfConnection = NOCONNECT;
+             Diagnose( panel, g_NetObjectslist[NetItemRef], 
g_NetObjectslist[NetItemTst], 0, erc );
+             g_NetObjectslist[NetItemTst]->m_FlagOfConnection = 
NOCONNECT_SYMBOL_PRESENT;
              break;
 Index: kicad/eeschema/general.h
 ===================================================================
---- kicad.orig/eeschema/general.h      2009-07-03 10:04:40.000000000 -0300
-+++ kicad/eeschema/general.h   2009-07-03 10:05:43.000000000 -0300
+--- kicad.orig/eeschema/general.h      2009-08-13 16:48:08.000000000 +0200
++++ kicad/eeschema/general.h   2009-08-13 16:49:08.000000000 +0200
 @@ -123,6 +123,7 @@
  {
      int NbErrorErc;

Modified: trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch
===================================================================
--- trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch  2009-08-13 
10:57:39 UTC (rev 5434)
+++ trunk/gta02-core/kicad-patches/fix-pinedit-collision.patch  2009-08-13 
19:49:35 UTC (rev 5435)
@@ -12,15 +12,15 @@
 
 Index: kicad/eeschema/pinedit.cpp
 ===================================================================
---- kicad.orig/eeschema/pinedit.cpp    2009-05-21 23:00:00.000000000 -0300
-+++ kicad/eeschema/pinedit.cpp 2009-05-21 23:00:12.000000000 -0300
+--- kicad.orig/eeschema/pinedit.cpp        2009-05-21 23:00:00.000000000 -0300
++++ kicad/eeschema/pinedit.cpp        2009-05-21 23:00:12.000000000 -0300
 @@ -193,6 +193,10 @@
              continue;
          if( newpos != Pin->m_Pos )
              continue;
 +        if( g_EditPinByPinIsOn &&
-+          Pin->m_Unit != CurrentPin->m_Unit &&
-+          Pin->m_Unit && CurrentPin->m_Unit )
++            Pin->m_Unit != CurrentPin->m_Unit &&
++            Pin->m_Unit && CurrentPin->m_Unit )
 +            continue;
          if( Pin->m_Flags )
              continue;

Modified: trunk/gta02-core/kicad-patches/series
===================================================================
--- trunk/gta02-core/kicad-patches/series       2009-08-13 10:57:39 UTC (rev 
5434)
+++ trunk/gta02-core/kicad-patches/series       2009-08-13 19:49:35 UTC (rev 
5435)
@@ -1,4 +1,4 @@
-# Based on SVN revision 1857
+# Based on SVN revision 1923
 
 # eeschema --plot extension, pending
 eeschema-plot-only-mode.patch

Modified: trunk/gta02-core/kicad-patches/streamline-erc.patch
===================================================================
--- trunk/gta02-core/kicad-patches/streamline-erc.patch 2009-08-13 10:57:39 UTC 
(rev 5434)
+++ trunk/gta02-core/kicad-patches/streamline-erc.patch 2009-08-13 19:49:35 UTC 
(rev 5435)
@@ -11,7 +11,7 @@
 ===================================================================
 --- kicad.orig/eeschema/erc.cpp        2009-07-03 05:00:34.000000000 -0300
 +++ kicad/eeschema/erc.cpp     2009-07-03 05:06:29.000000000 -0300
-@@ -683,18 +683,18 @@
+@@ -609,18 +609,18 @@
                  break;
  
              *NetNbItems += 1;
@@ -20,25 +20,25 @@
 -                erc = DiagErc[ref_elect_type][jj];
 -                if( erc != OK )
 -                {
--                    if( NetItemTst->m_FlagOfConnection == 0 )
+-                    if( g_NetObjectslist[NetItemTst]->m_FlagOfConnection == 0 
)
 -                    {
--                        Diagnose( panel, DC, NetItemRef, NetItemTst, 0, erc );
--                        NetItemTst->m_FlagOfConnection = NOCONNECT;
+-                        Diagnose( panel, g_NetObjectslist[NetItemRef], 
g_NetObjectslist[NetItemTst], 0, erc );
+-                        g_NetObjectslist[NetItemTst]->m_FlagOfConnection = 
NOCONNECT_SYMBOL_PRESENT;
 -                    }
 -                }
 -            }
 +            if( erc != OK )         // 1 marqueur par pin maxi
-+              break;
++                break;
 +
 +            erc = DiagErc[ref_elect_type][jj];
 +            if( erc == OK )
-+              break;
++                break;
 +
-+            if( NetItemTst->m_FlagOfConnection > 0 )
-+              break;
++            if( g_NetObjectslist[NetItemTst]->m_FlagOfConnection > 0 )
++                break;
 +
-+            Diagnose( panel, DC, NetItemRef, NetItemTst, 0, erc );
-+            NetItemTst->m_FlagOfConnection = NOCONNECT;
++            Diagnose( panel, g_NetObjectslist[NetItemRef], 
g_NetObjectslist[NetItemTst], 0, erc );
++            g_NetObjectslist[NetItemTst]->m_FlagOfConnection = 
NOCONNECT_SYMBOL_PRESENT;
              break;
          }
      }




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-08-14 01:30:16 +0200 (Fri, 14 Aug 2009)
New Revision: 5436

Modified:
   trunk/gta02-core/components/gta02-core-comp.pro
Log:
Added ge865.lib to components/gta02-core-comp.pro



Modified: trunk/gta02-core/components/gta02-core-comp.pro
===================================================================
--- trunk/gta02-core/components/gta02-core-comp.pro     2009-08-13 19:49:35 UTC 
(rev 5435)
+++ trunk/gta02-core/components/gta02-core-comp.pro     2009-08-13 23:30:16 UTC 
(rev 5436)
@@ -147,4 +147,5 @@
 LibName40=./upg2012tb.lib
 LibName41=./zxct1009.lib
 LibName42=./ht110.lib
-LibName43=debug_con
+LibName43=./debug_con.lib
+LibName44=./ge865.lib




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-08-14 01:34:05 +0200 (Fri, 14 Aug 2009)
New Revision: 5437

Added:
   trunk/gta02-core/docs/GETTING-STARTED
Log:
Added getting started instructions.



Added: trunk/gta02-core/docs/GETTING-STARTED
===================================================================
--- trunk/gta02-core/docs/GETTING-STARTED                               (rev 0)
+++ trunk/gta02-core/docs/GETTING-STARTED       2009-08-13 23:34:05 UTC (rev 
5437)
@@ -0,0 +1,158 @@
+Getting started in gta02-core
+=============================
+
+This is a brief guide to help new participants of the gta02-core project
+to get their bearings, and to help veterans to prop up their memory.
+
+
+Setting things up
+-----------------
+
+- Subscribe to the gta02-core list:
+
+  http://lists.openmoko.org/pipermail/gta02-core/
+
+- Consider joining the #gta02-core channel on irc.freenode.net
+
+- Check out the project:
+
+  svn co https://svn.openmoko.org/trunk/gta02-core/
+  cd gta02-core
+
+- You will need a recent version of KiCad. Many distributions come
+  with truly ancient versions. To build KiCad,
+
+  - download KiCad:
+
+    svn checkout https://kicad.svn.sourceforge.net/svnroot/kicad/trunk/kicad
+    cd kicad
+
+  - you need a recent development version of libboost (1.36 or higher)
+
+  - you need a recent development version of wxWindows (libwxgtk-2.8)
+
+  - Make a link to the patches of the gta02-core project:
+
+    ln -s ../kicad-patches patches
+
+  - Apply the patches:
+
+    quilt push -a
+
+  - Compile and install KiCad:
+
+    cmake .
+    make
+    make install
+
+  - we're done here, go back
+
+    cd ..
+
+- Build your local copy of the component (schematics symbol) library:
+
+  make update
+
+  (This also updates everything to the latest SVN revision.)
+
+- We keep a list of data sheet URLs and you can download and cache
+  them locally. To do so, decide on a location for the cache, e.g.,
+  /home/moko/dsv (dsv is "Data Sheet Viewer"), then
+
+  DSV_HOME=/home/moko/dsv make -C scripts dsv
+
+  Then add $DSV_HOME/bin to your PATH, and you'll be able to view
+  data sheets with commands like dsv-sc32442, dsv-cpu, etc. See
+  $DSV_HOME/bin/ and components/INFO for the complete collection.
+
+- Things to see and do:
+
+  - (re)view and edit components (schematics symbols)
+
+  - (re)view and edit the schematics
+
+  - (re)view and edit the ECNs (Engineering Change Notices)
+
+  - (re)view and edit footprints (coming soon)
+
+  - (re)view and edit the layout (coming soon)
+
+
+(Re)viewing and editing components
+----------------------------------
+
+Feeling lazy ? Then use the pre-built PDF link for the "expanded view"
+on http://people.openmoko.org/werner/gta02-core.html
+
+To view and edit the components, you can run eeschema in the components/
+directory:
+
+  cd components
+  eeschema gta02-core-comp.sch
+
+A shorthand for this is
+
+  cd components
+  make sch
+
+The invoke the "Library Viewer" or the "Library Editor".
+
+Components are kept in *.lib files in components/, one component per
+library. They are merged in a combined library with the script "mkloe"
+in the same directory. You usually don't invoke "mkloe" directly, but
+run
+
+  make update
+
+in the project's top-level directory.
+
+The review status of components is recorded in components/STATUS
+
+Additional information, specifically links to data sheets, is in the
+file components/INFO
+
+
+(Re)viewing and editing schematics
+----------------------------------
+
+Feeling lazy ? Then use the pre-built PDF link for the schematics on
+http://people.openmoko.org/werner/gta02-core.html
+
+To view and edit the schematics, run KiCad on them:
+
+  eeschema gta02-core.sch
+
+or, if this doesn't work (older versions of KiCad),
+
+  eeschema `pwd`/gta02-core.sch
+
+A shorthand for this is "make sch".
+
+The schematics are kept in the top-level directory, in files called
+*.sch. Their review status is tracked in the file STATUS.
+
+Note: when saving schematics, don't use "Save Project" but save the
+page(s) you've changed with "Save". Otherwise, the timestamp on all
+pages changes, which may create conflicts when submitting things or
+when pulling updates.
+
+
+(Re)viewing and editing ECNs
+----------------------------
+
+The ECNs are keps in docs/ecn/. Their structure is described in
+docs/ecn/README. Their status is tracked in docs/ecn/STATUS.
+
+Wherever possible and remotely useful, ECNs should be referenced in
+the schematics.
+
+
+Making changes
+--------------
+
+When making changes, please mail a patch to the gta02-core list. After
+a while, once you've made a few patches, you'll usually be given direct
+commit access.
+
+When making a major contribution, please add your name to AUTHORS.
+If you do a review, please add your name to the respective STATUS file.




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to