summaryrefslogtreecommitdiff
path: root/vcl/source
AgeCommit message (Collapse)Author
2012-11-26make presentation spanning all screens work (bnc#758138)Luboš Luňák
This reverts an API "improvement" from 6ee5dfa150d408179e20a5525ff7ec46649e0e58 that tried to use -1 as the current screen/display but failed. The check for nDisplayScreen being in range broke all-screens (which is represented as last_screen+1 value, which is broken in its own way, as e.g. the screen count can change). The same way -1 as the default value is broken, as everywhere else invalid invalid screen number means spanning all screens. The extra overloads without a default value should take care of that. Change-Id: Ie118038eacacebc007c25860732d5904ad0de2b9
2012-11-26Make ~Window more robustStephan Bergmann
...in cases where the Window(WindowType) ctor did not call Window::ImplInit, so many members are null; if then a derived class's ctor throws an exception, ~Window must be careful not to dereference those null members. Change-Id: I12c4b1b5d7f3633387b85acf9da6d57c42e793b4
2012-11-25fdo#57499: VclContainer: enable child transparent modeIvan Timofeev
Change-Id: I42aa0c578a927777725e5be4f8534f68bc709cd6
2012-11-24fdo#57472: VclContainer: make it paint-transparentIvan Timofeev
Change-Id: I02f09ecf7edb8a8b01b996782ee9618988b5f56e
2012-11-23some i18n wrappers with LanguageTagEike Rathke
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23callcatcher: update listCaolán McNamara
.ui conversion has finally make inroads into core vcl widgets, no WorkWindow are initialized from ResIds anymore post conversion of the xslt filter dialog Change-Id: I4a1764d9fb9be9e252630e3afc9972221bc16be6
2012-11-22update autoscrolls on text modificationsCaolán McNamara
not just on SetText or Resize Change-Id: I9991125d8f5eaa527e2cf274222c94b6d6cc1069
2012-11-22make left-right traverse through radiobutton groupsCaolán McNamara
lets preserve the traversal order from the initial grouping order, so convert the radio group set to a vector Change-Id: If057f0c5d5f2eac2e8866a8a39efde8035c4fc4a
2012-11-22support setting textbuffers on textviewsCaolán McNamara
Change-Id: Iaab4f17539c65c11870ce9b0635dc5ab47f1fa88
2012-11-22*height* not widthCaolán McNamara
Change-Id: I6ca792b9658e89d1b3dd147332e57625eb31256a
2012-11-22AllSettings with LanguageTagEike Rathke
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22use MNEMONIC_CHAR defineCaolán McNamara
Change-Id: I824bd1ad981e0b37e273a054e2a64cb500776180
2012-11-21Clean up remains of NativeActivity-based Android app supportTor Lillqvist
We haven't been able to build NativeActivity-based apps (like the android/qa/sc and anroid/qa/desktop thingies) since we switched to DISABLE_DYNLOADING and a single DSO liblo-native-code.so anyway. No lo_main() any more. <sal/main.h> should not be included ever when compiling for Android of iOS now. Lots of stuff binned from vcl's androidinst.cxx, in the (vain?) hope that it will reduce the amount of never invoked GUI code that gets linked in. Change-Id: I25f584864c40110774c728a23151e089620442d9
2012-11-21obtain LanguageTag from SvtSysLocaleEike Rathke
Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
2012-11-21apply packing properties of pseudo-scrolledwindow to self-scrolling childCaolán McNamara
Change-Id: I13b0b625109237a0ec9711ed2efdc34cd3e0d32b
2012-11-21VclContainer: use transparent backgroundIvan Timofeev
see http://lists.freedesktop.org/archives/libreoffice/2012-November/040587.html, screenshot at [3]. Change-Id: Iaf72b3734564301244365773f05c6df01a6dea62 Reviewed-on: https://gerrit.libreoffice.org/1143 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-20Enforce use of accessors on gen.hxx structuresMatteo Casalin
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-20fdo#57059 - fix crasher rendering borders for very small windows.Michael Meeks
2012-11-17valgrind: use of unitialized variablesCaolán McNamara
Change-Id: I42ef4af662bbfd792e9d98aba5b5e272fa4d8091
2012-11-17honour child alignment in all layout widgets, not just gridCaolán McNamara
i.e. so that the original cmis checkin dialog of 207ed1b1a17ca6d785cad936ecadcd160acc2b83 would have worked without rework as grid of 5cc34dc91211b6173139d1a1a76c494c4a1f9a75 Change-Id: Ide047cfca63558867c427d4fcbb91ad182fb71e4
2012-11-17honour widget [v|h]expand in VclBox as well as packing expandCaolán McNamara
Change-Id: I5ccd28c8d9d62d5a7bec118312752f66a9a4d609
2012-11-16use LanguageTagEike Rathke
Change-Id: I48187540869ba8750e83b1c5e9aa5cb84b1a5c9c
2012-11-16Drop unused #includeTakeshi Abe
Change-Id: Ibbeb1e154b2d4829b853dc4c47ef6bf5b6955470
2012-11-16Delete arrayTakeshi Abe
Change-Id: Ia02e936ace65e576f9df086d4608e514f3b0001e
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-14Resolves: fdo#57090 visual glitches on MacOSX with borders + layoutCaolán McNamara
We need to force a resync of the borders of a borderwindow onto its client window when the borders change when layout is active, otherwise we are doing out calculations using the old borders and it all turns into a pile of junk Change-Id: I7dbff0b30aad41779f0f295498af6a492ddf5430
2012-11-14remove redundant commented code.Michael Meeks
Change-Id: Ia311bdd148cf4c346c187d3b37964b12cded1212
2012-11-14Removed AbstractMenu class and cleaned up useless code.Antonio Fernandez
Change-Id: I4094302b83342fd42bccad4966b51624215d71ff
2012-11-14All special items are now correctly displayed.Antonio Fernandez
Change-Id: Ifce96d3e740a7ac89132dd23f9f51447e4372716
2012-11-14Hidden items are not shown anymore.Antonio Fernandez
Change-Id: I957c8c7690321be58e8daaf2fb65ebef136d95bc
2012-11-14Menus are generated on demand now, but with some issues.Antonio Fernandez
Change-Id: Icec9b685e720a369cff4d2bbfc5bf4ba6614e390
2012-11-14All menu labels are now displayed. There are some issues with repeated labels.Antonio Fernandez
Change-Id: I1b92b91f34003f20aaa56558c1c0e231d1de6f94
2012-11-14Menu is displayed correctly in additional instancesm but not in the main one.Antonio Fernandez
Change-Id: Id7d79e47efd73ddc2eeac285c28179a5aa9ecc37
2012-11-14Most actions seem to work now. Enabled ImplSelectWithStart() for all builds.Antonio Fernandez
Change-Id: Ib309112de07d125fbe3b61ea20d5e26d1016912b
2012-11-14Added GLOMenu and GLOActionGroup. Menu is published with actions (not working)Antonio Fernandez
Change-Id: I3400980e4605fbf78755532c696e021d3466675b
2012-11-14Native menu is completely build in one step.Antonio Fernandez
Change-Id: I772c267b3c136e6baab2623dbf5538b5076d43ff
2012-11-14Menubar hierarchy fully generated. Native GTK menu is published on DBus.Antonio Fernandez
Change-Id: I340d3e14b590b4a694082cfb3e2200d6ad8ef39a
2012-11-14Added a "freeze" method to Menu. Menus are now displayed on console.Antonio Fernandez
Change-Id: I71bfc2c0272154b9ff5c2dabe7508a98950e199c
2012-11-14callcatcher: update unused code post binfilter deathCaolán McNamara
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-11-13Avoid global static dataStephan Bergmann
...that (indirectly) allocates memory via rtl/alloc.h, thereby causing the rtl_cache_wsupdate_init thread to be spawned before main, as on Mac OS X that would interfere with the code in sal_detail_initialize to close all file descriptors >= 3 -- on Mac OS X the pthreads implementation makes use of KQUEUE file descriptors. * This commit removes enough global static data to make ui-preview work again on Mac OS X (where it crashed at startup when the main thread closed the KQUEUE fd used by pthreads implementation threads). gengal uses further static data (at least from module sb), so needs further clean-up. * Avoiding global static instances derived from class Application required the introduction of vcl/vclmain.hxx. * That the vcl library was linked against the static vclmain library (which only provides an implementation of main) appears to me to be a historic relic (all executables should either include a SAL_IMPLEMENT_MAIN or link against vclmain), so I removed that. Change-Id: I048aa616208cb3a1b9bd8dcc3b729ba1665729bd
2012-11-13macosx theme has a gap between edit area and up/down areaCaolán McNamara
in spinbuttons, so adding just the width of the up/down buttons will not take into account that intermediate space in determining the optimal size Change-Id: I219a02b3313e87f4c927d52de34eda040b13133e
2012-11-13favour expandables over non-expandables for shrinking scenarioCaolán McNamara
if grid contents change their mind and want to be bigger than available space, then somethings got to give, prefer expandables as shrinkables too Change-Id: Iefd87adb722548c11df04f194cf6d6e17665289a
2012-11-13use SetControlForeground instead of SetTextColorCaolán McNamara
because that's persistent across unrelated style changes otherwise setting e.g. alignment will reset the color to default black Change-Id: I2b975c3914a59a93e54d72aa0975a066b5edf533
2012-11-13merge SetDescription into SetTextCaolán McNamara
that way the display text always matches the link text Change-Id: I3f4901803bd9354d2cd0fc29d7d91ccd8e3def54
2012-11-13convert extension dialog to .uiCaolán McNamara
Change-Id: I4d938be9e960f421398dd40bbcf1b3cadc643de1
2012-11-12move svtools's FixedHyper.hxx to vclCaolán McNamara
merge with fixedhyperbase and map GtkLinkButton to FixedHyper. Convert to String while I'm at it. Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
2012-11-12re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Reduce the dependencies on non standard GNU copy. http://svn.apache.org/viewvc?view=revision&revision=1238684 Correct /usr/bin/env path. http://svn.apache.org/viewvc?view=revision&revision=1235619 Complex Toolbar Controls Extension from the SDK Patches contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1190390 i118615 - make epm more verbose http://svn.apache.org/viewvc?view=revision&revision=1204288 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patches contributed by Juergen Schmidt: jsc341: i117327: take care if no dependency node in current description exists, create one http://svn.apache.org/viewvc?view=revision&revision=1172101 jsc341: i117327: add extra extension dependency check http://svn.apache.org/viewvc?view=revision&revision=1172098 make initial branding changes http://svn.apache.org/viewvc?view=revision&revision=1231878 Patches contributed by Ingo Schmidt native373: #i117733# no linux jre installation on 64 bit systems http://svn.apache.org/viewvc?view=revision&revision=1167536 native373: ##164464# improve debian support http://svn.apache.org/viewvc?view=revision&revision=1167537 Patch contribtued by Armin Le-Grand: Changed various aspects concerning usages of old vendor names http://svn.apache.org/viewvc?view=revision&revision=1293313 fix for neon webdav, remove coinmp bits, improve odk script, cleanup & remove OS/2 conditionals, system ucpp fixes, remove OS/2 conditionals, restore our license filenames.
2012-11-12Improve PDF SignatureStephan Bergmann
...in two ways: * Change the signature type from "certification signature" to "approval signature" (by removing the signature reference dictionary with a TransformMethod of DocMDP; cf section 12.8.1 "Interactive Features: Digital Signatures: General" of the PDF 1.7 spec). * Include a call to NSS_CMSSignerInfo_AddSigningTime after all, which appears to be the only way with the Mozilla CMS API to cause the SignerInfo included in the generated PKCS #7 data to include PKCS #9 content-type and message-digest attributes as required in section 9.2 "Signed-data content type: SignerInfo type" of RFC 2315. These changes cause acroread to change from reporting "Signature is invalid: There have been changes made to this document that invalidate the signature" to "Signature is valid: Document has not been modified since this signature was applied", but now also warning "N Page(s) Modified" (where N is the number of pages in the document). I have no idea what still causes the latter complaint. When comparing the PDF output with some signed PDF generated by other software (for which acroread does not complain about modified pages), there is no obvious difference left. Change-Id: I4af659a747ce8cba809b331613ddfbcf36aae3cc
2012-11-08add a SV_RESID_BITMAP_REFRESH id and map to gtk-refreshCaolán McNamara
Change-Id: If860b33ab86b195952cd7879de16c65221a21ab5
2012-11-08sort secondary group after primary for vertical containersCaolán McNamara
and continue to sort secondary before primary for horizontal containers Change-Id: I5ecc08fe796845b7ed115a077ace4750c50bf1c0