Compare commits

..

5 Commits
v16.3 ... 16.4

Author SHA1 Message Date
Chris Lee
8a7ba9bf50 Release 16.4 2018-05-03 04:06:13 +00:00
Chris Lee
ffa6e5ba49 Change new release script to also publish to remote (issue #707) 2018-05-03 03:58:05 +00:00
Chris Lee
d1f5a46a73 Fix executor verbosity (issue #699) 2018-04-17 19:48:55 +00:00
Chris Lee
131704081c Fix imlib leak (issue #704) 2018-04-17 19:37:10 +00:00
Chris Lee
21466cc94e Update authors file 2018-04-17 19:22:06 +00:00
11 changed files with 33 additions and 19 deletions

View File

@@ -6,6 +6,7 @@ tint2 is developped by :
- Ovidiu M <mrovi9000 at gmail.com> : launcher, bug fixes - Ovidiu M <mrovi9000 at gmail.com> : launcher, bug fixes
- Mishael A Sibiryakov (death@junki.org) : freespace - Mishael A Sibiryakov (death@junki.org) : freespace
- Sebastian Reichel <sre@ring0.de> : battery, various fixes, debian package maintainer - Sebastian Reichel <sre@ring0.de> : battery, various fixes, debian package maintainer
- Chris Lee <chrlee at protonmail> : bug fixes, maintainer starting with v16.3
tint2 is based on the ttm source code (http://code.google.com/p/ttm/) tint2 is based on the ttm source code (http://code.google.com/p/ttm/)
- 2007-2008 Pål Staurland <staura@gmail.com> - 2007-2008 Pål Staurland <staura@gmail.com>

View File

@@ -1,3 +1,9 @@
2018-05-03 16.4
- Update AUTHORS
- Fixes:
- Fix leak in image loading (issue #704)
- Executors no longer log unless env var DEBUG_EXECUTORS is set
2018-04-17 16.3 2018-04-17 16.3
- Fixes: - Fixes:
- Layout in executor (issue #695) - Layout in executor (issue #695)
@@ -999,3 +1005,4 @@ released tint-0.2
. .
. .
. .
.

View File

@@ -1,5 +1,5 @@
# Latest stable release: 16.3 # Latest stable release: 16.4
Changes: https://gitlab.com/o9000/tint2/blob/16.3/ChangeLog Changes: https://gitlab.com/o9000/tint2/blob/16.4/ChangeLog
Documentation: [doc/tint2.md](doc/tint2.md) Documentation: [doc/tint2.md](doc/tint2.md)
@@ -8,7 +8,7 @@ Compile it with (after you install the [dependencies](https://gitlab.com/o9000/t
``` ```
git clone https://gitlab.com/o9000/tint2.git git clone https://gitlab.com/o9000/tint2.git
cd tint2 cd tint2
git checkout 16.3 git checkout 16.4
mkdir build mkdir build
cd build cd build
cmake .. cmake ..

View File

@@ -199,9 +199,9 @@ pre {
</style> </style>
</head> </head>
<body> <body>
<h1 id="latest-stable-release-16-3"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">16.3</span><a name="latest-stable-release-16-3" href="#latest-stable-release-16-3" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/16.3/ChangeLog">https://gitlab.com/o9000/tint2/blob/16.3/ChangeLog</a></p><p>Documentation: <a href="manual.html">manual.html</a></p><p>Compile it with (after you install the <a href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies">dependencies</a>):</p><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git <h1 id="latest-stable-release-16-4"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">16.4</span><a name="latest-stable-release-16-4" href="#latest-stable-release-16-4" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/16.4/ChangeLog">https://gitlab.com/o9000/tint2/blob/16.4/ChangeLog</a></p><p>Documentation: <a href="manual.html">manual.html</a></p><p>Compile it with (after you install the <a href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies">dependencies</a>):</p><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git
cd tint2 cd tint2
git checkout 16.3 git checkout 16.4
mkdir build mkdir build
cd build cd build
cmake .. cmake ..

View File

@@ -1,4 +1,4 @@
.TH TINT2 1 "2018\-04\-17" 16.3 .TH TINT2 1 "2018\-05\-03" 16.4
.SH NAME .SH NAME
.PP .PP
tint2 \- lightweight panel/taskbar tint2 \- lightweight panel/taskbar

View File

@@ -1,4 +1,4 @@
# TINT2 1 "2018-04-17" 16.3 # TINT2 1 "2018-05-03" 16.4
## NAME ## NAME
tint2 - lightweight panel/taskbar tint2 - lightweight panel/taskbar

View File

@@ -194,3 +194,9 @@ if __name__ == '__main__':
choice = raw_input().lower() choice = raw_input().lower()
if choice != "y": if choice != "y":
run("git reset --hard HEAD~ ; git tag -d %s ; git tag -d %s" % (version, readable_version)) run("git reset --hard HEAD~ ; git tag -d %s ; git tag -d %s" % (version, readable_version))
sys.exit(1)
print "Publish? [y/n]"
choice = raw_input().lower()
if choice != "y":
sys.exit(1)
run("git push origin master && git push --tags origin master")

View File

@@ -20,6 +20,8 @@
#define MAX_TOOLTIP_LEN 4096 #define MAX_TOOLTIP_LEN 4096
bool debug_executors = false;
void execp_timer_callback(void *arg); void execp_timer_callback(void *arg);
char *execp_get_tooltip(void *obj); char *execp_get_tooltip(void *obj);
void execp_init_fonts(); void execp_init_fonts();
@@ -635,6 +637,7 @@ void execp_timer_callback(void *arg)
close(pipe_fd_stderr[0]); close(pipe_fd_stderr[0]);
return; return;
} else if (child == 0) { } else if (child == 0) {
if (debug_executors)
fprintf(stderr, "tint2: Executing: %s\n", execp->backend->command); fprintf(stderr, "tint2: Executing: %s\n", execp->backend->command);
// We are in the child // We are in the child
close(pipe_fd_stdout[0]); close(pipe_fd_stdout[0]);

View File

@@ -8,6 +8,8 @@
#include "common.h" #include "common.h"
#include "timer.h" #include "timer.h"
extern bool debug_executors;
// Architecture: // Architecture:
// Panel panel_config contains an array of Execp, each storing all config options and all the state variables. // Panel panel_config contains an array of Execp, each storing all config options and all the state variables.
// Only these run commands. // Only these run commands.

View File

@@ -106,6 +106,7 @@ void handle_env_vars()
debug_dnd = getenv("DEBUG_DND") != NULL; debug_dnd = getenv("DEBUG_DND") != NULL;
debug_thumbnails = getenv("DEBUG_THUMBNAILS") != NULL; debug_thumbnails = getenv("DEBUG_THUMBNAILS") != NULL;
debug_timers = getenv("DEBUG_TIMERS") != NULL; debug_timers = getenv("DEBUG_TIMERS") != NULL;
debug_executors = getenv("DEBUG_EXECUTORS") != NULL;
if (debug_fps) { if (debug_fps) {
init_fps_distribution(); init_fps_distribution();
char *s = getenv("TRACING_FPS_THRESHOLD"); char *s = getenv("TRACING_FPS_THRESHOLD");

View File

@@ -789,11 +789,7 @@ Imlib_Image load_image(const char *path, int cached)
{ {
Imlib_Image image; Imlib_Image image;
#ifdef HAVE_RSVG #ifdef HAVE_RSVG
if (cached) { image = imlib_load_image(path);
image = imlib_load_image_immediately(path);
} else {
image = imlib_load_image_immediately_without_cache(path);
}
if (!image && g_str_has_suffix(path, ".svg")) { if (!image && g_str_has_suffix(path, ".svg")) {
char tmp_filename[128]; char tmp_filename[128];
snprintf(tmp_filename, sizeof(tmp_filename), "/tmp/tint2-%d.png", (int)getpid()); snprintf(tmp_filename, sizeof(tmp_filename), "/tmp/tint2-%d.png", (int)getpid());
@@ -818,19 +814,17 @@ Imlib_Image load_image(const char *path, int cached)
// Parent // Parent
close(fd); close(fd);
waitpid(pid, 0, 0); waitpid(pid, 0, 0);
image = imlib_load_image_immediately_without_cache(tmp_filename); image = imlib_load_image_immediately(tmp_filename);
unlink(tmp_filename); unlink(tmp_filename);
} }
} }
} else } else
#endif #endif
{ {
if (cached) { image = imlib_load_image(path);
image = imlib_load_image_immediately(path);
} else {
image = imlib_load_image_immediately_without_cache(path);
}
} }
imlib_context_set_image(image);
imlib_image_set_changes_on_disk();
return image; return image;
} }