setproctitle 1.3.4__tar.gz → 1.3.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {setproctitle-1.3.4 → setproctitle-1.3.5}/HISTORY.rst +7 -0
- {setproctitle-1.3.4/setproctitle.egg-info → setproctitle-1.3.5}/PKG-INFO +8 -1
- {setproctitle-1.3.4 → setproctitle-1.3.5}/pkg/setproctitle/__init__.py +1 -1
- {setproctitle-1.3.4 → setproctitle-1.3.5/setproctitle.egg-info}/PKG-INFO +8 -1
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/c.h +2 -13
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/darwin_set_process_name.c +16 -1
- {setproctitle-1.3.4 → setproctitle-1.3.5}/COPYRIGHT +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/MANIFEST.in +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/README.rst +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/pkg/setproctitle/py.typed +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/pyproject.toml +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/setproctitle.egg-info/SOURCES.txt +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/setproctitle.egg-info/dependency_links.txt +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/setproctitle.egg-info/not-zip-safe +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/setproctitle.egg-info/requires.txt +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/setproctitle.egg-info/top_level.txt +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/setup.cfg +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/setup.py +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/darwin_set_process_name.h +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/setproctitle.c +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt.h +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_config.h +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_debug.c +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_python.h +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_setup.c +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_setup.h +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_status.c +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_status.h +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/src/spt_strlcpy.c +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/tests/__init__.py +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/tests/conftest.py +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/tests/module_test.py +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/tests/pyrun.c +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/tests/setproctitle_test.py +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/tests/setthreadtitle_test.py +0 -0
- {setproctitle-1.3.4 → setproctitle-1.3.5}/tests/test_win32.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: setproctitle
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.5
|
|
4
4
|
Summary: A Python module to customize the process title
|
|
5
5
|
Home-page: https://github.com/dvarrazzo/py-setproctitle
|
|
6
6
|
Download-URL: http://pypi.python.org/pypi/setproctitle/
|
|
@@ -166,6 +166,13 @@ It is unlikely that it can work on Solaris instead.
|
|
|
166
166
|
Releases history
|
|
167
167
|
----------------
|
|
168
168
|
|
|
169
|
+
Version 1.3.5 (unreleased)
|
|
170
|
+
--------------------------
|
|
171
|
+
|
|
172
|
+
- Fix bouncing Dock icon on macOS (issue #143).
|
|
173
|
+
- Fix building on C23 compilers (issue #145).
|
|
174
|
+
|
|
175
|
+
|
|
169
176
|
Version 1.3.4
|
|
170
177
|
-------------
|
|
171
178
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: setproctitle
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.5
|
|
4
4
|
Summary: A Python module to customize the process title
|
|
5
5
|
Home-page: https://github.com/dvarrazzo/py-setproctitle
|
|
6
6
|
Download-URL: http://pypi.python.org/pypi/setproctitle/
|
|
@@ -166,6 +166,13 @@ It is unlikely that it can work on Solaris instead.
|
|
|
166
166
|
Releases history
|
|
167
167
|
----------------
|
|
168
168
|
|
|
169
|
+
Version 1.3.5 (unreleased)
|
|
170
|
+
--------------------------
|
|
171
|
+
|
|
172
|
+
- Fix bouncing Dock icon on macOS (issue #143).
|
|
173
|
+
- Fix building on C23 compilers (issue #145).
|
|
174
|
+
|
|
175
|
+
|
|
169
176
|
Version 1.3.4
|
|
170
177
|
-------------
|
|
171
178
|
|
|
@@ -12,20 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
#include "spt_config.h"
|
|
14
14
|
|
|
15
|
-
#
|
|
16
|
-
|
|
17
|
-
#ifndef bool
|
|
18
|
-
typedef char bool;
|
|
19
|
-
#endif
|
|
20
|
-
|
|
21
|
-
#ifndef true
|
|
22
|
-
#define true ((bool) 1)
|
|
23
|
-
#endif
|
|
24
|
-
|
|
25
|
-
#ifndef false
|
|
26
|
-
#define false ((bool) 0)
|
|
15
|
+
#if !defined(__cplusplus) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ <= 201710L)
|
|
16
|
+
#include <stdbool.h>
|
|
27
17
|
#endif
|
|
28
|
-
#endif /* not C++ */
|
|
29
18
|
|
|
30
19
|
#include <stddef.h>
|
|
31
20
|
|
|
@@ -99,10 +99,25 @@ static bool launch_services_set_process_title(const launch_services_t * it, cons
|
|
|
99
99
|
|
|
100
100
|
CFTypeRef asn;
|
|
101
101
|
CFStringRef cf_title;
|
|
102
|
+
CFDictionaryRef info_dict;
|
|
103
|
+
CFMutableDictionaryRef mutable_info_dict;
|
|
104
|
+
CFStringRef LSUIElement_key;
|
|
102
105
|
|
|
103
106
|
if (!checked_in) {
|
|
104
107
|
it->pLSSetApplicationLaunchServicesServerConnectionStatus(0, NULL);
|
|
105
|
-
|
|
108
|
+
|
|
109
|
+
// See https://github.com/dvarrazzo/py-setproctitle/issues/143
|
|
110
|
+
// We need to set LSUIElement (https://developer.apple.com/documentation/bundleresources/information-property-list/lsuielement)
|
|
111
|
+
// key to true to avoid macOS > 15 displaying the Dock icon.
|
|
112
|
+
info_dict = CFBundleGetInfoDictionary(CFBundleGetMainBundle());
|
|
113
|
+
mutable_info_dict = CFDictionaryCreateMutableCopy(NULL, 0, info_dict);
|
|
114
|
+
LSUIElement_key = CFStringCreateWithCString(NULL, "LSUIElement", kCFStringEncodingUTF8);
|
|
115
|
+
CFDictionaryAddValue(mutable_info_dict, LSUIElement_key, kCFBooleanTrue);
|
|
116
|
+
CFRelease(LSUIElement_key);
|
|
117
|
+
|
|
118
|
+
it->pLSApplicationCheckIn(kLSDefaultSessionID, mutable_info_dict);
|
|
119
|
+
CFRelease(mutable_info_dict);
|
|
120
|
+
|
|
106
121
|
checked_in = true;
|
|
107
122
|
}
|
|
108
123
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|