libxml 1-2-3

2001-08-18 Thread Hans Breuer

Hi Cyrille,
your recent libxml changes introduce a problem (which is
probably long-time built-in in libxml). Why does a single
library need two names ?

In dia_xml.c you are referencing the libxml headers as
 but there are many places which just
#include "tree.h".

Really fixing it isn't allowed, because AFAIK at least
gnome install libxml (1.8.x) headers under http://mail.gnome.org/mailman/listinfo/dia-list



Re: libxml 1-2-3

2001-08-18 Thread Cyrille Chepelov

Le sam, aoû 18, 2001, à 05:40:11 +0200, Hans Breuer a écrit:
> Hi Cyrille,
> your recent libxml changes introduce a problem (which is
> probably long-time built-in in libxml). Why does a single
> library need two names ?
> 
> In dia_xml.c you are referencing the libxml headers as
>  but there are many places which just
> #include "tree.h".

the  seems to me to be a leftover from older times. In fact
libxml1 itself is a leftover...

> Really fixing it isn't allowed, because AFAIK at least
> gnome install libxml (1.8.x) headers under  .
symlink. 

I think that switching every #include to the form  would make sense
(since we have to include $(XML_CFLAGS) on modules which require 
and friends). Regardless of the version used, $XML_CFLAGS will provide the
correct -I 

> Also many of your new prop_*.* files do include xml
> headers in .h _and_ .c. Is this a feature ?

An oversight, most certainly. 

> What do you suggest ?

Clean up what you can't tolerate, or what stops your compilation... 

Different topic: how do the .sheet/.sheet.in changes affect the win32 build ? 

-- Cyrille

-- 
Grumpf.


___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Dia ChangeLog report for Sun Aug 19 07:23:02 2001 (UTC)

2001-08-18 Thread Dia ChangeLog Daemon

*** Recent ChangeLog entries:

--- ChangeLog.previous  Sat Aug 18 09:23:27 2001
+++ dia-cvs-snapshot/ChangeLog  Sun Aug 19 09:23:17 2001
@@ -1,3 +1,36 @@
+2001-08-18  Hans Breuer  <[EMAIL PROTECTED]>
+
+   * app/app_procs.c : made it compile without ENABLE_NLS
+
+   * app/diap_callbacks.c : strcmp isn't guaranteed to work
+   with NULL pointers
+
+   * app/load_save.c :
+   * lib/plug-ins.c :
+   * objects/custom/shape_info.c : avoid mixing allocators and dealocators.
+   It has to be :
+   xmlGetProp, ... -> xmlFree
+   malloc, strdup -> free
+   g_new, g_malloc, g_strdup - > g_free
+
+   * app/win32print.c : some more error checking, still not
+   working on Win9x
+
+   * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
+
+   * lib/dia_xml.c : msvc still has no unistd.h
+
+   * lib/dia_xml.c :
+   * lib/sheets.c : temporary resolved libxml include brokeness
+
+   * plug-ins/python/pydia-*.c : reflect Font and StdProp api
+   changes. Compiles again, but doesn't do anything useful anymore.
+   (see THE_PROP_TYPE_IS_INTEGRAL)
+
+   * **/makefile.msc : updated to use LIBXML2
+
+   * lib/libdia.def : reflect api changes
+
 2001-08-17  Cyrille Chepelov  <[EMAIL PROTECTED]>

* config.h.win32: added defines telling that gtk speaks UTF8.

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list