Commit graph

1635 commits

Author SHA1 Message Date
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
Caolán McNamara
b3ec98dea6 Related: fdo#45355 stale gdi font handles apparently still used
When we do glyph fallback we check to see if the glyph is too large to fit the
space available, and if it is we try and rescale it smaller.

This worked wonderfully under Linux, but under Windows it seems that the
SalLayout impl keeps an old unscaled gdi font handle which would give visually
broken glyphs for me when the base font was smaller than the replacement font.

So, now instead rather than just changing the font for the fallback level, we
throw away the SalLayout using the old font, set the font for the fallback
level, and recreate a new SalLayout using the new font.

Hopefully this is the true reason behind the crashes of fdo#45355 although
that remains unreproducible for me.

Change-Id: I415b6e7a77777d4aa5e62079c52c6c18473c0ebd
2012-07-12 13:31:18 +01:00
Matteo Casalin
739e20ac58 Decrease header files dependencies
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-11 11:12:15 +05:30
Michael Stahl
a2d8b25830 sysdata.hxx: work around idiotic warnings from winnt.h
Change-Id: I47e30a319b5f5b6a03e6a4993af8f7612efacbdc
2012-07-11 00:15:06 +02:00
Ruslan Kabatsayev
17ea32a1a3 Make bottom tabbar items follow native theme
Change-Id: Ia1c4b4ece81655a91c6e489ee51291684e06c157
2012-07-10 17:34:55 +01:00
Ruslan Kabatsayev
1c222c5a76 Implement support for HeaderBar arrow native rendering, add GTK support
Change-Id: Ib65e61259fdbf371c3330dd555ee020f3a20d1fb
2012-07-10 17:34:55 +01:00
Ruslan Kabatsayev
27dfb08d09 Implement support for listview headers native render, add GTK implementation
Change-Id: Ief59396e772512b8696e03af86535754b3697d13
2012-07-10 16:23:33 +01:00
Gökçen Eraslan
a96d2f339c Fix 'will be initialized after' error of GCC.
Change-Id: I48162e2954598f3f924550d0bcb48cb758a63d4c
2012-07-09 11:08:53 +03:00
Gökçen Eraslan
9c8dc01d3a Merge branch 'feature/pdf-signing' 2012-07-09 10:16:17 +03:00
Gökçen Eraslan
5f995a0d8f Add password edit and pass XCertificate to PDFWriter code in VCL.
Now, we have the password of private key and the certificate to
sign. Ready to use NSS and create necessary PKCS7 object using
these.

Change-Id: Id69487e92283059fcd558d33cf6a6128df0f50d9
2012-07-07 23:10:30 +03:00
Noel Power
2bc2d09bba additional fix for fdo#51336 for radiobuttons
Change-Id: Ib35d27962b2c63221e1967886236547b3b1047d6
2012-07-06 14:38:51 +01:00
Noel Power
a1345cd93a fdo#51336 - change vcl checkbox no-label behaviour
Change-Id: I352c6041cc520dc76c302190dcf3a6945f5ac85f
2012-07-06 13:23:36 +01:00
Thomas Arnhold
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
Thomas Arnhold
1136fa4fc4 Remove unused defines
Change-Id: Ibc46eb4565d4df88e83882045b2ed6d31e487d16
2012-07-02 06:29:10 +02:00
Thomas Arnhold
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
Ivan Timofeev
914c8163e3 vcl: CTRL_FIXEDBORDER is dead since ef877aab7e
Change-Id: I568b55c3b0b799bdc91ba081e7375debce9618aa
2012-07-01 15:21:41 +04:00
Luc Castermans
5d2038b673 translate German comments
Change-Id: I831fdc2aad07242e1eae401e50f33291e1684cc2
2012-07-01 12:22:02 +02:00
Gökçen Eraslan
7a2a0dc032 Make PDF Signing GUI operative.
Now, PDFWriterContext is used for signing information. GUI elements are
recorded to PDFWriterContext and used during signing process. Sign PDF
checkbox and Location/Contact Info/Reason boxes are all working now.

Change-Id: I1d0cb53323707efa7e460431dd1519bcd34e8b29
2012-07-01 00:33:03 +03:00
Ivan Timofeev
b4fae02946 FloatingSizeMode is always FSMODE_AUTO, remove it
Change-Id: I0468ff6deaf701ed3d155db1ff3f0f0c204e1199
2012-06-28 13:52:02 +04:00
Ivan Timofeev
044eae1192 remove unused toolbox styles
Change-Id: If19d8a79e34dfa20c41084c91992d860aad6c968
2012-06-28 13:52:02 +04:00
Thomas Arnhold
8f30e0ae6a Remove unused header files
Change-Id: I3d172e5200fee63c6afcdf236a7915b7d51baf9c
2012-06-27 13:34:31 +02:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Michael Meeks
69a51d2bb6 re-base on ALv2 code. 2012-06-26 11:33:02 +01:00
Jan Holesovsky
ece8073452 Revert "aero: Implement a glass menubar on Windows."
This reverts commit 64c696fc92.
2012-06-25 18:09:12 +02:00
Caolán McNamara
efa55cfd74 callcatcher: update unused code
Change-Id: I65c19a21ae9b6deb1601adf2f3fe8fe8faa7e9ed
2012-06-25 14:19:01 +01:00
Norbert Thiebaud
8c91ec1ab0 Initial basic support for CoreText. very partial and highly unstable.
Change-Id: I5dc9fb342e45fa3d428e340a597a2d9d4e246cb5
2012-06-23 23:23:25 -05:00
Norbert Thiebaud
9db88e1188 factorize what we can share for salgdi between CoreText and ATSUI 2012-06-23 23:23:21 -05:00
Norbert Thiebaud
55fd57ecfe move ATSUI entangled-code into its specific sub-directory
This is prep work to make room for a CoreText-based implementation
2012-06-23 23:23:20 -05:00
Gökçen Eraslan
1d546e1422 Use /Rect [0, 0, 0, 0] if signature is not visible.
Change-Id: I271b882d95d6e0bc7b5831add67046e7f476c7dd
2012-06-23 20:30:47 +03:00
Luboš Luňák
ceb8b18f5b use generic names rather than specific algorithm names when scaling
The Lanczos scaling is of very good quality, but it's rather slow,
which can be very noticeable with large images, so it's not a very
good default for everything. And in general, it's not good to refer
to a specific algorithm when all one usually wants is fast/default/best.

Some of these changes are a bit of a guess between default/best,
but the general logic is that best should be used only for images
that won't be large or where the possible waiting does not matter.

Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-22 17:40:09 +02:00
Stephan Bergmann
2a5fc95043 Some further clean-up of X Session Management code
Change-Id: I0cc47b152835d69e90226f42609eabe5291f55f3
2012-06-22 15:29:01 +02:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Thomas Arnhold
5fcecf9b88 hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code.
False positives may exist, because some macro names are getting
generated by some template/macro foo. This is the version which
compiled fine for me.

Also there are many commented out lines removed.

Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21 11:54:18 +02:00
Ivan Timofeev
5f690158d1 convert array to std::vector
Change-Id: I5e5bcebeb804256d0ad8cf6afafc392b2853b88f
2012-06-21 11:18:04 +04:00
Ivan Timofeev
df59e1d5bd no need to be a class member
Change-Id: I230e8972340b409c6da70a4c988ac1d531a9f3b5
2012-06-21 11:18:04 +04:00
Ivan Timofeev
1b7e9855d9 remove misterious NextToolbox functionality
Change-Id: Ic64d2cae56787884ff107b78c3b6567ab5d38785
2012-06-21 11:18:04 +04:00
Ivan Timofeev
5e0acb9022 so many code to just add a minimal border in the gallery
Change-Id: Id7349d1ff6547afe0f46404340b20132b97ce854
2012-06-21 11:18:03 +04:00
Stephan Bergmann
c0823c29a0 pOldStyleSaveFrame is never set anyway
...so rip out all the corresponding, apparently obsolete, functionality.

Change-Id: Ie1ca3fcf7f729464e4c11070caafc90a34da2d68
2012-06-20 14:44:05 +02:00