Commit Graph

3234 Commits

Author SHA1 Message Date
8c39739a38 add method for creating framebuffer objects to OpenGLHelper
Change-Id: I08bd2e58ee98a68accae256fcbcc288a8c56ae0b
2014-05-21 01:50:44 +02:00
f65de4feee fdo#60338: Introduce osl_createDirectoryWithFlags
...so that utl::TempFile can pass osl_File_OpenFlag_Private and doesn't have to
resort to umask (the calls to umask around Directory::create had somewhat
erroneously been removed recently with 1d72a0262c4570631d0aa8f98e34e21fb9d6ae42
"Related fdo#60338: Create missing temp file dir with user's original umask,"
mistaking this for creation of intermediate directories in the hierarchy).

On Windows, the flags argument to osl_createDirectoryWithFlags is ignored
completely for now.

Change-Id: Iac56a5049d579be729a3f338aa62105123edb6cb
2014-05-20 18:12:33 +02:00
68bc8af6b6 SvxRelativeField: set the unit from the passed stringmap
In the Paragraph "Indents & Spacing" tab there are fields with unit:
<object class="svxlo-SvxRelativeField" id="spinED_LEFTINDENT:0cm">

But the unit is effectively ignored, and the resulting SvxRelativeField
with FUNIT_NONE and 9999 max somehow results in 0.18cm max when the
dialog sets cm as unit.

Change-Id: I6001c93079fd7d899f1e119913b29ea4898b1c34
2014-05-20 16:44:29 +02:00
eccaf91ec9 use VCL's OpenGLContext for 3D transitions
Change-Id: I510518461eb8bc9669d0de2679c34c473f66b175
2014-05-20 15:48:51 +02:00
8d54796bf1 enhance pass-by-ref plugin to detect large arguments
Detect arguments larger than 64 chars passed by value.

Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-20 11:17:22 +02:00
07cb96a163 remove unused header files
Change-Id: If7ec1ff0a78f9cde5ac926e92377de4720c828b2
2014-05-20 03:00:31 +02:00
d09124d942 Fix overriding exception specification
Change-Id: I6eb46f1ffccc1d98b1a1485486cbc355ce296cd3
2014-05-19 22:52:42 +02:00
2fc4f5cd75 Register OpenGL windows to ScGridWindow upon file load.
Change-Id: I6fdce232ef41079f20a983dc72da032196078858
2014-05-19 16:03:28 -04:00
3db8d606d5 hrc and src files: squeeze multiple newlines
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done

Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19 20:04:22 +02:00
e77bb87b41 vcl: rename CopyAreaFinal to CopyDeviceArea
The name I gave this makes no sense. Basically, this function calls on
the SalGraphics function to copy the area, so really this name is much
more clear.

Change-Id: I842e6f2b81014a8222c39a62c5437bd53d66141c
2014-05-20 00:45:49 +10:00
61ce018658 Resolves: #i86528# use the module manager to identify the context...
for addons menu merging

(cherry picked from commit 2aac0070dbef6c1ad7eeccf7d4015cdcbffe067e)

Conflicts:
	framework/source/classes/menumanager.cxx
	framework/source/fwe/classes/addonmenu.cxx
	framework/source/uielement/menubarmanager.cxx
	include/framework/addonmenu.hxx

Change-Id: I3b606671db3a4c6ba8ed2b850e01e1ac91db7581
2014-05-19 13:28:17 +01:00
f67702e709 fdo#60338: Add osl_File_OpenFlag_Private to avoid umask
Change-Id: I293295244d1b089d747548c5025cb73b8ec428a4
2014-05-19 11:44:24 +02:00
dd0f844728 add COLOR function
This function makes property mapping in charts more user friendly.

Change-Id: I01cfb31edd749ee474d5078042fa5c4b4a270f86
2014-05-19 08:13:37 +02:00
e4ce7d286a fdo#46839 Convert line color picker to split button
Change-Id: I4987cc9ffba675009f2d2ae9f6b12ed4ee02fe13
2014-05-18 14:50:58 +03:00
064ca92484 hrc files should have hrc suffix
Change-Id: Iadbedc145c85c5f333e4449704fd01d5e12ddde5
2014-05-18 12:10:02 +02:00
8899e449b7 fix include guard for sal/types.h
Change-Id: I77e10d2644b18b150f9489c7f754405974af107a
2014-05-18 11:58:22 +02:00
9c3e819f06 move boost rng wrapper from sc to comphelper
so we can re-use it in other modules

