26 | #
27 | # Alternatively, the contents of this file may be used under the terms of
28 | # either the GNU General Public License Version 2 or later (the "GPL"), or
29 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30 | # in which case the provisions of the GPL or the LGPL are applicable instead
31 | # of those above. If you wish to allow use of your version of this file only
32 | # under the terms of either the GPL or the LGPL, and not to allow others to
33 | # use your version of this file under the terms of the MPL, indicate your
34 | # decision by deleting the provisions above and replace them with the notice
35 | # and other provisions required by the GPL or the LGPL. If you do not delete
36 | # the provisions above, a recipient may use your version of this file under
37 | # the terms of any one of the MPL, the GPL or the LGPL.
38 | #
39 | # ***** END LICENSE BLOCK *****
40 |
41 | include $(DEPTH)/config/Darwin1.3.mk
42 |
--------------------------------------------------------------------------------
/js/src/config/IRIX5.3.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for IRIX5.3
42 | #
43 |
44 | include $(DEPTH)/config/IRIX.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/IRIX6.1.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for IRIX6.3
42 | #
43 |
44 | include $(DEPTH)/config/IRIX.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/IRIX6.2.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for IRIX6.3
42 | #
43 |
44 | include $(DEPTH)/config/IRIX.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/IRIX6.3.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for IRIX6.3
42 | #
43 |
44 | include $(DEPTH)/config/IRIX.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/IRIX6.5.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for IRIX6.3
42 | #
43 |
44 | include $(DEPTH)/config/IRIX.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/SunOS5.7.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1999
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for SunOS5.7
42 | #
43 |
44 | include $(DEPTH)/config/SunOS5.5.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/SunOS5.8.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1999
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for SunOS5.8
42 | #
43 |
44 | include $(DEPTH)/config/SunOS5.5.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/SunOS5.9.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1999
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for SunOS5.9
42 | #
43 |
44 | include $(DEPTH)/config/SunOS5.5.mk
45 |
--------------------------------------------------------------------------------
/js/src/config/SunOS5.5.1.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for SunOS5.5.1
42 | #
43 |
44 | include $(DEPTH)/config/SunOS5.5.mk
45 |
--------------------------------------------------------------------------------
/js/jsd/jsd.mak:
--------------------------------------------------------------------------------
1 |
2 | PROJ = jsd
3 | JSD = .
4 | JS = $(JSD)\..\src
5 | JSPROJ = js32
6 |
7 | !IF "$(BUILD_OPT)" != ""
8 | OBJ = Release
9 | CC_FLAGS = /DNDEBUG
10 | !ELSE
11 | OBJ = Debug
12 | CC_FLAGS = /DDEBUG
13 | LINK_FLAGS = /DEBUG
14 | !ENDIF
15 |
16 | QUIET=@
17 |
18 | CFLAGS = /nologo /MDd /W3 /Gm /GX /Zi /Od\
19 | /I $(JS)\
20 | /I $(JSD)\
21 | /DDEBUG /DWIN32 /D_CONSOLE /DXP_WIN /D_WINDOWS /D_WIN32\
22 | /DJSDEBUGGER\
23 | !IF "$(JSD_THREADSAFE)" != ""
24 | /DJSD_THREADSAFE\
25 | !ENDIF
26 | /DEXPORT_JSD_API\
27 | $(CC_FLAGS)\
28 | /c /Fp$(OBJ)\$(PROJ).pch /Fd$(OBJ)\$(PROJ).pdb /YX -Fo$@ $<
29 |
30 | LFLAGS = /nologo /subsystem:console /DLL /incremental:no /machine:I386 \
31 | $(LINK_FLAGS) /pdb:$(OBJ)\$(PROJ).pdb -out:$(OBJ)\$(PROJ).dll
32 |
33 | LLIBS = kernel32.lib advapi32.lib $(JS)\$(OBJ)\$(JSPROJ).lib
34 | # unused... user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib
35 |
36 | CPP=cl.exe
37 | LINK32=link.exe
38 |
39 | all: $(OBJ) $(OBJ)\$(PROJ).dll
40 |
41 |
42 | $(OBJ)\$(PROJ).dll: \
43 | $(OBJ)\jsdebug.obj \
44 | $(OBJ)\jsd_atom.obj \
45 | $(OBJ)\jsd_high.obj \
46 | $(OBJ)\jsd_hook.obj \
47 | $(OBJ)\jsd_obj.obj \
48 | $(OBJ)\jsd_scpt.obj \
49 | $(OBJ)\jsd_stak.obj \
50 | $(OBJ)\jsd_step.obj \
51 | $(OBJ)\jsd_text.obj \
52 | $(OBJ)\jsd_lock.obj \
53 | $(OBJ)\jsd_val.obj
54 | $(QUIET)$(LINK32) $(LFLAGS) $** $(LLIBS)
55 |
56 | {$(JSD)}.c{$(OBJ)}.obj :
57 | $(QUIET)$(CPP) $(CFLAGS)
58 |
59 | $(OBJ) :
60 | $(QUIET)mkdir $(OBJ)
61 |
62 | clean:
63 | @echo deleting old output
64 | $(QUIET)del $(OBJ)\*.pch >NUL
65 | $(QUIET)del $(OBJ)\*.obj >NUL
66 | $(QUIET)del $(OBJ)\*.exp >NUL
67 | $(QUIET)del $(OBJ)\*.lib >NUL
68 | $(QUIET)del $(OBJ)\*.idb >NUL
69 | $(QUIET)del $(OBJ)\*.pdb >NUL
70 | $(QUIET)del $(OBJ)\*.dll >NUL
71 |
--------------------------------------------------------------------------------
/js/src/fdlibm/s_signgam.c:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is Mozilla Communicator client code, released
17 | * March 31, 1998.
18 | *
19 | * The Initial Developer of the Original Code is
20 | * Sun Microsystems, Inc.
21 | * Portions created by the Initial Developer are Copyright (C) 1998
22 | * the Initial Developer. All Rights Reserved.
23 | *
24 | * Contributor(s):
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 | #include "fdlibm.h"
40 | int signgam = 0;
41 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/Thing.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public final class Thing
40 | {
41 | public String s;
42 | public int i;
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IJSPC.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public final class IJSPC
40 | {
41 | public IScript script;
42 | public int offset;
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/IRIX6.2.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | JDK = /share/builds/components/jdk/1.1.6/IRIX
40 |
41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/irix
42 |
43 | OTHER_LIBS += -L$(JDK)/lib/sgi/native_threads -ljava
44 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/IRIX6.3.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | JDK = /share/builds/components/jdk/1.1.6/IRIX
40 |
41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/irix
42 |
43 | OTHER_LIBS += -L$(JDK)/lib/sgi/native_threads -ljava
44 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IScriptSection.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public final class IScriptSection
40 | {
41 | public int base;
42 | public int extent;
43 | }
44 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/IRIX6.5.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | JDK = /share/builds/components/jdk/1.1.6/IRIX
40 |
41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/irix
42 |
43 | OTHER_LIBS += -L$(JDK)/lib32/sgi/native_threads -ljava
44 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IJSSourceLocation.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public final class IJSSourceLocation
40 | {
41 | public int line;
42 | public IJSPC pc;
43 | }
44 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IJSStackFrameInfo.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public final class IJSStackFrameInfo
40 | {
41 | public IJSPC pc;
42 | public int jsdframe;
43 | }
44 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/HP-UXB.10.10.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | JDK = /share/builds/components/jdk/1.1.5/HP-UX10
40 |
41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/hp-ux
42 |
43 | OTHER_LIBS += -L$(JDK)/lib/PA_RISC/green_threads -ljava
44 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/HP-UXB.10.20.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | JDK = /share/builds/components/jdk/1.1.5/HP-UX10
40 |
41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/hp-ux
42 |
43 | OTHER_LIBS += -L$(JDK)/lib/PA_RISC/green_threads -ljava
44 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/HP-UXB.11.00.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | JDK = /share/builds/components/jdk/1.1.5/HP-UX
40 |
41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/hp-ux
42 |
43 | OTHER_LIBS += -L$(JDK)/lib/PA_RISC/native_threads -ljava
44 |
--------------------------------------------------------------------------------
/js/src/jsinvoke.c:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | * vim: set ts=8 sw=4 et tw=78:
3 | *
4 | * ***** BEGIN LICENSE BLOCK *****
5 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 | *
7 | * The contents of this file are subject to the Mozilla Public License Version
8 | * 1.1 (the "License"); you may not use this file except in compliance with
9 | * the License. You may obtain a copy of the License at
10 | * http://www.mozilla.org/MPL/
11 | *
12 | * Software distributed under the License is distributed on an "AS IS" basis,
13 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 | * for the specific language governing rights and limitations under the
15 | * License.
16 | *
17 | * The Original Code is Mozilla Communicator client code, released
18 | * March 31, 1998.
19 | *
20 | * The Initial Developer of the Original Code is
21 | * Netscape Communications Corporation.
22 | * Portions created by the Initial Developer are Copyright (C) 1998
23 | * the Initial Developer. All Rights Reserved.
24 | *
25 | * Contributor(s):
26 | *
27 | * Alternatively, the contents of this file may be used under the terms of
28 | * either of the GNU General Public License Version 2 or later (the "GPL"),
29 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30 | * in which case the provisions of the GPL or the LGPL are applicable instead
31 | * of those above. If you wish to allow use of your version of this file only
32 | * under the terms of either the GPL or the LGPL, and not to allow others to
33 | * use your version of this file under the terms of the MPL, indicate your
34 | * decision by deleting the provisions above and replace them with the notice
35 | * and other provisions required by the GPL or the LGPL. If you do not delete
36 | * the provisions above, a recipient may use your version of this file under
37 | * the terms of any one of the MPL, the GPL or the LGPL.
38 | *
39 | * ***** END LICENSE BLOCK ***** */
40 |
41 | #define js_invoke_c__
42 |
43 | #include "jsinterp.c"
44 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/AIX4.1.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | # Change these to the current platform settings!!!
40 |
41 | JDK = /tools/ns
42 |
43 | INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/aix
44 |
45 | OTHER_LIBS += -L$(JDK)/lib/aix/native_threads -ljava
46 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/AIX4.2.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | # Change these to the current platform settings!!!
40 |
41 | JDK = /tools/ns
42 |
43 | INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/aix
44 |
45 | OTHER_LIBS += -L$(JDK)/lib/aix/native_threads -ljava
46 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IJSExecutionHook.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public interface IJSExecutionHook extends org.omg.CORBA.Object
40 | {
41 | public void aboutToExecute(IJSThreadState debug, IJSPC pc);
42 | }
43 |
--------------------------------------------------------------------------------
/js/src/liveconnect/classes/netscape/Makefile.ref:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either of the GNU General Public License Version 2 or later (the "GPL"),
28 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | DEPTH = ../../..
41 |
42 | include $(DEPTH)/config.mk
43 | include $(DEPTH)/liveconnect/config/$(OS_CONFIG).mk
44 |
45 | DIRS = javascript
46 |
47 | include $(DEPTH)/rules.mk
48 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/StringReciever.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public interface StringReciever extends org.omg.CORBA.Object
40 | {
41 | public void recieveString(String s);
42 | public void bounce(int count);
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/js/jsd/java/jsdjava.mak:
--------------------------------------------------------------------------------
1 |
2 | PROJ = jsdjava
3 | JSDJAVA = .
4 | JSD = $(JSDJAVA)\..
5 | JS = $(JSD)\..\src
6 | JSPROJ = js32
7 | JSDPROJ = jsd
8 |
9 | !IF "$(BUILD_OPT)" != ""
10 | OBJ = Release
11 | CC_FLAGS = /DNDEBUG
12 | !ELSE
13 | OBJ = Debug
14 | CC_FLAGS = /DDEBUG
15 | LINK_FLAGS = /DEBUG
16 | !ENDIF
17 |
18 | QUIET=@
19 |
20 | CFLAGS = /nologo /MDd /W3 /Gm /GX /Zi /Od\
21 | /I $(JS)\
22 | /I $(JSD)\
23 | /I $(JSDJAVA)\
24 | /DDEBUG /DWIN32 /DXP_PC /D_WINDOWS /D_WIN32\
25 | /DJSD_THREADSAFE\
26 | /DEXPORT_JSDJ_API\
27 | /DJSDEBUGGER\
28 | !IF "$(JSD_STANDALONE_JAVA_VM)" != ""
29 | /I $(JSDJAVA)\jre\
30 | /I $(JSDJAVA)\jre\win32\
31 | /DJSD_STANDALONE_JAVA_VM\
32 | !ENDIF
33 | $(CC_FLAGS)\
34 | /c /Fp$(OBJ)\$(PROJ).pch /Fd$(OBJ)\$(PROJ).pdb /YX -Fo$@ $<
35 |
36 | LFLAGS = /nologo /subsystem:console /DLL /incremental:no /machine:I386 \
37 | $(LINK_FLAGS) /pdb:$(OBJ)\$(PROJ).pdb -out:$(OBJ)\$(PROJ).dll
38 |
39 | LLIBS = kernel32.lib advapi32.lib \
40 | $(JS)\$(OBJ)\$(JSPROJ).lib $(JSD)\$(OBJ)\$(JSDPROJ).lib
41 |
42 | CPP=cl.exe
43 | LINK32=link.exe
44 |
45 | all: $(OBJ) $(OBJ)\$(PROJ).dll
46 |
47 |
48 | $(OBJ)\$(PROJ).dll: \
49 | !IF "$(JSD_STANDALONE_JAVA_VM)" != ""
50 | $(OBJ)\jsd_jvm.obj \
51 | $(OBJ)\jre.obj \
52 | $(OBJ)\jre_md.obj \
53 | !ENDIF
54 | $(OBJ)\jsdjava.obj \
55 | $(OBJ)\jsd_jntv.obj
56 | $(QUIET)$(LINK32) $(LFLAGS) $** $(LLIBS)
57 |
58 | {$(JSDJAVA)}.c{$(OBJ)}.obj :
59 | $(QUIET)$(CPP) $(CFLAGS)
60 |
61 | {$(JSDJAVA)\jre}.c{$(OBJ)}.obj :
62 | $(QUIET)$(CPP) $(CFLAGS)
63 |
64 | {$(JSDJAVA)\jre\win32}.c{$(OBJ)}.obj :
65 | $(QUIET)$(CPP) $(CFLAGS)
66 |
67 | $(OBJ) :
68 | $(QUIET)mkdir $(OBJ)
69 |
70 | clean:
71 | @echo deleting old output
72 | $(QUIET)del $(OBJ)\*.pch >NUL
73 | $(QUIET)del $(OBJ)\*.obj >NUL
74 | $(QUIET)del $(OBJ)\*.exp >NUL
75 | $(QUIET)del $(OBJ)\*.lib >NUL
76 | $(QUIET)del $(OBJ)\*.idb >NUL
77 | $(QUIET)del $(OBJ)\*.pdb >NUL
78 | $(QUIET)del $(OBJ)\*.dll >NUL
79 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IScriptHook.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public interface IScriptHook extends org.omg.CORBA.Object
40 | {
41 | public void justLoadedScript(IScript script);
42 | public void aboutToUnloadScript(IScript script);
43 | }
44 |
45 |
--------------------------------------------------------------------------------
/js/jsd/idl/Makefile.in:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is mozilla.org code.
16 | #
17 | # The Initial Developer of the Original Code is
18 | # Netscape Communications Corporation.
19 | # Portions created by the Initial Developer are Copyright (C) 1998
20 | # the Initial Developer. All Rights Reserved.
21 | #
22 | # Contributor(s):
23 | #
24 | # Alternatively, the contents of this file may be used under the terms of
25 | # either the GNU General Public License Version 2 or later (the "GPL"), or
26 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | # in which case the provisions of the GPL or the LGPL are applicable instead
28 | # of those above. If you wish to allow use of your version of this file only
29 | # under the terms of either the GPL or the LGPL, and not to allow others to
30 | # use your version of this file under the terms of the MPL, indicate your
31 | # decision by deleting the provisions above and replace them with the notice
32 | # and other provisions required by the GPL or the LGPL. If you do not delete
33 | # the provisions above, a recipient may use your version of this file under
34 | # the terms of any one of the MPL, the GPL or the LGPL.
35 | #
36 | # ***** END LICENSE BLOCK *****
37 |
38 | DEPTH = ../../..
39 | topsrcdir = @top_srcdir@
40 | srcdir = @srcdir@
41 | VPATH = @srcdir@
42 |
43 | include $(DEPTH)/config/autoconf.mk
44 |
45 | MODULE = jsdebug
46 | XPIDL_MODULE = jsdservice
47 |
48 | XPIDLSRCS = \
49 | jsdIDebuggerService.idl \
50 | $(NULL)
51 |
52 | include $(topsrcdir)/config/rules.mk
53 |
--------------------------------------------------------------------------------
/js/src/config/SunOS5.10.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1999
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for SunOS5.10, using vendor gcc and NSPR
42 | #
43 |
44 | include $(DEPTH)/config/SunOS5.5.mk
45 |
46 | INCLUDES += -I/usr/sfw/include/mozilla/nspr
47 | OTHER_LIBS += -L/usr/sfw/lib/mozilla -R/usr/sfw/lib/mozilla
48 |
49 | CC=gcc
50 |
51 |
--------------------------------------------------------------------------------
/js/src/js3240.rc:
--------------------------------------------------------------------------------
1 | //Microsoft Developer Studio generated resource script.
2 | //
3 | #include "resource.h"
4 |
5 | #define APSTUDIO_READONLY_SYMBOLS
6 | /////////////////////////////////////////////////////////////////////////////
7 | //
8 | // Generated from the TEXTINCLUDE 2 resource.
9 | //
10 | #include "winver.h"
11 |
12 | /////////////////////////////////////////////////////////////////////////////
13 | #undef APSTUDIO_READONLY_SYMBOLS
14 |
15 | /////////////////////////////////////////////////////////////////////////////
16 | //
17 | // Version
18 | //
19 |
20 | VS_VERSION_INFO VERSIONINFO
21 | FILEVERSION 4,0,0,0
22 | PRODUCTVERSION 4,0,0,0
23 | FILEFLAGSMASK 0x3fL
24 | #ifdef _DEBUG
25 | FILEFLAGS 0x1L
26 | #else
27 | FILEFLAGS 0x0L
28 | #endif
29 | FILEOS 0x10004L
30 | FILETYPE 0x2L
31 | FILESUBTYPE 0x0L
32 | BEGIN
33 | BLOCK "StringFileInfo"
34 | BEGIN
35 | BLOCK "040904e4"
36 | BEGIN
37 | VALUE "CompanyName", "Netscape Communications Corporation\0"
38 | VALUE "FileDescription", "Netscape 32-bit JavaScript Module\0"
39 | VALUE "FileVersion", "4.0\0"
40 | VALUE "InternalName", "JS3240\0"
41 | VALUE "LegalCopyright", "Copyright Netscape Communications. 1994-96\0"
42 | VALUE "LegalTrademarks", "Netscape, Mozilla\0"
43 | VALUE "OriginalFilename", "js3240.dll\0"
44 | VALUE "ProductName", "NETSCAPE\0"
45 | VALUE "ProductVersion", "4.0\0"
46 | END
47 | END
48 | BLOCK "VarFileInfo"
49 | BEGIN
50 | VALUE "Translation", 0x409, 1252
51 | END
52 | END
53 |
54 | #ifdef APSTUDIO_INVOKED
55 | /////////////////////////////////////////////////////////////////////////////
56 | //
57 | // TEXTINCLUDE
58 | //
59 |
60 | 1 TEXTINCLUDE DISCARDABLE
61 | BEGIN
62 | "resource.h\0"
63 | END
64 |
65 | 2 TEXTINCLUDE DISCARDABLE
66 | BEGIN
67 | "#include ""winver.h""\r\n"
68 | "\0"
69 | END
70 |
71 | 3 TEXTINCLUDE DISCARDABLE
72 | BEGIN
73 | "\r\n"
74 | "\0"
75 | END
76 |
77 | #endif // APSTUDIO_INVOKED
78 |
79 | /////////////////////////////////////////////////////////////////////////////
--------------------------------------------------------------------------------
/js/jsd/corba/src/IScript.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public final class IScript
40 | {
41 | public String url;
42 | public String funname;
43 | public int base;
44 | public int extent;
45 | public int jsdscript;
46 | public IScriptSection[] sections;
47 | }
48 |
49 |
--------------------------------------------------------------------------------
/js/src/config/CVS/Entries:
--------------------------------------------------------------------------------
1 | /AIX4.1.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1
2 | /AIX4.2.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1
3 | /AIX4.3.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1
4 | /Darwin.mk/1.7/Sun Mar 2 23:10:49 2008//TJS_180_RC1
5 | /Darwin1.3.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1
6 | /Darwin1.4.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1
7 | /Darwin5.2.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1
8 | /Darwin5.3.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1
9 | /HP-UXB.10.10.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1
10 | /HP-UXB.10.20.mk/1.8/Sat Feb 12 20:10:33 2005//TJS_180_RC1
11 | /HP-UXB.11.00.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1
12 | /IRIX.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1
13 | /IRIX5.3.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1
14 | /IRIX6.1.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1
15 | /IRIX6.2.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1
16 | /IRIX6.3.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1
17 | /IRIX6.5.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1
18 | /Linux_All.mk/1.15/Sun Mar 2 23:10:49 2008//TJS_180_RC1
19 | /Mac_OS10.0.mk/1.4/Sat Feb 12 20:10:33 2005//TJS_180_RC1
20 | /OSF1V4.0.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1
21 | /OSF1V5.0.mk/1.5/Sat Feb 12 20:10:33 2005//TJS_180_RC1
22 | /SunOS4.1.4.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1
23 | /SunOS5.10.mk/1.1/Sun Jan 20 02:12:59 2008//TJS_180_RC1
24 | /SunOS5.3.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1
25 | /SunOS5.4.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1
26 | /SunOS5.5.1.mk/1.8/Sat Feb 12 20:10:33 2005//TJS_180_RC1
27 | /SunOS5.5.mk/1.10/Sat Feb 12 20:10:33 2005//TJS_180_RC1
28 | /SunOS5.6.mk/1.13/Sat Feb 12 20:10:33 2005//TJS_180_RC1
29 | /SunOS5.7.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1
30 | /SunOS5.8.mk/1.4/Sat Feb 12 20:10:33 2005//TJS_180_RC1
31 | /SunOS5.9.mk/1.2/Sat Feb 12 20:10:33 2005//TJS_180_RC1
32 | /WINNT4.0.mk/1.15/Wed Jul 18 19:55:15 2007//TJS_180_RC1
33 | /WINNT5.0.mk/1.10/Fri Aug 10 23:23:38 2007//TJS_180_RC1
34 | /WINNT5.1.mk/1.6/Fri Aug 10 23:23:38 2007//TJS_180_RC1
35 | /WINNT5.2.mk/1.5/Fri Aug 10 23:23:38 2007//TJS_180_RC1
36 | /WINNT6.0.mk/1.1/Mon Nov 5 20:08:23 2007//TJS_180_RC1
37 | /dgux.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1
38 | D
39 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/WINNT4.0.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | ifeq ($(JDKVER),1_2_2)
40 |
41 | JDK = c:/jdk1.2.2
42 | OTHER_LIBS += $(JDK)/lib/jvm.lib ../$(OBJDIR)/js32.lib
43 |
44 | else
45 |
46 | JDK = c:/jdk1.1.8
47 | OTHER_LIBS += $(JDK)/lib/javai.lib ../$(OBJDIR)/js32.lib
48 |
49 | endif
50 |
51 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/win32
52 |
53 | JSDLL_CFLAGS =
54 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/TestInterface.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public interface TestInterface extends org.omg.CORBA.Object
40 | {
41 | public String getFirstAppInList();
42 | public void getAppNames( StringReciever sr );
43 | public Thing[] getThings();
44 | public void callBounce( StringReciever sr, int count );
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/AIX4.3.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | # Change these to the current platform settings!!!
40 |
41 | #JDK = /tools/ns
42 | JDK = /share/builds/components/jdk/1.2beta/AIX
43 | JAVAC = $(JDK)/sh/javac
44 | JAR = $(JDK)/sh/jar
45 |
46 | INCLUDES += -I$(JDK)/include
47 |
48 | #OTHER_LIBS += -L$(JDK)/lib/aix/native_threads -ljava
49 | OTHER_LIBS += -L$(JDK)/jre/bin -ljava -L$(JDK)/jre/bin/classic -ljvm
50 |
51 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/bogus0.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | //
40 | // This class only exist to force a forward declaration in the outputed
41 | // idl file.
42 | //
43 | // It should be handed to java2idl after IScriptSection.class but before
44 | // IScript.class
45 | //
46 |
47 | public final class bogus0
48 | {
49 | public IScriptSection[] bogus;
50 | }
51 |
52 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/bogus1.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | //
40 | // This class only exist to force a forward declaration in the outputed
41 | // idl file.
42 | //
43 | // It should be handed to java2idl after IJSStackFrameInfo.class but before
44 | // IJSThreadState.class
45 | //
46 |
47 | public final class bogus1
48 | {
49 | public IJSStackFrameInfo[] bogus;
50 | }
51 |
52 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IExecResult.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public final class IExecResult
40 | {
41 | public String result;
42 | public boolean errorOccured;
43 | public String errorMessage;
44 | public String errorFilename;
45 | public int errorLineNumber;
46 | public String errorLineBuffer;
47 | public int errorTokenOffset;
48 | }
49 |
50 |
--------------------------------------------------------------------------------
/js/jsd/classes/netscape/jsdebug/Hook.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | package netscape.jsdebug;
40 |
41 |
42 | /**
43 | * An instance of this class is returned for each hook set by
44 | * the debugger as a handle for removing the hook later.
45 | *
46 | * @author John Bandhauer
47 | * @author Nick Thompson
48 | * @version 1.0
49 | * @since 1.0
50 | */
51 | public abstract class Hook {
52 | }
53 |
--------------------------------------------------------------------------------
/js/src/liveconnect/CVS/Entries:
--------------------------------------------------------------------------------
1 | /.cvsignore/1.4/Tue Apr 20 19:25:21 1999//TJS_180_RC1
2 | /LiveConnect.dsp/1.4/Thu Apr 3 19:35:28 2003//TJS_180_RC1
3 | /LiveConnectShell.dsp/1.4/Thu Apr 3 19:35:28 2003//TJS_180_RC1
4 | /LiveConnectShell.dsw/1.2/Mon Jan 25 07:59:51 1999//TJS_180_RC1
5 | /Makefile.in/1.34/Wed Dec 15 04:06:59 2004//TJS_180_RC1
6 | /Makefile.ref/1.11/Sat Nov 15 00:11:05 2003//TJS_180_RC1
7 | /README.html/1.7/Sat Nov 15 00:11:05 2003//TJS_180_RC1
8 | /jsj.c/1.36/Thu Feb 15 06:33:34 2007//TJS_180_RC1
9 | /jsj.msg/1.7/Sat Nov 15 00:11:05 2003//TJS_180_RC1
10 | /jsj_JSObject.c/1.34/Tue Jan 23 05:28:31 2007//TJS_180_RC1
11 | /jsj_JavaArray.c/1.27/Wed Jan 12 19:21:11 2005//TJS_180_RC1
12 | /jsj_JavaClass.c/1.27/Mon Feb 25 08:59:21 2008//TJS_180_RC1
13 | /jsj_JavaMember.c/1.18/Wed May 9 11:11:53 2007//TJS_180_RC1
14 | /jsj_JavaObject.c/1.45/Tue Jan 23 05:28:31 2007//TJS_180_RC1
15 | /jsj_JavaPackage.c/1.25/Sat Mar 10 06:22:21 2007//TJS_180_RC1
16 | /jsj_array.c/1.9/Sat Nov 15 00:11:06 2003//TJS_180_RC1
17 | /jsj_class.c/1.24/Wed Jun 6 15:59:45 2007//TJS_180_RC1
18 | /jsj_convert.c/1.19/Tue Mar 13 03:18:29 2007//TJS_180_RC1
19 | /jsj_field.c/1.10/Sat Nov 15 00:11:06 2003//TJS_180_RC1
20 | /jsj_hash.c/1.13/Wed Jan 30 02:36:33 2008//TJS_180_RC1
21 | /jsj_hash.h/1.9/Sat Nov 15 00:11:06 2003//TJS_180_RC1
22 | /jsj_method.c/1.24/Tue Jan 23 05:28:31 2007//TJS_180_RC1
23 | /jsj_nodl.c/1.3/Sun Apr 2 07:17:22 2000//TJS_180_RC1
24 | /jsj_private.h/1.41/Mon Aug 28 20:12:33 2006//TJS_180_RC1
25 | /jsj_simpleapi.c/1.12/Thu Jul 7 22:35:39 2005//TJS_180_RC1
26 | /jsj_utils.c/1.21/Tue Jan 23 05:28:31 2007//TJS_180_RC1
27 | /jsjava.h/1.28/Tue Jan 23 05:28:31 2007//TJS_180_RC1
28 | /liveconnect.pkg/1.2/Wed Jan 7 01:21:45 2004//TJS_180_RC1
29 | /netscape_javascript_JSObject.h/1.9/Sat Nov 15 00:11:06 2003//TJS_180_RC1
30 | /nsCLiveconnect.cpp/1.52/Tue May 6 22:01:32 2008//TJS_180_RC1
31 | /nsCLiveconnect.h/1.13/Thu Aug 19 02:36:36 2004//TJS_180_RC1
32 | /nsCLiveconnectFactory.cpp/1.20/Thu Aug 31 16:45:29 2006//TJS_180_RC1
33 | /nsCLiveconnectFactory.h/1.7/Sat Nov 15 00:11:06 2003//TJS_180_RC1
34 | /nsILiveconnect.h/1.15/Fri Nov 11 14:36:04 2005//TJS_180_RC1
35 | /nsISecureLiveconnect.h/1.8/Thu Jul 27 16:51:24 2006//TJS_180_RC1
36 | /nsISecurityContext.h/1.11/Fri Nov 11 14:36:04 2005//TJS_180_RC1
37 | D
38 |
--------------------------------------------------------------------------------
/js/src/liveconnect/classes/netscape/javascript/Makefile.ref:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either of the GNU General Public License Version 2 or later (the "GPL"),
28 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | DEPTH = ../../../..
41 |
42 | include $(DEPTH)/config.mk
43 | include $(DEPTH)/liveconnect/config/$(OS_CONFIG).mk
44 |
45 | JARPATH = netscape/javascript
46 |
47 | JAVA_SRCS = JSException.java \
48 | JSObject.java \
49 | JSProxy.java \
50 | JSRunnable.java \
51 | JSUtil.java
52 |
53 | include $(DEPTH)/rules.mk
54 |
--------------------------------------------------------------------------------
/js/src/jsmath.h:
--------------------------------------------------------------------------------
1 | /* ***** BEGIN LICENSE BLOCK *****
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 | *
4 | * The contents of this file are subject to the Mozilla Public License Version
5 | * 1.1 (the "License"); you may not use this file except in compliance with
6 | * the License. You may obtain a copy of the License at
7 | * http://www.mozilla.org/MPL/
8 | *
9 | * Software distributed under the License is distributed on an "AS IS" basis,
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 | * for the specific language governing rights and limitations under the
12 | * License.
13 | *
14 | * The Original Code is Mozilla Communicator client code, released
15 | * March 31, 1998.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 1998-1999
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either of the GNU General Public License Version 2 or later (the "GPL"),
26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | /* -*- Mode: C; tab-width: 8 -*-
39 | * Copyright (C) 1998-1999 Netscape Communications Corporation, All Rights Reserved.
40 | */
41 |
42 | #ifndef jsmath_h___
43 | #define jsmath_h___
44 | /*
45 | * JS math functions.
46 | */
47 |
48 | JS_BEGIN_EXTERN_C
49 |
50 | extern JSClass js_MathClass;
51 |
52 | extern JSObject *
53 | js_InitMathClass(JSContext *cx, JSObject *obj);
54 |
55 | JS_END_EXTERN_C
56 |
57 | #endif /* jsmath_h___ */
58 |
--------------------------------------------------------------------------------
/js/src/liveconnect/classes/Makefile.ref:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either of the GNU General Public License Version 2 or later (the "GPL"),
28 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | DEPTH = ../..
41 |
42 | include $(DEPTH)/config.mk
43 | JAR = $(JDK)/bin/jar
44 | include $(DEPTH)/liveconnect/config/$(OS_CONFIG).mk
45 |
46 | JARS = $(LCJAR)
47 |
48 | JARS := $(addprefix $(CLASSDIR)/$(OBJDIR)/, $(JARS))
49 |
50 | PREDIRS = netscape
51 | TARGETS += $(JARS)
52 |
53 | include $(DEPTH)/rules.mk
54 |
55 | $(CLASSDIR)/$(OBJDIR)/$(LCJAR):
56 | cd $(CLASSDIR)/$(OBJDIR) ; \
57 | $(JAR) cvf $(@F) netscape
58 |
--------------------------------------------------------------------------------
/js/jsd/jsdstubs.c:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 1998
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | /* this is all going away... replaced by code in js/jsd/java */
39 |
40 | #if 0
41 |
42 | #include "_stubs/netscape_jsdebug_Script.c"
43 | #include "_stubs/netscape_jsdebug_DebugController.c"
44 | #include "_stubs/netscape_jsdebug_JSThreadState.c"
45 | #include "_stubs/netscape_jsdebug_JSStackFrameInfo.c"
46 | #include "_stubs/netscape_jsdebug_JSPC.c"
47 | #include "_stubs/netscape_jsdebug_JSSourceTextProvider.c"
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/js/src/jsfile.h:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is Mozilla Communicator client code, released
17 | * March 31, 1998.
18 | *
19 | * The Initial Developer of the Original Code is
20 | * Netscape Communications Corporation.
21 | * Portions created by the Initial Developer are Copyright (C) 1998
22 | * the Initial Developer. All Rights Reserved.
23 | *
24 | * Contributor(s):
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | #ifndef _jsfile_h__
41 | #define _jsfile_h__
42 |
43 | #if JS_HAS_FILE_OBJECT
44 |
45 | #include "jsobj.h"
46 |
47 | extern JS_PUBLIC_API(JSObject*)
48 | js_InitFileClass(JSContext *cx, JSObject* obj);
49 |
50 | extern JS_PUBLIC_API(JSObject*)
51 | js_NewFileObject(JSContext *cx, char *bytes);
52 |
53 | extern JSClass js_FileClass;
54 |
55 | #endif /* JS_HAS_FILE_OBJECT */
56 | #endif /* _jsfile_h__ */
57 |
--------------------------------------------------------------------------------
/js/jsd/resource.h:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 | /* ***** BEGIN LICENSE BLOCK *****
3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | *
5 | * The contents of this file are subject to the Mozilla Public License Version
6 | * 1.1 (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | * http://www.mozilla.org/MPL/
9 | *
10 | * Software distributed under the License is distributed on an "AS IS" basis,
11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | * for the specific language governing rights and limitations under the
13 | * License.
14 | *
15 | * The Original Code is mozilla.org code.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 1998
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | //{{NO_DEPENDENCIES}}
39 | // Microsoft Developer Studio generated include file.
40 | // Used by jsd3240.rc
41 | //
42 |
43 | // Next default values for new objects
44 | //
45 | #ifdef APSTUDIO_INVOKED
46 | #ifndef APSTUDIO_READONLY_SYMBOLS
47 | #define _APS_NEXT_RESOURCE_VALUE 101
48 | #define _APS_NEXT_COMMAND_VALUE 40001
49 | #define _APS_NEXT_CONTROL_VALUE 1000
50 | #define _APS_NEXT_SYMED_VALUE 101
51 | #endif
52 | #endif
53 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/SunOS5.5.1.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | # Change these to the current platform settings!!!
41 |
42 | ifndef JDK_VERSION
43 | JDK_VERSION = 1.2.2
44 | endif
45 |
46 | JDK = /share/builds/components/jdk/$(JDK_VERSION)/SunOS
47 |
48 | # INCLUDES += -I$(JDK)/include -I$(JDK)/include/solaris
49 | INCLUDES += -I$(JDK)/include/solaris -I$(JDK)/include
50 |
51 | OTHER_LIBS += -L$(JDK)/jre/lib/sparc/native_threads
52 | OTHER_LIBS += -L$(JDK)/jre/lib/sparc/classic
53 | OTHER_LIBS += -L$(JDK)/jre/lib/sparc -ljava -ljvm
54 |
55 |
56 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/cutlines.awk:
--------------------------------------------------------------------------------
1 | # -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is mozilla.org code.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | #
40 | # see usage...
41 | #
42 |
43 | BEGIN {
44 | skiplines_left = 0
45 | if( 0 == lines || 0 == pat )
46 | {
47 | # show usage...
48 | print "\n"
49 | print "strips some lines when first line contains pattern\n"
50 | print "\tusage -v pat=\"pattern\" -v lines=3"
51 | }
52 | }
53 |
54 | {
55 | if( skiplines_left )
56 | skiplines_left--;
57 | else
58 | {
59 | if( match($0, pat) != 0 )
60 | skiplines_left = lines-1;
61 | else
62 | print $0;
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/js/jsd/corba/src/IJSErrorReporter.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | public interface IJSErrorReporter extends org.omg.CORBA.Object
40 | {
41 | /* keep these in sync with the numbers in jsdebug.h */
42 | public static final int PASS_ALONG = 0;
43 | public static final int RETURN = 1;
44 | public static final int DEBUG = 2;
45 |
46 | public int reportError( String msg,
47 | String filename,
48 | int lineno,
49 | String linebuf,
50 | int tokenOffset );
51 | }
52 |
53 |
--------------------------------------------------------------------------------
/js/src/config/AIX4.2.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for AIX
42 | #
43 |
44 | CC = xlC_r
45 | CCC = xlC_r
46 | CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DHAVE_LOCALTIME_R
47 |
48 | RANLIB = ranlib
49 |
50 | #.c.o:
51 | # $(CC) -c -MD $*.d $(CFLAGS) $<
52 | ARCH := aix
53 | CPU_ARCH = rs6000
54 | GFX_ARCH = x
55 | INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1
56 |
57 | #-lpthreads -lc_r
58 |
59 | MKSHLIB = /usr/lpp/xlC/bin/makeC++SharedLib_r -p 0 -G -berok
60 |
61 | ifdef JS_THREADSAFE
62 | XLDFLAGS += -ldl
63 | endif
64 |
65 |
--------------------------------------------------------------------------------
/js/jsd/java/jni_stubs.c:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | /*
40 | * This supplies non-functional stubs for a couple of JNI functions we need
41 | * in order to link LiveConnect
42 | */
43 |
44 | #include "jni.h"
45 |
46 | jint JNICALL JNI_GetDefaultJavaVMInitArgs(void * ignored)
47 | {
48 | return 0;
49 | }
50 |
51 | jint JNICALL JNI_CreateJavaVM(JavaVM ** vm, JNIEnv ** env, void * ignored)
52 | {
53 | return 0;
54 | }
55 |
56 |
--------------------------------------------------------------------------------
/js/src/liveconnect/classes/netscape/javascript/JSUtil.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: Java; tab-width: 8; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is Mozilla Communicator client code, released
17 | * March 31, 1998.
18 | *
19 | * The Initial Developer of the Original Code is
20 | * Netscape Communications Corporation.
21 | * Portions created by the Initial Developer are Copyright (C) 1998
22 | * the Initial Developer. All Rights Reserved.
23 | *
24 | * Contributor(s):
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 | /* ** */
40 |
41 | package netscape.javascript;
42 | import java.io.*;
43 |
44 | public class JSUtil {
45 |
46 | /* Return the stack trace of an exception or error as a String */
47 | public static String getStackTrace(Throwable t) {
48 | ByteArrayOutputStream captureStream;
49 | PrintWriter p;
50 |
51 | captureStream = new ByteArrayOutputStream();
52 | p = new PrintWriter(captureStream);
53 |
54 | t.printStackTrace(p);
55 | p.flush();
56 |
57 | return captureStream.toString();
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/js/src/config/AIX4.1.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for AIX
42 | #
43 |
44 | CC = xlC_r
45 | CCC = xlC_r
46 |
47 | RANLIB = ranlib
48 |
49 | #.c.o:
50 | # $(CC) -c -MD $*.d $(CFLAGS) $<
51 | ARCH := aix
52 | CPU_ARCH = rs6000
53 | GFX_ARCH = x
54 | INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1
55 |
56 | OS_CFLAGS = -qarch=com -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DHAVE_LOCALTIME_R
57 | OS_LIBS = -lbsd -lsvld -lm
58 | #-lpthreads -lc_r
59 |
60 | MKSHLIB = $(LD) -bM:SRE -bh:4 -bnoentry -berok
61 | XLDFLAGS += -lc
62 |
63 | ifdef JS_THREADSAFE
64 | XLDFLAGS += -lsvld
65 | endif
66 |
--------------------------------------------------------------------------------
/js/src/jslocko.asm:
--------------------------------------------------------------------------------
1 | ; -*- Mode: asm; tab-width: 8; c-basic-offset: 4 -*-
2 |
3 | ; ***** BEGIN LICENSE BLOCK *****
4 | ; Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | ;
6 | ; The contents of this file are subject to the Mozilla Public License Version
7 | ; 1.1 (the "License"); you may not use this file except in compliance with
8 | ; the License. You may obtain a copy of the License at
9 | ; http://www.mozilla.org/MPL/
10 | ;
11 | ; Software distributed under the License is distributed on an "AS IS" basis,
12 | ; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | ; for the specific language governing rights and limitations under the
14 | ; License.
15 | ;
16 | ; The Original Code is an OS/2 implementation of js_CompareAndSwap in assembly.
17 | ;
18 | ; The Initial Developer of the Original Code is
19 | ; IBM Corporation.
20 | ; Portions created by the Initial Developer are Copyright (C) 2001
21 | ; the Initial Developer. All Rights Reserved.
22 | ;
23 | ; Contributor(s):
24 | ;
25 | ; Alternatively, the contents of this file may be used under the terms of
26 | ; either the GNU General Public License Version 2 or later (the "GPL"), or
27 | ; the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | ; in which case the provisions of the GPL or the LGPL are applicable instead
29 | ; of those above. If you wish to allow use of your version of this file only
30 | ; under the terms of either the GPL or the LGPL, and not to allow others to
31 | ; use your version of this file under the terms of the MPL, indicate your
32 | ; decision by deleting the provisions above and replace them with the notice
33 | ; and other provisions required by the GPL or the LGPL. If you do not delete
34 | ; the provisions above, a recipient may use your version of this file under
35 | ; the terms of any one of the MPL, the GPL or the LGPL.
36 | ;
37 | ; ***** END LICENSE BLOCK *****
38 |
39 | .486P
40 | .MODEL FLAT, OPTLINK
41 | .STACK
42 |
43 | .CODE
44 |
45 | ;;;---------------------------------------------------------------------
46 | ;;; int _Optlink js_CompareAndSwap(jsword *w, jsword ov, jsword nv)
47 | ;;;---------------------------------------------------------------------
48 | js_CompareAndSwap PROC OPTLINK EXPORT
49 | push ebx
50 | mov ebx, eax
51 | mov eax, edx
52 | mov edx, ebx
53 | lock cmpxchg [ebx], ecx
54 | sete al
55 | and eax, 1h
56 | pop ebx
57 | ret
58 | js_CompareAndSwap endp
59 |
60 | END
61 |
--------------------------------------------------------------------------------
/js/src/config/AIX4.3.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for AIX
42 | #
43 |
44 | CC = xlC_r
45 | CCC = xlC_r
46 | CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DAIX4_3 -DHAVE_LOCALTIME_R
47 |
48 | RANLIB = ranlib
49 |
50 | #.c.o:
51 | # $(CC) -c -MD $*.d $(CFLAGS) $<
52 | ARCH := aix
53 | CPU_ARCH = rs6000
54 | GFX_ARCH = x
55 | INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1
56 |
57 | #-lpthreads -lc_r
58 |
59 | MKSHLIB_BIN = /usr/ibmcxx/bin/makeC++SharedLib_r
60 | MKSHLIB = $(MKSHLIB_BIN) -p 0 -G -berok -bM:UR
61 |
62 | ifdef JS_THREADSAFE
63 | XLDFLAGS += -ldl
64 | endif
65 |
66 |
--------------------------------------------------------------------------------
/js/src/config/dgux.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for Data General DG/UX
42 | #
43 |
44 | #
45 | # Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com)
46 | #
47 |
48 | AS = as
49 | CC = gcc
50 | CCC = g++
51 |
52 | RANLIB = echo
53 |
54 | #
55 | # _DGUX_SOURCE is needed to turn on a lot of stuff in the headers if
56 | # you're not using DG's compiler. It shouldn't hurt if you are.
57 | #
58 | # _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in
59 | # prtime.c
60 | #
61 | OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DDGUX -D_DGUX_SOURCE -D_POSIX4A_DRAFT10_SOURCE -DHAVE_LOCALTIME_R
62 | OS_LIBS = -lsocket -lnsl
63 |
64 | NOSUCHFILE = /no-such-file
65 |
--------------------------------------------------------------------------------
/js/src/jscompat.h:
--------------------------------------------------------------------------------
1 | /* ***** BEGIN LICENSE BLOCK *****
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 | *
4 | * The contents of this file are subject to the Mozilla Public License Version
5 | * 1.1 (the "License"); you may not use this file except in compliance with
6 | * the License. You may obtain a copy of the License at
7 | * http://www.mozilla.org/MPL/
8 | *
9 | * Software distributed under the License is distributed on an "AS IS" basis,
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 | * for the specific language governing rights and limitations under the
12 | * License.
13 | *
14 | * The Original Code is Mozilla Communicator client code, released
15 | * March 31, 1998.
16 | *
17 | * The Initial Developer of the Original Code is
18 | * Netscape Communications Corporation.
19 | * Portions created by the Initial Developer are Copyright (C) 1998-1999
20 | * the Initial Developer. All Rights Reserved.
21 | *
22 | * Contributor(s):
23 | *
24 | * Alternatively, the contents of this file may be used under the terms of
25 | * either of the GNU General Public License Version 2 or later (the "GPL"),
26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 | * in which case the provisions of the GPL or the LGPL are applicable instead
28 | * of those above. If you wish to allow use of your version of this file only
29 | * under the terms of either the GPL or the LGPL, and not to allow others to
30 | * use your version of this file under the terms of the MPL, indicate your
31 | * decision by deleting the provisions above and replace them with the notice
32 | * and other provisions required by the GPL or the LGPL. If you do not delete
33 | * the provisions above, a recipient may use your version of this file under
34 | * the terms of any one of the MPL, the GPL or the LGPL.
35 | *
36 | * ***** END LICENSE BLOCK ***** */
37 |
38 | /* -*- Mode: C; tab-width: 8 -*-
39 | * Copyright (C) 1996-1999 Netscape Communications Corporation, All Rights Reserved.
40 | */
41 | #ifndef jscompat_h___
42 | #define jscompat_h___
43 | /*
44 | * Compatibility glue for various NSPR versions. We must always define int8,
45 | * int16, jsword, and so on to minimize differences with js/ref, no matter what
46 | * the NSPR typedef names may be.
47 | */
48 | #include "jstypes.h"
49 | #include "jslong.h"
50 |
51 | typedef JSIntn intN;
52 | typedef JSUintn uintN;
53 | typedef JSUword jsuword;
54 | typedef JSWord jsword;
55 | typedef float float32;
56 | #define allocPriv allocPool
57 | #endif /* jscompat_h___ */
58 |
--------------------------------------------------------------------------------
/js/jsd/classes/netscape/jsdebug/InterruptHook.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | package netscape.jsdebug;
40 |
41 | /**
42 | * InterruptHook must be subclassed to respond when interrupts occur
43 | *
44 | * @author John Bandhauer
45 | * @author Nick Thompson
46 | * @version 1.0
47 | * @since 1.0
48 | */
49 | public class InterruptHook extends Hook {
50 |
51 | /**
52 | * Override this method to respond when interrupts occur
53 | * @param debug the state of this thread
54 | * @param pc the pc of the instruction about to execute
55 | */
56 | public void aboutToExecute(ThreadStateBase debug, PC pc) {
57 | // defaults to no action
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/js/src/config/OSF1V5.0.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for Tru64 Unix 5.0
42 | #
43 |
44 | #
45 | # Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com)
46 | #
47 |
48 | ifndef NS_USE_NATIVE
49 | CC = gcc
50 | CCC = g++
51 | CFLAGS += -mieee -Wall -Wno-format
52 | else
53 | CC = cc
54 | CCC = cxx
55 | CFLAGS += -ieee -std -pthread
56 | # LD = cxx
57 | endif
58 |
59 | RANLIB = echo
60 | MKSHLIB = $(LD) -shared -all -expect_unresolved "*"
61 |
62 | #
63 | # _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in
64 | # prtime.c
65 | #
66 | OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_POSIX4A_DRAFT10_SOURCE -DOSF1 -DHAVE_LOCALTIME_R
67 | OS_LIBS = -lsocket -lnsl
68 |
69 | NOSUCHFILE = /no-such-file
70 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/OSF1V5.0.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | # JDK = /share/builds/components/jdk/1.1.6/OSF1
40 |
41 | # INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/alpha
42 |
43 | # OTHER_LIBS += -L$(JDK)/lib/alpha -ljava
44 |
45 | # XLDFLAGS += -taso
46 |
47 | ifndef JDK_VERSION
48 | JDK_VERSION = 1.2.2
49 | endif
50 |
51 | # jni.h #error's without this.
52 | CFLAGS += -pthread
53 |
54 | JDK = /share/builds/components/jdk/$(JDK_VERSION)/OSF1
55 |
56 | # INCLUDES += -I$(JDK)/include -I$(JDK)/include/solaris
57 | INCLUDES += -I$(JDK)/include/alpha -I$(JDK)/include
58 |
59 | # XXX is this consistent with -pthread above?
60 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/native_threads
61 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/classic
62 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha -ljava -ljvm
63 |
--------------------------------------------------------------------------------
/js/jsd/classes/netscape/jsdebug/DebugBreakHook.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | package netscape.jsdebug;
40 |
41 | /**
42 | * DebugBreakHook must be subclassed to respond when a debug break is
43 | * requested
44 | *
45 | * @author John Bandhauer
46 | * @version 1.0
47 | * @since 1.0
48 | */
49 | public class DebugBreakHook extends Hook {
50 |
51 | /**
52 | * Override this method to respond just before a thread
53 | * reaches a particular instruction.
54 | *
55 | * @param debug ThreadState representing the current state
56 | * @param pc the location of the instruction about to be executed
57 | */
58 | public void aboutToExecute(ThreadStateBase debug, PC pc) {
59 | // defaults to no action
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/js/src/fdlibm/s_matherr.c:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is Mozilla Communicator client code, released
17 | * March 31, 1998.
18 | *
19 | * The Initial Developer of the Original Code is
20 | * Sun Microsystems, Inc.
21 | * Portions created by the Initial Developer are Copyright (C) 1998
22 | * the Initial Developer. All Rights Reserved.
23 | *
24 | * Contributor(s):
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | /* @(#)s_matherr.c 1.3 95/01/18 */
41 | /*
42 | * ====================================================
43 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
44 | *
45 | * Developed at SunSoft, a Sun Microsystems, Inc. business.
46 | * Permission to use, copy, modify, and distribute this
47 | * software is freely granted, provided that this notice
48 | * is preserved.
49 | * ====================================================
50 | */
51 |
52 | #include "fdlibm.h"
53 |
54 | #ifdef __STDC__
55 | int fd_matherr(struct exception *x)
56 | #else
57 | int fd_matherr(x)
58 | struct exception *x;
59 | #endif
60 | {
61 | int n=0;
62 | if(x->arg1!=x->arg1) return 0;
63 | return n;
64 | }
65 |
--------------------------------------------------------------------------------
/js/jsd/jsdb/jsdb.h:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | /*
40 | * Public headers for JSDB
41 | */
42 |
43 | #ifndef jsdb_h___
44 | #define jsdb_h___
45 |
46 | /* Get jstypes.h included first. After that we can use PR macros for doing
47 | * this extern "C" stuff!
48 | */
49 | #ifdef __cplusplus
50 | extern "C"
51 | {
52 | #endif
53 | #include "jstypes.h"
54 | #ifdef __cplusplus
55 | }
56 | #endif
57 |
58 | JS_BEGIN_EXTERN_C
59 | #include "jsapi.h"
60 | #include "jsdebug.h"
61 | JS_END_EXTERN_C
62 |
63 | JS_BEGIN_EXTERN_C
64 |
65 | extern JS_EXPORT_API(void)
66 | JSDB_TermDebugger(JSDContext* jsdc);
67 |
68 | extern JS_EXPORT_API(JSBool)
69 | JSDB_InitDebugger(JSRuntime* rt, JSDContext* jsdc, int depth);
70 |
71 | JS_END_EXTERN_C
72 |
73 | #endif /* jsdb_h___ */
74 |
--------------------------------------------------------------------------------
/js/src/jsshell.msg:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is Mozilla Communicator client code, released
17 | * March 31, 1998.
18 | *
19 | * The Initial Developer of the Original Code is
20 | * Netscape Communications Corporation.
21 | * Portions created by the Initial Developer are Copyright (C) 1998
22 | * the Initial Developer. All Rights Reserved.
23 | *
24 | * Contributor(s):
25 | *
26 | * Alternatively, the contents of this file may be used under the terms of
27 | * either of the GNU General Public License Version 2 or later (the "GPL"),
28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | * in which case the provisions of the GPL or the LGPL are applicable instead
30 | * of those above. If you wish to allow use of your version of this file only
31 | * under the terms of either the GPL or the LGPL, and not to allow others to
32 | * use your version of this file under the terms of the MPL, indicate your
33 | * decision by deleting the provisions above and replace them with the notice
34 | * and other provisions required by the GPL or the LGPL. If you do not delete
35 | * the provisions above, a recipient may use your version of this file under
36 | * the terms of any one of the MPL, the GPL or the LGPL.
37 | *
38 | * ***** END LICENSE BLOCK ***** */
39 |
40 | /*
41 | Error messages for JSShell. See js.msg for format.
42 | */
43 |
44 | MSG_DEF(JSSMSG_NOT_AN_ERROR, 0, 0, JSEXN_NONE, "")
45 | MSG_DEF(JSSMSG_CANT_OPEN, 1, 2, JSEXN_NONE, "can't open {0}: {1}")
46 | MSG_DEF(JSSMSG_TRAP_USAGE, 2, 0, JSEXN_NONE, "usage: trap [fun] [pc] expr")
47 | MSG_DEF(JSSMSG_LINE2PC_USAGE, 3, 0, JSEXN_NONE, "usage: line2pc [fun] line")
48 | MSG_DEF(JSSMSG_FILE_SCRIPTS_ONLY, 4, 0, JSEXN_NONE, "only works on JS scripts read from files")
49 | MSG_DEF(JSSMSG_UNEXPECTED_EOF, 5, 1, JSEXN_NONE, "unexpected EOF in {0}")
50 | MSG_DEF(JSSMSG_DOEXP_USAGE, 6, 0, JSEXN_NONE, "usage: doexp obj id")
51 |
--------------------------------------------------------------------------------
/js/jsd/classes/netscape/jsdebug/PC.java:
--------------------------------------------------------------------------------
1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 | *
3 | * ***** BEGIN LICENSE BLOCK *****
4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | *
6 | * The contents of this file are subject to the Mozilla Public License Version
7 | * 1.1 (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | * http://www.mozilla.org/MPL/
10 | *
11 | * Software distributed under the License is distributed on an "AS IS" basis,
12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | * for the specific language governing rights and limitations under the
14 | * License.
15 | *
16 | * The Original Code is mozilla.org code.
17 | *
18 | * The Initial Developer of the Original Code is
19 | * Netscape Communications Corporation.
20 | * Portions created by the Initial Developer are Copyright (C) 1998
21 | * the Initial Developer. All Rights Reserved.
22 | *
23 | * Contributor(s):
24 | *
25 | * Alternatively, the contents of this file may be used under the terms of
26 | * either the GNU General Public License Version 2 or later (the "GPL"), or
27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | * in which case the provisions of the GPL or the LGPL are applicable instead
29 | * of those above. If you wish to allow use of your version of this file only
30 | * under the terms of either the GPL or the LGPL, and not to allow others to
31 | * use your version of this file under the terms of the MPL, indicate your
32 | * decision by deleting the provisions above and replace them with the notice
33 | * and other provisions required by the GPL or the LGPL. If you do not delete
34 | * the provisions above, a recipient may use your version of this file under
35 | * the terms of any one of the MPL, the GPL or the LGPL.
36 | *
37 | * ***** END LICENSE BLOCK ***** */
38 |
39 | package netscape.jsdebug;
40 |
41 | /**
42 | * The PC class is an opaque representation of a program counter. It
43 | * may have different implementations for interpreted Java methods,
44 | * methods compiled by the JIT, JavaScript methods, etc.
45 | *
46 | * @author John Bandhauer
47 | * @author Nick Thompson
48 | * @version 1.0
49 | * @since 1.0
50 | */
51 | public abstract class PC {
52 | /**
53 | * Get the SourceLocation associated with this PC value.
54 | * returns null if the source location is unavailable.
55 | */
56 | public abstract SourceLocation getSourceLocation();
57 |
58 | /**
59 | * Ask whether two program counter values are equal.
60 | */
61 | public abstract boolean equals(Object obj);
62 | }
63 |
--------------------------------------------------------------------------------
/js/src/config/HP-UXB.10.10.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for HPUX
42 | #
43 |
44 | # CC = gcc
45 | # CCC = g++
46 | # CFLAGS += -Wall -Wno-format -fPIC
47 |
48 | CC = cc -Ae +Z
49 | CCC = CC -Ae +a1 +eh +Z
50 |
51 | RANLIB = echo
52 | MKSHLIB = $(LD) -b
53 |
54 | SO_SUFFIX = sl
55 |
56 | #.c.o:
57 | # $(CC) -c -MD $*.d $(CFLAGS) $<
58 |
59 | CPU_ARCH = hppa
60 | GFX_ARCH = x
61 |
62 | OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -DHAVE_LOCALTIME_R
63 | OS_LIBS = -ldld
64 |
65 | ifeq ($(OS_RELEASE),B.10)
66 | PLATFORM_FLAGS += -DHPUX10 -Dhpux10
67 | PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H
68 | ifeq ($(OS_VERSION),.10)
69 | PLATFORM_FLAGS += -DHPUX10_10
70 | endif
71 | ifeq ($(OS_VERSION),.20)
72 | PLATFORM_FLAGS += -DHPUX10_20
73 | endif
74 | ifeq ($(OS_VERSION),.30)
75 | PLATFORM_FLAGS += -DHPUX10_30
76 | endif
77 | endif
78 |
--------------------------------------------------------------------------------
/js/src/config/HP-UXB.10.20.mk:
--------------------------------------------------------------------------------
1 | # -*- Mode: makefile -*-
2 | #
3 | # ***** BEGIN LICENSE BLOCK *****
4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 | #
6 | # The contents of this file are subject to the Mozilla Public License Version
7 | # 1.1 (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | # http://www.mozilla.org/MPL/
10 | #
11 | # Software distributed under the License is distributed on an "AS IS" basis,
12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 | # for the specific language governing rights and limitations under the
14 | # License.
15 | #
16 | # The Original Code is Mozilla Communicator client code, released
17 | # March 31, 1998.
18 | #
19 | # The Initial Developer of the Original Code is
20 | # Netscape Communications Corporation.
21 | # Portions created by the Initial Developer are Copyright (C) 1998
22 | # the Initial Developer. All Rights Reserved.
23 | #
24 | # Contributor(s):
25 | #
26 | # Alternatively, the contents of this file may be used under the terms of
27 | # either the GNU General Public License Version 2 or later (the "GPL"), or
28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 | # in which case the provisions of the GPL or the LGPL are applicable instead
30 | # of those above. If you wish to allow use of your version of this file only
31 | # under the terms of either the GPL or the LGPL, and not to allow others to
32 | # use your version of this file under the terms of the MPL, indicate your
33 | # decision by deleting the provisions above and replace them with the notice
34 | # and other provisions required by the GPL or the LGPL. If you do not delete
35 | # the provisions above, a recipient may use your version of this file under
36 | # the terms of any one of the MPL, the GPL or the LGPL.
37 | #
38 | # ***** END LICENSE BLOCK *****
39 |
40 | #
41 | # Config stuff for HPUX
42 | #
43 |
44 | # CC = gcc
45 | # CCC = g++
46 | # CFLAGS += -Wall -Wno-format -fPIC
47 |
48 | CC = cc -Ae +Z
49 | CCC = CC -Ae +a1 +eh +Z
50 |
51 | RANLIB = echo
52 | MKSHLIB = $(LD) -b
53 |
54 | SO_SUFFIX = sl
55 |
56 | #.c.o:
57 | # $(CC) -c -MD $*.d $(CFLAGS) $<
58 |
59 | CPU_ARCH = hppa
60 | GFX_ARCH = x
61 |
62 | OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -DHAVE_LOCALTIME_R
63 | OS_LIBS = -ldld
64 |
65 | ifeq ($(OS_RELEASE),B.10)
66 | PLATFORM_FLAGS += -DHPUX10 -Dhpux10
67 | PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H
68 | ifeq ($(OS_VERSION),.10)
69 | PLATFORM_FLAGS += -DHPUX10_10
70 | endif
71 | ifeq ($(OS_VERSION),.20)
72 | PLATFORM_FLAGS += -DHPUX10_20
73 | endif
74 | ifeq ($(OS_VERSION),.30)
75 | PLATFORM_FLAGS += -DHPUX10_30
76 | endif
77 | endif
78 |
--------------------------------------------------------------------------------
/js/src/liveconnect/config/OSF1V4.0.mk:
--------------------------------------------------------------------------------
1 | #
2 | # ***** BEGIN LICENSE BLOCK *****
3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 | #
5 | # The contents of this file are subject to the Mozilla Public License Version
6 | # 1.1 (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | # http://www.mozilla.org/MPL/
9 | #
10 | # Software distributed under the License is distributed on an "AS IS" basis,
11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 | # for the specific language governing rights and limitations under the
13 | # License.
14 | #
15 | # The Original Code is Mozilla Communicator client code, released
16 | # March 31, 1998.
17 | #
18 | # The Initial Developer of the Original Code is
19 | # Netscape Communications Corporation.
20 | # Portions created by the Initial Developer are Copyright (C) 1998
21 | # the Initial Developer. All Rights Reserved.
22 | #
23 | # Contributor(s):
24 | #
25 | # Alternatively, the contents of this file may be used under the terms of
26 | # either the GNU General Public License Version 2 or later (the "GPL"), or
27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 | # in which case the provisions of the GPL or the LGPL are applicable instead
29 | # of those above. If you wish to allow use of your version of this file only
30 | # under the terms of either the GPL or the LGPL, and not to allow others to
31 | # use your version of this file under the terms of the MPL, indicate your
32 | # decision by deleting the provisions above and replace them with the notice
33 | # and other provisions required by the GPL or the LGPL. If you do not delete
34 | # the provisions above, a recipient may use your version of this file under
35 | # the terms of any one of the MPL, the GPL or the LGPL.
36 | #
37 | # ***** END LICENSE BLOCK *****
38 |
39 | # JDK = /share/builds/components/jdk/1.1.6/OSF1
40 |
41 | # INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/alpha
42 |
43 | # OTHER_LIBS += -L$(JDK)/lib/alpha -ljava
44 |
45 | # XLDFLAGS += -taso
46 |
47 | ifndef JDK_VERSION
48 | JDK_VERSION = 1.2.2
49 | endif
50 |
51 | # jni.h #error's without this.
52 | CFLAGS += -pthread
53 |
54 | JDK = /share/builds/components/jdk/$(JDK_VERSION)/OSF1
55 |
56 | # INCLUDES += -I$(JDK)/include -I$(JDK)/include/solaris
57 | INCLUDES += -I$(JDK)/include/alpha -I$(JDK)/include
58 |
59 | # XXX is this consistent with -pthread above?
60 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/native_threads
61 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/classic
62 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha -ljava -ljvm
63 |
64 | # Taken from the previous revision - no idea what it does.
65 | XLDFLAGS += -taso
66 |
--------------------------------------------------------------------------------