E CVS: apps/entrance sebastid

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/entrance

Dir : e17/apps/entrance


Modified Files:
.cvsignore 


Log Message:
ignore++

===
RCS file: /cvs/e/e17/apps/entrance/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- .cvsignore  5 Apr 2006 20:34:20 -   1.6
+++ .cvsignore  6 Aug 2006 12:09:52 -   1.7
@@ -13,6 +13,7 @@
 depcomp
 entrance.spec
 install-sh
+libtool
 missing
 ltmain.sh
 *.tar.gz



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl sebastid

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/engines/x11


Modified Files:
ewl_engine_x11.c 


Log Message:
Remove comment

===
RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_engine_x11.c6 Aug 2006 01:53:02 -   1.8
+++ ewl_engine_x11.c6 Aug 2006 12:27:40 -   1.9
@@ -1194,7 +1194,6 @@
 
/* Request a DND data request */
for (i = 0; i  window-dnd_types.num_types; i++) {
-   /* FIXME: This function does not exist. */
if (ewl_dnd_type_supported(window-dnd_types.types[i])) 
{
ecore_x_selection_xdnd_request(ev-win,
window-dnd_types.types[i]);



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto leviathan

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/etk-perl/t/Etk


Modified Files:
Alignment.t Box.t Entry.t Filechooser.t Window.t 
Added Files:
Menu.t MessageDialog.t Notebook.t Object.t 


Log Message:
- fixes to Etk::Window methods
- rewrote the TODO
- more tests

===
RCS file: /cvs/e/e17/proto/etk-perl/t/Etk/Alignment.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Alignment.t 30 Jul 2006 19:22:33 -  1.1
+++ Alignment.t 6 Aug 2006 14:56:14 -   1.2
@@ -19,7 +19,7 @@
 
 $al = Etk::Alignment-new();
 ok( defined $al,   Alignment new() with default values);
-my ($xalign, $yalign, $xscale, $yscale) = $al-Get();
+($xalign, $yalign, $xscale, $yscale) = $al-Get();
 is( $xalign, 0.5,  xalign);
 is( $yalign, 0.5,  yalign);
 is( $xscale, 1,xscale);
===
RCS file: /cvs/e/e17/proto/etk-perl/t/Etk/Box.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Box.t   30 Jul 2006 19:22:33 -  1.1
+++ Box.t   6 Aug 2006 14:56:14 -   1.2
@@ -37,7 +37,7 @@
 
 
 $hb-PackStart($button, 1, 0, 5);
-my ($padding, $expand, $fill, $pack_end) = $hb-ChildPackingGet($button);
+($padding, $expand, $fill, $pack_end) = $hb-ChildPackingGet($button);
 
 is($padding, 5,Padding set);
 is($expand, 1, Expand set);
===
RCS file: /cvs/e/e17/proto/etk-perl/t/Etk/Entry.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Entry.t 4 Aug 2006 14:50:37 -   1.1
+++ Entry.t 6 Aug 2006 14:56:14 -   1.2
@@ -6,8 +6,12 @@
 ok( defined $b,Entry new());
 ok( $b-isa(Etk::Entry), Class Check);
 
+SKIP: {
+   skip need to be visible, 2;
 $b-PasswordSet(1);
 is($b-PasswordGet(), 1,   Password set/get);
 
 $b-TextSet(test);
 is($b-TextGet(), test,  Text set/get);
+}
+
===
RCS file: /cvs/e/e17/proto/etk-perl/t/Etk/Filechooser.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Filechooser.t   4 Aug 2006 14:50:37 -   1.1
+++ Filechooser.t   6 Aug 2006 14:56:14 -   1.2
@@ -6,8 +6,11 @@
 ok( defined $b,Filechooser new());
 ok( $b-isa(Etk::Filechooser),   Class Check);
 
+SKIP: {
+   skip no idea, 1;
 $b-SelectMultipleSet(1);
 is($b-SelectMultipleGet(), 1, Select Multiple set/get);
+}
 
 $b-ShowHiddenSet(1);
 is($b-ShowHiddenGet(), 1, Show Hidden set/get);
===
RCS file: /cvs/e/e17/proto/etk-perl/t/Etk/Window.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Window.t30 Jul 2006 19:22:33 -  1.1
+++ Window.t6 Aug 2006 14:56:14 -   1.2
@@ -19,24 +19,20 @@
 
 ok(1, GeometryGet());
 
-$window-Iconify();
-ok($window-IsIconified(), Iconify(), isIconified());
-$window-Deiconify();
-ok(! $window-IsIconified(),   Deiconify());
+$window-IconifiedSet(1);
+ok($window-IconifiedGet(),IconifiedSet/Get);
 
-$window-Maximize();
-ok($window-IsMaximized(), Maximize(), isMaximized());
-$window-Unmaximize();
-ok(! $window-IsMaximized(),   Unmaximize());
+SKIP: {
+   skip Need to be visible, 2;
+$window-MaximizedSet(1);
+is($window-MaximizedGet(),1,  MaximizedSet/Get);
 
-$window-Fullcreen();
-ok($window-IsFullscreen(),Fullscreen(), isFullscreen());
-$window-Unfullscreen();
-ok(! $window-IsFullscreen(),  Unfullscreen());
+$window-StickySet(1);
+is($window-StickyGet(),1, StickSet/Get);
+}
+
+$window-FullscreenSet(1);
+is($window-FullscreenGet(),1, FullscreenSet/Get);
 
-$window-Stick();
-ok($window-IsSticky(),Stick(), isSticky());
-$window-Unstick();
-ok(! $window-IsSticky(),  Unstick());
 
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto leviathan

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/etk-perl/lib


Modified Files:
Etk.pm 


Log Message:
- fixes to Etk::Window methods
- rewrote the TODO
- more tests

===
RCS file: /cvs/e/e17/proto/etk-perl/lib/Etk.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- Etk.pm  5 Aug 2006 21:47:18 -   1.15
+++ Etk.pm  6 Aug 2006 14:56:14 -   1.16
@@ -5,16 +5,16 @@
 use warnings;
 use Carp;
 
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 
 require XSLoader;
 XSLoader::load('Etk', $VERSION);
 
 # initialize Etk
-Etk::init();
+Etk::Init();
 
 END {
-   Etk::shutdown();
+   Etk::Shutdown();
 }
 
 1;
@@ -59,8 +59,8 @@
 
 =head1 AUTHOR
 
-Hisham Mardam Bey, Elt[EMAIL PROTECTED]gt -  
-Chady 'Leviathan' Kassouf, Elt[EMAIL PROTECTED]gt
+Chady 'Leviathan' Kassouf, Elt[EMAIL PROTECTED]gt -
+Hisham Mardam Bey, Elt[EMAIL PROTECTED]gt
 
 =head1 COPYRIGHT AND LICENSE
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto leviathan

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/etk-perl/lib/Etk


Modified Files:
Constants.pm Stock.pm 


Log Message:
- fixes to Etk::Window methods
- rewrote the TODO
- more tests

===
RCS file: /cvs/e/e17/proto/etk-perl/lib/Etk/Constants.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Constants.pm4 Aug 2006 23:23:53 -   1.2
+++ Constants.pm6 Aug 2006 14:56:14 -   1.3
@@ -15,7 +15,8 @@
 PointerResizeTR PointerResizeR PointerResizeBR PointerResizeB 
 PointerResizeBL PointerResizeL PointerTextEdit PointerDndDrop/],
tree= [qw/ModeList ModeTree FromFile FromEdje/],
-   textblock   = [qw/GravityLeft GravityRight/]
+   textblock   = [qw/GravityLeft GravityRight/],
+   colorpicker = [qw/ModeH ModeS ModeV ModeR ModeG ModeB/],
 
);
 
@@ -118,17 +119,15 @@
 GravityRight = 1
 };
 
-
-package Etk::Colorpicker::Mode;
-
+# colorpicker mode
 use constant  {
 
-   H   = 0,
-   S   = 1,
-   V   = 2,
-   R   = 3,
-   G   = 4,
-   B   = 5
+   ModeH   = 0,
+   ModeS   = 1,
+   ModeV   = 2,
+   ModeR   = 3,
+   ModeG   = 4,
+   ModeB   = 5
 
 };
 
===
RCS file: /cvs/e/e17/proto/etk-perl/lib/Etk/Stock.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Stock.pm30 Jul 2006 19:22:32 -  1.4
+++ Stock.pm6 Aug 2006 14:56:14 -   1.5
@@ -1,6 +1,5 @@
 package Etk::Stock;
 use strict;
-require Etk;
 require Exporter;
 
 our @ISA = qw/Exporter/;



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto leviathan

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : proto

Dir : e17/proto/etk-perl


Modified Files:
Changes Etk.xs MANIFEST META.yml Makefile.PL README TODO 
typemap 


Log Message:
- fixes to Etk::Window methods
- rewrote the TODO
- more tests

===
RCS file: /cvs/e/e17/proto/etk-perl/Changes,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Changes 30 Jul 2006 19:50:29 -  1.2
+++ Changes 6 Aug 2006 14:56:12 -   1.3
@@ -1,5 +1,9 @@
 Revision history for Perl extension Etk.
 
+0.03  Sun Aug  6 12:09:59 GMT+2 2006
+   - removed Etk/Object.pm and replaced the function conversion with 
ALIASes in XS
+   - Followed changes to etk
+   
 0.02  Sun Jul 30 17:53:12 GMT+2 2006
- rewrite of Etk-Perl
+ Removed all .pm code
===
RCS file: /cvs/e/e17/proto/etk-perl/Etk.xs,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- Etk.xs  5 Aug 2006 21:47:18 -   1.39
+++ Etk.xs  6 Aug 2006 14:56:12 -   1.40
@@ -2489,6 +2489,12 @@
   ALIAS:
ButtonsSet=1
 
+Etk_Message_Dialog_Type
+etk_message_dialog_message_type_get(dialog)
+   Etk_Message_Dialog *dialog
+  ALIAS:
+   MessageTypeGet=1
+
 void
 etk_message_dialog_message_type_set(dialog, type)
Etk_Message_Dialog *dialog
@@ -2662,6 +2668,8 @@
SV *value
   ALIAS:
DataSet=1
+   CODE:
+   etk_object_data_set(object, key, newSVsv(value));
 
 void
 etk_object_notification_callback_add(object, property_name, callback, data)
@@ -5186,10 +5194,17 @@
DecoratedSet=1
 
 void
-etk_window_deiconify(window)
+etk_window_iconified_set(window, iconified)
+   Etk_Window *window
+   Etk_Booliconified
+  ALIAS:
+   IconifiedSet=1
+
+Etk_Bool
+etk_window_iconified_get(window)
Etk_Window *window
   ALIAS:
-   Deiconify=1
+   IconifiedGet=1
 
 void
 etk_window_dnd_aware_set(window, on)
@@ -5198,17 +5213,31 @@
   ALIAS:
DndAwareSet=1
 
+Etk_Bool
+etk_window_focused_get(window)
+   Etk_Window *window
+  ALIAS:
+   FocusedGet=1
+
 void
-etk_window_focus(window)
+etk_window_focused_set(window, focused)
Etk_Window *window
+   Etk_Boolfocused
   ALIAS:
-   Focus=1
+   FocusedSet=1
+
+Etk_Bool
+etk_window_fullscreen_get(window)
+   Etk_Window *window
+  ALIAS:
+   FullscreenGet=1
 
 void
-etk_window_fullscreen(window)
+etk_window_fullscreen_set(window, fullscreen)
Etk_Window *window
+   Etk_Boolfullscreen
   ALIAS:
-   Fullscreen=1
+   FullscreenSet=1
 
 void
 etk_window_geometry_get(window)
@@ -5234,47 +5263,18 @@
   ALIAS:
HideOnDelete=1
 
-void
-etk_window_iconify(window)
-   Etk_Window *window
-  ALIAS:
-   Iconify=1
-
-Etk_Bool
-etk_window_is_focused(window)
-   Etk_Window *window
-  ALIAS:
-   IsFocused=1
-
-Etk_Bool
-etk_window_is_fullscreen(window)
-   Etk_Window *window
-  ALIAS:
-   IsFullscreen=1
-
 Etk_Bool
-etk_window_is_iconified(window)
+etk_window_maximized_get(window)
Etk_Window *window
   ALIAS:
-   IsIconified=1
-
-Etk_Bool
-etk_window_is_maximized(window)
-   Etk_Window *window
-  ALIAS:
-   IsMaximized=1
-
-Etk_Bool
-etk_window_is_sticky(window)
-   Etk_Window *window
-  ALIAS:
-   IsSticky=1
+   MaximizedGet=1
 
 void
-etk_window_maximize(window)
+etk_window_maximized_set(window, maximized)
Etk_Window *window
+   Etk_Boolmaximized
   ALIAS:
-   Maximize=1
+   MaximizedSet=1
 
 void
 etk_window_move(window, x, y)
@@ -5345,11 +5345,18 @@
   ALIAS:
SkipTaskbarHintSet=1
 
+Etk_Bool
+etk_window_sticky_get(window)
+   Etk_Window *window
+  ALIAS:
+   StickyGet=1
+
 void
