| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Improve TQFont cleanup making sure that all instances of TQFont are
destroyed before TQApplication (or specifically before disconnect from
X11). This gets reed of several valgrind complains about leaks deep
inside fontconfig.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
| |
Otherwise it results in small memmory leakage on exit of Xlib data.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
| |
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
|
|
|
| |
As derivative from it e.g. TQPrinterUnixPrivate are getting deleted (e.g
in unix TQPrinter implementation) by a reference to base class.
Also added missing include to the header.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
|
| |
valgrind was complaining about access to uninitialized data because
unused elements in client_message.data.l array weren't set o any value.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
| |
This removes valgrind's complains about accessing uninitialized memory.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before that the allocations of TQThreadStorage objects from the main
thread were never destroyed and memory associated with them were never
freed. The second one isn't a huge problem as at that point program is
terminating anyway (but it still makes valgrind complain). The first one
is the bigger issue as destructors might contain some essential external
cleanups like removing temporary files.
Also make `TQApplication::guiThread()` return `0` when the thread is
destroyed (may happen on the program exiting during destruction of
statics).
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
|
| |
Also rearrange code a bit so it would be obvious that the function
doesn't return a dangling reference.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
| |
This suppresses -Wdeprecated-copy warning.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
| |
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
| |
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As for now here are two sets of inputmethod options:
- -enable-inputmethod/disable-inputmethod - which seems to supposed to
control whether build the 'inputmethod' module or not
- -inputmethod/-no-inputmethod - which seems to supposed to
enable/disable inputmethod support without changing the ABI.
Before the patch both -disable-inputmethod and -no-inputmethod were just
breaking the build: -no-inputmethod were disabling some code with
support for the module, but didn't disabled the module build itself nor
build of plugins. -disable-inputmethod were disabling build of plugins
and module, but didn't disabled code depending upon it.
It seems the inputmethod support were still WIP when the last release of
Qt3 came to be, hence the mess.
This patch fixes the build if both -disable-inputmethod AND
-no-inputmethod are supplied. Disabling only one is not enough due to
tqmake/configure have problems handling two different options of the
same name. Later the -inputmethod/-no-inputmethod should be probably
removed entirely.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
|
| |
The analogue of XkbKeycodeToKeysym() used to be XKeycodeToKeysym(), but
it was deprecated in favour of XGetKeyboardMapping() method.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
| |
On modern compilers placement new requires inclusion of <new>
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
|
| |
Also use "On The Spot" as the default when the setting in the config is
incorrect.
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
|
|
| |
Fix FTBFS when sqlite3 sql driver is being built into the library
Signed-off-by: Alexander Golubev <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first part of the replacement process.
Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*.
Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow
TDE code to continue building till replacement is carried over to all
other modules.
Once that is completed, the original Q_WS_* defines will
be removed.
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
|
|
| |
This resolves issue #70.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
| |
This resolves TDE/tdebase#421.
Signed-off-by: Mavridis Philippe <[email protected]>
|
|
|
|
|
|
| |
QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
|
|
|
|
| |
Signed-off-by: Denis Kozadaev <[email protected]>
init structure without condition
Signed-off-by: Denis Kozadaev <[email protected]>
|
|
|
|
|
|
|
| |
Commit b167d09c was functionally incorrect and is causing issues on
selected distributions.
This reverts commit b167d09c43be6c8b7d30f0d4fb1bf1e86c51b8a7.
This resolves issue TDE/tde#128.
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
| |
Signed-off-by: Bobby Bingham <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using the pthreads recursive mutex, the level method was only able
to return either zero or one, but a recursive mutex can be locked more
than once.
Additionally, the way this detected if the mutex was already locked was
to test whether it can be locked again. If testing from the thread that
is currently holding the lock, this locking attempt always succeeds, and
therefore determines that the lock is _not_ held at all. This is
especially bad, as this operation only makes sense to perform from the
thread that holds the lock -- if any thread not holding the lock queries
the number of times the lock is held, that answer can change before the
thread can used it.
Signed-off-by: Bobby Bingham <[email protected]>
|
|
|
|
|
|
|
| |
This helps keeping the object root list shorter, speeding up operations
which require lot of TQObject trees. This relates to TDE/tdebase#309.
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
|
|
| |
ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
|
|
|
|
| |
Was commented out for no obvious reason
This resolves issue #64.
Signed-off-by: Mavridis Philippe <[email protected]>
|
|
|
|
|
|
|
| |
This restores consistency for the behavior of methods TQString::utf8()
and TQString::local8Bit() with null TQStrings.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
|
|
|
|
| |
reliable.
This precedes unnecessary allocations, potential use after free and crashes.
Signed-off-by: Slávek Banko <[email protected]>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Thread ID is opaque type pthread_t, it may not be compatible with integer,
and may integer with valid id `0`.
Change to store mutex owner thread ID as `pthread_t` type with valid flag
and compare with `pthread_equal()`,
and don't try to print it.
Signed-off-by: OBATA Akio <[email protected]>
|
|
|
|
|
|
| |
g_thread_init() and g_thread_create().
Signed-off-by: gregory guy <[email protected]>
|
|
|
|
|
|
|
|
|
| |
- latin letter sharp s
- latin letter glottal stop
- greek lunate sigma symbol
- greek letter san
Signed-off-by: Ray-V <[email protected]>
|
|
|
|
|
|
| |
unwantedly removed in commit a41a034902bb3aa75db4524978a174353b5de2fe.
Signed-off-by: Slávek Banko <[email protected]>
|