Commit Graph

49 Commits

Author SHA1 Message Date
Stephan Bergmann
ced1151a1a Get rid of vcl::unohelper::GetMultiServiceFactory
...which effectively is just a glorious wrapper around
comphelper::getProcessServiceFactory.

In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the
rSMgr parameter to InitVCL.

All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work
fine.

Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-31 09:22:53 +01:00
Stephan Bergmann
cccc6bcfa0 Don't access broken service mgr during bootstrap failure
...so that displaying a (non-translated) error box upon BE_UNO_SERVICEMANAGER
works after all.  Augment the error text with an exception message where
appropriate.  This allows to revert fdfb7a3c4b
"Related fdo#51252: Report uncaught exceptions with MessageBox on Windows" as
that was to catch and display failures from instantiating the service mgr.

Change-Id: I049a38e95342634796eb0e940e2ee8e55193c9d3
2012-09-18 15:08:56 +02:00
Tor Lillqvist
8951ef03b9 Workaround for crash on iOS
Change-Id: I947f7def862d2a238dc609a91d898f03dbd72b84
2012-09-04 09:49:18 +03:00
Caolán McNamara
ce56f4d5c6 fix ClearDevFontList -> ClearDevFontCache typo
Change-Id: I52d2cb88ef99b9c9846cab13ff2994ed0495d9a3
2012-09-03 20:04:55 +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
Tor Lillqvist
611a04bc3e Undefined variable mnTrailingSpaceWidth
Change-Id: Id3bf0bbeecbf4b36eb629bc5a80db7443fff4395
2012-08-27 11:37:40 +03:00
Tor Lillqvist
85a8a72067 Bin unused function for now
Change-Id: Ib08bf14eebf366aa4bd3e82806a91dd12033c417
2012-08-02 19:16:53 +03:00
Mathieu Vonlanthen
85cb908453 fdo#48549 System::Beep() removal
Change-Id: I402202e199dfc8c2462859d00529f2782f6228b0
2012-07-31 10:28:57 +01:00
Ivan Timofeev
914c8163e3 vcl: CTRL_FIXEDBORDER is dead since ef877aab7e
Change-Id: I568b55c3b0b799bdc91ba081e7375debce9618aa
2012-07-01 15:21:41 +04:00
Norbert Thiebaud
2bbebea59d Rename the class ImplFontData into PhysicalFontFace
Change-Id: I402481e7c6ea605c8ccfdf6cb08166859b37e8de
2012-06-20 11:00:22 +02:00
Thomas Arnhold
4282865c51 Remove unused InterceptChildWindowKeyDown
- InterceptChildWindowKeyDown never gets called
- so mbInterceptChildWindowKeyDown doesn't get changed
- at ImplInterceptChildWindowKeyDown
   a) ImplSendMessage() is never accessed
   b) always returns sal_False

Change-Id: I2dc84c88644d19c238064ab1b7dff0a24f90dc5d
2012-06-11 16:31:34 +01:00
Stefan Knorr (astron)
072e4f9869 Use normal font in tab headers 2012-05-27 04:27:32 -05:00
Jan Holesovsky
422647493b fdo#49914, rulers: DarkShadow color is supposed to be dark (even on Mac).
Change-Id: I09d0c5d6797b6df9e84ad3574fc420241fe72707
2012-05-23 12:07:32 +02:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Tor Lillqvist
5d369a2ca7 Nah, don't obscure the right type with void* 2012-04-15 11:56:48 +02:00
Tor Lillqvist
83ba7b4e8f Copy and adapt current state of Norbert's CoreText work for iOS
Compiles, but I obviously have no idea how it works yet.

Yes, eventually we should factor out common parts from the iOS and
MacOSX code.
2012-04-15 11:56:47 +02:00
Tor Lillqvist
640b8ebb66 Remove accidentally duplicated file 2012-04-15 11:56:46 +02:00
Tor Lillqvist
3afbf314b7 WaE fixes to the mostly dummy iOS code 2012-04-04 01:05:44 +03:00
Tor Lillqvist
e362ccbab3 Add a dummy SalI18NImeStatus subclass 2012-03-30 08:37:12 +03:00
Tor Lillqvist
87618ea84b Brutal dummy hacks based on "aqua" code just to get iOS stuff to link 2012-03-05 02:05:22 +02:00
Tor Lillqvist
3a08fd3b37 WaE: unused variable 2012-03-01 15:28:27 +02:00
Tor Lillqvist
8c99b935db WaE: is abstract but has non-virtual destructor 2012-03-01 15:28:26 +02:00
Greggory Hernandez
f1cf3d1d6a vcl: fdo#46399 cleanup and share dummy virtual methods ... 2012-02-22 09:38:37 +00:00
Thomas Arnhold
f4fbdf7f9c unusedcode.easy: Remove SwProtocol::Snapshot()
And all implementations. Also unused and removed:

