Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d448b59e
Kaydet (Commit)
d448b59e
authored
Kas 08, 2011
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix build against new npapi.h (some more)
üst
3f402761
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
npshell.cxx
extensions/source/nsplugin/source/npshell.cxx
+4
-4
nfuncs.cxx
extensions/source/plugin/base/nfuncs.cxx
+5
-5
npnapi.cxx
extensions/source/plugin/unx/npnapi.cxx
+5
-5
No files found.
extensions/source/nsplugin/source/npshell.cxx
Dosyayı görüntüle @
d448b59e
...
...
@@ -666,20 +666,20 @@ NPP_NewStream(NPP instance,
}
int32
STREAMBUFSIZE
=
0X0FFFFFFF
;
int32
_t
STREAMBUFSIZE
=
0X0FFFFFFF
;
/* If we are reading from a file in NPAsFile
* mode so we can take any size stream in our
* write call (since we ignore it) */
int32
int32
_t
NPP_WriteReady
(
NPP
/*instance*/
,
NPStream
*
/*stream*/
)
{
return
STREAMBUFSIZE
;
}
int32
NPP_Write
(
NPP
/*instance*/
,
NPStream
*
/*stream*/
,
int32
/*offset*/
,
int32
len
,
void
*
/*buffer*/
)
int32
_t
NPP_Write
(
NPP
/*instance*/
,
NPStream
*
/*stream*/
,
int32
_t
/*offset*/
,
int32_t
len
,
void
*
/*buffer*/
)
{
return
len
;
/* The number of bytes accepted */
}
...
...
extensions/source/plugin/base/nfuncs.cxx
Dosyayı görüntüle @
d448b59e
...
...
@@ -213,7 +213,7 @@ IMPL_LINK( AsynchronousGetURL, getURL, XPlugin_Impl*, pImpl )
extern
"C"
{
void
*
SAL_CALL
NP_LOADDS
NPN_MemAlloc
(
uint32
nBytes
)
void
*
SAL_CALL
NP_LOADDS
NPN_MemAlloc
(
uint32
_t
nBytes
)
{
TRACE
(
"NPN_MemAlloc"
);
void
*
pMem
=
malloc
(
nBytes
);
...
...
@@ -226,7 +226,7 @@ extern "C" {
free
(
pMem
);
}
uint32
SAL_CALL
NP_LOADDS
NPN_MemFlush
(
uint32
/*nSize*/
)
uint32
_t
SAL_CALL
NP_LOADDS
NPN_MemFlush
(
uint32_t
/*nSize*/
)
{
TRACE
(
"NPN_MemFlush"
);
return
0
;
...
...
@@ -334,7 +334,7 @@ extern "C" {
return
NPERR_NO_ERROR
;
}
NPError
SAL_CALL
NP_LOADDS
NPN_PostURLNotify
(
NPP
instance
,
const
char
*
url
,
const
char
*
target
,
uint32
len
,
const
char
*
buf
,
NPBool
file
,
void
*
notifyData
)
NPError
SAL_CALL
NP_LOADDS
NPN_PostURLNotify
(
NPP
instance
,
const
char
*
url
,
const
char
*
target
,
uint32
_t
len
,
const
char
*
buf
,
NPBool
file
,
void
*
notifyData
)
{
TRACE
(
"NPN_PostURLNotify"
);
XPlugin_Impl
*
pImpl
=
XPluginManager_Impl
::
getXPluginFromNPP
(
instance
);
...
...
@@ -376,7 +376,7 @@ extern "C" {
return
NPERR_NO_ERROR
;
}
NPError
SAL_CALL
NP_LOADDS
NPN_PostURL
(
NPP
instance
,
const
char
*
url
,
const
char
*
window
,
uint32
len
,
const
char
*
buf
,
NPBool
file
)
NPError
SAL_CALL
NP_LOADDS
NPN_PostURL
(
NPP
instance
,
const
char
*
url
,
const
char
*
window
,
uint32
_t
len
,
const
char
*
buf
,
NPBool
file
)
{
TRACE
(
"NPN_PostURL"
);
XPlugin_Impl
*
pImpl
=
XPluginManager_Impl
::
getXPluginFromNPP
(
instance
);
...
...
@@ -526,7 +526,7 @@ void SAL_CALL NP_LOADDS NPN_Version( int* major, int* minor, int* net_major, in
*
net_minor
=
5
;
}
int32
SAL_CALL
NP_LOADDS
NPN_Write
(
NPP
instance
,
NPStream
*
stream
,
int32
len
,
int32
_t
SAL_CALL
NP_LOADDS
NPN_Write
(
NPP
instance
,
NPStream
*
stream
,
int32_t
len
,
void
*
buffer
)
{
TRACE
(
"NPN_Write"
);
...
...
extensions/source/plugin/unx/npnapi.cxx
Dosyayı görüntüle @
d448b59e
...
...
@@ -56,7 +56,7 @@ void* CreateNewShell( void**, XLIB_Window );
// begin Netscape plugin api calls
extern
"C"
{
static
void
*
l_NPN_MemAlloc
(
uint32
nBytes
)
static
void
*
l_NPN_MemAlloc
(
uint32
_t
nBytes
)
{
void
*
pMem
=
new
char
[
nBytes
];
return
pMem
;
...
...
@@ -67,7 +67,7 @@ static void l_NPN_MemFree( void* pMem )
delete
[]
(
char
*
)
pMem
;
}
static
uint32
l_NPN_MemFlush
(
uint32
/*nSize*/
)
static
uint32
_t
l_NPN_MemFlush
(
uint32_t
/*nSize*/
)
{
return
0
;
}
...
...
@@ -209,7 +209,7 @@ static NPError l_NPN_NewStream( NPP instance, NPMIMEType type, const char* targe
return
aRet
;
}
static
NPError
l_NPN_PostURLNotify
(
NPP
instance
,
const
char
*
url
,
const
char
*
target
,
uint32
len
,
const
char
*
buf
,
NPBool
file
,
void
*
notifyData
)
static
NPError
l_NPN_PostURLNotify
(
NPP
instance
,
const
char
*
url
,
const
char
*
target
,
uint32
_t
len
,
const
char
*
buf
,
NPBool
file
,
void
*
notifyData
)
{
sal_uInt32
nInstance
=
pConnector
->
GetNPPID
(
instance
);
if
(
nInstance
==
PluginConnector
::
UnknownNPPID
)
...
...
@@ -234,7 +234,7 @@ static NPError l_NPN_PostURLNotify( NPP instance, const char* url, const char* t
return
aRet
;
}
static
NPError
l_NPN_PostURL
(
NPP
instance
,
const
char
*
url
,
const
char
*
window
,
uint32
len
,
const
char
*
buf
,
NPBool
file
)
static
NPError
l_NPN_PostURL
(
NPP
instance
,
const
char
*
url
,
const
char
*
window
,
uint32
_t
len
,
const
char
*
buf
,
NPBool
file
)
{
sal_uInt32
nInstance
=
pConnector
->
GetNPPID
(
instance
);
if
(
nInstance
==
PluginConnector
::
UnknownNPPID
)
...
...
@@ -340,7 +340,7 @@ static const char* l_NPN_UserAgent( NPP instance )
return
pAgent
;
}
static
int32
l_NPN_Write
(
NPP
instance
,
NPStream
*
stream
,
int32
len
,
void
*
buffer
)
static
int32
_t
l_NPN_Write
(
NPP
instance
,
NPStream
*
stream
,
int32_t
len
,
void
*
buffer
)
{
sal_uInt32
nFileID
=
pConnector
->
GetStreamID
(
stream
);
if
(
nFileID
==
PluginConnector
::
UnknownStreamID
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment