CVSROOT: /cvs/gnome
Module name: glom
Changes by: murrayc 06/01/17 09:28:21
Modified files:
. : ChangeLog
glom : base_db.cc
glom/data_structure: field.cc glomconversions.cc
glom/utility_widgets: imageglom.cc
Log message:
2006-01-17 Murray Cumming <[EMAIL PROTECTED]>
* glom/data_structure/field.cc: sql(): Move text escaping code into
glom_escape_text() so it can be reused. For IMAGE fields, assume that
get_binary() is already the escaped binary format, but escape it
again as text, so we get the \ needed for SQL commands.
* glom/data_structure/glomconversions.cc: get_escaped_binary_data():
Use one \, not \ to separate byte numbers, because that's the format
used by get/set_binary() in libgda at the moment.
* glom/utility_widgets/imageglom.cc:
get_value(): Use GlomConversions::get_escaped_binary_data() before
set_binary() because Glom must assume elsewhere that it is escaped
in all GdaValues. This workaround will all be unnecessary in libgda-2.0,
which properly unescapes binary buffers.
Images are now saved properly into examples, and inserted properly into
the new databases that are created when examples are opened.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glom&who=murrayc&date=explicit&mindate=2006-01-17%2009:27&maxdate=2006-01-17%2009:29
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list