-etk_window_stick(window)
+etk_window_sticky_set(window, sticky)
Etk_Window *window
+   Etk_Boolsticky
   ALIAS:
-   Stick=1
+   StickySet=1
 
 const char *
 etk_window_title_get(window)
@@ -5363,30 +5370,6 @@
char *  title
   ALIAS:
TitleSet=1
-
-void
-etk_window_unfocus(window)
-   Etk_Window *window
-  ALIAS:
-   Unfocus=1
-
-void
-etk_window_unfullscreen(window)
-   Etk_Window *window
-  ALIAS:
-   Unfullscreen=1
-
-void
-etk_window_unmaximize(window)
-   Etk_Window *window
-  ALIAS:
-   Unmaximize=1
-
-void
-etk_window_unstick(window)
-   Etk_Window *window
-  ALIAS:
-   Unstick=1
 
 void
 etk_window_wmclass_set(window, window_name, window_class)
===
RCS file: /cvs/e/e17/proto/etk-perl/MANIFEST,v
retrieving revision 

E CVS: apps/e raster

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c 


Log Message:


be less rememebr write happy

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.519
retrieving revision 1.520
diff -u -3 -r1.519 -r1.520
--- e_border.c  29 Jul 2006 15:09:53 -  1.519
+++ e_border.c  6 Aug 2006 15:14:09 -   1.520
@@ -613,6 +613,8 @@
ecore_event_add(E_EVENT_BORDER_ZONE_SET, ev, 
_e_border_event_border_zone_set_free, NULL);
 
ecore_x_window_prop_card32_set(bd-client.win, E_ATOM_ZONE, bd-zone-num, 
1);
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -654,6 +656,8 @@
 e_border_desk_set(child, bd-desk);
  }
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1044,6 +1048,8 @@
  }
 
ecore_event_add(E_EVENT_BORDER_STACK, ev, 
_e_border_event_border_stack_free, NULL);
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1129,6 +1135,8 @@
  }
 
ecore_event_add(E_EVENT_BORDER_STACK, ev, 
_e_border_event_border_stack_free, NULL);
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1183,6 +1191,8 @@
  }
 
ecore_event_add(E_EVENT_BORDER_STACK, ev, 
_e_border_event_border_stack_free, NULL);
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1237,6 +1247,8 @@
  }
 
ecore_event_add(E_EVENT_BORDER_STACK, ev, 
_e_border_event_border_stack_free, NULL);
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1505,6 +1517,8 @@
  }
 
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1612,6 +1626,8 @@
  }
 
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1757,6 +1773,8 @@
 bd-maximized  E_MAXIMIZE_VERTICAL);

  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1877,6 +1895,8 @@
if (signal)
  edje_object_signal_emit(bd-bg_object, unmaximize, );
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1965,6 +1985,8 @@
bd-client.border.changed = 1;
bd-changed = 1;
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -1997,6 +2019,8 @@
bd-client.border.changed = 1;
bd-changed = 1;
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -2036,6 +2060,8 @@
 e_border_iconify(child);
  }
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -2078,6 +2104,8 @@
 e_border_uniconify(child);
  }
  }
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -2112,6 +2140,8 @@
e_object_ref(E_OBJECT(bd));
 //   e_object_breadcrumb_add(E_OBJECT(bd), border_stick_event);
ecore_event_add(E_EVENT_BORDER_STICK, ev, 
_e_border_event_border_stick_free, NULL);
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI void
@@ -2147,6 +2177,8 @@
ecore_event_add(E_EVENT_BORDER_UNSTICK, ev, 
_e_border_event_border_unstick_free, NULL);
 
e_border_desk_set(bd, e_desk_current_get(bd-zone));
+   if (bd-remember)
+ e_remember_update(bd-remember, bd);
 }
 
 EAPI E_Border *
@@ -4629,6 +4661,7 @@
 _e_border_eval(E_Border *bd)
 {
int change_urgent = 0;
+   int rem_change = 0;

/* fetch any info queued to be fetched */
if (bd-client.icccm.fetch.client_leader)
@@ -4677,6 +4710,7 @@
   }
  }
bd-client.icccm.fetch.client_leader = 0;
+   rem_change = 1;
  }
if (bd-client.icccm.fetch.title)
  {
@@ -4689,6 +4723,7 @@
 edje_object_part_text_set(bd-bg_object, title_text,
   bd-client.icccm.title);
  }
+   rem_change = 1;
  }
if (bd-client.netwm.fetch.name)
  {
@@ -4701,6 +4736,7 @@
 edje_object_part_text_set(bd-bg_object, title_text,
   bd-client.netwm.name);
  }
+   rem_change = 1;
  }
if (bd-client.icccm.fetch.name_class)
  {
@@ -4730,21 +4766,25 @@
if (nc_change)
  bd-changes.icon = 1;
bd-client.icccm.fetch.name_class = 0;
+   rem_change = 1;
  }
if (bd-client.icccm.fetch.state)
  {
bd-client.icccm.state = ecore_x_icccm_state_get(bd-client.win);
bd-client.icccm.fetch.state = 0;
+   rem_change = 1;
  }
if (bd-client.netwm.fetch.state)
  {
e_hints_window_state_get(bd);
bd-client.netwm.fetch.state = 0;
+   rem_change = 1;
  }
if (bd-client.e.fetch.state)
  {

E CVS: proto codewarrior

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/estickies/src/bin


Modified Files:
conf.c stickies.c stickies.h 


Log Message:
- implement sticky note locking
- remember sticky / locked status across sessions


===
RCS file: /cvs/e/e17/proto/estickies/src/bin/conf.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- conf.c  5 Aug 2006 16:46:51 -   1.4
+++ conf.c  6 Aug 2006 16:55:06 -   1.5
@@ -174,7 +174,7 @@
char *home;
int size;
E_Config_Stickies *stickies = NULL;   
-   
+
home = getenv(HOME);
if(!home)
  {
@@ -250,7 +250,7 @@
intret;
E_Config_Stickies *stickies = NULL;
Evas_List *l;
-   
+
home = getenv(HOME);
if(!home)
  return 0;
===
RCS file: /cvs/e/e17/proto/estickies/src/bin/stickies.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- stickies.c  4 Aug 2006 15:05:20 -   1.6
+++ stickies.c  6 Aug 2006 16:55:06 -   1.7
@@ -211,9 +211,10 @@
E_Sticky *s;

s = data;
-   
+
etk_toggle_button_active_set(ETK_TOGGLE_BUTTON(s-stick_toggle),
etk_window_sticky_get(ETK_WINDOW(object)));
+   s-stick = etk_window_sticky_get(ETK_WINDOW(object));
 }
 
 static Etk_Widget *
@@ -259,7 +260,8 @@

s = E_NEW(1, E_Sticky);
s-theme = NULL;
-   
+   s-stick = 0;
+   s-locked = 0;
_e_sticky_window_add(s);
return s;
 }
@@ -278,7 +280,7 @@

s-win = etk_window_new();
etk_window_title_set(ETK_WINDOW(s-win), estickies);
-   etk_window_wmclass_set(ETK_WINDOW(s-win), _estickies, _estickies);
+   etk_window_wmclass_set(ETK_WINDOW(s-win), estickies, estickies);
etk_window_decorated_set(ETK_WINDOW(s-win), ETK_FALSE);
etk_window_shaped_set(ETK_WINDOW(s-win), ETK_TRUE);
etk_widget_theme_file_set(s-win, theme);
@@ -308,17 +310,19 @@
button_stick)));
etk_signal_connect_swapped(clicked, ETK_OBJECT(s-stick_toggle),
  ETK_CALLBACK(_e_sticky_stick_toggle), s);
-   //etk_tooltips_tip_set(button, Make sticky visible on all desktops);   
+   //etk_tooltips_tip_set(button, Make sticky visible on all desktops);
etk_box_pack_start(ETK_BOX(hbox), s-stick_toggle, ETK_FALSE, ETK_FALSE, 0);

