summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-06-11Resolves: #i121194# Better support for graphic fill styles...Armin Le Grand
which are not bitmaps (svg, metafiles, ..) (cherry picked from commit 7a652a2b2ab5e0d37e32185c8c5fac3af482bb76) Conflicts: drawinglayer/Library_drawinglayer.mk drawinglayer/Package_inc.mk drawinglayer/inc/drawinglayer/attribute/fillgraphicattribute.hxx drawinglayer/inc/drawinglayer/attribute/sdrfillattribute.hxx drawinglayer/inc/drawinglayer/attribute/sdrfillgraphicattribute.hxx drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx drawinglayer/inc/drawinglayer/primitive2d/fillgraphicprimitive2d.hxx drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx drawinglayer/inc/drawinglayer/primitive3d/textureprimitive3d.hxx drawinglayer/inc/drawinglayer/processor2d/vclprocessor2d.hxx drawinglayer/inc/drawinglayer/texture/texture.hxx drawinglayer/inc/drawinglayer/texture/texture3d.hxx drawinglayer/source/attribute/fillbitmapattribute.cxx drawinglayer/source/attribute/sdrfillattribute.cxx drawinglayer/source/attribute/sdrfillgraphicattribute.cxx drawinglayer/source/primitive2d/fillbitmapprimitive2d.cxx drawinglayer/source/primitive2d/graphicprimitive2d.cxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx drawinglayer/source/processor2d/canvasprocessor.cxx svx/inc/svx/sdr/primitive2d/sdrattributecreator.hxx svx/source/sdr/contact/objectcontacttools.cxx vcl/inc/vcl/graph.hxx unused file _vclmetafileprocessor2d.cxx deleted, was added by error (cherry picked from commit ed0d53f8283cd3ce579a90b599118884d0db6119) Conflicts: drawinglayer/source/processor2d/_vclmetafileprocessor2d.cxx Corrected canvasProcessor usage (cherry picked from commit 7903c33f31c457eb6ff506958c4233f2a5d39bcf) Conflicts: svx/source/sdr/contact/objectcontacttools.cxx Change-Id: I80008050b98dafc92fde043524843c13a75fe22c d2fa667d7c127b4d735334e56093d1d4553b0a5b e20c60c7d6472da1295a162d9a629be998861f62
2013-06-11fix and simplify getting files from the KDE4 file dialogLuboš Luňák
- Fix multiple selection handling. - The "double click selection KDE4 bug" does not exist (anymore?) as far as I can tell. - Apparently it's not true that multiselect needs the first item in the list to be the directory. - KFileDialog can already give full URLs. Change-Id: I5bb651902fb6c1d75af40b78bf32c79b004b7358
2013-06-11protect against exception during construction.Michael Meeks
Change-Id: Ied19ddc28dc8413a35ee7b7269cd6c6f22ca9a91
2013-06-11Cairo canvas fixesMichael Meeks
+ Move BitmapEx construction from an XBitmapCanvas into BitmapEx where (arguably) it will be easier to re-factor later, treat a mask fetch failure as if we have no mask + Teach the cairo canvas to return a non-pre-multiplied RGB + separate Alpha BitmapEx when it can to avoid unpleasantness with the underlying X resources. + Add tentative code-path to convert 32bit color Bitmaps into 24bit color, to avoid confusing X Change-Id: Iaf6998c796aea6d73c57bed2bc03152d9636d5f5
2013-06-11Revert "fix canvas bitmap rendering (argb32 pixmaps) fixes color in n#780830"Michael Meeks
This reverts commit 46e53913e9dcc84ffed8fb5f1b4959c70c7e5649. Conflicts: vcl/inc/salbmp.hxx vcl/source/gdi/gdimtf.cxx vcl/unx/generic/gdi/salgdi2.cxx Change-Id: Ifa893b687c724ea71655aa4e084a44858695073e
2013-06-11Revert "pass argb32 pixmaps from vcl to canvas, avoiding costly x11 ...Michael Meeks
This reverts commit 22f63477a3300d474c3d6832232b888f75c7290c. Conflicts: canvas/source/cairo/cairo_canvasbitmap.cxx Change-Id: Ib266050ebc6eaca4fbd36ed013ac95a1b4b9d316
2013-06-11Resolves: #i121183# Added buffering non-bitmap formats in GraphicArmin Le Grand
(cherry picked from commit 54c0f6f5b605ae05eade910fd2b672adf1d0d7fc) Change-Id: I4117f4002b14cb8b3811422a5fcbae6a0d2a2d08
2013-06-11Missing zip files now result in a DeploymentException so ignore that.Michael Meeks
DeploymentException seems to be a hard RuntimeException, so this is a new behaviour. We need to think if zip::ZipFileAccess::createWithURL should return that; see 28e3aff576f06b0b02c7232da5d723e865b3c7ed Change-Id: Ie99ea4c7519cbc1aa7790768d7e9e0c2edef68e0
2013-06-11limit next codepoint index to the minindex..endindex boundsOliver-Rainer Wittmann
Patch by: hdu (cherry picked from commit 6115cd0bf8ef8d7e063615636175e148c8d57da1) Change-Id: I62265b3021f86bee1f78a79a2c668c1ce09c5521
2013-06-11fdo#65450 Not to call MenuBar's selection logic for rollover effectIsamu Mogi
Currently when we rollovers on MenuBar, MenuBar's selection logic (ChangeHighlightItem et al) is called. But calling these logic on background window seems to illegal and causes fdo#65450.
2013-06-11mark as constTakeshi Abe
Change-Id: I7f3d231d9f82db663a6a0977fa3f250af9dc8991
2013-06-11sal_Bool to boolTakeshi Abe
Change-Id: I5ccddcab097e820d043a41d8fbe3f900fc1079e5
2013-06-10mingw64: Don't cast to pointers from narrower integersFridrich Štrba
Change-Id: Ica7bd2d6b395d42d575660991ec74ecb2b744473
2013-06-09sal_Bool to boolTakeshi Abe
Change-Id: Ib712c9ebf8d8e6aae5e04fec19be629d3393f5d5
2013-06-08Resolves: #i121382# Corrected size handling including font size handling...Armin Le Grand
for EMF/WMF imports (cherry picked from commit 0ce59463f93b1c1fe78d18476249259bfc7e440e) Conflicts: svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winmtf.cxx svtools/source/filter/wmf/winmtf.hxx Change-Id: Ib1ea92a1d52ea83ee7ad48a8bda2496cda9dcc53
2013-06-07further reduce GUIBASE usage; don't set it to headlessMatúš Kukan
Change-Id: I76916c15f380bd80e823845f52f32a1c444079da
2013-06-07dump more info when encountering an odd language for a scriptCaolán McNamara
Change-Id: Icd8eaae44f81c7c6eb8a73a4e567a24b46f97870
2013-06-07Fix memory leak in SelectionManager::getXdndVersion.Mark Wielaard
Release XListProperties atom properties of window after inspection. Change-Id: I89d86509babd7a9d8ec65dbabe0a062bf69fc493 Reviewed-on: https://gerrit.libreoffice.org/4186 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-06Newer mingw-w64 has gdiplus headers, though a bit buggyFridrich Štrba
Change-Id: Ibc25c621c0a97c11b617e920494cd311449c04d3
2013-06-06Remove some warnings on mingw64Fridrich Štrba
Change-Id: I4fbb543e19ecba879f9982dd4bb8442d77854526
2013-06-07sal_Bool to boolTakeshi Abe
Change-Id: I58efb9d026203c77d3806552bd4280a4d16d5111
2013-06-06fix WM_CLASSLuboš Luňák
VCLSalFrame is definitely not the name of any instance of LibreOffice. Change-Id: Iba227061c0c0541290c90876c94d1016aa1e783e
2013-06-06simplify WM_COMMANDLuboš Luňák
it's not necessary to prepend /bin/sh to WM_COMMAND, soffice itself already is executable Change-Id: Iece77f901f233c8c675f524c8c88510d0cfc1c52
2013-06-06Remove remnants of help agentCaolán McNamara
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b but gobs of code (and UI) still existed to collect the help id and give it to the missing help agent with various UI visible options and buttons to control the help agent which isn't there Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-06-06Some more movement to mingw64 portFridrich Štrba
Change-Id: I6af3cb1ac205dae20feb5a35481071bc4232680b
2013-06-06Fix memory leak in Exif::processExif. Delete aExifData when done.Mark Wielaard
Change-Id: I1e63727fb8d587401c72775a14e7e3572b04fff5 Reviewed-on: https://gerrit.libreoffice.org/4171 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-05CGColorCreateGenericRGB is not available on iOSTor Lillqvist
Change-Id: Id7c6077ea0e45d848be099d48ef4d7207e65a06f
2013-06-05widget layout: Introduce a way to specify MetricBox in .ui.Jan Holesovsky
Uses the same trick as MetricField - you set the units in the 'id' of GtkComboBox in form like id="something:0mm", or id="something:0 degrees" (for custom units). Change-Id: I572c653b97e75dcf47f934415139e1bfb06dc89b
2013-06-05Some clean upStephan Bergmann
Change-Id: Ia954b2c7f9cabb4b8a1e5ccf59b06e25af6a1ce1
2013-06-05Related: rhbz#968892 discard impossible languages for oriya script fallbackCaolán McNamara
Change-Id: I2fa1a127fbd2f905a89f0c30898ad56099fa8df1
2013-06-05Some more win64 "fixes"Fridrich Štrba
Change-Id: Id3de720a7ab28499644881e628a18f99121cb3c9
2013-06-05Initialise more fields, especially mfFakeDPIScaleTor Lillqvist
Now the iOS app displays the test document successfully again. Change-Id: I71aeacc50e51a28ba1e8b67c7da42da0c848f997
2013-06-05Resolves: fdo#65407 fix broken ellipse generationCaolán McNamara
regression since 0e137027fcf294b33a9c7376b17a6c4e33758c52 Change-Id: I88fbb37ae7f62d6aed37d82fba12ab213866a06c
2013-06-05Fix memory leak in SalGtkFilePicker::SalGtkFilePicker.Mark Wielaard
The result of gtk_widget_create_pango_layout should be unrefed when done. Change-Id: I46c220a933a2dac42ec21e9e2904938bc4649dbd Reviewed-on: https://gerrit.libreoffice.org/4157 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-05Fix memory leak in SalGtkFilePicker::execute.Mark Wielaard
The result of g_filename_from_uri should be explicitly freed when done. Change-Id: I194a562482531aa51cf31ed1f7dbc0ee59054d8b Reviewed-on: https://gerrit.libreoffice.org/4158 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-05Fix memory leak in SalGtkPicker::uritounicode.Mark Wielaard
The gchars array returned by g_filename_from_uri will be copied into the OUString sEncoded and should be freed. Change-Id: Ib610cce5848607826632c0f5e32020708dac7645 Reviewed-on: https://gerrit.libreoffice.org/4156 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05remove unused componentcontext.hxx includesNoel Grandin
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05sal_Bool to boolTakeshi Abe
Change-Id: I45bb595a40fe79a4b04096436819a6ec6200eedc
2013-06-04vcl: add a console-only mode to avoid problems on Mac for gengal.Michael Meeks
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
2013-06-04Related: rhbz#968892 discard impossible languages for glyph fallbackCaolán McNamara
Change-Id: I14f1bab09eb0be9c2c896a1dde45913b99aab6df
2013-06-04Resolves: rhbz#968892 force render full grapheme with fallback fontCaolán McNamara
Change-Id: I5bb98c61d047e69d74666261b2c489d80f344502
2013-06-04clip message box dialogs to some reasonable widthsCaolán McNamara
Change-Id: I7fc179865306ba5b593b090b1fdb8971ba6bd508
2013-06-04Avoid crash on iOS: We need to get a valid context hereTor Lillqvist
Change-Id: Ib3fc01213fc6bc370a6c8b774a063f6f275ba6f2
2013-06-04Some more sal_IntPtr dance, but enough for todayFridrich Štrba
Change-Id: Ic772181321e74713244223cc3d4542bd4cd2dc88
2013-06-04Hopefully fix build on LinuxTor Lillqvist
Change-Id: Ia2e80b07138a552d04072f4b8d362bcc2be86edf
2013-06-04Make the iOS vcl CoreText code build againTor Lillqvist
Some refactoring was needed after the Coretext rework yesterday. It does crash at run-time, though. Also, remove the no longer used source files from our older CoreText attempt. Change-Id: I54d221ade846866d7a9457acd50219c74c68e8cf
2013-06-04Drop the trailing white space crackKhaled Hosny
Whatever this is, all it seems to do it to cause jitter when editing text. The only place where this has any use is when editing RTL text since Core Text seems to always place the trailing space on the right. Change-Id: I35726775fb2a11761d264238fe702e58bbafd7fd
2013-06-04Add Emacs and vim mode linesTor Lillqvist
Change-Id: I2ad35bfbaf40dd1a5b5c9f7f119268b8f30ca093
2013-06-04Drop "CJK extra leading" crackKhaled Hosny
It have been unused on Mac OS X since since 2008 (commit da4d070d9d2d563f6e1401496957b22b51c81ff9). Change-Id: I4b3eabe71a54021903009310a87319c9caecfd4c