E CVS: gevas2 monkeyiq
Enlightenment CVS committal Author : monkeyiq Project : misc Module : gevas2 Dir : misc/gevas2 Modified Files: Makefile.am configure.in Log Message: hmm. seems ok with gtk 2.2 === RCS file: /cvsroot/enlightenment/misc/gevas2/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Makefile.am 15 Aug 2002 02:38:06 - 1.1 +++ Makefile.am 10 Jan 2003 13:13:03 - 1.2 @@ -1,8 +1,8 @@ ## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = 1.4 foreign +AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects +#AUTOMAKE_OPTIONS = 1.4 foreign # A list of all the files in the current directory which can be regenerated MAINTAINERCLEANFILES = INSTALL Makefile.in aclocal.m4 config.guess \ === RCS file: /cvsroot/enlightenment/misc/gevas2/configure.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- configure.in17 Aug 2002 15:26:37 - 1.2 +++ configure.in10 Jan 2003 13:13:03 - 1.3 @@ -1,6 +1,6 @@ AC_INIT(src/gevas.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(gevas, 1.9.9) +AM_INIT_AUTOMAKE(gevas, 2.0.0) AM_PATH_GTK_2_0( 2.0.6 ) --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: gevas monkeyiq
Enlightenment CVS committal Author : monkeyiq Project : misc Module : gevas Dir : misc/gevas Modified Files: README configure.in Log Message: Don't use the old version, use gevas2 or choose to loose. === RCS file: /cvsroot/enlightenment/misc/gevas/README,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- README 11 Apr 2001 17:06:58 - 1.5 +++ README 10 Jan 2003 13:22:53 - 1.6 @@ -1,3 +1,15 @@ + + + + +This is an old version of gevas, use gevas2/ instead or +I'll slap you with a rusty fish! + + + + + + you should be able to build and install gevas simply by running === RCS file: /cvsroot/enlightenment/misc/gevas/configure.in,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- configure.in10 Jun 2001 07:53:25 - 1.15 +++ configure.in10 Jan 2003 13:22:54 - 1.16 @@ -48,3 +48,11 @@ AC_SUBST(gtk_cflags) AC_OUTPUT([Makefile src/Makefile demo/Makefile tools/Makefile]) + +echo +"" +echo +"" +echo +"" +echo "YOU SHOULD BE USING gevas2/ instead!"; +echo +"" +echo +"" +echo +"" --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: gevas-examples monkeyiq
Enlightenment CVS committal Author : monkeyiq Project : misc Module : gevas-examples Dir : misc/gevas-examples Modified Files: README Log Message: More wisdom about using old gevases === RCS file: /cvsroot/enlightenment/misc/gevas-examples/README,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- README 7 Apr 2001 17:11:15 - 1.1 +++ README 10 Jan 2003 13:25:42 - 1.2 @@ -1,3 +1,14 @@ + + + + +Someone needs to port these to gevas2 and make sure they work with recent +evas API. + + + + + Some examples of using gevas. These were seperated from the main gevas cvs so that examples can --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: gevas2 monkeyiq
Enlightenment CVS committal
Author : monkeyiq
Project : misc
Module : gevas2
Dir : misc/gevas2/src
Modified Files:
gevas_obj_collection.c gevasevh_group_selector.c
Log Message:
less leaky, less g_warny
===
RCS file: /cvsroot/enlightenment/misc/gevas2/src/gevas_obj_collection.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- gevas_obj_collection.c 15 Aug 2002 02:38:06 - 1.1
+++ gevas_obj_collection.c 10 Jan 2003 13:33:50 - 1.2
@@ -392,7 +392,8 @@
GtkgEvasObjCollection* c = 0;
c = gevasevh_selectable_to_collection( s );
gevas_obj_collection_add_all( ev, c );
-gtk_object_unref(GTK_OBJECT(c));
+gtk_object_destroy(GTK_OBJECT(c));
+//gtk_object_unref(GTK_OBJECT(c));
}
}
list = list->next;
===
RCS file: /cvsroot/enlightenment/misc/gevas2/src/gevasevh_group_selector.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- gevasevh_group_selector.c 31 Aug 2002 09:34:48 - 1.3
+++ gevasevh_group_selector.c 10 Jan 2003 13:33:51 - 1.4
@@ -194,7 +194,8 @@
static void clean( GtkgEvasObjCollection* c )
{
if( !c ) return;
-gtk_object_unref( GTK_OBJECT(c) );
+gtk_object_destroy( GTK_OBJECT(c) );
+//gtk_object_unref( GTK_OBJECT(c) );
}
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: elogin atmosphere
Enlightenment CVS committal Author : atmosphere Project : misc Module : elogin Dir : misc/elogin/data/config Modified Files: build_config.sh elogin_config.db Log Message: updated config db to handle session management add your favorite session if it's not present via the build_config script. === RCS file: /cvsroot/enlightenment/misc/elogin/data/config/build_config.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- build_config.sh 24 Jul 2002 02:20:44 - 1.1 +++ build_config.sh 10 Jan 2003 14:24:06 - 1.2 @@ -7,16 +7,23 @@ edb_ed $DB add /elogin/welcome/font/r int 192 edb_ed $DB add /elogin/welcome/font/g int 192 edb_ed $DB add /elogin/welcome/font/b int 192 -edb_ed $DB add /elogin/welcome/font/a int 255 +edb_ed $DB add /elogin/welcome/font/a int 220 edb_ed $DB add /elogin/passwd/mess str "Enter Your Password..." edb_ed $DB add /elogin/passwd/font/name str "notepad.ttf" edb_ed $DB add /elogin/passwd/font/size int 20 edb_ed $DB add /elogin/passwd/font/r int 192 edb_ed $DB add /elogin/passwd/font/g int 192 edb_ed $DB add /elogin/passwd/font/b int 192 -edb_ed $DB add /elogin/passwd/font/a int 255 +edb_ed $DB add /elogin/passwd/font/a int 220 edb_ed $DB add /elogin/xinerama/screens/w int 1 edb_ed $DB add /elogin/xinerama/screens/h int 1 edb_ed $DB add /elogin/xinerama/on/w int 1 edb_ed $DB add /elogin/xinerama/on/h int 1 - +edb_ed $DB add /elogin/session/0 str "E17" +edb_ed $DB add /elogin/session/1 str "Enlightenment" +edb_ed $DB add /elogin/session/2 str "KDE" +edb_ed $DB add /elogin/session/3 str "GNOME" +edb_ed $DB add /elogin/session/4 str "blackbox" +edb_ed $DB add /elogin/session/5 str "Sawfish" +edb_ed $DB add /elogin/session/6 str "failsafe" +edb_ed $DB add /elogin/session/count int 7 === RCS file: /cvsroot/enlightenment/misc/elogin/data/config/elogin_config.db,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 Binary files /tmp/cvsP1mWHA and /tmp/cvs0r7k50 differ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: elogin atmosphere
Enlightenment CVS committal Author : atmosphere Project : misc Module : elogin Dir : misc/elogin/data/images Added Files: bullet.png parch.png Log Message: images from JeopardE<[EMAIL PROTECTED]> submitted a patch for session management --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: elogin atmosphere
Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : elogin
Dir : misc/elogin/src/client
Modified Files:
callbacks.c callbacks.h e_login_config.c e_login_config.h
e_login_session.c e_login_session.h events.c
Log Message:
patch from JeopardE<[EMAIL PROTECTED]> to add session management
thanks dude.
I think it still needs mouse callback support, but I'll try to beat him to
it =) For now select your sessions with the Up/Down arrow keys.
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/callbacks.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- callbacks.c 16 Oct 2002 02:05:12 - 1.6
+++ callbacks.c 10 Jan 2003 14:32:53 - 1.7
@@ -8,6 +8,39 @@
static void elogin_start_x(E_Login_Session e);
+void
+elogin_select_next_session(E_Login_Session e)
+{
+ elogin_select_session(e, e->session_index + 1);
+}
+
+void
+elogin_select_prev_session(E_Login_Session e)
+{
+ elogin_select_session(e, e->session_index - 1);
+}
+
+void
+elogin_select_session(E_Login_Session e, int index)
+{
+ int ix, iy;
+
+ /* Force within list bounds/wraparound */
+ if (index >= evas_list_count(e->listitems))
+ index = 0;
+ else if (index < 0)
+ index = evas_list_count(e->listitems) - 1;
+
+ /* Update bullet position */
+ ix = 300;
+ iy = 120 + (index * 30);
+ evas_object_move(e->bullet, ix, iy);
+
+ /* Update current session */
+ e->session_index = index;
+ e->session = evas_list_nth(e->config->sessions, index);
+}
+
int
elogin_return_key_cb(E_Login_Session e, char *buffer)
{
@@ -64,7 +97,11 @@
#if X_TESTING
snprintf(buf, PATH_MAX, "/usr/X11R6/bin/xterm");
#else
- snprintf(buf, PATH_MAX, "%s/.xinitrc", e->auth->pam.pw->pw_dir);
+/* snprintf(buf, PATH_MAX, "%s/.xinitrc", e->auth->pam.pw->pw_dir); */
+ if (e->session)
+ snprintf(buf, PATH_MAX, "/etc/X11/Xsession %s", e->session);
+ else
+ snprintf(buf, PATH_MAX, "/etc/X11/Xsession");
#endif
ecore_sync();
@@ -76,7 +113,9 @@
exit(1);
}
if (initgroups(e->auth->pam.pw->pw_name, e->auth->pam.pw->pw_gid))
- fprintf(stderr, "Unable to initialize group\n");
+ fprintf(stderr,
+ "Unable to initialize group (is elogin running as root?)\n");
+
if (setgid(e->auth->pam.pw->pw_gid))
fprintf(stderr, "Unable to set group id\n");
if (setuid(e->auth->pam.pw->pw_uid))
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/callbacks.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- callbacks.h 6 May 2002 17:56:07 - 1.1
+++ callbacks.h 10 Jan 2003 14:32:53 - 1.2
@@ -7,5 +7,8 @@
int _x, int _y);
int elogin_return_key_cb(E_Login_Session e, char *buffer);
+void elogin_select_next_session(E_Login_Session e);
+void elogin_select_prev_session(E_Login_Session e);
+void elogin_select_session(E_Login_Session e, int index);
#endif
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/e_login_config.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_login_config.c24 Jul 2002 02:17:16 - 1.1
+++ e_login_config.c10 Jan 2003 14:32:54 - 1.2
@@ -19,10 +19,30 @@
static void
e_login_config_populate(E_Login_Config e, E_DB_File * db)
{
- char *str;
+ char *str = NULL;
+ Evas_List *l = NULL;
+ int i = 0, num_session = 0;
if ((!e) || (!db))
return;
+
+ if (e_db_int_get(db, "/elogin/session/count", &num_session))
+ {
+ for(i = 0; i < num_session; i++)
+ {
+ char buf[PATH_MAX];
+ snprintf(buf, PATH_MAX, "/elogin/session/%d", i);
+ if((str = e_db_str_get(db, buf)))
+ {
+ l = evas_list_append(l, str);
+ }
+ }
+ e->sessions = l;
+ }
+ else
+ {
+ fprintf(stderr, "Warning: No sessions found, using default\n");
+ }
if ((str = e_db_str_get(db, "/elogin/bg")))
e->bg = str;
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/e_login_config.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_login_config.h24 Jul 2002 02:17:16 - 1.1
+++ e_login_config.h10 Jan 2003 14:32:54 - 1.2
@@ -38,6 +38,7 @@
}
place;
Evas_List users;
+ Evas_List *sessions;
};
typedef struct _E_Login_Config *E_Login_Config;
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/e_login_session.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_login_session.c 16 Oct 2002 02:05:13 - 1.5
+++ e_login_session.c 10 Jan 2003 14:32:5
E CVS: elogin atmosphere
Enlightenment CVS committal Author : atmosphere Project : misc Module : elogin Dir : misc/elogin/data/bgs Modified Files: elogin.bg.db Log Message: use one of benr's bgs from cuddletech === RCS file: /cvsroot/enlightenment/misc/elogin/data/bgs/elogin.bg.db,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 Binary files /tmp/cvskZJCoO and /tmp/cvs8iL4ky differ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: elogin atmosphere
Enlightenment CVS committal Author : atmosphere Project : misc Module : elogin Dir : misc/elogin/data/config Modified Files: build_config.sh elogin_config.db Log Message: make this a little more flexible === RCS file: /cvsroot/enlightenment/misc/elogin/data/config/build_config.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- build_config.sh 10 Jan 2003 14:24:06 - 1.2 +++ build_config.sh 10 Jan 2003 15:31:27 - 1.3 @@ -19,11 +19,18 @@ edb_ed $DB add /elogin/xinerama/screens/h int 1 edb_ed $DB add /elogin/xinerama/on/w int 1 edb_ed $DB add /elogin/xinerama/on/h int 1 -edb_ed $DB add /elogin/session/0 str "E17" -edb_ed $DB add /elogin/session/1 str "Enlightenment" -edb_ed $DB add /elogin/session/2 str "KDE" -edb_ed $DB add /elogin/session/3 str "GNOME" -edb_ed $DB add /elogin/session/4 str "blackbox" -edb_ed $DB add /elogin/session/5 str "Sawfish" -edb_ed $DB add /elogin/session/6 str "failsafe" +edb_ed $DB add /elogin/session/0/name str "E17" +edb_ed $DB add /elogin/session/0/path str "/usr/local/e17/bin/enlightenment" +edb_ed $DB add /elogin/session/1/name str "Enlightenment" +edb_ed $DB add /elogin/session/1/path str "/usr/bin/enlightenment" +edb_ed $DB add /elogin/session/2/name str "KDE" +edb_ed $DB add /elogin/session/2/path str "/usr/bin/kde" +edb_ed $DB add /elogin/session/3/name str "GNOME" +edb_ed $DB add /elogin/session/3/path str "/usr/bin/gnome-session" +edb_ed $DB add /elogin/session/4/name str "Blackbox" +edb_ed $DB add /elogin/session/4/path str "/usr/bin/blackbox" +edb_ed $DB add /elogin/session/5/name str "Sawfish" +edb_ed $DB add /elogin/session/5/path str "/usr/bin/sawfish" +edb_ed $DB add /elogin/session/6/name str "Failsafe" +edb_ed $DB add /elogin/session/6/path str "failsafe" edb_ed $DB add /elogin/session/count int 7 === RCS file: /cvsroot/enlightenment/misc/elogin/data/config/elogin_config.db,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 Binary files /tmp/cvsyNIa9e and /tmp/cvsMfKr4j differ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
E CVS: elogin atmosphere
Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : elogin
Dir : misc/elogin/src/client
Modified Files:
callbacks.c e_login_config.c e_login_config.h
e_login_session.c
Log Message:
allow you to associate a path with your named session now.
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/callbacks.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- callbacks.c 10 Jan 2003 14:32:53 - 1.7
+++ callbacks.c 10 Jan 2003 15:36:02 - 1.8
@@ -24,6 +24,7 @@
elogin_select_session(E_Login_Session e, int index)
{
int ix, iy;
+ E_Login_Session_Type *st = NULL;
/* Force within list bounds/wraparound */
if (index >= evas_list_count(e->listitems))
@@ -38,7 +39,8 @@
/* Update current session */
e->session_index = index;
- e->session = evas_list_nth(e->config->sessions, index);
+ st = evas_list_nth(e->config->sessions, index);
+ e->session = st->path;
}
int
@@ -97,11 +99,10 @@
#if X_TESTING
snprintf(buf, PATH_MAX, "/usr/X11R6/bin/xterm");
#else
-/* snprintf(buf, PATH_MAX, "%s/.xinitrc", e->auth->pam.pw->pw_dir); */
- if (e->session)
- snprintf(buf, PATH_MAX, "/etc/X11/Xsession %s", e->session);
- else
+ if ((!e->session))
snprintf(buf, PATH_MAX, "/etc/X11/Xsession");
+ else
+ snprintf(buf, PATH_MAX, "/etc/X11/Xsession %s", e->session);
#endif
ecore_sync();
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/e_login_config.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_login_config.c10 Jan 2003 14:32:54 - 1.2
+++ e_login_config.c10 Jan 2003 15:36:03 - 1.3
@@ -28,16 +28,21 @@
if (e_db_int_get(db, "/elogin/session/count", &num_session))
{
- for(i = 0; i < num_session; i++)
- {
- char buf[PATH_MAX];
- snprintf(buf, PATH_MAX, "/elogin/session/%d", i);
- if((str = e_db_str_get(db, buf)))
- {
- l = evas_list_append(l, str);
- }
- }
- e->sessions = l;
+ for (i = 0; i < num_session; i++)
+ {
+ char buf[PATH_MAX];
+ E_Login_Session_Type *st = NULL;
+
+ st = (E_Login_Session_Type *) malloc(sizeof(E_Login_Session_Type));
+ memset(st, 0, sizeof(E_Login_Session_Type));
+
+ snprintf(buf, PATH_MAX, "/elogin/session/%d/name", i);
+ st->name = e_db_str_get(db, buf);
+ snprintf(buf, PATH_MAX, "/elogin/session/%d/path", i);
+ st->path = e_db_str_get(db, buf);
+ l = evas_list_append(l, st);
+ }
+ e->sessions = l;
}
else
{
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/e_login_config.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_login_config.h10 Jan 2003 14:32:54 - 1.2
+++ e_login_config.h10 Jan 2003 15:36:04 - 1.3
@@ -37,11 +37,17 @@
float h, v;
}
place;
- Evas_List users;
+ Evas_List *users;
Evas_List *sessions;
};
-
typedef struct _E_Login_Config *E_Login_Config;
+
+struct _E_Login_Session_Type
+{
+ char *name;
+ char *path;
+};
+typedef struct _E_Login_Session_Type E_Login_Session_Type;
E_Login_Config e_login_config_parse(char *file);
void e_login_config_print(E_Login_Config e);
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/e_login_session.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_login_session.c 10 Jan 2003 14:32:54 - 1.6
+++ e_login_session.c 10 Jan 2003 15:36:04 - 1.7
@@ -58,6 +58,7 @@
Evas *evas;
Evas_List *l;
Evas_Object *li;
+ E_Login_Session_Type *st = NULL;
int iw, ih, ix, iy;
if (!e)
@@ -171,9 +172,10 @@
e->listitems = NULL;
for (l = e->config->sessions; l && iy <= 330; l = l->next)
{
+ st = (E_Login_Session_Type *) evas_list_data(l);
li = evas_object_text_add(evas);
evas_object_text_font_set(li, "notepad.ttf", 16.0);
- evas_object_text_text_set(li, (char *) evas_list_data(l));
+ evas_object_text_text_set(li, st->name);
evas_object_layer_set(li, 5);
evas_object_color_set(li, 0, 0, 0, 255);
evas_object_move(li, (double) ix, (double) iy);
@@ -197,7 +199,10 @@
/* Set default session to first in list (for now) */ ;
l = e->config->sessions;
if (l)
- e->session = evas_list_data(l);
+ {
+ st = evas_list_data(l);
+ e->session = st->path;
+ }
else
e->session = NULL;
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www
E CVS: elogin atmosphere
Enlightenment CVS committal Author : atmosphere Project : misc Module : elogin Dir : misc/elogin/data/config Modified Files: build_config.sh elogin_config.db Log Message: there were old keys laying aroundn in the db, so now delete before rebuilding it. === RCS file: /cvsroot/enlightenment/misc/elogin/data/config/build_config.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- build_config.sh 10 Jan 2003 15:31:27 - 1.3 +++ build_config.sh 10 Jan 2003 15:44:43 - 1.4 @@ -1,6 +1,6 @@ #!/bin/sh -e DB="./elogin_config.db" - +rm $DB edb_ed $DB add /elogin/welcome/mess str "Enter Your Username" edb_ed $DB add /elogin/welcome/font/name str "notepad.ttf" edb_ed $DB add /elogin/welcome/font/size int 20 === RCS file: /cvsroot/enlightenment/misc/elogin/data/config/elogin_config.db,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 Binary files /tmp/cvsCTpsqb and /tmp/cvsaWtSDc differ --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
Re: [E-devel] Evas on Mac OS X
On Thu, 09 Jan 2003 21:35:12 EST, Michael Jennings <[EMAIL PROTECTED]> said: > -O9 is ridiculous. Nothing over -O3 actually means anything, and even > -O3 tends to be a bad idea. He referred to -O3 as "turning on all the optimizations that probably shouldn't even be part of the optimizer." > > It's also worth noting that omitting the frame pointer does give you a > boost but makes debugging essentially impossible, at least with gdb. This topic got beaten to death on the linux-kernel list a while ago. Apparently there's some non-intuitive results here: 1) -Os seems to produce better code than either -O2 or -O3 on some CPUs. On many boxes, especially those with pathetically small L1 instruction caches or prefetch buffers, loop unrolling is actually a Bad Thing in many cases. (This effect has been known about ever since the PDP-10, where the low 16 memory addresses were actually registers - so if you had a tight loop that used 3 registers as variables, getting the code to fit in 13 words and copying it to low memory before execution was a HUGE win). 2) omit-frame-pointer can cause increases in both code size and execution speed - there's apparently a trade-off between the number of cycles and code bytes spend doing frame pointer setup, and the cycles/bytes spent doing stack references. Apparently, if you make more than 5-6 'mov' references to the stack, you're better off *with* a frame pointer - which is why omit-leaf-frame-pointer exists, so non-terminal functions that will beat on the stack will have one, but all those little 3-4 line functions that don't hit the stack much won't... -- Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech msg00028/pgp0.pgp Description: PGP signature
[E-devel] DR17 on Solaris Update
I'm happy to report that with the help of RbdPngn, we have good results so far. The previously mentioned segfaults, blamed on Ebits because while EVAS apps weren't failing, Ebit apps were, was incorrect. This turned out to be a problem with the JPEG loader in EVAS, which was interpreting EDB's as JPEGs.After hours of debugging under the supervision of RbdPngn, he made the discovery that 2 critical functions were being called in the wrong order, which he guessed was possibly a compiler optimization problem... and he was right. On this suggestion I upgraded from GCC 3.0.3 to GCC 3.2, rebuilt EVAS and the segfaults disappeared completely. Thanks also goes to tillsan for his input, and raster for his. The only thing left on the segfault list is Elicit, which I'm not too worried about at the moment, and figure could be worked out if I spent the time. EET is still on the non-building list. I looked at a patch Raster found to add fmemopen functionality to FreeBSD, however on inspection this patch simply was an adaptor, allowing fmemopen to simply call FreeBSD's equivilent. So that's out. GNU LibC 2.x is still not a possibility, and no one on the Sun Developer lists is responding to my questions. However, I have found that GNU LibC 1.09.1 _DOES_ have a Solaris port (at least it did in the very early Solaris 2.x days). I'm working now on trying to build it, but it's not gone well so far. Writing my own fmemopen function was another idea, but it's not so easy as I'd hope since fmemopen uses several other functions found only in GLibC, so a nice GNU allowed hi-jack of the code isn't an option. Anyway, there are possibilties at least. Screenshots of DR17 running on Solaris can be found here: http://www.cuddletech.com/dr17-running1.jpg http://www.cuddletech.com/dr17-running2.jpg http://www.cuddletech.com/dr17-running3.jpg As far as usability goes. I had to patch up FAM to keep it up more than 10 minutes (to fix the infamous /etc/mnttab problem). Once that was fixed, FAM stayed up long enough to hold EFSD in place. However as you can see in the second screenshot above, when trying to add directory handles for .e/desktop/ directories it gets a NULL and craps out. The solution? Wipe out .e/desktop/. The trade off in doing this is that while DR17 runs, the things we all like about DR17 (iconbar, custom layout, custom background) aren't there, so you have to make change things directly in /usr/local/share. Like a good little bug, FAM is at least nice enough to choke and die after the incident, which means not only is EFSD printing a null, it's passing one too. The only other oddity is that when you load a bit in Etcher no images appear from the bit. Odd, because the bits are valid (I can use the in DR17 on Solaris), and Etcher allows me to add images. Just a strange one, but no major problem since I'm not designing bits on Solaris atm anyway. On the plate at the moment is: keep trying to get GlibC 1.09 to build for EET, figure out what this null dir handle crap is about, and look into why Etcher doesn't load image. Also, my new workstation shows up today, so I'll start building on a second machine to refine the procedure and start building patches and pkg's. benr. -- //Ben Rockwood - UNIX Systems Admin //email: [EMAIL PROTECTED] //web: www.cuddletech.com //-> We do what we can, We give what we have, //-> Our doubt is our passion, and our passion is our task, //-> The rest is the madness of Art. //-> -Henry James --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
E CVS: elogin atmosphere
Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : elogin
Dir : misc/elogin/src/client
Modified Files:
callbacks.c events.c
Log Message:
index is a naughty variable name
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/callbacks.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- callbacks.c 10 Jan 2003 15:36:02 - 1.8
+++ callbacks.c 10 Jan 2003 21:36:42 - 1.9
@@ -21,25 +21,25 @@
}
void
-elogin_select_session(E_Login_Session e, int index)
+elogin_select_session(E_Login_Session e, int session_index)
{
int ix, iy;
E_Login_Session_Type *st = NULL;
/* Force within list bounds/wraparound */
- if (index >= evas_list_count(e->listitems))
- index = 0;
- else if (index < 0)
- index = evas_list_count(e->listitems) - 1;
+ if (session_index >= evas_list_count(e->listitems))
+ session_index = 0;
+ else if (session_index < 0)
+ session_index = evas_list_count(e->listitems) - 1;
/* Update bullet position */
ix = 300;
- iy = 120 + (index * 30);
+ iy = 120 + (session_index * 30);
evas_object_move(e->bullet, ix, iy);
/* Update current session */
- e->session_index = index;
- st = evas_list_nth(e->config->sessions, index);
+ e->session_index = session_index;
+ st = evas_list_nth(e->config->sessions, session_index);
e->session = st->path;
}
===
RCS file: /cvsroot/enlightenment/misc/elogin/src/client/events.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- events.c10 Jan 2003 14:32:54 - 1.6
+++ events.c10 Jan 2003 21:36:42 - 1.7
@@ -7,7 +7,7 @@
static struct
{
char buf[USER_PASS_MAX];
- int index;
+ int buf_index;
}
typebuffer;
@@ -36,7 +36,7 @@
ecore_event_filter_handler_add(ECORE_EVENT_KEY_DOWN, e_key_down);
ecore_event_filter_idle_handler_add(e_idle, NULL);
- typebuffer.index = 0;
+ typebuffer.buf_index = 0;
typebuffer.buf[0] = 0;
}
@@ -106,7 +106,7 @@
#if ELOGIN_DEBUG
- fprintf(stderr, "typebuffer.index is %d\n", typebuffer.index);
+ fprintf(stderr, "typebuffer.buf_index is %d\n", typebuffer.buf_index);
fprintf(stderr, "e->key is %s\n", e->key);
fprintf(stderr, "e->compose is %s\n", e->compose);
#endif
@@ -122,7 +122,7 @@
{
case 'u': /* clear the buffer */
memset(&typebuffer.buf, 0, USER_PASS_MAX);
- typebuffer.index = 0;
+ typebuffer.buf_index = 0;
break;
default:
break;
@@ -132,9 +132,9 @@
{
if (!(strcmp(e->key, "BackSpace")))
{
-if (typebuffer.index > 0)
+if (typebuffer.buf_index > 0)
{
- typebuffer.buf[--typebuffer.index] = 0;
+ typebuffer.buf[--typebuffer.buf_index] = 0;
}
}
else if (!(strcmp(e->key, "Return")))
@@ -142,7 +142,7 @@
password_or_user =
elogin_return_key_cb(e_session, typebuffer.buf);
memset(&typebuffer.buf, 0, USER_PASS_MAX);
-typebuffer.index = 0;
+typebuffer.buf_index = 0;
}
else if (!(strcmp(e->key, "Up")))
{
@@ -153,25 +153,25 @@
elogin_select_next_session(e_session);
}
- if (typebuffer.index >= USER_PASS_MAX)
+ if (typebuffer.buf_index >= USER_PASS_MAX)
return;
else if (!(strcmp(e->key, "space")))
{
-typebuffer.buf[typebuffer.index++] = ' ';
+typebuffer.buf[typebuffer.buf_index++] = ' ';
}
}
else
{
- if (typebuffer.index >= USER_PASS_MAX)
+ if (typebuffer.buf_index >= USER_PASS_MAX)
return;
- typebuffer.buf[typebuffer.index++] = *e->compose;
+ typebuffer.buf[typebuffer.buf_index++] = *e->compose;
}
}
else
{
- if (typebuffer.index >= USER_PASS_MAX)
+ if (typebuffer.buf_index >= USER_PASS_MAX)
return;
- typebuffer.buf[typebuffer.index++] = *e->compose;
+ typebuffer.buf[typebuffer.buf_index++] = *e->compose;
}
set_text_entry_text(password_or_user, typebuffer.buf);
}
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
[E-devel] RE: DR17 on Solaris Update
I forgot to add a URL for the screenshot that illustrates the EFSD troubles You can find it here: http://www.cuddletech.com/efsd-error.jpg You'll notice two things in the console, 1) a monitor id of -1, 2) that the directory for dir_handle -1 is null, which causes the seg. Oh, and 2 more problems solved... Etcher now works fine, rebuilding with the new EVAS and GCC 3.2 fixed the no-images problem in bits. Entice was having problems with thumbnails too, which was due to an old Imlib2 install, which was fixed by updating my Imlib2. If anyone has ideas about the EFSD problem, I'd love to hear 'em. I've only got a workaround, not a solution. benr. -- //Ben Rockwood - UNIX Systems Admin //email: [EMAIL PROTECTED] //web: www.cuddletech.com //-> We do what we can, We give what we have, //-> Our doubt is our passion, and our passion is our task, //-> The rest is the madness of Art. //-> -Henry James --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Solaris Port - Wrapup for the week
So, I've got damned near everything working. I'm only stuck with this E/EFSD/FAM issue. If anyone wants to take a look, I put up my status page here: http://cuddletech.com/e17.status.html On that page I've included the backtraces and debugs I've done of this issue. If anyone has thoughts on it, let me know. I'm stuck. benr. -- //Ben Rockwood - UNIX Systems Admin //email: [EMAIL PROTECTED] //web: www.cuddletech.com //-> We do what we can, We give what we have, //-> Our doubt is our passion, and our passion is our task, //-> The rest is the madness of Art. //-> -Henry James --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] E17 on Linux ppc
down in esmall you'll find 2 files that make reference to 'sys/io.h' ... sc1.c @ line 10 sc5.c @ line 8 the powerpc version of glibc does not install sys/io.h, but an asm/io.h does exist ... after changing these 2 files to reflect 'asm/io.h', compiliation resumed and finished up without problems. ran e and all that other fun stuff and they all worked as well as on an x86. thoughts !? -mike --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
