changeset 96763:a27390a84360

change most cases of PENDING to TODO, some to FIXME or XXX
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Thu, 17 Jul 2008 13:50:30 +0000
parents 7124d8656633
children 1307c33f5e9a
files src/ChangeLog src/config.in src/dispextern.h src/frame.c src/image.c src/nsfns.m src/nsterm.h src/s/darwin.h src/xdisp.c
diffstat 9 files changed, 33 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/ChangeLog	Thu Jul 17 13:50:30 2008 +0000
@@ -1,3 +1,19 @@
+2008-07-16  Adrian Robert <Adrian.B.Robert@gmail.com>
+
+	* config.in
+	* dispextern.h
+	* frame.c
+	* image.c
+	* nsfns.m
+	* nsfont.m
+	* nsgui.h
+	* nsmenu.m
+	* nsterm.h
+	* nsterm.m
+	* s/darwin.h
+	* xdisp.c: Change most cases of PENDING to TODO, some to FIXME or
+	XXX.
+
 2008-07-17  Andreas Schwab  <schwab@suse.de>
 
 	* s/cygwin.h (LIB_STANDARD_LIBSRC): Don't define.
--- a/src/config.in	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/config.in	Thu Jul 17 13:50:30 2008 +0000
@@ -997,7 +997,7 @@
 #define CANNOT_DUMP
 #endif
 
-/* PENDING: These are used for the Carbon port only. */
+/* TODO: These are used for the Carbon port only. */
 #undef MAC_OS
 #undef MAC_OSX
 
--- a/src/dispextern.h	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/dispextern.h	Thu Jul 17 13:50:30 2008 +0000
@@ -2946,7 +2946,7 @@
    an hourglass cursor on all frames.  */
 extern struct atimer *hourglass_atimer;
 
-/* Each GUI implements these.  PENDING: move into RIF. */
+/* Each GUI implements these.  FIXME: move into RIF. */
 extern void show_hourglass P_ ((struct atimer *));
 extern void hide_hourglass P_ ((void));
 
--- a/src/frame.c	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/frame.c	Thu Jul 17 13:50:30 2008 +0000
@@ -2986,7 +2986,7 @@
 
 	  old_value = get_frame_param (f, prop);
  	  fullscreen_is_being_set |= EQ (prop, Qfullscreen);
-#ifndef HAVE_NS  /* PENDING: ensure font attrs change goes through */
+#ifndef HAVE_NS  /* XXX: ensure font attrs change goes through */
 	  if (NILP (Fequal (val, old_value)))
 #endif
 	    {
--- a/src/image.c	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/image.c	Thu Jul 17 13:50:30 2008 +0000
@@ -435,7 +435,7 @@
            unsigned int width, unsigned int height,
            unsigned long plane_mask, int format)
 {
-  /* PENDING: not sure what this function is supposed to do.. */
+  /* TODO: not sure what this function is supposed to do.. */
   ns_retain_object(pixmap);
   return pixmap;
 }
--- a/src/nsfns.m	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/nsfns.m	Thu Jul 17 13:50:30 2008 +0000
@@ -742,7 +742,7 @@
 }
 
 
-/* 23: PENDING: there is an erroneous direct call in window.c to this fn */
+/* 23: XXX: there is an erroneous direct call in window.c to this fn */
 void
 x_set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval)
 {
@@ -783,7 +783,7 @@
 }
 
 
-/* 23: PENDING: there is an erroneous direct call in window.c to this fn */
+/* 23: XXX: there is an erroneous direct call in window.c to this fn */
 void
 x_set_tool_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval)
 {
@@ -912,7 +912,7 @@
 }
 
 
-/*PENDING: move to nsterm? */
+/* TODO: move to nsterm? */
 int
 ns_lisp_to_cursor_type (Lisp_Object arg)
 {
@@ -1213,7 +1213,7 @@
                       "background", "Background", RES_TYPE_STRING);
   x_default_parameter (f, parms, Qcursor_color, build_string ("grey"),
                       "cursorColor", "CursorColor", RES_TYPE_STRING);
-  /*PENDING: not suppported yet in NS */
+  /* FIXME: not suppported yet in NS */
   x_default_parameter (f, parms, Qline_spacing, Qnil,
 		       "lineSpacing", "LineSpacing", RES_TYPE_NUMBER);
   x_default_parameter (f, parms, Qleft_fringe, Qnil,
@@ -1233,7 +1233,7 @@
   x_default_parameter (f, parms, Qtitle, Qnil, "title", "Title",
                        RES_TYPE_STRING);
 
-/*PENDING: other terms seem to get away w/o this complexity.. */
+/* TODO: other terms seem to get away w/o this complexity.. */
   if (NILP (Fassq (Qwidth, parms)))
     {
       Lisp_Object value
@@ -1610,7 +1610,7 @@
      (display)
      Lisp_Object display;
 {
-  /*PENDING: return GUI version on GNUSTEP, ?? on OS X */
+  /* FIXME: return GUI version on GNUSTEP, ?? on OS X */
   return build_string ("1.0");
 }
 
@@ -2108,7 +2108,7 @@
 const char *
 x_get_string_resource (XrmDatabase rdb, char *name, char *class)
 {
-  /* remove appname prefix; PENDING: allow for !="Emacs" */
+  /* remove appname prefix; TODO: allow for !="Emacs" */
   char *toCheck = class + (!strncmp (class, "Emacs.", 6) ? 6 : 0);
   const char *res;
   check_ns ();
@@ -2359,7 +2359,7 @@
 /* Unused dummy def needed for compatibility. */
 Lisp_Object tip_frame;
 
-/*PENDING: move to xdisp or similar */
+/* TODO: move to xdisp or similar */
 static void
 compute_tip_xy (f, parms, dx, dy, width, height, root_x, root_y)
      struct frame *f;
--- a/src/nsterm.h	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/nsterm.h	Thu Jul 17 13:50:30 2008 +0000
@@ -542,7 +542,7 @@
 extern Lisp_Object ns_display_name_list;
 extern struct ns_display_info *ns_display_info_for_name ();
 
-/* 23: PENDING: these functions (we defined in nsfns) are used in various
+/* 23: FIXME: these functions (we defined in nsfns) are used in various
        places, but no prototypes are provided */
 struct ns_display_info *check_x_display_info (Lisp_Object frame);
 FRAME_PTR check_x_frame (Lisp_Object frame);
@@ -679,7 +679,7 @@
     (FRAME_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)	\
         - NS_SCROLL_BAR_WIDTH (f)) : 0)
 
-/*PENDING: fix for GNUstep inconsistent accounting for titlebar */
+/* XXX: fix for GNUstep inconsistent accounting for titlebar */
 #ifdef NS_IMPL_GNUSTEP
 #define NS_TOP_POS(f) ((f)->top_pos + 18)
 #else
--- a/src/s/darwin.h	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/s/darwin.h	Thu Jul 17 13:50:30 2008 +0000
@@ -206,8 +206,8 @@
 
 /* Link in the Carbon or AppKit lib. */
 #ifdef HAVE_NS
-/* PENDING: lresolv is here because configure when testing #undefs res_init,
-            a macro in /usr/include/resolv.h for res_9_init, not in stdc lib. */
+/* XXX: lresolv is here because configure when testing #undefs res_init,
+        a macro in /usr/include/resolv.h for res_9_init, not in stdc lib. */
 #define LIBS_MACGUI -framework AppKit -lresolv
 #define SYSTEM_PURESIZE_EXTRA 200000
 #define HEADERPAD_EXTRA 6C8
--- a/src/xdisp.c	Thu Jul 17 10:53:02 2008 +0000
+++ b/src/xdisp.c	Thu Jul 17 13:50:30 2008 +0000
@@ -11547,7 +11547,7 @@
       /* Resized active mini-window to fit the size of what it is
          showing if its contents might have changed.  */
       must_finish = 1;
-/* PENDING: this causes all frames to be updated, which seems unnecessary
+/* FIXME: this causes all frames to be updated, which seems unnecessary
    since only the current frame needs to be considered.  This function needs
    to be rewritten with two variables, consider_all_windows and
    consider_all_frames. */