remove unmaintained mozilla port; if you are still using it consider
switching to seamonkey ok kurt@ pval@ espie@ steven@ jasper@ alek@
This commit is contained in:
parent
74a27025fc
commit
1476ad95cd
@ -1,140 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.118 2007/04/06 14:48:28 martynas Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= alpha i386 sparc sparc64 amd64 powerpc
|
||||
|
||||
COMMENT-main= "open source version of the Netscape browser"
|
||||
COMMENT-devel= "devel files for Gecko"
|
||||
|
||||
VER= 1.7.13
|
||||
DISTNAME= mozilla
|
||||
PKGNAME= mozilla-${VER}
|
||||
PKGNAME-main= mozilla-${VER}p8
|
||||
PKGNAME-devel= mozilla-devel-${VER}p8
|
||||
DISTFILES= mozilla-${VER}-source.tar.bz2
|
||||
SO_VERSION= 8.0
|
||||
# NOTE: Must bump minor version if any shlib's are removed from the
|
||||
# components dir to avoid pkg_add -r issues.
|
||||
.for _lib in accessibility addrbook appcomps autoconfig bayesflt caps chrome \
|
||||
composer cookie docshell editor embedcomponents fileview fort gfx_gtk \
|
||||
gfxps gfxxprint gkgfx gklayout gkplugin gtkembedmoz gtkxtbin htmlpars \
|
||||
i18n imglib2 impComm4xMail impText import inspector ipcdc jar50 jsd \
|
||||
jsj localmail mailnews mailview mime mimeemitter mork mozfind mozjs \
|
||||
msgbaseutil msgcompose msgdb msgimap msgmdn msgnews msgsmime myspell \
|
||||
necko necko2 nsappshell nsprefm nss3 nssckbi oji p3p pipboot \
|
||||
pipnss pippki pref profile rdf smime3 softokn3 \
|
||||
spellchecker ssl3 swft system-pref transformiix txmgr typeaheadfind \
|
||||
uconv ucvmath universalchardet vcard wallet walletviewers webbrwsr \
|
||||
websrvcs widget_gtk2 xlibrgb xmlextras xpcom xpcom_compat \
|
||||
xpcom_compat_c xpconnect xpinstall xpistub xremote_client \
|
||||
xremoteservice
|
||||
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
||||
.endfor
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
HOMEPAGE= http://www.mozilla.org/
|
||||
|
||||
# mozilla public license
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://releases.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla${VER}/source/
|
||||
|
||||
VMEM_WARNING=yes
|
||||
|
||||
MULTI_PACKAGES= -main -devel
|
||||
|
||||
MODULES= devel/gettext
|
||||
BUILD_DEPENDS= :libIDL-*:devel/libIDL \
|
||||
:zip->=2.3:archivers/zip
|
||||
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
||||
nspr4.>=17,plc4.>=17,plds4.>=17:nspr->=4.6.4p1:devel/nspr
|
||||
WANTLIB= X11 Xext Xrender Xt atk-1.0 c cairo fontconfig freetype \
|
||||
glib-2.0 gmodule-2.0 gobject-2.0 glitz png m z \
|
||||
pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
|
||||
RUN_DEPENDS-devel= :${PKGNAME-main}:www/mozilla,-main
|
||||
RUN_DEPENDS-main= :esound-0.2.*:audio/esound
|
||||
WANTLIB-main= ${WANTLIB} \
|
||||
Xft Xp jpeg pthread stdc++
|
||||
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
# Regression tests are too hard to adapt to run here
|
||||
NO_REGRESS= Yes
|
||||
SUBST_VARS= LOCALBASE SO_VERSION
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build/autoconf \
|
||||
${WRKSRC}/directory/c-sdk/config/autoconf
|
||||
|
||||
AUTOCONF_VERSION= 2.13
|
||||
CONFIGURE_STYLE= autoconf no-autoheader
|
||||
CONFIGURE_ARGS= \
|
||||
--with-system-jpeg=${LOCALBASE} \
|
||||
--with-system-png=${LOCALBASE} \
|
||||
--with-system-zlib=/usr/lib \
|
||||
--with-system-nspr \
|
||||
--with-pthreads \
|
||||
--enable-default-toolkit=gtk2 \
|
||||
--enable-xft \
|
||||
--enable-optimize=-Os \
|
||||
--enable-crypto \
|
||||
--enable-extensions=default \
|
||||
--disable-pedantic \
|
||||
--disable-debug \
|
||||
--disable-tests \
|
||||
--disable-ldap \
|
||||
--disable-gnomevfs
|
||||
|
||||
CONFIGURE_ENV= PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig" \
|
||||
BUILD_OFFICIAL=1 \
|
||||
MOZILLA_OFFICIAL=1 \
|
||||
SO_VERSION=${SO_VERSION}
|
||||
|
||||
MAKE_ENV= LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
|
||||
BUILD_OFFICIAL=1 \
|
||||
MOZILLA_OFFICIAL=1 \
|
||||
SO_VERSION=${SO_VERSION}
|
||||
|
||||
MOB= ${WRKSRC}/dist
|
||||
MOZ= ${PREFIX}/mozilla
|
||||
|
||||
post-extract:
|
||||
@cp ${FILESDIR}/xptc* ${WRKSRC}/xpcom/reflect/xptcall/src/md/unix/
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC}/directory/c-sdk && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}
|
||||
@perl -pi -e 's|_LOCALBASE_|${LOCALBASE}|g; s|_X11BASE_|${X11BASE}|g' \
|
||||
${WRKSRC}/xpfe/bootstrap/mozilla.in
|
||||
@perl -pi -e 's|_SO_VERSION_|${SO_VERSION}|g' \
|
||||
${WRKSRC}/xpcom/components/nsNativeComponentLoader.cpp
|
||||
|
||||
do-install:
|
||||
.for dir in include lib
|
||||
${INSTALL_DATA_DIR} ${MOZ}/${dir}
|
||||
@cd ${MOB} && ${TAR} -chf - ${dir} | \
|
||||
${TAR} -xf - -C ${MOZ}
|
||||
.endfor
|
||||
@cd ${MOB}/public && ${TAR} -chf - nss | \
|
||||
${TAR} -xf - -C ${MOZ}/include
|
||||
.for dir in chrome components defaults greprefs res searchplugins
|
||||
${INSTALL_DATA_DIR} ${MOZ}/${dir}
|
||||
@cd ${MOB}/bin && ${TAR} -chf - ${dir} | \
|
||||
${TAR} -xf - -C ${MOZ}
|
||||
.endfor
|
||||
@cd ${MOB}/bin && ${TAR} -chf - *.so.?.? | \
|
||||
${TAR} -xf - -C ${MOZ}
|
||||
@chmod 444 ${MOZ}/*.so.?.? ${MOZ}/components/*.so.?.? ${MOZ}/components/*.js
|
||||
${INSTALL_DATA} ${MOB}/bin/LICENSE ${MOZ}
|
||||
${INSTALL_SCRIPT} ${MOB}/bin/mozilla ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${MOB}/bin/run-mozilla.sh ${MOB}/bin/mozilla-config ${MOZ}
|
||||
${INSTALL_PROGRAM} ${MOB}/bin/regchrome ${MOB}/bin/regxpcom ${MOB}/bin/mozilla-bin ${MOB}/bin/mozilla-xremote-client ${MOZ}
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
|
||||
${INSTALL_DATA} ${WRKBUILD}/build/unix/*.pc ${PREFIX}/lib/pkgconfig
|
||||
${INSTALL_MAN} ${WRKSRC}/xpfe/bootstrap/mozilla.1 ${PREFIX}/man/man1/
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (mozilla-1.7.13-source.tar.bz2) = 6waDIH92aDGcZeQD0Ev8QQ==
|
||||
RMD160 (mozilla-1.7.13-source.tar.bz2) = Q2C0jIkw3EJ/YBDFeruLLQyFV2E=
|
||||
SHA1 (mozilla-1.7.13-source.tar.bz2) = xQbfRMGM2KSB/dZTKL+KvrouQj4=
|
||||
SHA256 (mozilla-1.7.13-source.tar.bz2) = AVAY/6iIQ1Y8isu8rRb/3CKh4tGp5aKJchZKuGJzsB4=
|
||||
SIZE (mozilla-1.7.13-source.tar.bz2) = 30525187
|
@ -1,116 +0,0 @@
|
||||
# -*- Mode: Asm -*-
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
|
||||
# beard@netscape.com (Patrick Beard)
|
||||
# waterson@netscape.com (Chris Waterson)
|
||||
#
|
||||
|
||||
.set r0,0; .set sp,1; .set RTOC,2; .set r3,3; .set r4,4
|
||||
.set r5,5; .set r6,6; .set r7,7; .set r8,8; .set r9,9
|
||||
.set r10,10; .set r11,11; .set r12,12; .set r13,13; .set r14,14
|
||||
.set r15,15; .set r16,16; .set r17,17; .set r18,18; .set r19,19
|
||||
.set r20,20; .set r21,21; .set r22,22; .set r23,23; .set r24,24
|
||||
.set r25,25; .set r26,26; .set r27,27; .set r28,28; .set r29,29
|
||||
.set r30,30; .set r31,31
|
||||
.set f0,0; .set f1,1; .set f2,2; .set f3,3; .set f4,4
|
||||
.set f5,5; .set f6,6; .set f7,7; .set f8,8; .set f9,9
|
||||
.set f10,10; .set f11,11; .set f12,12; .set f13,13; .set f14,14
|
||||
.set f15,15; .set f16,16; .set f17,17; .set f18,18; .set f19,19
|
||||
.set f20,20; .set f21,21; .set f22,22; .set f23,23; .set f24,24
|
||||
.set f25,25; .set f26,26; .set f27,27; .set f28,28; .set f29,29
|
||||
.set f30,30; .set f31,31
|
||||
|
||||
.section ".text"
|
||||
.align 2
|
||||
.globl XPTC_InvokeByIndex
|
||||
.type XPTC_InvokeByIndex,@function
|
||||
|
||||
#
|
||||
# XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
|
||||
# PRUint32 paramCount, nsXPTCVariant* params)
|
||||
#
|
||||
|
||||
XPTC_InvokeByIndex:
|
||||
stwu sp,-32(sp) # setup standard stack frame
|
||||
mflr r0 # save LR
|
||||
stw r3,8(sp) # r3 <= that
|
||||
stw r4,12(sp) # r4 <= methodIndex
|
||||
stw r30,16(sp)
|
||||
stw r31,20(sp)
|
||||
|
||||
stw r0,36(sp) # store LR backchain
|
||||
mr r31,sp
|
||||
|
||||
rlwinm r10,r5,3,0,27 # r10 = (ParamCount * 2 * 4) & ~0x0f
|
||||
addi r0,r10,96 # reserve stack for GPR and FPR register save area r0 = r10 + 96
|
||||
lwz r9,0(sp) # r9 = backchain
|
||||
neg r0,r0
|
||||
stwux r9,sp,r0 # reserve stack space and save SP backchain
|
||||
|
||||
addi r3,sp,8 # r3 <= args
|
||||
mr r4,r5 # r4 <= paramCount
|
||||
mr r5,r6 # r5 <= params
|
||||
add r6,r3,r10 # r6 <= gpregs ( == args + r10 )
|
||||
mr r30,r6 # store in r30 for use later...
|
||||
addi r7,r6,32 # r7 <= fpregs ( == gpregs + 32 )
|
||||
|
||||
bl invoke_copy_to_stack@local # (args, paramCount, params, gpregs, fpregs)
|
||||
|
||||
lfd f1,32(r30) # load FP registers with method parameters
|
||||
lfd f2,40(r30)
|
||||
lfd f3,48(r30)
|
||||
lfd f4,56(r30)
|
||||
lfd f5,64(r30)
|
||||
lfd f6,72(r30)
|
||||
lfd f7,80(r30)
|
||||
lfd f8,88(r30)
|
||||
|
||||
lwz r3,8(r31) # r3 <= that
|
||||
lwz r4,12(r31) # r4 <= methodIndex
|
||||
lwz r5,0(r3) # r5 <= vtable ( == *that )
|
||||
#if 0
|
||||
#if !((__GNUC__ == 3 && __GNUC_MINOR__ < 2) || __GXX_ABI_VERSION >= 100) # G++ pre-V3 ABI
|
||||
addi r4,r4,2 # skip first two vtable entries
|
||||
#endif
|
||||
#endif
|
||||
subi r4,r4,2 # skip first two vtable entries
|
||||
slwi r4,r4,2 # convert to offset ( *= 4 )
|
||||
lwzx r0,r5,r4 # r0 <= methodpointer ( == vtable + offset )
|
||||
|
||||
lwz r4,4(r30) # load GP regs with method parameters
|
||||
lwz r5,8(r30)
|
||||
lwz r6,12(r30)
|
||||
lwz r7,16(r30)
|
||||
lwz r8,20(r30)
|
||||
lwz r9,24(r30)
|
||||
lwz r10,28(r30)
|
||||
|
||||
mtlr r0 # copy methodpointer to LR
|
||||
blrl # call method
|
||||
|
||||
lwz r30,16(r31) # restore r30 & r31
|
||||
lwz r31,20(r31)
|
||||
|
||||
lwz r11,0(sp) # clean up the stack
|
||||
lwz r0,4(r11)
|
||||
mtlr r0
|
||||
mr sp,r11
|
||||
blr
|
@ -1,104 +0,0 @@
|
||||
/* -*- Mode: asm; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2001 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Stuart Parmenter <pavlov@netscape.com>
|
||||
* Chris Seawood <cls@seawood.org>
|
||||
*/
|
||||
|
||||
/*
|
||||
Platform specific code to invoke XPCOM methods on native objects
|
||||
for sparcv9 Solaris.
|
||||
|
||||
See the SPARC Compliance Definition (SCD) Chapter 3
|
||||
for more information about what is going on here, including
|
||||
the use of BIAS (0x7ff).
|
||||
The SCD is available from http://www.sparc.com/.
|
||||
*/
|
||||
|
||||
.global XPTC_InvokeByIndex
|
||||
.type XPTC_InvokeByIndex, #function
|
||||
|
||||
/*
|
||||
XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
|
||||
PRUint32 paramCount, nsXPTCVariant* params);
|
||||
|
||||
*/
|
||||
XPTC_InvokeByIndex:
|
||||
save %sp,-(128 + 64),%sp ! room for the register window and
|
||||
! struct pointer, rounded up to 0 % 64
|
||||
sll %i2,4,%l0 ! assume the worst case
|
||||
! paramCount * 2 * 8 bytes
|
||||
cmp %l0, 0 ! are there any args? If not,
|
||||
be .invoke ! no need to copy args to stack
|
||||
nop
|
||||
|
||||
sub %sp,%l0,%sp ! create the additional stack space
|
||||
add %sp,0x7ff+136,%o0 ! step past the register window, the
|
||||
! struct result pointer and the 'this' slot
|
||||
mov %i2,%o1 ! paramCount
|
||||
call invoke_copy_to_stack
|
||||
mov %i3,%o2 ! params
|
||||
|
||||
!
|
||||
! load arguments from stack into the outgoing registers
|
||||
! BIAS is 0x7ff (2047)
|
||||
!
|
||||
|
||||
! load the %o1..5 64bit (extended word) output registers registers
|
||||
ldx [%sp + 0x7ff + 136],%o1 ! %i1
|
||||
ldx [%sp + 0x7ff + 144],%o2 ! %i2
|
||||
ldx [%sp + 0x7ff + 152],%o3 ! %i3
|
||||
ldx [%sp + 0x7ff + 160],%o4 ! %i4
|
||||
ldx [%sp + 0x7ff + 168],%o5 ! %i5
|
||||
|
||||
! load the even number double registers starting with %d2
|
||||
ldd [%sp + 0x7ff + 136],%f2
|
||||
ldd [%sp + 0x7ff + 144],%f4
|
||||
ldd [%sp + 0x7ff + 152],%f6
|
||||
ldd [%sp + 0x7ff + 160],%f8
|
||||
ldd [%sp + 0x7ff + 168],%f10
|
||||
ldd [%sp + 0x7ff + 176],%f12
|
||||
ldd [%sp + 0x7ff + 184],%f14
|
||||
ldd [%sp + 0x7ff + 192],%f16
|
||||
ldd [%sp + 0x7ff + 200],%f18
|
||||
ldd [%sp + 0x7ff + 208],%f20
|
||||
ldd [%sp + 0x7ff + 216],%f22
|
||||
ldd [%sp + 0x7ff + 224],%f24
|
||||
ldd [%sp + 0x7ff + 232],%f26
|
||||
ldd [%sp + 0x7ff + 240],%f28
|
||||
ldd [%sp + 0x7ff + 248],%f30
|
||||
|
||||
!
|
||||
! calculate the target address from the vtable
|
||||
!
|
||||
.invoke:
|
||||
sll %i1,3,%l0 ! index *= 8
|
||||
! add %l0,16,%l0 ! there are 2 extra entries in the vTable (16bytes)
|
||||
ldx [%i0],%l1 ! *that --> address of vtable
|
||||
ldx [%l0 + %l1],%l0 ! that->vtable[index * 8 + 16] --> address
|
||||
|
||||
jmpl %l0,%o7 ! call the routine
|
||||
mov %i0,%o0 ! move 'this' pointer to out register
|
||||
|
||||
mov %o0,%i0 ! propagate return value
|
||||
ret
|
||||
restore
|
||||
|
||||
.size XPTC_InvokeByIndex, .-XPTC_InvokeByIndex
|
@ -1,184 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/* Platform specific code to invoke XPCOM methods on native objects */
|
||||
|
||||
/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
|
||||
|
||||
#include "xptcprivate.h"
|
||||
|
||||
/* Prototype specifies unmangled function name and disables unused warning */
|
||||
static void
|
||||
invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
|
||||
__asm__("invoke_copy_to_stack") __attribute__((unused));
|
||||
|
||||
static void
|
||||
invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
|
||||
{
|
||||
const PRUint8 NUM_ARG_REGS = 6-1; // -1 for "this" pointer
|
||||
|
||||
for(PRUint32 i = 0; i < paramCount; i++, d++, s++)
|
||||
{
|
||||
if(s->IsPtrData())
|
||||
{
|
||||
*d = (PRUint64)s->ptr;
|
||||
continue;
|
||||
}
|
||||
switch(s->type)
|
||||
{
|
||||
case nsXPTType::T_I8 : *d = (PRUint64)s->val.i8; break;
|
||||
case nsXPTType::T_I16 : *d = (PRUint64)s->val.i16; break;
|
||||
case nsXPTType::T_I32 : *d = (PRUint64)s->val.i32; break;
|
||||
case nsXPTType::T_I64 : *d = (PRUint64)s->val.i64; break;
|
||||
case nsXPTType::T_U8 : *d = (PRUint64)s->val.u8; break;
|
||||
case nsXPTType::T_U16 : *d = (PRUint64)s->val.u16; break;
|
||||
case nsXPTType::T_U32 : *d = (PRUint64)s->val.u32; break;
|
||||
case nsXPTType::T_U64 : *d = (PRUint64)s->val.u64; break;
|
||||
case nsXPTType::T_FLOAT :
|
||||
if(i < NUM_ARG_REGS)
|
||||
{
|
||||
// convert floats to doubles if they are to be passed
|
||||
// via registers so we can just deal with doubles later
|
||||
union { PRUint64 u64; double d; } t;
|
||||
t.d = (double)s->val.f;
|
||||
*d = t.u64;
|
||||
}
|
||||
else
|
||||
// otherwise copy to stack normally
|
||||
*d = (PRUint64)s->val.u32;
|
||||
break;
|
||||
case nsXPTType::T_DOUBLE : *d = (PRUint64)s->val.u64; break;
|
||||
case nsXPTType::T_BOOL : *d = (PRUint64)s->val.b; break;
|
||||
case nsXPTType::T_CHAR : *d = (PRUint64)s->val.c; break;
|
||||
case nsXPTType::T_WCHAR : *d = (PRUint64)s->val.wc; break;
|
||||
default:
|
||||
// all the others are plain pointer types
|
||||
*d = (PRUint64)s->val.p;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* XPTC_PUBLIC_API(nsresult)
|
||||
* XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
|
||||
* PRUint32 paramCount, nsXPTCVariant* params, void* vt)
|
||||
*/
|
||||
__asm__(
|
||||
"#### XPTC_InvokeByIndex ####\n"
|
||||
".text\n\t"
|
||||
".align 5\n\t"
|
||||
".globl XPTC_InvokeByIndex\n\t"
|
||||
".ent XPTC_InvokeByIndex\n"
|
||||
"XPTC_InvokeByIndex:\n\t"
|
||||
".frame $15,32,$26,0\n\t"
|
||||
".mask 0x4008000,-32\n\t"
|
||||
"ldgp $29,0($27)\n"
|
||||
"$XPTC_InvokeByIndex..ng:\n\t"
|
||||
"subq $30,32,$30\n\t"
|
||||
"stq $26,0($30)\n\t"
|
||||
"stq $15,8($30)\n\t"
|
||||
"bis $30,$30,$15\n\t"
|
||||
".prologue 1\n\t"
|
||||
|
||||
/*
|
||||
* Allocate enough stack space to hold the greater of 6 or "paramCount"+1
|
||||
* parameters. (+1 for "this" pointer) Room for at least 6 parameters
|
||||
* is required for storage of those passed via registers.
|
||||
*/
|
||||
|
||||
"bis $31,5,$2\n\t" /* count = MAX(5, "paramCount") */
|
||||
"cmplt $2,$18,$1\n\t"
|
||||
"cmovne $1,$18,$2\n\t"
|
||||
"s8addq $2,16,$1\n\t" /* room for count+1 params (8 bytes each) */
|
||||
"bic $1,15,$1\n\t" /* stack space is rounded up to 0 % 16 */
|
||||
"subq $30,$1,$30\n\t"
|
||||
|
||||
"stq $16,0($30)\n\t" /* save "that" (as "this" pointer) */
|
||||
"stq $17,16($15)\n\t" /* save "methodIndex" */
|
||||
|
||||
"addq $30,8,$16\n\t" /* pass stack pointer */
|
||||
"bis $18,$18,$17\n\t" /* pass "paramCount" */
|
||||
"bis $19,$19,$18\n\t" /* pass "params" */
|
||||
"bsr $26,$invoke_copy_to_stack..ng\n\t" /* call invoke_copy_to_stack */
|
||||
|
||||
/*
|
||||
* Copy the first 6 parameters to registers and remove from stack frame.
|
||||
* Both the integer and floating point registers are set for each parameter
|
||||
* except the first which is the "this" pointer. (integer only)
|
||||
* The floating point registers are all set as doubles since the
|
||||
* invoke_copy_to_stack function should have converted the floats.
|
||||
*/
|
||||
"ldq $16,0($30)\n\t" /* integer registers */
|
||||
"ldq $17,8($30)\n\t"
|
||||
"ldq $18,16($30)\n\t"
|
||||
"ldq $19,24($30)\n\t"
|
||||
"ldq $20,32($30)\n\t"
|
||||
"ldq $21,40($30)\n\t"
|
||||
"ldt $f17,8($30)\n\t" /* floating point registers */
|
||||
"ldt $f18,16($30)\n\t"
|
||||
"ldt $f19,24($30)\n\t"
|
||||
"ldt $f20,32($30)\n\t"
|
||||
"ldt $f21,40($30)\n\t"
|
||||
|
||||
"addq $30,48,$30\n\t" /* remove params from stack */
|
||||
|
||||
/*
|
||||
* Call the virtual function with the constructed stack frame.
|
||||
*/
|
||||
"bis $16,$16,$1\n\t" /* load "this" */
|
||||
"ldq $2,16($15)\n\t" /* load "methodIndex" */
|
||||
"ldq $1,0($1)\n\t" /* load vtable */
|
||||
#if 0
|
||||
"s8addq $2,16,$2\n\t" /* vtable index = "methodIndex" * 8 + 16 */
|
||||
#else
|
||||
"mulq $2, 8, $2\n\t"
|
||||
"addq $2, 0, $2\n\t" /* vtable index = "methodIndex" * 16 + 24 */
|
||||
#endif
|
||||
"addq $1,$2,$1\n\t"
|
||||
"ldq $27,0($1)\n\t" /* load address of function */
|
||||
"jsr $26,($27),0\n\t" /* call virtual function */
|
||||
"ldgp $29,0($26)\n\t"
|
||||
|
||||
"bis $15,$15,$30\n\t"
|
||||
"ldq $26,0($30)\n\t"
|
||||
"ldq $15,8($30)\n\t"
|
||||
"addq $30,32,$30\n\t"
|
||||
"ret $31,($26),1\n\t"
|
||||
".end XPTC_InvokeByIndex"
|
||||
);
|
||||
|
@ -1,174 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
// Platform specific code to invoke XPCOM methods on native objects
|
||||
|
||||
#include "xptcprivate.h"
|
||||
|
||||
// 6 integral parameters are passed in registers
|
||||
const PRUint32 GPR_COUNT = 6;
|
||||
|
||||
// 8 floating point parameters are passed in SSE registers
|
||||
const PRUint32 FPR_COUNT = 8;
|
||||
|
||||
// Remember that these 'words' are 64-bit long
|
||||
static inline void
|
||||
invoke_count_words(PRUint32 paramCount, nsXPTCVariant * s,
|
||||
PRUint32 & nr_gpr, PRUint32 & nr_fpr, PRUint32 & nr_stack)
|
||||
{
|
||||
nr_gpr = 1; // skip one GP register for 'that'
|
||||
nr_fpr = 0;
|
||||
nr_stack = 0;
|
||||
|
||||
/* Compute number of eightbytes of class MEMORY. */
|
||||
for (uint32 i = 0; i < paramCount; i++, s++) {
|
||||
if (!s->IsPtrData()
|
||||
&& (s->type == nsXPTType::T_FLOAT || s->type == nsXPTType::T_DOUBLE)) {
|
||||
if (nr_fpr < FPR_COUNT)
|
||||
nr_fpr++;
|
||||
else
|
||||
nr_stack++;
|
||||
}
|
||||
else {
|
||||
if (nr_gpr < GPR_COUNT)
|
||||
nr_gpr++;
|
||||
else
|
||||
nr_stack++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
invoke_copy_to_stack(PRUint64 * d, PRUint32 paramCount, nsXPTCVariant * s,
|
||||
PRUint64 * gpregs, double * fpregs)
|
||||
{
|
||||
PRUint32 nr_gpr = 1; // skip one GP register for 'that'
|
||||
PRUint32 nr_fpr = 0;
|
||||
PRUint64 value;
|
||||
|
||||
for (uint32 i = 0; i < paramCount; i++, s++) {
|
||||
if (s->IsPtrData())
|
||||
value = (PRUint64) s->ptr;
|
||||
else {
|
||||
switch (s->type) {
|
||||
case nsXPTType::T_FLOAT: break;
|
||||
case nsXPTType::T_DOUBLE: break;
|
||||
case nsXPTType::T_I8: value = s->val.i8; break;
|
||||
case nsXPTType::T_I16: value = s->val.i16; break;
|
||||
case nsXPTType::T_I32: value = s->val.i32; break;
|
||||
case nsXPTType::T_I64: value = s->val.i64; break;
|
||||
case nsXPTType::T_U8: value = s->val.u8; break;
|
||||
case nsXPTType::T_U16: value = s->val.u16; break;
|
||||
case nsXPTType::T_U32: value = s->val.u32; break;
|
||||
case nsXPTType::T_U64: value = s->val.u64; break;
|
||||
case nsXPTType::T_BOOL: value = s->val.b; break;
|
||||
case nsXPTType::T_CHAR: value = s->val.c; break;
|
||||
case nsXPTType::T_WCHAR: value = s->val.wc; break;
|
||||
default: value = (PRUint64) s->val.p; break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!s->IsPtrData() && s->type == nsXPTType::T_DOUBLE) {
|
||||
if (nr_fpr < FPR_COUNT)
|
||||
fpregs[nr_fpr++] = s->val.d;
|
||||
else {
|
||||
*((double *)d) = s->val.d;
|
||||
d++;
|
||||
}
|
||||
}
|
||||
else if (!s->IsPtrData() && s->type == nsXPTType::T_FLOAT) {
|
||||
if (nr_fpr < FPR_COUNT)
|
||||
// The value in %xmm register is already prepared to
|
||||
// be retrieved as a float. Therefore, we pass the
|
||||
// value verbatim, as a double without conversion.
|
||||
fpregs[nr_fpr++] = s->val.d;
|
||||
else {
|
||||
*((float *)d) = s->val.f;
|
||||
d++;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (nr_gpr < GPR_COUNT)
|
||||
gpregs[nr_gpr++] = value;
|
||||
else
|
||||
*d++ = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extern "C"
|
||||
XPTC_PUBLIC_API(nsresult)
|
||||
XPTC_InvokeByIndex(nsISupports * that, PRUint32 methodIndex,
|
||||
PRUint32 paramCount, nsXPTCVariant * params)
|
||||
{
|
||||
PRUint32 nr_gpr, nr_fpr, nr_stack;
|
||||
invoke_count_words(paramCount, params, nr_gpr, nr_fpr, nr_stack);
|
||||
|
||||
// Stack, if used, must be 16-bytes aligned
|
||||
if (nr_stack)
|
||||
nr_stack = (nr_stack + 1) & ~1;
|
||||
|
||||
// Load parameters to stack, if necessary
|
||||
PRUint64 *stack = (PRUint64 *) __builtin_alloca(nr_stack * 8);
|
||||
PRUint64 gpregs[GPR_COUNT];
|
||||
double fpregs[FPR_COUNT];
|
||||
invoke_copy_to_stack(stack, paramCount, params, gpregs, fpregs);
|
||||
|
||||
// Load FPR registers from fpregs[]
|
||||
register double d0 asm("xmm0");
|
||||
register double d1 asm("xmm1");
|
||||
register double d2 asm("xmm2");
|
||||
register double d3 asm("xmm3");
|
||||
register double d4 asm("xmm4");
|
||||
register double d5 asm("xmm5");
|
||||
register double d6 asm("xmm6");
|
||||
register double d7 asm("xmm7");
|
||||
|
||||
switch (nr_fpr) {
|
||||
#define ARG_FPR(N) \
|
||||
case N+1: d##N = fpregs[N];
|
||||
ARG_FPR(7);
|
||||
ARG_FPR(6);
|
||||
ARG_FPR(5);
|
||||
ARG_FPR(4);
|
||||
ARG_FPR(3);
|
||||
ARG_FPR(2);
|
||||
ARG_FPR(1);
|
||||
ARG_FPR(0);
|
||||
case 0:;
|
||||
#undef ARG_FPR
|
||||
}
|
||||
|
||||
// Load GPR registers from gpregs[]
|
||||
register PRUint64 a0 asm("rdi");
|
||||
register PRUint64 a1 asm("rsi");
|
||||
register PRUint64 a2 asm("rdx");
|
||||
register PRUint64 a3 asm("rcx");
|
||||
register PRUint64 a4 asm("r8");
|
||||
register PRUint64 a5 asm("r9");
|
||||
|
||||
switch (nr_gpr) {
|
||||
#define ARG_GPR(N) \
|
||||
case N+1: a##N = gpregs[N];
|
||||
ARG_GPR(5);
|
||||
ARG_GPR(4);
|
||||
ARG_GPR(3);
|
||||
ARG_GPR(2);
|
||||
ARG_GPR(1);
|
||||
case 1: a0 = (PRUint64) that;
|
||||
case 0:;
|
||||
#undef ARG_GPR
|
||||
}
|
||||
|
||||
// Ensure that assignments to SSE registers won't be optimized away
|
||||
asm("" ::
|
||||
"x" (d0), "x" (d1), "x" (d2), "x" (d3),
|
||||
"x" (d4), "x" (d5), "x" (d6), "x" (d7));
|
||||
|
||||
// Get pointer to method
|
||||
PRUint64 methodAddress = *((PRUint64 *)that);
|
||||
methodAddress += 8 * methodIndex;
|
||||
methodAddress = *((PRUint64 *)methodAddress);
|
||||
|
||||
typedef PRUint32 (*Method)(PRUint64, PRUint64, PRUint64, PRUint64, PRUint64, PRUint64);
|
||||
PRUint32 result = ((Method)methodAddress)(a0, a1, a2, a3, a4, a5);
|
||||
return result;
|
||||
}
|
@ -1,141 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
|
||||
* beard@netscape.com (Patrick Beard)
|
||||
* waterson@netscape.com (Chris Waterson)
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
// Platform specific code to invoke XPCOM methods on native objects
|
||||
|
||||
// The purpose of XPTC_InvokeByIndex() is to map a platform
|
||||
// indepenpent call to the platform ABI. To do that,
|
||||
// XPTC_InvokeByIndex() has to determine the method to call via vtable
|
||||
// access. The parameters for the method are read from the
|
||||
// nsXPTCVariant* and prepared for th native ABI. For the Linux/PPC
|
||||
// ABI this means that the first 8 integral and floating point
|
||||
// parameters are passed in registers.
|
||||
|
||||
#include "xptcprivate.h"
|
||||
|
||||
// 8 integral parameters are passed in registers
|
||||
#define GPR_COUNT 8
|
||||
|
||||
// 8 floating point parameters are passed in registers, floats are
|
||||
// promoted to doubles when passed in registers
|
||||
#define FPR_COUNT 8
|
||||
|
||||
extern "C" PRUint32
|
||||
invoke_count_words(PRUint32 paramCount, nsXPTCVariant* s)
|
||||
{
|
||||
return PRUint32(((paramCount * 2) + 3) & ~3);
|
||||
}
|
||||
|
||||
extern "C" void
|
||||
invoke_copy_to_stack(PRUint32* d,
|
||||
PRUint32 paramCount,
|
||||
nsXPTCVariant* s,
|
||||
PRUint32* gpregs,
|
||||
double* fpregs)
|
||||
{
|
||||
PRUint32 gpr = 1; // skip one GP reg for 'that'
|
||||
PRUint32 fpr = 0;
|
||||
PRUint32 tempu32;
|
||||
PRUint64 tempu64;
|
||||
|
||||
for(uint32 i = 0; i < paramCount; i++, s++) {
|
||||
if(s->IsPtrData())
|
||||
tempu32 = (PRUint32) s->ptr;
|
||||
else {
|
||||
switch(s->type) {
|
||||
case nsXPTType::T_FLOAT: break;
|
||||
case nsXPTType::T_DOUBLE: break;
|
||||
case nsXPTType::T_I8: tempu32 = s->val.i8; break;
|
||||
case nsXPTType::T_I16: tempu32 = s->val.i16; break;
|
||||
case nsXPTType::T_I32: tempu32 = s->val.i32; break;
|
||||
case nsXPTType::T_I64: tempu64 = s->val.i64; break;
|
||||
case nsXPTType::T_U8: tempu32 = s->val.u8; break;
|
||||
case nsXPTType::T_U16: tempu32 = s->val.u16; break;
|
||||
case nsXPTType::T_U32: tempu32 = s->val.u32; break;
|
||||
case nsXPTType::T_U64: tempu64 = s->val.u64; break;
|
||||
case nsXPTType::T_BOOL: tempu32 = s->val.b; break;
|
||||
case nsXPTType::T_CHAR: tempu32 = s->val.c; break;
|
||||
case nsXPTType::T_WCHAR: tempu32 = s->val.wc; break;
|
||||
default: tempu32 = (PRUint32) s->val.p; break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!s->IsPtrData() && s->type == nsXPTType::T_DOUBLE) {
|
||||
if (fpr < FPR_COUNT)
|
||||
fpregs[fpr++] = s->val.d;
|
||||
else {
|
||||
if ((PRUint32) d & 4) d++; // doubles are 8-byte aligned on stack
|
||||
*((double*) d) = s->val.d;
|
||||
d += 2;
|
||||
}
|
||||
}
|
||||
else if (!s->IsPtrData() && s->type == nsXPTType::T_FLOAT) {
|
||||
if (fpr < FPR_COUNT)
|
||||
fpregs[fpr++] = s->val.f; // if passed in registers, floats are promoted to doubles
|
||||
else
|
||||
*((float*) d++) = s->val.f;
|
||||
}
|
||||
else if (!s->IsPtrData() && (s->type == nsXPTType::T_I64
|
||||
|| s->type == nsXPTType::T_U64)) {
|
||||
if ((gpr + 1) < GPR_COUNT) {
|
||||
if (gpr & 1) gpr++; // longlongs are aligned in odd/even register pairs, eg. r5/r6
|
||||
*((PRUint64*) &gpregs[gpr]) = tempu64;
|
||||
gpr += 2;
|
||||
}
|
||||
else {
|
||||
if ((PRUint32) d & 4) d++; // longlongs are 8-byte aligned on stack
|
||||
*((PRUint64*) d) = tempu64;
|
||||
d += 2;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (gpr < GPR_COUNT)
|
||||
gpregs[gpr++] = tempu32;
|
||||
else
|
||||
*d++ = tempu32;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
extern "C"
|
||||
XPTC_PUBLIC_API(nsresult)
|
||||
XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
|
||||
PRUint32 paramCount, nsXPTCVariant* params);
|
@ -1,87 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2001 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Stuart Parmenter <pavlov@netscape.com>
|
||||
* Chris Seawood <cls@seawood.org>
|
||||
*/
|
||||
|
||||
|
||||
/* Platform specific code to invoke XPCOM methods on native objects */
|
||||
|
||||
#include "xptcprivate.h"
|
||||
|
||||
#if !defined(__sparc) && !defined(__sparc__)
|
||||
#error "This code is for Sparc only"
|
||||
#endif
|
||||
|
||||
extern "C" PRUint64
|
||||
invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
|
||||
{
|
||||
/*
|
||||
We need to copy the parameters for this function to locals and use them
|
||||
from there since the parameters occupy the same stack space as the stack
|
||||
we're trying to populate.
|
||||
*/
|
||||
PRUint64 *l_d = d;
|
||||
nsXPTCVariant *l_s = s;
|
||||
PRUint64 l_paramCount = paramCount;
|
||||
PRUint64 regCount = 0; // return the number of registers to load from the stack
|
||||
|
||||
for(PRUint64 i = 0; i < l_paramCount; i++, l_d++, l_s++)
|
||||
{
|
||||
if (regCount < 5) regCount++;
|
||||
|
||||
if (l_s->IsPtrData())
|
||||
{
|
||||
*l_d = (PRUint64)l_s->ptr;
|
||||
continue;
|
||||
}
|
||||
switch (l_s->type)
|
||||
{
|
||||
case nsXPTType::T_I8 : *((PRInt64*)l_d) = l_s->val.i8; break;
|
||||
case nsXPTType::T_I16 : *((PRInt64*)l_d) = l_s->val.i16; break;
|
||||
case nsXPTType::T_I32 : *((PRInt64*)l_d) = l_s->val.i32; break;
|
||||
case nsXPTType::T_I64 : *((PRInt64*)l_d) = l_s->val.i64; break;
|
||||
|
||||
case nsXPTType::T_U8 : *((PRUint64*)l_d) = l_s->val.u8; break;
|
||||
case nsXPTType::T_U16 : *((PRUint64*)l_d) = l_s->val.u16; break;
|
||||
case nsXPTType::T_U32 : *((PRUint64*)l_d) = l_s->val.u32; break;
|
||||
case nsXPTType::T_U64 : *((PRUint64*)l_d) = l_s->val.u64; break;
|
||||
|
||||
/* in the case of floats, we want to put the bits in to the
|
||||
64bit space right justified... floats in the paramter array on
|
||||
sparcv9 use odd numbered registers.. %f1, %f3, so we have to skip
|
||||
the space that would be occupied by %f0, %f2, etc.
|
||||
*/
|
||||
case nsXPTType::T_FLOAT : *(((float*)l_d) + 1) = l_s->val.f; break;
|
||||
case nsXPTType::T_DOUBLE: *((double*)l_d) = l_s->val.d; break;
|
||||
case nsXPTType::T_BOOL : *((PRInt64*)l_d) = l_s->val.b; break;
|
||||
case nsXPTType::T_CHAR : *((PRUint64*)l_d) = l_s->val.c; break;
|
||||
case nsXPTType::T_WCHAR : *((PRInt64*)l_d) = l_s->val.wc; break;
|
||||
|
||||
default:
|
||||
// all the others are plain pointer types
|
||||
*((void**)l_d) = l_s->val.p;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return regCount;
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# -*- Mode: Asm -*-
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
|
||||
# beard@netscape.com (Patrick Beard)
|
||||
# waterson@netscape.com (Chris Waterson)
|
||||
#
|
||||
|
||||
.set r0,0; .set sp,1; .set RTOC,2; .set r3,3; .set r4,4
|
||||
.set r5,5; .set r6,6; .set r7,7; .set r8,8; .set r9,9
|
||||
.set r10,10; .set r11,11; .set r12,12; .set r13,13; .set r14,14
|
||||
.set r15,15; .set r16,16; .set r17,17; .set r18,18; .set r19,19
|
||||
.set r20,20; .set r21,21; .set r22,22; .set r23,23; .set r24,24
|
||||
.set r25,25; .set r26,26; .set r27,27; .set r28,28; .set r29,29
|
||||
.set r30,30; .set r31,31
|
||||
.set f0,0; .set f1,1; .set f2,2; .set f3,3; .set f4,4
|
||||
.set f5,5; .set f6,6; .set f7,7; .set f8,8; .set f9,9
|
||||
.set f10,10; .set f11,11; .set f12,12; .set f13,13; .set f14,14
|
||||
.set f15,15; .set f16,16; .set f17,17; .set f18,18; .set f19,19
|
||||
.set f20,20; .set f21,21; .set f22,22; .set f23,23; .set f24,24
|
||||
.set f25,25; .set f26,26; .set f27,27; .set f28,28; .set f29,29
|
||||
.set f30,30; .set f31,31
|
||||
|
||||
.section ".text"
|
||||
.align 2
|
||||
.globl SharedStub
|
||||
.type SharedStub,@function
|
||||
|
||||
SharedStub:
|
||||
stwu sp,-112(sp) # room for
|
||||
# linkage (8),
|
||||
# gprData (32),
|
||||
# fprData (64),
|
||||
# stack alignment(8)
|
||||
mflr r0
|
||||
stw r0,116(sp) # save LR backchain
|
||||
|
||||
stw r4,12(sp) # save GP registers
|
||||
stw r5,16(sp) # (n.b. that we don't save r3
|
||||
stw r6,20(sp) # because PrepareAndDispatch() is savvy)
|
||||
stw r7,24(sp)
|
||||
stw r8,28(sp)
|
||||
stw r9,32(sp)
|
||||
stw r10,36(sp)
|
||||
|
||||
stfd f1,40(sp) # save FP registers
|
||||
stfd f2,48(sp)
|
||||
stfd f3,56(sp)
|
||||
stfd f4,64(sp)
|
||||
stfd f5,72(sp)
|
||||
stfd f6,80(sp)
|
||||
stfd f7,88(sp)
|
||||
stfd f8,96(sp)
|
||||
|
||||
# r3 has the 'self' pointer already
|
||||
|
||||
mr r4,r11 # r4 <= methodIndex selector, passed
|
||||
# via r11 in the nsXPTCStubBase::StubXX() call
|
||||
|
||||
addi r5,sp,120 # r5 <= pointer to callers args area,
|
||||
# beyond r3-r10/f1-f8 mapped range
|
||||
|
||||
addi r6,sp,8 # r6 <= gprData
|
||||
addi r7,sp,40 # r7 <= fprData
|
||||
|
||||
bl PrepareAndDispatch@local # Go!
|
||||
|
||||
lwz r0,116(sp) # restore LR
|
||||
mtlr r0
|
||||
la sp,112(sp) # clean up the stack
|
||||
blr
|
||||
|
@ -1,269 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1999
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/* Implement shared vtbl methods. */
|
||||
|
||||
/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <machine/cpu.h>
|
||||
#include "xptcprivate.h"
|
||||
|
||||
/* Prototype specifies unmangled function name and disables unused warning */
|
||||
static nsresult
|
||||
PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint64* args)
|
||||
__asm__("PrepareAndDispatch") __attribute__((unused));
|
||||
|
||||
static nsresult
|
||||
PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint64* args)
|
||||
{
|
||||
const PRUint8 PARAM_BUFFER_COUNT = 16;
|
||||
const PRUint8 NUM_ARG_REGS = 6-1; // -1 for "this" pointer
|
||||
|
||||
nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
|
||||
nsXPTCMiniVariant* dispatchParams = NULL;
|
||||
nsIInterfaceInfo* iface_info = NULL;
|
||||
const nsXPTMethodInfo* info;
|
||||
PRUint8 paramCount;
|
||||
PRUint8 i;
|
||||
nsresult result = NS_ERROR_FAILURE;
|
||||
|
||||
NS_ASSERTION(self,"no self");
|
||||
|
||||
self->GetInterfaceInfo(&iface_info);
|
||||
NS_ASSERTION(iface_info,"no interface info");
|
||||
|
||||
iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
|
||||
NS_ASSERTION(info,"no interface info");
|
||||
|
||||
paramCount = info->GetParamCount();
|
||||
|
||||
// setup variant array pointer
|
||||
if(paramCount > PARAM_BUFFER_COUNT)
|
||||
dispatchParams = new nsXPTCMiniVariant[paramCount];
|
||||
else
|
||||
dispatchParams = paramBuffer;
|
||||
NS_ASSERTION(dispatchParams,"no place for params");
|
||||
|
||||
// args[0] to args[NUM_ARG_REGS] hold floating point register values
|
||||
PRUint64* ap = args + NUM_ARG_REGS;
|
||||
for(i = 0; i < paramCount; i++, ap++)
|
||||
{
|
||||
const nsXPTParamInfo& param = info->GetParam(i);
|
||||
const nsXPTType& type = param.GetType();
|
||||
nsXPTCMiniVariant* dp = &dispatchParams[i];
|
||||
|
||||
if(param.IsOut() || !type.IsArithmetic())
|
||||
{
|
||||
dp->val.p = (void*) *ap;
|
||||
continue;
|
||||
}
|
||||
// else
|
||||
switch(type)
|
||||
{
|
||||
case nsXPTType::T_I8 : dp->val.i8 = (PRInt8) *ap; break;
|
||||
case nsXPTType::T_I16 : dp->val.i16 = (PRInt16) *ap; break;
|
||||
case nsXPTType::T_I32 : dp->val.i32 = (PRInt32) *ap; break;
|
||||
case nsXPTType::T_I64 : dp->val.i64 = (PRInt64) *ap; break;
|
||||
case nsXPTType::T_U8 : dp->val.u8 = (PRUint8) *ap; break;
|
||||
case nsXPTType::T_U16 : dp->val.u16 = (PRUint16) *ap; break;
|
||||
case nsXPTType::T_U32 : dp->val.u32 = (PRUint32) *ap; break;
|
||||
case nsXPTType::T_U64 : dp->val.u64 = (PRUint64) *ap; break;
|
||||
case nsXPTType::T_FLOAT :
|
||||
if(i < NUM_ARG_REGS)
|
||||
{
|
||||
// floats passed via registers are stored as doubles
|
||||
// in the first NUM_ARG_REGS entries in args
|
||||
dp->val.u64 = (PRUint64) args[i];
|
||||
dp->val.f = (float) dp->val.d; // convert double to float
|
||||
}
|
||||
else
|
||||
dp->val.u32 = (PRUint32) *ap;
|
||||
break;
|
||||
case nsXPTType::T_DOUBLE :
|
||||
// doubles passed via registers are also stored
|
||||
// in the first NUM_ARG_REGS entries in args
|
||||
dp->val.u64 = (i < NUM_ARG_REGS) ? args[i] : *ap;
|
||||
break;
|
||||
case nsXPTType::T_BOOL : dp->val.b = (PRBool) *ap; break;
|
||||
case nsXPTType::T_CHAR : dp->val.c = (char) *ap; break;
|
||||
case nsXPTType::T_WCHAR : dp->val.wc = (PRUnichar) *ap; break;
|
||||
default:
|
||||
NS_ASSERTION(0, "bad type");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
result = self->CallMethod((PRUint16)methodIndex, info, dispatchParams);
|
||||
|
||||
NS_RELEASE(iface_info);
|
||||
|
||||
if(dispatchParams != paramBuffer)
|
||||
delete [] dispatchParams;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* SharedStub()
|
||||
* Collects arguments and calls PrepareAndDispatch. The "methodIndex" is
|
||||
* passed to this function via $1 to preserve the argument registers.
|
||||
*/
|
||||
__asm__(
|
||||
"#### SharedStub ####\n"
|
||||
".text\n\t"
|
||||
".align 5\n\t"
|
||||
".ent SharedStub\n"
|
||||
"SharedStub:\n\t"
|
||||
".frame $30,96,$26,0\n\t"
|
||||
".mask 0x4000000,-96\n\t"
|
||||
"ldgp $29,0($27)\n"
|
||||
"$SharedStub..ng:\n\t"
|
||||
"subq $30,96,$30\n\t"
|
||||
"stq $26,0($30)\n\t"
|
||||
".prologue 1\n\t"
|
||||
|
||||
/*
|
||||
* Store arguments passed via registers to the stack.
|
||||
* Floating point registers are stored as doubles and converted
|
||||
* to floats in PrepareAndDispatch if necessary.
|
||||
*/
|
||||
"stt $f17,16($30)\n\t" /* floating point registers */
|
||||
"stt $f18,24($30)\n\t"
|
||||
"stt $f19,32($30)\n\t"
|
||||
"stt $f20,40($30)\n\t"
|
||||
"stt $f21,48($30)\n\t"
|
||||
"stq $17,56($30)\n\t" /* integer registers */
|
||||
"stq $18,64($30)\n\t"
|
||||
"stq $19,72($30)\n\t"
|
||||
"stq $20,80($30)\n\t"
|
||||
"stq $21,88($30)\n\t"
|
||||
|
||||
/*
|
||||
* Call PrepareAndDispatch function.
|
||||
*/
|
||||
"bis $1,$1,$17\n\t" /* pass "methodIndex" */
|
||||
"addq $30,16,$18\n\t" /* pass "args" */
|
||||
"bsr $26,$PrepareAndDispatch..ng\n\t"
|
||||
|
||||
"ldq $26,0($30)\n\t"
|
||||
"addq $30,96,$30\n\t"
|
||||
"ret $31,($26),1\n\t"
|
||||
".end SharedStub"
|
||||
);
|
||||
|
||||
#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
|
||||
/*
|
||||
* nsresult nsXPTCStubBase::Stub##n()
|
||||
* Sets register $1 to "methodIndex" and jumps to SharedStub.
|
||||
*/
|
||||
#define STUB_ENTRY(n) \
|
||||
__asm__( \
|
||||
"#### Stub"#n" ####\n" \
|
||||
".text\n\t" \
|
||||
".align 5\n\t" \
|
||||
".globl _ZN14nsXPTCStubBase5Stub"#n"Ev\n\t" \
|
||||
".ent _ZN14nsXPTCStubBase5Stub"#n"Ev\n" \
|
||||
"_ZN14nsXPTCStubBase5Stub"#n"Ev:\n\t" \
|
||||
".frame $30,0,$26,0\n\t" \
|
||||
"ldgp $29,0($27)\n" \
|
||||
"$_ZN14nsXPTCStubBase5Stub"#n"Ev..ng:\n\t" \
|
||||
".prologue 1\n\t" \
|
||||
"lda $1,"#n"\n\t" \
|
||||
"br $31,$SharedStub..ng\n\t" \
|
||||
".end _ZN14nsXPTCStubBase5Stub"#n"Ev" \
|
||||
); \
|
||||
__asm__( \
|
||||
"#### Stub"#n" ####\n" \
|
||||
".text\n\t" \
|
||||
".align 5\n\t" \
|
||||
".globl _ZN14nsXPTCStubBase6Stub"#n"Ev\n\t" \
|
||||
".ent _ZN14nsXPTCStubBase6Stub"#n"Ev\n" \
|
||||
"_ZN14nsXPTCStubBase6Stub"#n"Ev:\n\t" \
|
||||
".frame $30,0,$26,0\n\t" \
|
||||
"ldgp $29,0($27)\n" \
|
||||
"$_ZN14nsXPTCStubBase6Stub"#n"Ev..ng:\n\t" \
|
||||
".prologue 1\n\t" \
|
||||
"lda $1,"#n"\n\t" \
|
||||
"br $31,$SharedStub..ng\n\t" \
|
||||
".end _ZN14nsXPTCStubBase6Stub"#n"Ev" \
|
||||
); \
|
||||
__asm__( \
|
||||
"#### Stub"#n" ####\n" \
|
||||
".text\n\t" \
|
||||
".align 5\n\t" \
|
||||
".globl _ZN14nsXPTCStubBase7Stub"#n"Ev\n\t" \
|
||||
".ent _ZN14nsXPTCStubBase7Stub"#n"Ev\n" \
|
||||
"_ZN14nsXPTCStubBase7Stub"#n"Ev:\n\t" \
|
||||
".frame $30,0,$26,0\n\t" \
|
||||
"ldgp $29,0($27)\n" \
|
||||
"$_ZN14nsXPTCStubBase7Stub"#n"Ev..ng:\n\t" \
|
||||
".prologue 1\n\t" \
|
||||
"lda $1,"#n"\n\t" \
|
||||
"br $31,$SharedStub..ng\n\t" \
|
||||
".end _ZN14nsXPTCStubBase7Stub"#n"Ev" \
|
||||
);
|
||||
#else
|
||||
/*
|
||||
* nsresult nsXPTCStubBase::Stub##n()
|
||||
* Sets register $1 to "methodIndex" and jumps to SharedStub.
|
||||
*/
|
||||
#define STUB_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Stub##n() \
|
||||
{ \
|
||||
nsresult result; \
|
||||
__asm__ __volatile__( \
|
||||
"ldah $29,0($27)\n\t" \
|
||||
"lda $29,0($29)\n\t" \
|
||||
"lda $1, "#n"\n\t" \
|
||||
"br $31, $SharedStub..ng\n\t" \
|
||||
"mov $0, %0\n\t" \
|
||||
: "=r" (result) \
|
||||
); \
|
||||
return result; \
|
||||
}
|
||||
#endif
|
||||
|
||||
#define SENTINEL_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Sentinel##n() \
|
||||
{ \
|
||||
NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
|
||||
return NS_ERROR_NOT_IMPLEMENTED; \
|
||||
}
|
||||
|
||||
#include "xptcstubsdef.inc"
|
||||
|
@ -1,206 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
|
||||
// Implement shared vtbl methods.
|
||||
|
||||
#include "xptcprivate.h"
|
||||
|
||||
// The Linux/x86-64 ABI passes the first 6 integral parameters and the
|
||||
// first 8 floating point parameters in registers (rdi, rsi, rdx, rcx,
|
||||
// r8, r9 and xmm0-xmm7), no stack space is allocated for these by the
|
||||
// caller. The rest of the parameters are passed in the callers stack
|
||||
// area.
|
||||
|
||||
const PRUint32 PARAM_BUFFER_COUNT = 16;
|
||||
const PRUint32 GPR_COUNT = 6;
|
||||
const PRUint32 FPR_COUNT = 8;
|
||||
|
||||
// PrepareAndDispatch() is called by SharedStub() and calls the actual method.
|
||||
//
|
||||
// - 'args[]' contains the arguments passed on stack
|
||||
// - 'gpregs[]' contains the arguments passed in integer registers
|
||||
// - 'fpregs[]' contains the arguments passed in floating point registers
|
||||
//
|
||||
// The parameters are mapped into an array of type 'nsXPTCMiniVariant'
|
||||
// and then the method gets called.
|
||||
|
||||
extern "C" nsresult
|
||||
PrepareAndDispatch(nsXPTCStubBase * self, PRUint32 methodIndex,
|
||||
PRUint64 * args, PRUint64 * gpregs, double *fpregs)
|
||||
{
|
||||
nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
|
||||
nsXPTCMiniVariant* dispatchParams = NULL;
|
||||
nsIInterfaceInfo* iface_info = NULL;
|
||||
const nsXPTMethodInfo* info;
|
||||
PRUint32 paramCount;
|
||||
PRUint32 i;
|
||||
nsresult result = NS_ERROR_FAILURE;
|
||||
|
||||
NS_ASSERTION(self,"no self");
|
||||
|
||||
self->GetInterfaceInfo(&iface_info);
|
||||
NS_ASSERTION(iface_info,"no interface info");
|
||||
if (! iface_info)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
|
||||
iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
|
||||
NS_ASSERTION(info,"no method info");
|
||||
if (! info)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
|
||||
paramCount = info->GetParamCount();
|
||||
|
||||
// setup variant array pointer
|
||||
if(paramCount > PARAM_BUFFER_COUNT)
|
||||
dispatchParams = new nsXPTCMiniVariant[paramCount];
|
||||
else
|
||||
dispatchParams = paramBuffer;
|
||||
|
||||
NS_ASSERTION(dispatchParams,"no place for params");
|
||||
if (! dispatchParams)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
PRUint64* ap = args;
|
||||
PRUint32 nr_gpr = 1; // skip one GPR register for 'that'
|
||||
PRUint32 nr_fpr = 0;
|
||||
PRUint64 value;
|
||||
|
||||
for(i = 0; i < paramCount; i++) {
|
||||
const nsXPTParamInfo& param = info->GetParam(i);
|
||||
const nsXPTType& type = param.GetType();
|
||||
nsXPTCMiniVariant* dp = &dispatchParams[i];
|
||||
|
||||
if (!param.IsOut() && type == nsXPTType::T_DOUBLE) {
|
||||
if (nr_fpr < FPR_COUNT)
|
||||
dp->val.d = fpregs[nr_fpr++];
|
||||
else
|
||||
dp->val.d = *(double*) ap++;
|
||||
continue;
|
||||
}
|
||||
else if (!param.IsOut() && type == nsXPTType::T_FLOAT) {
|
||||
if (nr_fpr < FPR_COUNT)
|
||||
// The value in %xmm register is already prepared to
|
||||
// be retrieved as a float. Therefore, we pass the
|
||||
// value verbatim, as a double without conversion.
|
||||
dp->val.d = *(double*) ap++;
|
||||
else
|
||||
dp->val.f = *(float*) ap++;
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
if (nr_gpr < GPR_COUNT)
|
||||
value = gpregs[nr_gpr++];
|
||||
else
|
||||
value = *ap++;
|
||||
}
|
||||
|
||||
if (param.IsOut() || !type.IsArithmetic()) {
|
||||
dp->val.p = (void*) value;
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (type) {
|
||||
case nsXPTType::T_I8: dp->val.i8 = (PRInt8) value; break;
|
||||
case nsXPTType::T_I16: dp->val.i16 = (PRInt16) value; break;
|
||||
case nsXPTType::T_I32: dp->val.i32 = (PRInt32) value; break;
|
||||
case nsXPTType::T_I64: dp->val.i64 = (PRInt64) value; break;
|
||||
case nsXPTType::T_U8: dp->val.u8 = (PRUint8) value; break;
|
||||
case nsXPTType::T_U16: dp->val.u16 = (PRUint16) value; break;
|
||||
case nsXPTType::T_U32: dp->val.u32 = (PRUint32) value; break;
|
||||
case nsXPTType::T_U64: dp->val.u64 = (PRUint64) value; break;
|
||||
case nsXPTType::T_BOOL: dp->val.b = (PRBool) value; break;
|
||||
case nsXPTType::T_CHAR: dp->val.c = (char) value; break;
|
||||
case nsXPTType::T_WCHAR: dp->val.wc = (wchar_t) value; break;
|
||||
|
||||
default:
|
||||
NS_ASSERTION(0, "bad type");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
result = self->CallMethod((PRUint16) methodIndex, info, dispatchParams);
|
||||
|
||||
NS_RELEASE(iface_info);
|
||||
|
||||
if (dispatchParams != paramBuffer)
|
||||
delete [] dispatchParams;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
|
||||
// Linux/x86-64 uses gcc >= 3.1
|
||||
#define STUB_ENTRY(n) \
|
||||
asm(".section \".text\"\n\t" \
|
||||
".align 2\n\t" \
|
||||
".if " #n " < 10\n\t" \
|
||||
".globl _ZN14nsXPTCStubBase5Stub" #n "Ev\n\t" \
|
||||
".type _ZN14nsXPTCStubBase5Stub" #n "Ev,@function\n" \
|
||||
"_ZN14nsXPTCStubBase5Stub" #n "Ev:\n\t" \
|
||||
".elseif " #n " < 100\n\t" \
|
||||
".globl _ZN14nsXPTCStubBase6Stub" #n "Ev\n\t" \
|
||||
".type _ZN14nsXPTCStubBase6Stub" #n "Ev,@function\n" \
|
||||
"_ZN14nsXPTCStubBase6Stub" #n "Ev:\n\t" \
|
||||
".elseif " #n " < 1000\n\t" \
|
||||
".globl _ZN14nsXPTCStubBase7Stub" #n "Ev\n\t" \
|
||||
".type _ZN14nsXPTCStubBase7Stub" #n "Ev,@function\n" \
|
||||
"_ZN14nsXPTCStubBase7Stub" #n "Ev:\n\t" \
|
||||
".else\n\t" \
|
||||
".err \"stub number " #n " >= 1000 not yet supported\"\n\t" \
|
||||
".endif\n\t" \
|
||||
"movl $" #n ", %eax\n\t" \
|
||||
"jmp SharedStub\n\t" \
|
||||
".if " #n " < 10\n\t" \
|
||||
".size _ZN14nsXPTCStubBase5Stub" #n "Ev,.-_ZN14nsXPTCStubBase5Stub" #n "Ev\n\t" \
|
||||
".elseif " #n " < 100\n\t" \
|
||||
".size _ZN14nsXPTCStubBase6Stub" #n "Ev,.-_ZN14nsXPTCStubBase6Stub" #n "Ev\n\t" \
|
||||
".else\n\t" \
|
||||
".size _ZN14nsXPTCStubBase7Stub" #n "Ev,.-_ZN14nsXPTCStubBase7Stub" #n "Ev\n\t" \
|
||||
".endif");
|
||||
|
||||
// static nsresult SharedStub(PRUint32 methodIndex)
|
||||
asm(".section \".text\"\n\t"
|
||||
".align 2\n\t"
|
||||
".type SharedStub,@function\n\t"
|
||||
"SharedStub:\n\t"
|
||||
// make room for gpregs (48), fpregs (64)
|
||||
"pushq %rbp\n\t"
|
||||
"movq %rsp,%rbp\n\t"
|
||||
"subq $112,%rsp\n\t"
|
||||
// save GP registers
|
||||
"movq %rdi,-112(%rbp)\n\t"
|
||||
"movq %rsi,-104(%rbp)\n\t"
|
||||
"movq %rdx, -96(%rbp)\n\t"
|
||||
"movq %rcx, -88(%rbp)\n\t"
|
||||
"movq %r8 , -80(%rbp)\n\t"
|
||||
"movq %r9 , -72(%rbp)\n\t"
|
||||
"leaq -112(%rbp),%rcx\n\t"
|
||||
// save FP registers
|
||||
"movsd %xmm0,-64(%rbp)\n\t"
|
||||
"movsd %xmm1,-56(%rbp)\n\t"
|
||||
"movsd %xmm2,-48(%rbp)\n\t"
|
||||
"movsd %xmm3,-40(%rbp)\n\t"
|
||||
"movsd %xmm4,-32(%rbp)\n\t"
|
||||
"movsd %xmm5,-24(%rbp)\n\t"
|
||||
"movsd %xmm6,-16(%rbp)\n\t"
|
||||
"movsd %xmm7, -8(%rbp)\n\t"
|
||||
"leaq -64(%rbp),%r8\n\t"
|
||||
// rdi has the 'self' pointer already
|
||||
"movl %eax,%esi\n\t"
|
||||
"leaq 16(%rbp),%rdx\n\t"
|
||||
"call PrepareAndDispatch\n\t"
|
||||
"leave\n\t"
|
||||
"ret\n\t"
|
||||
".size SharedStub,.-SharedStub");
|
||||
|
||||
#define SENTINEL_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Sentinel##n() \
|
||||
{ \
|
||||
NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
|
||||
return NS_ERROR_NOT_IMPLEMENTED; \
|
||||
}
|
||||
|
||||
#include "xptcstubsdef.inc"
|
||||
|
||||
#else
|
||||
#error "can't find a compiler to use"
|
||||
#endif /* __GNUC__ */
|
@ -1,253 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.1 (the "License"); you may not use this file except in
|
||||
* compliance with the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1999
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
|
||||
* beard@netscape.com (Patrick Beard)
|
||||
* waterson@netscape.com (Chris Waterson)
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the NPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the NPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
// Implement shared vtbl methods.
|
||||
|
||||
#include "xptcprivate.h"
|
||||
|
||||
// The Linux/PPC ABI (aka PPC/SYSV ABI) passes the first 8 integral
|
||||
// parameters and the first 8 floating point parameters in registers
|
||||
// (r3-r10 and f1-f8), no stack space is allocated for these by the
|
||||
// caller. The rest of the parameters are passed in the callers stack
|
||||
// area. The stack pointer has to retain 16-byte alignment, longlongs
|
||||
// and doubles are aligned on 8-byte boundaries.
|
||||
|
||||
#define PARAM_BUFFER_COUNT 16
|
||||
#define GPR_COUNT 8
|
||||
#define FPR_COUNT 8
|
||||
|
||||
// PrepareAndDispatch() is called by SharedStub() and calls the actual method.
|
||||
//
|
||||
// - 'args[]' contains the arguments passed on stack
|
||||
// - 'gprData[]' contains the arguments passed in integer registers
|
||||
// - 'fprData[]' contains the arguments passed in floating point registers
|
||||
//
|
||||
// The parameters are mapped into an array of type 'nsXPTCMiniVariant'
|
||||
// and then the method gets called.
|
||||
|
||||
extern "C" nsresult
|
||||
PrepareAndDispatch(nsXPTCStubBase* self,
|
||||
PRUint32 methodIndex,
|
||||
PRUint32* args,
|
||||
PRUint32 *gprData,
|
||||
double *fprData)
|
||||
{
|
||||
nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
|
||||
nsXPTCMiniVariant* dispatchParams = NULL;
|
||||
nsIInterfaceInfo* iface_info = NULL;
|
||||
const nsXPTMethodInfo* info;
|
||||
PRUint32 paramCount;
|
||||
PRUint32 i;
|
||||
nsresult result = NS_ERROR_FAILURE;
|
||||
|
||||
NS_ASSERTION(self,"no self");
|
||||
|
||||
self->GetInterfaceInfo(&iface_info);
|
||||
NS_ASSERTION(iface_info,"no interface info");
|
||||
if (! iface_info)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
|
||||
iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
|
||||
NS_ASSERTION(info,"no method info");
|
||||
if (! info)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
|
||||
paramCount = info->GetParamCount();
|
||||
|
||||
// setup variant array pointer
|
||||
if(paramCount > PARAM_BUFFER_COUNT)
|
||||
dispatchParams = new nsXPTCMiniVariant[paramCount];
|
||||
else
|
||||
dispatchParams = paramBuffer;
|
||||
|
||||
NS_ASSERTION(dispatchParams,"no place for params");
|
||||
if (! dispatchParams)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
PRUint32* ap = args;
|
||||
PRUint32 gpr = 1; // skip one GPR register
|
||||
PRUint32 fpr = 0;
|
||||
PRUint32 tempu32;
|
||||
PRUint64 tempu64;
|
||||
|
||||
for(i = 0; i < paramCount; i++) {
|
||||
const nsXPTParamInfo& param = info->GetParam(i);
|
||||
const nsXPTType& type = param.GetType();
|
||||
nsXPTCMiniVariant* dp = &dispatchParams[i];
|
||||
|
||||
if (!param.IsOut() && type == nsXPTType::T_DOUBLE) {
|
||||
if (fpr < FPR_COUNT)
|
||||
dp->val.d = fprData[fpr++];
|
||||
else {
|
||||
if ((PRUint32) ap & 4) ap++; // doubles are 8-byte aligned on stack
|
||||
dp->val.d = *(double*) ap;
|
||||
ap += 2;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else if (!param.IsOut() && type == nsXPTType::T_FLOAT) {
|
||||
if (fpr < FPR_COUNT)
|
||||
dp->val.f = (float) fprData[fpr++]; // in registers floats are passed as doubles
|
||||
else
|
||||
dp->val.f = *(float*) ap++;
|
||||
continue;
|
||||
}
|
||||
else if (!param.IsOut() && (type == nsXPTType::T_I64
|
||||
|| type == nsXPTType::T_U64)) {
|
||||
if (gpr & 1) gpr++; // longlongs are aligned in odd/even register pairs, eg. r5/r6
|
||||
if ((gpr + 1) < GPR_COUNT) {
|
||||
tempu64 = *(PRUint64*) &gprData[gpr];
|
||||
gpr += 2;
|
||||
}
|
||||
else {
|
||||
if ((PRUint32) ap & 4) ap++; // longlongs are 8-byte aligned on stack
|
||||
tempu64 = *(PRUint64*) ap;
|
||||
ap += 2;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (gpr < GPR_COUNT)
|
||||
tempu32 = gprData[gpr++];
|
||||
else
|
||||
tempu32 = *ap++;
|
||||
}
|
||||
|
||||
if(param.IsOut() || !type.IsArithmetic()) {
|
||||
dp->val.p = (void*) tempu32;
|
||||
continue;
|
||||
}
|
||||
|
||||
switch(type) {
|
||||
case nsXPTType::T_I8: dp->val.i8 = (PRInt8) tempu32; break;
|
||||
case nsXPTType::T_I16: dp->val.i16 = (PRInt16) tempu32; break;
|
||||
case nsXPTType::T_I32: dp->val.i32 = (PRInt32) tempu32; break;
|
||||
case nsXPTType::T_I64: dp->val.i64 = (PRInt64) tempu64; break;
|
||||
case nsXPTType::T_U8: dp->val.u8 = (PRUint8) tempu32; break;
|
||||
case nsXPTType::T_U16: dp->val.u16 = (PRUint16) tempu32; break;
|
||||
case nsXPTType::T_U32: dp->val.u32 = (PRUint32) tempu32; break;
|
||||
case nsXPTType::T_U64: dp->val.u64 = (PRUint64) tempu64; break;
|
||||
case nsXPTType::T_BOOL: dp->val.b = (PRBool) tempu32; break;
|
||||
case nsXPTType::T_CHAR: dp->val.c = (char) tempu32; break;
|
||||
case nsXPTType::T_WCHAR: dp->val.wc = (wchar_t) tempu32; break;
|
||||
|
||||
default:
|
||||
NS_ASSERTION(0, "bad type");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
result = self->CallMethod((PRUint16) methodIndex, info, dispatchParams);
|
||||
|
||||
NS_RELEASE(iface_info);
|
||||
|
||||
if (dispatchParams != paramBuffer)
|
||||
delete [] dispatchParams;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// Load r11 with the constant 'n' and branch to SharedStub().
|
||||
//
|
||||
// XXX Yes, it's ugly that we're relying on gcc's name-mangling here;
|
||||
// however, it's quick, dirty, and'll break when the ABI changes on
|
||||
// us, which is what we want ;-).
|
||||
|
||||
#if __GXX_ABI_VERSION < 100
|
||||
// gcc-2 version
|
||||
# define STUB_ENTRY(n) \
|
||||
__asm__ ( \
|
||||
".section \".text\" \n\t" \
|
||||
".align 2 \n\t" \
|
||||
".globl Stub"#n"__14nsXPTCStubBase \n\t" \
|
||||
".type Stub"#n"__14nsXPTCStubBase,@function \n\n" \
|
||||
\
|
||||
"Stub"#n"__14nsXPTCStubBase: \n\t" \
|
||||
"li 11,"#n" \n\t" \
|
||||
"b SharedStub@local \n" \
|
||||
);
|
||||
#else
|
||||
// gcc-3 version
|
||||
//
|
||||
// As G++3 ABI contains the length of the functionname in the mangled
|
||||
// name, it is difficult to get a generic assembler mechanism like
|
||||
// in the G++ 2.95 case.
|
||||
// Create names would be like:
|
||||
// _ZN14nsXPTCStubBase5Stub1Ev
|
||||
// _ZN14nsXPTCStubBase6Stub12Ev
|
||||
// _ZN14nsXPTCStubBase7Stub123Ev
|
||||
// _ZN14nsXPTCStubBase8Stub1234Ev
|
||||
// etc.
|
||||
// Use assembler directives to get the names right...
|
||||
|
||||
# define STUB_ENTRY(n) \
|
||||
__asm__ ( \
|
||||
".align 2 \n\t" \
|
||||
".if "#n" < 10 \n\t" \
|
||||
".globl _ZN14nsXPTCStubBase5Stub"#n"Ev \n\t" \
|
||||
".type _ZN14nsXPTCStubBase5Stub"#n"Ev,@function \n\n" \
|
||||
"_ZN14nsXPTCStubBase5Stub"#n"Ev: \n\t" \
|
||||
\
|
||||
".elseif "#n" < 100 \n\t" \
|
||||
".globl _ZN14nsXPTCStubBase6Stub"#n"Ev \n\t" \
|
||||
".type _ZN14nsXPTCStubBase6Stub"#n"Ev,@function \n\n" \
|
||||
"_ZN14nsXPTCStubBase6Stub"#n"Ev: \n\t" \
|
||||
\
|
||||
".elseif "#n" < 1000 \n\t" \
|
||||
".globl _ZN14nsXPTCStubBase7Stub"#n"Ev \n\t" \
|
||||
".type _ZN14nsXPTCStubBase7Stub"#n"Ev,@function \n\n" \
|
||||
"_ZN14nsXPTCStubBase7Stub"#n"Ev: \n\t" \
|
||||
\
|
||||
".else \n\t" \
|
||||
".err \"stub number "#n" >= 1000 not yet supported\"\n" \
|
||||
".endif \n\t" \
|
||||
\
|
||||
"li 11,"#n" \n\t" \
|
||||
"b SharedStub@local \n" \
|
||||
);
|
||||
#endif
|
||||
|
||||
#define SENTINEL_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Sentinel##n() \
|
||||
{ \
|
||||
NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
|
||||
return NS_ERROR_NOT_IMPLEMENTED; \
|
||||
}
|
||||
|
||||
#include "xptcstubsdef.inc"
|
@ -1,123 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2001 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Stuart Parmenter <pavlov@netscape.com>
|
||||
*/
|
||||
|
||||
/* Implement shared vtbl methods. */
|
||||
|
||||
#include "xptcprivate.h"
|
||||
|
||||
#if defined(sparc) || defined(__sparc__)
|
||||
|
||||
extern "C" nsresult
|
||||
PrepareAndDispatch(nsXPTCStubBase* self, PRUint64 methodIndex, PRUint64* args)
|
||||
{
|
||||
|
||||
#define PARAM_BUFFER_COUNT 16
|
||||
|
||||
nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
|
||||
nsXPTCMiniVariant* dispatchParams = NULL;
|
||||
nsIInterfaceInfo* iface_info = NULL;
|
||||
const nsXPTMethodInfo* info;
|
||||
PRUint8 paramCount;
|
||||
PRUint8 i;
|
||||
nsresult result = NS_ERROR_FAILURE;
|
||||
|
||||
NS_ASSERTION(self,"no self");
|
||||
|
||||
self->GetInterfaceInfo(&iface_info);
|
||||
NS_ASSERTION(iface_info,"no interface info");
|
||||
|
||||
iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
|
||||
NS_ASSERTION(info,"no interface info");
|
||||
|
||||
paramCount = info->GetParamCount();
|
||||
|
||||
// setup variant array pointer
|
||||
if(paramCount > PARAM_BUFFER_COUNT)
|
||||
dispatchParams = new nsXPTCMiniVariant[paramCount];
|
||||
else
|
||||
dispatchParams = paramBuffer;
|
||||
NS_ASSERTION(dispatchParams,"no place for params");
|
||||
|
||||
PRUint64* ap = args;
|
||||
for(i = 0; i < paramCount; i++, ap++)
|
||||
{
|
||||
const nsXPTParamInfo& param = info->GetParam(i);
|
||||
const nsXPTType& type = param.GetType();
|
||||
nsXPTCMiniVariant* dp = &dispatchParams[i];
|
||||
|
||||
if(param.IsOut() || !type.IsArithmetic())
|
||||
{
|
||||
dp->val.p = (void*) *ap;
|
||||
continue;
|
||||
}
|
||||
// else
|
||||
switch(type)
|
||||
{
|
||||
case nsXPTType::T_BOOL : dp->val.b = *((PRInt64*) ap); break;
|
||||
case nsXPTType::T_CHAR : dp->val.c = *((PRUint64*) ap); break;
|
||||
case nsXPTType::T_WCHAR : dp->val.wc = *((PRInt64*) ap); break;
|
||||
case nsXPTType::T_I8 : dp->val.i8 = *((PRInt64*) ap); break;
|
||||
case nsXPTType::T_I16 : dp->val.i16 = *((PRInt64*) ap); break;
|
||||
case nsXPTType::T_I32 : dp->val.i32 = *((PRInt64*) ap); break;
|
||||
case nsXPTType::T_I64 : dp->val.i64 = *((PRInt64*) ap); break;
|
||||
case nsXPTType::T_U8 : dp->val.u8 = *((PRUint64*) ap); break;
|
||||
case nsXPTType::T_U16 : dp->val.u16 = *((PRUint64*)ap); break;
|
||||
case nsXPTType::T_U32 : dp->val.u32 = *((PRUint64*)ap); break;
|
||||
case nsXPTType::T_U64 : dp->val.u64 = *((PRUint64*) ap); break;
|
||||
case nsXPTType::T_FLOAT : dp->val.f = ((float*) ap)[1]; break;
|
||||
case nsXPTType::T_DOUBLE : dp->val.d = *((double*) ap); break;
|
||||
default:
|
||||
NS_ASSERTION(0, "bad type");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
result = self->CallMethod((PRUint16)methodIndex, info, dispatchParams);
|
||||
|
||||
NS_RELEASE(iface_info);
|
||||
|
||||
if(dispatchParams != paramBuffer)
|
||||
delete [] dispatchParams;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int SharedStub(int, int*);
|
||||
|
||||
#define STUB_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Stub##n() \
|
||||
{ \
|
||||
int dummy; /* defeat tail-call optimization */ \
|
||||
return SharedStub(n, &dummy); \
|
||||
}
|
||||
|
||||
#define SENTINEL_ENTRY(n) \
|
||||
nsresult nsXPTCStubBase::Sentinel##n() \
|
||||
{ \
|
||||
NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
|
||||
return NS_ERROR_NOT_IMPLEMENTED; \
|
||||
}
|
||||
|
||||
#include "xptcstubsdef.inc"
|
||||
|
||||
#endif /* sparc || __sparc__ */
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-build_autoconf_altoptions_m4,v 1.2 2004/01/18 10:49:33 wilfried Exp $
|
||||
--- build/autoconf/altoptions.m4.orig 2001-10-29 23:59:28.000000000 +0100
|
||||
+++ build/autoconf/altoptions.m4 2003-12-12 15:43:28.000000000 +0100
|
||||
@@ -127,14 +127,3 @@ echo "
|
||||
[$3]
|
||||
fi
|
||||
])
|
||||
-
|
||||
-dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
|
||||
-AC_DEFUN(MOZ_READ_MOZCONFIG,
|
||||
-[AC_REQUIRE([AC_INIT_BINSH])dnl
|
||||
-# Read in '.mozconfig' script to set the initial options.
|
||||
-# See the mozconfig2configure script for more details.
|
||||
-_AUTOCONF_TOOLS_DIR=`dirname [$]0`/[$1]/build/autoconf
|
||||
-. $_AUTOCONF_TOOLS_DIR/mozconfig2configure])
|
||||
-
|
||||
-dnl This gets inserted at the top of the configure script
|
||||
-MOZ_READ_MOZCONFIG(MOZ_TOPSRCDIR)
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-build_unix_mozilla-js_pc_in,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- build/unix/mozilla-js.pc.in.orig Mon Nov 13 13:02:54 2006
|
||||
+++ build/unix/mozilla-js.pc.in Mon Nov 13 13:03:10 2006
|
||||
@@ -6,6 +6,6 @@ includedir=%includedir%
|
||||
Name: JavaScript
|
||||
Description: The Mozilla JavaScript Library
|
||||
Version: %MOZILLA_VERSION%
|
||||
-Requires: mozilla-nspr = %MOZILLA_VERSION%
|
||||
+Requires: nspr
|
||||
Libs: -L${libdir} -lmozjs
|
||||
Cflags: -I${includedir}/js -DXP_UNIX
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-build_unix_mozilla-nss_pc_in,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- build/unix/mozilla-nss.pc.in.orig Mon Nov 13 13:03:34 2006
|
||||
+++ build/unix/mozilla-nss.pc.in Mon Nov 13 13:03:48 2006
|
||||
@@ -6,6 +6,6 @@ includedir=%includedir%
|
||||
Name: NSS
|
||||
Description: Mozilla Network Security Services
|
||||
Version: %MOZILLA_VERSION%
|
||||
-Requires: mozilla-nspr = %MOZILLA_VERSION%
|
||||
+Requires: nspr
|
||||
Libs: -L${libdir} -lnss3 -lsmime3 -lssl3 -lsoftokn3
|
||||
Cflags: -I${includedir}/nss
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-build_unix_mozilla-xpcom_pc_in,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- build/unix/mozilla-xpcom.pc.in.orig Mon Nov 13 13:04:06 2006
|
||||
+++ build/unix/mozilla-xpcom.pc.in Mon Nov 13 13:04:20 2006
|
||||
@@ -7,6 +7,6 @@ idldir=%idldir%
|
||||
Name: XPCOM
|
||||
Description: The Mozilla Cross Platform Component Library
|
||||
Version: %MOZILLA_VERSION%
|
||||
-Requires: mozilla-nspr = %MOZILLA_VERSION%
|
||||
+Requires: nspr
|
||||
Libs: -L${libdir} -lxpcom
|
||||
Cflags: -I${includedir} -I${includedir}/xpcom -I${includedir}/string
|
@ -1,28 +0,0 @@
|
||||
$OpenBSD: patch-config_autoconf_mk_in,v 1.8 2005/03/13 05:02:16 kurt Exp $
|
||||
--- config/autoconf.mk.in.orig Tue Oct 12 00:13:31 2004
|
||||
+++ config/autoconf.mk.in Wed Jan 14 14:29:11 2004
|
||||
@@ -31,13 +31,13 @@ MOZ_APP_VERSION = @MOZ_APP_VERSION@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
+includedir = $(prefix)/mozilla/include
|
||||
libdir = @libdir@
|
||||
datadir = @datadir@
|
||||
mandir = @mandir@
|
||||
idldir = @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
|
||||
-mozappdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
|
||||
+mozappdir = $(prefix)/mozilla
|
||||
mredir = $(libdir)/mre/mre-$(MOZ_APP_VERSION)
|
||||
mrelibdir = $(mredir)/lib
|
||||
|
||||
@@ -183,7 +183,7 @@ OS_LDFLAGS = @LDFLAGS@
|
||||
OS_COMPILE_CFLAGS = $(OS_CPPFLAGS) @COMPILE_CFLAGS@
|
||||
OS_COMPILE_CXXFLAGS = $(OS_CPPFLAGS) @COMPILE_CXXFLAGS@
|
||||
|
||||
-OS_INCLUDES = $(NSPR_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS)
|
||||
+OS_INCLUDES = $(NSPR_CFLAGS) $(FT2_CFLAGS) $(LIBIDL_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS)
|
||||
OS_LIBS = @LIBS@
|
||||
ACDEFINES = @MOZ_DEFINES@
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-config_mkdepend_imakemdep_h,v 1.1 2004/03/02 08:32:13 pvalchev Exp $
|
||||
--- config/mkdepend/imakemdep.h.orig 1998-09-04 22:22:25.000000000 -0600
|
||||
+++ config/mkdepend/imakemdep.h 2004-03-01 17:40:10.000000000 -0700
|
||||
@@ -277,6 +277,9 @@ char *cpp_argv[ARGUMENTS] = {
|
||||
# ifdef __i386__
|
||||
"-D__i386__",
|
||||
# endif
|
||||
+# if defined(__amd64__) || defined(__x86_64__)
|
||||
+ "-D__amd64__ -D__x86_64__",
|
||||
+# endif
|
||||
# ifdef __GNUC__
|
||||
"-traditional",
|
||||
# endif
|
@ -1,64 +0,0 @@
|
||||
$OpenBSD: patch-config_rules_mk,v 1.2 2005/03/13 05:02:16 kurt Exp $
|
||||
--- config/rules.mk.orig Thu Jun 24 14:58:48 2004
|
||||
+++ config/rules.mk Wed Mar 9 16:53:06 2005
|
||||
@@ -666,7 +666,7 @@ ifdef SHARED_LIBRARY
|
||||
ifdef IS_COMPONENT
|
||||
ifdef GRE_MODULE
|
||||
ifndef DISABLE_DIST_GRE
|
||||
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(GRE_DIST)/components
|
||||
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(GRE_DIST)/components
|
||||
$(ELF_DYNSTR_GC) $(GRE_DIST)/components/$(SHARED_LIBRARY)
|
||||
ifdef BEOS_ADDON_WORKAROUND
|
||||
( cd $(GRE_DIST)/components && $(CC) -nostart -o $(SHARED_LIBRARY).stub $(SHARED_LIBRARY) )
|
||||
@@ -676,7 +676,7 @@ endif # GRE_MODULE
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
$(INSTALL) $(IFLAGS2) $(IMPORT_LIBRARY) $(DIST)/lib/components
|
||||
else
|
||||
- $(INSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(DIST)/lib/components
|
||||
+ $(INSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(DIST)/lib/components
|
||||
$(ELF_DYNSTR_GC) $(DIST)/lib/components/$(SHARED_LIBRARY)
|
||||
endif
|
||||
ifndef _SKIP_OLD_GRE_INSTALL
|
||||
@@ -765,15 +765,15 @@ ifndef NO_INSTALL
|
||||
ifdef SHARED_LIBRARY
|
||||
ifdef IS_COMPONENT
|
||||
ifdef MRE_DIST
|
||||
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)/components
|
||||
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)/components
|
||||
else
|
||||
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)/components
|
||||
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)/components
|
||||
endif
|
||||
else
|
||||
ifdef MRE_DIST
|
||||
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)
|
||||
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mredir)
|
||||
else
|
||||
- $(SYSINSTALL) $(IFLAGS2) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)
|
||||
+ $(SYSINSTALL) $(IFLAGS1) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) $(DESTDIR)$(mozappdir)
|
||||
endif
|
||||
endif
|
||||
endif # SHARED_LIBRARY
|
||||
@@ -1022,7 +1022,6 @@ endif # NO_LD_ARCHIVE_FLAGS
|
||||
else # os2 vacpp
|
||||
$(MKSHLIB) /O:$@ /DLL /INC:_dllentry $(LDFLAGS) $(OBJS) $(LOBJS) $(EXTRA_DSO_LDOPTS) $(OS_LIBS) $(EXTRA_LIBS) $(DEF_FILE)
|
||||
endif # !os2 vacpp
|
||||
- chmod +x $@
|
||||
ifndef NO_COMPONENT_LINK_MAP
|
||||
ifndef MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS
|
||||
ifndef MOZ_DEBUG
|
||||
@@ -1113,6 +1112,14 @@ endif
|
||||
$(REPORT_BUILD)
|
||||
@$(MAKE_DEPS_AUTO)
|
||||
$(ELOG) $(CCC) $(OUTOPTION)$@ -c $(COMPILE_CXXFLAGS) $(_VPATH_SRCS)
|
||||
+
|
||||
+#
|
||||
+# Temp fix for propolice bug
|
||||
+#
|
||||
+nsPresShell.$(OBJ_SUFFIX): nsPresShell.cpp Makefile Makefile.in
|
||||
+ $(REPORT_BUILD)
|
||||
+ @$(MAKE_DEPS_AUTO)
|
||||
+ $(ELOG) $(CCC) $(OUTOPTION)$@ -c $(COMPILE_CXXFLAGS) -fno-stack-protector $(_VPATH_SRCS)
|
||||
|
||||
%.$(OBJ_SUFFIX): %.cpp Makefile Makefile.in
|
||||
$(REPORT_BUILD)
|
@ -1,37 +0,0 @@
|
||||
$OpenBSD: patch-configure_in,v 1.11 2005/04/11 15:03:18 kurt Exp $
|
||||
--- configure.in.orig Tue Oct 12 00:13:29 2004
|
||||
+++ configure.in Tue Apr 5 14:50:29 2005
|
||||
@@ -1346,10 +1346,14 @@ case "$target" in
|
||||
;;
|
||||
|
||||
*-openbsd*)
|
||||
- DLL_SUFFIX=".so.1.0"
|
||||
+ DLL_SUFFIX=".so.${SO_VERSION}"
|
||||
DSO_CFLAGS=''
|
||||
DSO_PIC_CFLAGS='-fPIC'
|
||||
DSO_LDOPTS='-shared -fPIC'
|
||||
+ MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
|
||||
+ MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
|
||||
+ MKSHLIB_FORCE_ALL=''
|
||||
+ MKSHLIB_UNFORCE_ALL=''
|
||||
if test "$LIBRUNPATH"; then
|
||||
DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
|
||||
fi
|
||||
@@ -3100,7 +3104,7 @@ _SAVE_LIBS=$LIBS
|
||||
CFLAGS="$ZLIB_CFLAGS $CFLAGS"
|
||||
LDFLAGS="$ZLIB_LIBS -lz $LDFLAGS"
|
||||
if test -n "${PNG_DIR}"; then
|
||||
- CFLAGS="-I${PNG_DIR}/include $CFLAGS"
|
||||
+ CFLAGS="-I${PNG_DIR}/include/libpng $CFLAGS"
|
||||
LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
|
||||
fi
|
||||
if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
|
||||
@@ -3130,7 +3134,7 @@ LDFLAGS=$_SAVE_LDFLAGS
|
||||
LIBS=$_SAVE_LIBS
|
||||
|
||||
if test "${PNG_DIR}" -a -d "${PNG_DIR}" -a "$SYSTEM_PNG" = 1; then
|
||||
- PNG_CFLAGS="-I${PNG_DIR}/include"
|
||||
+ PNG_CFLAGS="-I${PNG_DIR}/include/libpng"
|
||||
PNG_LIBS="-L${PNG_DIR}/lib ${PNG_LIBS}"
|
||||
fi
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-content_xul_templates_src_nsTemplateMatchSet_h,v 1.1 2007/02/22 00:40:59 naddy Exp $
|
||||
--- content/xul/templates/src/nsTemplateMatchSet.h.orig Tue Sep 25 03:32:17 2001
|
||||
+++ content/xul/templates/src/nsTemplateMatchSet.h Wed Feb 21 01:11:17 2007
|
||||
@@ -208,7 +208,11 @@ protected:
|
||||
* If the set is currently
|
||||
*/
|
||||
struct InlineMatches {
|
||||
+#ifdef __LP64__
|
||||
+ PRUint64 mCount;
|
||||
+#else
|
||||
PRUint32 mCount;
|
||||
+#endif
|
||||
nsTemplateMatch* mEntries[kMaxInlineMatches];
|
||||
};
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-directory_c-sdk_build_mk,v 1.1 2005/03/13 05:02:16 kurt Exp $
|
||||
--- directory/c-sdk/build.mk.orig Mon Jan 17 21:54:42 2005
|
||||
+++ directory/c-sdk/build.mk Mon Jan 17 21:55:54 2005
|
||||
@@ -410,10 +410,10 @@ else
|
||||
LINK_LIB = $(RM) $@; $(AR) $(AR_FLAGS) $(OBJS); $(RANLIB) $@
|
||||
LINK_LIB2 = $(RM) $@; $(AR) $@ $(OBJS2); $(RANLIB) $@
|
||||
ifdef SONAMEFLAG_PREFIX
|
||||
-LINK_DLL = $(LD) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
||||
+LINK_DLL = $(CC) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
||||
-o $@ $(SONAMEFLAG_PREFIX)$(notdir $@) $(OBJS)
|
||||
else # SONAMEFLAG_PREFIX
|
||||
-LINK_DLL = $(LD) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
||||
+LINK_DLL = $(CC) $(DSO_LDOPTS) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
|
||||
-o $@ $(OBJS)
|
||||
endif # SONAMEFLAG_PREFIX
|
||||
endif #!os2
|
@ -1,37 +0,0 @@
|
||||
$OpenBSD: patch-directory_c-sdk_config_OpenBSD_mk,v 1.2 2005/04/11 15:03:18 kurt Exp $
|
||||
--- directory/c-sdk/config/OpenBSD.mk.orig Tue Mar 26 16:51:50 2002
|
||||
+++ directory/c-sdk/config/OpenBSD.mk Wed Apr 6 22:27:47 2005
|
||||
@@ -37,8 +37,8 @@
|
||||
|
||||
include $(MOD_DEPTH)/config/UNIX.mk
|
||||
|
||||
-CC = gcc
|
||||
-CCC = g++
|
||||
+CC = ${CC}
|
||||
+CCC = ${CXX}
|
||||
RANLIB = ranlib
|
||||
|
||||
OS_REL_CFLAGS =
|
||||
@@ -59,20 +59,9 @@ endif
|
||||
|
||||
ARCH = openbsd
|
||||
|
||||
-DLL_SUFFIX = so.1.0
|
||||
+DLL_SUFFIX = so.${SO_VERSION}
|
||||
|
||||
DSO_CFLAGS = -fPIC
|
||||
-DSO_LDOPTS = -Bshareable
|
||||
-ifeq ($(OS_TEST),alpha)
|
||||
DSO_LDOPTS = -shared
|
||||
-endif
|
||||
-ifeq ($(OS_TEST),mips)
|
||||
-DSO_LDOPTS = -shared
|
||||
-endif
|
||||
-ifeq ($(OS_TEST),pmax)
|
||||
-DSO_LDOPTS = -shared
|
||||
-endif
|
||||
|
||||
-MKSHLIB = $(LD) $(DSO_LDOPTS)
|
||||
-
|
||||
-G++INCLUDES = -I/usr/include/g++
|
||||
+MKSHLIB = $(CC) $(DSO_LDOPTS)
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-directory_c-sdk_config_rules_mk,v 1.2 2005/03/13 05:02:16 kurt Exp $
|
||||
--- directory/c-sdk/config/rules.mk.orig Mon Jan 17 22:17:39 2005
|
||||
+++ directory/c-sdk/config/rules.mk Mon Jan 17 22:17:57 2005
|
||||
@@ -219,7 +219,7 @@ distclean::
|
||||
|
||||
real_install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS)
|
||||
ifdef RELEASE_BINS
|
||||
- $(NSINSTALL) -t -m 0755 $(RELEASE_BINS) $(DESTDIR)$(bindir)
|
||||
+ $(NSINSTALL) -t -m 0444 $(RELEASE_BINS) $(DESTDIR)$(bindir)
|
||||
endif
|
||||
ifdef RELEASE_HEADERS
|
||||
$(NSINSTALL) -t -m 0644 $(RELEASE_HEADERS) $(DESTDIR)$(includedir)
|
@ -1,27 +0,0 @@
|
||||
$OpenBSD: patch-directory_c-sdk_configure_in,v 1.2 2005/04/11 15:03:18 kurt Exp $
|
||||
--- directory/c-sdk/configure.in.orig Tue Sep 14 17:14:38 2004
|
||||
+++ directory/c-sdk/configure.in Tue Apr 5 14:53:45 2005
|
||||
@@ -1440,19 +1440,16 @@ mips-sony-newsos*)
|
||||
AC_DEFINE(XP_UNIX)
|
||||
AC_DEFINE(OPENBSD)
|
||||
AC_DEFINE(HAVE_BSD_FLOCK)
|
||||
+ AC_DEFINE(HAVE_SOCKLEN_T)
|
||||
CFLAGS="$CFLAGS -ansi -Wall"
|
||||
CXXFLAGS="$CXXFLAGS -ansi -Wall"
|
||||
- DLL_SUFFIX=so.1.0
|
||||
+ DLL_SUFFIX=so.${SO_VERSION}
|
||||
DSO_CFLAGS=-fPIC
|
||||
MDCPUCFG_H=_openbsd.cfg
|
||||
PR_MD_CSRCS=openbsd.c
|
||||
USE_NSPR_THREADS=1
|
||||
- case "$OS_TEST" in
|
||||
- alpha|mips|pmax)
|
||||
- DSO_LDOPTS=-shared ;;
|
||||
- *)
|
||||
- DSO_LDOPTS=-Bshareable ;;
|
||||
- esac
|
||||
+ DSO_LDOPTS='-shared -fPIC'
|
||||
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
|
||||
;;
|
||||
|
||||
*-openvms*)
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-directory_c-sdk_ldap_include_Makefile_in,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- directory/c-sdk/ldap/include/Makefile.in.orig Mon Nov 6 11:48:38 2006
|
||||
+++ directory/c-sdk/ldap/include/Makefile.in Mon Nov 6 11:49:05 2006
|
||||
@@ -76,7 +76,6 @@ all export:: $(INCLUDEDIR) $(GENHEADERS)
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(INCLUDEDIR)
|
||||
$(INSTALL) $(INSTALLFLAGS) -m 644 $(PRIVATEHEADERS) $(PRIVATEINCDIR)
|
||||
rm -rf $(NSPRINCDIR)/*
|
||||
- cp -r $(DIST)/$(OBJDIR_NAME)/include/nspr/* $(NSPRINCDIR)
|
||||
|
||||
$(INCLUDEDIR): FORCE
|
||||
$(NSINSTALL) -D $(INCLUDEDIR)
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-directory_c-sdk_ldap_libraries_libprldap_Makefile_in,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- directory/c-sdk/ldap/libraries/libprldap/Makefile.in.orig Mon Nov 6 11:49:16 2006
|
||||
+++ directory/c-sdk/ldap/libraries/libprldap/Makefile.in Mon Nov 6 11:50:09 2006
|
||||
@@ -58,7 +58,7 @@ GARBAGE += $(LIBPRLDAP) $(DLLPRLDAP)
|
||||
|
||||
LOCAL_INCLUDES = -I$(PUBLIC)/nspr
|
||||
INCLUDES += -I$(DISTHDIR) -I$(HDIR) -I$(INSTALLDIR)/include \
|
||||
- -I$(DIST)/include/nspr
|
||||
+ $(shell nspr-config --cflags)
|
||||
DEFINES += $(DEFS)
|
||||
|
||||
PLATFORMCFLAGS = -DUSE_WAITPID -DNEEDPROTOS
|
@ -1,29 +0,0 @@
|
||||
$OpenBSD: patch-extensions_transformiix_source_base_Double_cpp,v 1.4 2005/03/13 05:02:16 kurt Exp $
|
||||
--- extensions/transformiix/source/base/Double.cpp.orig Tue Jan 11 23:47:29 2005
|
||||
+++ extensions/transformiix/source/base/Double.cpp Tue Jan 11 23:51:31 2005
|
||||
@@ -114,17 +114,19 @@ typedef union txdpun {
|
||||
#define TX_DOUBLE_HI32_EXPMASK 0x7ff00000
|
||||
#define TX_DOUBLE_HI32_MANTMASK 0x000fffff
|
||||
|
||||
+#define STRICT_ALIGN __attribute__ ((aligned (8)))
|
||||
+
|
||||
//-- Initialize Double related constants
|
||||
#ifdef IS_BIG_ENDIAN
|
||||
-const PRUint32 nanMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK,
|
||||
+const PRUint32 nanMask[2] STRICT_ALIGN = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK,
|
||||
0xffffffff};
|
||||
-const PRUint32 infMask[2] = {TX_DOUBLE_HI32_EXPMASK, 0};
|
||||
-const PRUint32 negInfMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0};
|
||||
+const PRUint32 infMask[2] STRICT_ALIGN = {TX_DOUBLE_HI32_EXPMASK, 0};
|
||||
+const PRUint32 negInfMask[2] STRICT_ALIGN = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0};
|
||||
#else
|
||||
-const PRUint32 nanMask[2] = {0xffffffff,
|
||||
+const PRUint32 nanMask[2] STRICT_ALIGN = {0xffffffff,
|
||||
TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK};
|
||||
-const PRUint32 infMask[2] = {0, TX_DOUBLE_HI32_EXPMASK};
|
||||
-const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
|
||||
+const PRUint32 infMask[2] STRICT_ALIGN = {0, TX_DOUBLE_HI32_EXPMASK};
|
||||
+const PRUint32 negInfMask[2] STRICT_ALIGN = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
|
||||
#endif
|
||||
|
||||
const double Double::NaN = *((double*)nanMask);
|
@ -1,47 +0,0 @@
|
||||
$OpenBSD: patch-gfx_idl_nsIFreeType2_idl,v 1.2 2005/03/13 05:02:16 kurt Exp $
|
||||
--- gfx/idl/nsIFreeType2.idl.orig Thu Apr 15 21:09:33 2004
|
||||
+++ gfx/idl/nsIFreeType2.idl Mon Jan 12 14:54:32 2004
|
||||
@@ -76,10 +76,11 @@ native FT_Pointer(FT_Pointer);
|
||||
native FT_Sfnt_Tag(FT_Sfnt_Tag);
|
||||
native FT_Size(FT_Size);
|
||||
|
||||
-[ptr] native FTC_Image_Desc_p(FTC_Image_Desc);
|
||||
+[ptr] native FTC_ImageType_p(FTC_ImageType);
|
||||
native FTC_Face_Requester(FTC_Face_Requester);
|
||||
native FTC_Font(FTC_Font);
|
||||
-native FTC_Image_Cache(FTC_Image_Cache);
|
||||
+native FTC_FaceID(FTC_FaceID);
|
||||
+native FTC_ImageCache(FTC_ImageCache);
|
||||
native FTC_Manager(FTC_Manager);
|
||||
|
||||
// #ifdef MOZ_SVG
|
||||
@@ -99,7 +100,7 @@ interface nsIFreeType2 : nsISupports
|
||||
|
||||
readonly attribute FT_Library library;
|
||||
readonly attribute FTC_Manager FTCacheManager;
|
||||
- readonly attribute FTC_Image_Cache ImageCache;
|
||||
+ readonly attribute FTC_ImageCache ImageCache;
|
||||
|
||||
void doneFace(in FT_Face face);
|
||||
void doneFreeType(in FT_Library lib);
|
||||
@@ -115,16 +116,16 @@ interface nsIFreeType2 : nsISupports
|
||||
void outlineDecompose(in FT_Outline_p outline,
|
||||
in const_FT_Outline_Funcs_p funcs, in voidPtr p);
|
||||
void setCharmap(in FT_Face face, in FT_CharMap charmap);
|
||||
- void imageCacheLookup(in FTC_Image_Cache cache, in FTC_Image_Desc_p desc,
|
||||
+ void imageCacheLookup(in FTC_ImageCache cache, in FTC_ImageType_p desc,
|
||||
in FT_UInt gindex, out FT_Glyph glyph);
|
||||
- void managerLookupSize(in FTC_Manager manager, in FTC_Font font,
|
||||
- out FT_Face face, out FT_Size size);
|
||||
+ void managerLookupFace(in FTC_Manager manager, in FTC_FaceID face_id,
|
||||
+ out FT_Face face);
|
||||
void managerDone(in FTC_Manager manager);
|
||||
void managerNew(in FT_Library lib, in FT_UInt max_faces,
|
||||
in FT_UInt max_sizes, in FT_ULong max_bytes,
|
||||
in FTC_Face_Requester requester, in FT_Pointer req_data,
|
||||
out FTC_Manager manager);
|
||||
- void imageCacheNew(in FTC_Manager manager, out FTC_Image_Cache cache);
|
||||
+ void imageCacheNew(in FTC_Manager manager, out FTC_ImageCache cache);
|
||||
/* #ifdef MOZ_SVG */
|
||||
void glyphTransform(in FT_Glyph glyph, in FT_Matrix_p matrix,
|
||||
in FT_Vector_p delta);
|
@ -1,60 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_freetype_nsFreeType_cpp,v 1.2 2005/03/13 05:02:17 kurt Exp $
|
||||
--- gfx/src/freetype/nsFreeType.cpp.orig Sat Feb 7 10:22:30 2004
|
||||
+++ gfx/src/freetype/nsFreeType.cpp Mon Jan 12 15:35:15 2004
|
||||
@@ -110,11 +110,11 @@ FtFuncList nsFreeType2::FtFuncs [] = {
|
||||
{"FT_New_Face", NS_FT2_OFFSET(nsFT_New_Face), PR_TRUE},
|
||||
{"FT_Outline_Decompose", NS_FT2_OFFSET(nsFT_Outline_Decompose), PR_TRUE},
|
||||
{"FT_Set_Charmap", NS_FT2_OFFSET(nsFT_Set_Charmap), PR_TRUE},
|
||||
- {"FTC_Image_Cache_Lookup", NS_FT2_OFFSET(nsFTC_Image_Cache_Lookup), PR_TRUE},
|
||||
- {"FTC_Manager_Lookup_Size", NS_FT2_OFFSET(nsFTC_Manager_Lookup_Size), PR_TRUE},
|
||||
+ {"FTC_ImageCache_Lookup", NS_FT2_OFFSET(nsFTC_Image_Cache_Lookup), PR_TRUE},
|
||||
+ {"FTC_Manager_LookupFace", NS_FT2_OFFSET(nsFTC_Manager_LookupFace), PR_TRUE},
|
||||
{"FTC_Manager_Done", NS_FT2_OFFSET(nsFTC_Manager_Done), PR_TRUE},
|
||||
{"FTC_Manager_New", NS_FT2_OFFSET(nsFTC_Manager_New), PR_TRUE},
|
||||
- {"FTC_Image_Cache_New", NS_FT2_OFFSET(nsFTC_Image_Cache_New), PR_TRUE},
|
||||
+ {"FTC_ImageCache_New", NS_FT2_OFFSET(nsFTC_Image_Cache_New), PR_TRUE},
|
||||
// #ifdef MOZ_SVG
|
||||
{"FT_Glyph_Transform", NS_FT2_OFFSET(nsFT_Glyph_Transform), PR_TRUE},
|
||||
{"FT_Get_Kerning", NS_FT2_OFFSET(nsFT_Get_Kerning), PR_TRUE},
|
||||
@@ -282,7 +282,7 @@ nsFreeType2::SetCharmap(FT_Face face, FT
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
-nsFreeType2::ImageCacheLookup(FTC_Image_Cache cache, FTC_Image_Desc *desc,
|
||||
+nsFreeType2::ImageCacheLookup(FTC_ImageCache cache, FTC_ImageType *desc,
|
||||
FT_UInt glyphID, FT_Glyph *glyph)
|
||||
{
|
||||
// call the FreeType2 function via the function pointer
|
||||
@@ -291,11 +291,11 @@ nsFreeType2::ImageCacheLookup(FTC_Image_
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
-nsFreeType2::ManagerLookupSize(FTC_Manager manager, FTC_Font font,
|
||||
- FT_Face *face, FT_Size *size)
|
||||
+nsFreeType2::ManagerLookupFace(FTC_Manager manager, FTC_FaceID face_id,
|
||||
+ FT_Face *face)
|
||||
{
|
||||
// call the FreeType2 function via the function pointer
|
||||
- FT_Error error = nsFTC_Manager_Lookup_Size(manager, font, face, size);
|
||||
+ FT_Error error = nsFTC_Manager_LookupFace(manager, face_id, face);
|
||||
return error ? NS_ERROR_FAILURE : NS_OK;
|
||||
}
|
||||
|
||||
@@ -320,7 +320,7 @@ nsFreeType2::ManagerNew(FT_Library libra
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
-nsFreeType2::ImageCacheNew(FTC_Manager manager, FTC_Image_Cache *cache)
|
||||
+nsFreeType2::ImageCacheNew(FTC_Manager manager, FTC_ImageCache *cache)
|
||||
{
|
||||
// call the FreeType2 function via the function pointer
|
||||
FT_Error error = nsFTC_Image_Cache_New(manager, cache);
|
||||
@@ -389,7 +389,7 @@ nsFreeType2::SupportsExtFunc(PRBool *res
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
-nsFreeType2::GetImageCache(FTC_Image_Cache *aCache)
|
||||
+nsFreeType2::GetImageCache(FTC_ImageCache *aCache)
|
||||
{
|
||||
*aCache = mImageCache;
|
||||
return NS_OK;
|
@ -1,39 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_freetype_nsFreeType_h,v 1.2 2005/03/13 05:02:17 kurt Exp $
|
||||
--- gfx/src/freetype/nsFreeType.h.orig Wed Jan 12 00:07:26 2005
|
||||
+++ gfx/src/freetype/nsFreeType.h Wed Jan 12 00:11:40 2005
|
||||
@@ -104,13 +104,15 @@ typedef FT_Error (*FT_Outline_Decompose_
|
||||
typedef FT_Error (*FT_New_Face_t)(FT_Library, const char*, FT_Long, FT_Face*);
|
||||
typedef FT_Error (*FT_Set_Charmap_t)(FT_Face face, FT_CharMap charmap);
|
||||
typedef FT_Error (*FTC_Image_Cache_Lookup_t)
|
||||
- (FTC_Image_Cache, FTC_Image_Desc*, FT_UInt, FT_Glyph*);
|
||||
+ (FTC_ImageCache, FTC_ImageType*, FT_UInt, FT_Glyph*);
|
||||
+typedef FT_Error (*FTC_Manager_LookupFace_t)
|
||||
+ (FTC_Manager, FTC_FaceID, FT_Face*);
|
||||
typedef FT_Error (*FTC_Manager_Lookup_Size_t)
|
||||
(FTC_Manager, FTC_Font, FT_Face*, FT_Size*);
|
||||
typedef FT_Error (*FTC_Manager_Done_t)(FTC_Manager);
|
||||
typedef FT_Error (*FTC_Manager_New_t)(FT_Library, FT_UInt, FT_UInt, FT_ULong,
|
||||
FTC_Face_Requester, FT_Pointer, FTC_Manager*);
|
||||
-typedef FT_Error (*FTC_Image_Cache_New_t)(FTC_Manager, FTC_Image_Cache*);
|
||||
+typedef FT_Error (*FTC_Image_Cache_New_t)(FTC_Manager, FTC_ImageCache*);
|
||||
// #ifdef MOZ_SVG
|
||||
typedef FT_Error (*FT_Glyph_Transform_t)(FT_Glyph, FT_Matrix*, FT_Vector*);
|
||||
typedef FT_Error (*FT_Get_Kerning_t)
|
||||
@@ -165,7 +167,7 @@ protected:
|
||||
FT_Outline_Decompose_t nsFT_Outline_Decompose;
|
||||
FT_Set_Charmap_t nsFT_Set_Charmap;
|
||||
FTC_Image_Cache_Lookup_t nsFTC_Image_Cache_Lookup;
|
||||
- FTC_Manager_Lookup_Size_t nsFTC_Manager_Lookup_Size;
|
||||
+ FTC_Manager_LookupFace_t nsFTC_Manager_LookupFace;
|
||||
FTC_Manager_Done_t nsFTC_Manager_Done;
|
||||
FTC_Manager_New_t nsFTC_Manager_New;
|
||||
FTC_Image_Cache_New_t nsFTC_Image_Cache_New;
|
||||
@@ -213,7 +215,7 @@ protected:
|
||||
PRLibrary *mSharedLib;
|
||||
FT_Library mFreeTypeLibrary;
|
||||
FTC_Manager mFTCacheManager;
|
||||
- FTC_Image_Cache mImageCache;
|
||||
+ FTC_ImageCache mImageCache;
|
||||
|
||||
static nsHashtable *sFontFamilies;
|
||||
static nsHashtable *sRange1CharSetNames;
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_gtk_Makefile_in,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- gfx/src/gtk/Makefile.in.orig Mon Nov 6 13:19:54 2006
|
||||
+++ gfx/src/gtk/Makefile.in Mon Nov 6 13:20:21 2006
|
||||
@@ -164,6 +164,7 @@ endif
|
||||
|
||||
ifdef MOZ_ENABLE_GTK2
|
||||
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) \
|
||||
+ $(LIBS_DIR) \
|
||||
-lgkgfx \
|
||||
-lgfxshared_s \
|
||||
$(GFX_XINERAMA_LIBS) \
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_gtk_nsDeviceContextSpecG_cpp,v 1.2 2005/10/14 04:00:38 kurt Exp $
|
||||
--- gfx/src/gtk/nsDeviceContextSpecG.cpp.orig Thu Feb 17 16:25:16 2005
|
||||
+++ gfx/src/gtk/nsDeviceContextSpecG.cpp Mon Sep 26 17:14:17 2005
|
||||
@@ -1133,7 +1133,7 @@ nsresult GlobalPrinters::InitializeGloba
|
||||
free(printerList);
|
||||
} else {
|
||||
/* Try to use CUPS */
|
||||
- PRLibrary *clib = PR_LoadLibrary("libcups.so.2");
|
||||
+ PRLibrary *clib = PR_LoadLibrary("libcups.so");
|
||||
if (clib) {
|
||||
CupsGetDestsType CupsGetDests;
|
||||
CupsGetDestType CupsGetDest;
|
@ -1,53 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_gtk_nsFontMetricsXft_cpp,v 1.1 2006/03/27 04:23:28 pvalchev Exp $
|
||||
--- gfx/src/gtk/nsFontMetricsXft.cpp.orig Wed Feb 16 10:08:37 2005
|
||||
+++ gfx/src/gtk/nsFontMetricsXft.cpp Sun Mar 26 18:20:10 2006
|
||||
@@ -869,8 +869,14 @@ nsFontMetricsXft::CacheFontMetrics(void)
|
||||
mXHeight = nscoord(mXHeight * f);
|
||||
|
||||
// mUnderlineOffset (offset for underlines)
|
||||
- val = CONVERT_DESIGN_UNITS_TO_PIXELS(face->underline_position,
|
||||
+ if (face) {
|
||||
+ val = CONVERT_DESIGN_UNITS_TO_PIXELS(face->underline_position,
|
||||
face->size->metrics.y_scale);
|
||||
+ }
|
||||
+ else {
|
||||
+ val = 0.0f;
|
||||
+ }
|
||||
+
|
||||
if (val) {
|
||||
mUnderlineOffset = NSToIntRound(val * f);
|
||||
}
|
||||
@@ -880,8 +886,14 @@ nsFontMetricsXft::CacheFontMetrics(void)
|
||||
}
|
||||
|
||||
// mUnderlineSize (thickness of an underline)
|
||||
- val = CONVERT_DESIGN_UNITS_TO_PIXELS(face->underline_thickness,
|
||||
+ if (face) {
|
||||
+ val = CONVERT_DESIGN_UNITS_TO_PIXELS(face->underline_thickness,
|
||||
face->size->metrics.y_scale);
|
||||
+ }
|
||||
+ else {
|
||||
+ val = 0.0f;
|
||||
+ }
|
||||
+
|
||||
if (val) {
|
||||
mUnderlineSize = nscoord(PR_MAX(f, NSToIntRound(val * f)));
|
||||
}
|
||||
@@ -891,7 +903,7 @@ nsFontMetricsXft::CacheFontMetrics(void)
|
||||
}
|
||||
|
||||
// mSuperscriptOffset
|
||||
- if (os2 && os2->ySuperscriptYOffset) {
|
||||
+ if (face && os2 && os2->ySuperscriptYOffset) {
|
||||
val = CONVERT_DESIGN_UNITS_TO_PIXELS(os2->ySuperscriptYOffset,
|
||||
face->size->metrics.y_scale);
|
||||
mSuperscriptOffset = nscoord(PR_MAX(f, NSToIntRound(val * f)));
|
||||
@@ -901,7 +913,7 @@ nsFontMetricsXft::CacheFontMetrics(void)
|
||||
}
|
||||
|
||||
// mSubscriptOffset
|
||||
- if (os2 && os2->ySubscriptYOffset) {
|
||||
+ if (face && os2 && os2->ySubscriptYOffset) {
|
||||
val = CONVERT_DESIGN_UNITS_TO_PIXELS(os2->ySubscriptYOffset,
|
||||
face->size->metrics.y_scale);
|
||||
// some fonts have the incorrect sign.
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_gtk_nsScreenGtk_cpp,v 1.1 2005/09/22 17:00:24 kurt Exp $
|
||||
--- gfx/src/gtk/nsScreenGtk.cpp.orig Tue Apr 20 13:35:51 2004
|
||||
+++ gfx/src/gtk/nsScreenGtk.cpp Wed Sep 7 13:22:27 2005
|
||||
@@ -143,7 +143,7 @@ nsScreenGtk :: Init ()
|
||||
if (!gdk_property_get(root_window,
|
||||
gdk_atom_intern ("_NET_WORKAREA", FALSE),
|
||||
cardinal_atom,
|
||||
- 0, G_MAXLONG, FALSE,
|
||||
+ 0, G_MAXLONG - 3, FALSE,
|
||||
&type_returned,
|
||||
&format_returned,
|
||||
&length_returned,
|
@ -1,61 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.2 2005/03/13 05:02:17 kurt Exp $
|
||||
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Wed Feb 4 20:57:05 2004
|
||||
+++ gfx/src/ps/nsFontMetricsPS.cpp Mon Jan 12 22:11:11 2004
|
||||
@@ -1141,10 +1141,10 @@ nsFontPSFreeType::Init(nsITrueTypeFontCa
|
||||
|
||||
mPixelSize = NSToIntRound(app2dev * mFont->size);
|
||||
|
||||
- mImageDesc.font.face_id = (void*)mEntry;
|
||||
- mImageDesc.font.pix_width = mPixelSize;
|
||||
- mImageDesc.font.pix_height = mPixelSize;
|
||||
- mImageDesc.image_type = 0;
|
||||
+ mImageDesc->face_id = (FTC_FaceID)&mEntry;
|
||||
+ mImageDesc->width = mPixelSize;
|
||||
+ mImageDesc->height = mPixelSize;
|
||||
+ mImageDesc->flags = 0;
|
||||
|
||||
nsresult rv;
|
||||
mFt2 = do_GetService(NS_FREETYPE2_CONTRACTID, &rv);
|
||||
@@ -1190,7 +1190,7 @@ nsFontPSFreeType::GetWidth(const PRUnich
|
||||
if (!face)
|
||||
return 0;
|
||||
|
||||
- FTC_Image_Cache iCache;
|
||||
+ FTC_ImageCache iCache;
|
||||
nsresult rv = mFt2->GetImageCache(&iCache);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_ERROR("Failed to get Image Cache");
|
||||
@@ -1228,8 +1228,8 @@ nsFontPSFreeType::getFTFace()
|
||||
|
||||
FTC_Manager cManager;
|
||||
mFt2->GetFTCacheManager(&cManager);
|
||||
- nsresult rv = mFt2->ManagerLookupSize(cManager, &mImageDesc.font,
|
||||
- &face, nsnull);
|
||||
+ nsresult rv = mFt2->ManagerLookupFace(cManager, mImageDesc->face_id,
|
||||
+ &face);
|
||||
NS_ASSERTION(rv==0, "failed to get face/size");
|
||||
if (rv)
|
||||
return nsnull;
|
||||
@@ -1622,16 +1622,16 @@ void nsFT2Type8Generator::GeneratePSFont
|
||||
mEntry->GetFamilyName(fontName);
|
||||
mEntry->GetStyleName(styleName);
|
||||
|
||||
- mImageDesc.font.face_id = (void*)mEntry;
|
||||
+ mImageDesc->face_id = (FTC_FaceID)&mEntry;
|
||||
// TT glyph has no relation to size
|
||||
- mImageDesc.font.pix_width = 16;
|
||||
- mImageDesc.font.pix_height = 16;
|
||||
- mImageDesc.image_type = 0;
|
||||
+ mImageDesc->width = 16;
|
||||
+ mImageDesc->height = 16;
|
||||
+ mImageDesc->flags = 0;
|
||||
FT_Face face = nsnull;
|
||||
FTC_Manager cManager;
|
||||
mFt2->GetFTCacheManager(&cManager);
|
||||
- nsresult rv = mFt2->ManagerLookupSize(cManager, &mImageDesc.font,
|
||||
- &face, nsnull);
|
||||
+ nsresult rv = mFt2->ManagerLookupFace(cManager, mImageDesc->face_id,
|
||||
+ &face);
|
||||
if (NS_FAILED(rv))
|
||||
return;
|
||||
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_h,v 1.1 2004/11/07 00:46:10 naddy Exp $
|
||||
--- gfx/src/ps/nsFontMetricsPS.h.orig Tue Apr 22 18:25:09 2003
|
||||
+++ gfx/src/ps/nsFontMetricsPS.h Sun Nov 7 00:08:54 2004
|
||||
@@ -320,7 +320,7 @@ protected:
|
||||
nsCOMPtr<nsITrueTypeFontCatalogEntry> mFaceID;
|
||||
nsCOMPtr<nsIFreeType2> mFt2;
|
||||
PRUint16 mPixelSize;
|
||||
- FTC_Image_Desc mImageDesc;
|
||||
+ FTC_ImageType mImageDesc;
|
||||
|
||||
|
||||
static PRBool AddUserPref(nsIAtom *aLang, const nsFont& aFont,
|
||||
@@ -363,7 +363,7 @@ public:
|
||||
protected:
|
||||
nsCOMPtr<nsITrueTypeFontCatalogEntry> mEntry;
|
||||
nsCOMPtr<nsIFreeType2> mFt2;
|
||||
- FTC_Image_Desc mImageDesc;
|
||||
+ FTC_ImageType mImageDesc;
|
||||
};
|
||||
#endif
|
||||
|
@ -1,72 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_ps_nsType1_cpp,v 1.1 2007/01/12 20:47:53 kurt Exp $
|
||||
--- gfx/src/ps/nsType1.cpp.orig Fri Jan 12 01:55:58 2007
|
||||
+++ gfx/src/ps/nsType1.cpp Fri Jan 12 01:59:54 2007
|
||||
@@ -67,6 +67,12 @@
|
||||
|
||||
#include "nsType1.h"
|
||||
|
||||
+#if FREETYPE_MAJOR > 2 || (FREETYPE_MAJOR == 2 && FREETYPE_MINOR > 1)
|
||||
+#define constFT_Vector const FT_Vector
|
||||
+#else
|
||||
+#define constFT_Vector FT_Vector
|
||||
+#endif
|
||||
+
|
||||
static const PRUint16 type1_encryption_c1 = TYPE1_ENCRYPTION_C1;
|
||||
static const PRUint16 type1_encryption_c2 = TYPE1_ENCRYPTION_C2;
|
||||
|
||||
@@ -81,8 +87,8 @@ typedef struct {
|
||||
int wmode;
|
||||
} FT2PT1_info;
|
||||
|
||||
-static int cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2,
|
||||
- FT_Vector *aEndPt, void *aClosure);
|
||||
+static int cubicto(constFT_Vector *aControlPt1, constFT_Vector *aControlPt2,
|
||||
+ constFT_Vector *aEndPt, void *aClosure);
|
||||
static int Type1CharStringCommand(unsigned char **aBufPtrPtr, int aCmd);
|
||||
static int Type1EncodeCharStringInt(unsigned char **aBufPtrPtr, int aValue);
|
||||
|
||||
@@ -173,7 +179,7 @@ Type1EncryptString(unsigned char *aInBuf
|
||||
}
|
||||
|
||||
static PRBool
|
||||
-sideWidthAndBearing(FT_Vector *aEndPt, FT2PT1_info *aFti)
|
||||
+sideWidthAndBearing(constFT_Vector *aEndPt, FT2PT1_info *aFti)
|
||||
{
|
||||
int aw = 0;
|
||||
int ah = 0;
|
||||
@@ -216,7 +222,7 @@ sideWidthAndBearing(FT_Vector *aEndPt, F
|
||||
}
|
||||
|
||||
static int
|
||||
-moveto(FT_Vector *aEndPt, void *aClosure)
|
||||
+moveto(constFT_Vector *aEndPt, void *aClosure)
|
||||
{
|
||||
FT2PT1_info *fti = (FT2PT1_info *)aClosure;
|
||||
FT_UShort upm = fti->face->units_per_EM;
|
||||
@@ -253,7 +259,7 @@ moveto(FT_Vector *aEndPt, void *aClosure
|
||||
}
|
||||
|
||||
static int
|
||||
-lineto(FT_Vector *aEndPt, void *aClosure)
|
||||
+lineto(constFT_Vector *aEndPt, void *aClosure)
|
||||
{
|
||||
FT2PT1_info *fti = (FT2PT1_info *)aClosure;
|
||||
FT_UShort upm = fti->face->units_per_EM;
|
||||
@@ -279,7 +285,7 @@ lineto(FT_Vector *aEndPt, void *aClosure
|
||||
}
|
||||
|
||||
static int
|
||||
-conicto(FT_Vector *aControlPt, FT_Vector *aEndPt, void *aClosure)
|
||||
+conicto(constFT_Vector *aControlPt, constFT_Vector *aEndPt, void *aClosure)
|
||||
{
|
||||
FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;
|
||||
FT_UShort upm = ftinfo->face->units_per_EM;
|
||||
@@ -311,7 +317,7 @@ conicto(FT_Vector *aControlPt, FT_Vector
|
||||
}
|
||||
|
||||
static int
|
||||
-cubicto(FT_Vector *aControlPt1, FT_Vector *aControlPt2, FT_Vector *aEndPt,
|
||||
+cubicto(constFT_Vector *aControlPt1, constFT_Vector *aControlPt2, constFT_Vector *aEndPt,
|
||||
void *aClosure)
|
||||
{
|
||||
FT2PT1_info *ftinfo = (FT2PT1_info *)aClosure;
|
@ -1,74 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_x11shared_nsFontFreeType_cpp,v 1.2 2005/03/13 05:02:17 kurt Exp $
|
||||
--- gfx/src/x11shared/nsFontFreeType.cpp.orig Thu Dec 25 03:24:52 2003
|
||||
+++ gfx/src/x11shared/nsFontFreeType.cpp Mon Jan 12 22:58:34 2004
|
||||
@@ -177,7 +177,7 @@ nsFreeTypeFont::getFTFace()
|
||||
FTC_Manager mgr;
|
||||
nsresult rv;
|
||||
mFt2->GetFTCacheManager(&mgr);
|
||||
- rv = mFt2->ManagerLookupSize(mgr, &mImageDesc.font, &face, nsnull);
|
||||
+ rv = mFt2->ManagerLookupFace(mgr, mImageDesc->face_id, &face);
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get face/size");
|
||||
if (NS_FAILED(rv))
|
||||
return nsnull;
|
||||
@@ -191,22 +191,15 @@ nsFreeTypeFont::nsFreeTypeFont(nsITrueTy
|
||||
PRBool embedded_bimap = PR_FALSE;
|
||||
mFaceID = aFaceID;
|
||||
mPixelSize = aPixelSize;
|
||||
- mImageDesc.font.face_id = (void*)mFaceID;
|
||||
- mImageDesc.font.pix_width = aPixelSize;
|
||||
- mImageDesc.font.pix_height = aPixelSize;
|
||||
- mImageDesc.image_type = 0;
|
||||
+ mImageDesc->face_id = (FTC_FaceID)&mFaceID;
|
||||
+ mImageDesc->width = aPixelSize;
|
||||
+ mImageDesc->height = aPixelSize;
|
||||
+ mImageDesc->flags = 0;
|
||||
|
||||
if (aPixelSize < nsFreeType2::gAntiAliasMinimum) {
|
||||
- mImageDesc.image_type |= ftc_image_mono;
|
||||
anti_alias = PR_FALSE;
|
||||
}
|
||||
|
||||
- if (nsFreeType2::gFreeType2Autohinted)
|
||||
- mImageDesc.image_type |= ftc_image_flag_autohinted;
|
||||
-
|
||||
- if (nsFreeType2::gFreeType2Unhinted)
|
||||
- mImageDesc.image_type |= ftc_image_flag_unhinted;
|
||||
-
|
||||
PRUint32 num_embedded_bitmaps, i;
|
||||
PRInt32* embedded_bitmapheights;
|
||||
mFaceID->GetEmbeddedBitmapHeights(&num_embedded_bitmaps,
|
||||
@@ -218,7 +211,6 @@ nsFreeTypeFont::nsFreeTypeFont(nsITrueTy
|
||||
if (embedded_bitmapheights[i] == aPixelSize) {
|
||||
embedded_bimap = PR_TRUE;
|
||||
// unhinted must be set for embedded bitmaps to be used
|
||||
- mImageDesc.image_type |= ftc_image_flag_unhinted;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -312,7 +304,7 @@ nsFreeTypeFont::doGetBoundingMetrics(con
|
||||
if (!face)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
- FTC_Image_Cache icache;
|
||||
+ FTC_ImageCache icache;
|
||||
mFt2->GetImageCache(&icache);
|
||||
if (!icache)
|
||||
return NS_ERROR_FAILURE;
|
||||
@@ -401,7 +393,7 @@ nsFreeTypeFont::GetWidth(const PRUnichar
|
||||
if (!face)
|
||||
return 0;
|
||||
|
||||
- FTC_Image_Cache icache;
|
||||
+ FTC_ImageCache icache;
|
||||
mFt2->GetImageCache(&icache);
|
||||
if (!icache)
|
||||
return 0;
|
||||
@@ -723,7 +715,7 @@ nsFreeTypeXImage::DrawString(nsRendering
|
||||
if (y%4==0) (*blendPixelFunc)(sub_image, y, ascent-1, black, 255/2);
|
||||
#endif
|
||||
|
||||
- FTC_Image_Cache icache;
|
||||
+ FTC_ImageCache icache;
|
||||
mFt2->GetImageCache(&icache);
|
||||
if (!icache)
|
||||
return 0;
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-gfx_src_x11shared_nsFontFreeType_h,v 1.1 2004/11/07 00:46:10 naddy Exp $
|
||||
--- gfx/src/x11shared/nsFontFreeType.h.orig Tue Apr 22 18:25:13 2003
|
||||
+++ gfx/src/x11shared/nsFontFreeType.h Sun Nov 7 00:08:54 2004
|
||||
@@ -110,7 +110,7 @@ protected:
|
||||
XImage *GetXImage(PRUint32 width, PRUint32 height);
|
||||
nsITrueTypeFontCatalogEntry *mFaceID;
|
||||
PRUint16 mPixelSize;
|
||||
- FTC_Image_Desc mImageDesc;
|
||||
+ FTC_ImageType mImageDesc;
|
||||
nsCOMPtr<nsIFreeType2> mFt2;
|
||||
};
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-mailnews_mime_src_mimemsg_cpp,v 1.1 2005/03/30 22:03:04 kurt Exp $
|
||||
--- mailnews/mime/src/mimemsg.cpp.orig Tue Mar 29 16:57:29 2005
|
||||
+++ mailnews/mime/src/mimemsg.cpp Tue Mar 29 16:57:51 2005
|
||||
@@ -519,7 +519,7 @@ MimeMessage_close_headers (MimeObject *o
|
||||
{
|
||||
PRUint32 flags = 0;
|
||||
char dummy = 0;
|
||||
- if (sscanf(xmoz, " %lx %c", &flags, &dummy) == 1 &&
|
||||
+ if (sscanf(xmoz, " %x %c", &flags, &dummy) == 1 &&
|
||||
flags & MSG_FLAG_PARTIAL)
|
||||
obj->options->generate_footer_html_fn =
|
||||
MimeMessage_partial_message_html;
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-modules_libpref_src_init_all_js,v 1.2 2006/05/02 07:27:12 wilfried Exp $
|
||||
--- modules/libpref/src/init/all.js.orig Mon Feb 13 22:44:22 2006
|
||||
+++ modules/libpref/src/init/all.js Mon Apr 24 22:34:45 2006
|
||||
@@ -1680,7 +1680,7 @@ pref("font.scale.outline.min", 6);
|
||||
|
||||
// TrueType
|
||||
pref("font.FreeType2.enable", false);
|
||||
-pref("font.freetype2.shared-library", "libfreetype.so.6");
|
||||
+pref("font.freetype2.shared-library", "libfreetype.so");
|
||||
// if libfreetype was built without hinting compiled in
|
||||
// it is best to leave hinting off
|
||||
pref("font.FreeType2.autohinted", false);
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-modules_plugin_base_public_nptypes_h,v 1.1 2005/03/13 05:02:17 kurt Exp $
|
||||
--- modules/plugin/base/public/nptypes.h.orig Mon Jan 17 22:35:47 2005
|
||||
+++ modules/plugin/base/public/nptypes.h Mon Jan 17 22:36:45 2005
|
||||
@@ -78,7 +78,9 @@
|
||||
typedef int bool;
|
||||
#endif
|
||||
#else /* OPENBSD is defined, so use its bool */
|
||||
+ #if !defined(__cplusplus)
|
||||
#include <stdbool.h>
|
||||
+ #endif
|
||||
#endif
|
||||
#else
|
||||
/*
|
@ -1,40 +0,0 @@
|
||||
$OpenBSD: patch-security_coreconf_OpenBSD_mk,v 1.11 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/coreconf/OpenBSD.mk.orig Tue Sep 16 16:50:50 2003
|
||||
+++ security/coreconf/OpenBSD.mk Tue Nov 7 11:55:14 2006
|
||||
@@ -35,12 +35,12 @@
|
||||
|
||||
include $(CORE_DEPTH)/coreconf/UNIX.mk
|
||||
|
||||
-DEFAULT_COMPILER = gcc
|
||||
-CC = gcc
|
||||
-CCC = g++
|
||||
+DEFAULT_COMPILER = ${CC}
|
||||
+#CC = ${CC}
|
||||
+CCC = ${CXX}
|
||||
RANLIB = ranlib
|
||||
|
||||
-CPU_ARCH := $(shell uname -p)
|
||||
+CPU_ARCH := $(shell arch -s)
|
||||
ifeq ($(CPU_ARCH),i386)
|
||||
OS_REL_CFLAGS = -Di386
|
||||
CPU_ARCH = x86
|
||||
@@ -53,7 +53,7 @@ OS_LIBS += -pthread
|
||||
DSO_LDOPTS += -pthread
|
||||
endif
|
||||
|
||||
-DLL_SUFFIX = so.1.0
|
||||
+DLL_SUFFIX = so.${SO_VERSION}
|
||||
|
||||
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DOPENBSD
|
||||
|
||||
@@ -62,8 +62,9 @@ OS_LIBS =
|
||||
ARCH = openbsd
|
||||
|
||||
DSO_CFLAGS = -fPIC -DPIC
|
||||
-DSO_LDOPTS = -shared -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
|
||||
+DSO_LDOPTS = -shared -fPIC -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
|
||||
DSO_LDFLAGS =
|
||||
|
||||
MKSHLIB = $(CC) $(DSO_LDOPTS)
|
||||
|
||||
+NSPR_LIBS = $(shell pkg-config --libs nspr)
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-security_coreconf_rules_mk,v 1.1 2004/02/15 19:44:01 wilfried Exp $
|
||||
--- security/coreconf/rules.mk.orig 2004-02-15 14:43:58.000000000 +0100
|
||||
+++ security/coreconf/rules.mk 2004-02-15 15:23:12.000000000 +0100
|
||||
@@ -348,7 +348,6 @@ ifdef XP_OS2_VACPP
|
||||
else
|
||||
$(MKSHLIB) -o $@ $(OBJS) $(SUB_SHLOBJS) $(LD_LIBS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS)
|
||||
endif
|
||||
- chmod +x $@
|
||||
ifeq ($(OS_TARGET),Darwin)
|
||||
ifdef MAPFILE
|
||||
nmedit -s $(MAPFILE) $@
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-security_manager_Makefile_in,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/manager/Makefile.in.orig Tue Nov 7 11:55:29 2006
|
||||
+++ security/manager/Makefile.in Tue Nov 7 11:56:00 2006
|
||||
@@ -62,7 +62,7 @@ endif
|
||||
|
||||
# NSS makefiles are not safe for parallel execution.
|
||||
DEFAULT_GMAKE_FLAGS = MAKE="$(MAKE) -j1" -j1
|
||||
-DEFAULT_GMAKE_FLAGS += MOZILLA_INCLUDES="-I$(MOZ_BUILD_ROOT)/dist/include/nspr -I$(MOZ_BUILD_ROOT)/dist/include/dbm"
|
||||
+DEFAULT_GMAKE_FLAGS += MOZILLA_INCLUDES="$(NSPR_CFLAGS) -I$(MOZ_BUILD_ROOT)/dist/include/dbm"
|
||||
DEFAULT_GMAKE_FLAGS += SOURCE_MD_DIR=$(MOZ_BUILD_ROOT)/dist
|
||||
DEFAULT_GMAKE_FLAGS += DIST=$(MOZ_BUILD_ROOT)/dist
|
||||
DEFAULT_GMAKE_FLAGS += MOZILLA_CLIENT=1
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_Makefile,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/Makefile.orig Tue Nov 7 11:56:15 2006
|
||||
+++ security/nss/Makefile Tue Nov 7 11:56:37 2006
|
||||
@@ -74,7 +74,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
|
||||
# (7) Execute "local" rules. (OPTIONAL). #
|
||||
#######################################################################
|
||||
|
||||
-nss_build_all: build_coreconf build_nspr build_dbm all
|
||||
+nss_build_all: build_coreconf build_dbm all
|
||||
|
||||
build_coreconf:
|
||||
cd $(CORE_DEPTH)/coreconf ; $(MAKE)
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_cmd_pkiutil_platlibs_mk,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/cmd/pkiutil/platlibs.mk.orig Tue Nov 7 11:56:42 2006
|
||||
+++ security/nss/cmd/pkiutil/platlibs.mk Tue Nov 7 11:57:10 2006
|
||||
@@ -46,8 +46,6 @@ EXTRA_SHARED_LIBS += \
|
||||
-L$(DIST)/lib/ \
|
||||
-lnsspki3 \
|
||||
-lnss3 \
|
||||
- -lplc4 \
|
||||
- -lplds4 \
|
||||
- -lnspr4 \
|
||||
+ $(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
@ -1,26 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_cmd_platlibs_mk,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/cmd/platlibs.mk.orig Tue Nov 7 11:57:38 2006
|
||||
+++ security/nss/cmd/platlibs.mk Tue Nov 7 11:58:47 2006
|
||||
@@ -132,10 +132,7 @@ EXTRA_SHARED_LIBS += \
|
||||
$(NULL)
|
||||
else
|
||||
EXTRA_SHARED_LIBS += \
|
||||
- -L$(DIST)/lib \
|
||||
- -lplc4 \
|
||||
- -lplds4 \
|
||||
- -lnspr4 \
|
||||
+ $(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
endif
|
||||
endif
|
||||
@@ -218,9 +215,7 @@ EXTRA_SHARED_LIBS += \
|
||||
-lssl3 \
|
||||
-lsmime3 \
|
||||
-lnss3 \
|
||||
- -lplc4 \
|
||||
- -lplds4 \
|
||||
- -lnspr4 \
|
||||
+ $(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
JAR_LIBS = $(DIST)/lib/$(LIB_PREFIX)jar.$(LIB_SUFFIX) \
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_lib_ckfw_builtins_Makefile,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/lib/ckfw/builtins/Makefile.orig Tue Nov 7 11:58:51 2006
|
||||
+++ security/nss/lib/ckfw/builtins/Makefile Tue Nov 7 11:59:37 2006
|
||||
@@ -64,8 +64,8 @@ endif
|
||||
else
|
||||
|
||||
EXTRA_LIBS += \
|
||||
- $(DIST)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
|
||||
- $(DIST)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
|
||||
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
|
||||
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
|
||||
$(NULL)
|
||||
|
||||
endif
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_lib_fortcrypt_swfort_pkcs11_Makefile,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/lib/fortcrypt/swfort/pkcs11/Makefile.orig Tue Nov 7 11:59:50 2006
|
||||
+++ security/nss/lib/fortcrypt/swfort/pkcs11/Makefile Tue Nov 7 12:00:29 2006
|
||||
@@ -94,8 +94,8 @@ EXTRA_LIBS += \
|
||||
$(DIST)/lib/$(LIB_PREFIX)softokn.$(LIB_SUFFIX) \
|
||||
$(CRYPTO_LIB) \
|
||||
$(DIST)/lib/$(LIB_PREFIX)secutil.$(LIB_SUFFIX) \
|
||||
- $(DIST)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
|
||||
- $(DIST)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
|
||||
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plc4.$(LIB_SUFFIX) \
|
||||
+ $(LOCALBASE)/lib/$(LIB_PREFIX)plds4.$(LIB_SUFFIX) \
|
||||
$(NULL)
|
||||
|
||||
endif
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_lib_nss_config_mk,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/lib/nss/config.mk.orig Tue Nov 7 12:00:32 2006
|
||||
+++ security/nss/lib/nss/config.mk Tue Nov 7 12:01:25 2006
|
||||
@@ -70,9 +70,7 @@ else
|
||||
EXTRA_SHARED_LIBS += \
|
||||
-L$(DIST)/lib/ \
|
||||
-lsoftokn3 \
|
||||
- -lplc4 \
|
||||
- -lplds4 \
|
||||
- -lnspr4 \
|
||||
+ $(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
endif
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_lib_smime_config_mk,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/lib/smime/config.mk.orig Tue Nov 7 12:01:29 2006
|
||||
+++ security/nss/lib/smime/config.mk Tue Nov 7 12:01:52 2006
|
||||
@@ -64,9 +64,7 @@ else
|
||||
EXTRA_SHARED_LIBS += \
|
||||
-L$(DIST)/lib/ \
|
||||
-lnss3 \
|
||||
- -lplc4 \
|
||||
- -lplds4 \
|
||||
- -lnspr4 \
|
||||
+ $(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(OS_ARCH), Darwin)
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_lib_softoken_config_mk,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/lib/softoken/config.mk.orig Tue Nov 7 12:02:14 2006
|
||||
+++ security/nss/lib/softoken/config.mk Tue Nov 7 12:03:19 2006
|
||||
@@ -76,10 +76,7 @@ else
|
||||
# $(PROGRAM) has NO explicit dependencies on $(EXTRA_SHARED_LIBS)
|
||||
# $(EXTRA_SHARED_LIBS) come before $(OS_LIBS), except on AIX.
|
||||
EXTRA_SHARED_LIBS += \
|
||||
- -L$(DIST)/lib/ \
|
||||
- -lplc4 \
|
||||
- -lplds4 \
|
||||
- -lnspr4 \
|
||||
+ $(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-security_nss_lib_ssl_config_mk,v 1.1 2006/11/17 19:33:19 kurt Exp $
|
||||
--- security/nss/lib/ssl/config.mk.orig Tue Nov 7 12:05:25 2006
|
||||
+++ security/nss/lib/ssl/config.mk Tue Nov 7 12:08:07 2006
|
||||
@@ -65,9 +65,7 @@ else
|
||||
EXTRA_SHARED_LIBS += \
|
||||
-L$(DIST)/lib/ \
|
||||
-lnss3 \
|
||||
- -lplc4 \
|
||||
- -lplds4 \
|
||||
- -lnspr4 \
|
||||
+ $(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(OS_ARCH), BeOS)
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-widget_src_gtk2_nsGtkKeyUtils_cpp,v 1.2 2004/01/18 10:49:33 wilfried Exp $
|
||||
--- widget/src/gtk2/nsGtkKeyUtils.cpp.orig 2003-08-21 22:10:58.000000000 +0200
|
||||
+++ widget/src/gtk2/nsGtkKeyUtils.cpp 2003-12-12 15:43:28.000000000 +0100
|
||||
@@ -51,7 +51,7 @@ struct nsKeyConverter {
|
||||
// Netscape keycodes are defined in widget/public/nsGUIEvent.h
|
||||
// GTK keycodes are defined in <gdk/gdkkeysyms.h>
|
||||
//
|
||||
-struct nsKeyConverter nsKeycodes[] = {
|
||||
+static struct nsKeyConverter nsKeycodes[] = {
|
||||
{ NS_VK_CANCEL, GDK_Cancel },
|
||||
{ NS_VK_BACK, GDK_BackSpace },
|
||||
{ NS_VK_TAB, GDK_Tab },
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-widget_src_gtk2_nsSound_cpp,v 1.1 2005/04/11 15:03:18 kurt Exp $
|
||||
--- widget/src/gtk2/nsSound.cpp.orig Sun Mar 7 20:12:21 2004
|
||||
+++ widget/src/gtk2/nsSound.cpp Tue Jan 4 22:05:32 2005
|
||||
@@ -91,7 +91,7 @@ nsSound::Init()
|
||||
|
||||
EsdOpenSoundType EsdOpenSound;
|
||||
|
||||
- elib = PR_LoadLibrary("libesd.so.0");
|
||||
+ elib = PR_LoadLibrary("libesd.so");
|
||||
if (!elib) return NS_ERROR_FAILURE;
|
||||
|
||||
EsdOpenSound = (EsdOpenSoundType) PR_FindSymbol(elib, "esd_open_sound");
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-widget_src_xlib_nsKeyCode_cpp,v 1.2 2004/01/18 10:49:33 wilfried Exp $
|
||||
--- widget/src/xlib/nsKeyCode.cpp.orig 2002-12-09 18:39:10.000000000 +0100
|
||||
+++ widget/src/xlib/nsKeyCode.cpp 2003-12-12 15:43:29.000000000 +0100
|
||||
@@ -50,7 +50,7 @@ struct nsKeyConverter
|
||||
unsigned int keysym; // XK keysym key code
|
||||
};
|
||||
|
||||
-struct nsKeyConverter nsKeycodes[] =
|
||||
+static struct nsKeyConverter nsKeycodes[] =
|
||||
{
|
||||
{ NS_VK_CANCEL, XK_Cancel},
|
||||
{ NS_VK_BACK, XK_BackSpace},
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-xpcom_components_nsNativeComponentLoader_cpp,v 1.1 2005/04/11 15:03:18 kurt Exp $
|
||||
--- xpcom/components/nsNativeComponentLoader.cpp.orig Wed Apr 6 22:28:35 2005
|
||||
+++ xpcom/components/nsNativeComponentLoader.cpp Wed Apr 6 22:29:01 2005
|
||||
@@ -656,7 +656,7 @@ nsNativeComponentLoader::AutoRegisterCom
|
||||
".shlb", /* Mac ? */
|
||||
".dso", /* Unix ? */
|
||||
".dylib", /* Unix: Mach */
|
||||
- ".so.1.0", /* Unix: BSD */
|
||||
+ ".so._SO_VERSION_", /* Unix: BSD */
|
||||
".sl", /* Unix: HP-UX */
|
||||
#if defined(VMS)
|
||||
".exe", /* Open VMS */
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-xpcom_io_nsNativeCharsetUtils_cpp,v 1.3 2005/03/13 05:02:17 kurt Exp $
|
||||
--- xpcom/io/nsNativeCharsetUtils.cpp.orig Mon Jan 12 12:54:59 2004
|
||||
+++ xpcom/io/nsNativeCharsetUtils.cpp Mon Jan 12 12:56:41 2004
|
||||
@@ -329,7 +329,11 @@ nsNativeCharsetConverter::LazyInit()
|
||||
{
|
||||
const char *blank_list[] = { "", NULL };
|
||||
const char **native_charset_list = blank_list;
|
||||
+#ifdef CODESET
|
||||
const char *native_charset = nl_langinfo(CODESET);
|
||||
+#else
|
||||
+ const char *native_charset = nsnull;
|
||||
+#endif
|
||||
if (native_charset == nsnull) {
|
||||
NS_ERROR("native charset is unknown");
|
||||
// fallback to ISO-8859-1
|
@ -1,60 +0,0 @@
|
||||
$OpenBSD: patch-xpcom_reflect_xptcall_src_md_unix_Makefile_in,v 1.7 2005/03/13 05:02:17 kurt Exp $
|
||||
--- xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig Tue Jan 11 23:17:45 2005
|
||||
+++ xpcom/reflect/xptcall/src/md/unix/Makefile.in Tue Jan 11 23:27:01 2005
|
||||
@@ -111,6 +111,12 @@ CPPSRCS := xptcinvoke_osf1_alpha.cpp xp
|
||||
ASFILES := xptcinvoke_asm_osf1_alpha.s xptcstubs_asm_osf1_alpha.s
|
||||
endif
|
||||
#
|
||||
+# OpenBSD/Alpha
|
||||
+#
|
||||
+ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDalpha)
|
||||
+CPPSRCS := xptcinvoke_openbsd_alpha.cpp xptcstubs_openbsd_alpha.cpp
|
||||
+endif
|
||||
+#
|
||||
# Linux/Alpha
|
||||
#
|
||||
ifneq (,$(filter Linuxalpha FreeBSDalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST)))
|
||||
@@ -260,6 +266,15 @@ ASFILES := xptcinvoke_asm_ppc_netbsd.s
|
||||
endif
|
||||
|
||||
#
|
||||
+# OpenBSD/PPC
|
||||
+#
|
||||
+ifneq (,$(filter OpenBSDmacppc,$(OS_ARCH)$(OS_TEST)))
|
||||
+
|
||||
+CPPSRCS := xptcinvoke_ppc_openbsd.cpp xptcstubs_ppc_openbsd.cpp
|
||||
+ASFILES := xptcinvoke_asm_ppc_openbsd.s xptcstubs_asm_ppc_openbsd.s
|
||||
+endif
|
||||
+
|
||||
+#
|
||||
# Darwin/PPC
|
||||
#
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
@@ -331,6 +346,27 @@ endif
|
||||
endif
|
||||
|
||||
endif
|
||||
+endif
|
||||
+
|
||||
+#
|
||||
+# OpenBSD/SPARC
|
||||
+#
|
||||
+ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc)
|
||||
+CPPSRCS := xptcinvoke_sparc_netbsd.cpp xptcstubs_sparc_netbsd.cpp
|
||||
+ASFILES := xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s
|
||||
+endif
|
||||
+#
|
||||
+# OpenBSD/SPARC64
|
||||
+#
|
||||
+ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc64)
|
||||
+CPPSRCS := xptcinvoke_sparc64_openbsd.cpp xptcstubs_sparc64_openbsd.cpp
|
||||
+ASFILES := xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparcv9_solaris.s
|
||||
+endif
|
||||
+#
|
||||
+# OpenBSD/amd64
|
||||
+#
|
||||
+ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDamd64)
|
||||
+CPPSRCS := xptcinvoke_openbsd_amd64.cpp xptcstubs_openbsd_amd64.cpp
|
||||
endif
|
||||
|
||||
######################################################################
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-xpcom_reflect_xptcall_src_md_unix_xptc_platforms_unixish_x86_h,v 1.1 2004/11/13 09:56:07 kettenis Exp $
|
||||
--- xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h.orig Thu Jan 8 19:17:07 2004
|
||||
+++ xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h Fri Nov 12 21:09:52 2004
|
||||
@@ -107,12 +107,16 @@
|
||||
#define THUNK_BASED_THIS_ADJUST
|
||||
|
||||
#elif defined(__OpenBSD__)
|
||||
+#if __GNUC__ >= 3
|
||||
+#define THUNK_BASED_THIS_ADJUST
|
||||
+#else
|
||||
/* OpenBSD instroduces GCC 2.95.x in late May 1999 */
|
||||
#include <sys/param.h>
|
||||
#if OpenBSD <= 199905
|
||||
#define THUNK_BASED_THIS_ADJUST
|
||||
#else
|
||||
#define CFRONT_STYLE_THIS_ADJUST
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#elif defined(__bsdi__)
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-xpcom_sample_Makefile_in,v 1.3 2005/03/13 05:02:17 kurt Exp $
|
||||
--- xpcom/sample/Makefile.in.orig Tue Jan 11 23:27:43 2005
|
||||
+++ xpcom/sample/Makefile.in Tue Jan 11 23:28:03 2005
|
||||
@@ -52,7 +52,7 @@ XPIDLSRCS = nsISample.idl
|
||||
|
||||
TESTCPPSRCS = nsTestSample.cpp
|
||||
|
||||
-CPPSRCS += $(TESTCPPSRCS)
|
||||
+#CPPSRCS += $(TESTCPPSRCS)
|
||||
|
||||
SIMPLE_PROGRAMS = $(TESTCPPSRCS:.cpp=$(BIN_SUFFIX))
|
||||
|
@ -1,117 +0,0 @@
|
||||
$OpenBSD: patch-xpfe_bootstrap_mozilla_in,v 1.8 2005/10/13 04:32:41 bernd Exp $
|
||||
--- xpfe/bootstrap/mozilla.in.orig Tue Sep 20 23:08:38 2005
|
||||
+++ xpfe/bootstrap/mozilla.in Wed Oct 12 15:28:09 2005
|
||||
@@ -73,6 +73,7 @@ moz_pis_startstop_scripts()
|
||||
#set -x
|
||||
|
||||
moz_libdir=%MOZAPPDIR%
|
||||
+MOZ_PLUGIN_PATH=_LOCALBASE_/lib/mozilla-plugins
|
||||
MRE_HOME=%MREDIR%
|
||||
|
||||
# honor MOZILLA_FIVE_HOME if it's there
|
||||
@@ -84,6 +85,7 @@ else
|
||||
found=0
|
||||
progname=$0
|
||||
curdir=`dirname "$progname"`
|
||||
+ progbase=`basename "$progname"`
|
||||
run_moz="$curdir/run-mozilla.sh"
|
||||
if test -x "$run_moz"; then
|
||||
dist_bin=$curdir
|
||||
@@ -112,6 +114,7 @@ else
|
||||
# Check default compile-time libdir
|
||||
if [ -x "$moz_libdir/run-mozilla.sh" ]; then
|
||||
dist_bin=$moz_libdir
|
||||
+ run_moz="$dist_bin/run-mozilla.sh"
|
||||
else
|
||||
echo "Cannot find mozilla runtime directory. Exiting."
|
||||
exit 1
|
||||
@@ -123,10 +126,76 @@ script_args=""
|
||||
debugging=0
|
||||
MOZILLA_BIN="%MOZILLA-BIN%"
|
||||
|
||||
+# The following is to check for a currently running instance.
|
||||
+# This is taken almost verbatim from the Mozilla RPM package's launch script.
|
||||
+MOZ_CLIENT_PROGRAM="$dist_bin/mozilla-xremote-client"
|
||||
+check_running() {
|
||||
+ "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" 'ping()' 2>/dev/null >/dev/null
|
||||
+ RETURN_VAL=$?
|
||||
+ if [ $RETURN_VAL -eq 0 ]; then
|
||||
+ echo 1
|
||||
+ return 1
|
||||
+ else
|
||||
+ echo 0
|
||||
+ return 0
|
||||
+ fi
|
||||
+}
|
||||
+
|
||||
if [ "$OSTYPE" = "beos" ]; then
|
||||
mimeset -F $MOZILLA_BIN
|
||||
fi
|
||||
|
||||
+ALREADY_RUNNING=`check_running`
|
||||
+
|
||||
+################################################################ Parse Arguments
|
||||
+# If there's a command line argument but it doesn't begin with a -
|
||||
+# it's probably a url. Try to send it to a running instance.
|
||||
+_USE_EXIST=0
|
||||
+_optOne="$1"
|
||||
+case "${_optOne}" in
|
||||
+ -*)
|
||||
+ ;;
|
||||
+ *)
|
||||
+ _USE_EXIST=1
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
+_optLast=
|
||||
+for i in "$@"; do
|
||||
+ _optLast="${i}"
|
||||
+done #last arg
|
||||
+
|
||||
+if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
|
||||
+ # Last argument seems to be a local file/directory
|
||||
+ # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file)
|
||||
+ # If it is just "relatively" (./file) specified, make it absolutely
|
||||
+ [ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
|
||||
+fi
|
||||
+################################################################ Parse Arguments
|
||||
+
|
||||
+########################################################################### Main
|
||||
+if [ $ALREADY_RUNNING -eq 1 ]; then
|
||||
+ # There's an instance already running. Use it.
|
||||
+ # Any command line args passed in?
|
||||
+ if [ $# -gt 0 ]; then
|
||||
+ # There were "some" command line args.
|
||||
+ if [ ${_USE_EXIST} -eq 1 ]; then
|
||||
+ # We should use an existing instance, as _USE_EXIST=$_USE_EXIST=-1
|
||||
+ _remote_cmd="openURL(${_optLast})"
|
||||
+ "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" "${_remote_cmd}"
|
||||
+ unset _remote_cmd
|
||||
+ exit $?
|
||||
+ fi
|
||||
+ else
|
||||
+ # No command line args. Open new window/tab
|
||||
+ #exec "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" "xfeDoCommand(openBrowser)"
|
||||
+ "${run_moz}" "$MOZ_CLIENT_PROGRAM" -a "${progbase}" "xfeDoCommand(openBrowser)"
|
||||
+ exit $?
|
||||
+ fi
|
||||
+fi
|
||||
+# Default action - no running instance or _USE_EXIST (${_USE_EXIST}) ! -eq 1
|
||||
+########################################################################### Main
|
||||
+
|
||||
pass_arg_count=0
|
||||
while [ $# -gt $pass_arg_count ]
|
||||
do
|
||||
@@ -154,7 +223,11 @@ do
|
||||
esac
|
||||
done
|
||||
|
||||
-export MRE_HOME
|
||||
+if [ `_X11BASE_/bin/fc-list | wc -l` -eq 0 ]
|
||||
+then export GDK_USE_XFT=0
|
||||
+fi
|
||||
+
|
||||
+export MOZ_PLUGIN_PATH MRE_HOME
|
||||
|
||||
## Start addon scripts
|
||||
moz_pis_startstop_scripts "start"
|
@ -1 +0,0 @@
|
||||
include and lib files for programs who uses the Gecko layout engine
|
@ -1,9 +0,0 @@
|
||||
Mozilla is an open-source web browser, designed for standards
|
||||
compliance, performance and portability.
|
||||
|
||||
Mozilla looks for plugins in ~/.mozilla/plugins
|
||||
${LOCALBASE}/mozilla/plugins
|
||||
and ${LOCALBASE}/lib/mozilla-plugins.
|
||||
|
||||
To disable anti-aliasing (xft) altogether set GDK_USE_XFT=0 in the
|
||||
environment.
|
@ -1,10 +0,0 @@
|
||||
If you encounter strange problems relating to bookmarks, downloads,
|
||||
window placement, toolbars, history, or other settings, it is
|
||||
recommended that you try creating a new profile and attempting to
|
||||
reproduce the problem before filing bugs.
|
||||
In order to create a new profile, start Mozilla with the
|
||||
-profilemanager switch, e.g. mozilla -profilemanager
|
||||
|
||||
Or you could just delete the old profile-dir (note that this will delete
|
||||
your saved bookmarks and settings):
|
||||
rm -r ~/.mozilla/default/<profile-dir>
|
@ -1,92 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared-devel,v 1.11 2006/11/17 19:33:19 kurt Exp $
|
||||
@comment @lib mozilla/lib/components/libaccessibility.so.${LIBaccessibility_VERSION}
|
||||
@comment @lib mozilla/lib/components/libaddrbook.so.${LIBaddrbook_VERSION}
|
||||
@comment @lib mozilla/lib/components/libappcomps.so.${LIBappcomps_VERSION}
|
||||
@comment @lib mozilla/lib/components/libautoconfig.so.${LIBautoconfig_VERSION}
|
||||
@comment @lib mozilla/lib/components/libbayesflt.so.${LIBbayesflt_VERSION}
|
||||
@comment @lib mozilla/lib/components/libcaps.so.${LIBcaps_VERSION}
|
||||
@comment @lib mozilla/lib/components/libchrome.so.${LIBchrome_VERSION}
|
||||
@comment @lib mozilla/lib/components/libcomposer.so.${LIBcomposer_VERSION}
|
||||
@comment @lib mozilla/lib/components/libcookie.so.${LIBcookie_VERSION}
|
||||
@comment @lib mozilla/lib/components/libdocshell.so.${LIBdocshell_VERSION}
|
||||
@comment @lib mozilla/lib/components/libeditor.so.${LIBeditor_VERSION}
|
||||
@comment @lib mozilla/lib/components/libembedcomponents.so.${LIBembedcomponents_VERSION}
|
||||
@comment @lib mozilla/lib/components/libfileview.so.${LIBfileview_VERSION}
|
||||
@comment @lib mozilla/lib/components/libgfx_gtk.so.${LIBgfx_gtk_VERSION}
|
||||
@comment @lib mozilla/lib/components/libgfxps.so.${LIBgfxps_VERSION}
|
||||
@comment @lib mozilla/lib/components/libgfxxprint.so.${LIBgfxxprint_VERSION}
|
||||
@comment @lib mozilla/lib/components/libgklayout.so.${LIBgklayout_VERSION}
|
||||
@comment @lib mozilla/lib/components/libgkplugin.so.${LIBgkplugin_VERSION}
|
||||
@comment @lib mozilla/lib/components/libhtmlpars.so.${LIBhtmlpars_VERSION}
|
||||
@comment @lib mozilla/lib/components/libi18n.so.${LIBi18n_VERSION}
|
||||
@comment @lib mozilla/lib/components/libimglib2.so.${LIBimglib2_VERSION}
|
||||
@comment @lib mozilla/lib/components/libimpComm4xMail.so.${LIBimpComm4xMail_VERSION}
|
||||
@comment @lib mozilla/lib/components/libimpText.so.${LIBimpText_VERSION}
|
||||
@comment @lib mozilla/lib/components/libimport.so.${LIBimport_VERSION}
|
||||
@comment @lib mozilla/lib/components/libinspector.so.${LIBinspector_VERSION}
|
||||
@comment @lib mozilla/lib/components/libipcdc.so.${LIBipcdc_VERSION}
|
||||
@comment @lib mozilla/lib/components/libjar50.so.${LIBjar50_VERSION}
|
||||
@comment @lib mozilla/lib/components/libjsd.so.${LIBjsd_VERSION}
|
||||
@comment @lib mozilla/lib/components/liblocalmail.so.${LIBlocalmail_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmailnews.so.${LIBmailnews_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmailview.so.${LIBmailview_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmime.so.${LIBmime_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmimeemitter.so.${LIBmimeemitter_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmork.so.${LIBmork_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmozfind.so.${LIBmozfind_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmsgcompose.so.${LIBmsgcompose_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmsgdb.so.${LIBmsgdb_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmsgimap.so.${LIBmsgimap_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmsgmdn.so.${LIBmsgmdn_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmsgnews.so.${LIBmsgnews_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmsgsmime.so.${LIBmsgsmime_VERSION}
|
||||
@comment @lib mozilla/lib/components/libmyspell.so.${LIBmyspell_VERSION}
|
||||
@comment @lib mozilla/lib/components/libnecko.so.${LIBnecko_VERSION}
|
||||
@comment @lib mozilla/lib/components/libnecko2.so.${LIBnecko2_VERSION}
|
||||
@comment @lib mozilla/lib/components/libnsappshell.so.${LIBnsappshell_VERSION}
|
||||
@comment @lib mozilla/lib/components/libnsprefm.so.${LIBnsprefm_VERSION}
|
||||
@comment @lib mozilla/lib/components/liboji.so.${LIBoji_VERSION}
|
||||
@comment @lib mozilla/lib/components/libp3p.so.${LIBp3p_VERSION}
|
||||
@comment @lib mozilla/lib/components/libpipboot.so.${LIBpipboot_VERSION}
|
||||
@comment @lib mozilla/lib/components/libpipnss.so.${LIBpipnss_VERSION}
|
||||
@comment @lib mozilla/lib/components/libpippki.so.${LIBpippki_VERSION}
|
||||
@comment @lib mozilla/lib/components/libpref.so.${LIBpref_VERSION}
|
||||
@comment @lib mozilla/lib/components/libprofile.so.${LIBprofile_VERSION}
|
||||
@comment @lib mozilla/lib/components/librdf.so.${LIBrdf_VERSION}
|
||||
@comment @lib mozilla/lib/components/libspellchecker.so.${LIBspellchecker_VERSION}
|
||||
@comment @lib mozilla/lib/components/libsystem-pref.so.${LIBsystem-pref_VERSION}
|
||||
@comment @lib mozilla/lib/components/libtransformiix.so.${LIBtransformiix_VERSION}
|
||||
@comment @lib mozilla/lib/components/libtxmgr.so.${LIBtxmgr_VERSION}
|
||||
@comment @lib mozilla/lib/components/libtypeaheadfind.so.${LIBtypeaheadfind_VERSION}
|
||||
@comment @lib mozilla/lib/components/libuconv.so.${LIBuconv_VERSION}
|
||||
@comment @lib mozilla/lib/components/libucvmath.so.${LIBucvmath_VERSION}
|
||||
@comment @lib mozilla/lib/components/libuniversalchardet.so.${LIBuniversalchardet_VERSION}
|
||||
@comment @lib mozilla/lib/components/libvcard.so.${LIBvcard_VERSION}
|
||||
@comment @lib mozilla/lib/components/libwallet.so.${LIBwallet_VERSION}
|
||||
@comment @lib mozilla/lib/components/libwalletviewers.so.${LIBwalletviewers_VERSION}
|
||||
@comment @lib mozilla/lib/components/libwebbrwsr.so.${LIBwebbrwsr_VERSION}
|
||||
@comment @lib mozilla/lib/components/libwebsrvcs.so.${LIBwebsrvcs_VERSION}
|
||||
@comment @lib mozilla/lib/components/libwidget_gtk2.so.${LIBwidget_gtk2_VERSION}
|
||||
@comment @lib mozilla/lib/components/libxmlextras.so.${LIBxmlextras_VERSION}
|
||||
@comment @lib mozilla/lib/components/libxpcom_compat_c.so.${LIBxpcom_compat_c_VERSION}
|
||||
@comment @lib mozilla/lib/components/libxpconnect.so.${LIBxpconnect_VERSION}
|
||||
@comment @lib mozilla/lib/components/libxpinstall.so.${LIBxpinstall_VERSION}
|
||||
@comment @lib mozilla/lib/components/libxremote_client.so.${LIBxremote_client_VERSION}
|
||||
@comment @lib mozilla/lib/components/libxremoteservice.so.${LIBxremoteservice_VERSION}
|
||||
@lib mozilla/lib/libfort.so.${LIBfort_VERSION}
|
||||
@lib mozilla/lib/libgkgfx.so.${LIBgkgfx_VERSION}
|
||||
@lib mozilla/lib/libgtkembedmoz.so.${LIBgtkembedmoz_VERSION}
|
||||
@lib mozilla/lib/libgtkxtbin.so.${LIBgtkxtbin_VERSION}
|
||||
@lib mozilla/lib/libjsj.so.${LIBjsj_VERSION}
|
||||
@lib mozilla/lib/libmozjs.so.${LIBmozjs_VERSION}
|
||||
@lib mozilla/lib/libmsgbaseutil.so.${LIBmsgbaseutil_VERSION}
|
||||
@lib mozilla/lib/libnss3.so.${LIBnss3_VERSION}
|
||||
@lib mozilla/lib/libnssckbi.so.${LIBnssckbi_VERSION}
|
||||
@lib mozilla/lib/libsmime3.so.${LIBsmime3_VERSION}
|
||||
@lib mozilla/lib/libsoftokn3.so.${LIBsoftokn3_VERSION}
|
||||
@lib mozilla/lib/libssl3.so.${LIBssl3_VERSION}
|
||||
@lib mozilla/lib/libswft.so.${LIBswft_VERSION}
|
||||
@lib mozilla/lib/libxlibrgb.so.${LIBxlibrgb_VERSION}
|
||||
@lib mozilla/lib/libxpcom.so.${LIBxpcom_VERSION}
|
||||
@lib mozilla/lib/libxpcom_compat.so.${LIBxpcom_compat_VERSION}
|
||||
@lib mozilla/lib/libxpistub.so.${LIBxpistub_VERSION}
|
@ -1,90 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/25 14:24:47 steven Exp $
|
||||
@lib mozilla/components/libaccessibility.so.${LIBaccessibility_VERSION}
|
||||
@lib mozilla/components/libaddrbook.so.${LIBaddrbook_VERSION}
|
||||
@lib mozilla/components/libappcomps.so.${LIBappcomps_VERSION}
|
||||
@lib mozilla/components/libautoconfig.so.${LIBautoconfig_VERSION}
|
||||
@lib mozilla/components/libbayesflt.so.${LIBbayesflt_VERSION}
|
||||
@lib mozilla/components/libcaps.so.${LIBcaps_VERSION}
|
||||
@lib mozilla/components/libchrome.so.${LIBchrome_VERSION}
|
||||
@lib mozilla/components/libcomposer.so.${LIBcomposer_VERSION}
|
||||
@lib mozilla/components/libcookie.so.${LIBcookie_VERSION}
|
||||
@lib mozilla/components/libdocshell.so.${LIBdocshell_VERSION}
|
||||
@lib mozilla/components/libeditor.so.${LIBeditor_VERSION}
|
||||
@lib mozilla/components/libembedcomponents.so.${LIBembedcomponents_VERSION}
|
||||
@lib mozilla/components/libfileview.so.${LIBfileview_VERSION}
|
||||
@lib mozilla/components/libgfx_gtk.so.${LIBgfx_gtk_VERSION}
|
||||
@lib mozilla/components/libgfxps.so.${LIBgfxps_VERSION}
|
||||
@lib mozilla/components/libgfxxprint.so.${LIBgfxxprint_VERSION}
|
||||
@lib mozilla/components/libgklayout.so.${LIBgklayout_VERSION}
|
||||
@lib mozilla/components/libgkplugin.so.${LIBgkplugin_VERSION}
|
||||
@lib mozilla/components/libhtmlpars.so.${LIBhtmlpars_VERSION}
|
||||
@lib mozilla/components/libi18n.so.${LIBi18n_VERSION}
|
||||
@lib mozilla/components/libimglib2.so.${LIBimglib2_VERSION}
|
||||
@lib mozilla/components/libimpComm4xMail.so.${LIBimpComm4xMail_VERSION}
|
||||
@lib mozilla/components/libimpText.so.${LIBimpText_VERSION}
|
||||
@lib mozilla/components/libimport.so.${LIBimport_VERSION}
|
||||
@lib mozilla/components/libinspector.so.${LIBinspector_VERSION}
|
||||
@lib mozilla/components/libipcdc.so.${LIBipcdc_VERSION}
|
||||
@lib mozilla/components/libjar50.so.${LIBjar50_VERSION}
|
||||
@lib mozilla/components/libjsd.so.${LIBjsd_VERSION}
|
||||
@lib mozilla/components/liblocalmail.so.${LIBlocalmail_VERSION}
|
||||
@lib mozilla/components/libmailnews.so.${LIBmailnews_VERSION}
|
||||
@lib mozilla/components/libmailview.so.${LIBmailview_VERSION}
|
||||
@lib mozilla/components/libmime.so.${LIBmime_VERSION}
|
||||
@lib mozilla/components/libmimeemitter.so.${LIBmimeemitter_VERSION}
|
||||
@lib mozilla/components/libmork.so.${LIBmork_VERSION}
|
||||
@lib mozilla/components/libmozfind.so.${LIBmozfind_VERSION}
|
||||
@lib mozilla/components/libmsgcompose.so.${LIBmsgcompose_VERSION}
|
||||
@lib mozilla/components/libmsgdb.so.${LIBmsgdb_VERSION}
|
||||
@lib mozilla/components/libmsgimap.so.${LIBmsgimap_VERSION}
|
||||
@lib mozilla/components/libmsgmdn.so.${LIBmsgmdn_VERSION}
|
||||
@lib mozilla/components/libmsgnews.so.${LIBmsgnews_VERSION}
|
||||
@lib mozilla/components/libmsgsmime.so.${LIBmsgsmime_VERSION}
|
||||
@lib mozilla/components/libmyspell.so.${LIBmyspell_VERSION}
|
||||
@lib mozilla/components/libnecko.so.${LIBnecko_VERSION}
|
||||
@lib mozilla/components/libnecko2.so.${LIBnecko2_VERSION}
|
||||
@lib mozilla/components/libnsappshell.so.${LIBnsappshell_VERSION}
|
||||
@lib mozilla/components/libnsprefm.so.${LIBnsprefm_VERSION}
|
||||
@lib mozilla/components/liboji.so.${LIBoji_VERSION}
|
||||
@lib mozilla/components/libp3p.so.${LIBp3p_VERSION}
|
||||
@lib mozilla/components/libpipboot.so.${LIBpipboot_VERSION}
|
||||
@lib mozilla/components/libpipnss.so.${LIBpipnss_VERSION}
|
||||
@lib mozilla/components/libpippki.so.${LIBpippki_VERSION}
|
||||
@lib mozilla/components/libpref.so.${LIBpref_VERSION}
|
||||
@lib mozilla/components/libprofile.so.${LIBprofile_VERSION}
|
||||
@lib mozilla/components/librdf.so.${LIBrdf_VERSION}
|
||||
@lib mozilla/components/libspellchecker.so.${LIBspellchecker_VERSION}
|
||||
@lib mozilla/components/libsystem-pref.so.${LIBsystem-pref_VERSION}
|
||||
@lib mozilla/components/libtransformiix.so.${LIBtransformiix_VERSION}
|
||||
@lib mozilla/components/libtxmgr.so.${LIBtxmgr_VERSION}
|
||||
@lib mozilla/components/libtypeaheadfind.so.${LIBtypeaheadfind_VERSION}
|
||||
@lib mozilla/components/libuconv.so.${LIBuconv_VERSION}
|
||||
@lib mozilla/components/libucvmath.so.${LIBucvmath_VERSION}
|
||||
@lib mozilla/components/libuniversalchardet.so.${LIBuniversalchardet_VERSION}
|
||||
@lib mozilla/components/libvcard.so.${LIBvcard_VERSION}
|
||||
@lib mozilla/components/libwallet.so.${LIBwallet_VERSION}
|
||||
@lib mozilla/components/libwalletviewers.so.${LIBwalletviewers_VERSION}
|
||||
@lib mozilla/components/libwebbrwsr.so.${LIBwebbrwsr_VERSION}
|
||||
@lib mozilla/components/libwebsrvcs.so.${LIBwebsrvcs_VERSION}
|
||||
@lib mozilla/components/libwidget_gtk2.so.${LIBwidget_gtk2_VERSION}
|
||||
@lib mozilla/components/libxmlextras.so.${LIBxmlextras_VERSION}
|
||||
@lib mozilla/components/libxpcom_compat_c.so.${LIBxpcom_compat_c_VERSION}
|
||||
@lib mozilla/components/libxpconnect.so.${LIBxpconnect_VERSION}
|
||||
@lib mozilla/components/libxpinstall.so.${LIBxpinstall_VERSION}
|
||||
@lib mozilla/components/libxremote_client.so.${LIBxremote_client_VERSION}
|
||||
@lib mozilla/components/libxremoteservice.so.${LIBxremoteservice_VERSION}
|
||||
@lib mozilla/libgkgfx.so.${LIBgkgfx_VERSION}
|
||||
@lib mozilla/libgtkembedmoz.so.${LIBgtkembedmoz_VERSION}
|
||||
@lib mozilla/libgtkxtbin.so.${LIBgtkxtbin_VERSION}
|
||||
@lib mozilla/libjsj.so.${LIBjsj_VERSION}
|
||||
@lib mozilla/libmozjs.so.${LIBmozjs_VERSION}
|
||||
@lib mozilla/libmsgbaseutil.so.${LIBmsgbaseutil_VERSION}
|
||||
@lib mozilla/libnss3.so.${LIBnss3_VERSION}
|
||||
@lib mozilla/libnssckbi.so.${LIBnssckbi_VERSION}
|
||||
@lib mozilla/libsmime3.so.${LIBsmime3_VERSION}
|
||||
@lib mozilla/libsoftokn3.so.${LIBsoftokn3_VERSION}
|
||||
@lib mozilla/libssl3.so.${LIBssl3_VERSION}
|
||||
@lib mozilla/libxlibrgb.so.${LIBxlibrgb_VERSION}
|
||||
@lib mozilla/libxpcom.so.${LIBxpcom_VERSION}
|
||||
@lib mozilla/libxpcom_compat.so.${LIBxpcom_compat_VERSION}
|
||||
@lib mozilla/libxpistub.so.${LIBxpistub_VERSION}
|
File diff suppressed because it is too large
Load Diff
@ -1,782 +0,0 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.2 2007/02/14 17:13:42 naddy Exp $
|
||||
@pkgpath www/mozilla,gtk2
|
||||
@pkgpath www/mozilla
|
||||
%%SHARED%%
|
||||
bin/mozilla
|
||||
@man man/man1/mozilla.1
|
||||
mozilla/
|
||||
mozilla/LICENSE
|
||||
mozilla/chrome/
|
||||
mozilla/chrome/US/
|
||||
mozilla/chrome/US.jar
|
||||
mozilla/chrome/US/locale/
|
||||
mozilla/chrome/US/locale/US/
|
||||
mozilla/chrome/US/locale/US/communicator-region/
|
||||
mozilla/chrome/US/locale/US/communicator-region/wallet/
|
||||
mozilla/chrome/US/locale/US/editor-region/
|
||||
mozilla/chrome/US/locale/US/global-region/
|
||||
mozilla/chrome/US/locale/US/messenger-region/
|
||||
mozilla/chrome/US/locale/US/navigator-region/
|
||||
mozilla/chrome/chatzilla/
|
||||
mozilla/chrome/chatzilla.jar
|
||||
mozilla/chrome/chatzilla/content/
|
||||
mozilla/chrome/chatzilla/content/chatzilla/
|
||||
mozilla/chrome/chatzilla/content/chatzilla/lib/
|
||||
mozilla/chrome/chatzilla/content/chatzilla/lib/js/
|
||||
mozilla/chrome/chatzilla/content/chatzilla/lib/xul/
|
||||
mozilla/chrome/chatzilla/content/chatzilla/prefpanel/
|
||||
mozilla/chrome/chatzilla/locale/
|
||||
mozilla/chrome/chatzilla/locale/en-US/
|
||||
mozilla/chrome/chatzilla/locale/en-US/chatzilla/
|
||||
mozilla/chrome/chatzilla/skin/
|
||||
mozilla/chrome/chatzilla/skin/modern/
|
||||
mozilla/chrome/chatzilla/skin/modern/chatzilla/
|
||||
mozilla/chrome/chatzilla/skin/modern/chatzilla/images/
|
||||
mozilla/chrome/chromelist.txt
|
||||
mozilla/chrome/classic/
|
||||
mozilla/chrome/classic.jar
|
||||
mozilla/chrome/classic/skin/
|
||||
mozilla/chrome/classic/skin/classic/
|
||||
mozilla/chrome/classic/skin/classic/communicator/
|
||||
mozilla/chrome/classic/skin/classic/communicator/alerts/
|
||||
mozilla/chrome/classic/skin/classic/communicator/bookmarks/
|
||||
mozilla/chrome/classic/skin/classic/communicator/brand/
|
||||
mozilla/chrome/classic/skin/classic/communicator/cookie/
|
||||
mozilla/chrome/classic/skin/classic/communicator/directory/
|
||||
mozilla/chrome/classic/skin/classic/communicator/icons/
|
||||
mozilla/chrome/classic/skin/classic/communicator/icons/smileys/
|
||||
mozilla/chrome/classic/skin/classic/communicator/profile/
|
||||
mozilla/chrome/classic/skin/classic/communicator/related/
|
||||
mozilla/chrome/classic/skin/classic/communicator/search/
|
||||
mozilla/chrome/classic/skin/classic/communicator/sidebar/
|
||||
mozilla/chrome/classic/skin/classic/communicator/taskbar/
|
||||
mozilla/chrome/classic/skin/classic/communicator/xpinstall/
|
||||
mozilla/chrome/classic/skin/classic/editor/
|
||||
mozilla/chrome/classic/skin/classic/editor/icons/
|
||||
mozilla/chrome/classic/skin/classic/global/
|
||||
mozilla/chrome/classic/skin/classic/global/arrow/
|
||||
mozilla/chrome/classic/skin/classic/global/checkbox/
|
||||
mozilla/chrome/classic/skin/classic/global/console/
|
||||
mozilla/chrome/classic/skin/classic/global/filepicker/
|
||||
mozilla/chrome/classic/skin/classic/global/icons/
|
||||
mozilla/chrome/classic/skin/classic/global/menu/
|
||||
mozilla/chrome/classic/skin/classic/global/progressmeter/
|
||||
mozilla/chrome/classic/skin/classic/global/radio/
|
||||
mozilla/chrome/classic/skin/classic/global/scrollbar/
|
||||
mozilla/chrome/classic/skin/classic/global/splitter/
|
||||
mozilla/chrome/classic/skin/classic/global/toolbar/
|
||||
mozilla/chrome/classic/skin/classic/global/tree/
|
||||
mozilla/chrome/classic/skin/classic/messenger/
|
||||
mozilla/chrome/classic/skin/classic/messenger/addressbook/
|
||||
mozilla/chrome/classic/skin/classic/messenger/addressbook/icons/
|
||||
mozilla/chrome/classic/skin/classic/messenger/icons/
|
||||
mozilla/chrome/classic/skin/classic/messenger/messengercompose/
|
||||
mozilla/chrome/classic/skin/classic/messenger/smime/
|
||||
mozilla/chrome/classic/skin/classic/messenger/smime/icons/
|
||||
mozilla/chrome/classic/skin/classic/navigator/
|
||||
mozilla/chrome/classic/skin/classic/navigator/btn1/
|
||||
mozilla/chrome/classic/skin/classic/navigator/icons/
|
||||
mozilla/chrome/comm/
|
||||
mozilla/chrome/comm.jar
|
||||
mozilla/chrome/comm/content/
|
||||
mozilla/chrome/comm/content/autoconfig/
|
||||
mozilla/chrome/comm/content/communicator/
|
||||
mozilla/chrome/comm/content/communicator-platform/
|
||||
mozilla/chrome/comm/content/communicator-region/
|
||||
mozilla/chrome/comm/content/communicator/alerts/
|
||||
mozilla/chrome/comm/content/communicator/bookmarks/
|
||||
mozilla/chrome/comm/content/communicator/directory/
|
||||
mozilla/chrome/comm/content/communicator/downloadmanager/
|
||||
mozilla/chrome/comm/content/communicator/history/
|
||||
mozilla/chrome/comm/content/communicator/p3p/
|
||||
mozilla/chrome/comm/content/communicator/pref/
|
||||
mozilla/chrome/comm/content/communicator/profile/
|
||||
mozilla/chrome/comm/content/communicator/related/
|
||||
mozilla/chrome/comm/content/communicator/search/
|
||||
mozilla/chrome/comm/content/communicator/sidebar/
|
||||
mozilla/chrome/comm/content/communicator/wallet/
|
||||
mozilla/chrome/comm/content/communicator/xml/
|
||||
mozilla/chrome/comm/content/communicator/xpinstall/
|
||||
mozilla/chrome/comm/content/cookie/
|
||||
mozilla/chrome/comm/content/editor/
|
||||
mozilla/chrome/comm/content/editor-region/
|
||||
mozilla/chrome/comm/content/editor/images/
|
||||
mozilla/chrome/comm/content/navigator/
|
||||
mozilla/chrome/comm/content/navigator-platform/
|
||||
mozilla/chrome/comm/content/navigator-region/
|
||||
mozilla/chrome/comm/content/necko/
|
||||
mozilla/chrome/comm/content/p3p/
|
||||
mozilla/chrome/comm/content/wallet/
|
||||
mozilla/chrome/comm/content/xbl-marquee/
|
||||
mozilla/chrome/content-packs/
|
||||
mozilla/chrome/content-packs.jar
|
||||
mozilla/chrome/content-packs/content/
|
||||
mozilla/chrome/content-packs/content/content-packs/
|
||||
mozilla/chrome/embed-sample/
|
||||
mozilla/chrome/embed-sample.jar
|
||||
mozilla/chrome/embed-sample/content/
|
||||
mozilla/chrome/embed-sample/content/embed/
|
||||
mozilla/chrome/embed-sample/locale/
|
||||
mozilla/chrome/embed-sample/locale/en-US/
|
||||
mozilla/chrome/embed-sample/locale/en-US/embed/
|
||||
mozilla/chrome/embed-sample/skin/
|
||||
mozilla/chrome/embed-sample/skin/classic/
|
||||
mozilla/chrome/embed-sample/skin/classic/embed/
|
||||
mozilla/chrome/en-US/
|
||||
mozilla/chrome/en-US.jar
|
||||
mozilla/chrome/en-US/locale/
|
||||
mozilla/chrome/en-US/locale/en-US/
|
||||
mozilla/chrome/en-US/locale/en-US/autoconfig/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/bookmarks/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/directory/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/dom/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/downloadmanager/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/history/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/layout/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/pref/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/profile/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/search/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/security/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/sidebar/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/wallet/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/webservices/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/xml/
|
||||
mozilla/chrome/en-US/locale/en-US/communicator/xpinstall/
|
||||
mozilla/chrome/en-US/locale/en-US/content-packs/
|
||||
mozilla/chrome/en-US/locale/en-US/cookie/
|
||||
mozilla/chrome/en-US/locale/en-US/editor/
|
||||
mozilla/chrome/en-US/locale/en-US/global/
|
||||
mozilla/chrome/en-US/locale/en-US/help/
|
||||
mozilla/chrome/en-US/locale/en-US/help/images/
|
||||
mozilla/chrome/en-US/locale/en-US/messenger/
|
||||
mozilla/chrome/en-US/locale/en-US/messenger-mdn/
|
||||
mozilla/chrome/en-US/locale/en-US/messenger-smime/
|
||||
mozilla/chrome/en-US/locale/en-US/messenger/addressbook/
|
||||
mozilla/chrome/en-US/locale/en-US/messenger/messengercompose/
|
||||
mozilla/chrome/en-US/locale/en-US/navigator/
|
||||
mozilla/chrome/en-US/locale/en-US/necko/
|
||||
mozilla/chrome/en-US/locale/en-US/p3p/
|
||||
mozilla/chrome/en-US/locale/en-US/pipnss/
|
||||
mozilla/chrome/en-US/locale/en-US/pippki/
|
||||
mozilla/chrome/en-US/locale/en-US/wallet/
|
||||
mozilla/chrome/en-mac/
|
||||
mozilla/chrome/en-mac.jar
|
||||
mozilla/chrome/en-mac/locale/
|
||||
mozilla/chrome/en-mac/locale/en-US/
|
||||
mozilla/chrome/en-mac/locale/en-US/communicator-platform/
|
||||
mozilla/chrome/en-mac/locale/en-US/communicator-platform/pref/
|
||||
mozilla/chrome/en-mac/locale/en-US/global-platform/
|
||||
mozilla/chrome/en-mac/locale/en-US/navigator-platform/
|
||||
mozilla/chrome/en-unix/
|
||||
mozilla/chrome/en-unix.jar
|
||||
mozilla/chrome/en-unix/locale/
|
||||
mozilla/chrome/en-unix/locale/en-US/
|
||||
mozilla/chrome/en-unix/locale/en-US/communicator-platform/
|
||||
mozilla/chrome/en-unix/locale/en-US/communicator-platform/pref/
|
||||
mozilla/chrome/en-unix/locale/en-US/global-platform/
|
||||
mozilla/chrome/en-unix/locale/en-US/navigator-platform/
|
||||
mozilla/chrome/en-win/
|
||||
mozilla/chrome/en-win.jar
|
||||
mozilla/chrome/en-win/locale/
|
||||
mozilla/chrome/en-win/locale/en-US/
|
||||
mozilla/chrome/en-win/locale/en-US/communicator-platform/
|
||||
mozilla/chrome/en-win/locale/en-US/communicator-platform/pref/
|
||||
mozilla/chrome/en-win/locale/en-US/global-platform/
|
||||
mozilla/chrome/en-win/locale/en-US/messenger-mapi/
|
||||
mozilla/chrome/en-win/locale/en-US/navigator-platform/
|
||||
mozilla/chrome/help/
|
||||
mozilla/chrome/help.jar
|
||||
mozilla/chrome/help/content/
|
||||
mozilla/chrome/help/content/help/
|
||||
mozilla/chrome/icons/
|
||||
mozilla/chrome/icons/default/
|
||||
mozilla/chrome/icons/default/abcardWindow.xpm
|
||||
mozilla/chrome/icons/default/abcardWindow16.xpm
|
||||
mozilla/chrome/icons/default/addressbookWindow.xpm
|
||||
mozilla/chrome/icons/default/addressbookWindow16.xpm
|
||||
mozilla/chrome/icons/default/bmPropsWindow.xpm
|
||||
mozilla/chrome/icons/default/bmPropsWindow16.xpm
|
||||
mozilla/chrome/icons/default/bookmark-window.xpm
|
||||
mozilla/chrome/icons/default/bookmark-window16.xpm
|
||||
mozilla/chrome/icons/default/calendar-window.xpm
|
||||
mozilla/chrome/icons/default/calendar-window16.xpm
|
||||
mozilla/chrome/icons/default/chatzilla-window.xpm
|
||||
mozilla/chrome/icons/default/chatzilla-window16.xpm
|
||||
mozilla/chrome/icons/default/default.xpm
|
||||
mozilla/chrome/icons/default/downloadManager.xpm
|
||||
mozilla/chrome/icons/default/downloadManager16.xpm
|
||||
mozilla/chrome/icons/default/editorWindow.xpm
|
||||
mozilla/chrome/icons/default/editorWindow16.xpm
|
||||
mozilla/chrome/icons/default/findBookmarkWindow.xpm
|
||||
mozilla/chrome/icons/default/findBookmarkWindow16.xpm
|
||||
mozilla/chrome/icons/default/findHistoryWindow.xpm
|
||||
mozilla/chrome/icons/default/findHistoryWindow16.xpm
|
||||
mozilla/chrome/icons/default/history-window.xpm
|
||||
mozilla/chrome/icons/default/history-window16.xpm
|
||||
mozilla/chrome/icons/default/jsconsoleWindow.xpm
|
||||
mozilla/chrome/icons/default/jsconsoleWindow16.xpm
|
||||
mozilla/chrome/icons/default/main-window.xpm
|
||||
mozilla/chrome/icons/default/main-window16.xpm
|
||||
mozilla/chrome/icons/default/messengerWindow.xpm
|
||||
mozilla/chrome/icons/default/messengerWindow16.xpm
|
||||
mozilla/chrome/icons/default/msgcomposeWindow.xpm
|
||||
mozilla/chrome/icons/default/msgcomposeWindow16.xpm
|
||||
mozilla/chrome/icons/default/venkman-window.xpm
|
||||
mozilla/chrome/icons/default/venkman-window16.xpm
|
||||
mozilla/chrome/icons/default/winInspectorMain.xpm
|
||||
mozilla/chrome/icons/default/winInspectorMain16.xpm
|
||||
mozilla/chrome/inspector/
|
||||
mozilla/chrome/inspector.jar
|
||||
mozilla/chrome/inspector/content/
|
||||
mozilla/chrome/inspector/content/inspector/
|
||||
mozilla/chrome/inspector/content/inspector/extensions/
|
||||
mozilla/chrome/inspector/content/inspector/jsutil/
|
||||
mozilla/chrome/inspector/content/inspector/jsutil/events/
|
||||
mozilla/chrome/inspector/content/inspector/jsutil/rdf/
|
||||
mozilla/chrome/inspector/content/inspector/jsutil/system/
|
||||
mozilla/chrome/inspector/content/inspector/jsutil/xpcom/
|
||||
mozilla/chrome/inspector/content/inspector/jsutil/xul/
|
||||
mozilla/chrome/inspector/content/inspector/prefs/
|
||||
mozilla/chrome/inspector/content/inspector/search/
|
||||
mozilla/chrome/inspector/content/inspector/search/modules/
|
||||
mozilla/chrome/inspector/content/inspector/search/modules/findFiles/
|
||||
mozilla/chrome/inspector/content/inspector/search/modules/junkImgs/
|
||||
mozilla/chrome/inspector/content/inspector/tests/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/boxModel/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/computedStyle/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/dom/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/domNode/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/jsObject/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/styleRules/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/stylesheets/
|
||||
mozilla/chrome/inspector/content/inspector/viewers/xblBindings/
|
||||
mozilla/chrome/inspector/locale/
|
||||
mozilla/chrome/inspector/locale/en-US/
|
||||
mozilla/chrome/inspector/locale/en-US/inspector/
|
||||
mozilla/chrome/inspector/locale/en-US/inspector/search/
|
||||
mozilla/chrome/inspector/locale/en-US/inspector/viewers/
|
||||
mozilla/chrome/inspector/skin/
|
||||
mozilla/chrome/inspector/skin/classic/
|
||||
mozilla/chrome/inspector/skin/classic/inspector/
|
||||
mozilla/chrome/inspector/skin/classic/inspector/viewers/
|
||||
mozilla/chrome/inspector/skin/classic/inspector/viewers/boxModel/
|
||||
mozilla/chrome/inspector/skin/classic/inspector/viewers/dom/
|
||||
mozilla/chrome/inspector/skin/classic/inspector/viewers/domNode/
|
||||
mozilla/chrome/inspector/skin/classic/inspector/viewers/styleRules/
|
||||
mozilla/chrome/inspector/skin/classic/inspector/viewers/xblBindings/
|
||||
mozilla/chrome/inspector/skin/modern/
|
||||
mozilla/chrome/inspector/skin/modern/inspector/
|
||||
mozilla/chrome/inspector/skin/modern/inspector/viewers/
|
||||
mozilla/chrome/inspector/skin/modern/inspector/viewers/boxModel/
|
||||
mozilla/chrome/inspector/skin/modern/inspector/viewers/dom/
|
||||
mozilla/chrome/inspector/skin/modern/inspector/viewers/domNode/
|
||||
mozilla/chrome/inspector/skin/modern/inspector/viewers/styleRules/
|
||||
mozilla/chrome/inspector/skin/modern/inspector/viewers/xblBindings/
|
||||
mozilla/chrome/installed-chrome.txt
|
||||
mozilla/chrome/messenger/
|
||||
mozilla/chrome/messenger.jar
|
||||
mozilla/chrome/messenger/content/
|
||||
mozilla/chrome/messenger/content/messenger/
|
||||
mozilla/chrome/messenger/content/messenger-mdn/
|
||||
mozilla/chrome/messenger/content/messenger-region/
|
||||
mozilla/chrome/messenger/content/messenger-smime/
|
||||
mozilla/chrome/messenger/content/messenger-views/
|
||||
mozilla/chrome/messenger/content/messenger/addressbook/
|
||||
mozilla/chrome/messenger/content/messenger/messengercompose/
|
||||
mozilla/chrome/modern/
|
||||
mozilla/chrome/modern.jar
|
||||
mozilla/chrome/modern/skin/
|
||||
mozilla/chrome/modern/skin/modern/
|
||||
mozilla/chrome/modern/skin/modern/communicator/
|
||||
mozilla/chrome/modern/skin/modern/communicator/alerts/
|
||||
mozilla/chrome/modern/skin/modern/communicator/bookmarks/
|
||||
mozilla/chrome/modern/skin/modern/communicator/brand/
|
||||
mozilla/chrome/modern/skin/modern/communicator/cookie/
|
||||
mozilla/chrome/modern/skin/modern/communicator/directory/
|
||||
mozilla/chrome/modern/skin/modern/communicator/help/
|
||||
mozilla/chrome/modern/skin/modern/communicator/icons/
|
||||
mozilla/chrome/modern/skin/modern/communicator/icons/smileys/
|
||||
mozilla/chrome/modern/skin/modern/communicator/profile/
|
||||
mozilla/chrome/modern/skin/modern/communicator/related/
|
||||
mozilla/chrome/modern/skin/modern/communicator/search/
|
||||
mozilla/chrome/modern/skin/modern/communicator/sidebar/
|
||||
mozilla/chrome/modern/skin/modern/communicator/taskbar/
|
||||
mozilla/chrome/modern/skin/modern/communicator/toolbar/
|
||||
mozilla/chrome/modern/skin/modern/communicator/xpinstall/
|
||||
mozilla/chrome/modern/skin/modern/editor/
|
||||
mozilla/chrome/modern/skin/modern/editor/icons/
|
||||
mozilla/chrome/modern/skin/modern/global/
|
||||
mozilla/chrome/modern/skin/modern/global/arrow/
|
||||
mozilla/chrome/modern/skin/modern/global/button/
|
||||
mozilla/chrome/modern/skin/modern/global/checkbox/
|
||||
mozilla/chrome/modern/skin/modern/global/console/
|
||||
mozilla/chrome/modern/skin/modern/global/filepicker/
|
||||
mozilla/chrome/modern/skin/modern/global/icons/
|
||||
mozilla/chrome/modern/skin/modern/global/menu/
|
||||
mozilla/chrome/modern/skin/modern/global/menulist/
|
||||
mozilla/chrome/modern/skin/modern/global/progressmeter/
|
||||
mozilla/chrome/modern/skin/modern/global/radio/
|
||||
mozilla/chrome/modern/skin/modern/global/scrollbar/
|
||||
mozilla/chrome/modern/skin/modern/global/splitter/
|
||||
mozilla/chrome/modern/skin/modern/global/toolbar/
|
||||
mozilla/chrome/modern/skin/modern/global/tree/
|
||||
mozilla/chrome/modern/skin/modern/messenger/
|
||||
mozilla/chrome/modern/skin/modern/messenger/addressbook/
|
||||
mozilla/chrome/modern/skin/modern/messenger/addressbook/icons/
|
||||
mozilla/chrome/modern/skin/modern/messenger/icons/
|
||||
mozilla/chrome/modern/skin/modern/messenger/messengercompose/
|
||||
mozilla/chrome/modern/skin/modern/messenger/messengercompose/icons/
|
||||
mozilla/chrome/modern/skin/modern/messenger/smime/
|
||||
mozilla/chrome/modern/skin/modern/messenger/smime/icons/
|
||||
mozilla/chrome/modern/skin/modern/navigator/
|
||||
mozilla/chrome/modern/skin/modern/navigator/btn1/
|
||||
mozilla/chrome/modern/skin/modern/navigator/icons/
|
||||
mozilla/chrome/modern/skin/modern/navigator/toolbar/
|
||||
mozilla/chrome/pipnss/
|
||||
mozilla/chrome/pipnss.jar
|
||||
mozilla/chrome/pipnss/content/
|
||||
mozilla/chrome/pipnss/content/pipnss/
|
||||
mozilla/chrome/pippki/
|
||||
mozilla/chrome/pippki.jar
|
||||
mozilla/chrome/pippki/content/
|
||||
mozilla/chrome/pippki/content/pippki/
|
||||
mozilla/chrome/toolkit/
|
||||
mozilla/chrome/toolkit.jar
|
||||
mozilla/chrome/toolkit/content/
|
||||
mozilla/chrome/toolkit/content/global/
|
||||
mozilla/chrome/toolkit/content/global-platform/
|
||||
mozilla/chrome/toolkit/content/global-region/
|
||||
mozilla/chrome/toolkit/content/global/bindings/
|
||||
mozilla/chrome/venkman/
|
||||
mozilla/chrome/venkman.jar
|
||||
mozilla/chrome/venkman/content/
|
||||
mozilla/chrome/venkman/content/venkman/
|
||||
mozilla/chrome/venkman/content/venkman/tests/
|
||||
mozilla/chrome/venkman/locale/
|
||||
mozilla/chrome/venkman/locale/en-US/
|
||||
mozilla/chrome/venkman/locale/en-US/venkman/
|
||||
mozilla/chrome/venkman/skin/
|
||||
mozilla/chrome/venkman/skin/modern/
|
||||
mozilla/chrome/venkman/skin/modern/venkman/
|
||||
mozilla/chrome/venkman/skin/modern/venkman/images/
|
||||
mozilla/components/
|
||||
mozilla/components/accessibility-atk.xpt
|
||||
mozilla/components/accessibility.xpt
|
||||
mozilla/components/addrbook.xpt
|
||||
mozilla/components/appshell.xpt
|
||||
mozilla/components/autocomplete.xpt
|
||||
mozilla/components/autoconfig.xpt
|
||||
mozilla/components/bookmarks.xpt
|
||||
mozilla/components/caps.xpt
|
||||
mozilla/components/chardet.xpt
|
||||
mozilla/components/chatzilla-service.js
|
||||
mozilla/components/commandhandler.xpt
|
||||
mozilla/components/composer.xpt
|
||||
mozilla/components/content_base.xpt
|
||||
mozilla/components/content_html.xpt
|
||||
mozilla/components/content_htmldoc.xpt
|
||||
mozilla/components/content_xmldoc.xpt
|
||||
mozilla/components/content_xslt.xpt
|
||||
mozilla/components/cookie.xpt
|
||||
mozilla/components/directory.xpt
|
||||
mozilla/components/docshell.xpt
|
||||
mozilla/components/dom.xpt
|
||||
mozilla/components/dom_base.xpt
|
||||
mozilla/components/dom_core.xpt
|
||||
mozilla/components/dom_css.xpt
|
||||
mozilla/components/dom_events.xpt
|
||||
mozilla/components/dom_html.xpt
|
||||
mozilla/components/dom_loadsave.xpt
|
||||
mozilla/components/dom_range.xpt
|
||||
mozilla/components/dom_stylesheets.xpt
|
||||
mozilla/components/dom_traversal.xpt
|
||||
mozilla/components/dom_views.xpt
|
||||
mozilla/components/dom_xbl.xpt
|
||||
mozilla/components/dom_xpath.xpt
|
||||
mozilla/components/dom_xul.xpt
|
||||
mozilla/components/downloadmanager.xpt
|
||||
mozilla/components/editor.xpt
|
||||
mozilla/components/embed_base.xpt
|
||||
mozilla/components/exthandler.xpt
|
||||
mozilla/components/filepicker.xpt
|
||||
mozilla/components/find.xpt
|
||||
mozilla/components/gfx.xpt
|
||||
mozilla/components/helperAppDlg.xpt
|
||||
mozilla/components/history.xpt
|
||||
mozilla/components/htmlparser.xpt
|
||||
mozilla/components/imglib2.xpt
|
||||
mozilla/components/impComm4xMail.xpt
|
||||
mozilla/components/import.xpt
|
||||
mozilla/components/inspector-cmdline.js
|
||||
mozilla/components/inspector.xpt
|
||||
mozilla/components/intl.xpt
|
||||
mozilla/components/ipcd.xpt
|
||||
mozilla/components/jar.xpt
|
||||
mozilla/components/jsconsole-clhandler.js
|
||||
mozilla/components/jsconsole.xpt
|
||||
mozilla/components/jsdservice.xpt
|
||||
mozilla/components/jsurl.xpt
|
||||
mozilla/components/layout_base.xpt
|
||||
mozilla/components/layout_xul.xpt
|
||||
mozilla/components/layout_xul_tree.xpt
|
||||
mozilla/components/locale.xpt
|
||||
mozilla/components/lwbrk.xpt
|
||||
mozilla/components/mailnews.xpt
|
||||
mozilla/components/mailview.xpt
|
||||
mozilla/components/mdn-service.js
|
||||
mozilla/components/mime.xpt
|
||||
mozilla/components/mimetype.xpt
|
||||
mozilla/components/mozbrwsr.xpt
|
||||
mozilla/components/mozfind.xpt
|
||||
mozilla/components/msgbase.xpt
|
||||
mozilla/components/msgcompose.xpt
|
||||
mozilla/components/msgdb.xpt
|
||||
mozilla/components/msgimap.xpt
|
||||
mozilla/components/msglocal.xpt
|
||||
mozilla/components/msgnews.xpt
|
||||
mozilla/components/msgsearch.xpt
|
||||
mozilla/components/msgsmime.xpt
|
||||
mozilla/components/myspell/
|
||||
mozilla/components/myspell/en-US.aff
|
||||
mozilla/components/myspell/en-US.dic
|
||||
mozilla/components/necko.xpt
|
||||
mozilla/components/necko_about.xpt
|
||||
mozilla/components/necko_cache.xpt
|
||||
mozilla/components/necko_cookie.xpt
|
||||
mozilla/components/necko_data.xpt
|
||||
mozilla/components/necko_dns.xpt
|
||||
mozilla/components/necko_file.xpt
|
||||
mozilla/components/necko_ftp.xpt
|
||||
mozilla/components/necko_http.xpt
|
||||
mozilla/components/necko_jar.xpt
|
||||
mozilla/components/necko_res.xpt
|
||||
mozilla/components/necko_socket.xpt
|
||||
mozilla/components/necko_strconv.xpt
|
||||
mozilla/components/necko_viewsource.xpt
|
||||
mozilla/components/nsCloseAllWindows.js
|
||||
mozilla/components/nsDictionary.js
|
||||
mozilla/components/nsDownloadProgressListener.js
|
||||
mozilla/components/nsFilePicker.js
|
||||
mozilla/components/nsHelperAppDlg.js
|
||||
mozilla/components/nsInterfaceInfoToIDL.js
|
||||
mozilla/components/nsKillAll.js
|
||||
mozilla/components/nsProgressDialog.js
|
||||
mozilla/components/nsProxyAutoConfig.js
|
||||
mozilla/components/nsResetPref.js
|
||||
mozilla/components/nsSidebar.js
|
||||
mozilla/components/nsUpdateNotifier.js
|
||||
mozilla/components/nsXmlRpcClient.js
|
||||
mozilla/components/offlineStartup.js
|
||||
mozilla/components/oji.xpt
|
||||
mozilla/components/p3p.xpt
|
||||
mozilla/components/pipboot.xpt
|
||||
mozilla/components/pipnss.xpt
|
||||
mozilla/components/pippki.xpt
|
||||
mozilla/components/pref.xpt
|
||||
mozilla/components/prefetch.xpt
|
||||
mozilla/components/prefmigr.xpt
|
||||
mozilla/components/profile.xpt
|
||||
mozilla/components/profilesharingsetup.xpt
|
||||
mozilla/components/progressDlg.xpt
|
||||
mozilla/components/proxyObjInst.xpt
|
||||
mozilla/components/rdf.xpt
|
||||
mozilla/components/related.xpt
|
||||
mozilla/components/search.xpt
|
||||
mozilla/components/shistory.xpt
|
||||
mozilla/components/sidebar.xpt
|
||||
mozilla/components/signonviewer.xpt
|
||||
mozilla/components/smime-service.js
|
||||
mozilla/components/spellchecker.xpt
|
||||
mozilla/components/txmgr.xpt
|
||||
mozilla/components/txtsvc.xpt
|
||||
mozilla/components/typeaheadfind.xpt
|
||||
mozilla/components/uconv.xpt
|
||||
mozilla/components/unicharutil.xpt
|
||||
mozilla/components/uriloader.xpt
|
||||
mozilla/components/urlbarhistory.xpt
|
||||
mozilla/components/venkman-service.js
|
||||
mozilla/components/wallet.xpt
|
||||
mozilla/components/walleteditor.xpt
|
||||
mozilla/components/walletpreview.xpt
|
||||
mozilla/components/webBrowser_core.xpt
|
||||
mozilla/components/webbrowserpersist.xpt
|
||||
mozilla/components/webshell_idls.xpt
|
||||
mozilla/components/websrvcs.xpt
|
||||
mozilla/components/widget.xpt
|
||||
mozilla/components/windowds.xpt
|
||||
mozilla/components/windowwatcher.xpt
|
||||
mozilla/components/xml-rpc.xpt
|
||||
mozilla/components/xmlextras.xpt
|
||||
mozilla/components/xpcom_base.xpt
|
||||
mozilla/components/xpcom_components.xpt
|
||||
mozilla/components/xpcom_ds.xpt
|
||||
mozilla/components/xpcom_io.xpt
|
||||
mozilla/components/xpcom_obsolete.xpt
|
||||
mozilla/components/xpcom_threads.xpt
|
||||
mozilla/components/xpcom_xpti.xpt
|
||||
mozilla/components/xpconnect.xpt
|
||||
mozilla/components/xpinstall.xpt
|
||||
mozilla/components/xremoteservice.xpt
|
||||
mozilla/components/xuldoc.xpt
|
||||
mozilla/components/xultmpl.xpt
|
||||
mozilla/defaults/
|
||||
mozilla/defaults/autoconfig/
|
||||
mozilla/defaults/autoconfig/platform.js
|
||||
mozilla/defaults/autoconfig/prefcalls.js
|
||||
mozilla/defaults/isp/
|
||||
mozilla/defaults/isp/US/
|
||||
mozilla/defaults/isp/US/movemail.rdf
|
||||
mozilla/defaults/isp/movemail.rdf
|
||||
mozilla/defaults/messenger/
|
||||
mozilla/defaults/messenger/US/
|
||||
mozilla/defaults/messenger/US/mailViews.dat
|
||||
mozilla/defaults/messenger/mailViews.dat
|
||||
mozilla/defaults/pref/
|
||||
mozilla/defaults/pref/browser-prefs.js
|
||||
mozilla/defaults/pref/composer.js
|
||||
mozilla/defaults/pref/inspector.js
|
||||
mozilla/defaults/pref/mailnews.js
|
||||
mozilla/defaults/pref/mdn.js
|
||||
mozilla/defaults/pref/smime.js
|
||||
mozilla/defaults/profile/
|
||||
mozilla/defaults/profile/US/
|
||||
mozilla/defaults/profile/US/bookmarks.html
|
||||
mozilla/defaults/profile/US/chrome/
|
||||
mozilla/defaults/profile/US/chrome/userChrome-example.css
|
||||
mozilla/defaults/profile/US/chrome/userContent-example.css
|
||||
mozilla/defaults/profile/US/localstore.rdf
|
||||
mozilla/defaults/profile/US/mimeTypes.rdf
|
||||
mozilla/defaults/profile/US/panels.rdf
|
||||
mozilla/defaults/profile/US/search.rdf
|
||||
mozilla/defaults/profile/bookmarks.html
|
||||
mozilla/defaults/profile/chrome/
|
||||
mozilla/defaults/profile/chrome/userChrome-example.css
|
||||
mozilla/defaults/profile/chrome/userContent-example.css
|
||||
mozilla/defaults/profile/localstore.rdf
|
||||
mozilla/defaults/profile/mimeTypes.rdf
|
||||
mozilla/defaults/profile/panels.rdf
|
||||
mozilla/defaults/profile/search.rdf
|
||||
mozilla/defaults/wallet/
|
||||
mozilla/defaults/wallet/DistinguishedSchema.tbl
|
||||
mozilla/defaults/wallet/FieldSchema.tbl
|
||||
mozilla/defaults/wallet/PositionalSchema.tbl
|
||||
mozilla/defaults/wallet/SchemaConcat.tbl
|
||||
mozilla/defaults/wallet/SchemaStrings.tbl
|
||||
mozilla/defaults/wallet/StateSchema.tbl
|
||||
mozilla/defaults/wallet/VcardSchema.tbl
|
||||
mozilla/greprefs/
|
||||
mozilla/greprefs/all.js
|
||||
mozilla/greprefs/non-shared.txt
|
||||
mozilla/greprefs/security-prefs.js
|
||||
mozilla/greprefs/xpinstall.js
|
||||
mozilla/mozilla-bin
|
||||
mozilla/mozilla-config
|
||||
mozilla/mozilla-xremote-client
|
||||
mozilla/regchrome
|
||||
mozilla/regxpcom
|
||||
mozilla/res/
|
||||
mozilla/res/EditorOverride.css
|
||||
mozilla/res/arrow.gif
|
||||
mozilla/res/arrowd.gif
|
||||
mozilla/res/bloatcycle.html
|
||||
mozilla/res/broken-image.gif
|
||||
mozilla/res/charsetData.properties
|
||||
mozilla/res/charsetalias.properties
|
||||
mozilla/res/cmessage.txt
|
||||
mozilla/res/dtd/
|
||||
mozilla/res/dtd/mathml.dtd
|
||||
mozilla/res/dtd/xhtml11.dtd
|
||||
mozilla/res/entityTables/
|
||||
mozilla/res/entityTables/html40Latin1.properties
|
||||
mozilla/res/entityTables/html40Special.properties
|
||||
mozilla/res/entityTables/html40Symbols.properties
|
||||
mozilla/res/entityTables/htmlEntityVersions.properties
|
||||
mozilla/res/entityTables/mathml20.properties
|
||||
mozilla/res/entityTables/transliterate.properties
|
||||
mozilla/res/fonts/
|
||||
mozilla/res/fonts/fontEncoding.properties
|
||||
mozilla/res/fonts/mathfont.properties
|
||||
mozilla/res/fonts/mathfontCMEX10.properties
|
||||
mozilla/res/fonts/mathfontCMSY10.properties
|
||||
mozilla/res/fonts/mathfontMTExtra.properties
|
||||
mozilla/res/fonts/mathfontMath1.properties
|
||||
mozilla/res/fonts/mathfontMath2.properties
|
||||
mozilla/res/fonts/mathfontMath4.properties
|
||||
mozilla/res/fonts/mathfontPUA.properties
|
||||
mozilla/res/fonts/mathfontSymbol.properties
|
||||
mozilla/res/forms.css
|
||||
mozilla/res/grabber.gif
|
||||
mozilla/res/hiddenWindow.html
|
||||
mozilla/res/html/
|
||||
mozilla/res/html.css
|
||||
mozilla/res/html/gopher-audio.gif
|
||||
mozilla/res/html/gopher-binary.gif
|
||||
mozilla/res/html/gopher-find.gif
|
||||
mozilla/res/html/gopher-image.gif
|
||||
mozilla/res/html/gopher-menu.gif
|
||||
mozilla/res/html/gopher-movie.gif
|
||||
mozilla/res/html/gopher-sound.gif
|
||||
mozilla/res/html/gopher-telnet.gif
|
||||
mozilla/res/html/gopher-text.gif
|
||||
mozilla/res/html/gopher-unknown.gif
|
||||
mozilla/res/inspector/
|
||||
mozilla/res/inspector/search-registry.rdf
|
||||
mozilla/res/inspector/viewer-registry.rdf
|
||||
mozilla/res/langGroups.properties
|
||||
mozilla/res/language.properties
|
||||
mozilla/res/loading-image.gif
|
||||
mozilla/res/mathml.css
|
||||
mozilla/res/platform-forms.css
|
||||
mozilla/res/quirk.css
|
||||
mozilla/res/rdf/
|
||||
mozilla/res/rdf/dom-test-4.css
|
||||
mozilla/res/rdf/folder-closed.gif
|
||||
mozilla/res/rdf/folder-open.gif
|
||||
mozilla/res/rdf/ignore-test.xul
|
||||
mozilla/res/rdf/loading.gif
|
||||
mozilla/res/sample.unixpsfonts.properties
|
||||
mozilla/res/samples/
|
||||
mozilla/res/samples/Anieyes.gif
|
||||
mozilla/res/samples/aform.css
|
||||
mozilla/res/samples/beeptest.html
|
||||
mozilla/res/samples/bform.css
|
||||
mozilla/res/samples/bg.jpg
|
||||
mozilla/res/samples/cform.css
|
||||
mozilla/res/samples/checkboxTest.xul
|
||||
mozilla/res/samples/colorpicker.xul
|
||||
mozilla/res/samples/demoform.css
|
||||
mozilla/res/samples/dexopenchrome.xul
|
||||
mozilla/res/samples/dexparamdialog.html
|
||||
mozilla/res/samples/dexparamdialog.xul
|
||||
mozilla/res/samples/find.html
|
||||
mozilla/res/samples/gear1.gif
|
||||
mozilla/res/samples/hidetoolicon.css
|
||||
mozilla/res/samples/hidetoolicon.xul
|
||||
mozilla/res/samples/image_props.html
|
||||
mozilla/res/samples/mozform.css
|
||||
mozilla/res/samples/printsetup.html
|
||||
mozilla/res/samples/raptor.jpg
|
||||
mozilla/res/samples/rock_gra.gif
|
||||
mozilla/res/samples/sampleimages/
|
||||
mozilla/res/samples/sampleimages/bongo.gif
|
||||
mozilla/res/samples/sampleimages/down.gif
|
||||
mozilla/res/samples/sampleimages/left.gif
|
||||
mozilla/res/samples/sampleimages/right.gif
|
||||
mozilla/res/samples/sampleimages/up.gif
|
||||
mozilla/res/samples/scrollbarTest1.xul
|
||||
mozilla/res/samples/scrollbarTest2.xul
|
||||
mozilla/res/samples/sliderTest1.xul
|
||||
mozilla/res/samples/soundtest.html
|
||||
mozilla/res/samples/tab.xul
|
||||
mozilla/res/samples/test.wav
|
||||
mozilla/res/samples/test0.html
|
||||
mozilla/res/samples/test1.html
|
||||
mozilla/res/samples/test10.html
|
||||
mozilla/res/samples/test11.html
|
||||
mozilla/res/samples/test12.html
|
||||
mozilla/res/samples/test13.html
|
||||
mozilla/res/samples/test14.html
|
||||
mozilla/res/samples/test15.html
|
||||
mozilla/res/samples/test16.html
|
||||
mozilla/res/samples/test2.html
|
||||
mozilla/res/samples/test3.html
|
||||
mozilla/res/samples/test4.html
|
||||
mozilla/res/samples/test5.html
|
||||
mozilla/res/samples/test6.html
|
||||
mozilla/res/samples/test7.html
|
||||
mozilla/res/samples/test8-1.html
|
||||
mozilla/res/samples/test8.html
|
||||
mozilla/res/samples/test8dom.html
|
||||
mozilla/res/samples/test8sca.html
|
||||
mozilla/res/samples/test8siz.html
|
||||
mozilla/res/samples/test8tab.html
|
||||
mozilla/res/samples/test9.html
|
||||
mozilla/res/samples/test9a.html
|
||||
mozilla/res/samples/test9b.html
|
||||
mozilla/res/samples/test_ed.html
|
||||
mozilla/res/samples/test_form.html
|
||||
mozilla/res/samples/test_gfx.html
|
||||
mozilla/res/samples/test_lbox.html
|
||||
mozilla/res/samples/test_pr.html
|
||||
mozilla/res/samples/test_weight.html
|
||||
mozilla/res/samples/toolbarTest1.xul
|
||||
mozilla/res/samples/treeTest1.css
|
||||
mozilla/res/samples/treeTest1.xul
|
||||
mozilla/res/samples/widgets.xul
|
||||
mozilla/res/samples/xpmenu.xul
|
||||
mozilla/res/samples/xulTest.css
|
||||
mozilla/res/table-add-column-after-active.gif
|
||||
mozilla/res/table-add-column-after-hover.gif
|
||||
mozilla/res/table-add-column-after.gif
|
||||
mozilla/res/table-add-column-before-active.gif
|
||||
mozilla/res/table-add-column-before-hover.gif
|
||||
mozilla/res/table-add-column-before.gif
|
||||
mozilla/res/table-add-row-after-active.gif
|
||||
mozilla/res/table-add-row-after-hover.gif
|
||||
mozilla/res/table-add-row-after.gif
|
||||
mozilla/res/table-add-row-before-active.gif
|
||||
mozilla/res/table-add-row-before-hover.gif
|
||||
mozilla/res/table-add-row-before.gif
|
||||
mozilla/res/table-remove-column-active.gif
|
||||
mozilla/res/table-remove-column-hover.gif
|
||||
mozilla/res/table-remove-column.gif
|
||||
mozilla/res/table-remove-row-active.gif
|
||||
mozilla/res/table-remove-row-hover.gif
|
||||
mozilla/res/table-remove-row.gif
|
||||
mozilla/res/throbber/
|
||||
mozilla/res/throbber/anim.gif
|
||||
mozilla/res/throbber/anims00.gif
|
||||
mozilla/res/throbber/anims01.gif
|
||||
mozilla/res/throbber/anims02.gif
|
||||
mozilla/res/throbber/anims03.gif
|
||||
mozilla/res/throbber/anims04.gif
|
||||
mozilla/res/throbber/anims05.gif
|
||||
mozilla/res/throbber/anims06.gif
|
||||
mozilla/res/throbber/anims07.gif
|
||||
mozilla/res/throbber/anims08.gif
|
||||
mozilla/res/throbber/anims09.gif
|
||||
mozilla/res/throbber/anims10.gif
|
||||
mozilla/res/throbber/anims11.gif
|
||||
mozilla/res/throbber/anims12.gif
|
||||
mozilla/res/throbber/anims13.gif
|
||||
mozilla/res/throbber/anims14.gif
|
||||
mozilla/res/throbber/anims15.gif
|
||||
mozilla/res/throbber/anims16.gif
|
||||
mozilla/res/throbber/anims17.gif
|
||||
mozilla/res/throbber/anims18.gif
|
||||
mozilla/res/throbber/anims19.gif
|
||||
mozilla/res/throbber/anims20.gif
|
||||
mozilla/res/throbber/anims21.gif
|
||||
mozilla/res/throbber/anims22.gif
|
||||
mozilla/res/throbber/anims23.gif
|
||||
mozilla/res/throbber/anims24.gif
|
||||
mozilla/res/throbber/anims25.gif
|
||||
mozilla/res/throbber/anims26.gif
|
||||
mozilla/res/throbber/anims27.gif
|
||||
mozilla/res/throbber/anims28.gif
|
||||
mozilla/res/throbber/anims29.gif
|
||||
mozilla/res/ua.css
|
||||
mozilla/res/unixcharset.properties
|
||||
mozilla/res/viewer.properties
|
||||
mozilla/res/viewsource.css
|
||||
mozilla/run-mozilla.sh
|
||||
mozilla/searchplugins/
|
||||
mozilla/searchplugins/dmoz.gif
|
||||
mozilla/searchplugins/dmoz.src
|
||||
mozilla/searchplugins/google.gif
|
||||
mozilla/searchplugins/google.src
|
||||
mozilla/searchplugins/jeeves.gif
|
||||
mozilla/searchplugins/jeeves.src
|
||||
share/applications/
|
||||
share/pixmaps/
|
||||
@cwd ${LOCALBASE}/mozilla
|
||||
@exec rm -rf /tmp/.mozilla
|
||||
@exec cd %D && env HOME=/tmp LD_LIBRARY_PATH=%D ./regxpcom
|
||||
@exec cd %D && env HOME=/tmp LD_LIBRARY_PATH=%D ./regchrome
|
||||
@exec rm -rf /tmp/.mozilla
|
||||
@unexec rm -f %D/components/compreg.dat
|
||||
@unexec rm -f %D/components/xpti.dat
|
||||
@unexec rm -f %D/chrome/chrome.rdf
|
||||
@unexec rm -rf %D/chrome/overlayinfo
|
Loading…
x
Reference in New Issue
Block a user