summaryrefslogtreecommitdiffstats
path: root/src/activeqt
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that we load system libraries from the correct location.Jan-Arve Sæther2010-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a security hole that has been there for a while, but the public awareness have recently rised so the threat is more imminent now. The solution is to fix all places where we dynamically load system libraries. More specifically, we now load all system libraries with an absolute path that points to a library in the system directory (usually c:\windows\system32). We therefore introduce a small class named QSystemLibrary that only loads libraries located in the system path. This shares some of the API with QLibrary (in order to make the patch as small as possible). We don't fix QLibrary due to risk of regressions. In addition, applications can fix the code that calls QLibrary themselves. The problem does not apply to Windows CE, since the search order is documented as not searching in the current directory. However, it touches some CE-specific code - therefore QSystemLibrary is sometimes used on WinCE (however, it will just do a normal LoadLibrary() since its safe anyway). This change does not affect the testability plugin (it is not clearly documented where that plugin is located, and the plugin should never be used in production code anyway) Loading OpenSSL libraries The ssl libraries are handled specially, and searched in this order (we cannot expect them to always be in the system folder): 1. Application path 2. System libraries path 3. Trying all paths inside the PATH environment variable Task-number: QT-3825 Reviewed-by: Thiago Macieira Reviewed-by: Peter Hartmann
* Remove unwanted code after c027f0ae1967ec1d64cb2c9679c8b57f18faf7f5Prasanth Ullattil2010-02-261-6/+0
| | | | | | | | | The LockWindowUpdate() was used to reduce the flicker caused when calling EnableModeless(). After the above commit, no repaints will be generated by this code path, so we can remove this call. Task-number: QTBUG-8355 Reviewed-by: Bradley T. Hughes
* Update copyright year to 2010Jason McDonald2010-01-0625-25/+25
| | | | Reviewed-by: Trust Me
* doc: Fixed typos.Martin Smith2009-12-181-1/+1
| | | | Task-number: QTBUG-6898
* Update license headers again.Jason McDonald2009-09-0925-0/+25
| | | | Reviewed-by: Trust Me
* Fix compile error for WinCEPrasanth Ullattil2009-09-011-1/+4
| | | | | | Do not use LockWindowUpdate() in Win CE Reviewed-by: Trust Me
* Reduce the flickering caused by QAxClientSite::EnableModelessPrasanth Ullattil2009-09-011-0/+2
| | | | | | | Lock the updates during this call from the activex control. Task-number: 257593 Reviewed-by: Trust Me
* Do not set window tile from IOleInPlaceUIWindow::SetActiveObject()Prasanth Ullattil2009-08-281-3/+4
| | | | | | | | | MSDN docs suggest that all containers ignore the object name parameter passed in this function. The tiltebar should always be set by the container application. Task-number: 204674 Reviewed-by: Trust Me
* fix warnings on mingw (gcc4.4)Thierry Bastian2009-08-043-7/+11
| | | | | | | basically reordering members initialization in constructors or fixing singed/unsigned checks. Reviewed-by: Trustme
* Fix compile error on WinCE.Prasanth Ullattil2009-08-032-1/+16
| | | | Reviewed-by: TrustMe
* QCheckBox on an out-of-process server wont allow <SPACE> key & FocusPrasanth Ullattil2009-07-313-43/+90
| | | | | | | | | | | | | | | | | | | rect is not drawn correctly. Depending on the type of server, QAxClientSite::TranslateAccelerator() needs to process the message differently. For ActiveQt based in-process-servers, only normal Qt event handling is required. For ActiveQt based out-of-process-servers, the message has to be forwarded and Qt event handling needs to continue. For all other type of servers, forward the message and stop Qt event processing. Styles use the WA_KeyboardFocusChange attribute set on the window to decide on drawing the focus rect. ActiveQt handles the VK_TAB key in the QAxServerBase::TranslateAcceleratorW(), the attibute is now set when focus is changed. Task-number: 253763 Reviewed-by: Volker Hilsheimer
* Doc: A few cleanups, fixes and improvements.Volker Hilsheimer2009-07-192-8/+8
|
* src/activeqt: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT ↵miniak2009-07-0112-266/+147
| | | | | | | | | support Also, buffer sizes passed to Registry APIs were incorrect. Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* Merge branch '4.5'Marius Storm-Olsen2009-06-301-0/+4
|\
| * Remove a couple of registry entries when unregistering an ActiveX serverAndy Shaw2009-06-291-0/+4
| | | | | | | | | | | | These two entries were not removed since the server was an OOP server Reviewed-by: Prasanth
* | Merge license header changes from 4.5Volker Hilsheimer2009-06-1625-25/+25
|\ \ | |/
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-1625-25/+25
| | | | | | | | Reviewed-by: Trust Me
* | improved string operations all over the placeThierry Bastian2009-05-287-157/+158
| | | | | | | | | | used character operations whenever possible better usage of QLatin1String
* | introduce Q_WS_WINCEMaurice Kalinowski2009-04-291-6/+6
| | | | | | | | | | | | | | | | | | | | | | Task-number: 246130 Reviewed-by: joerg Introduce Q_WS_WINCE for Windows CE only windowing parts. So far we decided to stick with Q_WS_WIN32, but having a separate define makes the code more readable. In addition Q_WS_WINCE_WM is available for Windows Mobile only parts, where we do not check for the OS on runtime.
* | Merge branch '4.5'Thiago Macieira2009-04-202-39/+31
|\ \ | |/ | | | | | | Conflicts: tests/auto/qaction/tst_qaction.cpp
| * Unable to build ActiveQt with Opensource edition.Prasanth Ullattil2009-04-202-39/+31
| | | | | | | | | | | | | | Updated the project files and headers necessary for enabling this. Reviewed-by: Thiago Macieira Reviewed-by: Jens Bache-Wiig
| * Long live Qt 4.5!Lars Knoll2009-03-2331-0/+19086
|
* Wrong property type (QVariant&) generated by ActiveQtPrasanth Ullattil2009-04-021-4/+8
| | | | | | | | | This was due to an incorrect type defenition in the typelibrary for a particular COM object. Enven in such cases we should not generate an incorrect type. Task-number: 248612 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@nokia.com>
* Long live Qt!Lars Knoll2009-03-2331-0/+19086