summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2016-06-18uitest: add todo commentMarkus Mohrhard
Change-Id: Ie2f5f1342f3d91aeb43d5c9c62a2dbac4c801451
2016-06-18uitest: initial support for spinbuttons in uitestingMarkus Mohrhard
Change-Id: I4e62cb65cecdff8ac1a89c3f9c3a14e5206a9115
2016-06-18uitest: add initial support for combo boxes to uitestingMarkus Mohrhard
Change-Id: I82aa2d877216bc1bb984bd16e2d1d54a15fcc4fa
2016-06-18uitest: don't allow access to disabled or hidden listboxMarkus Mohrhard
This should maybe be extended to other parts of the framework. Change-Id: I03137bc34a1e4b8e6ba4024f66d1dfde122bb9d2
2016-06-18uitest: initial work on tab page ui testing supportMarkus Mohrhard
Change-Id: I76fdaad1f84d3b18b130decd7bdb4eef82d341e9
2016-06-18uitest: provide a few more properties for list boxesMarkus Mohrhard
Change-Id: I3d4af79a97daacb3d431a4018c88c0eb943e4723
2016-06-18uitest: provide a few more properties in the state mapMarkus Mohrhard
Change-Id: I0819a1bb2134d77852633e7a94bf94dadcdfdec0
2016-06-18uitest: add initial implementation for ListBoxMarkus Mohrhard
Change-Id: I9fcc884afab63a9601c560f733a13551b5036cbe
2016-06-18uitest: handle a few more dialog typesMarkus Mohrhard
Change-Id: I91f1ea7ec68111c1f90a53171bd939e5f2ee59a3
2016-06-18uitest: add checkboxes to UI testingMarkus Mohrhard
Change-Id: I923fa22b0395b2f41bffe3798fb3e4eb18fe5dc2
2016-06-18uitest: add ids for buttons in MessageDialogMarkus Mohrhard
Change-Id: I172eb79abff515acc734288a008eb4426754432d
2016-06-18uitest: add a few more properties for the ui testingMarkus Mohrhard
Change-Id: Ibe62c753cc9c51bda765ad6192b2014f51539fab
2016-06-18uitest: send signal when modeless dialog is readyMarkus Mohrhard
Change-Id: Iacd066d1ebfc5dd48c1be6ac0905ad39ef33d261
2016-06-18uitest: add getState method to css::ui::test::XUIObjectMarkus Mohrhard
Change-Id: Idaa559956fd3a59c79038d3940d664a1d2bff867
2016-06-18uitest: support the parameters in the executeAction commandMarkus Mohrhard
Change-Id: I78df2fe58b9d1386f360bef4c0eeddb6afe83b8d
2016-06-18uitest: send a document event when modal dialog is executedMarkus Mohrhard
The event is sent shortly before the Dialog will go into Application::Yield. Therefore you know that you can rely on the dialog being visible shortly after the event has been sent. Change-Id: Ifa911adae60ac877161ec43f27cb57d611a60059
2016-06-18uitest: send all commands in async modeMarkus Mohrhard
This avoids that we are stuck when we call a modal dialog. Change-Id: Id8c6a7a4c1369359b1355095b87cccaa95123f89
2016-06-18uitest: actually implement the UNO interfacesMarkus Mohrhard
Change-Id: I3cbb3d8f7c6fa0d2616a31192a959f89d4cc7703
2016-06-18uitest: ReallyVisible contains if the Window is visible on screenMarkus Mohrhard
ReallyVisible is calculated by going through the hierarchy and check if all parents are visible. Change-Id: I41dec643618a9ee57a0d04efb9d72c45723b3f65
2016-06-18uitest: if action is not executed forward to base classMarkus Mohrhard
Change-Id: I0432f1bbe0e282e854df534094908a8eba62eaa3
2016-06-18uitest: add way to type text in any window through ui testingMarkus Mohrhard
Change-Id: I9bbb60c1b64a10488ccf74f12e144802485bbc82
2016-06-18uitest: rename getType to get_typeMarkus Mohrhard
Just for consistency. Change-Id: I13577b9318039493f585268fd7189f5cbc4dec46
2016-06-18uitest: set text through key events in ui testsMarkus Mohrhard
This is much closer to what happens when a user inputs some text and ensures that the modify handler is called. At some point we need to introduce a general keyboard handling. This includes functions like DEL, RETURN, ... Change-Id: I0561d8ff83bbf93c460be82634b4d3a23b42b68b
2016-06-18uitest: add ui test wrapper for EditMarkus Mohrhard
Change-Id: Ife00f65311c44703edae06971f77faa6b0e2eb3f
2016-06-18uitest: remove wrong commentMarkus Mohrhard
Change-Id: Ia926854eefdf4b972ceb0766da16730d552dfe8f
2016-06-18uitest: correct log macroMarkus Mohrhard
Change-Id: Ic4c701d385d3d439dd9f92da201fffd31adbfad2
2016-06-18uitest: add method to get top level window that has current focusMarkus Mohrhard
This might be a modal dialog (mpLastExecuteDlg) or a modeless dialog/the toplevel window (mpFirstFrame). This window should be used with get_child to find the correct window in the current scope. Change-Id: I0a1e63d0aa19c782069ba5876549f274dabb109b
2016-06-18uitest: add a few more wrappers for ui controlsMarkus Mohrhard
Change-Id: I81d53aaeca83f22887a461dc2151001118dad2e9
2016-06-18uitest: initial work on executing dispatcher commands in ui testsMarkus Mohrhard
Change-Id: Ib46ef5ea31e77d54786c0d732845984ce3c9c07f
2016-06-18uitest: let us use the include/vcl/uitest purely for the interfaceMarkus Mohrhard
All the actual implementations don't need to be exposed to the outside world. Change-Id: If92469b99e6c39493767de947434c6d78ae3804c
2016-06-18uitest: it helps if you actually compile the source codeMarkus Mohrhard
Change-Id: Iac35bf1e699c64f16b4479ed5a6c7fb101e12f9d
2016-06-18uitest: move the uitest files to vclMarkus Mohrhard
This allows us to use them in vcl as well without introducing dependency problems. Change-Id: Ib97af2d559902f1a6b47f9255bb0426411670647
2016-06-18uitest: some more work for the UI testingMarkus Mohrhard
Change-Id: I79193190f8f614b2d6a71032f05a0518eb9d1a1d
2016-06-18uitest: store the id of each vcl::WindowMarkus Mohrhard
We will use the ID in the UI testing to identify the widget. Change-Id: I4dd79a02355e1de40f3c2ddc6a61a805b4e30778
2016-06-17LOK: fast tile rendering (graphics and buttons)Ashod Nakashian
Since embedded graphics and buttons use absolute coordinates, we set the origin to be the top-left corner of the tile. This includes the origin + ScrPos (see previous patch). Then, the coordinates of the graphic is shifted by this amount to make sure it renders in its relative position to the tile. This renders embedded graphics and buttons at their correct position, with some limitations. Tiles large enough to cover a graphic object show the graphic object where it should be. However, rendering a relatively small tile doesn't render the graphic. This seems to be an issue with moving the graphic's coordinate at a later stage than the 2D Processor decides what objects intersect with the 'view area' that is rendered. Another issue is that graphs don't render. What they seem to suffer is incorrect scale and a fix coordinates (they show up as tiny thumbnails at the top-left corner and grow in proportion to the real graph when resized). These shall be addressed in a separate patch. Reviewed-on: https://gerrit.libreoffice.org/26204 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 5f01d80f75dc86b393cc2fdb66b94aece964c674) Change-Id: I4b71bf5f2e357d1114d46022bc00905ceed0c2f9 Reviewed-on: https://gerrit.libreoffice.org/26376 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-06-17convert DBG_ASSERT in vclNoel Grandin
Change-Id: I732fb1a789f90ca7a7f393cc41a6afe84fecf3d3 Reviewed-on: https://gerrit.libreoffice.org/26200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-16Resolves: tdf#100327 gtk3 fpicker yes/no dialog modal troubleCaolán McNamara
not sure why we ever hid the file dialog when putting up the yes/no dialog. So lets just do the more apparently sensible thing on the gtk3 path and leave gtk2 alone. Probably fallout from using window groups Change-Id: I4d0e8fae9568b050b674cf6ef4d8c88e65dd2ca1
2016-06-16tdf#100412: Cope with recursive gdk_threads_enter/_leaveStephan Bergmann
07157e644fa9666850767ff6bd54c1511167a0a2 "Keep track of ThreadsEnter/Leave acquire counts per thread" was done under the assumption that these calls never happen recursively, but tdf#100412 makes it look like such calls do happen, so that in a pattern gdk_threads_enter gdk_threads_enter gdk_threads_leave gdk_threads_leave the second gdk_threads_leave could find yieldCount non-zero. Change-Id: If9837764d22473f21cf5b10d769929f3c86a0ba7
2016-06-16VCL: Simplify ToolBox initialisationArnaud Versini
Change-Id: Ia83e2011897b8c6b81cbe476a22944abd2230291 Reviewed-on: https://gerrit.libreoffice.org/26329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-15move aLastWheelEvent into svdataCaolán McNamara
just to keep them together and to drop the need for a static Change-Id: I55c784f9fc075f4542542ee2ec649eff32d708ec
2016-06-15crashreport: 644837b5-c445-4779-a75d-dd69fc2e3a6fCaolán McNamara
drop hint of previous window to get mouse wheel event when that window is disposed in order to drop any references to it immediately that happens to avoid anything else lingering too late move the VclPtr into ImplSVData alongside the rest of the things like this so we can remove the over-the-top DeleteOnDeinit which itself replaced a relatively harmless static Window* Change-Id: I1e172071b711b6e4ded9a813ee3de730d3dfdf38
2016-06-14silence warning about unknown ACTIVE_DESCENDANT_CHANGED_NOFOCUSCaolán McNamara
Change-Id: If0c1461b4c74b0b7eb17d47c61d13df3230d4b44
2016-06-13Related: tdf#100337 revert x-crossplatform ToTop...Caolán McNamara
which was added in... commit 82abd23f3ee1900b7579e5a0afa23581d5836f01 Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Nov 12 16:05:44 2015 +0000 Resolves: tdf#93317 Modified Document Dialog misses focus on Gtk3 because it reportedly causes a windows-only regression and instead fix tdf#93317 by presenting windows and taking focus using the last received user input time to ensure that the ToTop on the main window doesn't take precedence over the following gtk_widget_show of the quit dialog Change-Id: I08d1889232af75ca214ccafe9e4e9364df74fbe2
2016-06-13gtk3: m_bSetFocusOnMap is only used on gtk3Caolán McNamara
Change-Id: I3cf9e13dafb59031ab8dc4e678de9d502a376d52
2016-06-13looks to me we can merge these ctorsCaolán McNamara
Change-Id: Iab1e9888d35ecad7b1ca9713a571f32d59389cd1
2016-06-13VCL: Simplify Splitter initialisationArnaud Versini
Change-Id: I95e42012d8503493a89aee94fd05b2a878535f06 Reviewed-on: https://gerrit.libreoffice.org/26198 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-13loplugin:vclwidgetsNoel Grandin
Change-Id: I3567c3f9c5fe8374abd81d3f6e9a4a41e6a4c23d
2016-06-13Fix typosAndrea Gelmini
Change-Id: Ic3efae53430fbb2c1eb7962c3cf69bf99315e55b Reviewed-on: https://gerrit.libreoffice.org/26202 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-06-13opengl: vertex colors are defined in range 0-255 (GLubyte)Tomaž Vajngerl
Change-Id: I27962119ade7bcbc20b94eb548bd2c9dfb386404 Reviewed-on: https://gerrit.libreoffice.org/26207 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-06-12VCL: Simplify MessBox and its children initialisation.Arnaud Versini
Change-Id: Icf24af615e6020b40f92f565194b2328e99f47ad Reviewed-on: https://gerrit.libreoffice.org/26199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>