Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d088fd39
Kaydet (Commit)
d088fd39
authored
Ock 24, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix bit-rot in the iOS "code"
üst
adb9a3e6
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
22 deletions
+27
-22
Library_vcl.mk
vcl/Library_vcl.mk
+6
-1
salframe.h
vcl/inc/ios/salframe.h
+3
-3
salgdi.h
vcl/inc/ios/salgdi.h
+1
-1
salinst.h
vcl/inc/ios/salinst.h
+1
-1
salprn.h
vcl/inc/ios/salprn.h
+1
-1
salsys.h
vcl/inc/ios/salsys.h
+2
-2
salinst.cxx
vcl/ios/source/app/salinst.cxx
+7
-7
salsys.cxx
vcl/ios/source/app/salsys.cxx
+2
-2
salgdi.cxx
vcl/ios/source/gdi/salgdi.cxx
+1
-1
salframe.cxx
vcl/ios/source/window/salframe.cxx
+3
-3
No files found.
vcl/Library_vcl.mk
Dosyayı görüntüle @
d088fd39
...
@@ -74,12 +74,17 @@ $(eval $(call gb_Library_add_linked_libs,vcl,\
...
@@ -74,12 +74,17 @@ $(eval $(call gb_Library_add_linked_libs,vcl,\
i18nisolang1 \
i18nisolang1 \
i18npaper \
i18npaper \
i18nutil \
i18nutil \
jvmaccess \
cppu \
cppu \
sal \
sal \
$(gb_STDLIBS) \
$(gb_STDLIBS) \
))
))
ifneq ($(OS),IOS)
$(eval $(call gb_Library_add_linked_libs,vcl,\
jvmaccess \
))
endif
$(eval $(call gb_Library_use_externals,vcl,\
$(eval $(call gb_Library_use_externals,vcl,\
icule \
icule \
icuuc \
icuuc \
...
...
vcl/inc/ios/salframe.h
Dosyayı görüntüle @
d088fd39
...
@@ -112,7 +112,7 @@ public:
...
@@ -112,7 +112,7 @@ public:
virtual
SalGraphics
*
GetGraphics
();
virtual
SalGraphics
*
GetGraphics
();
virtual
void
ReleaseGraphics
(
SalGraphics
*
pGraphics
);
virtual
void
ReleaseGraphics
(
SalGraphics
*
pGraphics
);
virtual
sal_Bool
PostEvent
(
void
*
pData
);
virtual
sal_Bool
PostEvent
(
void
*
pData
);
virtual
void
SetTitle
(
const
Xub
String
&
rTitle
);
virtual
void
SetTitle
(
const
rtl
::
OU
String
&
rTitle
);
virtual
void
SetIcon
(
sal_uInt16
nIcon
);
virtual
void
SetIcon
(
sal_uInt16
nIcon
);
virtual
void
SetRepresentedURL
(
const
rtl
::
OUString
&
);
virtual
void
SetRepresentedURL
(
const
rtl
::
OUString
&
);
virtual
void
SetMenu
(
SalMenu
*
pSalMenu
);
virtual
void
SetMenu
(
SalMenu
*
pSalMenu
);
...
@@ -139,8 +139,8 @@ public:
...
@@ -139,8 +139,8 @@ public:
virtual
void
Sync
();
virtual
void
Sync
();
virtual
void
SetInputContext
(
SalInputContext
*
pContext
);
virtual
void
SetInputContext
(
SalInputContext
*
pContext
);
virtual
void
EndExtTextInput
(
sal_uInt16
nFlags
);
virtual
void
EndExtTextInput
(
sal_uInt16
nFlags
);
virtual
String
GetKeyName
(
sal_uInt16
nKeyCode
);
virtual
rtl
::
OUString
GetKeyName
(
sal_uInt16
nKeyCode
);
virtual
String
GetSymbolKeyName
(
const
Xub
String
&
rFontName
,
sal_uInt16
nKeyCode
);
virtual
rtl
::
OUString
GetSymbolKeyName
(
const
rtl
::
OU
String
&
rFontName
,
sal_uInt16
nKeyCode
);
virtual
sal_Bool
MapUnicodeToKeyCode
(
sal_Unicode
aUnicode
,
LanguageType
aLangType
,
KeyCode
&
rKeyCode
);
virtual
sal_Bool
MapUnicodeToKeyCode
(
sal_Unicode
aUnicode
,
LanguageType
aLangType
,
KeyCode
&
rKeyCode
);
virtual
LanguageType
GetInputLanguage
();
virtual
LanguageType
GetInputLanguage
();
virtual
SalBitmap
*
SnapShot
();
virtual
SalBitmap
*
SnapShot
();
...
...
vcl/inc/ios/salgdi.h
Dosyayı görüntüle @
d088fd39
...
@@ -284,7 +284,7 @@ public:
...
@@ -284,7 +284,7 @@ public:
// graphics should call ImplAddDevFontSubstitute on supplied
// graphics should call ImplAddDevFontSubstitute on supplied
// OutputDevice for all its device specific preferred font substitutions
// OutputDevice for all its device specific preferred font substitutions
virtual
void
GetDevFontSubstList
(
OutputDevice
*
);
virtual
void
GetDevFontSubstList
(
OutputDevice
*
);
virtual
bool
AddTempDevFont
(
ImplDevFontList
*
,
const
String
&
rFileURL
,
const
String
&
rFontName
);
virtual
bool
AddTempDevFont
(
ImplDevFontList
*
,
const
rtl
::
OUString
&
rFileURL
,
const
rtl
::
OU
String
&
rFontName
);
// CreateFontSubset: a method to get a subset of glyhps of a font
// CreateFontSubset: a method to get a subset of glyhps of a font
// inside a new valid font file
// inside a new valid font file
// returns TRUE if creation of subset was successfull
// returns TRUE if creation of subset was successfull
...
...
vcl/inc/ios/salinst.h
Dosyayı görüntüle @
d088fd39
...
@@ -128,7 +128,7 @@ public:
...
@@ -128,7 +128,7 @@ public:
virtual
void
GetPrinterQueueInfo
(
ImplPrnQueueList
*
pList
);
virtual
void
GetPrinterQueueInfo
(
ImplPrnQueueList
*
pList
);
virtual
void
GetPrinterQueueState
(
SalPrinterQueueInfo
*
pInfo
);
virtual
void
GetPrinterQueueState
(
SalPrinterQueueInfo
*
pInfo
);
virtual
void
DeletePrinterQueueInfo
(
SalPrinterQueueInfo
*
pInfo
);
virtual
void
DeletePrinterQueueInfo
(
SalPrinterQueueInfo
*
pInfo
);
virtual
String
GetDefaultPrinter
();
virtual
rtl
::
OUString
GetDefaultPrinter
();
virtual
SalTimer
*
CreateSalTimer
();
virtual
SalTimer
*
CreateSalTimer
();
virtual
SalI18NImeStatus
*
CreateI18NImeStatus
();
virtual
SalI18NImeStatus
*
CreateI18NImeStatus
();
virtual
SalSystem
*
CreateSalSystem
();
virtual
SalSystem
*
CreateSalSystem
();
...
...
vcl/inc/ios/salprn.h
Dosyayı görüntüle @
d088fd39
...
@@ -90,7 +90,7 @@ class IosSalInfoPrinter : public SalInfoPrinter
...
@@ -90,7 +90,7 @@ class IosSalInfoPrinter : public SalInfoPrinter
long
&
o_rPageWidth
,
long
&
o_rPageHeight
);
long
&
o_rPageWidth
,
long
&
o_rPageHeight
);
virtual
sal_uLong
GetCapabilities
(
const
ImplJobSetup
*
i_pSetupData
,
sal_uInt16
i_nType
);
virtual
sal_uLong
GetCapabilities
(
const
ImplJobSetup
*
i_pSetupData
,
sal_uInt16
i_nType
);
virtual
sal_uLong
GetPaperBinCount
(
const
ImplJobSetup
*
i_pSetupData
);
virtual
sal_uLong
GetPaperBinCount
(
const
ImplJobSetup
*
i_pSetupData
);
virtual
String
GetPaperBinName
(
const
ImplJobSetup
*
i_pSetupData
,
sal_uLong
i_nPaperBin
);
virtual
rtl
::
OUString
GetPaperBinName
(
const
ImplJobSetup
*
i_pSetupData
,
sal_uLong
i_nPaperBin
);
virtual
void
InitPaperFormats
(
const
ImplJobSetup
*
i_pSetupData
);
virtual
void
InitPaperFormats
(
const
ImplJobSetup
*
i_pSetupData
);
virtual
int
GetLandscapeAngle
(
const
ImplJobSetup
*
i_pSetupData
);
virtual
int
GetLandscapeAngle
(
const
ImplJobSetup
*
i_pSetupData
);
...
...
vcl/inc/ios/salsys.h
Dosyayı görüntüle @
d088fd39
...
@@ -43,8 +43,8 @@ public:
...
@@ -43,8 +43,8 @@ public:
virtual
Rectangle
GetDisplayScreenWorkAreaPosSizePixel
(
unsigned
int
nScreen
);
virtual
Rectangle
GetDisplayScreenWorkAreaPosSizePixel
(
unsigned
int
nScreen
);
virtual
rtl
::
OUString
GetDisplayScreenName
(
unsigned
int
nScreen
);
virtual
rtl
::
OUString
GetDisplayScreenName
(
unsigned
int
nScreen
);
virtual
int
ShowNativeMessageBox
(
const
String
&
rTitle
,
virtual
int
ShowNativeMessageBox
(
const
rtl
::
OU
String
&
rTitle
,
const
String
&
rMessage
,
const
rtl
::
OU
String
&
rMessage
,
int
nButtonCombination
,
int
nButtonCombination
,
int
nDefaultButton
);
int
nDefaultButton
);
};
};
...
...
vcl/ios/source/app/salinst.cxx
Dosyayı görüntüle @
d088fd39
...
@@ -140,13 +140,13 @@ sal_Bool ImplSVMainHook( int * pnInit )
...
@@ -140,13 +140,13 @@ sal_Bool ImplSVMainHook( int * pnInit )
// =======================================================================
// =======================================================================
void
SalAbort
(
const
Xub
String
&
rErrorText
,
bool
bDumpCore
)
void
SalAbort
(
const
rtl
::
OU
String
&
rErrorText
,
bool
bDumpCore
)
{
{
if
(
!
rErrorText
.
Len
()
)
if
(
rErrorText
.
isEmpty
()
)
fprintf
(
stderr
,
"Application Error "
);
fprintf
(
stderr
,
"Application Error "
);
else
else
fprintf
(
stderr
,
"%s "
,
fprintf
(
stderr
,
"%s "
,
ByteString
(
rErrorText
,
osl_getThreadTextEncoding
()
).
GetBuffe
r
()
);
rtl
::
OUStringToOString
(
rErrorText
,
osl_getThreadTextEncoding
()
).
getSt
r
()
);
if
(
bDumpCore
)
if
(
bDumpCore
)
abort
();
abort
();
else
else
...
@@ -197,7 +197,7 @@ void InitSalMain()
...
@@ -197,7 +197,7 @@ void InitSalMain()
if
(
aCmdPath
.
Len
()
)
{
if
(
aCmdPath
.
Len
()
)
{
DirEntry
aCmdDirEntry
(
aCmdPath
);
DirEntry
aCmdDirEntry
(
aCmdPath
);
aCmdDirEntry
.
ToAbs
();
aCmdDirEntry
.
ToAbs
();
aCmdPath
=
Byte
String
(
aCmdDirEntry
.
GetPath
().
GetFull
(),
RTL_TEXTENCODING_ASCII_US
);
aCmdPath
=
rtl
::
OUStringToO
String
(
aCmdDirEntry
.
GetPath
().
GetFull
(),
RTL_TEXTENCODING_ASCII_US
);
}
}
// Assign to PATH environment variable
// Assign to PATH environment variable
if
(
aCmdPath
.
Len
()
)
if
(
aCmdPath
.
Len
()
)
...
@@ -205,7 +205,7 @@ void InitSalMain()
...
@@ -205,7 +205,7 @@ void InitSalMain()
aTmpPath
=
ByteString
(
"PATH="
);
aTmpPath
=
ByteString
(
"PATH="
);
aTmpPath
+=
aCmdPath
;
aTmpPath
+=
aCmdPath
;
if
(
aPath
.
Len
()
)
if
(
aPath
.
Len
()
)
aTmpPath
+=
Byte
String
(
DirEntry
::
GetSearchDelimiter
(),
RTL_TEXTENCODING_ASCII_US
);
aTmpPath
+=
rtl
::
OUStringToO
String
(
DirEntry
::
GetSearchDelimiter
(),
RTL_TEXTENCODING_ASCII_US
);
aTmpPath
+=
aPath
;
aTmpPath
+=
aPath
;
putenv
(
(
char
*
)
aTmpPath
.
GetBuffer
()
);
putenv
(
(
char
*
)
aTmpPath
.
GetBuffer
()
);
}
}
...
@@ -215,7 +215,7 @@ void InitSalMain()
...
@@ -215,7 +215,7 @@ void InitSalMain()
aTmpPath
=
ByteString
(
"STAR_RESOURCEPATH="
);
aTmpPath
=
ByteString
(
"STAR_RESOURCEPATH="
);
aTmpPath
+=
aCmdPath
;
aTmpPath
+=
aCmdPath
;
if
(
aResPath
.
Len
()
)
if
(
aResPath
.
Len
()
)
aTmpPath
+=
Byte
String
(
DirEntry
::
GetSearchDelimiter
(),
RTL_TEXTENCODING_ASCII_US
);
aTmpPath
+=
rtl
::
OUStringToO
String
(
DirEntry
::
GetSearchDelimiter
(),
RTL_TEXTENCODING_ASCII_US
);
aTmpPath
+=
aResPath
;
aTmpPath
+=
aResPath
;
putenv
(
(
char
*
)
aTmpPath
.
GetBuffer
()
);
putenv
(
(
char
*
)
aTmpPath
.
GetBuffer
()
);
}
}
...
@@ -624,7 +624,7 @@ void IosSalInstance::DeletePrinterQueueInfo( SalPrinterQueueInfo* pInfo )
...
@@ -624,7 +624,7 @@ void IosSalInstance::DeletePrinterQueueInfo( SalPrinterQueueInfo* pInfo )
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
Xub
String
IosSalInstance
::
GetDefaultPrinter
()
rtl
::
OU
String
IosSalInstance
::
GetDefaultPrinter
()
{
{
// #i113170# may not be the main thread if called from UNO API
// #i113170# may not be the main thread if called from UNO API
SalData
::
ensureThreadAutoreleasePool
();
SalData
::
ensureThreadAutoreleasePool
();
...
...
vcl/ios/source/app/salsys.cxx
Dosyayı görüntüle @
d088fd39
...
@@ -147,8 +147,8 @@ static NSString* getStandardString( int nButtonId )
...
@@ -147,8 +147,8 @@ static NSString* getStandardString( int nButtonId )
}
}
@
end
@
end
int
IosSalSystem
::
ShowNativeMessageBox
(
const
String
&
rTitle
,
int
IosSalSystem
::
ShowNativeMessageBox
(
const
rtl
::
OU
String
&
rTitle
,
const
String
&
rMessage
,
const
rtl
::
OU
String
&
rMessage
,
int
nButtonCombination
,
int
nButtonCombination
,
int
nDefaultButton
)
int
nDefaultButton
)
{
{
...
...
vcl/ios/source/gdi/salgdi.cxx
Dosyayı görüntüle @
d088fd39
...
@@ -1511,7 +1511,7 @@ void IosSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
...
@@ -1511,7 +1511,7 @@ void IosSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
bool
IosSalGraphics
::
AddTempDevFont
(
ImplDevFontList
*
,
bool
IosSalGraphics
::
AddTempDevFont
(
ImplDevFontList
*
,
const
String
&
rFontFileURL
,
const
String
&
/*rFontName*/
)
const
rtl
::
OUString
&
rFontFileURL
,
const
rtl
::
OU
String
&
/*rFontName*/
)
{
{
::
rtl
::
OUString
aUSytemPath
;
::
rtl
::
OUString
aUSytemPath
;
OSL_VERIFY
(
!
osl
::
FileBase
::
getSystemPathFromFileURL
(
rFontFileURL
,
aUSytemPath
)
);
OSL_VERIFY
(
!
osl
::
FileBase
::
getSystemPathFromFileURL
(
rFontFileURL
,
aUSytemPath
)
);
...
...
vcl/ios/source/window/salframe.cxx
Dosyayı görüntüle @
d088fd39
...
@@ -240,7 +240,7 @@ sal_Bool IosSalFrame::PostEvent( void *pData )
...
@@ -240,7 +240,7 @@ sal_Bool IosSalFrame::PostEvent( void *pData )
}
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
void
IosSalFrame
::
SetTitle
(
const
Xub
String
&
/* rTitle */
)
void
IosSalFrame
::
SetTitle
(
const
rtl
::
OU
String
&
/* rTitle */
)
{
{
}
}
...
@@ -617,7 +617,7 @@ void IosSalFrame::EndExtTextInput( sal_uInt16 )
...
@@ -617,7 +617,7 @@ void IosSalFrame::EndExtTextInput( sal_uInt16 )
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
Xub
String
IosSalFrame
::
GetKeyName
(
sal_uInt16
nKeyCode
)
rtl
::
OU
String
IosSalFrame
::
GetKeyName
(
sal_uInt16
nKeyCode
)
{
{
static
std
::
map
<
sal_uInt16
,
rtl
::
OUString
>
aKeyMap
;
static
std
::
map
<
sal_uInt16
,
rtl
::
OUString
>
aKeyMap
;
if
(
aKeyMap
.
empty
()
)
if
(
aKeyMap
.
empty
()
)
...
@@ -704,7 +704,7 @@ XubString IosSalFrame::GetKeyName( sal_uInt16 nKeyCode )
...
@@ -704,7 +704,7 @@ XubString IosSalFrame::GetKeyName( sal_uInt16 nKeyCode )
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
XubString
IosSalFrame
::
GetSymbolKeyName
(
const
Xub
String
&
,
sal_uInt16
nKeyCode
)
rtl
::
OUString
IosSalFrame
::
GetSymbolKeyName
(
const
rtl
::
OU
String
&
,
sal_uInt16
nKeyCode
)
{
{
return
GetKeyName
(
nKeyCode
);
return
GetKeyName
(
nKeyCode
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment