[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: DXF import



Le Mon, Sep 09, 2002, à 05:15:38PM -0600, Angus Ainslie a écrit:

Angus, 

  as I previously said, if the patch doesn't apply cleanly on CVS, we will
have trouble applying it -- you can download snapshots tarballs of the CVS
at http://www.crans.org/~chepelov/dia if accessing the CVS server is
unpossible to you. I hope bandwith is not a problem.

> diff -x Makefile -x .* -x dxf-ex* -x dxf.c -wdNu dia/plug-ins/dxf/Makefile.am dia-0.90/plug-ins/dxf/Makefile.am
> --- dia/plug-ins/dxf/Makefile.am	Mon Sep  9 06:36:46 2002
> +++ dia-0.90/plug-ins/dxf/Makefile.am	Wed Dec 31 17:00:00 1969
> @@ -1,13 +0,0 @@
> -## Process this file with automake to produce Makefile.in

Why does this patch completely remove plug-ins/dxf/Makefile.am ?

> diff -x Makefile -x .* -x dxf-ex* -x dxf.c -wdNu dia/plug-ins/dxf/autocad_pal.h dia-0.90/plug-ins/dxf/autocad_pal.h
> --- dia/plug-ins/dxf/autocad_pal.h	Wed Dec 31 17:00:00 1969
> +++ dia-0.90/plug-ins/dxf/autocad_pal.h	Fri Jul  5 10:24:40 2002
> @@ -0,0 +1,265 @@
> +typedef struct 
> +{
> +   unsigned char r, g, b;
> +} RGB_t;


Huh? This file has no GPL header and no #include guards? 

>  /* reads a line entity from the dxf file and creates a line object in dia*/
> -void read_entity_line_dxf(FILE *filedxf, DxfData *data, DiagramData *dia){
> +Object *read_entity_line_dxf(FILE *filedxf, DxfData *data, DiagramData *dia){
>      int codedxf;

[snip]
> @@ -185,6 +219,368 @@
>      line_obj->ops->set_props(line_obj, props);
>  
>      prop_list_free(props);
> +   
> +   return( line_obj );
> +}

This is a Good thing. 

Some parts of your patch look like backports of the CVS; generally, it seems
it goes in the right direction. I would like to apply this.

	-- Cyrille

-- 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK