Enlightenment CVS committal
Author : kiwi
Project : e_modules
Module : news
Dir : e_modules/news
Modified Files:
TODO configure.in
Log Message:
Pass distcheck, some fixes, and a new "important" field for feeds
* use pkg-config
* pass make distcheck
* [dialog] little ui fixes
* [viewer] make default shadow a little lighter
* [feed] implement "important" feed marks. in a gadget, you can now display
only feeds that you marked as "important", or only unread "important" feeds.
"important" feeds are marked with a "[i]" in configuration dialogs
* [config] add browser "firefox (new window)" and "firefox (new tab)" as
requested
* cleanups and renames
===================================================================
RCS file: /cvs/e/e_modules/news/TODO,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- TODO 21 May 2007 12:30:40 -0000 1.3
+++ TODO 23 May 2007 23:37:15 -0000 1.4
@@ -7,6 +7,12 @@
- X - ? rarely, on viewer open, it crashes in news_viewer_refresh, on
e_icon_file_set (in evas engine loader func)
the evas object seems ok, the string passed to the loader too ...
+ - M - sometimes there are false parse errors returned
+
+ - M - maybe a BUG with add / remove feeds in an item (MODE_FEED)
+ it has hang on time, in while(o = e_box_..._first(box)) { unpack }
+ ... needs testing
+
----------------------------------------------------
FEEDS TO ADD
----------------------------------------------------
@@ -17,6 +23,12 @@
mails juan
mails ludger
+politic : http://alibaba0.free.fr/blog/rss.php
+
+?
+http://www.kozlika.org/kozeries/feed/rss2
+
+
----------------------------------------------------
NEEDED (to do more or less in this order)
----------------------------------------------------
@@ -24,29 +36,26 @@
- debug html chars parse with test.rss
-> add support for & alone in evas_textblock
- - ? merge news_parse_rss.c/h to news_parse.c/h ?
+ - merge news_parse_rss.c/h to news_parse.c/h
- atom feeds
- viewer: a way to set vcontent bg color ?
- - feed icons (new file ?)
-Evas_Object *news_feed_icon_add(News_Feed *feed)
-void news_feed_icon_del(Evas_Object *obj)
-void news_feed_icon_refresh(Evas_Object *obj)
-evas_object_data_set the feed on the icon
-evas_object_event_callback_add(EVAS_CALLBACK_FREE) on the icon, that remove
the obj from feed->icons
- to get a feeds icon : an edje obj, with icon swallowed
- so we can put in menu / item / ilists, to have animated things every where,
linked and consistant (state refresh calls news_feed_icon_refresh(feed))
- add an "attached" state, to show that the feed is attached to an item. for
example, a circle border aroung the icon ?
- enable/disable state changes for each icon, with options on the _icon_add()
and "can_..." data attached to the icon's evas_object
- so mybe then no feed for news_viewer_feed_refresh() and
config_dialog_refresh_feed() ...
+ - clean config_dialog_data (use sub structs ...)
+
+ - item: view mode: show a picture after each radio button, like for shelf
position
+ - ? item: instead of "important modes", add a checkbox ?
+or another things to have a better wayt to show important feeds & unread state
+
- feeds option "icon glint on news"
- news_feed_ilist_get(News_Item *item)
- + news_feed_category_ilist_get()
+ + news_feed_category_ilist_get()
+ + news_item_feeds_ilist_get()
if item is not NULL, get the selected feeds (= feeds of the item)
is NULL, get the whole feeds list (with categories ...)
(implement multi sel everywhere in main dialog, feeds list;
usefull for delete feeds)
news_category_ilist_get
+
- news_viewer_feed_refresh -> refresh label and icon of a feed
news_config_dialog_refresh_feed
news_config_dialog_item_refresh_feed
@@ -56,11 +65,12 @@
nth_label_set
to avoid refresh the ilist
- --- WAIT FOR FEED ICONS ---
+[Viewer]
+ - ? viewer: instead of having 'own lists', get the pos of feeds/articles via
going through ilist items (e_widget_ilist_items_get &&
e_widget_ilist_nth_data_get), counting and looking data field ?
+ - appear with sliding animation in option ?
- viewer: dont reselect current feed in viewer when a feed has updated with
changes
- viewer: when an article goes to "as read" and "feeds first" option, refresh
the feeds list but don't reselect the feed, go on top of the list
- use a "changed" attribute to things, to detect what has to be refresh when
refresh() is called. to avoid refresh things for nothing, so avoid user ilists
changer for nothing
- ---
[Parse]
- reparse infos every time, if changes ... ?
@@ -70,44 +80,27 @@
its not that slow (use memcmp, keep description_size)
[Item]
- - show as selected the feed selected in viewer
- mouse over -> bump icon a bit
- unread feeds : glint every /10s ? on a global beat ?
- - unread feeds : put the red color on top if icon alpha = 0
+ - unread feeds : put the red color on top (if icon alpha = 0, cant see the
red color ...)
+or a square around the icon (like a border) ?
- item actions on mouse over / left click / wheel, like in photo
- option to have label on each feed icon
- - wheel on an item makes the viewer go to next/prev (unread?) article
+ - wheel on an item makes the viewer go to next/prev unread article
- loading state
- - maybe a BUG with add / remove feeds in an item (MODE_FEED)
- it has hang on time, in while(o = e_box_..._first(box)) { unpack }
- ... needs testing
[Config_Dialog]
+ - ? main/item: show language flag in ilist
+e patch : add ability to have a 2nd image on the right of ilist items (we can
show module activation in modules list. (raster adreed, go!, and send to ml) ?
+is it really usefull ? language offen appears in the name, and we have a
language selector ...
- e patch for ilist : e_widget_ilist_selected_set, when there are labels,
selects the good feed but the view goes at the end of the ilist
- e patch for ilist : (dialog_item/viewer when refresh and dont selected_set
after, the view goes up of one item
+ - e patch for config dialogs : e_config_dialog_find for all config dialogs ...
- when changing order / modify feeds / categories
in the main config panel, make the state of the
config panel as INCHANGED
= dont enable "ok" and "apply"
- - ? dont allow move categories ?
- - ? item: category ilist to quickly find a feed ?
- - e_config_dialog_find for all config dialogs ...
- it needs E patch
- - clean config_dialog_data (use sub structs ...)
- - ? news_widget_feeds ? an ilist of feeds, sorted ... other things like that ?
- - ? dialog: default button for viewer font, needs rewrite some things ... ?
- - ? main/item: show language flag in ilist
-e patch : add ability to have a 2nd image on the right of ilist items (we can
show module activation in modules list. (raster adreed, go!, and send to ml) ?
-is it really usefull ? language offen appears in the name, and we have a
language selector ...
-
-[Viewer]
- - appear with sliding animation in option ?
- - when refresh viewer, try not to move the ilist view,
-cause when you are watching it at the same time, its very anoying
- needs e ilist patch ?
- - news viewer refresh position function ?
- - ? viewer: instead of having 'own lists', get the pos of feeds/articles via
going through ilist items (e_widget_ilist_items_get &&
e_widget_ilist_nth_data_get), counting and looking data field ?
[Popup_Warn]
- everything
@@ -116,8 +109,6 @@
- patch to ecore_con to avoid segv when ecore_con_server_del on a server wich
has not astablished connection yet
- popup an error if the feed doesnt want to refresh
(with a timeout timer on waiting reply ...)
- - proxy tests
- - add default feeds
- save articles on unload ?
- DIDNT FIND BETTER ... :
rethink the stupid system that _detach, but not really.
@@ -129,12 +120,12 @@
[*]
- move some things from .h to .c (private things ...)
- - help dialog (mouse on viewer vcontent for example ...)
+ - help dialog (button icon in advanced config dialog ?)
- fix all TODO and FIXME in the code
+ - > add default feeds <
[Parse]
- - ? charset ? already ok ? i believe not =)
- - display feed language
+ - ? charset ? already ok ?
- images
for items :
<enclosure url="..">, look if its an image
@@ -149,17 +140,9 @@
pour que Photo par exemple les reprenne derriere ds le repertoire où on a save
la photo
"mode images" genre entice, pour voir toutes les images d'un coup (cf <lok>) ?
-[Config Dialog]
- - add an auto attach dialog, when you create a new feed
-(disable option)
-
-[Browser]
- - possibility to have a little browser window in front of
-the shelf, to see a news options to remember, place ...
-
----------------------------------------------------
FUTUR
----------------------------------------------------
- - think about a new way of interaction with the wm
+ - think about a new way of interacting with E
- search info about getting feeds where youre need to be logged
===================================================================
RCS file: /cvs/e/e_modules/news/configure.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- configure.in 16 May 2007 12:06:02 -0000 1.1
+++ configure.in 23 May 2007 23:37:15 -0000 1.2
@@ -3,22 +3,18 @@
# get rid of that stupid cache mechanism
rm -f config.cache
-#news module version
-version="0.1.0"
+AC_PREREQ(2.59)
+AC_INIT([news], [0.1.0], [EMAIL PROTECTED])
+AC_CONFIG_HEADERS(config.h)
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE([1.8 foreign])
-AC_INIT(configure.in)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
-AM_INIT_AUTOMAKE(news, $version)
-AM_CONFIG_HEADER(config.h)
-AC_ISC_POSIX
AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
-AC_C_CONST
-AM_ENABLE_SHARED
AM_PROG_LIBTOOL
+AC_HEADER_STDC
ALL_LINGUAS="fi it ja ru sv"
AC_SUBST(ALL_LINGUAS)
@@ -29,24 +25,9 @@
MODULE_ARCH="$host_os-$host_cpu"
AC_SUBST(MODULE_ARCH)
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
-AC_DEFINE_UNQUOTED(MODULE_VERSION, "$version", "Module version")
-
-if test "x${bindir}" = 'x${exec_prefix}/bin'; then
- if test "x${exec_prefix}" = "xNONE"; then
- if test "x${prefix}" = "xNONE"; then
- bindir="${ac_default_prefix}/bin";
- else
- bindir="${prefix}/bin";
- fi
- else
- if test "x${prefix}" = "xNONE"; then
- bindir="${ac_default_prefix}/bin";
- else
- bindir="${prefix}/bin";
- fi
- fi
-fi
+AC_DEFINE_UNQUOTED(MODULE_VERSION, "0.1.0", "Module version")
+# Check Library Directory
if test "x${libdir}" = 'x${exec_prefix}/lib'; then
if test "x${exec_prefix}" = "xNONE"; then
if test "x${prefix}" = "xNONE"; then
@@ -63,18 +44,9 @@
fi
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", "Package
installed binaries destination")
- else
- AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin", "Package installed
binaries destination")
- fi
-else
- AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}", "Package installed binaries
destination")
-fi
-
-dnl Set PACKAGE_LIB_DIR in config.h.
+#
+# Set Library Directory 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", "Package
installed libraries destination")
@@ -85,15 +57,19 @@
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${libdir}", "Package installed
libraries destination")
fi
-dnl Set PACKAGE_DATA_DIR in config.h.
+#
+# Set Data Directory in config.h
+#
if test "x${prefix}" = "xNONE"; then
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${HOME}/.e/e/modules/${PACKAGE}",
"Package installed data destination")
- datadir="${HOME}/.e/e/modules/${PACKAGE}"
+ datadir="${HOME}/.e/e/modules/${PACKAGE}"
else
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR,
"${prefix}/lib/enlightenment/modules/${PACKAGE}", "Package installed data
destination")
- datadir="${prefix}/lib/enlightenment/modules/${PACKAGE}"
+ datadir="${libdir}/enlightenment/modules/${PACKAGE}"
fi
+AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", "Package data destination")
+#
+# Set Data Root and Locale Directory in config.h
+#
AC_PREFIX_DEFAULT(${HOME}/.e/e)
if test "x$prefix" = "xNONE"; then
datarootdir=${ac_default_prefix}
@@ -102,53 +78,18 @@
fi
localedir=${datarootdir}/locale
AC_SUBST(LOCALEDIR, "${localedir}")
-AC_DEFINE_UNQUOTED(LOCALEDIR, "${localedir}", [Module Locale Directory])
+AC_DEFINE_UNQUOTED(LOCALEDIR, "${localedir}", "Module Locale Directory")
-#AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
-#AC_SUBST(dlopen_libs)
-
-AC_ARG_WITH(edje-config,
-[ --with-edje-config=EDJE_CONFIG use edje-config specified ],
-[
- EDJE_CONFIG=$withval;
- echo "using "$EDJE_CONFIG" for edje-config";
-/
-],[
- PROG="edje-config";
- AC_PATH_PROG(EDJE_CONFIG, $PROG, "", $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
-
-edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc"
-AC_ARG_WITH(edje-cc,
-[ --with-edje-cc=PATH specify a specific path to edje_cc],
-[
- v=$withval;
- edje_cc=$v
- echo " Enlightenment edje_cc explicitly set to "$edje_cc;
-],[
- edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc"
-])
-AC_SUBST(edje_cc)
-
-AC_ARG_WITH(enlightenment-config,
-[ --with-enlightenment-config=E_CONFIG use enlightenment-config specified
],
-[
- E_CONFIG=$withval;
- echo "using "$E_CONFIG" for enlightenment-config";
-],[
- PROG="enlightenment-config";
- AC_PATH_PROG(E_CONFIG, $PROG, "", $PATH)
-])
-e_cflags=`$E_CONFIG --cflags`
-e_libs=`$E_CONFIG --libs`
-e_modules=`$E_CONFIG --module-dir`
-AC_SUBST(e_cflags)
-AC_SUBST(e_libs)
-AC_SUBST(e_modules)
+#
+# Check EFL Libs
+#
+PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
+AC_PATH_PROG(EDJE_CC, "edje_cc", "", $PATH)
+
+#
+# Check Enlightenment
+#
+AC_PATH_GENERIC([enlightenment], [0.16.999.037], [],
[AC_MSG_ERROR(Enlightenment is not installed)],)
AC_OUTPUT([
e_modules-news.spec
-------------------------------------------------------------------------
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