Commit graph

1673 commits

Author SHA1 Message Date
Caolán McNamara
d5e15c6355 update unused code list
Change-Id: I4d6ad11fbe68420931e88defa20afbef290d4d24
2012-09-17 10:46:27 +01:00
Caolán McNamara
68ffb332f5 nothing propagates HAVE_CUPS_H so cups is always disabled
regression from 22f2e5f286

so, lets follow the same pattern as else where and fixup
ENABLE_CUPS to be TRUE when enabled and lets just link
against cups and not do the dlopen dance

Change-Id: I3cff1bd98a7474c403d7ff66183e76e26e407de8
2012-09-17 10:46:27 +01:00
Norbert Thiebaud
a1a165f1af gridfixes: #i112465# introduce HideBalloonAndQuickHelp
Change-Id: Iea03d691755ac86fae4a0ac6697b726f21925ae7
Reviewed-on: https://gerrit.libreoffice.org/538
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:09:48 +00:00
Norbert Thiebaud
9684b9b6e5 gridfixes: #i117265# implement less-predicate for Date/Time structs
Change-Id: Idf0e5bed399fbf288534779665198e214631c0a0
Reviewed-on: https://gerrit.libreoffice.org/536
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:03:28 +00:00
Noel Power
a6c18caef1 targetted container_controls rework. 2012-09-13 12:49:32 +01:00
Noel Power
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
Caolán McNamara
dbb77c1448 remove unused hMainThread_
Change-Id: Iea56d7f1b4d3133067e321a033df81378be2817a
2012-09-12 12:50:08 +01:00
Norbert Thiebaud
5aaef82232 coretext: use only the FontFace ref from the Style
Change-Id: I696065f6f60fb55eaa24e4a8b4cbff1e93856f04
Reviewed-on: https://gerrit.libreoffice.org/306
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-12 05:14:34 +00:00
Caolán McNamara
3e635c3368 XubString->rtl::OUString
Change-Id: If7e5d015c95f8f173750ca32e061d69f56e2d93e
2012-09-11 10:54:24 +01:00
Luboš Luňák
063966ee0e Revert "vcl: export PrintFontManager"
This reverts commit 23cd24bd4d.
Not needed after the temporary font code has been moved elsewhere.
2012-09-07 14:37:56 +02:00
Luboš Luňák
fc169270ea move the code for adding temporary fonts to a separate class
I'm a bit confused on how this stuff is separated between platforms,
so better do it this way.

Change-Id: I2dbd9baef587c81ee37b509bde272ef970f5b118
2012-09-07 14:37:56 +02:00
Michael Stahl
23cd24bd4d vcl: export PrintFontManager
PrintFontManager is accessed from sw since
11f7d6aca3

Change-Id: Ia8124acfa15386b126af2133830e1803bcf1a70f
2012-09-06 20:47:05 +02:00
Luboš Luňák
b7e5678813 basic support for temporary fonts
To be used when loading fonts embedded in documents.

Change-Id: I634af1b35eba48872d045e726d1d879f455d6f2c
2012-09-06 17:35:45 +02:00
Caolán McNamara
5c3dc6791c should be able to remove SimpleLayoutEngine now
Change-Id: I74d2cb7c47ec04f4276755fa1bd74779842c7832
2012-09-05 10:04:38 +01:00
Caolán McNamara
a4196e56eb adjust auto font installation
to happen on a 5 second timer and collect up as much missing
stuff in one go as we can

Change-Id: I79f5e70634684a2ef83e3090790531149baf529b
2012-09-03 17:01:39 +01:00
Caolán McNamara
feddd3d870 Refetch fonts if new ones installed or old ones deinstalled
i.e. honour gtk-fontconfig-timestamp so that if we request a font from
packagekit to be installed, then we can auto-use it when it appears.

Change-Id: Id0d914a3f9cd589d9e8a87bf9be4b6e47de2e191
2012-09-03 17:01:38 +01:00
Caolán McNamara
92efdaf94b Resolves: #i96826# request font installation on render failure
Use packagekit interface to request font installation when
glyph fallback fails

Change-Id: Idb6f5cb6971bd156d7cac0a79e240246e9e0f973
2012-09-03 17:01:38 +01:00
Tomaž Vajngerl
4b161067d4 Stepwise rebuild bitmap rendering from scratch to avoid rendering bugs.
Bitmap rendering was rebuild from the original state and checked for
rendering bugs at every change. Currently the implementation supports
scaling by averagin for RGB channels an for alpha channel in some
cases. For scaling factor > 0.6, the original bilinear scaling is
used. Implementation is currently still in "outdev2" but is decoupled
and will be moved to its proper place into "bitmap" and "bitmapex".

Change-Id: I6feb744712956a92d6140d079dc3a85ee8511930
2012-09-02 17:30:51 +02:00
Petr Mladek
4b27695fea add "Tango Testing" icon theme
It is enabled by default for dev build. It will be used for reworking
the Tango theme by the design team.

The them was requested by Stefan Knorr (Astron) <heinzlesspam at gmail dot com>
The two intial icons are from Alexander Wilms <alexander dot wilms at zoho dot com>

Change-Id: I9205a3164352442a2cdc02e75e58b15b327dfbd3
2012-08-31 15:52:21 +02:00
Stephan Bergmann
56d7b9db44 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I3bb7559101c27eacefbf43f751f96135f8792845
2012-08-31 09:04:17 +02:00
Norbert Thiebaud
e1b61b2daf rename ImplCoreTextFontData in CoreTextPhysicalFontFace
Change-Id: Idcf9c21ab1a16b8d83f925aa742f1a5aa7089bc3
Reviewed-on: https://gerrit.libreoffice.org/305
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-31 05:20:46 +00:00
Jan Holesovsky
e280b01caf Draw separating line at the top of the status bar.
This makes the status bar optically one pixel smaller; which is correct,
because the new icons used there are one pixel smaller too ;-)

This also kills IsTopBorder() and IsBottomBorder(), as they always returned
'false' anyway.

Change-Id: I94c87e8d4ac1ff3c4df57b17e530f3b087efa1e1
2012-08-23 17:53:59 +02:00
Jan Holesovsky
9b10ef9fc3 Revert the TOPBOTTOM border window type, this needs another approach.
This reverts commit 51fdf273e9.

In order to be able to draw the toolbars docked on the left or on the right
nicely and reliably, we have to avoid any border in the shell; instead, the
docking areas will draw the separating lines (when finished).

Change-Id: I74c18a7e471a66ac0a436c2bf01f5be016280d22
2012-08-23 17:53:59 +02:00
Thomas Arnhold
c564fdfe29 unusedcode.easy: remove recently unused code
Change-Id: Ia33e933d9c15c2afa25915b7e8d6a13b0c740d1c
Reviewed-on: https://gerrit.libreoffice.org/426
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-23 08:12:37 +00:00
Tomaž Vajngerl
42801a0e69 Fix transparent bitmap rendering.
Convert transparent mask to 8bit-grey after scale/rotate/crop
transformation. Use correct perspective at rendering.

Change-Id: I80b19d7bec880b0c58709c7c5bee6199cbc815c9
2012-08-14 20:43:18 +02:00
Stephan Bergmann
bc8a8443a4 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I5d37ddd95068d807d0f28dd2f00d43b227e910c5
2012-08-14 10:39:13 +02:00
Thomas Arnhold
582e06f71c unusedcode.easy: remove unused code
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
2012-08-13 18:18:42 +02:00
Caolán McNamara
c8218367a0 callcatcher: update list
Change-Id: If9b76e5282c22a479ff709174fbc8ee4d3c337cc
2012-08-13 10:53:42 +01:00
Caolán McNamara
0c0d24589f callcatcher: reduce Container, update unused code list
Change-Id: I11733daf2668c4142052ceb4498f5500e7e291ef
2012-08-10 16:07:03 +01:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Caolán McNamara
4d6dab2cde ditch obsolete XvaOpenIM stuff
Change-Id: Id6977932781909c81e4a5dc071f50308a58748cf
2012-08-07 16:14:45 +01:00
Thomas Arnhold
69a70bf028 Remove forwards of non-existing structs
Change-Id: Ie1d7ed56c69539587df5310c0a1ea0476abd5542
2012-08-07 13:45:27 +02:00
Thomas Arnhold
d1ba5419cf Remove non-existing forward declarations
Those classes don't exist. So remove friend class operators too.

Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-07 13:45:26 +02:00
Zolnai Tamás
2854d8b17c fdo#46193 MessBox was made copyable
Part of MultiLineEdit was moved down from stvools to vcl
with name VCLMultiLineEdit. MessBox uses it to display the
message in read-only mode. Some of svtools' classes - which
are necessary to implement VCLMultiLineEdit - were moved to
vcl as a whole, and their includes are rewrite.
Note: ExtTextView and ExtTextEngine classes would be leaved in svtools
if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK
end IMPL_LINK_NOARG make it impossible to use template syntax.

Change-Id: I26543868d8081c225c7125404d23369de3c3afcd
2012-08-07 10:50:23 +02:00
Markus Mohrhard
7b322f9aa3 paint Edit's native borders after background color
Change-Id: I3b5865d862ac7b9958d22d2ff1d3dc693cea2536
2012-08-05 14:52:16 +02:00
Noel Power
ff54a3c291 simpler fix fo fdo#51336 - change vcl checkbox no-label behaviour
Change-Id: I1563dc2afc49c7b1115192db00fbd08a7524154e
2012-08-01 17:03:07 +01:00
Noel Power
d616ea80b2 Revert "additional fix for fdo#51336 for radiobuttons"
This reverts commit 2bc2d09bba.
2012-08-01 17:03:07 +01:00
Noel Power
59d9a39abc Revert "fdo#51336 - change vcl checkbox no-label behaviour"
This reverts commit a1345cd93a.
2012-08-01 17:03:07 +01:00
Mathieu Vonlanthen
85cb908453 fdo#48549 System::Beep() removal
Change-Id: I402202e199dfc8c2462859d00529f2782f6228b0
2012-07-31 10:28:57 +01:00
Mathieu Vonlanthen
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
Thomas Arnhold
e9b19eebb9 Revert "Remove unused InterceptChildWindowKeyDown: further cleanup"
This reverts commit 06d358fea2.
2012-07-28 19:48:47 +02:00
Michael Meeks
fae17f307e gtk3: ensure we re-render native commits
If we blit pixels to the back-buffer, we need to remember to get them
to gtk3 at idle.

Change-Id: Ic37660e963fbbcdd132cfba0ce739174d64148d2
2012-07-27 15:30:33 +01:00
Ivan Timofeev
9b5a4f3791 remove unused border styles
Change-Id: I4b01bdaf4fc20a55f2b4e9ebd039220031c03f11
2012-07-26 20:31:20 +04:00
Tomaž Vajngerl
085e747b6c Fix bitmap resizing issue when using ScaleRotateCrop with BitmapEx.
Change-Id: I1fd08d94c506580ed7557066448ccb10adb9b16d
2012-07-25 23:53:42 +02:00
Ivan Timofeev
452e452d3e refactor the symbol hit test
Change-Id: I739855830a7135c8e0a8d80d4f1f84e5a3901204
2012-07-25 22:31:42 +04:00
Tomaž Vajngerl
53d51dbee6 One pass scale, rotate and crop using bilinear filtering and averaging.
With this commit I reintroduce one pass scale, rotate and crop that
was located in grfmgr2.cxx (now in Bitmap class) and was used for
preparing bitmaps for displaying on screen. By default the combination
of two filters is used: bilinear, which is a similar algorithm than
the "old" one, but with the same result, and averaging algorithm. Bilinear
filtering is used for bitmap enlarging and shrinking till factor 0.6. Below
this bilinear gives bad results because of limited sampling. For such cases
averaging is used which is a simple algorithm for shrinking. In averaging
the algorithm calculates the average of samples which result is the new
pixel. Currently both algorithms are not optimised.

One pass scale, rotate and crop should only be used for displaying of
images.

Change-Id: I5a1330b58a7cbb6fde8546e16c3e8c140afca565
2012-07-24 22:17:27 +02:00
Jan Holesovsky
73cf6f3275 Doxygen needs ///< for inline comments, not only //<.
Change-Id: Ib8db74de1f18342794713952470e26ba87bc75fe
2012-07-17 14:26:06 +02:00
Jesso Clarence Murugan
8a768fe2d7 Replaced all calls to deprecated function ImplDelData::IsDelete()
Deleted the function ImplDelData::IsDelete() and replaced all calls
to it with calls to ImplDelData::IsDead() directly. IsDelete () function
itself was only a simple wrapper to IsDead () (and mentioned as deprecated)

Change-Id: I71baf68801219cfbe2d2dc41d6bd5e419b9b4a87
2012-07-16 11:44:42 +01:00
Ruslan Kabatsayev
720e290692 Revert "Make bottom tabbar items follow native theme"
This reverts commit 17ea32a1a3.
2012-07-16 09:29:03 +02:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00