lp:ubuntu/quantal-backports/tickr
- Get this branch:
- bzr branch lp:ubuntu/quantal-backports/tickr
Branch merges
Branch information
Recent revisions
- 7. By Emmanuel Thomas-Maurin
-
* Non standard feed rank support in OPML file.
* Add new optional 'feed re-ordering by user' feature.
* Add in libetm-
0.4.4/str_ mem.c/h: (int) str_is_num(const char *) and
(int) str_is_blank(const char *).* In feed picker win, 'enter' in (rank_/url_)entry launches 'add/upd'
(GTK_RESPONSE_ ADD) instead of 'ok (single)' (GTK_RESPONSE_ SINGLE) . * Question at program start-up about new feed list format conversion:
if version = 0.6.2 and feed list exists and feed list backup doesn't
exist, create backup and convert to new format.* In tickr_feedpicker.c: fix 'cancel' action.
* New func FList *f_list_clone(FList *) in tickr_list/c/h.
* Use GTK_RESPONSE_
CANCEL_ CLOSE only. * In compute_
surface_ and_win( ), remove:
if (prm->icon_in_taskbar == 'n')
gtk_window_ deiconify( GTK_WINDOW( env->win) );
from update_win_dims() (why was it there?) to fix 'tickr keeps
stealing focus' bug. Also replace params_have_been_ changed( ) with
win_params_have_been_ changed( ). (LP: #900759, #951452, #1017107) * Fix (regression bug) segfault which occurs when opening text file
and attempting to 'format_resource()' 'not-generated-if-resource- is-
file' XML_DUMP_EXTRA file.* Libetm version 0.4.3 -> 0.4.4 (see below.)
* Add get_appdata-dir_w() in libetm-
0.4.4:win32_ specific. c and
get_appdata_dir_utf8( ) in tickr_resource.c to fix non-ascii (for
instance cyrillic) user name in app data dir issue on win32.
Also remove seemingly useless g_win32_locale_ filename_ from_utf8( )
stuff on win32.* If 'item title' and 'item description' both unchecked in pref win,
warn about 'pointless' setup and ask for confirmation before saving
config.* Add new TickerEnv member (int) mouse_x_in_drwa used to continuously
tracks (guess what?) mouse x position. Now we have:
- tooltips with descriptions when ticker displays only titles
and
- tooltips with titles when ticker displays only descriptions.* Add fp_extra stuff in tickr_feedparser.c to get item titles /
descriptions (in tooltips and others) when they are no displayed.* Remove tmp files when exiting tickr_resource.
c:format_ resource( ). * Add env->c_surf test in shift2left_
callback( ). (LP: #1011316) - 6. By Emmanuel Thomas-Maurin
-
* Add: 'quick setup' thing (in tickr_quicksetup.c) which is launched
at program startup if config file doesn't exist.* Little improvements in layout of 'feed picker win' and 'preferences
win'.* Fix a segfault that happens when trying to export params and no
config file exists yet.* Make several windows that should not be resized by user, unresizable.
* Fix Launchpad bug #1007346: When 'window always-on-top' is disabled,
'visible on all user desktops' stops working.* If mouse wheel scrolling applies to speed (or feed), then Ctrl +
mouse wheel scrolling applies to feed (or speed.)* No real code changes in libetm, only in comments, so no need for a
new version number.* Update tickr_helptext.c and tickr.1 (man page.)
* Add new cli option 'no-ui' (similar to 'instance-id') used by new
IF_UI_ALLOWED macro and remove all #if USE_GUI occurences.* In tickr_list.c, free listfname before using it. Fixed by swapping 2
lines:
warning(FALSE, 4, "Can't save URL list ", listfname, ...);
l_str_free(listfname) ; * Use/add #define
FONT_MAXLEN 68
ARBITRARY_TASKBAR_ HEIGHT 25
to replace a few 'magic' numeric values.* Rename: rss_title/
description( _delimiter) ->
item_title/descripti on(_delimiter)
then add new param: feed_title(_delimiter) . Now we have:
feed title / item title / item description.* Use table in resource properties window.
* Fix a bug in f_list_
load_from_ file() in tickr_list.c which
uncorrectly retrieves any feed title string containing TITLE_TAG_CHAR
when TITLE_TAG_CHAR has not been removed from string first, for
instance: 'NYT > World' -> ' World'.* New param: disable left-click.
* Add 'check for updates' feature.
* Launch 'import OPML file' if feed list doesn't exist.
* Remove code changing get_params(
)->disable_ popups value in
START/END_PAUSE_ TICKER_ WHILE_OPENING
macros which prevents this setting to be saved and add
START/END_PAUSE_ TICKER_ ENABLE_ POPUPS_ WHILE_OPENING
new macros. Which ones to use depends on context.* Move:
#ifdef G_OS_WIN32
extern FILE *stdout_fp, *stderr_fp;
#endif
from *.c into tickr.h.* Default always-on-top setting changed to 'n' (so that tickr is not
intrusive by default.) - 5. By Emmanuel Thomas-Maurin
-
* Complete quick_feed_picker() stuff in tickr_quickfeed
picker. c. * Swap win32 log files every hour to prevent generating huge ones.
Finally fix an old bug on win32.* Several little improvements/fixes in tickr_feedpicker.c.
* New type FList (feed doubly-linked list) and associated functions
f_list_*() in tickr_list.c. Will replace confusing: char url_array[] /
char *p_url[] / char **p_url stuff in: tickr_main.c, tickr_feedpicker.c,
tickr_opml.c and tickr_resource.c.* Renaming 2 src files:
- tickr_rss.c -> tickr_feedparser.c
- tickr_rsswin.c -> tickr_feedpicker.c* Add new func: win_with_
progress_ bar() (in tickr_otherwins.c) and use
it in feed list import thing (in tickr_opml.c) instead of
not-spinning-as-expected win_with_spinner(). * When opening the feed picker dialog, highlight and scroll to current
feed, plus several extra fixes and tweaks (in tickr_rsswin.c.)* Add new func: highlight_
and_go_ to_row( ) (in tickr_quickfeed picker. c.) * Add new func: get_feed_
index_in_ selection( ) (in tickr_resource.c.) * Add new module and func: tickr_quickfeed
picker. c: quick_feed_ picker( ). * Add new func: question_win_at().
* Move 'Import/Export Preferences' from 'File' to 'Edit' in menu layout.
* Check/improve tickr_socket.c code and move typedefs, prototypes,
error codes, ... for tickr_socket.c into tickr_socket.h for
modularity sake.* Pause tickr (on mouse-over AND) when popup menu is opened.
* Change big_error() function (and prototype in libetm-0-4.3) to
handle variable number of args / change warning() the same way.* Add new func: try_str_to_utf8() in tickr_rss.c
-> try to fix string when utf-8 validation fails.* Add new func: remove_
trailing_ whitespaces_ from_str( char *) in
libetm-0.4.3/str_ mem.c. * Change SEND_RECV_TIMEOUT to SEND_RECV_
TIMEOUT_ SEC and
SEND_RECV_TIMEOUT_ USEC. * Change main window title:
'app name and version num | feed title / file name'
->
'feed title / file name | app name and version num'* In libetm-0.4.3:
- Compile with win32_specific.c only on win32 (fix empty unit
warning.)
- get_libetm_version( ) (function name modified.) * Fix a typo in debian/control Build-Depends:
'debhelper (>= 7.O.50~)' instead of 'debhelper (>= 7.0.50~)'
which only shows up when trying to build for Lucid.* Split tickr_http.c into tickr_http.c and tickr_socket.c.
* libetm-0.4.2 -> libetm-0.4.3:
Replace KB, MB, GB, TB with KiB, MiB, GiB, TiB. - 4. By Emmanuel Thomas-Maurin
-
* Implement new parameter: <mouse wheel scrolling apply to:
* s = ticker-speed / f = feed-in-list / n = none>.* Set <ticker pause on mouse-over> as optional.
* Select/highlight and scroll to added URL in the list window.
* Split compute_
surface_ and_win( ) code into compute_surface and
compute_win, because the later is not always necessary. When
window-always- on-top is disabled, compute_win needs to be run only
twice at program startup (ie once after gtk_widget_show_all( ) has been
called), then whenever params are changed, but not every time a new
feed is loaded.* Add preferences (settings) importing/exporting feature.
* 'file' scheme support added in tickr_http.c -> enables reading *and*
xml-processing of (local) text files (wheras 'open text file' *only*
read them.)* 'HTTPS not supported' handling/warning added in tickr_http.c (fix bug:
program freezes whith HTTP redirects to HTTPS.)* xml 'quick check' in tickr_http.
c:format_ quick_check( ) don't reject
anymore valid (?) feeds not starting with '<?xml' (like google news.)* A few little changes in libetm-0.4 -> libetm-0.4.2.
* Use mouse wheel to go to previous/next feed.
* Hide passwords in connection settings window.
* Pause ticker and show feed title in tooltip on mouse-over.
* Renaming all source files: news_*.c/h -> tickr_*/c/h.
- 3. By Emmanuel Thomas-Maurin
-
* Fix sort_url_
list(EMPTY_ LIST) falsly returning one element list
(in news_list.c.) Now, program doesn't hang anymore if lauched with
no feed URLs selected.* Add in news_main.c: shift2left_
callback( ):
env->suspend_rq = TRUE / (cairo drawing code) / env->suspend_rq = FALSE* Tickr fails to build with ld --as-needed (recently-
set-as- default
linker flag) because libraries must be placed after objects needing
theirs symbols.
To fix that, we use autoconf macro PKG_CHECK_MODULES( GTK2, gtk+-2.0, ,)
and PKG_CHECK_MODULES( XML2, libxml-2.0, ,) in configure.ac, and we
may so remove `pkg-config --libs GTK+-2.0' and `xml-config --libs' from
src/tickr/Makefile. am.
(Closes: #647311 LP: #879880)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/saucy/tickr