[uim-commit] r163 - in trunk: doc uim

yamaken@freedesktop.org yamaken@freedesktop.org
Fri Jan 7 20:01:27 PST 2005


Author: yamaken
Date: 2005-01-07 20:01:25 -0800 (Fri, 07 Jan 2005)
New Revision: 163

Modified:
   trunk/doc/COMPATIBILITY
   trunk/uim/uim-compat-scm.h
   trunk/uim/uim-custom.h
   trunk/uim/uim-scm.h
   trunk/uim/uim.h
Log:
* uim/uim.h
  - (uim_bool): New type moved from uim-scm.h
  - (UIM_FALSE, UIM_TRUE): New macro moved from uim-scm.h
uim/uim-scm.h
  - (uim_bool): Move to uim.h
  - (UIM_FALSE, UIM_TRUE): Move to uim.h
  - Add #include "uim.h" for uim_bool
* uim/uim-custom.h
  - Remove #include "uim-scm.h" for uim_bool
  - Add #include "uim.h" for uim_bool
* uim/uim-compat-scm.h
  - Add #include "uim.h" for uim_bool
* COMPATIBILITY
  - Describe revision number reset caused by the compromise, and about
    new revision number notation such as 'ac-r40' to distinguish from
    old one. 'ac' stands for 'after compromised'.
  - Add a new entry 'A boolean type for uim'


Modified: trunk/doc/COMPATIBILITY
===================================================================
--- trunk/doc/COMPATIBILITY	2005-01-08 03:06:15 UTC (rev 162)
+++ trunk/doc/COMPATIBILITY	2005-01-08 04:01:25 UTC (rev 163)
@@ -27,6 +27,11 @@
     Which revision(s) performs the change. Enumerate as comma separated
     revision numbers if performed by several commit
 
+    When freedesktop.org had been compromised, we had reset the
+    repository. Because this had also reset revision number, we
+    describe such new revision numbers as 'ac-r40' to distinguish from
+    old one. 'ac' stands for 'after compromised'.
+
   - Date
     When the change committed into the repository
 
@@ -53,6 +58,26 @@
 The changes are described below in most recently updated order.
 
 ------------------------------------------------------------------------------
+Summary: A boolean type for uim
+Affects: Helper program developers, Bridge developers, uim developers
+Updates: C API
+Version: 0.4.6
+Revision: ac-r40, ac-r53, ac-r163
+Date: 2004-12-17 - 2005-01-08
+Modifier: YamaKen
+Related: custom API
+URL:
+  http://lists.freedesktop.org/pipermail/uim/2005-January/000831.html
+  http://lists.freedesktop.org/pipermail/uim/2005-January/000878.html
+Changes:
+  (new) uim_bool
+  (new) UIM_TRUE
+  (new) UIM_FALSE
+Description:
+  A boolean type for uim to explicitly indicate intention about values.  A
+  true value is represented as (val != UIM_FALSE). i.e. Don't test a value
+  with (val == UIM_TRUE).
+------------------------------------------------------------------------------
 Summary: New action handling framework
 Affects: IM developers
 Updates: Scheme API

Modified: trunk/uim/uim-compat-scm.h
===================================================================
--- trunk/uim/uim-compat-scm.h	2005-01-08 03:06:15 UTC (rev 162)
+++ trunk/uim/uim-compat-scm.h	2005-01-08 04:01:25 UTC (rev 163)
@@ -53,6 +53,7 @@
 #ifndef _uim_compat_scm_h_included_
 #define _uim_compat_scm_h_included_
 
+#include "uim.h"
 #include "uim-scm.h"
 
 #ifdef __cplusplus

Modified: trunk/uim/uim-custom.h
===================================================================
--- trunk/uim/uim-custom.h	2005-01-08 03:06:15 UTC (rev 162)
+++ trunk/uim/uim-custom.h	2005-01-08 04:01:25 UTC (rev 163)
@@ -35,8 +35,7 @@
 #ifndef _uim_custom_h_included_
 #define _uim_custom_h_included_
 
-/* for uim_bool */
-#include "uim-scm.h"
+#include "uim.h"
 
 #ifdef __cplusplus
 extern "C" {

Modified: trunk/uim/uim-scm.h
===================================================================
--- trunk/uim/uim-scm.h	2005-01-08 03:06:15 UTC (rev 162)
+++ trunk/uim/uim-scm.h	2005-01-08 04:01:25 UTC (rev 163)
@@ -47,24 +47,13 @@
 #define _uim_scm_h_included_
 
 #include <stdio.h>
+#include "uim.h"
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#if 1
-/*
-  I want a boolean type for uim to explicitly indicate intention about
-  values. It should be reorganized into uim.h after agreement with
-  other developers. -- YamaKen 2004-12-17
-*/
-typedef int uim_bool;
 
-#define UIM_FALSE 0
-#define UIM_TRUE 1
-#endif
-
-
 /*
   uim companion tools should treat lisp object as opaque. struct
   uim_opaque exists only for type check and has no actual definition.

Modified: trunk/uim/uim.h
===================================================================
--- trunk/uim/uim.h	2005-01-08 03:06:15 UTC (rev 162)
+++ trunk/uim/uim.h	2005-01-08 04:01:25 UTC (rev 163)
@@ -41,6 +41,13 @@
 
 #include <stdio.h>
 
+/* a boolean type for uim to explicitly indicate intention about values */
+typedef int uim_bool;
+
+#define UIM_FALSE 0
+#define UIM_TRUE 1
+
+
 typedef struct uim_context_ *uim_context;
 
 typedef struct uim_candidate_ *uim_candidate;



More information about the Uim-commit mailing list