summaryrefslogtreecommitdiffstats
path: root/src/kernel
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename date and time nt* related files to equivalent tq*Michele Calgaro2024-06-2920-27/+27
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove documentation for QWS classes and Qt/EmbeddedMichele Calgaro2024-06-2548-1457/+34
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename style nt* related files to equivalent tq*Michele Calgaro2024-06-1215-28/+28
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename icon nt* related files to equivalent tq*Michele Calgaro2024-06-126-7/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename text nt* related files to equivalent tq*Michele Calgaro2024-06-0827-49/+49
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename str nt* related files to equivalent tq*Michele Calgaro2024-06-0643-57/+57
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename image nt* related files to equivalent tq*Michele Calgaro2024-06-0628-38/+38
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ptr nt* related files to equivalent tq*Michele Calgaro2024-06-0631-42/+42
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename template library nt* related files to equivalent tq*Michele Calgaro2024-06-0520-28/+28
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ntqwidget* related files to equivalent tqwidget*Michele Calgaro2024-06-0237-66/+66
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename nt* canvas related files to equivalent tq*Michele Calgaro2024-05-312-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename nt* dom and xml related files to equivalent tq*Michele Calgaro2024-05-301-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename nt* sql related files to equivalent tq*Michele Calgaro2024-05-281-22/+22
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ntqobject*.h and qobject*.cpp to tqobject*Michele Calgaro2024-05-2751-67/+69
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Move tqt.h from tqtinterfaceMichele Calgaro2024-05-271-0/+32
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix to compare thread_id with `pthread_equal()`OBATA Akio2024-05-231-1/+1
| | | | | | `pthread_t` is an opaque type, should not be compared with `==`. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Correctly release glib mainloop and gsource, to avoid memory leaksMichele Calgaro2024-04-303-4/+19
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Improve TQFont-related cleanupAlexander Golubev2024-03-291-1/+1
| | | | | | | | | 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 <fatzer2@gmail.com>
* Improve TQFont-related cleanupAlexander Golubev2024-03-296-1/+36
| | | | | | | | | 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 <fatzer2@gmail.com>
* TQPrinterPrivate: add virtual destructor.Alexander Golubev2024-03-201-0/+3
| | | | | | | | | 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 <fatzer2@gmail.com>
* Zero unused data fields in XClientMessageEvent structAlexander Golubev2024-03-191-1/+1
| | | | | | | 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 <fatzer2@gmail.com>
* Zero padding bytes in DndReceiverProp struct.Alexander Golubev2024-03-191-1/+1
| | | | | | This removes valgrind's complains about accessing uninitialized memory. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix TQThreadStorage destruction in the main threadAlexander Golubev2024-03-183-2/+28
| | | | | | | | | | | | | | | 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 <fatzer2@gmail.com>
* Resort includes in ntqt.hAlexander Golubev2024-03-131-5/+5
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix compilation with -no-threadAlexander Golubev2024-03-103-26/+59
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix compilation with -disable-inputmethod and -no-inputmethodAlexander Golubev2024-03-073-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | 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 <fatzer2@gmail.com>
* Fix FTBFS with -no-xkbAlexander Golubev2024-03-041-4/+17
| | | | | | | The analogue of XkbKeycodeToKeysym() used to be XKeycodeToKeysym(), but it was deprecated in favour of XGetKeyboardMapping() method. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* avoid translating the /qt/XIMInputStyle options when saving into configAlexander Golubev2024-03-021-4/+4
| | | | | | | Also use "On The Spot" as the default when the setting in the config is incorrect. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Replace QT_STATIC_CONST_* with actual definitionsMichele Calgaro2024-02-153-72/+72
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-1267-568/+568
| | | | | | | | | | | | 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 <michele.calgaro@yahoo.it>
* Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOTMichele Calgaro2023-12-2721-222/+222
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add support for HistoryBackButton and HistoryForwardButtonMavridis Philippe2023-12-163-12/+21
| | | | | | This resolves TDE/tdebase#421. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERNMichele Calgaro2023-09-13104-397/+397
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various Q_* and QT_* defines with TQ_* and TQT_*Michele Calgaro2023-09-0713-153/+153
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQSignalMichele Calgaro2023-08-072-44/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQPaletteMichele Calgaro2023-07-182-32/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQThreadMichele Calgaro2023-07-112-19/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove Qt4 related stuffMichele Calgaro2023-07-098-86/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop Qt2's TQSemiModal and TQSortedList classesMichele Calgaro2023-07-071-2/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Revert "Add single TQObject root parent for all guarded pointers."Michele Calgaro2023-06-121-2/+1
| | | | | | | Commit b167d09c was functionally incorrect and is causing issues on selected distributions. This reverts commit b167d09c43be6c8b7d30f0d4fb1bf1e86c51b8a7. This resolves issue TDE/tde#128.
* Drop Qt2 obsolete classesMichele Calgaro2023-06-031-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add single TQObject root parent for all guarded pointers.r14.1.0Michele Calgaro2023-02-131-1/+2
| | | | | | | 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 <michele.calgaro@yahoo.it>
* Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ↵Michele Calgaro2022-04-301-3/+3
| | | | | | ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove deprecated glib2 function calls g_thread_get_initialized(), ↵gregory guy2021-06-181-7/+8
| | | | | | g_thread_init() and g_thread_create(). Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Fix buffer overflow in XBM parser.Slávek Banko2020-10-161-7/+32
| | | | | | | | | Avoid parsing over the buffer limit, or interpreting non-hex as hex. This still leaves parsing of lines longer than 300 chars unreliable. Based on Qt5 patch for CVE-2020-17507. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix `qt_xft_handle` to work as expectedOBATA Akio2020-08-081-1/+1
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix MIT_SHM related conditionOBATA Akio2020-08-061-1/+5
| | | | | | Prevent to build MIT_SHM related codes for !QT_MITSHM condition. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix to detect Thread Execution Scheduling support correctlyOBATA Akio2020-08-041-1/+4
| | | | | | | If `_POSIX_THREAD_PRIORITY_SCHEDULING == 0`, it must be checked with sysconf(_SC_THREAD_PRIORITY_SCHEDULING) at runtime. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Remove unwanted code for writing pngOBATA Akio2020-07-181-13/+0
| | | | | | | `info_ptr->channels` will be set in the next called `png_set_IHDR()`, so it is no effect. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Change to use PKG_LIBPNG_VER for libpng version checkOBATA Akio2020-07-181-23/+23
| | | | | | It is suggested in png.h for applications. Signed-off-by: OBATA Akio <obache@wizdas.com>