mirror of
https://abf.rosa.ru/djam/libreoffice.git
synced 2025-02-23 18:43:00 +00:00
LOG -new version 3.5.6.2 stable
This commit is contained in:
parent
fb5fa9fe26
commit
35ff0ee28c
38 changed files with 5241 additions and 5498 deletions
|
@ -0,0 +1,67 @@
|
|||
From a482b89e4d9c41b6f7c1616d193ac6cde05a69a7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Mon, 2 Apr 2012 20:57:02 +0100
|
||||
Subject: [PATCH] Resolves: fdo#48096 torn off popups trigger keyboard focus
|
||||
problems
|
||||
|
||||
---
|
||||
svx/source/tbxctrls/linectrl.cxx | 4 ++--
|
||||
svx/source/tbxctrls/tbcontrl.cxx | 6 +++---
|
||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
|
||||
index c81177e..ccc047c4 100644
|
||||
--- a/svx/source/tbxctrls/linectrl.cxx
|
||||
+++ b/svx/source/tbxctrls/linectrl.cxx
|
||||
@@ -379,7 +379,7 @@ SvxLineEndWindow::SvxLineEndWindow(
|
||||
const String& rWndTitle ) :
|
||||
SfxPopupWindow( nSlotId,
|
||||
rFrame,
|
||||
- WinBits( WB_STDPOPUP ) ),
|
||||
+ WinBits( WB_STDPOPUP | WB_OWNERDRAWDECORATION ) ),
|
||||
aLineEndSet ( this, WinBits( WB_ITEMBORDER | WB_3DLOOK | WB_NO_DIRECTSELECT ) ),
|
||||
nCols ( 2 ),
|
||||
nLines ( 12 ),
|
||||
@@ -400,7 +400,7 @@ SvxLineEndWindow::SvxLineEndWindow(
|
||||
SfxPopupWindow( nSlotId,
|
||||
rFrame,
|
||||
pParentWindow,
|
||||
- WinBits( WB_STDPOPUP ) ),
|
||||
+ WinBits( WB_STDPOPUP | WB_OWNERDRAWDECORATION ) ),
|
||||
aLineEndSet ( this, WinBits( WB_ITEMBORDER | WB_3DLOOK | WB_NO_DIRECTSELECT ) ),
|
||||
nCols ( 2 ),
|
||||
nLines ( 12 ),
|
||||
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
|
||||
index cb56fac..f9f25a8 100644
|
||||
--- a/svx/source/tbxctrls/tbcontrl.cxx
|
||||
+++ b/svx/source/tbxctrls/tbcontrl.cxx
|
||||
@@ -822,7 +822,7 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
|
||||
Window* pParentWindow,
|
||||
const ::Color rLastColor ) :
|
||||
|
||||
- SfxPopupWindow( nSlotId, rFrame, pParentWindow, WinBits( WB_STDPOPUP ) ),
|
||||
+ SfxPopupWindow( nSlotId, rFrame, pParentWindow, WinBits( WB_STDPOPUP | WB_OWNERDRAWDECORATION ) ),
|
||||
|
||||
theSlotId( nSlotId ),
|
||||
aColorSet( this, WinBits( WB_ITEMBORDER | WB_NAMEFIELD | WB_3DLOOK | WB_NO_DIRECTSELECT) ),
|
||||
@@ -1049,7 +1049,7 @@ void SvxColorWindow_Impl::StateChanged( sal_uInt16 nSID, SfxItemState eState, co
|
||||
|
||||
SvxFrameWindow_Impl::SvxFrameWindow_Impl( sal_uInt16 nId, const Reference< XFrame >& rFrame, Window* pParentWindow ) :
|
||||
|
||||
- SfxPopupWindow( nId, rFrame, pParentWindow, WinBits( WB_STDPOPUP ) ),
|
||||
+ SfxPopupWindow( nId, rFrame, pParentWindow, WinBits( WB_STDPOPUP | WB_OWNERDRAWDECORATION ) ),
|
||||
aFrameSet ( this, WinBits( WB_ITEMBORDER | WB_DOUBLEBORDER | WB_3DLOOK | WB_NO_DIRECTSELECT ) ),
|
||||
bParagraphMode(sal_False)
|
||||
|
||||
@@ -1326,7 +1326,7 @@ Color lcl_mediumColor( Color aMain, Color /*aDefault*/ )
|
||||
|
||||
SvxLineWindow_Impl::SvxLineWindow_Impl( sal_uInt16 nId, const Reference< XFrame >& rFrame, Window* pParentWindow ) :
|
||||
|
||||
- SfxPopupWindow( nId, rFrame, pParentWindow, WinBits( WB_STDPOPUP | WB_AUTOSIZE ) ),
|
||||
+ SfxPopupWindow( nId, rFrame, pParentWindow, WinBits( WB_STDPOPUP | WB_OWNERDRAWDECORATION | WB_AUTOSIZE ) ),
|
||||
m_aLineStyleLb( this )
|
||||
{
|
||||
try
|
||||
--
|
||||
1.7.7.6
|
||||
|
371
0001-Resolves-fdo-49849-implement-Unicode-6.1-hebrew-line.patch
Normal file
371
0001-Resolves-fdo-49849-implement-Unicode-6.1-hebrew-line.patch
Normal file
|
@ -0,0 +1,371 @@
|
|||
From 20c24114143d6d38774b56a142fd4ae05094308e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Sun, 13 May 2012 22:41:30 +0100
|
||||
Subject: [PATCH] Resolves: fdo#49849 implement Unicode 6.1 hebrew line
|
||||
breaking rules
|
||||
|
||||
i.e. sync with svn diff -c 31071
|
||||
http://source.icu-project.org/repos/icu/icu/trunk/source/data/brkitr/line.txt
|
||||
|
||||
Change-Id: I I I41b3d02f1a0da3b83a9684f29d466660d96254c6
|
||||
---
|
||||
i18npool/qa/cppunit/test_breakiterator.cxx | 89 +++++++++++++++++---------
|
||||
i18npool/source/breakiterator/data/README | 12 ++++
|
||||
i18npool/source/breakiterator/data/line.txt | 57 +++++++++++-------
|
||||
3 files changed, 105 insertions(+), 53 deletions(-)
|
||||
create mode 100644 i18npool/source/breakiterator/data/README
|
||||
|
||||
diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx b/i18npool/qa/cppunit/test_breakiterator.cxx
|
||||
index 14051d4..ffd590c 100644
|
||||
--- a/i18npool/qa/cppunit/test_breakiterator.cxx
|
||||
+++ b/i18npool/qa/cppunit/test_breakiterator.cxx
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <com/sun/star/i18n/WordType.hpp>
|
||||
|
||||
#include <rtl/strbuf.hxx>
|
||||
+#include <rtl/ustrbuf.hxx>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -64,6 +65,9 @@
|
||||
void testWeak();
|
||||
void testAsian();
|
||||
void testThai();
|
||||
+#if TODO
|
||||
+ void testNorthernThai();
|
||||
+#endif
|
||||
|
||||
CPPUNIT_TEST_SUITE(TestBreakIterator);
|
||||
CPPUNIT_TEST(testLineBreaking);
|
||||
@@ -71,6 +75,9 @@
|
||||
CPPUNIT_TEST(testWeak);
|
||||
CPPUNIT_TEST(testAsian);
|
||||
CPPUNIT_TEST(testThai);
|
||||
+#if TODO
|
||||
+ CPPUNIT_TEST(testNorthernThai);
|
||||
+#endif
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
private:
|
||||
@@ -80,28 +87,46 @@
|
||||
uno::Reference<i18n::XBreakIterator> m_xBreak;
|
||||
};
|
||||
|
||||
-//See https://bugs.freedesktop.org/show_bug.cgi?id=31271 for motivation
|
||||
void TestBreakIterator::testLineBreaking()
|
||||
{
|
||||
- ::rtl::OUString aTest1(RTL_CONSTASCII_USTRINGPARAM("(some text here)"));
|
||||
-
|
||||
i18n::LineBreakHyphenationOptions aHyphOptions;
|
||||
i18n::LineBreakUserOptions aUserOptions;
|
||||
lang::Locale aLocale;
|
||||
+
|
||||
+ //See https://bugs.freedesktop.org/show_bug.cgi?id=31271
|
||||
+ {
|
||||
+ ::rtl::OUString aTest(RTL_CONSTASCII_USTRINGPARAM("(some text here)"));
|
||||
|
||||
- aLocale.Language = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("en"));
|
||||
- aLocale.Country = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("US"));
|
||||
+ aLocale.Language = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("en"));
|
||||
+ aLocale.Country = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("US"));
|
||||
|
||||
- {
|
||||
- //Here we want the line break to leave text here) on the next line
|
||||
- i18n::LineBreakResults aResult = m_xBreak->getLineBreak(aTest1, strlen("(some tex"), aLocale, 0, aHyphOptions, aUserOptions);
|
||||
- CPPUNIT_ASSERT_MESSAGE("Expected a break at the the start of the word", aResult.breakIndex == 6);
|
||||
- }
|
||||
+ {
|
||||
+ //Here we want the line break to leave text here) on the next line
|
||||
+ i18n::LineBreakResults aResult = m_xBreak->getLineBreak(aTest, strlen("(some tex"), aLocale, 0, aHyphOptions, aUserOptions);
|
||||
+ CPPUNIT_ASSERT_MESSAGE("Expected a break at the the start of the word", aResult.breakIndex == 6);
|
||||
+ }
|
||||
|
||||
+ {
|
||||
+ //Here we want the line break to leave "here)" on the next line
|
||||
+ i18n::LineBreakResults aResult = m_xBreak->getLineBreak(aTest, strlen("(some text here"), aLocale, 0, aHyphOptions, aUserOptions);
|
||||
+ CPPUNIT_ASSERT_MESSAGE("Expected a break at the the start of the word", aResult.breakIndex == 11);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ //See https://bugs.freedesktop.org/show_bug.cgi?id=49849
|
||||
{
|
||||
- //Here we want the line break to leave "here)" on the next line
|
||||
- i18n::LineBreakResults aResult = m_xBreak->getLineBreak(aTest1, strlen("(some text here"), aLocale, 0, aHyphOptions, aUserOptions);
|
||||
- CPPUNIT_ASSERT_MESSAGE("Expected a break at the the start of the word", aResult.breakIndex == 11);
|
||||
+ const sal_Unicode HEBREW1[] = { 0x05DE, 0x05D9, 0x05DC, 0x05D9, 0x5DD };
|
||||
+ ::rtl::OUString aWord(HEBREW1, SAL_N_ELEMENTS(HEBREW1));
|
||||
+ ::rtl::OUString aTest(rtl::OUStringBuffer(aWord).append(' ').append(aWord).makeStringAndClear());
|
||||
+
|
||||
+ aLocale.Language = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("he"));
|
||||
+ aLocale.Country = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IL"));
|
||||
+
|
||||
+ {
|
||||
+ //Here we want the line break to happen at the whitespace
|
||||
+ i18n::LineBreakResults aResult = m_xBreak->getLineBreak(aTest, aTest.getLength()-1, aLocale, 0, aHyphOptions, aUserOptions);
|
||||
+ CPPUNIT_ASSERT_MESSAGE("Expected a break at the the start of the word", aResult.breakIndex == aWord.getLength()+1);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -260,28 +285,30 @@
|
||||
aLocale.Language = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("th"));
|
||||
aLocale.Country = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TH"));
|
||||
|
||||
- i18n::Boundary aBounds;
|
||||
- {
|
||||
- const sal_Unicode THAI1[] = { 0x0E01, 0x0E38, 0x0E2B, 0x0E25, 0x0E32, 0x0E1A };
|
||||
- ::rtl::OUString aTest(THAI1, SAL_N_ELEMENTS(THAI1));
|
||||
- aBounds = m_xBreak->getWordBoundary(aTest, 0, aLocale,
|
||||
- i18n::WordType::DICTIONARY_WORD, true);
|
||||
- CPPUNIT_ASSERT_MESSAGE("Should skip full word",
|
||||
- aBounds.startPos == 0 && aBounds.endPos == aTest.getLength());
|
||||
- }
|
||||
-
|
||||
-#ifdef TODO
|
||||
- {
|
||||
- const sal_Unicode NORTHERN_THAI1[] = { 0x0E01, 0x0E38, 0x0E4A, 0x0E2B, 0x0E25, 0x0E32, 0x0E1A };
|
||||
- ::rtl::OUString aTest(NORTHERN_THAI1, SAL_N_ELEMENTS(NORTHERN_THAI1));
|
||||
- aBounds = m_xBreak->getWordBoundary(aTest, 0, aLocale,
|
||||
- i18n::WordType::DICTIONARY_WORD, true);
|
||||
- CPPUNIT_ASSERT_MESSAGE("Should skip full word",
|
||||
- aBounds.startPos == 0 && aBounds.endPos == aTest.getLength());
|
||||
- }
|
||||
-#endif
|
||||
+ const sal_Unicode THAI1[] = { 0x0E01, 0x0E38, 0x0E2B, 0x0E25, 0x0E32, 0x0E1A };
|
||||
+ ::rtl::OUString aTest(THAI1, SAL_N_ELEMENTS(THAI1));
|
||||
+ i18n::Boundary aBounds = m_xBreak->getWordBoundary(aTest, 0, aLocale,
|
||||
+ i18n::WordType::DICTIONARY_WORD, true);
|
||||
+ CPPUNIT_ASSERT_MESSAGE("Should skip full word",
|
||||
+ aBounds.startPos == 0 && aBounds.endPos == aTest.getLength());
|
||||
}
|
||||
|
||||
+#if TODO
|
||||
+void TestBreakIterator::testNorthernThai()
|
||||
+{
|
||||
+ lang::Locale aLocale;
|
||||
+ aLocale.Language = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("nod"));
|
||||
+ aLocale.Country = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TH"));
|
||||
+
|
||||
+ const sal_Unicode NORTHERN_THAI1[] = { 0x0E01, 0x0E38, 0x0E4A, 0x0E2B, 0x0E25, 0x0E32, 0x0E1A };
|
||||
+ ::rtl::OUString aTest(NORTHERN_THAI1, SAL_N_ELEMENTS(NORTHERN_THAI1));
|
||||
+ i18n::Boundary aBounds = m_xBreak->getWordBoundary(aTest, 0, aLocale,
|
||||
+ i18n::WordType::DICTIONARY_WORD, true);
|
||||
+ CPPUNIT_ASSERT_MESSAGE("Should skip full word",
|
||||
+ aBounds.startPos == 0 && aBounds.endPos == aTest.getLength());
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
TestBreakIterator::TestBreakIterator()
|
||||
{
|
||||
m_xContext = cppu::defaultBootstrap_InitialComponentContext();
|
||||
diff --git a/i18npool/source/breakiterator/data/README b/i18npool/source/breakiterator/data/README
|
||||
new file mode 100644
|
||||
index 0000000..8d7598d
|
||||
--- /dev/null
|
||||
+++ b/i18npool/source/breakiterator/data/README
|
||||
@@ -0,0 +1,12 @@
|
||||
+The originals of these come from svn checkout
|
||||
+http://source.icu-project.org/repos/icu/icu/trunk/source/data/brkitr they no
|
||||
+longer appear in the icu tarballs, but are in icu's svn
|
||||
+
|
||||
+At various stages these copies have been customized and are not horribly out of
|
||||
+sync. It unclear which diffs from the base versions are deliberate and which
|
||||
+are now accidental :-(
|
||||
+
|
||||
+We need to review the various issues referenced in the commits that caused
|
||||
+custimizations and see if they're still relevant or not, write regression tests
|
||||
+for them, if any are still relavant then apply the changes back on top of the
|
||||
+latest versions.
|
||||
diff --git a/i18npool/source/breakiterator/data/line.txt b/i18npool/source/breakiterator/data/line.txt
|
||||
index cbabee6..91c8f3d 100644
|
||||
--- a/i18npool/source/breakiterator/data/line.txt
|
||||
+++ b/i18npool/source/breakiterator/data/line.txt
|
||||
@@ -61,11 +61,13 @@ $BB = [:LineBreak = Break_Before:];
|
||||
$BK = [:LineBreak = Mandatory_Break:];
|
||||
$B2 = [:LineBreak = Break_Both:];
|
||||
$CB = [:LineBreak = Contingent_Break:];
|
||||
+$CJ = [:LineBreak = Conditional_Japanese_Starter:];
|
||||
$CL = [:LineBreak = Close_Punctuation:] ;
|
||||
$CM = [:LineBreak = Combining_Mark:];
|
||||
$CR = [:LineBreak = Carriage_Return:];
|
||||
$EX = [:LineBreak = Exclamation:];
|
||||
$GL = [:LineBreak = Glue:];
|
||||
+$HL = [:LineBreak = Hebrew_Letter:];
|
||||
$HY = [:LineBreak = Hyphen:];
|
||||
$H2 = [:LineBreak = H2:];
|
||||
$H3 = [:LineBreak = H3:];
|
||||
@@ -77,7 +79,7 @@ $JV = [:LineBreak = JV:];
|
||||
$JT = [:LineBreak = JT:];
|
||||
$LF = [:LineBreak = Line_Feed:];
|
||||
$NL = [:LineBreak = Next_Line:];
|
||||
-$NS = [:LineBreak = Nonstarter:];
|
||||
+$NS = [[:LineBreak = Nonstarter:] $CJ];
|
||||
$NU = [:LineBreak = Numeric:];
|
||||
$OP = [[:LineBreak = Open_Punctuation:] - $DG];
|
||||
$PO = [:LineBreak = Postfix_Numeric:];
|
||||
@@ -118,6 +120,7 @@ $B2cm = $B2 $CM*;
|
||||
$CLcm = $CL $CM*;
|
||||
$EXcm = $EX $CM*;
|
||||
$GLcm = $GL $CM*;
|
||||
+$HLcm = $HL $CM*;
|
||||
$HYcm = $HY $CM*;
|
||||
$H2cm = $H2 $CM*;
|
||||
$H3cm = $H3 $CM*;
|
||||
@@ -150,6 +153,7 @@ $B2 $CM+;
|
||||
$CL $CM+;
|
||||
$EX $CM+;
|
||||
$GL $CM+;
|
||||
+$HL $CM+;
|
||||
$HY $CM+;
|
||||
$H2 $CM+;
|
||||
$H3 $CM+;
|
||||
@@ -186,7 +190,7 @@ $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
|
||||
# so for this one case we need to manually list out longer sequences.
|
||||
#
|
||||
$AL_FOLLOW_NOCM = [$BK $CR $LF $NL $ZW $SP];
|
||||
-$AL_FOLLOW_CM = [$CL $EX $IS $SY $WJ $GL $QU $BA $HY $NS $IN $NU $ALPlus $OP];
|
||||
+$AL_FOLLOW_CM = [$CL $EX $HL $IS $SY $WJ $GL $QU $BA $HY $NS $IN $NU $ALPlus $OP];
|
||||
$AL_FOLLOW = [$AL_FOLLOW_NOCM $AL_FOLLOW_CM];
|
||||
|
||||
|
||||
@@ -320,8 +324,13 @@ $LB20NonBreaks $CM* ($BAcm | $HYcm | $NScm);
|
||||
$BBcm [^$CB]; # $BB x
|
||||
$BBcm $LB20NonBreaks $CM*;
|
||||
|
||||
+# LB 21a Don't break after Hebrew + Hyphen
|
||||
+# HL (HY | BA) x
|
||||
+#
|
||||
+$HLcm ($HYcm | $BAcm) [^$CB]?;
|
||||
+
|
||||
# LB 22
|
||||
-$ALcm $INcm;
|
||||
+($ALcm | $HLcm) $INcm;
|
||||
$CM+ $INcm; # by rule 10, any otherwise unattached CM behaves as AL
|
||||
$IDcm $INcm;
|
||||
$INcm $INcm;
|
||||
@@ -331,16 +340,18 @@ $NUcm $INcm;
|
||||
# $LB 23
|
||||
$IDcm $POcm;
|
||||
$ALcm $NUcm; # includes $LB19
|
||||
+$HLcm $NUcm;
|
||||
$CM+ $NUcm; # Rule 10, any otherwise unattached CM behaves as AL
|
||||
$NUcm $ALcm;
|
||||
+$NUcm $HLcm;
|
||||
|
||||
#
|
||||
# LB 24
|
||||
#
|
||||
$PRcm $IDcm;
|
||||
$ALcm $PRcm;
|
||||
-$PRcm $ALcm;
|
||||
-$POcm $ALcm;
|
||||
+$PRcm ($ALcm | $HLcm);
|
||||
+$POcm ($ALcm | $HLcm);
|
||||
|
||||
#
|
||||
# LB 25 Numbers.
|
||||
@@ -361,8 +372,8 @@ $PRcm ($JLcm | $JVcm | $JTcm | $H2cm | $H3cm);
|
||||
|
||||
# LB 28 Do not break between alphabetics
|
||||
#
|
||||
-$ALcm $ALcm;
|
||||
-$CM+ $ALcm; # The $CM+ is from rule 10, and unattached CM is treated as AL
|
||||
+($ALcm | $HLcm) ($ALcm | $HLcm);
|
||||
+$CM+ ($ALcm | $HLcm); # The $CM+ is from rule 10, an unattached CM is treated as AL
|
||||
|
||||
# LB 29
|
||||
$IScm ($ALcm | $NUcm);
|
||||
@@ -371,11 +382,9 @@ $IScm ($ALcm | $NUcm);
|
||||
# Rule 30 Do not break between letters, numbers or ordinary symbols
|
||||
# and opening or closing punctuation
|
||||
#
|
||||
-($ALcm | $NUcm) $OPcm;
|
||||
+($ALcm | $HLcm | $NUcm) $OPcm;
|
||||
$CM+ $OPcm;
|
||||
-$CLcm ($ALcm | $NUcm);
|
||||
-
|
||||
-
|
||||
+$CLcm ($ALcm | $HLcm | $NUcm);
|
||||
|
||||
#
|
||||
# Reverse Rules.
|
||||
@@ -391,6 +400,7 @@ $CM+ $B2;
|
||||
$CM+ $CL;
|
||||
$CM+ $EX;
|
||||
$CM+ $GL;
|
||||
+$CM+ $HL;
|
||||
$CM+ $HY;
|
||||
$CM+ $H2;
|
||||
$CM+ $H3;
|
||||
@@ -544,24 +554,25 @@ $CM* ($BA | $HY | $NS) $CM* [$LB20NonBreaks-$CM]; # . x (BA | HY | NS)
|
||||
$CM* [$LB20NonBreaks-$CM] $CM* $BB; # BB x .
|
||||
[^$CB] $CM* $BB; #
|
||||
|
||||
-
|
||||
+# LB21a
|
||||
+[^$CB] $CM* ($HY | $BA) $CM* $HL;
|
||||
|
||||
# LB 22
|
||||
-$CM* $IN $CM* $ALPlus;
|
||||
+$CM* $IN $CM* ($ALPlus | $HL);
|
||||
$CM* $IN $CM* $ID;
|
||||
$CM* $IN $CM* $IN;
|
||||
$CM* $IN $CM* $NU;
|
||||
|
||||
# LB 23
|
||||
$CM* $PO $CM* $ID;
|
||||
-$CM* $NU $CM* $ALPlus;
|
||||
-$CM* $ALPlus $CM* $NU;
|
||||
+$CM* $NU $CM* ($ALPlus | $HL);
|
||||
+$CM* ($ALPlus | $HL) $CM* $NU;
|
||||
|
||||
# LB 24
|
||||
$CM* $ID $CM* $PR;
|
||||
$CM* $PR $CM* $ALPlus;
|
||||
-$CM* $ALPlus $CM* $PR;
|
||||
-$CM* $ALPlus $CM* $PO;
|
||||
+$CM* ($ALPlus | $HL) $CM* $PR;
|
||||
+$CM* ($ALPlus | $HL) $CM* $PO;
|
||||
|
||||
$CM* $ALPlus $CM* ($IS | $SY | $HY)+ / $SP;
|
||||
$CM* $NU+ $CM* $HY+ / $SP;
|
||||
@@ -580,15 +591,14 @@ $CM* $PO $CM* ($H3 | $H2 | $JT | $JV | $JL);
|
||||
$CM* ($H3 | $H2 | $JT | $JV | $JL) $CM* $PR;
|
||||
|
||||
# LB 28
|
||||
-$CM* $ALPlus $CM* $ALPlus;
|
||||
-
|
||||
+$CM* ($ALPlus | $HL) $CM* ($ALPlus | $HL);
|
||||
|
||||
# LB 29
|
||||
$CM* ($NU | $ALPlus) $CM* $IS+ [^$SP];
|
||||
|
||||
# LB 30
|
||||
-$CM* $OP $CM* ($NU | $ALPlus);
|
||||
-$CM* ($NU | $ALPlus) $CM* ($CL | $SY)+ [^$SP];
|
||||
+$CM* $OP $CM* ($ALPlus | $HL | $NU);
|
||||
+$CM* ($ALPlus | $HL | $NU) $CM* ($CL | $SY)+ [^$SP];
|
||||
|
||||
|
||||
## -------------------------------------------------
|
||||
@@ -609,6 +619,9 @@ $SP+ $CM* $QU;
|
||||
$SP+ $CM* $CL;
|
||||
$SP+ $CM* $B2;
|
||||
|
||||
+# LB 21
|
||||
+$CM* ($HY | $BA) $CM* $HL;
|
||||
+
|
||||
# LB 18
|
||||
($CM* ($IS | $SY))+ $CM* $NU;
|
||||
$CL $CM* ($NU | $IS | $SY);
|
||||
@@ -629,6 +642,6 @@ $dictionary $dictionary;
|
||||
# turn off rule chaining. We don't want to move more
|
||||
# than necessary.
|
||||
#
|
||||
-[$CM $OP $QU $CL $B2 $PR $HY $SP $dictionary]+ [^$CM $OP $QU $CL $B2 $PR $HY $dictionary];
|
||||
+[$CM $OP $QU $CL $B2 $PR $HY $BA $SP $dictionary]+ [^$CM $OP $QU $CL $B2 $PR $HY $BA $dictionary];
|
||||
$dictionary $dictionary;
|
||||
|
||||
--
|
||||
1.7.7.6
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
From 13b6afe8c8e26d837fc9de9428fe2bfca1b551c6 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Tue, 7 Feb 2012 13:36:50 +0000
|
||||
Subject: [PATCH] Resolves: rhbz#788042 skip splashscreen with --quickstart
|
||||
|
||||
---
|
||||
desktop/unx/source/args.c | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/desktop/unx/source/args.c b/desktop/unx/source/args.c
|
||||
index 367bac2..0952911 100644
|
||||
--- a/desktop/unx/source/args.c
|
||||
+++ b/desktop/unx/source/args.c
|
||||
@@ -58,6 +58,7 @@ static struct {
|
||||
{ "nologo", 0, 1, 0, 0, NULL },
|
||||
{ "headless", 0, 1, 0, 0, NULL },
|
||||
{ "invisible", 0, 1, 0, 0, NULL },
|
||||
+ { "quickstart", 0, 1, 0, 0, NULL },
|
||||
{ "minimized", 0, 1, 0, 0, NULL },
|
||||
|
||||
/* pagein bits */
|
||||
--
|
||||
1.7.6.5
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
diff --git a/desktop/scripts/soffice.sh.in b/desktop/scripts/soffice.sh.in
|
||||
index 4d14051..2d42613 100755
|
||||
--- a/desktop/scripts/soffice.sh.in
|
||||
+++ b/desktop/scripts/soffice.sh.in
|
||||
@@ -158,8 +158,8 @@ if [ -n "$VALGRINDCHECK" -a -z "$VALGRIND" ] ; then
|
||||
fi
|
||||
|
||||
# do not pass the request for command line help to oosplash
|
||||
-if test "$#" -eq 1; then
|
||||
- case "$1" in
|
||||
+for arg in $@ ; do
|
||||
+ case "$arg" in
|
||||
-h | --h | --he | --hel | --help)
|
||||
"$sd_prog/soffice.bin" --help
|
||||
exit 0
|
||||
@@ -171,7 +171,7 @@ if test "$#" -eq 1; then
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
-fi
|
||||
+done
|
||||
|
||||
# oosplash does the rest: forcing pages in, javaldx etc. are
|
||||
exec $VALGRINDCHECK $STRACECHECK "$sd_prog/oosplash" "$@"
|
166
0001-Resolves-rhbz-799525-put-flat-odf-mimetypes-in-xsltf.patch
Normal file
166
0001-Resolves-rhbz-799525-put-flat-odf-mimetypes-in-xsltf.patch
Normal file
|
@ -0,0 +1,166 @@
|
|||
From 4564f9c207ab53c70a199a2dbcc0d8f155211256 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Tue, 6 Mar 2012 12:39:07 +0000
|
||||
Subject: [PATCH] Resolves: rhbz#799525 put flat odf mimetypes in
|
||||
xsltfilter.desktop
|
||||
|
||||
---
|
||||
scp2/source/ooo/common_brand.scp | 10 ++++++++++
|
||||
sysui/desktop/freedesktop/freedesktop-menus.spec | 1 +
|
||||
sysui/desktop/menus/calc.desktop | 2 +-
|
||||
sysui/desktop/menus/draw.desktop | 2 +-
|
||||
sysui/desktop/menus/impress.desktop | 2 +-
|
||||
sysui/desktop/menus/writer.desktop | 2 +-
|
||||
sysui/desktop/menus/xsltfilter.desktop | 9 +++++++++
|
||||
sysui/desktop/share/launcher_genericname.ulf | 3 +++
|
||||
sysui/desktop/share/makefile.mk | 2 +-
|
||||
sysui/desktop/suse/suse-menus.spec | 1 +
|
||||
10 files changed, 29 insertions(+), 5 deletions(-)
|
||||
create mode 100644 sysui/desktop/menus/xsltfilter.desktop
|
||||
|
||||
diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
|
||||
index 69c0a71..4c594df 100644
|
||||
--- a/scp2/source/ooo/common_brand.scp
|
||||
+++ b/scp2/source/ooo/common_brand.scp
|
||||
@@ -98,6 +98,7 @@ Module gid_Module_Root_Brand
|
||||
gid_Brand_File_Share_Xdg_QStart,
|
||||
gid_Brand_File_Share_Xdg_StartCenter,
|
||||
gid_Brand_File_Share_Xdg_Writer,
|
||||
+ gid_Brand_File_Share_Xdg_XsltFilter,
|
||||
gid_Brand_File_Txt_Package,
|
||||
gid_License_Txt,
|
||||
git_License_Odt,
|
||||
@@ -791,6 +792,15 @@ File gid_Brand_File_Share_Xdg_BinFilter
|
||||
End
|
||||
#endif
|
||||
|
||||
+#if defined UNX && ! defined MACOSX
|
||||
+File gid_Brand_File_Share_Xdg_XsltFilter
|
||||
+ TXT_FILE_BODY;
|
||||
+ Dir = gid_Brand_Dir_Share_Xdg;
|
||||
+ Name = "xsltfilter.desktop";
|
||||
+ Styles = (PACKED,SCPZIP_REPLACE);
|
||||
+End
|
||||
+#endif
|
||||
+
|
||||
// Profiles
|
||||
|
||||
Profile gid_Brand_Profile_Bootstrap_Ini
|
||||
diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec
|
||||
index 78a33ae..039bdc2 100755
|
||||
--- a/sysui/desktop/freedesktop/freedesktop-menus.spec
|
||||
+++ b/sysui/desktop/freedesktop/freedesktop-menus.spec
|
||||
@@ -387,6 +387,7 @@ done
|
||||
/usr/share/applications/%unixfilename-startcenter.desktop
|
||||
/usr/share/applications/%unixfilename-javafilter.desktop
|
||||
/usr/share/applications/%unixfilename-binfilter.desktop
|
||||
+/usr/share/applications/%unixfilename-xsltfilter.desktop
|
||||
/usr/share/icons/gnome/*/apps/*png
|
||||
/usr/share/icons/gnome/*/mimetypes/*png
|
||||
/usr/share/icons/hicolor/*/apps/*png
|
||||
diff --git a/sysui/desktop/menus/calc.desktop b/sysui/desktop/menus/calc.desktop
|
||||
index c8899cd..b4c0385 100755
|
||||
--- a/sysui/desktop/menus/calc.desktop
|
||||
+++ b/sysui/desktop/menus/calc.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=calc
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Spreadsheets;
|
||||
Exec=${UNIXBASISROOTNAME} --calc %U
|
||||
-MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;
|
||||
+MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;
|
||||
Name=%PRODUCTNAME Calc
|
||||
GenericName=Spreadsheet
|
||||
Comment=Perform calculations, analyze information and manage lists in spreadsheets by using Calc.
|
||||
diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop
|
||||
index 67ad422..231f320 100755
|
||||
--- a/sysui/desktop/menus/draw.desktop
|
||||
+++ b/sysui/desktop/menus/draw.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=draw
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Drawing;
|
||||
Exec=${UNIXBASISROOTNAME} --draw %U
|
||||
-MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;
|
||||
+MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;
|
||||
Name=%PRODUCTNAME Draw
|
||||
GenericName=Drawing Program
|
||||
Comment=Create and edit drawings, flow charts, and logos by using Draw.
|
||||
diff --git a/sysui/desktop/menus/impress.desktop b/sysui/desktop/menus/impress.desktop
|
||||
index 91c937a..22d130d 100755
|
||||
--- a/sysui/desktop/menus/impress.desktop
|
||||
+++ b/sysui/desktop/menus/impress.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=impress
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Presentations;
|
||||
Exec=${UNIXBASISROOTNAME} --impress %U
|
||||
-MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;
|
||||
+MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;
|
||||
Name=%PRODUCTNAME Impress
|
||||
GenericName=Presentation
|
||||
Comment=Create and edit presentations for slideshows, meeting and Web pages by using Impress.
|
||||
diff --git a/sysui/desktop/menus/writer.desktop b/sysui/desktop/menus/writer.desktop
|
||||
index 0db0d05..845b6d2 100755
|
||||
--- a/sysui/desktop/menus/writer.desktop
|
||||
+++ b/sysui/desktop/menus/writer.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=writer
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Wordprocessors;
|
||||
Exec=${UNIXBASISROOTNAME} --writer %U
|
||||
-MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;
|
||||
+MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;
|
||||
Name=%PRODUCTNAME Writer
|
||||
GenericName=Word Processor
|
||||
Comment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer.
|
||||
diff --git a/sysui/desktop/menus/xsltfilter.desktop b/sysui/desktop/menus/xsltfilter.desktop
|
||||
new file mode 100644
|
||||
index 0000000..a6c3b1b
|
||||
--- /dev/null
|
||||
+++ b/sysui/desktop/menus/xsltfilter.desktop
|
||||
@@ -0,0 +1,9 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Exec=${UNIXBASISROOTNAME} %U
|
||||
+MimeType=application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.presentation-flat-xml;
|
||||
+Name=%PRODUCTNAME XSLT based filters
|
||||
+GenericName=XSLT based filters
|
||||
+NoDisplay=true
|
||||
diff --git a/sysui/desktop/share/launcher_genericname.ulf b/sysui/desktop/share/launcher_genericname.ulf
|
||||
index 6130e0b..09ccf8d 100755
|
||||
--- a/sysui/desktop/share/launcher_genericname.ulf
|
||||
+++ b/sysui/desktop/share/launcher_genericname.ulf
|
||||
@@ -24,3 +24,6 @@ en-US = "Small Device Format Importer"
|
||||
|
||||
[binfilter]
|
||||
en-US = "Legacy StarOffice 5 Binary Format Importer"
|
||||
+
|
||||
+[xsltfilter]
|
||||
+en-US = "XSLT based filters"
|
||||
diff --git a/sysui/desktop/share/makefile.mk b/sysui/desktop/share/makefile.mk
|
||||
index f6b4dfa..1d99c84 100755
|
||||
--- a/sysui/desktop/share/makefile.mk
|
||||
+++ b/sysui/desktop/share/makefile.mk
|
||||
@@ -53,7 +53,7 @@ ULFFILES= \
|
||||
launcher_name.ulf
|
||||
|
||||
LAUNCHERLIST_APPS = writer calc draw impress math base printeradmin startcenter
|
||||
-LAUNCHERLIST = $(LAUNCHERLIST_APPS) qstart javafilter binfilter
|
||||
+LAUNCHERLIST = $(LAUNCHERLIST_APPS) qstart javafilter binfilter xsltfilter
|
||||
LAUNCHERDEPN = ../menus/{$(LAUNCHERLIST)}.desktop
|
||||
|
||||
LAUNCHERFLAGFILE = $(COMMONMISC)/$(TARGET)/xdg.flag
|
||||
diff --git a/sysui/desktop/suse/suse-menus.spec b/sysui/desktop/suse/suse-menus.spec
|
||||
index 74b67e6..ab053ec 100755
|
||||
--- a/sysui/desktop/suse/suse-menus.spec
|
||||
+++ b/sysui/desktop/suse/suse-menus.spec
|
||||
@@ -358,6 +358,7 @@ done
|
||||
/usr/share/applications/%unixfilename-startcenter.desktop
|
||||
/usr/share/applications/%unixfilename-javafilter.desktop
|
||||
/usr/share/applications/%unixfilename-binfilter.desktop
|
||||
+/usr/share/applications/%unixfilename-xsltfilter.desktop
|
||||
/opt/gnome/share/mime-info/*.keys
|
||||
/opt/gnome/share/mime-info/*.mime
|
||||
/opt/kde3/share/mimelnk/application/*.desktop
|
||||
--
|
||||
1.7.7.6
|
||||
|
110
0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch
Normal file
110
0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch
Normal file
|
@ -0,0 +1,110 @@
|
|||
From 4efbd87e31e7488dfcdd1d07ff979f1f59b8b1f1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Tue, 6 Mar 2012 15:49:20 +0000
|
||||
Subject: [PATCH] Resolves: rhbz#800272 complain about unknown command-line
|
||||
options
|
||||
|
||||
---
|
||||
desktop/source/app/cmdlineargs.cxx | 17 ++++++++++++++++-
|
||||
desktop/source/app/cmdlineargs.hxx | 2 ++
|
||||
desktop/source/app/officeipcthread.cxx | 6 ++++++
|
||||
desktop/source/app/sofficemain.cxx | 4 ++++
|
||||
4 files changed, 28 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
|
||||
index 6a5d58a..5ae86ab 100644
|
||||
--- a/desktop/source/app/cmdlineargs.cxx
|
||||
+++ b/desktop/source/app/cmdlineargs.cxx
|
||||
@@ -304,6 +304,15 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
|
||||
{
|
||||
bConversionOutEvent = true;
|
||||
}
|
||||
+#if defined UNX
|
||||
+ else
|
||||
+ {
|
||||
+ printf("Unknown option %s\n",
|
||||
+ rtl::OUStringToOString(aArg, osl_getThreadTextEncoding()).getStr());
|
||||
+ printf("Run 'soffice --help' to see a full list of available command line options.\n");
|
||||
+ SetBoolParam_Impl( CMD_BOOLPARAM_UNKNOWN, sal_True );
|
||||
+ }
|
||||
+#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -640,7 +649,7 @@ sal_Bool CommandLineArgs::InterpretCommandLineParameter( const ::rtl::OUString&
|
||||
|
||||
if (bDeprecated)
|
||||
{
|
||||
- rtl::OString sArg(rtl::OUStringToOString(aArg, RTL_TEXTENCODING_UTF8));
|
||||
+ rtl::OString sArg(rtl::OUStringToOString(aArg, osl_getThreadTextEncoding()));
|
||||
fprintf(stderr, "Warning: %s is deprecated. Use -%s instead.\n", sArg.getStr(), sArg.getStr());
|
||||
}
|
||||
return sal_True;
|
||||
@@ -851,6 +860,12 @@ sal_Bool CommandLineArgs::IsVersion() const
|
||||
return m_aBoolParams[ CMD_BOOLPARAM_VERSION ];
|
||||
}
|
||||
|
||||
+sal_Bool CommandLineArgs::HasUnknown() const
|
||||
+{
|
||||
+ osl::MutexGuard aMutexGuard( m_aMutex );
|
||||
+ return m_aBoolParams[ CMD_BOOLPARAM_UNKNOWN ];
|
||||
+}
|
||||
+
|
||||
sal_Bool CommandLineArgs::HasModuleParam() const
|
||||
{
|
||||
osl::MutexGuard aMutexGuard( m_aMutex );
|
||||
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx
|
||||
index f79efea..29b2f46 100644
|
||||
--- a/desktop/source/app/cmdlineargs.hxx
|
||||
+++ b/desktop/source/app/cmdlineargs.hxx
|
||||
@@ -71,6 +71,7 @@ class CommandLineArgs
|
||||
CMD_BOOLPARAM_HELPBASE,
|
||||
CMD_BOOLPARAM_PSN,
|
||||
CMD_BOOLPARAM_VERSION,
|
||||
+ CMD_BOOLPARAM_UNKNOWN,
|
||||
CMD_BOOLPARAM_COUNT // must be last element!
|
||||
};
|
||||
|
||||
@@ -162,6 +163,7 @@ class CommandLineArgs
|
||||
sal_Bool IsWeb() const;
|
||||
sal_Bool IsVersion() const;
|
||||
sal_Bool HasModuleParam() const;
|
||||
+ sal_Bool HasUnknown() const;
|
||||
sal_Bool WantsToLoadDocument() const;
|
||||
|
||||
// Access to string parameters
|
||||
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
|
||||
index b2c6566..4306a67 100644
|
||||
--- a/desktop/source/app/officeipcthread.cxx
|
||||
+++ b/desktop/source/app/officeipcthread.cxx
|
||||
@@ -709,6 +709,12 @@ void OfficeIPCThread::execute()
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
+
|
||||
+#ifdef UNX
|
||||
+ if (aCmdLineArgs->HasUnknown() || aCmdLineArgs->IsVersion() || aCmdLineArgs->IsHelp())
|
||||
+ continue;
|
||||
+#endif
|
||||
+
|
||||
const CommandLineArgs &rCurrentCmdLineArgs = Desktop::GetCommandLineArgs();
|
||||
|
||||
if ( aCmdLineArgs->IsQuickstart() )
|
||||
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
|
||||
index 76562a3..ed22834 100644
|
||||
--- a/desktop/source/app/sofficemain.cxx
|
||||
+++ b/desktop/source/app/sofficemain.cxx
|
||||
@@ -63,6 +63,10 @@
|
||||
desktop::displayVersion();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
+ else if ( rCmdLineArgs.HasUnknown() )
|
||||
+ {
|
||||
+ return EXIT_FAILURE;
|
||||
+ }
|
||||
#endif
|
||||
return SVMain();
|
||||
}
|
||||
--
|
||||
1.7.7.6
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
From 4ae4c57caab02c5d8fe91cd9956fabba6bd3dc1e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Wed, 9 May 2012 12:39:28 +0100
|
||||
Subject: [PATCH] Resolves: rhbz#805743 a11y: call doShow after we have a
|
||||
valid view
|
||||
|
||||
Basically a regression from ec240eafe9b25620383aa54015f5c55e0f64227a but things
|
||||
were broken before that too.
|
||||
|
||||
enable a11y (for gnome 3 this is gsettings set org.gnome.desktop.interface
|
||||
toolkit-accessibility true), and run the smoketest with dbg-util before
|
||||
touching this stuff
|
||||
|
||||
Change-Id: I I55f4e22d8ac61c7ac3ccc37b82794604b28a8f14
|
||||
---
|
||||
.../ui/slidesorter/shell/SlideSorterViewShell.cxx | 2 +-
|
||||
sd/source/ui/toolpanel/ToolPanelViewShell.cxx | 2 +-
|
||||
sd/source/ui/view/drviewsa.cxx | 3 +--
|
||||
sd/source/ui/view/outlnvsh.cxx | 4 ++--
|
||||
4 files changed, 5 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
|
||||
index a9b09a9..7b874c0 100644
|
||||
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
|
||||
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
|
||||
@@ -186,7 +186,7 @@ void SlideSorterViewShell::Initialize (void)
|
||||
mpScrollBarBox);
|
||||
mpView = &mpSlideSorter->GetView();
|
||||
|
||||
- ViewShell::doShow();
|
||||
+ doShow();
|
||||
|
||||
SetPool( &GetDoc()->GetPool() );
|
||||
SetUndoManager( GetDoc()->GetDocSh()->GetUndoManager() );
|
||||
diff --git a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
|
||||
index 12f6515..8eb9bc7 100644
|
||||
--- a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
|
||||
+++ b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
|
||||
@@ -482,7 +482,7 @@ ToolPanelViewShell::ToolPanelViewShell( SfxViewFrame* pFrame, ViewShellBase& rVi
|
||||
,mpSubShellManager()
|
||||
,mnMenuId(0)
|
||||
{
|
||||
- ViewShell::doShow();
|
||||
+ doShow();
|
||||
|
||||
meShellType = ST_TASK_PANE;
|
||||
|
||||
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
|
||||
index 0d1b5ac..1dabda6 100644
|
||||
--- a/sd/source/ui/view/drviewsa.cxx
|
||||
+++ b/sd/source/ui/view/drviewsa.cxx
|
||||
@@ -137,13 +137,12 @@ DrawViewShell::DrawViewShell( SfxViewFrame* pFrame, ViewShellBase& rViewShellBas
|
||||
, mbIsLayerModeActive(false)
|
||||
, mbIsInSwitchPage(false)
|
||||
{
|
||||
- ViewShell::doShow();
|
||||
-
|
||||
if (pFrameViewArgument != NULL)
|
||||
mpFrameView = pFrameViewArgument;
|
||||
else
|
||||
mpFrameView = new FrameView(GetDoc());
|
||||
Construct(GetDocSh(), ePageKind);
|
||||
+ doShow();
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
|
||||
index 4f13989..f37b7a0 100644
|
||||
--- a/sd/source/ui/view/outlnvsh.cxx
|
||||
+++ b/sd/source/ui/view/outlnvsh.cxx
|
||||
@@ -222,8 +222,6 @@ OutlineViewShell::OutlineViewShell (
|
||||
mbInitialized(false)
|
||||
|
||||
{
|
||||
- ViewShell::doShow();
|
||||
-
|
||||
if (pFrameViewArgument != NULL)
|
||||
mpFrameView = pFrameViewArgument;
|
||||
else
|
||||
@@ -232,6 +230,8 @@ OutlineViewShell::OutlineViewShell (
|
||||
mpFrameView->Connect();
|
||||
|
||||
Construct(GetDocSh());
|
||||
+
|
||||
+ doShow();
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
--
|
||||
1.7.7.6
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
From 24b867c1e1d2264ff138d4eafa9791fcd1191160 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Mon, 26 Mar 2012 13:53:55 +0100
|
||||
Subject: [PATCH] Resolves: rhbz#806663 SlideshowImpl can outlive SdModule
|
||||
(somehow)
|
||||
|
||||
|
||||
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
|
||||
index 3bc8dc1..ed9d76d 100644
|
||||
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
|
||||
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
|
||||
@@ -593,7 +593,10 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation,
|
||||
|
||||
SlideshowImpl::~SlideshowImpl()
|
||||
{
|
||||
- SdOptions* pOptions = SD_MOD()->GetSdOptions(DOCUMENT_TYPE_IMPRESS);
|
||||
+ SdModule *pModule = SD_MOD();
|
||||
+ //rhbz#806663 SlideshowImpl can outlive SdModule
|
||||
+ SdOptions* pOptions = pModule ?
|
||||
+ pModule->GetSdOptions(DOCUMENT_TYPE_IMPRESS) : NULL;
|
||||
if( pOptions )
|
||||
{
|
||||
pOptions->SetPresentationPenColor(mnUserPaintColor);
|
||||
--
|
||||
1.7.7.6
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
From 4fc8af89257436b9cad70de574a166aa11ec42f1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Mon, 9 Jul 2012 12:51:16 +0100
|
||||
Subject: [PATCH] Resolves: rhbz#838368 --view ignored while -view accepted
|
||||
|
||||
and our ooviewdoc script uses --view
|
||||
|
||||
Change-Id: Ice708f1c72c8d29d411ba21e93cb19876af13881
|
||||
---
|
||||
desktop/source/app/cmdlineargs.cxx | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
|
||||
index af7ee26..c67db8c 100644
|
||||
--- a/desktop/source/app/cmdlineargs.cxx
|
||||
+++ b/desktop/source/app/cmdlineargs.cxx
|
||||
@@ -217,7 +217,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
|
||||
bStartEvent = false;
|
||||
bDisplaySpec = false;
|
||||
}
|
||||
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-view" )))
|
||||
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "view" )))
|
||||
{
|
||||
// open in viewmode
|
||||
bOpenEvent = false;
|
||||
@@ -229,7 +229,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
|
||||
bStartEvent = false;
|
||||
bDisplaySpec = false;
|
||||
}
|
||||
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-show" )))
|
||||
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "show" )))
|
||||
{
|
||||
// open in viewmode
|
||||
bOpenEvent = false;
|
||||
--
|
||||
1.7.10.4
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
From db21197de4383f75718190072171adab15e64a00 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Stahl <mstahl@redhat.com>
|
||||
Date: Thu, 8 Mar 2012 15:49:52 +0100
|
||||
Subject: [PATCH] desktop: do not complain about soffice command line options:
|
||||
|
||||
These are handled in the soffice wrapper script, but that is too stupid
|
||||
to be able to filter these out, so just ignore them in soffice.bin.
|
||||
|
||||
(regression from 4efbd87e31e7488dfcdd1d07ff979f1f59b8b1f1)
|
||||
|
||||
Also, print errors on stderr.
|
||||
---
|
||||
desktop/source/app/cmdlineargs.cxx | 10 ++++++++--
|
||||
1 files changed, 8 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
|
||||
index 5ae86ab..0bc6312 100644
|
||||
--- a/desktop/source/app/cmdlineargs.cxx
|
||||
+++ b/desktop/source/app/cmdlineargs.cxx
|
||||
@@ -306,10 +306,17 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
|
||||
}
|
||||
#if defined UNX
|
||||
else
|
||||
+ // because it's impossible to filter these options that
|
||||
+ // are handled in the soffice shell script with the
|
||||
+ // primitive tools that /bin/sh offers, ignore them here
|
||||
+ if (!oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("backtrace")) &&
|
||||
+ !oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("strace")) &&
|
||||
+ !oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("nocrashreport")) &&
|
||||
+ !oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("valgrind")))
|
||||
{
|
||||
- printf("Unknown option %s\n",
|
||||
+ fprintf(stderr, "Unknown option %s\n",
|
||||
rtl::OUStringToOString(aArg, osl_getThreadTextEncoding()).getStr());
|
||||
- printf("Run 'soffice --help' to see a full list of available command line options.\n");
|
||||
+ fprintf(stderr, "Run 'soffice --help' to see a full list of available command line options.\n");
|
||||
SetBoolParam_Impl( CMD_BOOLPARAM_UNKNOWN, sal_True );
|
||||
}
|
||||
#endif
|
||||
--
|
||||
1.7.7.6
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
From 032084d8582ef8eb04724d2488f3e381ac8054d2 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Mon, 23 Apr 2012 13:19:39 +0200
|
||||
Subject: [PATCH] do not let gcc use registers we are setting ourselves
|
||||
|
||||
gcc uses a register for the function call--and it tried r9 here...
|
||||
---
|
||||
.../source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx | 16 +++++++++++++---
|
||||
1 files changed, 13 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
|
||||
index 34e8c63..f409bf7 100644
|
||||
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
|
||||
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/uno2cpp.cxx
|
||||
@@ -67,7 +67,6 @@ static void callVirtualMethod(
|
||||
// of floating point registers f1 to f8
|
||||
|
||||
unsigned long * mfunc; // actual function to be invoked
|
||||
- void (*ptr)();
|
||||
int gpr[8]; // storage for gpregisters, map to r3-r10
|
||||
int off; // offset used to find function
|
||||
#ifndef __NO_FPRS__
|
||||
@@ -243,7 +242,8 @@ static void callVirtualMethod(
|
||||
mfunc = *((unsigned long **)pAdjustedThisPtr); // get the address of the vtable
|
||||
mfunc = (unsigned long *)((char *)mfunc + off); // get the address from the vtable entry at offset
|
||||
mfunc = *((unsigned long **)mfunc); // the function is stored at the address
|
||||
- ptr = (void (*)())mfunc;
|
||||
+ typedef void (*FunctionCall)(sal_uInt32, sal_uInt32, sal_uInt32, sal_uInt32, sal_uInt32, sal_uInt32, sal_uInt32, sal_uInt32);
|
||||
+ FunctionCall ptr = (FunctionCall)mfunc;
|
||||
|
||||
/* Set up the machine registers and invoke the function */
|
||||
|
||||
@@ -272,7 +272,17 @@ static void callVirtualMethod(
|
||||
: "0", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"
|
||||
);
|
||||
|
||||
- (*ptr)();
|
||||
+ // tell gcc that r3 to r10 are not available to it for doing the TOC and exception munge on the func call
|
||||
+ register sal_uInt32 r3 __asm__("r3");
|
||||
+ register sal_uInt32 r4 __asm__("r4");
|
||||
+ register sal_uInt32 r5 __asm__("r5");
|
||||
+ register sal_uInt32 r6 __asm__("r6");
|
||||
+ register sal_uInt32 r7 __asm__("r7");
|
||||
+ register sal_uInt32 r8 __asm__("r8");
|
||||
+ register sal_uInt32 r9 __asm__("r9");
|
||||
+ register sal_uInt32 r10 __asm__("r10");
|
||||
+
|
||||
+ (*ptr)(r3, r4, r5, r6, r7, r8, r9, r10);
|
||||
|
||||
__asm__ __volatile__ (
|
||||
"mr %0, 3\n\t"
|
||||
--
|
||||
1.7.7.6
|
||||
|
54
0001-fdo-38088-better-CSV-import-default-separators.patch
Normal file
54
0001-fdo-38088-better-CSV-import-default-separators.patch
Normal file
|
@ -0,0 +1,54 @@
|
|||
From f31362eb144153c914f1ae0cdda6fe8312c1152d Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <f31362eb144153c914f1ae0cdda6fe8312c1152d.1334148872.git.erack@redhat.com>
|
||||
From: Eike Rathke <erack@redhat.com>
|
||||
Date: Wed, 4 Apr 2012 20:17:22 +0200
|
||||
Subject: [PATCH] resolved fdo#38088 rhbz#810267 better CSV import default separators
|
||||
MIME-Version: 1.0
|
||||
Content-Type: multipart/mixed; boundary="------------erAck-patch-parts"
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--------------erAck-patch-parts
|
||||
Content-Type: text/plain; charset=UTF-8; format=fixed
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
---
|
||||
.../registry/schema/org/openoffice/Office/Calc.xcs | 2 +-
|
||||
sc/source/ui/dbgui/scuiasciiopt.cxx | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
|
||||
--------------erAck-patch-parts
|
||||
Content-Type: text/x-patch; name="0001-fdo-33088-better-CSV-import-default-separators.patch"
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Content-Disposition: attachment; filename="0001-fdo-33088-better-CSV-import-default-separators.patch"
|
||||
|
||||
diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
|
||||
index 700d716..0cd2ff3 100644
|
||||
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
|
||||
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
|
||||
@@ -1063,7 +1063,7 @@
|
||||
<desc>List of Separators - as a String</desc>
|
||||
<label>Separators</label>
|
||||
</info>
|
||||
- <value>; </value>
|
||||
+ <value>,;	</value>
|
||||
</prop>
|
||||
<prop oor:name="TextSeparators" oor:type="xs:string">
|
||||
<info>
|
||||
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
|
||||
index 93d5cfc..2a3a2b94 100644
|
||||
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
|
||||
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
|
||||
@@ -268,7 +268,7 @@ ScImportAsciiDlg::ScImportAsciiDlg( Window* pParent,String aDatName,
|
||||
SetText( aName );
|
||||
|
||||
// Default options
|
||||
- OUString sFieldSeparators(RTL_CONSTASCII_USTRINGPARAM("\t"));
|
||||
+ OUString sFieldSeparators(RTL_CONSTASCII_USTRINGPARAM(",;\t"));
|
||||
OUString sTextSeparators(mcTextSep);
|
||||
bool bMergeDelimiters = false;
|
||||
bool bFixedWidth = false;
|
||||
|
||||
--------------erAck-patch-parts--
|
||||
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
From 6d4cca9c22c52b5a7742adc47ebf1a2930e29764 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Wed, 14 Mar 2012 13:58:37 +0100
|
||||
Subject: [PATCH] fix setting of paper tray from print dialog (fdo#43932)
|
||||
|
||||
This fixes the simple case when all pages are to be printed from the
|
||||
same paper tray. The use of this setting is still confusing when there
|
||||
is application-set tray for a page (e.g., for a page style in Writer,
|
||||
through Format->Page), because the change in Preferences is applied (and
|
||||
will be used for pages without application-set tray), but Preferences
|
||||
shows the application-set value on second try again...
|
||||
|
||||
IOW, it still s---s, but it s---s a bit less .-)
|
||||
---
|
||||
vcl/source/gdi/print3.cxx | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
|
||||
index 4824203..817e6d5 100644
|
||||
--- a/vcl/source/gdi/print3.cxx
|
||||
+++ b/vcl/source/gdi/print3.cxx
|
||||
@@ -773,7 +773,7 @@ PrinterController::PageSize vcl::ImplPrinterControllerData::modifyJobSetup( cons
|
||||
PrinterController::PageSize aPageSize;
|
||||
aPageSize.aSize = mpPrinter->GetPaperSize();
|
||||
awt::Size aSetSize, aIsSize;
|
||||
- sal_Int32 nPaperBin = mnDefaultPaperBin;
|
||||
+ sal_Int32 nPaperBin = (mnFixedPaperBin != -1) ? mnFixedPaperBin : mnDefaultPaperBin;
|
||||
for( sal_Int32 nProperty = 0, nPropertyCount = i_rProps.getLength(); nProperty < nPropertyCount; ++nProperty )
|
||||
{
|
||||
if( i_rProps[ nProperty ].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "PreferredPageSize" ) ) )
|
||||
--
|
||||
1.7.7.6
|
||||
|
191
0001-move-binfilter-mime-types-into-extra-.desktop-file.patch
Normal file
191
0001-move-binfilter-mime-types-into-extra-.desktop-file.patch
Normal file
|
@ -0,0 +1,191 @@
|
|||
From 9441e2a015d38968592508782c4041dab5af1bda Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Tue, 31 Jan 2012 09:40:57 +0100
|
||||
Subject: [PATCH] move binfilter mime types into extra .desktop file
|
||||
|
||||
---
|
||||
scp2/source/ooo/common_brand.scp | 9 +++++++++
|
||||
sysui/desktop/freedesktop/freedesktop-menus.spec | 1 +
|
||||
sysui/desktop/menus/binfilter.desktop | 9 +++++++++
|
||||
sysui/desktop/menus/calc.desktop | 2 +-
|
||||
sysui/desktop/menus/draw.desktop | 2 +-
|
||||
sysui/desktop/menus/impress.desktop | 2 +-
|
||||
sysui/desktop/menus/math.desktop | 2 +-
|
||||
sysui/desktop/menus/writer.desktop | 2 +-
|
||||
sysui/desktop/share/launcher_genericname.ulf | 3 +++
|
||||
sysui/desktop/share/makefile.mk | 7 ++++---
|
||||
sysui/desktop/suse/suse-menus.spec | 1 +
|
||||
11 files changed, 32 insertions(+), 8 deletions(-)
|
||||
create mode 100644 sysui/desktop/menus/binfilter.desktop
|
||||
|
||||
diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
|
||||
index 6c6fb66..9893a60 100644
|
||||
--- a/scp2/source/ooo/common_brand.scp
|
||||
+++ b/scp2/source/ooo/common_brand.scp
|
||||
@@ -87,6 +87,7 @@ Module gid_Module_Root_Brand
|
||||
gid_Brand_File_Share_Registry_O5oo_Xcd,
|
||||
gid_Brand_File_Script_Unopkg,
|
||||
gid_Brand_File_Share_Xdg_Base,
|
||||
+ gid_Brand_File_Share_Xdg_BinFilter,
|
||||
gid_Brand_File_Share_Xdg_Calc,
|
||||
gid_Brand_File_Share_Xdg_Draw,
|
||||
gid_Brand_File_Share_Xdg_Extension,
|
||||
@@ -781,6 +782,14 @@ File gid_Brand_File_Share_Xdg_JavaFilter
|
||||
End
|
||||
#endif
|
||||
|
||||
+#if defined UNX && ! defined MACOSX
|
||||
+File gid_Brand_File_Share_Xdg_BinFilter
|
||||
+ TXT_FILE_BODY;
|
||||
+ Dir = gid_Brand_Dir_Share_Xdg;
|
||||
+ Name = "binfilter.desktop";
|
||||
+ Styles = (PACKED,SCPZIP_REPLACE);
|
||||
+End
|
||||
+#endif
|
||||
|
||||
// Profiles
|
||||
|
||||
diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec
|
||||
index d4efca5..78a33ae 100755
|
||||
--- a/sysui/desktop/freedesktop/freedesktop-menus.spec
|
||||
+++ b/sysui/desktop/freedesktop/freedesktop-menus.spec
|
||||
@@ -386,6 +386,7 @@ done
|
||||
/usr/share/applications/%unixfilename-writer.desktop
|
||||
/usr/share/applications/%unixfilename-startcenter.desktop
|
||||
/usr/share/applications/%unixfilename-javafilter.desktop
|
||||
+/usr/share/applications/%unixfilename-binfilter.desktop
|
||||
/usr/share/icons/gnome/*/apps/*png
|
||||
/usr/share/icons/gnome/*/mimetypes/*png
|
||||
/usr/share/icons/hicolor/*/apps/*png
|
||||
diff --git a/sysui/desktop/menus/binfilter.desktop b/sysui/desktop/menus/binfilter.desktop
|
||||
new file mode 100644
|
||||
index 0000000..bfad37f
|
||||
--- /dev/null
|
||||
+++ b/sysui/desktop/menus/binfilter.desktop
|
||||
@@ -0,0 +1,9 @@
|
||||
+[Desktop Entry]
|
||||
+Version=1.0
|
||||
+Terminal=false
|
||||
+Type=Application
|
||||
+Exec=${UNIXBASISROOTNAME} %U
|
||||
+MimeType=application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/vnd.stardivision.draw;application/vnd.stardivision.impress;application/vnd.stardivision.math;application/vnd.stardivision.writer;
|
||||
+Name=%PRODUCTNAME Legacy StarOffice 5 Binary Format Importer
|
||||
+GenericName=Legacy StarOffice 5 Binary Format Importer
|
||||
+NoDisplay=true
|
||||
diff --git a/sysui/desktop/menus/calc.desktop b/sysui/desktop/menus/calc.desktop
|
||||
index 696385a..c8899cd 100755
|
||||
--- a/sysui/desktop/menus/calc.desktop
|
||||
+++ b/sysui/desktop/menus/calc.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=calc
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Spreadsheets;
|
||||
Exec=${UNIXBASISROOTNAME} --calc %U
|
||||
-MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;
|
||||
+MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;
|
||||
Name=%PRODUCTNAME Calc
|
||||
GenericName=Spreadsheet
|
||||
Comment=Perform calculations, analyze information and manage lists in spreadsheets by using Calc.
|
||||
diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop
|
||||
index 96234c6..67ad422 100755
|
||||
--- a/sysui/desktop/menus/draw.desktop
|
||||
+++ b/sysui/desktop/menus/draw.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=draw
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Drawing;
|
||||
Exec=${UNIXBASISROOTNAME} --draw %U
|
||||
-MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.stardivision.draw;
|
||||
+MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;
|
||||
Name=%PRODUCTNAME Draw
|
||||
GenericName=Drawing Program
|
||||
Comment=Create and edit drawings, flow charts, and logos by using Draw.
|
||||
diff --git a/sysui/desktop/menus/impress.desktop b/sysui/desktop/menus/impress.desktop
|
||||
index 92060e3..91c937a 100755
|
||||
--- a/sysui/desktop/menus/impress.desktop
|
||||
+++ b/sysui/desktop/menus/impress.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=impress
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Presentations;
|
||||
Exec=${UNIXBASISROOTNAME} --impress %U
|
||||
-MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/vnd.stardivision.impress;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;
|
||||
+MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;
|
||||
Name=%PRODUCTNAME Impress
|
||||
GenericName=Presentation
|
||||
Comment=Create and edit presentations for slideshows, meeting and Web pages by using Impress.
|
||||
diff --git a/sysui/desktop/menus/math.desktop b/sysui/desktop/menus/math.desktop
|
||||
index 61bade6..23e2d87 100755
|
||||
--- a/sysui/desktop/menus/math.desktop
|
||||
+++ b/sysui/desktop/menus/math.desktop
|
||||
@@ -6,7 +6,7 @@ Icon=math
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Other;
|
||||
Exec=${UNIXBASISROOTNAME} --math %U
|
||||
-MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;application/vnd.stardivision.math;
|
||||
+MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;
|
||||
Name=%PRODUCTNAME Math
|
||||
GenericName=Formula Editor
|
||||
Comment=Create and edit scientific formulas and equations by using Math.
|
||||
diff --git a/sysui/desktop/menus/writer.desktop b/sysui/desktop/menus/writer.desktop
|
||||
index 625df59..0db0d05 100755
|
||||
--- a/sysui/desktop/menus/writer.desktop
|
||||
+++ b/sysui/desktop/menus/writer.desktop
|
||||
@@ -5,7 +5,7 @@ Icon=writer
|
||||
Type=Application
|
||||
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Wordprocessors;
|
||||
Exec=${UNIXBASISROOTNAME} --writer %U
|
||||
-MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/vnd.stardivision.writer;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;
|
||||
+MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;
|
||||
Name=%PRODUCTNAME Writer
|
||||
GenericName=Word Processor
|
||||
Comment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer.
|
||||
diff --git a/sysui/desktop/share/launcher_genericname.ulf b/sysui/desktop/share/launcher_genericname.ulf
|
||||
index ff8041a..6130e0b 100755
|
||||
--- a/sysui/desktop/share/launcher_genericname.ulf
|
||||
+++ b/sysui/desktop/share/launcher_genericname.ulf
|
||||
@@ -21,3 +21,6 @@ en-US = "Office"
|
||||
|
||||
[javafilter]
|
||||
en-US = "Small Device Format Importer"
|
||||
+
|
||||
+[binfilter]
|
||||
+en-US = "Legacy StarOffice 5 Binary Format Importer"
|
||||
diff --git a/sysui/desktop/share/makefile.mk b/sysui/desktop/share/makefile.mk
|
||||
index f6a34b1..f6b4dfa 100755
|
||||
--- a/sysui/desktop/share/makefile.mk
|
||||
+++ b/sysui/desktop/share/makefile.mk
|
||||
@@ -52,7 +52,8 @@ ULFFILES= \
|
||||
launcher_genericname.ulf \
|
||||
launcher_name.ulf
|
||||
|
||||
-LAUNCHERLIST = writer calc draw impress math base printeradmin qstart startcenter javafilter
|
||||
+LAUNCHERLIST_APPS = writer calc draw impress math base printeradmin startcenter
|
||||
+LAUNCHERLIST = $(LAUNCHERLIST_APPS) qstart javafilter binfilter
|
||||
LAUNCHERDEPN = ../menus/{$(LAUNCHERLIST)}.desktop
|
||||
|
||||
LAUNCHERFLAGFILE = $(COMMONMISC)/$(TARGET)/xdg.flag
|
||||
@@ -126,9 +127,9 @@ MIMEICONLIST = \
|
||||
extension
|
||||
|
||||
ICONDEPN = \
|
||||
- ../icons/hicolor/{16x16 32x32 48x48}/apps/{$(LAUNCHERLIST:s/qstart//:s/javafilter//)}.png \
|
||||
+ ../icons/hicolor/{16x16 32x32 48x48}/apps/{$(LAUNCHERLIST_APPS)}.png \
|
||||
../icons/hicolor/{16x16 32x32 48x48}/mimetypes/{$(MIMEICONLIST)}.png \
|
||||
- ../icons/locolor/{16x16 32x32}/apps/{$(LAUNCHERLIST:s/qstart//:s/javafilter//)}.png \
|
||||
+ ../icons/locolor/{16x16 32x32}/apps/{$(LAUNCHERLIST_APPS)}.png \
|
||||
../icons/locolor/{16x16 32x32}/mimetypes/{$(MIMEICONLIST)}.png
|
||||
|
||||
# --- Targets ------------------------------------------------------
|
||||
diff --git a/sysui/desktop/suse/suse-menus.spec b/sysui/desktop/suse/suse-menus.spec
|
||||
index ea5ae31..74b67e6 100755
|
||||
--- a/sysui/desktop/suse/suse-menus.spec
|
||||
+++ b/sysui/desktop/suse/suse-menus.spec
|
||||
@@ -357,6 +357,7 @@ done
|
||||
/usr/share/applications/%unixfilename-printeradmin.desktop
|
||||
/usr/share/applications/%unixfilename-startcenter.desktop
|
||||
/usr/share/applications/%unixfilename-javafilter.desktop
|
||||
+/usr/share/applications/%unixfilename-binfilter.desktop
|
||||
/opt/gnome/share/mime-info/*.keys
|
||||
/opt/gnome/share/mime-info/*.mime
|
||||
/opt/kde3/share/mimelnk/application/*.desktop
|
||||
--
|
||||
1.7.7.5
|
||||
|
28
0001-preserve-timestamps-for-.py-files.patch
Normal file
28
0001-preserve-timestamps-for-.py-files.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
From 18af7e03d81d295a47457486d3036681bd17eb81 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Mon, 13 Feb 2012 10:45:59 +0000
|
||||
Subject: [PATCH] preserve timestamps for .py files
|
||||
|
||||
.pyc and .pyo binary caches contain the timestamp of the .py file, so for
|
||||
fedora multilib if the .py files get different times on different arch then the
|
||||
.py[o|c] files end up being different for the same content
|
||||
---
|
||||
solenv/bin/install-gdb-printers | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/solenv/bin/install-gdb-printers b/solenv/bin/install-gdb-printers
|
||||
index 99686cf..df327a0 100755
|
||||
--- a/solenv/bin/install-gdb-printers
|
||||
+++ b/solenv/bin/install-gdb-printers
|
||||
@@ -165,7 +165,7 @@ fi
|
||||
|
||||
if [[ ${DESTDIR}${pythondir} != ${GDBDIR} ]]; then
|
||||
mkdir -p "${DESTDIR}${pythondir}" || die "cannot create dir '${DESTDIR}${pythondir}'"
|
||||
- cp -r "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
|
||||
+ cp -pr "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
|
||||
fi
|
||||
|
||||
make_autoload cppu ure-link/lib libuno_cppu."$DYLIB".3
|
||||
--
|
||||
1.7.7.6
|
||||
|
72
0001-resolved-rhbz-838248-init-filter-criteria-string.patch
Normal file
72
0001-resolved-rhbz-838248-init-filter-criteria-string.patch
Normal file
|
@ -0,0 +1,72 @@
|
|||
From 22ccbeef9c88b01ac841de37dfcb5985dc05a530 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <22ccbeef9c88b01ac841de37dfcb5985dc05a530.1341913622.git.erack@redhat.com>
|
||||
From: Eike Rathke <erack@redhat.com>
|
||||
Date: Mon, 9 Jul 2012 18:31:30 +0200
|
||||
Subject: [PATCH] resolved rhbz#838248 init filter criteria string
|
||||
MIME-Version: 1.0
|
||||
Content-Type: multipart/mixed; boundary="------------erAck-patch-parts"
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--------------erAck-patch-parts
|
||||
Content-Type: text/plain; charset=UTF-8; format=fixed
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
In ScFilterDlg::Init() the string displayed as criteria was empty if
|
||||
query is ByValue or ByDate. From earlier times the dialog assumed that
|
||||
the query string was always set corresponding to the value, but internal
|
||||
handling was changed.
|
||||
|
||||
Change-Id: I4f10654f4015b38f7ddba9d6727e06806f1d6b77
|
||||
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
|
||||
---
|
||||
sc/source/ui/dbgui/filtdlg.cxx | 26 +++++++++++++++++++++++++-
|
||||
1 files changed, 25 insertions(+), 1 deletions(-)
|
||||
|
||||
|
||||
--------------erAck-patch-parts
|
||||
Content-Type: text/x-patch; name="0001-resolved-rhbz-838248-init-filter-criteria-string.patch"
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Content-Disposition: attachment; filename="0001-resolved-rhbz-838248-init-filter-criteria-string.patch"
|
||||
|
||||
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
|
||||
index 93ad302..c744d85 100644
|
||||
--- a/sc/source/ui/dbgui/filtdlg.cxx
|
||||
+++ b/sc/source/ui/dbgui/filtdlg.cxx
|
||||
@@ -318,7 +318,31 @@ void ScFilterDlg::Init( const SfxItemSet& rArgSet )
|
||||
maCondLbArr[i]->Disable();
|
||||
}
|
||||
else
|
||||
- aValStr = rItem.maString;
|
||||
+ {
|
||||
+ if (rItem.maString.isEmpty())
|
||||
+ {
|
||||
+ if (rItem.meType == ScQueryEntry::ByValue)
|
||||
+ pDoc->GetFormatTable()->GetInputLineString( rItem.mfVal, 0, aValStr);
|
||||
+ else if (rItem.meType == ScQueryEntry::ByDate)
|
||||
+ {
|
||||
+ SvNumberFormatter* pFormatter = pDoc->GetFormatTable();
|
||||
+ pFormatter->GetInputLineString( rItem.mfVal,
|
||||
+ pFormatter->GetStandardFormat( NUMBERFORMAT_DATE), aValStr);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ SAL_WARN( "sc", "ScFilterDlg::Init: empty query string, really?");
|
||||
+ aValStr = rItem.maString;
|
||||
+ }
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ // XXX NOTE: if not ByString we just assume this has been
|
||||
+ // set to a proper string corresponding to the numeric
|
||||
+ // value earlier!
|
||||
+ aValStr = rItem.maString;
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
else if ( i == 0 )
|
||||
{
|
||||
|
||||
--------------erAck-patch-parts--
|
||||
|
||||
|
57
0001-save-register-arguments-first.patch
Normal file
57
0001-save-register-arguments-first.patch
Normal file
|
@ -0,0 +1,57 @@
|
|||
From f4c5fe13fd1484aa1bf37910841c689877740602 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Mon, 23 Apr 2012 09:47:41 +0200
|
||||
Subject: [PATCH] save register arguments first
|
||||
|
||||
The "mr" stores r11 to indeterminate register (r9 in my case) before
|
||||
storing it into the output variable, thus overwriting one of our input
|
||||
arguments... This later leads to nice segfault in
|
||||
testtools/source/bridgetest ...
|
||||
|
||||
I suppose there is a better way to get the variable, but I do not know
|
||||
it .-)
|
||||
---
|
||||
.../cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx | 16 ++++++++--------
|
||||
1 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
|
||||
index 425c5b5..3cb94dd 100644
|
||||
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
|
||||
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
|
||||
@@ -504,13 +504,6 @@ static typelib_TypeClass cpp_mediate(
|
||||
|
||||
extern "C" void privateSnippetExecutor( ... )
|
||||
{
|
||||
- volatile long nOffsetAndIndex;
|
||||
-
|
||||
- //mr %r3, %r11 # move into arg1 the 64bit value passed from OOo
|
||||
- __asm__ __volatile__ (
|
||||
- "mr %0, 11\n\t"
|
||||
- : "=r" (nOffsetAndIndex) : );
|
||||
-
|
||||
sal_uInt64 gpreg[ppc64::MAX_GPR_REGS];
|
||||
double fpreg[ppc64::MAX_SSE_REGS];
|
||||
|
||||
@@ -537,11 +530,18 @@ extern "C" void privateSnippetExecutor( ... )
|
||||
"stfd 12, 88(%1)\t\n"
|
||||
"stfd 13, 96(%1)\t\n"
|
||||
: : "r" (gpreg), "r" (fpreg)
|
||||
- : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10",
|
||||
+ : "r0", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11",
|
||||
"fr1", "fr2", "fr3", "fr4", "fr5", "fr6", "fr7", "fr8", "fr9",
|
||||
"fr10", "fr11", "fr12", "fr13"
|
||||
);
|
||||
|
||||
+ volatile long nOffsetAndIndex;
|
||||
+
|
||||
+ //mr %r3, %r11 # move into arg1 the 64bit value passed from OOo
|
||||
+ __asm__ __volatile__ (
|
||||
+ "mr %0, 11\n\t"
|
||||
+ : "=r" (nOffsetAndIndex) : );
|
||||
+
|
||||
volatile long sp;
|
||||
|
||||
//stack pointer
|
||||
--
|
||||
1.7.7.6
|
||||
|
28
0001-use-ure-instead-of-ure-link.patch
Normal file
28
0001-use-ure-instead-of-ure-link.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
From 0acbbeaeeb8ef0221dbef6d6bbdea94394d79a59 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Mon, 11 Jun 2012 14:09:39 +0200
|
||||
Subject: [PATCH] use ure instead of ure-link
|
||||
|
||||
Change-Id: I5368770926aee871e20b2d87fa51b28212c8be4f
|
||||
---
|
||||
solenv/bin/install-gdb-printers | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/solenv/bin/install-gdb-printers b/solenv/bin/install-gdb-printers
|
||||
index c478929..51ab9e2 100755
|
||||
--- a/solenv/bin/install-gdb-printers
|
||||
+++ b/solenv/bin/install-gdb-printers
|
||||
@@ -168,8 +168,8 @@ if [[ ${DESTDIR}${pythondir} != ${GDBDIR} ]]; then
|
||||
cp -pr "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}"
|
||||
fi
|
||||
|
||||
-make_autoload cppu ure-link/lib libuno_cppu."$DYLIB".3
|
||||
-make_autoload sal ure-link/lib libuno_sal."$DYLIB".3
|
||||
+make_autoload cppu ure/lib libuno_cppu."$DYLIB".3
|
||||
+make_autoload sal ure/lib libuno_sal."$DYLIB".3
|
||||
make_autoload svl program libsvllo."$DYLIB"
|
||||
make_autoload sw program libswlo."$DYLIB"
|
||||
make_autoload tl program libtllo."$DYLIB"
|
||||
--
|
||||
1.7.10.2
|
||||
|
43
0001-wrong-types-used-here-breaks-64bit-bigendian.patch
Normal file
43
0001-wrong-types-used-here-breaks-64bit-bigendian.patch
Normal file
|
@ -0,0 +1,43 @@
|
|||
From 78719066cb546c7dc74e87488b9b7a695606cf7c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Tue, 6 Mar 2012 09:37:35 +0000
|
||||
Subject: [PATCH] wrong types used here, breaks 64bit bigendian
|
||||
|
||||
---
|
||||
sw/qa/core/Test-BigPtrArray.cxx | 6 +++---
|
||||
1 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/sw/qa/core/Test-BigPtrArray.cxx b/sw/qa/core/Test-BigPtrArray.cxx
|
||||
index 7953dc3..d9be7a2 100644
|
||||
--- a/sw/qa/core/Test-BigPtrArray.cxx
|
||||
+++ b/sw/qa/core/Test-BigPtrArray.cxx
|
||||
@@ -82,7 +82,7 @@ namespace /* private */
|
||||
sal_Bool AddToCount(const ElementPtr& rElem, void* pArgs)
|
||||
{
|
||||
BigPtrEntryMock* const pbem = static_cast<BigPtrEntryMock* const>(rElem);
|
||||
- pbem->setCount(pbem->getCount() + *((int*)pArgs));
|
||||
+ pbem->setCount(pbem->getCount() + *((sal_uLong*)pArgs));
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -655,7 +655,7 @@ public:
|
||||
fillBigPtrArray(bparr, NUM_ENTRIES);
|
||||
dumpBigPtrArray(bparr);
|
||||
|
||||
- int addCount = 1;
|
||||
+ sal_uLong addCount = 1;
|
||||
bparr.ForEach(AddToCount, &addCount);
|
||||
|
||||
for (sal_uLong i = 0; i < NUM_ENTRIES; i++)
|
||||
@@ -715,7 +715,7 @@ public:
|
||||
fillBigPtrArray(bparr, NUM_ENTRIES);
|
||||
dumpBigPtrArray(bparr);
|
||||
|
||||
- int addCount = 1;
|
||||
+ sal_uLong addCount = 1;
|
||||
bparr.ForEach(NUM_ENTRIES / 2, NUM_ENTRIES, AddToCount, &addCount);
|
||||
|
||||
sal_uLong i = 0;
|
||||
--
|
||||
1.7.7.6
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- ./vcl/unx/kde4/KDEXLib.cxx 2011-09-19 15:55:17.000000000 +0000
|
||||
+++ ./vcl/unx/kde4/KDEXLib.cxx 2011-09-19 15:55:34.000000000 +0000
|
||||
@@ -58,7 +58,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK( 4, 8, 1 )
|
||||
-#define QT_UNIX_EVENT_LOOP_SUPPORT
|
||||
+// #define QT_UNIX_EVENT_LOOP_SUPPORT
|
||||
#ifdef KDE_HAVE_GLIB
|
||||
#define GLIB_EVENT_LOOP_SUPPORT
|
||||
#endif
|
|
@ -1,11 +0,0 @@
|
|||
--- ./ucb/source/ucp/gvfs/gvfs_content.hxx 2011-11-04 18:24:28.000000000 +0000
|
||||
+++ ./ucb/source/ucp/gvfs/gvfs_content.hxx 2011-11-04 18:50:10.000000000 +0000
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <com/sun/star/ucb/XContentCreator.hpp>
|
||||
#include <ucbhelper/contenthelper.hxx>
|
||||
|
||||
-#include <glib/gthread.h>
|
||||
+#include <glib.h>
|
||||
#include <libgnomevfs/gnome-vfs-ops.h>
|
||||
#include <libgnomevfs/gnome-vfs-directory.h>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
--- libreoffice-3.4.5/fpicker/source/unx/kde4/KDE4FilePicker.cxx.ark 2012-01-31 19:11:16.582876303 +0100
|
||||
+++ libreoffice-3.4.5/fpicker/source/unx/kde4/KDE4FilePicker.cxx 2012-01-31 19:11:37.026875942 +0100
|
||||
@@ -57,6 +57,7 @@
|
||||
|
||||
//kde has an enum that uses this...OO does too
|
||||
#undef SETTINGS_MOUSE
|
||||
+#undef SETTINGS_LOCALE
|
||||
|
||||
#include <kfiledialog.h>
|
||||
#include <kwindowsystem.h>
|
119
libreoffice-ensure-non-broken-xml-tree.patch
Normal file
119
libreoffice-ensure-non-broken-xml-tree.patch
Normal file
|
@ -0,0 +1,119 @@
|
|||
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
|
||||
index 65d5a80..b544f74 100644
|
||||
--- a/solenv/gbuild/gbuild.mk
|
||||
+++ b/solenv/gbuild/gbuild.mk
|
||||
@@ -313,6 +313,14 @@ gb_XSLTPROCTARGET := $(call gb_Executable_get_target_for_build,xsltproc)
|
||||
gb_XSLTPROC := $(gb_Helper_set_ld_path) $(gb_XSLTPROCTARGET)
|
||||
endif
|
||||
|
||||
+ifeq ($(SYSTEM_LIBXML_FOR_BUILD),YES)
|
||||
+gb_XMLLINTTARGET :=
|
||||
+gb_XMLLINT := xsltproc
|
||||
+else
|
||||
+gb_XMLLINTTARGET := $(call gb_Executable_get_target_for_build,xsltproc)
|
||||
+gb_XMLLINT := $(gb_Helper_set_ld_path) $(gb_XMLLINTTARGET)
|
||||
+endif
|
||||
+
|
||||
ifeq ($(SYSTEM_PYTHON),YES)
|
||||
gb_PYTHONTARGET :=
|
||||
gb_PYTHON := $(PYTHON)
|
||||
diff --git a/solenv/inc/unitools.mk b/solenv/inc/unitools.mk
|
||||
index 0418fc1..4de797c 100644
|
||||
--- a/solenv/inc/unitools.mk
|
||||
+++ b/solenv/inc/unitools.mk
|
||||
@@ -41,6 +41,14 @@
|
||||
XSLTPROC*=$(AUGMENT_LIBRARY_PATH) xsltproc
|
||||
.ENDIF # "$(SYSTEM_LIBXSLT)"!="YES"
|
||||
|
||||
+.IF "$(XMLLINT)"==""
|
||||
+.IF "$(SYSTEM_LIBXML)"!="YES"
|
||||
+XMLLINT=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/xmllint
|
||||
+.ELSE # "$(SYSTEM_LIBXML)"!="YES"
|
||||
+XMLLINT=$(AUGMENT_LIBRARY_PATH) xmllint
|
||||
+.ENDIF # "$(SYSTEM_LIBXML)"!="YES"
|
||||
+.ENDIF
|
||||
+
|
||||
ULFCONV*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/ulfconv
|
||||
|
||||
MAKEDEPEND*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/makedepend
|
||||
diff --git a/translations/source/nn/helpcontent2/source/text/scalc.po b/translations/source/nn/helpcontent2/source/text/scalc.po
|
||||
index 9105195..d8573a3 100644
|
||||
--- a/translations/source/nn/helpcontent2/source/text/scalc.po
|
||||
+++ b/translations/source/nn/helpcontent2/source/text/scalc.po
|
||||
@@ -179,7 +179,7 @@ msgstr "<ahelp hid=\".\"><emph>Biletlinja</emph> blir vist når du set inn eller
|
||||
|
||||
#: main0203.xhp#tit.help.text
|
||||
msgid "Drawing Object Properties Bar"
|
||||
-msgstr "Linja <emph>Eigenskapar for teikneobjekt</emph>"
|
||||
+msgstr "Linja \"Eigenskapar for teikneobjekt\""
|
||||
|
||||
#: main0203.xhp#hd_id3154346.1.help.text
|
||||
msgid "<link href=\"text/scalc/main0203.xhp\" name=\"Drawing Object Properties Bar\">Drawing Object Properties Bar</link>"
|
||||
@@ -207,7 +207,7 @@ msgstr "<link href=\"text/shared/01/05210100.xhp\" name=\"Background Color\">Bak
|
||||
|
||||
#: main0210.xhp#tit.help.text
|
||||
msgid "Page Preview Bar"
|
||||
-msgstr "Linja <emph>Førehandsvis sida</emph>"
|
||||
+msgstr "Linja \"Førehandsvis sida\""
|
||||
|
||||
#: main0210.xhp#hd_id3156023.1.help.text
|
||||
msgid "<link href=\"text/scalc/main0210.xhp\" name=\"Page Preview Bar\">Page Preview Bar</link>"
|
||||
diff --git a/translations/source/nn/helpcontent2/source/text/swriter.po b/translations/source/nn/helpcontent2/source/text/swriter.po
|
||||
index 80768e6..4aaf28f 100644
|
||||
--- a/translations/source/nn/helpcontent2/source/text/swriter.po
|
||||
+++ b/translations/source/nn/helpcontent2/source/text/swriter.po
|
||||
@@ -516,7 +516,7 @@ msgstr "Desse hjelpeemna er tilgjengelege for menyar og dialogvindauge."
|
||||
|
||||
#: main0205.xhp#tit.help.text
|
||||
msgid "Drawing Object Properties Bar"
|
||||
-msgstr "Verktøylinja <emph>Eigenskapar for teikneobjekt</emph>"
|
||||
+msgstr "Verktøylinja \"Eigenskapar for teikneobjekt\"
|
||||
|
||||
#: main0205.xhp#hd_id3154275.1.help.text
|
||||
msgid "<link href=\"text/swriter/main0205.xhp\" name=\"Drawing Object Properties Bar\">Drawing Object Properties Bar</link>"
|
||||
@@ -597,7 +597,7 @@ msgstr "Dette er ei oversikt over verktøylinjene i $[officename] Writer.<embedv
|
||||
|
||||
#: main0204.xhp#tit.help.text
|
||||
msgid "Table Bar"
|
||||
-msgstr "Verktøylinja <emph>Tabell</emph>"
|
||||
+msgstr "Verktøylinja \"Tabell\""
|
||||
|
||||
#: main0204.xhp#hd_id3145587.1.help.text
|
||||
msgid "<link href=\"text/swriter/main0204.xhp\" name=\"Table Bar\">Table Bar</link>"
|
||||
diff --git a/helpcontent2/helpers/update_tree.pl b/helpcontent2/helpers/update_tree.pl
|
||||
index 8dc7bf4..80befc2 100644
|
||||
--- a/helpcontent2/helpers/update_tree.pl
|
||||
+++ b/helpcontent2/helpers/update_tree.pl
|
||||
@@ -46,6 +46,7 @@ terminate() if ( ! defined $inpath );
|
||||
|
||||
my $destpath = $inpath;
|
||||
my $with_lang = $ENV{WITH_LANG};
|
||||
+my $xmllint = $ENV{XMLLINT};
|
||||
|
||||
|
||||
# Always use / directory separators
|
||||
@@ -308,6 +309,7 @@ sub processtreefiles {
|
||||
unlink "$tree_dest/$lng/$tv" ;
|
||||
my $ret=mv $treetmpfile , "$tree_dest/$lng/$tv$inpath" or &terminate("Cannot write to $tree_dest/$lng/$tv$inpath - Error $!");
|
||||
my $ret=mv "$tree_dest/$lng/$tv$inpath" , "$tree_dest/$lng/$tv" or &terminate("Cannot write to $tree_dest/$lng/$tv - Error $!");
|
||||
+ system("$xmllint --noout --noent $tree_dest/$lng/$tv") == 0 or &terminate("$tree_dest/$lng/$tv is illformed xml (xmllint)" );
|
||||
}
|
||||
} else {
|
||||
&terminate("Cannot write to $tvout");
|
||||
diff --git a/helpcontent2/source/auxiliary/makefile.mk b/helpcontent2/source/auxiliary/makefile.mk
|
||||
index 45ab373..049879b 100644
|
||||
--- a/helpcontent2/source/auxiliary/makefile.mk
|
||||
+++ b/helpcontent2/source/auxiliary/makefile.mk
|
||||
@@ -60,9 +60,11 @@ aux_alllangiso_all:=$(foreach,i,$(alllangiso) $(foreach,j,$(aux_langdirs) $(eq,$
|
||||
aux_alllangiso:=$(foreach,i,$(aux_alllangiso_all) $(foreach,j,$(help_exist) $(eq,$i,$j $i $(NULL))))
|
||||
|
||||
WITH_LANG!:=$(aux_alllangiso)
|
||||
-
|
||||
.EXPORT : WITH_LANG
|
||||
|
||||
+XMLLINT !:=$(XMLLINT)
|
||||
+.EXPORT : XMLLINT
|
||||
+
|
||||
LOCTREEFILES:=$(foreach,i,$(aux_alllangiso) $(foreach,j,$(TREEFILES) $(COMMONMISC)$/$i$/$j))
|
||||
.ELSE #IF "$(WITH_LANG)"!=""
|
||||
aux_langdirs:=en-US
|
10
libreoffice-installfix.patch
Normal file
10
libreoffice-installfix.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/solenv/bin/modules/installer/worker.pm 2010-11-20 13:36:38.000000000 +0000
|
||||
+++ b/solenv/bin/modules/installer/worker.pm 2010-11-20 13:36:42.000000000 +0000
|
||||
@@ -403,7 +403,6 @@
|
||||
{
|
||||
$installdir = installer::systemactions::create_directories("install", $languageref);
|
||||
installer::logger::print_message( "... creating installation set in $installdir ...\n" );
|
||||
- remove_old_installation_sets($installdir);
|
||||
my $inprogressinstalldir = $installdir . "_inprogress";
|
||||
installer::systemactions::rename_directory($installdir, $inprogressinstalldir);
|
||||
$installdir = $inprogressinstalldir;
|
16
libreoffice-multiliblauncher.sh
Executable file
16
libreoffice-multiliblauncher.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
OOO_ARCH=$(uname -m)
|
||||
case $OOO_ARCH in
|
||||
x86_64 | s390x | sparc64 | ppc64)
|
||||
OOO_LIB_DIR="/usr/lib64"
|
||||
SECONDARY_LIB_DIR="/usr/lib"
|
||||
;;
|
||||
* )
|
||||
OOO_LIB_DIR="/usr/lib"
|
||||
SECONDARY_LIB_DIR="/usr/lib64"
|
||||
;;
|
||||
esac
|
||||
if [ ! -x $OOO_LIB_DIR/BRAND/program/LAUNCHER ]; then
|
||||
OOO_LIB_DIR="$SECONDARY_LIB_DIR"
|
||||
fi
|
||||
exec $OOO_LIB_DIR/BRAND/program/LAUNCHER "$@"
|
|
@ -23,3 +23,21 @@ addFilter('E: invalid-desktopfile')
|
|||
# FIXME: Dependencies of the l10n packages should be sorted out better
|
||||
# Not a priority though because directory dependencies work
|
||||
addFilter('E: no-dependency-on')
|
||||
|
||||
# FIXME:
|
||||
addFilter('E: script-without-shebang')
|
||||
|
||||
# libreoffice-base.x86_64: E: outside-libdir-files (Badness: 1) /usr/bin/lobase
|
||||
# libreoffice-calc.x86_64: E: outside-libdir-files (Badness: 1) /usr/share/icons/hicolor/scalable/apps/mandriva-rosa-lo-calc_72.svg
|
||||
# libreoffice-common.x86_64: E: outside-libdir-files (Badness: 1) /usr/share/icons/gnome/48x48/mimetypes/libreoffice-oasis-spreadsheet.png
|
||||
# libreoffice-draw.x86_64: E: outside-libdir-files (Badness: 1) /usr/bin/lodraw
|
||||
# libreoffice-impress.x86_64: E: outside-libdir-files (Badness: 1) /usr/share/icons/hicolor/scalable/apps/mandriva-rosa-lo-impress_72.svg
|
||||
# libreoffice-math.x86_64: E: outside-libdir-files (Badness: 1) /usr/bin/lomath
|
||||
# libreoffice-writer.x86_64: E: outside-libdir-files (Badness: 1) /usr/bin/loweb
|
||||
# /usr/bin files for start up libreoffice apps then does not makes sense being
|
||||
# considerated as libdir-files
|
||||
addFilter('E: outside-libdir-files')
|
||||
|
||||
# openoffice.org64 in the core package conflicts
|
||||
addFilter('E: incoherent-version-in-name')
|
||||
|
||||
|
|
8134
libreoffice.spec
8134
libreoffice.spec
File diff suppressed because it is too large
Load diff
|
@ -1,138 +0,0 @@
|
|||
--- ./framework/source/accelerators/acceleratorcache.cxx.orig 2011-12-15 15:08:41.329168423 -0200
|
||||
+++ ./framework/source/accelerators/acceleratorcache.cxx 2011-12-15 15:17:59.473190664 -0200
|
||||
@@ -61,7 +61,7 @@ AcceleratorCache::AcceleratorCache()
|
||||
AcceleratorCache::AcceleratorCache(const AcceleratorCache& rCopy)
|
||||
: ThreadHelpBase(&Application::GetSolarMutex())
|
||||
{
|
||||
- m_lCommand2Keys = rCopy.m_lCommand2Keys;
|
||||
+ m_lCommand2Keys = const_cast< framework::BaseHash<comphelper::SequenceAsVector<com::sun::star::awt::KeyEvent> >& > (rCopy.m_lCommand2Keys);
|
||||
m_lKey2Commands = rCopy.m_lKey2Commands;
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ void AcceleratorCache::takeOver(const Ac
|
||||
// SAFE -> ----------------------------------
|
||||
WriteGuard aWriteLock(m_aLock);
|
||||
|
||||
- m_lCommand2Keys = rCopy.m_lCommand2Keys;
|
||||
+ m_lCommand2Keys = const_cast< framework::BaseHash<comphelper::SequenceAsVector<com::sun::star::awt::KeyEvent> >& > (rCopy.m_lCommand2Keys);
|
||||
m_lKey2Commands = rCopy.m_lKey2Commands;
|
||||
|
||||
aWriteLock.unlock();
|
||||
--- ./framework/source/loadenv/loadenv.cxx.orig 2011-12-15 15:08:15.771487938 -0200
|
||||
+++ ./framework/source/loadenv/loadenv.cxx 2011-12-15 15:19:06.038358483 -0200
|
||||
@@ -255,7 +255,8 @@ void LoadEnv::initializeLoading(const ::
|
||||
// take over all new parameters.
|
||||
m_xTargetFrame.clear();
|
||||
m_xBaseFrame = xBaseFrame ;
|
||||
- m_lMediaDescriptor = impl_mergeMediaDescriptorWithMightExistingModelArgs(lMediaDescriptor);
|
||||
+ ::comphelper::MediaDescriptor tmp = impl_mergeMediaDescriptorWithMightExistingModelArgs(lMediaDescriptor);
|
||||
+ m_lMediaDescriptor = tmp;
|
||||
m_sTarget = sTarget ;
|
||||
m_nSearchFlags = nSearchFlags ;
|
||||
m_eFeature = eFeature ;
|
||||
--- ./framework/source/uiconfiguration/uiconfigurationmanagerimpl.hxx.orig 2011-12-15 15:08:49.033072112 -0200
|
||||
+++ ./framework/source/uiconfiguration/uiconfigurationmanagerimpl.hxx 2011-12-15 15:11:07.209344668 -0200
|
||||
@@ -175,6 +175,15 @@ namespace framework
|
||||
sal_Int16 nElementType;
|
||||
UIElementDataHashMap aElementsHashMap;
|
||||
com::sun::star::uno::Reference< com::sun::star::embed::XStorage > xStorage;
|
||||
+ UIElementType& operator=(const UIElementType& rRight) {
|
||||
+ bModified = rRight.bModified;
|
||||
+ bLoaded = rRight.bLoaded;
|
||||
+ bDefaultLayer = rRight.bDefaultLayer;
|
||||
+ nElementType = rRight.nElementType;
|
||||
+ aElementsHashMap = rRight.aElementsHashMap;
|
||||
+ xStorage = rRight.xStorage;
|
||||
+ return *this;
|
||||
+ };
|
||||
};
|
||||
|
||||
typedef ::std::vector< UIElementType > UIElementTypesVector;
|
||||
--- ./framework/inc/uiconfiguration/moduleuiconfigurationmanager.hxx.orig 2011-12-19 11:10:56.000000000 +0000
|
||||
+++ ./framework/inc/uiconfiguration/moduleuiconfigurationmanager.hxx 2011-12-19 11:12:06.000000000 +0000
|
||||
@@ -185,6 +185,15 @@ namespace framework
|
||||
sal_Int16 nElementType;
|
||||
UIElementDataHashMap aElementsHashMap;
|
||||
com::sun::star::uno::Reference< com::sun::star::embed::XStorage > xStorage;
|
||||
+ UIElementType& operator=(const UIElementType& rRight) {
|
||||
+ bModified = rRight.bModified;
|
||||
+ bLoaded = rRight.bLoaded;
|
||||
+ bDefaultLayer = rRight.bDefaultLayer;
|
||||
+ nElementType = rRight.nElementType;
|
||||
+ aElementsHashMap = rRight.aElementsHashMap;
|
||||
+ xStorage = rRight.xStorage;
|
||||
+ return *this;
|
||||
+ };
|
||||
};
|
||||
|
||||
typedef ::std::vector< UIElementType > UIElementTypesVector;
|
||||
--- ./framework/inc/uiconfiguration/uiconfigurationmanager.hxx.orig 2011-12-19 11:14:17.000000000 +0000
|
||||
+++ ./framework/inc/uiconfiguration/uiconfigurationmanager.hxx 2011-12-19 11:15:16.000000000 +0000
|
||||
@@ -171,6 +171,15 @@ namespace framework
|
||||
sal_Int16 nElementType;
|
||||
UIElementDataHashMap aElementsHashMap;
|
||||
com::sun::star::uno::Reference< com::sun::star::embed::XStorage > xStorage;
|
||||
+ UIElementType& operator=(const UIElementType& rRight) {
|
||||
+ bModified = rRight.bModified;
|
||||
+ bLoaded = rRight.bLoaded;
|
||||
+ bDefaultLayer = rRight.bDefaultLayer;
|
||||
+ nElementType = rRight.nElementType;
|
||||
+ aElementsHashMap = rRight.aElementsHashMap;
|
||||
+ xStorage = rRight.xStorage;
|
||||
+ return *this;
|
||||
+ };
|
||||
};
|
||||
|
||||
typedef ::std::vector< UIElementType > UIElementTypesVector;
|
||||
|
||||
--- ./padmin/source/prtsetup.cxx.orig 2011-12-15 15:09:05.133870823 -0200
|
||||
+++ ./padmin/source/prtsetup.cxx 2011-12-15 15:13:55.626239170 -0200
|
||||
@@ -813,7 +813,7 @@ extern "C" {
|
||||
|
||||
if( aDialog.Execute() )
|
||||
{
|
||||
- rJobData = aDialog.getSetup();
|
||||
+ rJobData = const_cast< ::psp::PrinterInfo & > ( aDialog.getSetup() );
|
||||
nRet = 1;
|
||||
}
|
||||
|
||||
--- ./sfx2/source/doc/guisaveas.cxx.orig 2011-12-15 15:08:58.332955848 -0200
|
||||
+++ ./sfx2/source/doc/guisaveas.cxx 2011-12-15 15:12:39.953185212 -0200
|
||||
@@ -731,7 +731,7 @@ sal_Int8 ModelData_Impl::CheckFilter( co
|
||||
if ( aFilterName.getLength() )
|
||||
m_pOwner->GetFilterConfiguration()->getByName( aFilterName ) >>= aFilterProps;
|
||||
|
||||
- aFiltPropsHM = ::comphelper::SequenceAsHashMap( aFilterProps );
|
||||
+ aFiltPropsHM << aFilterProps;
|
||||
nFiltFlags = aFiltPropsHM.getUnpackedValueOrDefault( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Flags")), (sal_Int32)0 );
|
||||
}
|
||||
|
||||
--- ./framework/inc/classes/filtercachedata.hxx.orig 2011-12-17 13:14:22.102898902 +0000
|
||||
+++ ./framework/inc/classes/filtercachedata.hxx 2011-12-17 13:17:51.524424012 +0000
|
||||
@@ -230,7 +230,7 @@
|
||||
{
|
||||
bPreferred = rCopy.bPreferred ;
|
||||
sName = rCopy.sName ;
|
||||
- lUINames = rCopy.lUINames ;
|
||||
+ lUINames = const_cast < framework::BaseHash<rtl::OUString>& > (rCopy.lUINames);
|
||||
sMediaType = rCopy.sMediaType ;
|
||||
sClipboardFormat = rCopy.sClipboardFormat;
|
||||
nDocumentIconID = rCopy.nDocumentIconID ;
|
||||
@@ -298,7 +298,7 @@
|
||||
nOrder = rCopy.nOrder ;
|
||||
sName = rCopy.sName ;
|
||||
sType = rCopy.sType ;
|
||||
- lUINames = rCopy.lUINames ;
|
||||
+ lUINames = const_cast < framework::BaseHash<rtl::OUString>& > (rCopy.lUINames);
|
||||
sDocumentService = rCopy.sDocumentService ;
|
||||
sFilterService = rCopy.sFilterService ;
|
||||
sUIComponent = rCopy.sUIComponent ;
|
||||
@@ -405,7 +405,7 @@
|
||||
inline Loader& impl_copy( const Loader& rCopy )
|
||||
{
|
||||
sName = rCopy.sName ;
|
||||
- lUINames = rCopy.lUINames ;
|
||||
+ lUINames = const_cast < framework::BaseHash<rtl::OUString>& > (rCopy.lUINames);
|
||||
lTypes = rCopy.lTypes ;
|
||||
return (*this);
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
--- sysui/prj/build.lst.old1 2011-08-01 18:41:26.000000000 +0000
|
||||
+++ sysui/prj/build.lst 2011-08-01 18:42:37.000000000 +0000
|
||||
@@ -13,7 +13,6 @@
|
||||
su sysui\desktop\mandriva nmake - u su_dtmdk su_dtshare.u NULL
|
||||
su sysui\desktop\freedesktop nmake - u su_dtfreedesktop su_dtredhat.u NULL
|
||||
su sysui\desktop\debian nmake - u su_dtdebian su_dtshare.u NULL
|
||||
-su sysui\desktop\slackware nmake - u su_dtslackware su_dtshare.u NULL
|
||||
su sysui\desktop\solaris nmake - u su_dtsolaris su_dtshare.u NULL
|
||||
-su sysui\desktop\util nmake - u su_desktop su_dtredhat.u su_dtsuse.u su_dtmdk.u su_dtfreedesktop.u su_dtdebian.u su_dtslackware.u NULL
|
||||
+su sysui\desktop\util nmake - u su_desktop su_dtredhat.u su_dtsuse.u su_dtmdk.u su_dtfreedesktop.u su_dtdebian.u NULL
|
||||
su sysui\util nmake - all su_util su_dtsolaris.u su_desktop.u su_iconsw.w NULL
|
15
openoffice.org-2.0.2.rh188467.printingdefaults.patch
Normal file
15
openoffice.org-2.0.2.rh188467.printingdefaults.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: configuration/ppds/SGENPRT.PS
|
||||
===================================================================
|
||||
RCS file: /cvs/external/psprint_config/configuration/ppds/SGENPRT.PS,v
|
||||
retrieving revision 1.3
|
||||
diff -u -p -u -r1.3 SGENPRT.PS
|
||||
--- openoffice.org.orig/psprint_config/configuration/ppds/SGENPRT.PS 26 Nov 2004 16:10:35 -0000 1.3
|
||||
+++ openoffice.org/psprint_config/configuration/ppds/SGENPRT.PS 30 Aug 2005 11:17:51 -0000
|
||||
@@ -58,6 +58,7 @@
|
||||
*ColorDevice: True
|
||||
*DefaultColorSpace: RGB
|
||||
*LanguageLevel: "2"
|
||||
+*TTRasterizer: Type42
|
||||
|
||||
*% --- For None Color or old PostScript(R) printers use following lines ---
|
||||
*% *ColorDevice: False
|
47
openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
Normal file
47
openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
Normal file
|
@ -0,0 +1,47 @@
|
|||
--- openoffice.org.orig/desktop/scripts/unopkg.sh 2008-01-14 15:55:26.000000000 +0000
|
||||
+++ openoffice.org/desktop/scripts/unopkg.sh 2008-02-14 10:52:10.000000000 +0000
|
||||
@@ -62,6 +62,33 @@
|
||||
;;
|
||||
esac
|
||||
|
||||
+isnotuser=0
|
||||
+for arg in $@
|
||||
+do
|
||||
+if [ "$arg" = "--shared" -o "$arg" = "--bundled" ]; then
|
||||
+ isnotuser=1
|
||||
+fi
|
||||
+done
|
||||
+if [ $isnotuser -eq 1 ]; then
|
||||
+ echo $@ | grep -q env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY
|
||||
+ if [ $? -ne 0 ]; then
|
||||
+ set -- $@ '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1'
|
||||
+ fi
|
||||
+ echo $@ | grep -q env:UNO_JAVA_JFW_INSTALL_DATA
|
||||
+ if [ $? -ne 0 -a -w $sd_prog/../share/config/javasettingsunopkginstall.xml ]; then
|
||||
+ set -- $@ '-env:UNO_JAVA_JFW_INSTALL_DATA=$$ORIGIN/../share/config/javasettingsunopkginstall.xml'
|
||||
+ fi
|
||||
+ echo $@ | grep -q env:UserInstallation
|
||||
+ if [ $? -ne 0 ]; then
|
||||
+ INSTDIR=`/bin/mktemp -d --tmpdir unoinstall.XXXXXX`
|
||||
+ if [ $? -ne 0 ]; then
|
||||
+ echo "Could not create tmp dir" >&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ set -- $@ '-env:UserInstallation=file://'$INSTDIR
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
#collect all bootstrap variables specified on the command line
|
||||
#so that they can be passed as arguments to javaldx later on
|
||||
#Recognize the "sync" option. sync must be applied without any other
|
||||
@@ -110,6 +137,8 @@
|
||||
# SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS
|
||||
|
||||
# execute binary
|
||||
-exec "$sd_prog/unopkg.bin" "$@" $JVMFWKPARAMS \
|
||||
+"$sd_prog/unopkg.bin" "$@" $JVMFWKPARAMS \
|
||||
"-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"
|
||||
-
|
||||
+if [ -n "$INSTDIR" ]; then
|
||||
+ rm -rf $INSTDIR
|
||||
+fi
|
141
openoffice.org-3.0.0.ooo88341.sc.verticalboxes.patch
Normal file
141
openoffice.org-3.0.0.ooo88341.sc.verticalboxes.patch
Normal file
|
@ -0,0 +1,141 @@
|
|||
From 5316edea6948f3e2a77e4fc68799f67de21fada7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Mon, 5 Dec 2011 15:28:19 +0100
|
||||
Subject: [PATCH] vertical content overflowing out of cell (#i88341#)
|
||||
|
||||
---
|
||||
sc/source/ui/inc/output.hxx | 2 +
|
||||
sc/source/ui/view/output2.cxx | 66 ++++++++++++++++++++++++++--------------
|
||||
2 files changed, 45 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
|
||||
index 72934cf..3a91c14 100644
|
||||
--- a/sc/source/ui/inc/output.hxx
|
||||
+++ b/sc/source/ui/inc/output.hxx
|
||||
@@ -306,6 +306,8 @@ public:
|
||||
void DrawExtraShadow(sal_Bool bLeft, sal_Bool bTop, sal_Bool bRight, sal_Bool bBottom);
|
||||
void DrawFrame();
|
||||
|
||||
+ bool UseNormalClip(SCROW nCellY, const SfxItemSet* pCondSet);
|
||||
+
|
||||
// with logic MapMode set!
|
||||
void DrawEdit(sal_Bool bPixelToLogic);
|
||||
|
||||
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
|
||||
index de1506a..5522e69 100644
|
||||
--- a/sc/source/ui/view/output2.cxx
|
||||
+++ b/sc/source/ui/view/output2.cxx
|
||||
@@ -2818,13 +2818,7 @@ void ScOutputData::DrawEditStandard(DrawEditParam& rParam)
|
||||
(ScMergeAttr*)&rParam.mpPattern->GetItem(ATTR_MERGE);
|
||||
bool bMerged = pMerge->GetColMerge() > 1 || pMerge->GetRowMerge() > 1;
|
||||
|
||||
- // Don't clip for text height when printing rows with optimal height,
|
||||
- // except when font size is from conditional formatting.
|
||||
- //! Allow clipping when vertically merged?
|
||||
- if ( eType != OUTTYPE_PRINTER ||
|
||||
- ( pDoc->GetRowFlags( rParam.mnCellY, nTab ) & CR_MANUALSIZE ) ||
|
||||
- ( rParam.mpCondSet && SFX_ITEM_SET ==
|
||||
- rParam.mpCondSet->GetItemState(ATTR_FONT_HEIGHT, true) ) )
|
||||
+ if (UseNormalClip(rParam.mnCellY, rParam.mpCondSet))
|
||||
bClip = true;
|
||||
else
|
||||
bSimClip = true;
|
||||
@@ -2859,6 +2853,19 @@ void ScOutputData::DrawEditStandard(DrawEditParam& rParam)
|
||||
}
|
||||
|
||||
Rectangle aLogicClip;
|
||||
+ if (
|
||||
+ ((nAttrRotate == 9000) || (nAttrRotate == 27000)) &&
|
||||
+ (!(rParam.meOrient==SVX_ORIENTATION_STANDARD &&
|
||||
+ !rParam.mbAsianVertical)) &&
|
||||
+ (!(bClip || bSimClip))
|
||||
+ )
|
||||
+ {
|
||||
+ if (UseNormalClip(rParam.mnCellY, rParam.mpCondSet))
|
||||
+ bClip = true;
|
||||
+ else
|
||||
+ bSimClip = true;
|
||||
+ }
|
||||
+
|
||||
if (bClip || bSimClip)
|
||||
{
|
||||
// Clip marks are already handled in GetOutputArea
|
||||
@@ -3191,13 +3198,8 @@ void ScOutputData::DrawEditBottomTop(DrawEditParam& rParam)
|
||||
(ScMergeAttr*)&rParam.mpPattern->GetItem(ATTR_MERGE);
|
||||
bool bMerged = pMerge->GetColMerge() > 1 || pMerge->GetRowMerge() > 1;
|
||||
|
||||
- // Don't clip for text height when printing rows with optimal height,
|
||||
- // except when font size is from conditional formatting.
|
||||
- //! Allow clipping when vertically merged?
|
||||
- if ( eType != OUTTYPE_PRINTER ||
|
||||
- ( pDoc->GetRowFlags( rParam.mnCellY, nTab ) & CR_MANUALSIZE ) ||
|
||||
- ( rParam.mpCondSet && SFX_ITEM_SET ==
|
||||
- rParam.mpCondSet->GetItemState(ATTR_FONT_HEIGHT, true) ) )
|
||||
+
|
||||
+ if (UseNormalClip(rParam.mnCellY, rParam.mpCondSet))
|
||||
bClip = true;
|
||||
else
|
||||
bSimClip = true;
|
||||
@@ -3563,13 +3565,7 @@ void ScOutputData::DrawEditTopBottom(DrawEditParam& rParam)
|
||||
(ScMergeAttr*)&rParam.mpPattern->GetItem(ATTR_MERGE);
|
||||
bool bMerged = pMerge->GetColMerge() > 1 || pMerge->GetRowMerge() > 1;
|
||||
|
||||
- // Don't clip for text height when printing rows with optimal height,
|
||||
- // except when font size is from conditional formatting.
|
||||
- //! Allow clipping when vertically merged?
|
||||
- if ( eType != OUTTYPE_PRINTER ||
|
||||
- ( pDoc->GetRowFlags( rParam.mnCellY, nTab ) & CR_MANUALSIZE ) ||
|
||||
- ( rParam.mpCondSet && SFX_ITEM_SET ==
|
||||
- rParam.mpCondSet->GetItemState(ATTR_FONT_HEIGHT, true) ) )
|
||||
+ if (UseNormalClip(rParam.mnCellY, rParam.mpCondSet))
|
||||
bClip = true;
|
||||
else
|
||||
bSimClip = true;
|
||||
@@ -4460,6 +4456,20 @@ void ScOutputData::DrawEditAsianVertical(DrawEditParam& rParam)
|
||||
rParam.adjustForHyperlinkInPDF(aURLStart, pDev);
|
||||
}
|
||||
|
||||
+bool ScOutputData::UseNormalClip(SCROW nCellY, const SfxItemSet* pCondSet)
|
||||
+{
|
||||
+ bool bNormalClip = false;
|
||||
+ // Don't clip for text height when printing rows with optimal height,
|
||||
+ // except when font size is from conditional formatting.
|
||||
+ //! Allow clipping when vertically merged?
|
||||
+ if ( eType != OUTTYPE_PRINTER ||
|
||||
+ ( pDoc->GetRowFlags( nCellY, nTab ) & CR_MANUALSIZE ) ||
|
||||
+ ( pCondSet && SFX_ITEM_SET ==
|
||||
+ pCondSet->GetItemState(ATTR_FONT_HEIGHT, sal_True) ) )
|
||||
+ bNormalClip = true;
|
||||
+ return bNormalClip;
|
||||
+}
|
||||
+
|
||||
void ScOutputData::DrawEdit(sal_Bool bPixelToLogic)
|
||||
{
|
||||
ScFieldEditEngine* pEngine = NULL;
|
||||
@@ -5168,11 +5178,21 @@ void ScOutputData::DrawRotated(sal_Bool bPixelToLogic)
|
||||
else
|
||||
{
|
||||
// bei gedrehtem Text ist Standard zentriert
|
||||
+ long nDiff = 0;
|
||||
if (eHorJust==SVX_HOR_JUSTIFY_RIGHT)
|
||||
- aLogicStart.X() += nAvailWidth - nEngineWidth;
|
||||
+ nDiff = nAvailWidth - nEngineWidth;
|
||||
else if (eHorJust==SVX_HOR_JUSTIFY_CENTER ||
|
||||
eHorJust==SVX_HOR_JUSTIFY_STANDARD)
|
||||
- aLogicStart.X() += (nAvailWidth - nEngineWidth) / 2;
|
||||
+ nDiff = (nAvailWidth - nEngineWidth) / 2;
|
||||
+
|
||||
+ if (nEngineWidth > nAvailWidth)
|
||||
+ {
|
||||
+ if (nAttrRotate == 9000)
|
||||
+ nDiff = 0;
|
||||
+ else if (nAttrRotate == 27000)
|
||||
+ nDiff = nAvailWidth - nEngineWidth;
|
||||
+ }
|
||||
+ aLogicStart.X() += nDiff;
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
1.7.7.3
|
||||
|
187
openoffice.org-3.1.0.ooo101274.opening-a-directory.patch
Normal file
187
openoffice.org-3.1.0.ooo101274.opening-a-directory.patch
Normal file
|
@ -0,0 +1,187 @@
|
|||
From 7e3bdb601c02e60b772e64ec9d11c56881c9a643 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Thu, 1 Dec 2011 14:02:07 +0100
|
||||
Subject: [PATCH 1/2] #i101274 a directory on command line is silently ignored
|
||||
|
||||
---
|
||||
.../source/misc/stillreadwriteinteraction.cxx | 1 +
|
||||
ucbhelper/source/client/content.cxx | 75 ++++++++++++++++++++
|
||||
2 files changed, 76 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/comphelper/source/misc/stillreadwriteinteraction.cxx b/comphelper/source/misc/stillreadwriteinteraction.cxx
|
||||
index 124564d..506f31c 100644
|
||||
--- a/comphelper/source/misc/stillreadwriteinteraction.cxx
|
||||
+++ b/comphelper/source/misc/stillreadwriteinteraction.cxx
|
||||
@@ -96,6 +96,7 @@ ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction:
|
||||
bAbort = (
|
||||
(exIO.Code == css::ucb::IOErrorCode_ACCESS_DENIED )
|
||||
|| (exIO.Code == css::ucb::IOErrorCode_LOCKING_VIOLATION )
|
||||
+ || (exIO.Code == css::ucb::IOErrorCode_NO_FILE )
|
||||
|| (exIO.Code == css::ucb::IOErrorCode_NOT_EXISTING )
|
||||
#ifdef MACOSX
|
||||
// this is a workaround for MAC, on this platform if the file is locked
|
||||
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
|
||||
index 676acd5..4a599c9 100644
|
||||
--- a/ucbhelper/source/client/content.cxx
|
||||
+++ b/ucbhelper/source/client/content.cxx
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <cppuhelper/weak.hxx>
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
+#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
#include <com/sun/star/ucb/ContentCreationError.hpp>
|
||||
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
|
||||
#include <com/sun/star/ucb/XCommandInfo.hpp>
|
||||
@@ -47,6 +48,8 @@
|
||||
#include <com/sun/star/ucb/ContentAction.hpp>
|
||||
#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
|
||||
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
|
||||
+#include <com/sun/star/ucb/IOErrorCode.hpp>
|
||||
+#include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp>
|
||||
#include <com/sun/star/ucb/GlobalTransferCommandArgument.hpp>
|
||||
#include <com/sun/star/ucb/NameClash.hpp>
|
||||
#include <com/sun/star/ucb/OpenMode.hpp>
|
||||
@@ -64,6 +67,8 @@
|
||||
#include <com/sun/star/sdbc/XRow.hpp>
|
||||
#include <com/sun/star/lang/IllegalArgumentException.hpp>
|
||||
#include <com/sun/star/beans/UnknownPropertyException.hpp>
|
||||
+#include <com/sun/star/task/XInteractionRequest.hpp>
|
||||
+
|
||||
#include <ucbhelper/macros.hxx>
|
||||
#include <ucbhelper/content.hxx>
|
||||
#include <ucbhelper/contentbroker.hxx>
|
||||
@@ -71,6 +76,10 @@
|
||||
#include <ucbhelper/activedatastreamer.hxx>
|
||||
#include <ucbhelper/interactionrequest.hxx>
|
||||
#include <ucbhelper/cancelcommandexecution.hxx>
|
||||
+#include <ucbhelper/fileidentifierconverter.hxx>
|
||||
+#include <ucbhelper/simpleinteractionrequest.hxx>
|
||||
+
|
||||
+#include <memory>
|
||||
|
||||
using namespace com::sun::star::container;
|
||||
using namespace com::sun::star::beans;
|
||||
@@ -373,6 +382,54 @@ static Reference< XContent > getContent(
|
||||
return Reference< XContent >();
|
||||
}
|
||||
|
||||
+namespace
|
||||
+{
|
||||
+
|
||||
+void
|
||||
+lcl_displayMessage(
|
||||
+ const Reference<XCommandEnvironment>& rEnvironment,
|
||||
+ const rtl::OUString& rUri)
|
||||
+{
|
||||
+ // Create exception
|
||||
+ const Reference<XContentProviderManager> xCPM(
|
||||
+ getContentBroker(true)->getContentProviderManagerInterface());
|
||||
+ const PropertyValue aUriProperty(
|
||||
+ rtl::OUString::createFromAscii("Uri"),
|
||||
+ -1,
|
||||
+ makeAny(getSystemPathFromFileURL(xCPM, rUri)),
|
||||
+ PropertyState_DIRECT_VALUE)
|
||||
+ ;
|
||||
+ Sequence<Any> lArguments(1);
|
||||
+ lArguments[0] <<= aUriProperty;
|
||||
+ const InteractiveAugmentedIOException xError(
|
||||
+ rtl::OUString(),
|
||||
+ 0,
|
||||
+ InteractionClassification_ERROR,
|
||||
+ IOErrorCode_NO_FILE,
|
||||
+ lArguments)
|
||||
+ ;
|
||||
+
|
||||
+ // Create interaction request
|
||||
+ std::auto_ptr<ucbhelper::SimpleInteractionRequest> aRequest(
|
||||
+ new ucbhelper::SimpleInteractionRequest(makeAny(xError), CONTINUATION_APPROVE));
|
||||
+ {
|
||||
+ Reference<XInteractionContinuation> xContinuation(
|
||||
+ new ::ucbhelper::InteractionApprove(aRequest.get()));
|
||||
+ Sequence<Reference<XInteractionContinuation> > lContinuations(1);
|
||||
+ lContinuations[0].set(xContinuation);
|
||||
+ aRequest->setContinuations(lContinuations);
|
||||
+ }
|
||||
+
|
||||
+ Reference<XInteractionHandler> xInteraction(rEnvironment->getInteractionHandler());
|
||||
+ if (xInteraction.is())
|
||||
+ {
|
||||
+ Reference<XInteractionRequest> xRequest(aRequest.release());
|
||||
+ xInteraction->handle(xRequest);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+}
|
||||
+
|
||||
//=========================================================================
|
||||
//=========================================================================
|
||||
//
|
||||
@@ -890,7 +947,10 @@ Reference< XInputStream > Content::openStream()
|
||||
throw( CommandAbortedException, RuntimeException, Exception )
|
||||
{
|
||||
if ( !isDocument() )
|
||||
+ {
|
||||
+ lcl_displayMessage(m_xImpl->getEnvironment(), getURL());
|
||||
return Reference< XInputStream >();
|
||||
+ }
|
||||
|
||||
Reference< XActiveDataSink > xSink = new ActiveDataSink;
|
||||
|
||||
@@ -915,7 +975,10 @@ Reference< XInputStream > Content::openStreamNoLock()
|
||||
throw( CommandAbortedException, RuntimeException, Exception )
|
||||
{
|
||||
if ( !isDocument() )
|
||||
+ {
|
||||
+ lcl_displayMessage(m_xImpl->getEnvironment(), getURL());
|
||||
return Reference< XInputStream >();
|
||||
+ }
|
||||
|
||||
Reference< XActiveDataSink > xSink = new ActiveDataSink;
|
||||
|
||||
@@ -940,7 +1003,10 @@ Reference< XStream > Content::openWriteableStream()
|
||||
throw( CommandAbortedException, RuntimeException, Exception )
|
||||
{
|
||||
if ( !isDocument() )
|
||||
+ {
|
||||
+ lcl_displayMessage(m_xImpl->getEnvironment(), getURL());
|
||||
return Reference< XStream >();
|
||||
+ }
|
||||
|
||||
Reference< XActiveDataStreamer > xStreamer = new ActiveDataStreamer;
|
||||
|
||||
@@ -965,7 +1031,10 @@ Reference< XStream > Content::openWriteableStreamNoLock()
|
||||
throw( CommandAbortedException, RuntimeException, Exception )
|
||||
{
|
||||
if ( !isDocument() )
|
||||
+ {
|
||||
+ lcl_displayMessage(m_xImpl->getEnvironment(), getURL());
|
||||
return Reference< XStream >();
|
||||
+ }
|
||||
|
||||
Reference< XActiveDataStreamer > xStreamer = new ActiveDataStreamer;
|
||||
|
||||
@@ -990,7 +1059,10 @@ sal_Bool Content::openStream( const Reference< XActiveDataSink >& rSink )
|
||||
throw( CommandAbortedException, RuntimeException, Exception )
|
||||
{
|
||||
if ( !isDocument() )
|
||||
+ {
|
||||
+ lcl_displayMessage(m_xImpl->getEnvironment(), getURL());
|
||||
return sal_False;
|
||||
+ }
|
||||
|
||||
OpenCommandArgument2 aArg;
|
||||
aArg.Mode = OpenMode::DOCUMENT;
|
||||
@@ -1013,7 +1085,10 @@ sal_Bool Content::openStream( const Reference< XOutputStream >& rStream )
|
||||
throw( CommandAbortedException, RuntimeException, Exception )
|
||||
{
|
||||
if ( !isDocument() )
|
||||
+ {
|
||||
+ lcl_displayMessage(m_xImpl->getEnvironment(), getURL());
|
||||
return sal_False;
|
||||
+ }
|
||||
|
||||
OpenCommandArgument2 aArg;
|
||||
aArg.Mode = OpenMode::DOCUMENT;
|
||||
--
|
||||
1.7.7.3
|
||||
|
78
openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch
Normal file
78
openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch
Normal file
|
@ -0,0 +1,78 @@
|
|||
Index: bin/modules/installer/scriptitems.pm
|
||||
===================================================================
|
||||
RCS file: /cvs/tools/solenv/bin/modules/installer/scriptitems.pm,v
|
||||
retrieving revision 1.17
|
||||
diff -u -p -r1.17 scriptitems.pm
|
||||
--- openoffice.org.orig/solenv/bin/modules/installer/scriptitems.pm 24 Feb 2005 16:21:15 -0000 1.17
|
||||
+++ openoffice.org/solenv/bin/modules/installer/scriptitems.pm 18 Mar 2005 22:39:42 -0000
|
||||
@@ -1066,7 +1066,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- $infoline = "ERROR: Source for $$searchfilenameref not found!\n"; # Important message in log file
|
||||
+ $infoline = "WARNING: Source for $$searchfilenameref not found!\n"; # Important message in log file
|
||||
}
|
||||
|
||||
push( @installer::globals::logfileinfo, $infoline);
|
||||
@@ -1144,7 +1144,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- $infoline = "ERROR: Source for $$searchfilenameref not found!\n"; # Important message in log file
|
||||
+ $infoline = "WARNING: Source for $$searchfilenameref not found!\n"; # Important message in log file
|
||||
}
|
||||
|
||||
push( @installer::globals::logfileinfo, $infoline);
|
||||
@@ -1356,11 +1356,10 @@
|
||||
|
||||
if ( ! $installer::globals::languagepack && !$installer::globals::helppack)
|
||||
{
|
||||
- $infoline = "ERROR: Removing file $filename from file list.\n";
|
||||
+ $infoline = "WARNING: Removing file $filename from file list.\n";
|
||||
push( @installer::globals::logfileinfo, $infoline);
|
||||
|
||||
- push(@missingfiles, "ERROR: File not found: $filename\n");
|
||||
- $error_occurred = 1;
|
||||
+ push(@missingfiles, "WARNING: File not found: $filename\n");
|
||||
|
||||
next; # removing this file from list, if sourcepath is empty
|
||||
}
|
||||
@@ -1368,11 +1367,10 @@
|
||||
{
|
||||
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCELANGUAGEPACK\b/ ))
|
||||
{
|
||||
- $infoline = "ERROR: Removing file $filename from file list.\n";
|
||||
+ $infoline = "WARNING: Removing file $filename from file list.\n";
|
||||
push( @installer::globals::logfileinfo, $infoline);
|
||||
|
||||
- push(@missingfiles, "ERROR: File not found: $filename\n");
|
||||
- $error_occurred = 1;
|
||||
+ push(@missingfiles, "WARNING: File not found: $filename\n");
|
||||
|
||||
next; # removing this file from list, if sourcepath is empty
|
||||
}
|
||||
@@ -1390,11 +1388,10 @@
|
||||
{
|
||||
if (( $onefile->{'ismultilingual'} ) || ( $styles =~ /\bFORCEHELPPACK\b/ ))
|
||||
{
|
||||
- $infoline = "ERROR: Removing file $filename from file list.\n";
|
||||
+ $infoline = "WARNING: Removing file $filename from file list.\n";
|
||||
push( @installer::globals::logfileinfo, $infoline);
|
||||
|
||||
- push(@missingfiles, "ERROR: File not found: $filename\n");
|
||||
- $error_occured = 1;
|
||||
+ push(@missingfiles, "WARNING: File not found: $filename\n");
|
||||
|
||||
next; # removing this file from list, if sourcepath is empty
|
||||
}
|
||||
--- openoffice.org.orig/solenv/bin/modules/installer/simplepackage.pm 2010-07-12 10:27:26.000000000 +0100
|
||||
+++ openoffice.org/solenv/bin/modules/installer/simplepackage.pm 2010-07-12 10:27:54.000000000 +0100
|
||||
@@ -53,7 +53,7 @@
|
||||
( $installer::globals::packageformat eq "archive" ))
|
||||
{
|
||||
$installer::globals::is_simple_packager_project = 1;
|
||||
- $installer::globals::patch_user_dir = 1;
|
||||
+ $installer::globals::patch_user_dir = 0;
|
||||
}
|
||||
elsif( $installer::globals::packageformat eq "dmg" )
|
||||
{
|
199
openoffice.org-3.1.1.ooo105784.vcl.sniffscriptforsubs.patch
Normal file
199
openoffice.org-3.1.1.ooo105784.vcl.sniffscriptforsubs.patch
Normal file
|
@ -0,0 +1,199 @@
|
|||
From 36644331aad8382ccab7fb19d7ab3339bbff0c20 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
||||
Date: Thu, 1 Dec 2011 14:18:09 +0100
|
||||
Subject: [PATCH 2/2] #i105784# vcl: improve selection of fallback font by
|
||||
supplying language hint when none exists
|
||||
|
||||
---
|
||||
vcl/generic/fontmanager/fontconfig.cxx | 143 +++++++++++++++++++++++++++++++-
|
||||
1 files changed, 141 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx
|
||||
index 4d02a76..ecd3b5d 100644
|
||||
--- a/vcl/generic/fontmanager/fontconfig.cxx
|
||||
+++ b/vcl/generic/fontmanager/fontconfig.cxx
|
||||
@@ -89,6 +89,9 @@ using namespace psp;
|
||||
|
||||
#include "sal/alloca.h"
|
||||
|
||||
+#include <i18nutil/unicode.hxx> //unicode::getUnicodeScriptType
|
||||
+#include <com/sun/star/i18n/ScriptType.hdl> //ScriptType
|
||||
+
|
||||
#include <utility>
|
||||
#include <algorithm>
|
||||
|
||||
@@ -747,6 +750,138 @@ static void addtopattern(FcPattern *pPattern,
|
||||
}
|
||||
}
|
||||
|
||||
+static const char* pick_sample_language(const sal_uInt32 cCode)
|
||||
+{
|
||||
+ using namespace ::com::sun::star::i18n;
|
||||
+
|
||||
+ static ScriptTypeList aScripts[] =
|
||||
+ {
|
||||
+ { UnicodeScript_kBasicLatin, UnicodeScript_kBasicLatin, UnicodeScript_kBasicLatin },
|
||||
+ { UnicodeScript_kLatin1Supplement, UnicodeScript_kLatin1Supplement, UnicodeScript_kLatin1Supplement },
|
||||
+ { UnicodeScript_kLatinExtendedA, UnicodeScript_kLatinExtendedA, UnicodeScript_kLatinExtendedA },
|
||||
+ { UnicodeScript_kLatinExtendedB, UnicodeScript_kLatinExtendedB, UnicodeScript_kLatinExtendedB },
|
||||
+ { UnicodeScript_kGreek, UnicodeScript_kGreek, UnicodeScript_kGreek },
|
||||
+ { UnicodeScript_kCyrillic, UnicodeScript_kCyrillic, UnicodeScript_kCyrillic },
|
||||
+ { UnicodeScript_kArmenian, UnicodeScript_kArmenian, UnicodeScript_kArmenian },
|
||||
+ { UnicodeScript_kHebrew, UnicodeScript_kHebrew, UnicodeScript_kHebrew },
|
||||
+ { UnicodeScript_kArabic, UnicodeScript_kArabic, UnicodeScript_kArabic },
|
||||
+ { UnicodeScript_kSyriac, UnicodeScript_kSyriac, UnicodeScript_kSyriac },
|
||||
+ { UnicodeScript_kThaana, UnicodeScript_kThaana, UnicodeScript_kThaana },
|
||||
+ { UnicodeScript_kDevanagari, UnicodeScript_kDevanagari, UnicodeScript_kDevanagari },
|
||||
+ { UnicodeScript_kBengali, UnicodeScript_kBengali, UnicodeScript_kBengali },
|
||||
+ { UnicodeScript_kGurmukhi, UnicodeScript_kGurmukhi, UnicodeScript_kGurmukhi },
|
||||
+ { UnicodeScript_kGujarati, UnicodeScript_kGujarati, UnicodeScript_kGujarati },
|
||||
+ { UnicodeScript_kOriya, UnicodeScript_kOriya, UnicodeScript_kOriya },
|
||||
+ { UnicodeScript_kTamil, UnicodeScript_kTamil, UnicodeScript_kTamil },
|
||||
+ { UnicodeScript_kTelugu, UnicodeScript_kTelugu, UnicodeScript_kTelugu },
|
||||
+ { UnicodeScript_kKannada, UnicodeScript_kKannada, UnicodeScript_kKannada },
|
||||
+ { UnicodeScript_kMalayalam, UnicodeScript_kMalayalam, UnicodeScript_kMalayalam },
|
||||
+ { UnicodeScript_kSinhala, UnicodeScript_kSinhala, UnicodeScript_kSinhala },
|
||||
+ { UnicodeScript_kThai, UnicodeScript_kThai, UnicodeScript_kThai },
|
||||
+ { UnicodeScript_kLao, UnicodeScript_kLao, UnicodeScript_kLao },
|
||||
+ { UnicodeScript_kTibetan, UnicodeScript_kTibetan, UnicodeScript_kTibetan },
|
||||
+ { UnicodeScript_kMyanmar, UnicodeScript_kMyanmar, UnicodeScript_kMyanmar },
|
||||
+ { UnicodeScript_kGeorgian, UnicodeScript_kGeorgian, UnicodeScript_kGeorgian },
|
||||
+ { UnicodeScript_kHangulJamo, UnicodeScript_kHangulJamo, UnicodeScript_kHangulJamo },
|
||||
+ { UnicodeScript_kEthiopic, UnicodeScript_kEthiopic, UnicodeScript_kEthiopic },
|
||||
+ { UnicodeScript_kCherokee, UnicodeScript_kCherokee, UnicodeScript_kCherokee },
|
||||
+ { UnicodeScript_kUnifiedCanadianAboriginalSyllabics,
|
||||
+ UnicodeScript_kUnifiedCanadianAboriginalSyllabics,
|
||||
+ UnicodeScript_kUnifiedCanadianAboriginalSyllabics },
|
||||
+ { UnicodeScript_kKhmer, UnicodeScript_kKhmer, UnicodeScript_kKhmer },
|
||||
+ { UnicodeScript_kMongolian, UnicodeScript_kMongolian, UnicodeScript_kMongolian },
|
||||
+ { UnicodeScript_kLatinExtendedAdditional, UnicodeScript_kLatinExtendedAdditional,
|
||||
+ UnicodeScript_kLatinExtendedAdditional },
|
||||
+ { UnicodeScript_kGreekExtended, UnicodeScript_kGreekExtended, UnicodeScript_kGreekExtended },
|
||||
+ { UnicodeScript_kHiragana, UnicodeScript_kHiragana, UnicodeScript_kHiragana },
|
||||
+ { UnicodeScript_kKatakana, UnicodeScript_kKatakana, UnicodeScript_kKatakana },
|
||||
+ { UnicodeScript_kHangulCompatibilityJamo, UnicodeScript_kHangulCompatibilityJamo,
|
||||
+ UnicodeScript_kHangulCompatibilityJamo },
|
||||
+ { UnicodeScript_kHangulSyllable, UnicodeScript_kHangulSyllable,
|
||||
+ UnicodeScript_kHangulSyllable },
|
||||
+ { UnicodeScript_kArabicPresentationB, UnicodeScript_kArabicPresentationB,
|
||||
+ UnicodeScript_kArabicPresentationB },
|
||||
+ { UnicodeScript_kScriptCount, UnicodeScript_kScriptCount, UnicodeScript_kScriptCount }
|
||||
+ };
|
||||
+
|
||||
+ switch (unicode::getUnicodeScriptType(cCode, aScripts, UnicodeScript_kScriptCount))
|
||||
+ {
|
||||
+ case UnicodeScript_kBasicLatin:
|
||||
+ case UnicodeScript_kLatin1Supplement:
|
||||
+ case UnicodeScript_kLatinExtendedA:
|
||||
+ case UnicodeScript_kLatinExtendedB:
|
||||
+ case UnicodeScript_kLatinExtendedAdditional:
|
||||
+ return "en";
|
||||
+ case UnicodeScript_kGreek:
|
||||
+ case UnicodeScript_kGreekExtended:
|
||||
+ return "el";
|
||||
+ case UnicodeScript_kCyrillic:
|
||||
+ return "ru";
|
||||
+ case UnicodeScript_kArmenian:
|
||||
+ return "hy";
|
||||
+ case UnicodeScript_kHebrew:
|
||||
+ return "he";
|
||||
+ case UnicodeScript_kArabic:
|
||||
+ case UnicodeScript_kArabicPresentationB:
|
||||
+ return "ar";
|
||||
+ case UnicodeScript_kSyriac:
|
||||
+ return "syr";
|
||||
+ case UnicodeScript_kThaana:
|
||||
+ return "dv";
|
||||
+ case UnicodeScript_kDevanagari:
|
||||
+ return "hi";
|
||||
+ case UnicodeScript_kBengali:
|
||||
+ return "bn";
|
||||
+ case UnicodeScript_kGurmukhi:
|
||||
+ return "pa";
|
||||
+ case UnicodeScript_kGujarati:
|
||||
+ return "gu";
|
||||
+ case UnicodeScript_kOriya:
|
||||
+ return "or";
|
||||
+ case UnicodeScript_kTamil:
|
||||
+ return "ta";
|
||||
+ case UnicodeScript_kTelugu:
|
||||
+ return "te";
|
||||
+ case UnicodeScript_kKannada:
|
||||
+ return "ka";
|
||||
+ case UnicodeScript_kMalayalam:
|
||||
+ return "ml";
|
||||
+ case UnicodeScript_kSinhala:
|
||||
+ return "si";
|
||||
+ case UnicodeScript_kThai:
|
||||
+ return "th";
|
||||
+ case UnicodeScript_kLao:
|
||||
+ return "lo";
|
||||
+ case UnicodeScript_kTibetan:
|
||||
+ return "bo";
|
||||
+ case UnicodeScript_kMyanmar:
|
||||
+ return "my";
|
||||
+ case UnicodeScript_kGeorgian:
|
||||
+ return "ka";
|
||||
+ case UnicodeScript_kHangulJamo:
|
||||
+ case UnicodeScript_kHangulCompatibilityJamo:
|
||||
+ case UnicodeScript_kHangulSyllable:
|
||||
+ return "ko";
|
||||
+ case UnicodeScript_kEthiopic:
|
||||
+ return "am";
|
||||
+ case UnicodeScript_kCherokee:
|
||||
+ return "chr";
|
||||
+ case UnicodeScript_kUnifiedCanadianAboriginalSyllabics:
|
||||
+ return "ui";
|
||||
+ case UnicodeScript_kKhmer:
|
||||
+ return "km";
|
||||
+ case UnicodeScript_kMongolian:
|
||||
+ return "mn";
|
||||
+ case UnicodeScript_kHiragana:
|
||||
+ case UnicodeScript_kKatakana:
|
||||
+ return "ja";
|
||||
+ default:
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
bool PrintFontManager::Substitute( FontSelectPattern &rPattern, rtl::OUString& rMissingCodes ) const
|
||||
{
|
||||
bool bRet = false;
|
||||
@@ -764,14 +899,13 @@ bool PrintFontManager::Substitute( FontSelectPattern &rPattern, rtl::OUString& r
|
||||
FcPatternAddString(pPattern, FC_FAMILY, pTargetNameUtf8);
|
||||
|
||||
const rtl::OString aLangAttrib = MsLangId::convertLanguageToIsoByteString(rPattern.meLanguage);
|
||||
+ const FcChar8* pLangAttribUtf8 = NULL;
|
||||
if( aLangAttrib.getLength() )
|
||||
{
|
||||
- const FcChar8* pLangAttribUtf8;
|
||||
if (aLangAttrib.equalsIgnoreAsciiCase(OString(RTL_CONSTASCII_STRINGPARAM("pa-in"))))
|
||||
pLangAttribUtf8 = (FcChar8*)"pa";
|
||||
else
|
||||
pLangAttribUtf8 = (FcChar8*)aLangAttrib.getStr();
|
||||
- FcPatternAddString(pPattern, FC_LANG, pLangAttribUtf8);
|
||||
}
|
||||
|
||||
// Add required Unicode characters, if any
|
||||
@@ -783,11 +917,16 @@ bool PrintFontManager::Substitute( FontSelectPattern &rPattern, rtl::OUString& r
|
||||
// also handle unicode surrogates
|
||||
const sal_uInt32 nCode = rMissingCodes.iterateCodePoints( &nStrIndex );
|
||||
FcCharSetAddChar( unicodes, nCode );
|
||||
+ if (!pLangAttribUtf8)
|
||||
+ pLangAttribUtf8 = (const FcChar8*)pick_sample_language(nCode);
|
||||
}
|
||||
FcPatternAddCharSet(pPattern, FC_CHARSET, unicodes);
|
||||
FcCharSetDestroy(unicodes);
|
||||
}
|
||||
|
||||
+ if( pLangAttribUtf8 )
|
||||
+ FcPatternAddString( pPattern, FC_LANG, pLangAttribUtf8 );
|
||||
+
|
||||
addtopattern(pPattern, rPattern.meItalic, rPattern.meWeight,
|
||||
rPattern.meWidthType, rPattern.mePitch);
|
||||
|
||||
--
|
||||
1.7.7.3
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
--- ./sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 2011-11-14 20:32:45.000000000 +0000
|
||||
+++ ./sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 2011-11-14 20:30:53.000000000 +0000
|
||||
@@ -150,7 +150,7 @@ void writeBinaryBuffer( const OutputBuff
|
||||
void writeJpeg_( OutputBuffer& o_rOutputBuf, Stream* str, bool bWithLinefeed )
|
||||
{
|
||||
// dump JPEG file as-is
|
||||
-#if POPPLER_CHECK_VERSION(0, 17, 3)
|
||||
+#if POPPLER_CHECK_VERSION(0, 17, 3) || POPPLER_CHECK_VERSION(0, 18, 1)
|
||||
str = str->getBaseStream();
|
||||
#else
|
||||
str = ((DCTStream *)str)->getRawStream();
|
||||
@@ -493,7 +493,7 @@ void PDFOutDev::endPage()
|
||||
printf("endPage\n");
|
||||
}
|
||||
|
||||
-#if POPPLER_CHECK_VERSION(0, 17, 0)
|
||||
+#if POPPLER_CHECK_VERSION(0, 17, 0) || POPPLER_CHECK_VERSION(0, 18, 1)
|
||||
void PDFOutDev::processLink(AnnotLink *link, Catalog *)
|
||||
#else
|
||||
void PDFOutDev::processLink(Link* link, Catalog*)
|
||||
--- ./sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx 2011-11-14 20:22:04.000000000 +0000
|
||||
+++ ./sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx 2011-11-14 20:22:55.000000000 +0000
|
||||
@@ -201,7 +201,7 @@ namespace pdfi
|
||||
// virtual void cvtDevToUser(double dx, double dy, double *ux, double *uy);
|
||||
// virtual void cvtUserToDev(double ux, double uy, int *dx, int *dy);
|
||||
|
||||
- #if POPPLER_CHECK_VERSION(0, 17, 0)
|
||||
+ #if POPPLER_CHECK_VERSION(0, 17, 0) || POPPLER_CHECK_VERSION(0, 18, 1)
|
||||
virtual void processLink(AnnotLink *link, Catalog *catalog);
|
||||
#else
|
||||
//----- link borders
|
|
@ -1,33 +0,0 @@
|
|||
--- vbahelper/inc/vbahelper/vbacollectionimpl.hxx 2011-01-28 20:27:51.507604173 +0000
|
||||
+++ vbahelper/inc/vbahelper/vbacollectionimpl.hxx 2011-01-28 20:28:26.230045727 +0000
|
||||
@@ -238,7 +238,7 @@
|
||||
|
||||
// including a HelperInterface implementation
|
||||
template< typename Ifc1 >
|
||||
-class ScVbaCollectionBase : public InheritedHelperInterfaceImpl< Ifc1 >
|
||||
+class VBAHELPER_DLLPUBLIC ScVbaCollectionBase : public InheritedHelperInterfaceImpl< Ifc1 >
|
||||
{
|
||||
typedef InheritedHelperInterfaceImpl< Ifc1 > BaseColBase;
|
||||
protected:
|
||||
--- sc/Library_vbaobj.mk
|
||||
+++ sc/Library_vbaobj.mk
|
||||
@@ -118,7 +118,6 @@ $(eval $(call gb_Library_add_exception_objects,vbaobj,\
|
||||
sc/source/ui/vba/vbaquerytable \
|
||||
sc/source/ui/vba/vbarange \
|
||||
sc/source/ui/vba/vbasheetobject \
|
||||
- sc/source/ui/vba/vbasheetobjects \
|
||||
sc/source/ui/vba/vbastyle \
|
||||
sc/source/ui/vba/vbastyles \
|
||||
sc/source/ui/vba/vbatextboxshape \
|
||||
@@ -133,6 +132,11 @@ $(eval $(call gb_Library_add_exception_objects,vbaobj,\
|
||||
sc/source/ui/vba/vbawsfunction \
|
||||
))
|
||||
|
||||
+$(eval $(call gb_Library_add_cxxobjects,vbaobj,\
|
||||
+ sc/source/ui/vba/vbasheetobjects \
|
||||
+ , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
|
||||
+))
|
||||
+
|
||||
ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
|
||||
$(eval $(call gb_Library_set_ldflags,vbaobj,\
|
||||
$$(LDFLAGS) \
|
|
@ -1,14 +0,0 @@
|
|||
diff -p -up ./extensions/source/plugin/util/makefile.pmk.orig3 ./extensions/source/plugin/util/makefile.pmk
|
||||
--- extensions/source/plugin/util/makefile.pmk.orig3 2009-10-20 18:35:37.000000000 -0400
|
||||
+++ extensions/source/plugin/util/makefile.pmk 2009-10-20 18:37:43.000000000 -0400
|
||||
@@ -34,7 +34,9 @@ NOUNODOC=true
|
||||
|
||||
.IF "$(SYSTEM_MOZILLA)" == "YES"
|
||||
CFLAGS+=-DSYSTEM_MOZILLA
|
||||
-PKGCONFIG_MODULES+=$(MOZ_FLAVOUR)-plugin
|
||||
+# our xulrunner devel package still has
|
||||
+# mozila-plugin.pc intead of xulrunner-plugin.pc
|
||||
+PKGCONFIG_MODULES+=mozilla-plugin
|
||||
.ENDIF
|
||||
|
||||
.IF "$(GUIBASE)" == "unx" && "$(ENABLE_GTK)" == "TRUE"
|
Loading…
Add table
Reference in a new issue