-   s-lock_button = etk_button_new();
-   etk_object_properties_set(ETK_OBJECT(s-lock_button),
+   s-lock_toggle = etk_toggle_button_new();
+   etk_object_properties_set(ETK_OBJECT(s-lock_toggle),
 focusable, ETK_FALSE, NULL);   
-   etk_button_image_set(ETK_BUTTON(s-lock_button), 
+   etk_button_image_set(ETK_BUTTON(s-lock_toggle), 
ETK_IMAGE(etk_image_new_from_edje(theme,
button_lock)));
-   //etk_tooltips_tip_set(button, Lock sticky (read-only));   
-   etk_box_pack_start(ETK_BOX(hbox), s-lock_button, ETK_FALSE, ETK_FALSE, 0);
+   etk_signal_connect_swapped(toggled, ETK_OBJECT(s-lock_toggle),
+ ETK_CALLBACK(_e_sticky_lock_toggle), s);   
+   //etk_tooltips_tip_set(button, Lock sticky (read-only));
+   etk_box_pack_start(ETK_BOX(hbox), s-lock_toggle, ETK_FALSE, ETK_FALSE, 0);

s-close_button = etk_button_new();
etk_object_properties_set(ETK_OBJECT(s-close_button),
@@ -433,6 +437,30 @@
 {
etk_window_sticky_set(ETK_WINDOW(s-win), 
 !etk_window_sticky_get(ETK_WINDOW(s-win)));
+   s-stick = !etk_window_sticky_get(ETK_WINDOW(s-win));
+}
+
+void
+_e_sticky_lock_toggle(E_Sticky *s)
+{   
+   s-locked = 
etk_toggle_button_active_get(ETK_TOGGLE_BUTTON(s-lock_toggle));   
+   
etk_textblock_object_cursor_visible_set(ETK_TEXT_VIEW(s-textview)-textblock_object,
+  !s-locked);
+   etk_object_properties_set(ETK_OBJECT(s-textview),
+focusable, !s-locked, NULL);
+   if(s-locked)
+ {
+   etk_object_properties_set(ETK_OBJECT(s-win),
+ focusable, ETK_TRUE, NULL);
+   etk_widget_unfocus(s-textview);
+   etk_widget_focus(s-win);
+ }
+   else
+ {
+   etk_widget_focus(s-textview);
+   etk_object_properties_set(ETK_OBJECT(s-win),
+ focusable, ETK_FALSE, NULL);
+ }
 }
 
 void
@@ -442,6 +470,21 @@
 }
 
 void
+_e_sticky_lock_set(E_Sticky *s, Etk_Bool on)
+{
+   etk_toggle_button_active_set(ETK_TOGGLE_BUTTON(s-lock_toggle), on);
+}
+
+void
+_e_sticky_properties_set(E_Sticky *s)
+{   
+   if(s-stick == 1)
+ etk_window_sticky_set(ETK_WINDOW(s-win), ETK_TRUE);
+   if(s-locked == 1)
+ _e_sticky_lock_set(s, ETK_TRUE);
+}
+
+void
 _e_sticky_theme_apply(E_Sticky *s, char *theme)
 {
char theme_file[PATH_MAX];
@@ -466,7 +509,7 @@

E CVS: proto chaos

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir : e17/proto/entropy/images


Added Files:
vfolder-system.png 


Log Message:
* Oops




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl pfritz

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_grid.c 


Log Message:
fix position_get() and set the preferred size correct

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_grid.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_grid.c  24 Jul 2006 05:50:19 -  1.24
+++ ewl_grid.c  6 Aug 2006 22:02:41 -   1.25
@@ -467,8 +467,8 @@
/*
 * and now find the current position
 */
-   ecore_dlist_goto_first(EWL_CONTAINER(w)-children);
-   while ((c = ecore_dlist_next(EWL_CONTAINER(w)-children))
+   ecore_dlist_goto_first(EWL_CONTAINER(g)-children);
+   while ((c = ecore_dlist_next(EWL_CONTAINER(g)-children))
 c != w) {
if (!ewl_widget_data_get(w, g))
go_next(g, col, row);
@@ -1189,7 +1189,7 @@
rel = 0.0;
fixed = 0;
for (i = 0; i  g-rows; i++) {
-   switch (g-col_size[i].resize_type) {
+   switch (g-row_size[i].resize_type) {
case EWL_GRID_RESIZE_RELATIVE:
rel += g-row_size[i].user.rel_size;
break;



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl pfritz

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
Makefile.am 
Added Files:
ewl_grid.c 


Log Message:
add a grid test

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- Makefile.am 28 Jul 2006 04:23:57 -  1.34
+++ Makefile.am 6 Aug 2006 22:47:49 -   1.35
@@ -27,7 +27,7 @@
  ewl_scrollpane.la ewl_spinner.la ewl_progressbar.la \
  ewl_theme.la ewl_media.la ewl_menu.la ewl_imenu.la \
  ewl_widget.la fullscreen.la  modal.la ewl_layer.la \
- ewl_list.la puzzle.la
+ ewl_list.la puzzle.la ewl_grid.la
 
 ewl_border_la_SOURCES   = ewl_border.c
 ewl_border_la_LIBADD= $(top_builddir)/src/lib/libewl.la
@@ -344,6 +344,13 @@
  -L$(top_builddir)/src/lib/.libs
 puzzle_la_DEPENDENCIES = 
 
+ewl_grid_la_SOURCES   = ewl_grid.c
+ewl_grid_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_grid_la_LDFLAGS= -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_grid_la_DEPENDENCIES = 
+
 
 FILES = $(ewl_border_la_SOURCES) $(ewl_box_la_SOURCES) \
$(ewl_button_la_SOURCES) $(ewl_colordialog_la_SOURCES) \
@@ -367,7 +374,7 @@
$(ewl_image_thumbnail_la_SOURCES) $(fullscreen_la_SOURCES) \
$(modal_la_SOURCES) $(ewl_layer_la_SOURCES) \
$(ewl_dnd_snoop_la_SOURCES) $(ewl_list_la_SOURCES) \
-   $(puzzle_la_SOURCES)
+   $(puzzle_la_SOURCES) $(ewl_grid_la_SOURCE)
 
 EXTRA_DIST = $(FILES)
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto lok

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/enhance/src/lib


Modified Files:
enhance_widget.c 


Log Message:
Bugfix on image buttons.

===
RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance_widget.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- enhance_widget.c31 Jul 2006 20:06:55 -  1.13
+++ enhance_widget.c7 Aug 2006 02:10:10 -   1.14
@@ -1060,5 +1060,7 @@
  {
 if(ETK_IS_IMAGE(child-wid))
   etk_button_image_set(ETK_BUTTON(parent-wid), ETK_IMAGE(child-wid));
+else
+  etk_container_add(ETK_CONTAINER(parent-wid), child-wid);
  }
 }



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto lok

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/enhance/src/lib


Modified Files:
enhance.c 


Log Message:
icon_name property added.

===
RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- enhance.c   5 Aug 2006 17:11:18 -   1.14
+++ enhance.c   7 Aug 2006 03:40:34 -   1.15
@@ -612,6 +612,16 @@
etk_object_properties_set(ETK_OBJECT(wid-wid), stock_size, id, NULL);
  }
 
+   else if(!strcmp(name, icon_name))
+ {
+   Etk_Stock_Id id;
+   PROPERTY_STR;
+   
+   _en_stock_items_hash_init();  
+   id = (Etk_Stock_Id)ecore_hash_get(_en_stock_items_hash, value);
+   etk_object_properties_set(ETK_OBJECT(wid-wid), stock_id, 
(Etk_Stock_Id)id, NULL);
+ }
+
else if(!strcmp(name, use_stock))
  {
PROPERTY_BOOL;



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore


Modified Files:
configure.in 


Log Message:


fix x build/link in some weird circumstnaces

===
RCS file: /cvs/e/e17/libs/ecore/configure.in,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -3 -r1.146 -r1.147
--- configure.in23 Jul 2006 21:40:02 -  1.146
+++ configure.in7 Aug 2006 07:03:12 -   1.147
@@ -18,38 +18,34 @@
 AM_PROG_LIBTOOL
 AC_C___ATTRIBUTE__

-dnl Set PACKAGE_DATA_DIR in config.h.
-if test x${prefix} = xNONE; then
-  AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
${ac_default_prefix}/share/${PACKAGE}, [Shared Data Directory])
-else
-  AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, ${prefix}/share/${PACKAGE}, [Shared 
Data Directory])
-fi
-
-dnl Set PACKAGE_BIN_DIR in config.h.
 if test x${bindir} = 'xNONE'; then
   if test x${prefix} = xNONE; then
-AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, ${ac_default_prefix}/bin, 
[Installation Directory for User Executables])
+PACKAGE_BIN_DIR=${ac_default_prefix}/bin
   else
-AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, ${prefix}/bin, [Installation 
Directory for User Executables])
+PACKAGE_BIN_DIR=${prefix}/bin
   fi
 else
-  AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, ${bindir}, [Installation Directory for 
User Executables])
+  PACKAGE_BIN_DIR=${bindir}
 fi
+AC_SUBST(PACKAGE_BIN_DIR)

-dnl Set PACKAGE_LIB_DIR in config.h.
 if test x${libdir} = 'xNONE'; then
   if test x${prefix} = xNONE; then
-AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, ${ac_default_prefix}/lib, 
[Installation Directory for Libraries])
+PACKAGE_LIB_DIR=${ac_default_prefix}/lib
   else
-AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, ${prefix}/lib, [Installation 
Directory for Libraries])
+PACKAGE_LIB_DIR=${prefix}/lib
   fi
 else
-  AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, ${libdir}, [Installation Directory for 
Libraries])
+  PACKAGE_LIB_DIR=${libdir}
+fi
+AC_SUBST(PACKAGE_LIB_DIR)
+
+if test x${prefix} = xNONE; then
+  PACKAGE_DATA_DIR=${ac_default_prefix}/share/${PACKAGE}
+else
+  PACKAGE_DATA_DIR=${prefix}/share/${PACKAGE}
 fi
-
-dnl Set PACKAGE_SOURCE_DIR in config.h.
-packagesrcdir=`cd $srcdir  pwd`
-AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, ${packagesrcdir}, [Source Code 
Directory])
+AC_SUBST(PACKAGE_DATA_DIR)
 
 dnl Use -Wall if we have gcc.
 changequote(,)dnl
@@ -177,7 +173,6 @@
 x_includes=;
 x_cflags=;
 x_libs=;
-x_ldflags=;
 
 if test x$have_ecore_txt = xyes; then
   AC_MSG_CHECKING(whether ecore_x module is to be built)
@@ -208,7 +203,6 @@
   x_dir=${x_dir:-/usr/X11R6}
   x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
   x_libs=${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext
-  x_ldflags= $ecore_x_libs;
   ecore_x_libs=-lecore_x;
 ],[
   AM_CONDITIONAL(BUILD_ECORE_X, false)
@@ -220,7 +214,6 @@
 
 AC_SUBST(x_cflags)
 AC_SUBST(x_includes)
-AC_SUBST(x_ldflags)
 AC_SUBST(x_libs)
 
 if test x$have_ecore_x = xyes; then
@@ -242,7 +235,7 @@
   Xcursor_libs=
   use_Xcursor=no
 ], [
-  $x_libs $x_ldflags -lXrender
+  $x_libs -lXrender
 ]
   )
 ], [
@@ -276,7 +269,7 @@
   Xprint_libs=
   use_Xprint=no
 ], [
-  $x_libs $x_ldflags
+  $x_libs
 ]
   )
 ], [
@@ -310,7 +303,7 @@
   Xinerama_libs=
   use_Xinerama=no
 ], [
-  $x_libs $x_ldflags
+  $x_libs
 ]
   )
 ], [
@@ -344,7 +337,7 @@
   Xrandr_libs=
   use_Xrandr=no
 ], [
-  $x_libs $x_ldflags
+  $x_libs
 ]
   )
 ], [
@@ -378,7 +371,7 @@
   Xss_libs=
   use_Xss=no
 ], [
-  $x_libs $x_ldflags
+  $x_libs
 ]
   )
 ], [
@@ -412,7 +405,7 @@
   Xrender_libs=
   use_Xrender=no
 ], [
-  $x_libs $x_ldflags
+  $x_libs
 ]
   )
 ], [
@@ -446,7 +439,7 @@
   Xfixes_libs=
   use_Xfixes=no
 ], [
-  $x_libs $x_ldflags
+  $x_libs
 ]
   )
 ], [
@@ -480,7 +473,7 @@
   Xdamage_libs=
   use_Xdamage=no
 ], [
-  $x_libs $x_ldflags
+  $x_libs
 ]
   )
 ], [



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2006-08-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_x


Modified Files:
Makefile.am 


Log Message:


fix x build/link in some weird circumstnaces

===
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_x/Makefile.am,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- Makefile.am 19 May 2006 14:23:04 -  1.29
+++ Makefile.am 7 Aug 2006 07:03:12 -   1.30
@@ -30,11 +30,6 @@
 Ecore_X_Atoms.h \
 Ecore_X_Cursor.h
 
-## FIXME: disabled until xcomp adds this file in
-# ecore_x_fixes.c \
-# ecore_x_damage.c \
-#
-
 libecore_x_la_SOURCES = \
 ecore_x.c \
 ecore_x_dnd.c \
@@ -67,7 +62,6 @@
 @Xfixes_libs@ \
 @Xdamage_libs@ \
 @Xss_libs@ \
[EMAIL PROTECTED]@ \
 @x_libs@ \
 $(top_builddir)/src/lib/ecore/libecore.la \
 $(top_builddir)/src/lib/ecore_txt/libecore_txt.la \
@@ -77,11 +71,6 @@
 $(top_builddir)/src/lib/ecore/libecore.la \
 $(top_builddir)/src/lib/ecore_txt/libecore_txt.la \
 $(top_builddir)/src/lib/ecore_job/libecore_job.la
-
-## FIXME: disabled until xcomp adds this file in
-# ecore_x_fixes.c \
-# ecore_x_damage.c \
-#
 
 endif
 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs