E CVS: libs/ewl dj2

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

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


Modified Files:
ewl_text.c 


Log Message:
- print out some length information

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text/ewl_text.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_text.c  14 Mar 2007 00:09:39 -  1.8
+++ ewl_text.c  17 May 2007 23:52:18 -  1.9
@@ -119,7 +119,7 @@
ewl_container_child_append(EWL_CONTAINER(box), o);
ewl_widget_show(o);
 
-   printf("Insert 'The first bunch of text\\n'\n");
+   printf("Insert 'The first bunch of text\\n' [24]\n");
ewl_text_text_insert(EWL_TEXT(o), "The first bunch of text\n", 0); /* 
24 */
 
printf("Cursor position\n");
@@ -128,7 +128,7 @@
printf("Colour apply\n");
ewl_text_color_apply(EWL_TEXT(o), 0, 0, 255, 255, 5);
 
-   printf("Appending 'The second bunch of text\\n'\n");
+   printf("Appending 'The second bunch of text\\n' [49]\n");
ewl_text_text_append(EWL_TEXT(o), "The second bunch of text\n"); /* 25 
*/
 
printf("Font size set\n");
@@ -147,13 +147,13 @@
printf("Outline colour set\n");
ewl_text_outline_color_set(EWL_TEXT(o), 200, 200, 200, 200);
 
-   printf("Appending 'The third bunch of text\\n'\n");
+   printf("Appending 'The third bunch of text\\n' [73]\n");
ewl_text_text_append(EWL_TEXT(o), "The third bunch of text\n"); /* 24 */
 
-   printf("Inserting 'The fourth bunch of text\\n'\n");
+   printf("Inserting 'The fourth bunch of text\\n' [98]\n");
ewl_text_text_insert(EWL_TEXT(o), "The fourth bunch of text\n", 31); /* 
25 */
 
-   printf("Creating trigger\n");
+   printf("Creating trigger [115]\n");
trigger = ewl_text_trigger_new(EWL_TEXT_TRIGGER_TYPE_TRIGGER);
ewl_text_trigger_start_pos_set(trigger, 
ewl_text_length_get(EWL_TEXT(o)));
ewl_text_cursor_position_set(EWL_TEXT(o), 
ewl_text_length_get(EWL_TEXT(o)));
@@ -172,7 +172,7 @@
ewl_callback_append(EWL_WIDGET(trigger), EWL_CALLBACK_MOUSE_OUT,
trigger_cb_mouse_out, NULL);
 
-   printf("Inserting 'The fifth bunch of text\\n'\n");
+   printf("Inserting 'The fifth bunch of text\\n' [139]\n");
ewl_text_text_insert(EWL_TEXT(o), "The fifth bunch of text\n", 0); /* 
24 */
 
printf("Cursor position\n");
@@ -181,7 +181,7 @@
printf("Colour apply\n");
ewl_text_color_apply(EWL_TEXT(o), 255, 0, 0, 255, 24);
 
-   printf("Inserting 'The sixth bunch of text\\n'\n");
+   printf("Inserting 'The sixth bunch of text\\n' [163]\n");
ewl_text_text_insert(EWL_TEXT(o), "The sixth bunch of text\n", 24); /* 
24 */
 
printf("Cursor position\n");
@@ -196,20 +196,20 @@
printf("Colour set\n");
ewl_text_color_set(EWL_TEXT(o), 255, 0, 0, 255);
 
-   printf("Appending 'And in red\\n'\n");
+   printf("Appending 'And in red\\n' [174]\n");
ewl_text_text_append(EWL_TEXT(o), "And in red\n"); /* 11 */
 
printf("Colour set\n");
ewl_text_color_set(EWL_TEXT(o), 0, 0, 0, 255);
 
-   printf("Appending 'Once more with feeling. '\n");
-   ewl_text_text_append(EWL_TEXT(o), "Once more with feeling. ");
+   printf("Appending 'Once more with feeling. ' [198]\n");
+   ewl_text_text_append(EWL_TEXT(o), "Once more with feeling. "); /* 24 */
 
printf("Trigger\n");
trigger = ewl_text_trigger_new(EWL_TEXT_TRIGGER_TYPE_TRIGGER);
ewl_text_trigger_start_pos_set(trigger, 
ewl_text_length_get(EWL_TEXT(o)));
 
-   printf("Appending 'This is the multi\\n\\nline link.'\n");
+   printf("Appending 'This is the multi\\n\\nline link.' [226]\n");
ewl_text_text_append(EWL_TEXT(o), "This is the multi\n\nline link."); 
/* 28 */
len = ewl_text_cursor_position_get(EWL_TEXT(o)) -
ewl_text_trigger_start_pos_get(trigger);
@@ -226,26 +226,26 @@
printf("Colour set\n");
ewl_text_color_set(EWL_TEXT(o), 255, 0, 255, 255);
 
-   printf("Appending 'ONE MORE SEGV\\n\\n'\n");
-   ewl_text_text_append(EWL_TEXT(o), "ONE MORE SEGV\n\n");
+   printf("Appending 'ONE MORE SEGV\\n\\n' [241]\n");
+   ewl_text_text_append(EWL_TEXT(o), "ONE MORE SEGV\n\n"); /* 15 */
 
printf("Colour set\n");
ewl_text_color_set(EWL_TEXT(o), 0, 0, 0, 255);
 
-   printf("Appending 'Align Left\\n'\n");
-   ewl_text_text_append(EWL_TEXT(o), "Align Left\n");
+   printf("Appending 'Align Left\\n' [252]\n");
+   ewl_text_text_append(EWL_TEXT(o), "Align Left\n");  /* 11 */
 
printf("Align set\n");
ewl_text_align_set(EWL_TEXT(o), EWL_FLAG_ALIGN_CENTER);
 
-   printf("Appending 'Align Center.\\n'\n");
-   ewl_text_text_append(EWL_TEXT(o), "Align Center.\n");
+   printf("Appending 'Align Center.\\

E CVS: libs/evas tilman

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/canvas


Modified Files:
evas_object_textblock.c 


Log Message:
rework how the html entity escape arrays are stored. this saves a few hundred 
bytes on the data section of the library, kills off ~300 locations, and makes 
the so 77K smaller.

===
RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -3 -r1.137 -r1.138
--- evas_object_textblock.c 15 May 2007 19:19:00 -  1.137
+++ evas_object_textblock.c 17 May 2007 22:48:48 -  1.138
@@ -441,190 +441,235 @@
 }
 
 /* table of html escapes (that i can find) this should be ordered with the
- * most common first as it's a linear search to match - no hash for this
+ * most common first as it's a linear search to match - no hash for this.
+ *
+ * these are stored as one large string and one additional array that
+ * contains the offsets to the tokens for space efficiency.
  */
