+2004-09-14 Helge Hess <helge.hess@skyrix.com>
+
+ * ICalSaxParser.m: minor improvement to logging (v4.3.15)
+
2004-09-11 Marcus Mueller <znek@mulle-kybernetik.com>
* GNUmakefile.preamble: minor changes for inline compilation with
# $Id$
include $(GNUSTEP_MAKEFILES)/common.make
+-include ../../Version
+-include ./Version
BUNDLE_NAME = iCalSaxDriver
BUNDLE_EXTENSION = .sax
-BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SaxDrivers-4.3/
+BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SaxDrivers-$(MAJOR_VERSION).$(MINOR_VERSION)/
iCalSaxDriver_OBJC_FILES = \
ICalSaxParser.m \
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "ICalSaxParser.h"
#include "NSString+ICal.h"
/* logging of unknown elements etc */
- (void)logUnknownComponentKind:(icalcomponent *)_comp {
- NSLog(@"%s: cannot process component kind %s",
+ NSLog(@"%s: cannot process component kind: '%s'",
__PRETTY_FUNCTION__,
- icalenum_component_kind_to_string(icalcomponent_isa(_comp)));
+ _comp
+ ?icalenum_component_kind_to_string(icalcomponent_isa(_comp)):"null");
}
- (void)logUnknownPropertyKind:(icalproperty *)_p {
- NSLog(@"%s: cannot process property kind %s",
+ NSLog(@"%s: cannot process property kind: '%s'",
__PRETTY_FUNCTION__,
- icalenum_property_kind_to_string(icalproperty_isa(_p)));
+ _p ? icalenum_property_kind_to_string(icalproperty_isa(_p)) : "null");
}
- (void)logUnknownParameterKind:(icalparameter *)_pa {
- NSLog(@"%s: cannot process parameter kind %s",
+ NSLog(@"%s: cannot process parameter kind: '%s'",
__PRETTY_FUNCTION__,
- icalparameter_kind_to_string(icalparameter_isa(_pa)));
+ _pa ? icalparameter_kind_to_string(icalparameter_isa(_pa)): "null");
}
/* walking */
ifneq ($(FHS_INSTALL_ROOT),)
FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
-FHS_SAX_DIR=$(FHS_LIB_DIR)sope-4.3/saxdrivers/
+FHS_SAX_DIR=$(FHS_LIB_DIR)sope-$(MAJOR_VERSION).$(MINOR_VERSION)/saxdrivers/
fhs-sax-dirs ::
$(MKDIRS) $(FHS_SAX_DIR)