Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h Makefile.am ipc.c setup.c 
Removed Files:
        network.c update.c update.h 


Log Message:
Removed unfinished "upgrade" stuff.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -3 -r1.171 -r1.172
--- E.h 3 Jan 2004 12:55:08 -0000       1.171
+++ E.h 3 Jan 2004 23:59:06 -0000       1.172
@@ -1279,11 +1279,6 @@
    char                windowdestroy;
    int                 context_w;
    int                 context_h;
-   char                autoupgrade;
-   char                activenetwork;
-   int                 motddate;
-   char                motd;
-   char                alreadytestingnetwork;
    char                show_pagers;
    Pager              *context_pager;
    char                pager_hiq;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/Makefile.am,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- Makefile.am 14 Dec 2003 17:45:29 -0000      1.25
+++ Makefile.am 3 Jan 2004 23:59:06 -0000       1.26
@@ -16,7 +16,6 @@
 enlightenment_SOURCES = \
        E.h                     \
        timestamp.h             \
-       update.h                \
        actions.c               \
        alert.c                 \
        areas.c                 \
@@ -60,7 +59,6 @@
        misc.c                  \
        modules.c               \
        mwm.c                   \
-       network.c               \
        pager.c                 \
        progress.c              \
        regex.c                 \
@@ -80,7 +78,6 @@
        timers.c                \
        tooltips.c              \
        ttfont.c                \
-       update.c                \
        warp.c                  \
        windowmatch.c           \
        x.c                     \
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ipc.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -3 -r1.127 -r1.128
--- ipc.c       3 Jan 2004 12:55:08 -0000       1.127
+++ ipc.c       3 Jan 2004 23:59:06 -0000       1.128
@@ -65,7 +65,6 @@
 static void         IPC_WinList(char *params, Client * c);
 static void         IPC_GotoArea(char *params, Client * c);
 static void         IPC_ButtonShow(char *params, Client * c);
-static void         IPC_ActiveNetwork(char *params, Client * c);
 static void         IPC_FX(char *params, Client * c);
 static void         IPC_MoveMode(char *params, Client * c);
 static void         IPC_ResizeMode(char *params, Client * c);
@@ -323,12 +322,6 @@
     "(removes all buttons)\n \"button_show buttons CONFIG*\" "
     "(removes all buttons with CONFIG in the start)"},
    {
-    IPC_ActiveNetwork,
-    "active_network", NULL,
-    "Enable or disable networking",
-    "use \"active_network <on/off>\" to toggle\n"
-    "use \"active_network ?\" to test status"},
-   {
     IPC_FX,
     "fx", NULL,
     "Toggle various effects on/off",
@@ -3538,60 +3531,6 @@
      {
        Esnprintf(buf, sizeof(buf), "Error: no effect specified");
      }
-
-   if (buf[0])
-      CommsSend(c, buf);
-}
-
-static void
-IPC_ActiveNetwork(char *params, Client * c)
-{
-   char                buf[FILEPATH_LEN_MAX];
-
-   buf[0] = 0;
-
-   if (params)
-     {
-#ifdef AUTOUPGRADE
-       if (!strcmp(params, "on"))
-         {
-            if (!mode.activenetwork)
-              {
-                 mode.activenetwork = 1;
-                 DoIn("MOTD_CHECK", 5.0, CheckForNewMOTD, 0, NULL);
-              }
-         }
-       else if (!strcmp(params, "off"))
-         {
-            if (mode.activenetwork)
-              {
-                 mode.activenetwork = 0;
-                 RemoveTimerEvent("MOTD_CHECK");
-                 RemoveTimerEvent("UPDATE_CHECK");
-              }
-            else if (!strcmp(params, "?"))
-              {
-                 if (mode.activenetwork)
-                   {
-                      Esnprintf(buf, sizeof(buf), "Active network: on");
-                   }
-                 else
-                   {
-                      Esnprintf(buf, sizeof(buf), "Active network: off");
-                   }
-              }
-            else
-              {
-                 Esnprintf(buf, sizeof(buf), "Error: unknown state.");
-              }
-         }
-#else
-       Esnprintf(buf, sizeof(buf),
-                 "Active Network not compiled into this version of E");
-#endif
-     }
-   else
-      Esnprintf(buf, sizeof(buf), "Error: no state specified");
 
    if (buf[0])
       CommsSend(c, buf);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/setup.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -3 -r1.99 -r1.100
--- setup.c     14 Dec 2003 17:24:34 -0000      1.99
+++ setup.c     3 Jan 2004 23:59:06 -0000       1.100
@@ -482,17 +482,6 @@
    mode.windowdestroy = 0;
    mode.context_w = 0;
    mode.context_h = 0;
-#ifdef AUTOUPGRADE
-   mode.autoupgrade = 1;
-   mode.activenetwork = 0;
-   mode.motddate = 0;
-   mode.motd = 1;
-#else
-   mode.autoupgrade = 0;
-   mode.activenetwork = 0;
-   mode.motddate = 0;
-   mode.motd = 0;
-#endif
    mode.show_pagers = 1;
    mode.context_pager = NULL;
    mode.pager_hiq = 1;
@@ -526,6 +515,7 @@
    desks.slidein = 1;
    desks.slidespeed = 6000;
    desks.hiqualitybg = 1;
+
    SetAreaSize(2, 1);
 
    ScreenInit();




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to