-static const char *_escapes[] = 
-{
-/* most common escaped stuff */
- "<", "<",
- ">", ">",
- "&", "&",
- " ", " ", /* NOTE: we will allow nbsp's to break as we map early - 
maybe map to ascii 0x01 and then make the rendering code think 0x01 -> 0x20 */
- """, "\"",
- /* all the rest */
- "©", "©",
- "®", "®",
- "…", "…",
- "Ñ", "Ñ",
- "ñ", "ñ",
- "Ç", "Ç",
- "ç", "ç",
- "ß", "ß",
- "Þ", "Þ",
- "þ", "þ",
- "Ð", "Ð",
- "ð", "ð",
- "´", "´",
- "¸", "¸",
- "°", "°",
- "¨", "¨",
- "¢", "¢",
- "£", "£",
- "¤", "¤",
- "¥", "Â¥",
- "€", "€",
- "§", "§",
- "¶", "¶",
- "«", "«",
- "»", "»",
- "¡", "¡",
- "¿", "¿",
- "¦", "¦",
- "ª", "ª",
- "º", "º",
- "µ", "µ",
- "¯", "¯",
- "⊕", "⊕",
- "∫", "∫",
- "∑", "∑",
- "∏", "∏",
- "⊥", "⊥",
- "∨", "∨",
- "∧", "∧",
- "≡", "≡",
- "≠", "≠",
- "∀", "∀",
- "∃", "∃",
- "∇", "∇",
- "←", "←",
- "→", "→",
- "↑", "↑",
- "↓", "↓",
- "↔", "↔",
- "⇐", "⇐",
- "⇒", "⇒",
- "±", "±",
- "·", "·",
- "×", "×",
- "÷", "÷",
- "¹", "¹",
- "²", "²",
- "³", "³",
- "¼", "¼",
- "½", "½",
- "¾", "¾",
- "¬", "¬",
- "Á", "Á",
- "É", "É",
- "Í", "Í",
- "Ó", "Ó",
- "Ú", "Ú",
- "Ý", "Ý",
- "á", "á",
- "é", "é",
- "í", "í",
- "ó", "ó",
- "ú", "ú",
- "ý", "ý",
- "Â", "Â",
- "Ê", "Ê",
- "Î", "Î",
- "Ô", "Ô",
- "Û", "Û",
- "â", "â",
- "ê", "ê",
- "î", "î",
- "ô", "ô",
- "û", "û",
- "À", "À",
- "È", "È",
- "Ì", "Ì",
- "Ò", "Ò",
- "Ù", "Ù",
- "à", "à",
- "è", "è",
- "ì", "ì",
- "ò", "ò",
- "ù", "ù",
- "Ä", "Ä",
- "Ë", "Ë",
- "Ï", "Ï",
- "Ö", "Ö",
- "ä", "ä",
- "ë", "ë",
- "ï", "ï",
- "ö", "ö",
- "ü", "ü",
- "ÿ", "ÿ",
- "Ã", "Ã",
- "ã", "ã",
- "Õ", "Õ",
- "õ", "õ",
- "å", "Ã¥",
- "Å", "Å",
- "Ø", "Ø",
- "ø", "ø",
- "Æ", "Æ",
- "æ", "æ",
- "Ñ", "Ñ",
- "ñ", "ñ",
- "Ç", "Ç",
- "ç", "ç",
- "ß", "ß",
- "Þ", "Þ",
- "þ", "þ",
- "Ð", "Ð",
- "ð", "ð",
- "α", "α",
- "β", "β",
- "γ", "γ",
- "δ", "δ",
- "ε", "ε",
- "ζ", "ζ",
- "η", "η",
- "θ", "θ",
- "ι", "ι",
- "κ", "κ",
- "λ", "λ",
- "μ", "μ",
- "ν", "ν",
- "ο", "ο",
- "ξ", "ξ",
- "π", "π",
- "ρ", "ρ",
- "σ", "σ",
- "τ", "τ",
- "υ", "υ",
- "φ", "φ",
- "χ", "χ",
- "ψ", "ψ",
- "ω", "ω",
- "Α", "Α",
- "Β", "Β",
- "Γ", "Γ",
- "Δ", "Δ",
- "Ε", "Ε",
- "Ζ", "Ζ",
- "Η", "Η",
- "Θ", "Θ",
- "Ι", "Ι",
- "Κ", "Κ",
- "Λ", "Λ",
- "Μ", "Μ",
- "Ν", "Ν",
- "Ο", "Ο",
- "Ξ", "Ξ",
- "Π", "Π",
- "Ρ", "Ρ",
- "Σ", "Σ",
- "Τ", "Τ",
- "Υ", "Î¥",
- "Φ", "Φ",
- "Χ", "Χ",
- "Ψ", "Ψ",
- "Ω", "Ω"
+static const char escape_strings[] =
+   /* most common escaped stuff */
+   "<\0\x3c\0"
+   ">\0\x3e\0"
+   "&\0\x26\0"
+   " \0\x20\0" /* NOTE: we allow nsbp's to break as we map early - 
maybe map to ascii 0x01 and then make the rendering code think 0x01 -> 0x20 */
+   ""\0\x22\0"
+   /* all the rest */
+   "©\0\xc2\xa9\0"
+   "®\0\xc2\xae\0"
+   "…\0\xe2\x80\xa6\0"
+   "Ñ\0\xc3\x91\0"
+   "ñ\0\xc3\xb1\0"
+   "Ç\0\xc3\x87\0"
+   "ç\0\xc3\xa7\0"
+   "ß\0\xc3\x9f\0"
+   "Þ\0\xc3\x9e\0"
+   "þ\0\xc3\xbe\0"
+   "Ð\0\xc3\x90\0"
+   "ð\0\xc3\xb0\0"
+   "´\

E CVS: apps/expedite tilman

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : apps/expedite

Dir : e17/apps/expedite/src/bin


Modified Files:
textblock_intl.c 


Log Message:
added a quick test for html entity escaping

===
RCS file: /cvs/e/e17/apps/expedite/src/bin/textblock_intl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- textblock_intl.c11 Apr 2007 11:58:32 -  1.1
+++ textblock_intl.c17 May 2007 22:39:19 -  1.2
@@ -64,6 +64,10 @@
   "Ethiopic: 'ዩኒኮድ'"
   "Georgian: 'უნიკოდი'"
   "Greek: 'Γιούνικοντ'"
+
+  /* also test the html entity stuff a bit */
+  "Greek continued: 'τυλθ'"
+
   "Gujarati: 'યૂનિકોડ'"
   "Gurmukhi: 'ਯੂਨਿਕੋਡ'"
   "Hindi: 'यूनिकोड'"



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e_modules kiwi

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kiwi
Module  : e_modules

Dir : e_modules


Modified Files:
AUTHORS README 


Log Message:
add news module

===
RCS file: /cvs/e/e_modules/AUTHORS,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- AUTHORS 24 Feb 2007 08:32:34 -  1.6
+++ AUTHORS 17 May 2007 16:55:37 -  1.7
@@ -33,6 +33,8 @@
 
 net - e_module maintainers.
 
+news - Laurent 'kiwi' Ghigonis <[EMAIL PROTECTED]>
+
 photo - Laurent 'kiwi' Ghigonis <[EMAIL PROTECTED]>
 
 rain - e_module maintainers
===
RCS file: /cvs/e/e_modules/README,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- README  24 Feb 2007 08:32:34 -  1.17
+++ README  17 May 2007 16:55:37 -  1.18
@@ -46,6 +46,8 @@
 
 net - A module to monitor traffic on a network device.
 
+news - A module to display rss feeds.
+
 photo - A module to display pictures on the desktop.
 
 rain - A module to display rain on the desktop.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: news kiwi

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kiwi
Project : e_modules
Module  : news

Dir : e_modules/news


Modified Files:
ABOUT-NLS README TODO autogen.sh 


Log Message:
Fixes, support more feeds, display parse errors ...
Note : ATOM feeds do NOT work for the moment !
Please report to [EMAIL PROTECTED] if you have RSS feeds that doesnt not work
If you have feeds that you want to see in the default configuration, you can 
send me an email too. I want News to have many feeds, in many different 
languages by default.
 * [parse] handle feeds with no title / no date / no link / no description
 * [parse] fix parse with rss version 0.91
 * [dialog] feed: fix select default language
 * [viewer] better display of feeds with no date / no description
 * [viewer] simple click on content opens browser, and show a message 'click 
here to open in browser'
 * [viewer] display if there where errors during parse, and where to report, or 
if the feed is ATOM and not supported yet

===
RCS file: /cvs/e/e_modules/news/ABOUT-NLS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ABOUT-NLS   16 May 2007 12:06:01 -  1.1
+++ ABOUT-NLS   17 May 2007 14:21:29 -  1.2
@@ -0,0 +1,768 @@
+Notes on the Free Translation Project
+*
+
+Free software is going international!  The Free Translation Project is
+a way to get maintainers of free software, translators, and users all
+together, so that will gradually become able to speak many languages.
+A few packages already provide translations for their messages.
+
+   If you found this `ABOUT-NLS' file inside a distribution, you may
+assume that the distributed package does use GNU `gettext' internally,
+itself available at your nearest GNU archive site.  But you do _not_
+need to install GNU `gettext' prior to configuring, installing or using
+this package with messages translated.
+
+   Installers will find here some useful hints.  These notes also
+explain how users should proceed for getting the programs to use the
+available translations.  They tell how people wanting to contribute and
+work at translations should contact the appropriate team.
+
+   When reporting bugs in the `intl/' directory or bugs which may be
+related to internationalization, you should tell about the version of
+`gettext' which is used.  The information can be found in the
+`intl/VERSION' file, in internationalized packages.
+
+Quick configuration advice
+==
+
+If you want to exploit the full power of internationalization, you
+should configure it using
+
+ ./configure --with-included-gettext
+
+to force usage of internationalizing routines provided within this
+package, despite the existence of internationalizing capabilities in the
+operating system where this package is being installed.  So far, only
+the `gettext' implementation in the GNU C library version 2 provides as
+many features (such as locale alias, message inheritance, automatic
+charset conversion or plural form handling) as the implementation here.
+It is also not possible to offer this additional functionality on top
+of a `catgets' implementation.  Future versions of GNU `gettext' will
+very likely convey even more functionality.  So it might be a good idea
+to change to GNU `gettext' as soon as possible.
+
+   So you need _not_ provide this option if you are using GNU libc 2 or
+you have installed a recent copy of the GNU gettext package with the
+included `libintl'.
+
+INSTALL Matters
+===
+
+Some packages are "localizable" when properly installed; the programs
+they contain can be made to speak your own native language.  Most such
+packages use GNU `gettext'.  Other packages have their own ways to
+internationalization, predating GNU `gettext'.
+
+   By default, this package will be installed to allow translation of
+messages.  It will automatically detect whether the system already
+provides the GNU `gettext' functions.  If not, the GNU `gettext' own
+library will be used.  This library is wholly contained within this
+package, usually in the `intl/' subdirectory, so prior installation of
+the GNU `gettext' package is _not_ required.  Installers may use
+special options at configuration time for changing the default
+behaviour.  The commands:
+
+ ./configure --with-included-gettext
+ ./configure --disable-nls
+
+will respectively bypass any pre-existing `gettext' to use the
+internationalizing routines provided within this package, or else,
+_totally_ disable translation of messages.
+
+   When you already have GNU `gettext' installed on your system and run
+configure without an option for your new package, `configure' will
+probably detect the previously built and installed `libintl.a' file and
+will decide to use this.  This might be not what is desirable.  You
+should use the more recent version of the GNU `gettext' library.  I.e.
+if the file `i

E CVS: news kiwi

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kiwi
Project : e_modules
Module  : news

Dir : e_modules/news/src/module


Modified Files:
e_mod_main.c news_config_dialog_feed.c 
news_config_dialog_langs.c news_feed.c news_feed.h news_menu.c 
news_parse.c news_parse_rss.c news_viewer.c 


Log Message:
Fixes, support more feeds, display parse errors ...
Note : ATOM feeds do NOT work for the moment !
Please report to [EMAIL PROTECTED] if you have RSS feeds that doesnt not work
If you have feeds that you want to see in the default configuration, you can 
send me an email too. I want News to have many feeds, in many different 
languages by default.
 * [parse] handle feeds with no title / no date / no link / no description
 * [parse] fix parse with rss version 0.91
 * [dialog] feed: fix select default language
 * [viewer] better display of feeds with no date / no description
 * [viewer] simple click on content opens browser, and show a message 'click 
here to open in browser'
 * [viewer] display if there where errors during parse, and where to report, or 
if the feed is ATOM and not supported yet

===
RCS file: /cvs/e/e_modules/news/src/module/e_mod_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_main.c16 May 2007 12:06:03 -  1.1
+++ e_mod_main.c17 May 2007 14:21:29 -  1.2
@@ -104,7 +104,7 @@
 e_modapi_about(E_Module *m)
 {
news_util_message_show(_("Module to display information feeds"
-"like Rss or Atom, on youre desktop"
+"like Rss (and soon Atom), on youre 
desktop"
 "[EMAIL PROTECTED]"
 "http://.zapto.org";));
return 1;
===
RCS file: /cvs/e/e_modules/news/src/module/news_config_dialog_feed.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- news_config_dialog_feed.c   16 May 2007 12:06:03 -  1.1
+++ news_config_dialog_feed.c   17 May 2007 14:21:29 -  1.2
@@ -204,6 +204,8 @@
  e_widget_ilist_selected_set(ilist, pos_to_select);
else
  e_widget_ilist_selected_set(ilist, 0);
+   _cb_lang_change(cfdata, NULL);
+   
 
e_widget_min_size_get(ilist, &w, NULL);
e_widget_min_size_set(ilist, w, 110);
===
RCS file: /cvs/e/e_modules/news/src/module/news_config_dialog_langs.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- news_config_dialog_langs.c  16 May 2007 12:06:03 -  1.1
+++ news_config_dialog_langs.c  17 May 2007 14:21:29 -  1.2
@@ -1,5 +1,7 @@
 #include "News.h"
 
+#define DIALOG_CLASS "_e_mod_news_config_dialog_langs"
+
 struct _Lang_Choice
 {
News_Feed_Lang *lang;
@@ -30,6 +32,9 @@
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
 
+   if (e_config_dialog_find("E", DIALOG_CLASS))
+ return 0;
+
v = E_NEW(E_Config_Dialog_View, 1);

v->create_cfdata = _create_data;
@@ -38,7 +43,7 @@

cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
 _("News Feeds Language Configuration"),
- "E", "_e_mod_news_config_dialog_langs",
+ "E", DIALOG_CLASS,
  news->theme, 0, v, NULL);
return 1;
 }
===
RCS file: /cvs/e/e_modules/news/src/module/news_feed.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- news_feed.c 16 May 2007 12:06:03 -  1.1
+++ news_feed.c 17 May 2007 14:21:29 -  1.2
@@ -300,10 +300,10 @@
if ( f2 && (f != f2) )
  {
 news_util_message_error_show(_("A feed with the 
name %s already exists"
-   "in the %s category"
-   "Its not possible to have feeds with 
the same name"
+   "in the %s category"
+   "Its not possible to have feeds with 
the same name"
"in one category."),
- f->name, f->category->name);
+ name, category->name);
 return 0;
  }
if (!language || !language[0])
@@ -1081,21 +1081,15 @@
 static char *
 _get_host_from_url(const char *url)
 {
-   char *host;
-   char *tmp, *p;
+   char *host, *p;
+   char buf[4096];
 
-   if (strncmp(url, "http://";, 7))
+   strncpy(buf, url, sizeof(buf));
+   if (strncmp(buf, "http://";, 7))
  return NULL;
-   tmp = strdup(url + 7);
-   p = strchr(tmp, '/');
-   if (!p)
- {
-free(tmp);
-return NULL;
- }
-   *p = '\0';
-   host = strdup(tmp);
-   free(tmp);
+   p = strchr(buf+7, '/');

E CVS: debian kaethorn

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kaethorn
Project : e_modules
Module  : debian

Dir : e_modules/debian


Modified Files:
control 
Added Files:
emodule0-news.install 


Log Message:
add news module to debian package.

===
RCS file: /cvs/e/e_modules/debian/control,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- control 27 Feb 2007 19:39:38 -  1.20
+++ control 17 May 2007 13:49:50 -  1.21
@@ -113,6 +113,13 @@
  - configure poll interval
  - choose device.
  
+Package: emodule0-news
+Architecture: any
+Depends: ${shlibs:Depends}, enlightenment
+Provides: emodule-news
+Description: The E17 new modules
+ An E17 module to display feeds like Rss or Atom on the desktop.
+ 
 Package: emodule0-photo
 Architecture: any
 Depends: ${shlibs:Depends}, enlightenment
@@ -221,7 +228,7 @@
 
 Package: emodules0-all
 Architecture: any
-Depends: enlightenment, emodule0-alarm, emodule0-bling, emodule0-cpu, 
emodule0-deskshow, emodule0-emu, emodule0-flame, emodule0-forecasts, 
emodule0-language, emodule0-mail, emodule0-mem, emodule0-mixer, emodule0-moon, 
emodule0-net, emodule0-photo, emodule0-rain, emodule0-screenshot, 
emodule0-slideshow, emodule0-snow, emodule0-taskbar, emodule0-tclock, 
emodule0-uptime, emodule0-weather, emodule0-winselector, emodule0-wlan
+Depends: enlightenment, emodule0-alarm, emodule0-bling, emodule0-cpu, 
emodule0-deskshow, emodule0-emu, emodule0-flame, emodule0-forecasts, 
emodule0-language, emodule0-mail, emodule0-mem, emodule0-mixer, emodule0-moon, 
emodule0-net, emodule0-news, emodule0-photo, emodule0-rain, 
emodule0-screenshot, emodule0-slideshow, emodule0-snow, emodule0-taskbar, 
emodule0-tclock, emodule0-uptime, emodule0-weather, emodule0-winselector, 
emodule0-wlan
 Conflicts: emodules-extra, evolume
 Provides: emodules-all, e17-modules
 Description: A dummy package for installing all modules for E17
@@ -240,6 +247,7 @@
  Mixer   : Sound mixer module.
  Moon: Moon Clock module for Enlightenment.
  Net : Network activity monitoring module.
+ News: Displays Rss or Atom feeds on the desktop.
  Photo   : Display, view or set pictures as backgrounds.
  Rain: Displays rain on the desktop.
  Screenshot  : This module is used to take screenshots. It



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2007-05-17 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e


Modified Files:
configure.in ChangeLog timestamp.h 


Log Message:
Thu May 17 11:49:39 CEST 2007
(Kim)

--- 0.16.8.8 ---
Bump version.
Fix pagers when enabling after initially being disabled (noted by Dennis Nezic).
Remove unused backup-cfg stuff. 
Fix fallback textclass.
Don't crash if trying to start when no theme is found. Add missing newline.
Fix parsing title, name, and class matches in windowmatches.cfg (noted by Ted 
Baltz).
Remove trailing dash in release version string.
Enable setting imlib2 image cache size (debug).
Eliminate some remainders from Window re-wrapping done a while back.


===
RCS file: /cvs/e/e16/e/configure.in,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -3 -r1.207 -r1.208
--- configure.in7 May 2007 23:09:43 -   1.207
+++ configure.in17 May 2007 09:51:24 -  1.208
@@ -1,7 +1,7 @@
 AC_INIT(configure.in)
 
 E_PKG_VERSION=0.16.8.8
-E_PKG_REVISION=0.00
+# E_PKG_REVISION=0.00
 if test "x$E_PKG_REVISION" != "x"; then
   E_PKG_VER_REV=$E_PKG_VERSION-$E_PKG_REVISION
   E_RPM_REVISION=$E_PKG_REVISION
===
RCS file: /cvs/e/e16/e/ChangeLog,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -3 -r1.234 -r1.235
--- ChangeLog   3 May 2007 22:17:49 -   1.234
+++ ChangeLog   17 May 2007 09:51:24 -  1.235
@@ -4342,3 +4342,20 @@
 Fix ugly black shadows on icons in transparent iconbox (noted by Atom Smasher).
 Fix repaint after changing shadow mode.
 
+
+---
+
+Thu May 17 11:49:39 CEST 2007
+(Kim)
+
+--- 0.16.8.8 ---
+Bump version.
+Fix pagers when enabling after initially being disabled (noted by Dennis 
Nezic).
+Remove unused backup-cfg stuff. 
+Fix fallback textclass.
+Don't crash if trying to start when no theme is found. Add missing newline.
+Fix parsing title, name, and class matches in windowmatches.cfg (noted by Ted 
Baltz).
+Remove trailing dash in release version string.
+Enable setting imlib2 image cache size (debug).
+Eliminate some remainders from Window re-wrapping done a while back.
+
===
RCS file: /cvs/e/e16/e/timestamp.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- timestamp.h 3 May 2007 22:17:49 -   1.30
+++ timestamp.h 17 May 2007 09:51:24 -  1.31
@@ -1 +1 @@
-#define E_CHECKOUT_DATE "$Date: 2007/05/03 22:17:49 $"
+#define E_CHECKOUT_DATE "$Date: 2007/05/17 09:51:24 $"



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs