Skip to content

Commit 27da23d

Browse files
jhirgs
authored andcommitted
Symbian port of Perl
Message-ID: <[email protected]> p4raw-id: //depot/perl@24271
1 parent ec06242 commit 27da23d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+7688
-750
lines changed

EXTERN.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
# define EXTCONST globalref
2929
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
3030
#else
31-
# if defined(WIN32) && !defined(PERL_STATIC_SYMS)
32-
# ifdef PERLDLL
31+
# if (defined(WIN32) || defined(__SYMBIAN32__)) && !defined(PERL_STATIC_SYMS)
32+
# if defined(PERLDLL) || defined(__SYMBIAN32__)
3333
# define EXT extern __declspec(dllexport)
3434
# define dEXT
3535
# define EXTCONST extern __declspec(dllexport) const

INTERN.h

+18-18
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@
2828
# define EXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
2929
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
3030
#else
31-
#if defined(WIN32) && defined(__MINGW32__)
32-
# define EXT __declspec(dllexport)
33-
# define dEXT
34-
# define EXTCONST __declspec(dllexport) const
35-
# define dEXTCONST const
36-
#else
37-
#ifdef __cplusplus
38-
# define EXT
39-
# define dEXT
40-
# define EXTCONST extern const
41-
# define dEXTCONST const
42-
#else
43-
# define EXT
44-
# define dEXT
45-
# define EXTCONST const
46-
# define dEXTCONST const
47-
#endif
48-
#endif
31+
# if (defined(WIN32) && defined(__MINGW32__)) || defined(__SYMBIAN32__)
32+
# define EXT __declspec(dllexport)
33+
# define dEXT
34+
# define EXTCONST __declspec(dllexport) const
35+
# define dEXTCONST const
36+
# else
37+
# ifdef __cplusplus
38+
# define EXT
39+
# define dEXT
40+
# define EXTCONST extern const
41+
# define dEXTCONST const
42+
# else
43+
# define EXT
44+
# define dEXT
45+
# define EXTCONST const
46+
# define dEXTCONST const
47+
# endif
48+
# endif
4949
#endif
5050

5151
#undef INIT

MANIFEST

+33
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ ext/DynaLoader/dl_mac.xs MacOS implementation
329329
ext/DynaLoader/dl_mpeix.xs MPE/iX implementation
330330
ext/DynaLoader/dl_next.xs NeXT implementation
331331
ext/DynaLoader/dl_none.xs Stub implementation
332+
ext/DynaLoader/dl_symbian.xs Symbian implementation
332333
ext/DynaLoader/dlutils.c Dynamic loader utilities for dl_*.xs files
333334
ext/DynaLoader/dl_vmesa.xs VM/ESA implementation
334335
ext/DynaLoader/dl_vms.xs VMS implementation
@@ -2445,6 +2446,7 @@ README.os400 Perl notes for OS/400
24452446
README.plan9 Perl notes for Plan 9
24462447
README.qnx Perl notes for QNX
24472448
README.solaris Perl notes for Solaris
2449+
README.symbian Perl notes for Symbian
24482450
README.tru64 Perl notes for Tru64
24492451
README.tw Perl for Traditional Chinese (in Big5)
24502452
README.uts Perl notes for UTS
@@ -2470,6 +2472,37 @@ scope.c Scope entry and exit code
24702472
scope.h Scope entry and exit header
24712473
sv.c Scalar value code
24722474
sv.h Scalar value header
2475+
symbian/bld.inf Symbian sample app build config
2476+
symbian/config.pl Configuration script for Symbian
2477+
symbian/config.sh Configuration data for Symbian
2478+
symbian/cwd.pl Helper code for config.pl
2479+
symbian/demo_pl "Archive" of demo code
2480+
symbian/install.cfg Installation instructions
2481+
symbian/makesis.pl Installation file creator
2482+
symbian/PerlApp.cpp Symbian sample app code
2483+
symbian/PerlApp.h Symbian sample app header
2484+
symbian/PerlApp.hrh Symbian sample app resource header
2485+
symbian/PerlApp.rss Symbian sample app resource definition
2486+
symbian/PerlAppAif.rss Symbian sample app code
2487+
symbian/PerlBase.cpp Symbian Perl base class
2488+
symbian/PerlBase.h Symbian Perl base class header
2489+
symbian/PerlBase.pod Symbian Perl base class documentation
2490+
symbian/PerlRecog.cpp Symbian recognizer code
2491+
symbian/PerlRecog.mmp Symbian recognizer build
2492+
symbian/port.pl Helper code for config.pl
2493+
symbian/README ReadMe for the Symbian files
2494+
symbian/sanity.pl Helper code for config.pl
2495+
symbian/sdk.pl Helper code for config.pl
2496+
symbian/symbian_dll.cpp The DLL stub for Symbian
2497+
symbian/symbianish.h Header for Symbian
2498+
symbian/symbian_proto.h Prototypes for Symbian
2499+
symbian/symbian_stubs.c Stub routines for Symbian
2500+
symbian/symbian_stubs.h Stub headers for Symbian
2501+
symbian/symbian_utils.cpp Helper routines for Symbian
2502+
symbian/TODO Symbian things to do
2503+
symbian/uid.pl Helper code for config.pl
2504+
symbian/version.pl Helper code for config.pl
2505+
symbian/xsbuild.pl Building extensions
24732506
taint.c Tainting code
24742507
t/base/cond.t See if conditionals work
24752508
t/base/if.t See if if works

Porting/curliff.pl

+7
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,20 @@
1010

1111
use vars qw($r);
1212

13+
# This list is also in makerel.
1314
my @FILES = qw(
1415
djgpp/configure.bat
1516
README.ce
1617
README.dos
18+
README.symbian
1719
README.win32
20+
symbian/config.pl
21+
symbian/makesis.pl
22+
symbian/README
23+
symbian/xsbuild.pl
1824
win32/Makefile
1925
win32/makefile.mk
26+
wince/Makefile.ce
2027
wince/compile-all.bat
2128
wince/README.perlce
2229
wince/registry.bat

Porting/makerel

+6
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,17 @@ system("chmod +w @writables") == 0
151151
or die "system: $!";
152152

153153
print "Adding CRs to DOSish files...\n";
154+
# This list is also in curliff.pl.
154155
my @crlf = qw(
155156
djgpp/configure.bat
156157
README.ce
157158
README.dos
159+
README.symbian
158160
README.win32
161+
symbian/config.pl
162+
symbian/makesis.pl
163+
symbian/README
164+
symbian/xsbuild.pl
159165
win32/Makefile
160166
win32/makefile.mk
161167
wince/Makefile.ce

0 commit comments

Comments
 (0)