Permalink
Browse files

Symbian port of Perl

Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>

p4raw-id: //depot/perl@24271
  • Loading branch information...
1 parent ec06242 commit 27da23d53ccce622bc51822f59df8def79b4df95 @jhi jhi committed with rgs Apr 18, 2005
Showing with 7,688 additions and 750 deletions.
  1. +2 −2 EXTERN.h
  2. +18 −18 INTERN.h
  3. +33 −0 MANIFEST
  4. +7 −0 Porting/curliff.pl
  5. +6 −0 Porting/makerel
  6. +352 −0 README.symbian
  7. +6 −1 XSUB.h
  8. +5 −0 av.c
  9. +1 −0 bytecode.pl
  10. +7 −2 configpm
  11. +11 −9 doio.c
  12. +13 −13 dump.c
  13. +8 −3 embed.fnc
  14. +10 −2 embed.h
  15. +52 −9 embed.pl
  16. +78 −15 embedvar.h
  17. +7 −7 ext/B/B.xs
  18. +7 −6 ext/ByteLoader/byterun.c
  19. +2 −2 ext/Data/Dumper/Dumper.xs
  20. +14 −4 ext/Digest/MD5/MD5.xs
  21. +3 −3 ext/Digest/MD5/t/files.t
  22. +16 −3 ext/DynaLoader/DynaLoader_pm.PL
  23. +223 −0 ext/DynaLoader/dl_symbian.xs
  24. +8 −0 ext/DynaLoader/dlutils.c
  25. +24 −10 ext/Errno/Errno_pm.PL
  26. +1 −1 ext/IO/lib/IO/Socket.pm
  27. +21 −0 ext/List/Util/Util.xs
  28. +2 −2 ext/MIME/Base64/Base64.xs
  29. +22 −2 ext/POSIX/POSIX.xs
  30. +2 −2 ext/PerlIO/scalar/scalar.xs
  31. +2 −2 ext/PerlIO/via/via.xs
  32. +1 −1 ext/SDBM_File/sdbm/sdbm.c
  33. +98 −74 ext/Storable/Storable.xs
  34. +1 −0 ext/Time/HiRes/HiRes.xs
  35. +2 −0 global.sym
  36. +39 −35 globvar.sym
  37. +4 −0 gv.c
  38. +6 −0 hv.c
  39. +1 −1 intrpvar.h
  40. +17 −1 lib/ExtUtils/t/Embed.t
  41. +17 −4 lib/ExtUtils/xsubpp
  42. +1 −0 lib/File/Spec.pm
  43. +4 −2 lib/File/Spec/Win32.pm
  44. +3 −1 locale.c
  45. +34 −42 mg.c
  46. +20 −12 miniperlmain.c
  47. +1 −0 numeric.c
  48. +53 −4 op.c
  49. +34 −16 opcode.h
  50. +34 −16 opcode.pl
  51. +2 −0 pad.c
  52. +1 −1 patchlevel.h
  53. +78 −14 perl.c
  54. +146 −24 perl.h
  55. +32 −5 perlapi.c
  56. +49 −2 perlapi.h
  57. +69 −91 perlio.c
  58. +78 −64 perlio.h
  59. +61 −54 perliol.h
  60. +58 −5 perlvars.h
  61. +1 −0 pod.lst
  62. +1 −0 pod/perl.pod
  63. +27 −0 pod/perlguts.pod
  64. +10 −0 pod/perlintern.pod
  65. +8 −8 pp.c
  66. +38 −19 pp_ctl.c
  67. +9 −9 pp_hot.c
  68. +1 −1 pp_pack.c
  69. +4 −2 pp_sort.c
  70. +37 −28 pp_sys.c
  71. +8 −3 proto.h
  72. +1 −1 reentr.pl
  73. +5 −2 regcomp.c
  74. +4 −0 regexec.c
  75. +1 −0 scope.h
  76. +20 −20 sv.c
  77. +549 −0 symbian/PerlApp.cpp
  78. +60 −0 symbian/PerlApp.h
  79. +17 −0 symbian/PerlApp.hrh
  80. +141 −0 symbian/PerlApp.rss
  81. +21 −0 symbian/PerlAppAif.rss
  82. +409 −0 symbian/PerlBase.cpp
  83. +118 −0 symbian/PerlBase.h
  84. +202 −0 symbian/PerlBase.pod
  85. +57 −0 symbian/PerlRecog.cpp
  86. +9 −0 symbian/PerlRecog.mmp
  87. +20 −0 symbian/README
  88. +150 −0 symbian/TODO
  89. +4 −0 symbian/bld.inf
  90. +768 −0 symbian/config.pl
  91. +768 −0 symbian/config.sh
  92. +6 −0 symbian/cwd.pl
  93. +128 −0 symbian/demo_pl
  94. +108 −0 symbian/install.cfg
  95. +185 −0 symbian/makesis.pl
  96. +6 −0 symbian/port.pl
  97. +28 −0 symbian/sanity.pl
  98. +48 −0 symbian/sdk.pl
  99. +20 −0 symbian/symbian_dll.cpp
  100. +72 −0 symbian/symbian_proto.h
  101. +112 −0 symbian/symbian_stubs.c
  102. +22 −0 symbian/symbian_stubs.h
  103. +299 −0 symbian/symbian_utils.cpp
  104. +209 −0 symbian/symbianish.h
  105. +1 −0 symbian/uid.pl
  106. +22 −0 symbian/version.pl
  107. +861 −0 symbian/xsbuild.pl
  108. +2 −2 taint.c
  109. +26 −17 toke.c
  110. +3 −3 universal.c
  111. +5 −2 utf8.c
  112. +1 −1 utf8.h
  113. +122 −25 util.c
  114. +2 −2 util.h
  115. +10 −5 vms/descrip_mms.template
  116. +4 −3 win32/Makefile
  117. +4 −3 win32/makefile.mk
  118. +1 −1 win32/win32io.c
  119. +6 −6 xsutils.c
