summaryrefslogtreecommitdiff
path: root/os2/Changes
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-11-15 15:25:50 -0500
committerGurusamy Sarathy <gsar@cpan.org>1998-11-28 12:18:23 +0000
commit4bfbfac5c6d9a0ecc663cdd23fe31fc59ee7bab3 (patch)
treec82433e1683e7be80790df54557dd85f5f73cc70 /os2/Changes
parent6420b6fef5638a2b911cdc075d35917859e53913 (diff)
downloadperl-4bfbfac5c6d9a0ecc663cdd23fe31fc59ee7bab3.tar.gz
OS/2 events get closer to Perl
Message-Id: <199811160125.UAA05268@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2340
Diffstat (limited to 'os2/Changes')
-rw-r--r--os2/Changes73
1 files changed, 73 insertions, 0 deletions
diff --git a/os2/Changes b/os2/Changes
index c9e0a2991a..dbd721f088 100644
--- a/os2/Changes
+++ b/os2/Changes
@@ -212,3 +212,76 @@ after 5.005_02:
extension-full-name and Perl-version mangling work in the
same set ot 576 possible keys, this may lead to clashes).
$^E was reset on the second read, and contained ".\r\n" at the end.
+
+after 5.005_53:
+ warning-test for getpriority() might lock the system hard on
+ pre-fixpak22 configuration (calling getpriority() on
+ non-existing process triggers a system-wide bug).
+
+ Variable $OS2::emx_rev implemented (string and numberic values
+ are the same as C variables _emx_rev and _emx_vprt).
+ Variable $OS2::emx_env implemented (same as C variable _emx_env).
+ Variable $OS2::os_ver implemented (_osmajor + 0.001 * _osminor).
+
+ Improved centralized management of HAB and HMQ. To get Perl's
+ HAB, call perl_hab_GET(). (After the initial call one
+ can use Perl_hab instead.) To require Perl's HMQ,
+ call perl_hmq_GET(), to release it call perl_hmq_UNSET(),
+ to obtain it between these calls use Perl_hmq.
+ HMQ management is refcounted, and the program will morph
+ itself into/from PM if required.
+ If perl.h cannot be included, hab may be obtained by Perl_hab_GET().
+
+ New function OS2::Error(do_harderror,do_exception). Returns
+ undef if it was not called yet, otherwise bit 1 is
+ set if on previous call do_harderror was enabled, bit
+ 2 is set if if on previous call do_exception was enabled.
+ This function enables/disables error popups associated with
+ hardware errors (Disk not ready etc.) and software exceptions.
+
+ New function OS2::Errors2Drive(drive). Returns undef if it was
+ not called yet, otherwise return false if Errors were
+ not requested to be written to a hard drive, or the
+ drive letter if this was requested.
+ This function may redirect error popups associated with
+ hardware errors (Disk not ready etc.) and software exceptions
+ to the file POPUPLOG.OS2 at the root directory of the
+ specified drive. Overrides OS2::Error() specified by
+ individual programs. Given argument undef will
+ disable redirection. Has global effect, persists
+ after the application exits.
+
+ New function OS2::SysInfo(). Returns a hash with system information.
+ The keys of the hash are
+
+ MAX_PATH_LENGTH, MAX_TEXT_SESSIONS, MAX_PM_SESSIONS,
+ MAX_VDM_SESSIONS, BOOT_DRIVE, DYN_PRI_VARIATION,
+ MAX_WAIT, MIN_SLICE, MAX_SLICE, PAGE_SIZE,
+ VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION,
+ MS_COUNT, TIME_LOW, TIME_HIGH, TOTPHYSMEM, TOTRESMEM,
+ TOTAVAILMEM, MAXPRMEM, MAXSHMEM, TIMER_INTERVAL,
+ MAX_COMP_LENGTH, FOREGROUND_FS_SESSION,
+ FOREGROUND_PROCESS
+
+ New function OS2::BootDrive(force). Returns a letter without colon.
+
+ New functions OS2::MorphPM(serve)/OS2::UnMorphPM(serve). Transforms
+ the current application into a PM application and back.
+ The argument true means that a real message loop is
+ going to be performed.
+ OS2::MorphPM() returns the PM message queue handle as an integer.
+
+ New function OS2::Serve_Messages(force). Fake on-demand
+ retrieval of outstanding PM messages. If force is false,
+ will not dispatch messages if a real message loop is known to
+ be present. Returns number of messages retrieved.
+ Dies with "QUITing..." if WM_QUIT message is obtained.
+
+ New function OS2::Process_Messages(force [, cnt]). Retrieval
+ of PM messages until window creation/destruction.
+ If force is false, will not dispatch messages
+ if a real message loop is known to be present.
+ Returns change in number of windows. If cnt is given,
+ it is incremented by the number of messages retrieved.
+ Dies with "QUITing..." if WM_QUIT message is obtained.
+