Change-Id: I6057b1e955f745019fd48f91a754279df0f2b948
Reviewed-on: https://gerrit.libreoffice.org/9348
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-17 12:40:39 +00:00
3c1e30b77d Correct common misspellings, and remove some ASCII art along the way.
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c
Reviewed-on: https://gerrit.libreoffice.org/9356
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-17 12:38:38 +00:00
5bbc90be75 unused XGradient::VclGradient
Change-Id: Ia0c416ce7c1323f9c0c20b969bd57e9a2174a3dc
2014-05-16 23:00:33 +02:00
0ab5802eb0 more SvxLanguageBoxBase interfacing
Change-Id: Ife9317d40756099ae4d8ecb84cccea91bd75a14c
2014-05-16 22:10:19 +02:00
b862a216f7 ODF filters: fallback glTF model to bitmap for older versions
Change-Id: I33161401a29f511e61429355dd2905d4643fe8ff
2014-05-16 16:24:10 +02:00
06a45a1a17 loplugin:saloverride
Change-Id: I2b6e6a6654e888bec3ba4961f9130ca10b791f87
2014-05-16 16:20:56 +02:00
a6ef8ed1d6 clean up, remove eof comments
Change-Id: I166e781cb54181a8e5d08021cf5f6dfcd1fde5cb
2014-05-16 14:37:27 +02:00
be415a0f9a ooxml: Preserve shape effects when there's more than one
Transformed the preservation process of shape effects to be able to
store more than one effect. For that we:

* Created the Effect struct and added a vector member to the
  EffectProperties struct.
* Changed the shadow effect to use the new Effect struct,
  EffectShadowProperties struct is preserved because the direction
  field still has some use but we should remove it.
* Changed the structure of the grab bag to store more than one effect.
* Modified an existing unit test to check shapes with several effects.

Change-Id: I0dd908fa1d9578827c02ef6272fc9e2b914391be
2014-05-16 14:11:22 +02:00
5ad020235a introduce SvxLanguageBoxBase, SvxLanguageBox, SvxLanguageComboBox
In preparation of having a language box available as ComboBox to be able
to add language tags.

Change-Id: I5af5ea5bb06e558db1fcf9c0668be274d5cec04e
2014-05-16 12:54:54 +02:00
fb1e810553 test: don't create root element in startDocument() in xmlwriter
Change-Id: Ia08e9f8caf2a2fb42855dcb2245e013e1a181216
2014-05-15 23:50:58 +02:00
eddfced748 loplugin:sallogareas
Change-Id: Ic3e2a5ed247b35b4e6d80a4ad824bc9b535783fb
2014-05-15 22:26:16 +02:00
fb688d6446 test: dump staroffice metafile to XML & XML writer interface
Change-Id: Ie42f72e0fc281d1f51e1729be408c2b0042f4174
2014-05-15 19:51:08 +02:00
780cedb2cf test: parseXmlStream & parseHtmlStream added to test tools
Change-Id: Iff8af5e9ffefb4c3cecf387b16473d45e8b4a65a
2014-05-15 19:51:08 +02:00
29ef23b307 vcl: ReadWindowMetafile - make pConfigItem default to NULL
Change-Id: Ib061b5e05df5215bea210a750d5dfd5314eeadec
2014-05-15 19:51:07 +02:00
06e6aa68ce vcl: remove uselees comment from font.hxx
Change-Id: Ifc933e9b4ca2f604f3aaf1ba74b34b414f96dd64
2014-05-15 19:51:07 +02:00
599328b0a9 tools: add AsRGBHexString to Color + unit test
AsRGBHexString returns the Color as a RGB hex string. For example
"00ff00" for green color.

Change-Id: Ia95c7f9eb6d9aefc3ca989046fa8d76b7b7f9e8f
2014-05-15 19:51:06 +02:00
1c77fcacbd vcl: problems with WriteWithVersion so remove for now
A sw test fails when WriteWithVersion is used istead of direct
replacement. Remove it for now.

Change-Id: I0425c85d6492061a5d7565e709d5913b79b28a46
2014-05-15 19:51:06 +02:00
ccb96f3439 vcl: remove macros in metaact.cxx{hxx}
Macros to reduce code duplication in metaact.cxx are discuraged
as it is not possible to find those classes using "git grep".
Lets find a better way to reduce code duplication for those
classes (some have already been replaced in this commit).

Change-Id: I35c7cd74d6345f37e937754e2d0177b816e0e0fa
2014-05-15 19:51:06 +02:00
ec08cb1f81 fixincludeguards.pl: now we can fix those
Change-Id: I8f29f6344592c2bb1ae0d03304cf6e18b6df3a29
2014-05-15 17:56:42 +02:00
a908e4eb41 Resolves: #i124896# [API CHANGE] remove obsoleted rtl/allocator.hxx
remove obsoleted sal-module-internal custom STL allocator

The SAL module avoided the heavy dependency on the stlport4-libraries by using
a custom allocator for its internal STL containers. With stlport4 removed these
dependencies are gone and the SAL-internal custom allocator is obsoleted.

(cherry picked from commit c6e0325df6efce45dbb2616a32b7745c449c6c58)

Conflicts:
	include/osl/diagnose.hxx
	include/rtl/allocator.hxx
	sal/osl/w32/procimpl.cxx
	sal/qa/osl/process/osl_process.cxx
	sal/rtl/bootstrap.cxx
	sal/rtl/source/hash.cxx
	sal/rtl/source/unload.cxx

Change-Id: I8515382828eda36aba1fec5f23e0f2a89aef7a33
2014-05-15 15:03:49 +01:00
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
c008e4a412 Add connectivity.odbc
Change-Id: I2bad7938ddd02da8aa7191aebbd9221220fb303e
2014-05-15 14:27:34 +03:00
1d1a28290a +sal_Int32 ComboBox::GetEntryPos( const void* pData ) const
Change-Id: I9199da366eb70e818e1d85823cd7cf530f70167d
2014-05-15 12:34:35 +02:00
f9a1e90747 interface with COMBOBOX_... instead of LISTBOX_...
... even if it is the same value.

Change-Id: I62f81d181f25723cba5ca0fbfb395539385a007a
2014-05-15 12:34:34 +02:00
3385b0da3d Minor utl::TempFile clean up
Change-Id: I20de8b2321d2656d17d25c6343d72c534d47e597
2014-05-15 11:35:38 +02:00
7b34d19473 sprmids is used only inside sw/source/filter/ww8
Change-Id: Iebae4a08a452117e71f72836ed686221031a61e6
2014-05-14 22:37:25 +02:00
b6b0b95bae Bail out of group calculation in case the array fetching fails.
Change-Id: Ibb7575eeb025fc025d05b147629113796185c5d3
2014-05-14 16:25:38 -04:00
ed1d0f0c45 fix build
Change-Id: I40b7f9388388e05ab5b034ac81861aa34a23d2a8
2014-05-14 22:46:33 +03:00
f22d651487 startcenter: another attempt to fix mouse up issues
see commits
1a2a961c1e7cdef648c28e211433e8de6e8a831b
4a902e0c59b0dd01e6459c226268bdee4f15489a

Change-Id: I94b90dfc5db779317d4dda1171aeceeac6373548
2014-05-14 22:32:19 +03:00
a921d38ad4 No more SetCompileForFAP(). Use respective flag setting methods instead.
Change-Id: Ib2256ebac8a7e63e7e24fb35d13d47b811bd8e19
2014-05-14 13:15:11 -04:00
69a7e7440c Use "stop on error" concept rather than "ignore error if true".
Just to keep the pattern of "true" -> "action", "false" -> "no action".

Change-Id: I6303bc779cd7048eef2fdc3c2abba8be8f15da6d
2014-05-14 13:15:11 -04:00
5db9391c06 Introduce a new boolean flag and use it in lieu of bCompileForFAP.
To make it sound more general than "compile for FAP".

Change-Id: Ia6916b6f3579a290be7d5074f809666be2bd2473
2014-05-14 13:15:10 -04:00
4a902e0c59 Revert "startcenter: react on mouse down instead"
This reverts commit 1a2a961c1e7cdef648c28e211433e8de6e8a831b.

As suggested by Kendy, opening with a single click
by mouse up is more natural. We need to find a better
solution for the bug mentioned in the above commit.
2014-05-14 16:30:49 +03:00
c8695c6cce Unify utl::TempFile ctors
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
2014-05-14 13:38:23 +02:00