View
@@ -28,8 +28,8 @@
# define EXTCONST globalref
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else
-# if defined(WIN32) && !defined(PERL_STATIC_SYMS)
-# ifdef PERLDLL
+# if (defined(WIN32) || defined(__SYMBIAN32__)) && !defined(PERL_STATIC_SYMS)
+# if defined(PERLDLL) || defined(__SYMBIAN32__)
# define EXT extern __declspec(dllexport)
# define dEXT
# define EXTCONST extern __declspec(dllexport) const
View
@@ -28,24 +28,24 @@
# define EXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else
-#if defined(WIN32) && defined(__MINGW32__)
-# define EXT __declspec(dllexport)
-# define dEXT
-# define EXTCONST __declspec(dllexport) const
-# define dEXTCONST const
-#else
-#ifdef __cplusplus
-# define EXT
-# define dEXT
-# define EXTCONST extern const
-# define dEXTCONST const
-#else
-# define EXT
-# define dEXT
-# define EXTCONST const
-# define dEXTCONST const
-#endif
-#endif
+# if (defined(WIN32) && defined(__MINGW32__)) || defined(__SYMBIAN32__)
+# define EXT __declspec(dllexport)
+# define dEXT
+# define EXTCONST __declspec(dllexport) const
+# define dEXTCONST const
+# else
+# ifdef __cplusplus
+# define EXT
+# define dEXT
+# define EXTCONST extern const
+# define dEXTCONST const
+# else
+# define EXT
+# define dEXT
+# define EXTCONST const
+# define dEXTCONST const
+# endif
+# endif
#endif
#undef INIT
View
@@ -329,6 +329,7 @@ ext/DynaLoader/dl_mac.xs MacOS implementation
ext/DynaLoader/dl_mpeix.xs MPE/iX implementation
ext/DynaLoader/dl_next.xs NeXT implementation
ext/DynaLoader/dl_none.xs Stub implementation
+ext/DynaLoader/dl_symbian.xs Symbian implementation
ext/DynaLoader/dlutils.c Dynamic loader utilities for dl_*.xs files
ext/DynaLoader/dl_vmesa.xs VM/ESA implementation
ext/DynaLoader/dl_vms.xs VMS implementation
@@ -2445,6 +2446,7 @@ README.os400 Perl notes for OS/400
README.plan9 Perl notes for Plan 9
README.qnx Perl notes for QNX
README.solaris Perl notes for Solaris
+README.symbian Perl notes for Symbian
README.tru64 Perl notes for Tru64
README.tw Perl for Traditional Chinese (in Big5)
README.uts Perl notes for UTS
@@ -2470,6 +2472,37 @@ scope.c Scope entry and exit code
scope.h Scope entry and exit header
sv.c Scalar value code
sv.h Scalar value header
+symbian/bld.inf Symbian sample app build config
+symbian/config.pl Configuration script for Symbian
+symbian/config.sh Configuration data for Symbian
+symbian/cwd.pl Helper code for config.pl
+symbian/demo_pl "Archive" of demo code
+symbian/install.cfg Installation instructions
+symbian/makesis.pl Installation file creator
+symbian/PerlApp.cpp Symbian sample app code
+symbian/PerlApp.h Symbian sample app header
+symbian/PerlApp.hrh Symbian sample app resource header
+symbian/PerlApp.rss Symbian sample app resource definition
+symbian/PerlAppAif.rss Symbian sample app code
+symbian/PerlBase.cpp Symbian Perl base class
+symbian/PerlBase.h Symbian Perl base class header
+symbian/PerlBase.pod Symbian Perl base class documentation
+symbian/PerlRecog.cpp Symbian recognizer code
+symbian/PerlRecog.mmp Symbian recognizer build
+symbian/port.pl Helper code for config.pl
+symbian/README ReadMe for the Symbian files
+symbian/sanity.pl Helper code for config.pl
+symbian/sdk.pl Helper code for config.pl
+symbian/symbian_dll.cpp The DLL stub for Symbian
+symbian/symbianish.h Header for Symbian
+symbian/symbian_proto.h Prototypes for Symbian
+symbian/symbian_stubs.c Stub routines for Symbian
+symbian/symbian_stubs.h Stub headers for Symbian
+symbian/symbian_utils.cpp Helper routines for Symbian
+symbian/TODO Symbian things to do
+symbian/uid.pl Helper code for config.pl
+symbian/version.pl Helper code for config.pl
+symbian/xsbuild.pl Building extensions
taint.c Tainting code
t/base/cond.t See if conditionals work
t/base/if.t See if if works
View
@@ -10,13 +10,20 @@
use vars qw($r);
+# This list is also in makerel.
my @FILES = qw(
djgpp/configure.bat
README.ce
README.dos
+ README.symbian
README.win32
+ symbian/config.pl
+ symbian/makesis.pl
+ symbian/README
+ symbian/xsbuild.pl
win32/Makefile
win32/makefile.mk
+ wince/Makefile.ce
wince/compile-all.bat
wince/README.perlce
wince/registry.bat
View
@@ -151,11 +151,17 @@ system("chmod +w @writables") == 0
or die "system: $!";
print "Adding CRs to DOSish files...\n";
+# This list is also in curliff.pl.
my @crlf = qw(
djgpp/configure.bat
README.ce
README.dos
+ README.symbian
README.win32
+ symbian/config.pl
+ symbian/makesis.pl
+ symbian/README
+ symbian/xsbuild.pl
win32/Makefile
win32/makefile.mk
wince/Makefile.ce
Oops, something went wrong.

0 comments on commit 27da23d

Please sign in to comment.