summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2013-02-25Related: fdo#60764 APPFONT is 1/8 avg char *height* & 1/4 avg char *width*Caolán McNamara5-7/+9
but *sob*, it's not really that, because there's a dialog scale factor which is per-language which adds a bit to it depending on the language, MAP_REALAPPFONT is the unscaled variant. but *head in hands*, it's not really that either because if the font was considered "too narrow" then the average char width is recalculated in terms of the average char height. *clenches teeth*, add a approximate_char_width and use it directly. It can be considered the rough equivalent of pango_font_metrics_get_approximate_char_width albeit that it retains the same crude 1/8 of the width of "aemnnxEM" Change-Id: I4c135ca03467447dddf279ac0c187b13371acadb
2013-02-25Remove unnecessary commented code that appears to do nothing whatsoever.Chris1-3/+0
Change-Id: Ic548b8b0b4a9111f24fe0036bb50abaef03f4a2f Reviewed-on: https://gerrit.libreoffice.org/2382 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25allow WMF's with missing EOF recordRadek Doulik1-1/+1
Change-Id: Ifb38336863979890f1bc3de779d82454b4a5c185
2013-02-25re-factor AFM metric reading to simplify signatures.Michael Meeks3-18/+18
Change-Id: I77433ff3926b6f8e2968b30451acf8acbbb4deb3
2013-02-25perf: avoid scaling images to the same size at some cost.Michael Meeks1-1/+3
Change-Id: Icae65a8bf48f76801c536607055be066be0bd49f
2013-02-25loplugin: unused variablesThomas Arnhold4-6/+2
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-24Update TDE (Trinity Desktop Environment) integration filesTimothy Pearson6-10/+42
Change-Id: I48a5da0d01ad3532b9a77ff864f8f9e4d14e734c Reviewed-on: https://gerrit.libreoffice.org/2374 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-02-24be more forgiving on 768 height screens to allow dialogs occupy more heightCaolán McNamara1-15/+14
Change-Id: Ie9e53606d84fb1efd738709de64feecaabff9328
2013-02-24WaE: unused parameterTor Lillqvist1-1/+1
Change-Id: I0227762e5755fb073a2b2923fce0cd718460f02d
2013-02-24loplugin: unused variablesThomas Arnhold6-10/+0
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac4-7/+7
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23comma need to be escape in Makefile when in argument of $(callNorbert Thiebaud1-2/+2
Change-Id: I930aacad47780a085ef8eec7f3b7fc6600528afb
2013-02-23Fix typo (beacuse/becasue)/becauseJulien Nabet1-1/+1
Change-Id: Ia7de2013ed72e2449525a4fe53ad2832c141e925
2013-02-23Fix typo recieved/receivedJulien Nabet1-1/+1
Change-Id: I0c838f5c06ff26149113a9bbab970d314758c648
2013-02-23Fix typo seperated/separatedJulien Nabet1-4/+4
Change-Id: I133423de994b1befe246b6c921802428a3528202
2013-02-23Fix typo "teh" -> "the"Julien Nabet1-1/+1
Change-Id: Iacfeb4a0c2bff254e5bcc8d58582994cd0f3993a
2013-02-23add stock undo button text and map to gtk-undoCaolán McNamara3-0/+8
Change-Id: I9109dfc6293c9de399c25bea957712eb00d181be
2013-02-23allow setting ComboBox max-width-chars via propertiesCaolán McNamara2-0/+11
Change-Id: I816c2597492d24f81a61c53ad2dc0125075d01c5
2013-02-23sal: update log areasThomas Arnhold2-2/+2
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-23No NativeActivity, so native_app_glue and struct android_app are meaninglessTor Lillqvist3-34/+39
Leave the NativeActivity-related code in androidinst.cxx for reference for now. Change-Id: I760c02ea361361be2d2b69c4cad1e38311f51247
2013-02-22Not using NativeActivity means no lo_main() stuff used eitherTor Lillqvist1-2/+3
Hopefully also fixes build for iOS by re-introducing checks for DESKTOP. Also this commit partially reverts 52a8744afee2cd589813f0377d93f821fce7aedd. Change-Id: Ie94c771b72ba138bb0481b054285916618baf6eb
2013-02-22wrap max-width-chars in a custom widget to avoid it getting dropped silentlyCaolán McNamara1-1/+1
Change-Id: I7ccbd4b2e1aebc84a59bb9000e7322c8aa62ffd7
2013-02-22Resolves: fdo#60764 sort options can grow too wide to fit on screenCaolán McNamara4-0/+46
Change-Id: Id3aed9ef251f61710b43ceda1a28c6895e91872f
2013-02-22Replace duplicate code from ImplToolItem constructors with init methodChr. Rossmanith2-54/+18
Change-Id: I2e2950045d8970eec3d1e04269bfe2ecbc9c3e6f Reviewed-on: https://gerrit.libreoffice.org/2267 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-22Rename the package and .apk of the "desktop" test app to avoid confusionTor Lillqvist1-3/+3
It used the same package name as DocumentLoader and the same .apk name as the eary sc cppunit test app. Probably having two unrelated apps with the same package name causes some confusion somewhere. Change-Id: I11414b9cd59694eb97d39bfaeac4ed1066ae3aab
2013-02-22these stray fprintfs drive people dementedCaolán McNamara1-1/+0
Change-Id: Ifee5c39423957bcc4708a7933c760d9467e2ac27
2013-02-22fdo#39674: Rename menues to menuThomas Arnhold4-14/+14
Change-Id: Idc22167d1a0dc518b3f9e96884213140d07b565b Reviewed-on: https://gerrit.libreoffice.org/2316 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22drop someones stray debugging fprintfsCaolán McNamara1-3/+0
Change-Id: I4423ea0952282ea2b64c72e4cc73e42f0afe4649
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet2-2/+2
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/heigth/height/Tor Lillqvist2-2/+2
Change-Id: Idfc117f3026d45845dcce64d31aad6fc0af9c00a
2013-02-22s/the the/the/Tor Lillqvist2-3/+3
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/whith/with/Tor Lillqvist1-2/+2
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2013-02-21Revert "embed also system fonts when embedding fonts in a document"David Ostrovsky7-125/+73
that's enouph breakage for now. This reverts commit 596bd0f61f8cfc957410148ae221c62331067bdd. Change-Id: I992f439a9a099e47115a30b3d745848f3af09e5e
2013-02-21pFTOblique is unusedTor Lillqvist1-3/+0
Change-Id: I20c70299e6e91883dd5ee45b09268f543fd5e1c8
2013-02-21FT_GlyphSlot_Embolden() and FT_GlyphSlot_Oblique() return voidTor Lillqvist1-2/+2
Change-Id: I40e0edeeda7158c6209b3eda124587e2da4df8d1
2013-02-21Just link directly to the bundled static libfreetype on AndroidTor Lillqvist1-3/+21
The dlsym() crack found the system (but non-public) libfreetype symbols, and that seems to be incompatible and caused the app to crash. Change-Id: I9b0bcac098d7cb3560640de3dfc10f51569c462d
2013-02-21android: finally starting and rendering at least something again.Michael Meeks3-15/+98
Only renders on very-first-start after install (oddly). We initialize vcl in it's own thread to avoid problems. Thanks to tml for fixing a linking issue. Change-Id: I960d11c6098681356fea0634970545aa9af9bacb
2013-02-21Revert "Clean up remains of NativeActivity-based Android app support"Michael Meeks4-28/+706
This reverts commit cecc926070ee3d2ad6296fc5e0cfcde8642bb140. Conflicts: sal/android/lo-bootstrap.c sal/inc/osl/detail/android-bootstrap.h
2013-02-21embed also system fonts when embedding fonts in a documentLuboš Luňák7-73/+125
Without this, only fonts that had come embedded with the document were embedded when saving, which meant that it was impossible to create new documents that would have any fonts embedded. Change-Id: I3b4e87b1b3ca5ae1ccfe29d9b571b0262c568dcf
2013-02-21add a mechanism to load date fields from .ui filesCaolán McNamara2-4/+60
Change-Id: If546e2f5c0f4b58d1306c737bf69799e8033c5c0
2013-02-21change lib:widget delimiter from : to -Caolán McNamara2-3/+3
because glade catalogs don't allow : in widgetnames which blocks making a catalog for our custom widgets Change-Id: I3d590ce7451264b49fa5a82a752dac44e47bbd81
2013-02-20Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: I0b9d3b5f8283e2fddc96b220a755ba6bcdd11606
2013-02-20various efforts to consistently apply HIG rulesCaolán McNamara1-9/+42
Change-Id: Ic55935d449cf69eb69da1be5bdb44d93f56f7d88
2013-02-20typo: allways -> alwaysAndras Timar4-4/+4
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-20fixup class vs. constructor definitionNoel Grandin2-11/+7
Change-Id: Idab639141a989bc9752df67b083a5d6e1e01ac37
2013-02-20fixupStephan Bergmann1-1/+2
Change-Id: Idefe8c963d1579443dbce311ecd57f4311085840
2013-02-20KDE4FilePicker: un-break buildMichael Stahl2-14/+13
Change-Id: Id41a0f4bc7db04f343a50ff23080a616abbbd6c6
2013-02-20more fixes for my FilePicker changesNoel Grandin2-4/+8
in 4b51374a7021d52f7f1be1861e2ee6a011b30ecd "fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new style" Change-Id: Ie23b49d9eb6e491b543d44da124e50efa5b65376
2013-02-19WaE: equality comparison with extraneous parenthesesTor Lillqvist1-1/+1
Change-Id: I3120fbc031dfa018282150addce6e5fe03aaf5da
2013-02-19fix documentation to match realityLuboš Luňák1-2/+2
Change-Id: Ibeb24ca336c599e75108a25d1a017f97092681e7