ImplCreateFromXImage()
ImplGetFrameBitmap()
2012-02-20 22:19:32 +01:00
Caolán McNamara
1a302e716a risk converting ByteString to rtl::OString for OSes I don't have 2012-02-19 13:38:46 +00:00
Thomas Arnhold
0c0fbef7cc vcl: Remove unused GetSymbolKeyName 2012-01-28 11:07:11 +01:00
Tor Lillqvist
d088fd397f Fix bit-rot in the iOS "code" 2012-01-27 22:44:00 +02:00
Michael Meeks
8d151e0e55 vcl: introduce crystal clear separation between X11 Screens and DisplayScreens
A DisplayScreen is a screen index as used by the upper level abstractions,
an X11Screen is a wrapper around an integer X screen index.
2012-01-16 09:28:29 +00:00
Michael Meeks
10b10580c4 vcl: rename methods to crisp up a 'DisplayScreen' naming concept 2012-01-15 00:36:42 +00:00
Michael Meeks
ca93d98343 vcl: rename ambiguous IsMultiDisplay to IsUnifiedDisplay, and simplify 2012-01-15 00:36:41 +00:00
Thomas Arnhold
2c3d0ff9f8 Use SAL_N_ELEMENTS
Some more like Thorstens diff 9c59cd15b1

Done with some regex magic (and a check if this var is an array):

s/sizeof\(\s*$var\s*\)\s*\/\s*sizeof\(\s*\*$var\s*/SAL_N_ELEMENTS\($var/gs
2012-01-10 16:52:33 +01:00
Takeshi Abe
ff580eb39b catch exception by constant reference 2012-01-08 03:35:43 +09:00
Marcel Metz
a1cfce768f Removed unnecessary tools includes. 2012-01-05 15:38:11 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Norbert Thiebaud
653dda4a34 remove include of pch header from vcl 2011-11-27 13:26:59 -06:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
Thomas Arnhold
2411ea09a8 redundant if not-null checks on delete 2011-11-07 12:49:03 +00:00
Stephan Bergmann
e66e54fb00 Further clean up of areas touched by previous commit. 2011-11-04 08:21:26 +01:00
August Sodora
e042493375 String->OUString, remove unused code 2011-11-04 08:21:25 +01:00
Caolán McNamara
bea5e37dd3 Rename ImplFontSelectData to FontSelectPattern so I know what it does
Rename ImplFontSelectData to FontSelectPattern because I can never remember the
name of the thing. This way I'll be able to remember that its basically the
equivalent of fontconfig's FcPattern
2011-10-27 16:39:32 +01:00
Olivier Hallot
a5d6dca3e9 Fix for fdo41997 continuation of VCL cleanup 2011-10-25 13:42:00 +01:00
Stephan Bergmann
2ff63bcdea Undo basis/brand split: merge basis share/ into brand share/. 2011-10-07 22:06:28 +02:00
Stephan Bergmann
01e0b770a5 Let SalAbort dump core on developer builds. 2011-09-28 15:24:52 +02:00
Tor Lillqvist
296823ab86 More WaE fixes for iOS 2011-09-27 22:37:48 +03:00
Tor Lillqvist
36e4ca307c WaE: Silence warnings for the iOS code
No semantic changes, the iOS code still is mostly dummy.
2011-09-27 07:32:15 +03:00
Caolán McNamara
7b2e14a081 mirror 64c15de648 from aqua into ios 2011-09-12 10:54:48 +01:00
Tor Lillqvist
59a5b4dfb8 More iOS hacking, intermediate commit, certainly not working 2011-07-31 01:52:37 +03:00
Tor Lillqvist
9cd2558f47 More iOS baby steps 2011-07-24 00:51:04 +03:00
Tor Lillqvist
5a7834cd3e iOS hacking
Add some trivialish first attempts at iOS-specific headers and some
source files that surely are quite bogus and does nothing sane, but
must start with something. Mostly based on the MacOSX ("aqua") code.
2011-07-14 23:58:01 +03:00