Slávek Banko
55f03c5eff
Use empty d->cString for TQString::shared_null instead of null string.
...
This restores consistency for the behavior of methods TQString::utf8()
and TQString::local8Bit() with null TQStrings.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e99bbda734
)
3 years ago
Slávek Banko
65f3815ede
Avoid changes of d->cString for TQString::shared_null to make the value reliable.
...
This precedes unnecessary allocations, potential use after free and crashes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 93058fb0a3
)
3 years ago
OBATA Akio
a28783fa48
tools: fix to use `pthread_t` for Thread ID
...
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 <obache@wizdas.com>
(cherry picked from commit 1e77a5569b
)
3 years ago
Ray-V
a5eb1aeef0
Add unicode points so that upper() and lower() functions work for:
...
- latin letter sharp s
- latin letter glottal stop
- greek lunate sigma symbol
- greek letter san
Signed-off-by: Ray-V <ray-v@inbox.lv>
(cherry picked from commit 03d5d59646
)
3 years ago
Michele Calgaro
0e9efe6bf1
Added tqDebug/tqWarning/tqFatal functions that takes a QCString
...
argument. This fixes FTBFS of examples caused by previous ambiguous
call and solves bug 3021.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 300c4d2bd2
)
3 years ago
Michele Calgaro
1b74fac43d
Added utility functions qDebug/qWarning/qFatal based on QString parameter.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2c29133f7e
)
3 years ago
Michele Calgaro
7e66c40362
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 961eb3f6e2
)
4 years ago
Slávek Banko
361ea8bcf0
Fix FTBFS when building with musl libc.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 40078adb6a
)
5 years ago
Slávek Banko
46d5b162ee
Change tests for glibc version.
...
It resolves building with libc libraries
other than glibc - for example musl libc.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit edad20d4f9
)
5 years ago
gregory guy
309cbda6e2
This fixes bug: 639
...
Add desktop files for:
- assistant-qt3
- designer-qt3
- linguist-qt3
- qtconfig-qt3
These files have been made with the contribution of Laurent Dard's
patch (see bugzilla:639) with little change/addition from I.
Add 'sysshare' option to the configure script.
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7c13f5df2f
)
5 years ago
Michele Calgaro
5151555c0e
Reintroduced debug, warning and fatal functions since this are part of
...
R14.0.x API.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
d17480bf1d
Added timestamp to debug functions (qDebug, qWarning, qFatal).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3ae061484d
)
6 years ago
Slávek Banko
5a7d49f513
Make use of QString::utf8() and QString::local8Bit() safe for conversion to char*.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0a1966b25e
)
6 years ago
Michele Calgaro
ec5adca5bb
Improved class name used in previous commit. Suggestion comes from Slavek :-)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 19ef3e4359
)
6 years ago
Michele Calgaro
329fb60877
Fixed FTBFS caused by name conflict with new postgres server dev 11
...
package.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4a5da4685a
)
6 years ago
Slávek Banko
d8ba3610e2
Fix FTBFS with stricter C++11
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5431226296
)
6 years ago
Slávek Banko
47690cd141
Do not force POSIX mutexes on FreeBSD
...
This relates to bug 2462
See comments on bug 2744
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e70f5ecf76
)
8 years ago
Timothy Pearson
9974902237
Try to avoid crashes if the destructor of a TQMap is called when no private object was previously created
10 years ago
Francois Andriot
f0cc3689b3
Add support for the environment variables TQT_HOME_DIR and TQT_SYSTEM_DIR
10 years ago
François Andriot
fdc4699bcb
Enhance warning verbosity in TQFile (unix)
10 years ago
Francois Andriot
b716176cec
Fix qmake shared library naming
...
Add long long int support to TQTextStream
Fix potential segmentation fault in QValueList
Fix library naming in TQT Plugins
This relates to Bug 2107
10 years ago
François Andriot
e175139565
Fix FTBFS on Linux specific memlock code
10 years ago
François Andriot
a28cbf4837
Fix FTBFS because invalid data conversion in qmutex
10 years ago
Michele Calgaro
71a6d7870f
Improvements to QValueList. This may relate to bug 1820
10 years ago
Slávek Banko
456dc48a97
Fix potential null pointer dereference
11 years ago
Michele Calgaro
5747da54c6
Enabled operator->() for class QValueListIterator.
11 years ago
Timothy Pearson
586f373276
Properly export ucm_instantiate in UCOM libraries
...
This relates to Bug 1780
11 years ago
Timothy Pearson
d1b6b7be7d
Repair performance regression accidentally introduced with new style API
11 years ago
Timothy Pearson
f4193c940c
Disable unnecessary thread locking in TQString constructors/destructor
...
This improves performance at no real cost, as the TQString class is not thread safe elsewhere
11 years ago
Timothy Pearson
eced6bf82e
Reduce TQString allocation/deallocation load in populateControlElementDataFromWidget
...
Remove unneeded mutex locks around certain TQString operations
11 years ago
Timothy Pearson
99b03be63d
Add threading debug spew when QT_DEBUG is set
11 years ago
Slávek Banko
571716ebf8
Private headers moved out from public include directory
11 years ago
Timothy Pearson
f2102e1f82
Fix incorrect thread termination handling when thread count is greater than two
...
This resolves Bug 1521
Make double free or delete of QString objects more obvious
11 years ago
Timothy Pearson
4eba9b8238
Fix a number of threading data races
...
Add proper thread termination handler
This partially resolves Bug 1508
12 years ago
Timothy Pearson
83d39cad27
Fix a number of threading problems and crashes
...
This partially resolves Bug 1467
12 years ago
Timothy Pearson
d09860faff
Add unpaged memory mode to TQString and TQLineEdit
...
Fix designer build warnings
12 years ago
Timothy Pearson
9bff9eeefc
Add level method to recursive mutex
...
Enhance thread safety when making event calls
Minor cleanup of whitespace in glib event loop
12 years ago
Timothy Pearson
78125ea2f0
Add real threading support, including per-thread event loops, to QThread
12 years ago
Timothy Pearson
093bfb8296
Use high quality uuid_generate on Linux instead of PRNG
12 years ago
Timothy Pearson
58451e41d9
Extend TQStyle API further and bump Qt version number
12 years ago
Timothy Pearson
ebcb1d80bf
Fix build warnings
...
Thanks to Bruce Sass for the patch!
12 years ago
Timothy Pearson
5ab7fce9b2
Make basic integer QDataStream reads resistant to corruption from underlying IO device failure
12 years ago
Timothy Pearson
9a75b154bf
Undo prior accidental commit
13 years ago
Timothy Pearson
a830bf10b7
Rename additional global TQt functions
13 years ago
Timothy Pearson
e90b15c55d
Clean up a few build warnings
13 years ago
Timothy Pearson
0eb9f5e217
Add NetWM/Motif controls to QWidget
...
This must break binary compatibility, so version was also bumped to 3.4.0
13 years ago
Timothy Pearson
ce82c99453
Fix qcstring format warnings
...
Related to Bug 637
13 years ago
Timothy Pearson
5e47b11f23
Enable gcc visibility support in Qt3
...
This partially closes Bug 696
13 years ago
Timothy Pearson
ba18a0dd03
Fix accidental conversion of dockwin
13 years ago
Timothy Pearson
04fcdc0803
Rename kwin to twin (part 1 of 2)
13 years ago