~ubuntu-branches/debian/jessie/tickr/jessie

« back to all changes in this revision

Viewing changes to src/libetm-0.4.3/win32_specific.h

  • Committer: Package Import Robot
  • Author(s): Emmanuel Thomas-Maurin
  • Date: 2012-06-04 14:23:24 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120604142324-j6ycu0cw6vvoahhy
Tags: 0.6.1-1
* 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/description(_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.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *      libetm-0.4 / win32_specific.h - Copyright (C) Emmanuel Thomas-Maurin 2008-2012
3
3
 *      <manutm007@gmail.com>
4
4
 *
5
 
 *      - win32 specific functions -
 
5
 *      - Win32 specific functions -
6
6
 *
7
7
 *      This program is free software: you can redistribute it and/or modify
8
8
 *      it under the terms of the GNU General Public License as published by
28
28
#endif
29
29
 
30
30
#ifdef WIN32_V
31
 
/* return NULL if error */
 
31
/* Return NULL if error */
32
32
const char      *get_appdata_dir();
33
33
const char      *get_progfiles_dir();
34
34
/* key_value must be able to store 255 chars */
35
35
int             get_key_value_from_win32registry(const char *, char *);
36
36
int             save_key_value_into_win32registry(const char *, const char *);
37
 
/* return NULL if error */
 
37
/* Return NULL if error */
38
38
const char      *get_default_browser_from_win32registry();
39
 
/* return -1 if error */
 
39
/* Return -1 if error */
40
40
int             get_win32_taskbar_height();
41
 
/* find up to 15 mac addresses for this computer
42
 
 * return NULL if error */
 
41
/* Find up to 15 mac addresses for this computer
 
42
 * Return NULL if error */
43
43
/*const char    **find_mac_addresses();*/
44
44
#endif
45
45
#endif /* INC_LIBETM_WIN32_SPECIFIC_H */