You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
(58) |
May
(28) |
Jun
(308) |
Jul
(11) |
Aug
(1) |
Sep
|
Oct
(3) |
Nov
(4) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(4) |
Feb
(8) |
Mar
(3) |
Apr
(3) |
May
(8) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2009 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
|
18
|
19
|
20
|
21
|
22
|
23
(2) |
24
|
|
25
|
26
(5) |
27
|
28
|
29
|
30
(1) |
31
|
|
From: <kt...@us...> - 2008-05-30 10:21:21
|
Revision: 1605
http://tomoe.svn.sourceforge.net/tomoe/?rev=1605&view=rev
Author: ktou
Date: 2008-05-30 03:21:27 -0700 (Fri, 30 May 2008)
Log Message:
-----------
* module/recognizer/tomoe-recognizer-simple.c: load XML dictionary as fallback.
Modified Paths:
--------------
tomoe/trunk/ChangeLog
tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c
Modified: tomoe/trunk/ChangeLog
===================================================================
--- tomoe/trunk/ChangeLog 2008-05-26 06:00:31 UTC (rev 1604)
+++ tomoe/trunk/ChangeLog 2008-05-30 10:21:27 UTC (rev 1605)
@@ -1,3 +1,8 @@
+2008-05-30 Kouhei Sutou <ko...@co...>
+
+ * module/recognizer/tomoe-recognizer-simple.c: load XML dictionary
+ as fallback.
+
2008-05-26 Kouhei Sutou <ko...@co...>
* data/xml2binary.c: add. (need more work (e.g. data/Makefile.am
Modified: tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c
===================================================================
--- tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c 2008-05-26 06:00:31 UTC (rev 1604)
+++ tomoe/trunk/module/recognizer/tomoe-recognizer-simple.c 2008-05-30 10:21:27 UTC (rev 1605)
@@ -167,7 +167,33 @@
return g_strdup (G_LOG_DOMAIN);
}
+static TomoeDict *
+load_dictionary (const gchar *type, const gchar *suffix, const gchar *language)
+{
+ TomoeDict *dict = NULL;
+ gchar *dict_name;
+ gchar *filename;
+ if (language)
+ dict_name = g_strconcat ("handwriting-", language, suffix, NULL);
+ else
+ dict_name = g_strconcat ("handwriting", suffix, NULL);
+
+ filename = g_build_filename (RECOGNIZER_DATADIR, dict_name, NULL);
+ dict = tomoe_dict_new (type,
+ "filename", filename,
+ NULL);
+ if (dict && !tomoe_dict_is_available (dict)) {
+ g_object_unref (dict);
+ dict = NULL;
+ }
+
+ g_free(dict_name);
+ g_free(filename);
+
+ return dict;
+}
+
static GObject *
constructor (GType type, guint n_props,
GObjectConstructParam *props)
@@ -181,26 +207,12 @@
if (!recognizer->dict) {
const gchar *language;
- gchar *dict_name;
- gchar *filename;
language = tomoe_recognizer_get_language (TOMOE_RECOGNIZER (object));
- if (language)
- dict_name = g_strconcat ("handwriting-", language, ".bin", NULL);
- else
- dict_name = g_strdup ("handwriting.bin");
- filename = g_build_filename (RECOGNIZER_DATADIR, dict_name, NULL);
- recognizer->dict = tomoe_dict_new ("binary",
- "filename", filename,
- NULL);
- if (recognizer->dict && !tomoe_dict_is_available (recognizer->dict)) {
- g_object_unref (recognizer->dict);
- recognizer->dict = NULL;
- }
-
- g_free(dict_name);
- g_free(filename);
+ recognizer->dict = load_dictionary ("binary", ".bin", language);
+ if (!recognizer->dict)
+ recognizer->dict = load_dictionary ("xml", ".xml", language);
}
return object;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ma...@us...> - 2008-05-26 06:00:25
|
Revision: 1604
http://tomoe.svn.sourceforge.net/tomoe/?rev=1604&view=rev
Author: makeinu
Date: 2008-05-25 23:00:31 -0700 (Sun, 25 May 2008)
Log Message:
-----------
g_free() -> g_object_unref().
Modified Paths:
--------------
tomoe/trunk/data/xml2binary.c
Modified: tomoe/trunk/data/xml2binary.c
===================================================================
--- tomoe/trunk/data/xml2binary.c 2008-05-26 04:59:27 UTC (rev 1603)
+++ tomoe/trunk/data/xml2binary.c 2008-05-26 06:00:31 UTC (rev 1604)
@@ -41,8 +41,8 @@
tomoe_dict_copy (xml_dict, binary_dict);
- g_free (xml_dict);
- g_free (binary_dict);
+ g_object_unref (xml_dict);
+ g_object_unref (binary_dict);
tomoe_quit ();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ma...@us...> - 2008-05-26 04:59:19
|
Revision: 1603
http://tomoe.svn.sourceforge.net/tomoe/?rev=1603&view=rev
Author: makeinu
Date: 2008-05-25 21:59:27 -0700 (Sun, 25 May 2008)
Log Message:
-----------
Remove ".libs" from the path of libtomoe.la.
Modified Paths:
--------------
tomoe/trunk/data/Makefile.am
Modified: tomoe/trunk/data/Makefile.am
===================================================================
--- tomoe/trunk/data/Makefile.am 2008-05-26 04:42:43 UTC (rev 1602)
+++ tomoe/trunk/data/Makefile.am 2008-05-26 04:59:27 UTC (rev 1603)
@@ -22,7 +22,7 @@
INCLUDES = $(TOMOE_CFLAGS)
noinst_PROGRAMS = xml2binary
-xml2binary_LDADD = $(TOMOE_LIBS) ../lib/.libs/libtomoe.la
+xml2binary_LDADD = $(TOMOE_LIBS) ../lib/libtomoe.la
xml2binary_SOURCES = xml2binary.c
pkgdata_DATA = dict.dtd xml2est.rb kanjidic2xml.rb
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ma...@us...> - 2008-05-26 04:51:57
|
Revision: 1602
http://tomoe.svn.sourceforge.net/tomoe/?rev=1602&view=rev
Author: makeinu
Date: 2008-05-25 21:42:43 -0700 (Sun, 25 May 2008)
Log Message:
-----------
Build xml2binary.
Modified Paths:
--------------
tomoe/trunk/data/Makefile.am
Modified: tomoe/trunk/data/Makefile.am
===================================================================
--- tomoe/trunk/data/Makefile.am 2008-05-26 04:33:27 UTC (rev 1601)
+++ tomoe/trunk/data/Makefile.am 2008-05-26 04:42:43 UTC (rev 1602)
@@ -20,6 +20,11 @@
CLEANFILES = *~ *.bak *.valid
+INCLUDES = $(TOMOE_CFLAGS)
+noinst_PROGRAMS = xml2binary
+xml2binary_LDADD = $(TOMOE_LIBS) ../lib/.libs/libtomoe.la
+xml2binary_SOURCES = xml2binary.c
+
pkgdata_DATA = dict.dtd xml2est.rb kanjidic2xml.rb
dict_data_DATA =
recognizer_data_DATA = handwriting-zh_CN.xml handwriting-ja.xml
@@ -54,6 +59,8 @@
validate: handwriting-zh_CN.valid handwriting-ja.valid kanjidic2.valid
+
+
# temporary added for hardcoded test code.
# should be removed
BUILT_SOURCES = handwriting.xml
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ma...@us...> - 2008-05-26 04:33:22
|
Revision: 1601
http://tomoe.svn.sourceforge.net/tomoe/?rev=1601&view=rev
Author: makeinu
Date: 2008-05-25 21:33:27 -0700 (Sun, 25 May 2008)
Log Message:
-----------
Not a ruby code ;-)
Modified Paths:
--------------
tomoe/trunk/data/xml2binary.c
Modified: tomoe/trunk/data/xml2binary.c
===================================================================
--- tomoe/trunk/data/xml2binary.c 2008-05-26 03:22:33 UTC (rev 1600)
+++ tomoe/trunk/data/xml2binary.c 2008-05-26 04:33:27 UTC (rev 1601)
@@ -1,6 +1,7 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#include <stdlib.h>
+#include <string.h>
#include <glib/gstdio.h>
#include <tomoe.h>
@@ -20,8 +21,8 @@
tomoe_init ();
xml_dict = tomoe_dict_new ("xml",
- "filename" => argv[1],
- "editable" => FALSE,
+ "filename", argv[1],
+ "editable", FALSE,
NULL);
if (g_str_has_suffix (argv[1], ".xml")) {
@@ -33,8 +34,8 @@
binary_file_name = g_strconcat (argv[1], ".bin", NULL);
}
binary_dict = tomoe_dict_new ("binary",
- "filename" => binary_file_name,
- "editable" => TRUE,
+ "filename", binary_file_name,
+ "editable", TRUE,
NULL);
g_free(binary_file_name);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <kt...@us...> - 2008-05-26 03:22:26
|
Revision: 1600
http://tomoe.svn.sourceforge.net/tomoe/?rev=1600&view=rev
Author: ktou
Date: 2008-05-25 20:22:33 -0700 (Sun, 25 May 2008)
Log Message:
-----------
* data/xml2binary.c: add. (need more work (e.g. data/Makefile.am and so on...)
but maybe work.)
Modified Paths:
--------------
tomoe/trunk/ChangeLog
Added Paths:
-----------
tomoe/trunk/data/xml2binary.c
Modified: tomoe/trunk/ChangeLog
===================================================================
--- tomoe/trunk/ChangeLog 2008-05-23 16:46:12 UTC (rev 1599)
+++ tomoe/trunk/ChangeLog 2008-05-26 03:22:33 UTC (rev 1600)
@@ -1,3 +1,8 @@
+2008-05-26 Kouhei Sutou <ko...@co...>
+
+ * data/xml2binary.c: add. (need more work (e.g. data/Makefile.am
+ and so on...) but maybe work.)
+
2008-03-26 Takuro Ashie <as...@ho...>
* module/dict/tomoe-unihan.c: Reverse search order.
Added: tomoe/trunk/data/xml2binary.c
===================================================================
--- tomoe/trunk/data/xml2binary.c (rev 0)
+++ tomoe/trunk/data/xml2binary.c 2008-05-26 03:22:33 UTC (rev 1600)
@@ -0,0 +1,53 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+
+#include <stdlib.h>
+#include <glib/gstdio.h>
+
+#include <tomoe.h>
+#include <tomoe-dict.h>
+
+int
+main (gint argc, gchar **argv)
+{
+ TomoeDict *xml_dict, *binary_dict;
+ gchar *binary_file_name;
+
+ if (argc != 2) {
+ g_print ("Usage: %s XXX.xml\n", argv[0]);
+ exit (EXIT_FAILURE);
+ }
+
+ tomoe_init ();
+
+ xml_dict = tomoe_dict_new ("xml",
+ "filename" => argv[1],
+ "editable" => FALSE,
+ NULL);
+
+ if (g_str_has_suffix (argv[1], ".xml")) {
+ gchar *base_name;
+ base_name = g_strndup (argv[1], strlen (argv[1]) - strlen (".xml"));
+ binary_file_name = g_strconcat (base_name, ".bin", NULL);
+ g_free (base_name);
+ } else {
+ binary_file_name = g_strconcat (argv[1], ".bin", NULL);
+ }
+ binary_dict = tomoe_dict_new ("binary",
+ "filename" => binary_file_name,
+ "editable" => TRUE,
+ NULL);
+ g_free(binary_file_name);
+
+ tomoe_dict_copy (xml_dict, binary_dict);
+
+ g_free (xml_dict);
+ g_free (binary_dict);
+
+ tomoe_quit ();
+
+ return EXIT_SUCCESS;
+}
+
+/*
+vi:ts=4:nowrap:ai:expandtab
+*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mbl...@us...> - 2008-05-23 16:47:44
|
Revision: 1599
http://tomoe.svn.sourceforge.net/tomoe/?rev=1599&view=rev
Author: mblondel
Date: 2008-05-23 09:46:12 -0700 (Fri, 23 May 2008)
Log Message:
-----------
2008-05-24 Mathieu Blondel <mbl...@ru...>
* bindings/python/tomoegtk-canvas.override: Fixed CONVERT_LIST
undefined symbol error.
Modified Paths:
--------------
tomoe-gtk/trunk/ChangeLog
tomoe-gtk/trunk/bindings/python/tomoegtk-canvas.override
Modified: tomoe-gtk/trunk/ChangeLog
===================================================================
--- tomoe-gtk/trunk/ChangeLog 2008-05-23 01:04:09 UTC (rev 1598)
+++ tomoe-gtk/trunk/ChangeLog 2008-05-23 16:46:12 UTC (rev 1599)
@@ -1,3 +1,8 @@
+2008-05-24 Mathieu Blondel <mbl...@ru...>
+
+ * bindings/python/tomoegtk-canvas.override: Fixed CONVERT_LIST
+ undefined symbol error.
+
2008-05-23 Hiroyuki Ikezoe <poi...@ik...>
* src/Makefile.am: Added tomoe-gtk-enum-types.c into
Modified: tomoe-gtk/trunk/bindings/python/tomoegtk-canvas.override
===================================================================
--- tomoe-gtk/trunk/bindings/python/tomoegtk-canvas.override 2008-05-23 01:04:09 UTC (rev 1598)
+++ tomoe-gtk/trunk/bindings/python/tomoegtk-canvas.override 2008-05-23 16:46:12 UTC (rev 1599)
@@ -15,7 +15,7 @@
candidates = tomoe_canvas_get_candidates (TOMOE_CANVAS(self->obj));
- CONVERT_LIST (py_cands, (GList *) candidates);
+ CONVERT_OBJECT_LIST (py_cands, (GList *) candidates);
return py_cands;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ik...@us...> - 2008-05-23 01:04:01
|
Revision: 1598
http://tomoe.svn.sourceforge.net/tomoe/?rev=1598&view=rev
Author: ikezoe
Date: 2008-05-22 18:04:09 -0700 (Thu, 22 May 2008)
Log Message:
-----------
2008-05-23 Hiroyuki Ikezoe <poi...@ik...>
* src/Makefile.am: Added tomoe-gtk-enum-types.c into
libtomoe_gtk_la_SOURCES to embed tomoe_char_table_layout_get_type
symbol into tomoe-gtk library.
Reported by Ian Johnson and pointed out by Mathieu Blondel.
* src/enum-types.mk: Remove $(enum_source_prefix).[ch]. These files
are listed in Makefile.am.
Modified Paths:
--------------
tomoe-gtk/trunk/ChangeLog
tomoe-gtk/trunk/src/Makefile.am
tomoe-gtk/trunk/src/enum-types.mk
Modified: tomoe-gtk/trunk/ChangeLog
===================================================================
--- tomoe-gtk/trunk/ChangeLog 2008-04-24 08:31:32 UTC (rev 1597)
+++ tomoe-gtk/trunk/ChangeLog 2008-05-23 01:04:09 UTC (rev 1598)
@@ -1,3 +1,13 @@
+2008-05-23 Hiroyuki Ikezoe <poi...@ik...>
+
+ * src/Makefile.am: Added tomoe-gtk-enum-types.c into
+ libtomoe_gtk_la_SOURCES to embed tomoe_char_table_layout_get_type
+ symbol into tomoe-gtk library.
+ Reported by Ian Johnson and pointed out by Mathieu Blondel.
+
+ * src/enum-types.mk: Remove $(enum_source_prefix).[ch]. These files
+ are listed in Makefile.am.
+
2008-01-23 Kouhei Sutou <ko...@co...>
* src/Makefile.am: fixed dependencies.
Modified: tomoe-gtk/trunk/src/Makefile.am
===================================================================
--- tomoe-gtk/trunk/src/Makefile.am 2008-04-24 08:31:32 UTC (rev 1597)
+++ tomoe-gtk/trunk/src/Makefile.am 2008-05-23 01:04:09 UTC (rev 1598)
@@ -18,7 +18,8 @@
tomoe-handwriting.c \
tomoe-reading-search.c \
tomoe-scrollable.c \
- tomoe-window.c
+ tomoe-window.c \
+ tomoe-gtk-enum-types.c
libtomoe_gtk_la_LDFLAGS = \
-version-info $(LT_VERSION_INFO) \
Modified: tomoe-gtk/trunk/src/enum-types.mk
===================================================================
--- tomoe-gtk/trunk/src/enum-types.mk 2008-04-24 08:31:32 UTC (rev 1597)
+++ tomoe-gtk/trunk/src/enum-types.mk 2008-05-23 01:04:09 UTC (rev 1598)
@@ -1,14 +1,10 @@
# -*- Mode: Makefile; tab-width: 8; indent-tabs-mode: t; -*-
BUILT_SOURCES += \
- $(enum_source_prefix).c \
- $(enum_source_prefix).h \
stamp-$(enum_source_prefix)-c \
stamp-$(enum_source_prefix)-h
CLEANFILES += \
- $(enum_source_prefix).c \
- $(enum_source_prefix).h \
stamp-$(enum_source_prefix)-c \
stamp-$(enum_source_prefix)-h
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|