Permalink
Commits on Dec 31, 2018
  1. corelib: Implement QDir::drives() on OS/2.

    dmik committed Dec 31, 2018
    Closes #46.
  2. pcre2: Temporarily disable JIT on OS/2.

    dmik committed Dec 31, 2018
    See #68. Needed for #29.
Commits on Dec 30, 2018
  1. tests: Temporarily ignore failing tst_QTimeZone parts on OS/2.

    dmik committed Dec 30, 2018
    See #58 for details.
  2. tests: Adopt tst_QPluginLoader to OS/2.

    dmik committed Dec 30, 2018
    The debug and release builds need separate plugins because the plugin
    loader checks for the QtCore flavor. This should be also necessary for
    Windows builds (not only WinRT) so it looks like a QTBUG.
    
    Needed for #29.
Commits on Dec 27, 2018
  1. tests: Fix incomplete tst_QLibrary build on OS/2.

    dmik committed Dec 27, 2018
    Needed for #29.
Commits on Dec 26, 2018
  1. tests: tst_QThreadStorage: Align to OS/2.

    dmik committed Dec 26, 2018
    Needed for #29.
  2. tests: tst_QMessageHandler: Align to OS/2.

    dmik committed Dec 26, 2018
    Needed for #29.
Commits on Dec 25, 2018
  1. corelib: Better support for GUI apps in QProcess on OS/2.

    dmik committed Dec 25, 2018
    Note that this is work in progress. Support for
    QProcess::waitForFinished is still missing. This commit also removes
    QProcess::setSpawnFlags (and spawnFlags). See #66 for details.
Commits on Dec 24, 2018
  1. tests: tst_QProcess: Align to OS/2.

    dmik committed Dec 24, 2018
    Needed for #63 and #29.
  2. corelib: Use _path2 to find executables in QProcess on OS/2.

    dmik committed Dec 24, 2018
    This kLIBC API is powerful enough and it makes the Qt code cleaner even
    further.
  3. corelib: Improve QProcess::startDetached implementation on OS/2.

    dmik committed Dec 24, 2018
    We now use spawn2 (that supports P_SESSION since the recent update) in
    all cases which keeps the code cleaner and safer.
    
    This commit also introduces OS/2 specific QProcess APIs setThreadSafe
    and setSpawnFlags.
    
    Closes #65.
Commits on Dec 19, 2018
  1. corelib: Let LIBCx spawn2 do I/O redirection in QProcess on OS/2.

    dmik committed Dec 19, 2018
    This is to prepare for further improvements like thread safety
    and enhanced detach support.
    
    Needed for #63 and #64.
Commits on Dec 17, 2018
  1. corelib: Make QProcess::start fail if workingDirectory is invalid on …

    dmik committed Dec 17, 2018
    …OS/2.
    
    This is to satisfy tst_QProcess::setNonExistentWorkingDirectory. It's
    achieved by switching to spawn2 from LIBCx (which will be also used
    later for many other things).
    
    Needed for #64 and #29.
  2. corelib: Improve QPorcess::terminate on OS/2.

    dmik committed Dec 17, 2018
    Now it can post WM_QUIT to processes with the message queue but w/o
    a dedicated switch list entry.
    
    Fixes tst_QProcess::softExit.
    
    Needed for #64 and #29.
  3. corelib: Restore qAppFileName on OS/2.

    dmik committed Dec 17, 2018
    This is needed for QProcess. Using QCoreApplication::applicationFilePath
    is not correct as it requires a QCoreApplication instance which is not
    required by QProcess itself. While we could still make it work on OS/2
    but it's not safe too because the value returned by this method may be
    changed by QCoreApplicationPrivate::setApplicationFilePath to an
    arbitrary value while QProcess needs a path to the real EXE image.
Commits on Dec 14, 2018
  1. tests: tst_QSystemSemaphore: Align to OS/2.

    dmik committed Dec 14, 2018
    Needed for #29.
  2. corelib: Fix small bugs and typos in QSystemSemaphore on OS/2.

    dmik committed Dec 14, 2018
    Discovered by tst_QSystemSemaphore.
    
    Closes #60. Needed for #29.
  3. corelib: Fix QProcess' waitFor* functionality on OS/2.

    dmik committed Dec 14, 2018
    There was a bunch of problems that led to failed and hung wait states
    when there were multiple QProcess objects or when waitFor* was called
    from a respective signal handler.
    
    Affected the following tests cases:
    
    tst_QSystemSemahpore::processes
    tst_QProcess::restartProcessDeadlock
    tst_QProcess::forwardedChannels
    tst_QProcess::waitForReadyReadInAReadyReadSlot
    tst_QProcess::waitForBytesWrittenInABytesWrittenSlot
    tst_QProcess::setStandardInputFile
    tst_QProcess::setStandardOutputFileNullDevice
    tst_QProcess::setStandardOutputProcess
    
    Closes #61. Needed for #29 and #60.
  4. corelib: Properly implement QProcess::nulDevice on OS/2.

    dmik committed Dec 14, 2018
    This fixes tst_QProcess::setStandardOutputFileNullDevice.
    
    Needed for #29 and #61.
Commits on Dec 10, 2018
Commits on Dec 5, 2018
  1. tests: tst_QStateMachine: Fix dontProcessSlotsWhenMachineIsNotRunning…

    dmik committed Dec 5, 2018
    … case.
    
    The original test could fail due to different timings in thread context switches
    (e.g. on OS/2).
    
    Needed for #29.
Commits on Dec 3, 2018
  1. tests: Align tst_QSharedPointer to OS/2.

    dmik committed Dec 3, 2018
    Needed for #29.
Commits on Nov 28, 2018
  1. tests: Align tst_QMutex to OS/2.

    dmik committed Nov 28, 2018
    Needed for #29.
Commits on Nov 27, 2018
  1. tests: Align tst_QLocale to OS/2.

    dmik committed Nov 27, 2018
    Needed for #29.
  2. tests: Align tst_QCommandLineParser to OS/2.

    dmik committed Nov 27, 2018
    Needed for #29.
  3. tests: Align tst_QTextStream to OS/2.

    dmik committed Nov 27, 2018
    Needed for #29.
Commits on Nov 23, 2018
  1. tests: Align plugin auto tests to OS/2.

    dmik committed Nov 23, 2018
    Needed for #29.
  2. corelib: Treat .dll as QLibrary::isLibrary files on OS/2.

    dmik committed Nov 23, 2018
    Needed for #29 (tst_QLibrary).
  3. corelib: Align plugin support to OS/2.

    dmik committed Nov 23, 2018
    This basically restores Q_STANDARD_CALL that was used by Qt 4 also on
    Windows (under Borland C++). We still need this to get rid of the
    underscore in the exported symbols (qt_plugin_instance and
    qt_plugin_query_metadata).
    
    Closes #56.
Commits on Nov 22, 2018
  1. corelib: Avoid spontaneous repeated socket notifier signals on OS/2.

    dmik committed Nov 22, 2018
    This could happen in certain situations depending on thread switch
    timings. Now we guarantee that socket notifications may only be generated
    during processEvents calls which is not explicitly stated by implicitly
    expected by Qt.
    
    Spotted by tst_QSocketNotifier::posixSockets within #29.
    
    Closes #55.
  2. corelib: Fix bug in QEventDispatcher on OS/2 that could lead to hangs.

    dmik committed Nov 22, 2018
    This was spotted in tst_QObject in a test that mixes socket notifiers
    and multiple event queues within #29.
    
    Closes #54.