CHANGES.txt 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. 0.99.14.1
  2. - fixed X11 middle and right mouse button mapping. Previously, the right mouse
  3. button and the middle mouse button were swapped, compared to Windows and DOS
  4. and contrary to the documentation.
  5. 0.99.14
  6. - added new unit ptcmouse for use with ptcgraph & ptccrt applications. It is
  7. similar to the winmouse and msmouse units.
  8. - support for resizable windows extended. Your application now receives
  9. a new event IPTCResizeEvent and is allowed to call a new method called
  10. InternalResize, which adjusts the console's width and height according to
  11. the new window size. The previous behaviour where your application's image
  12. is scaled, without it realizing that the resolution is changed still works
  13. if you don't call InternalResize (or when you use ptcgraph for that matter)
  14. - added support for intercepting the windows close events. When using unit ptc
  15. directly, this is enabled by sending the option 'intercept window close' to
  16. the console and then handling the newly introduced IPTCCloseEvent event.
  17. When using ptcgraph and ptccrt, closing the window emulates pressing Ctrl-C,
  18. in other words, your application will receive the #3 key code via ReadKey.
  19. - fixed crash in hermes (the pixel conversion library, used internally by
  20. PTCPas), encountered when converting from indexed 8bpp to 32bpp on amd64,
  21. when the surface width is not multiple of 8
  22. - even more X11 keyboard fixes
  23. - removed the debug log (grlog.txt) written by programs that use ptcgraph
  24. 0.99.13
  25. - added support for OpenGL under X11 and Windows. You can now use PTCPas to
  26. initialize OpenGL and handle events for you in a multiplatform way (similar
  27. to GLUT or SDL). See ptcgl.pp and ptcgl2.pp in the example directory.
  28. - X11 keyboard handling improvements:
  29. - added support for the numpad keys
  30. - typematic repeat (i.e. when you press a key and hold it down) now sends
  31. only repeating key press events, instead of repeating pairs of key
  32. release + key press. This makes it possible to detect auto-repeat and is
  33. also the way that Windows behaves.
  34. 0.99.12
  35. - pressing Alt or F10 under Windows no longer pauses the application.
  36. - API changes:
  37. - PTC classes have been made descendants of TInterfacedObject and are now
  38. accessed via interfaces. This simplifies memory management, because
  39. objects are now reference counted and automatically freed when they are
  40. no longer used. Unfortunately, this breaks existing code. However it's
  41. relatively easy to fix. See the files INTF-CHANGES-0.99.12.txt and
  42. INTF-CHANGES-FAQ-0.99.12.txt for details.
  43. 0.99.11
  44. - added ptcgraph - an implementation of FPC's BGI-compatible graph unit on top
  45. of PTCPas. It should work on all platforms, supported by PTCPas, except for
  46. DOS (because it doesn't have threads)
  47. - VBE console improvements:
  48. - support for double buffering with video page flipping
  49. - console update synchronized with the vertical retrace
  50. - automatic fallback to windowed mode, if initializing LFB fails. This
  51. results in better compatibility with NTVDM and other environments that
  52. would otherwise require adding the 'disable lfb' option to ptcpas.cfg.
  53. - support VBE 3+ separate LFB and Windowed color masks for direct color
  54. modes. This might fix some wrong color bugs in LFB mode on some modern
  55. VBE 3+ video cards.
  56. - fixed a bug in the X11 event handling that caused unnecessary high CPU use
  57. while waiting for an event
  58. 0.99.10
  59. - fpc 2.4.0 support
  60. - Win64 DirectX support
  61. - X11 DGA 2.0 support
  62. - VBE 2+ LFB support. Enabled by default. Offers a great performance
  63. improvement, but may fail on buggy VGA BIOSes or buggy DOS virtual
  64. machines. If it causes problems, it can be disabled by adding
  65. 'disable lfb' to ptcpas.cfg.
  66. - API changes:
  67. - in the hermes unit, THermesHandle was replaced with
  68. THermesConverterHandle, THermesClearerHandle and THermesPaletteHandle,
  69. which should be treated as opaque pointers, not integers. This only
  70. matters if you use unit hermes directly, and not ptc.
  71. - various bugfixes and code cleanup.
  72. 0.99.9
  73. - big endian support.
  74. - Win64 support (GDI only. DirectX not supported yet).
  75. 0.99.8
  76. - added support for Windows CE. Still in alpha stage. Tested on a Motorola
  77. MPx220 smartphone.
  78. - added support for fullscreen X11 using the Xrandr extension (previously
  79. only the XF86VidMode extension was supported). Also fullscreen X11 now works
  80. even when there aren't any mode switching X11 extensions available. A single
  81. fullscreen mode, which has the size of the entire desktop is offered in this
  82. case.
  83. - added a new simple windowed win32 GDI console, which is able to run even
  84. without any version of DirectX installed.
  85. - the X11 console now returns a mode list.
  86. - fixed a bug which caused win32 fixed-size windows to be non-minimizable.
  87. - imported the OpenPTC 1.0.1 DOS VGA fakemode assembly routines - should give
  88. a nice speed boost on ancient 386/486/Pentium machines.
  89. 0.99.7
  90. - A new event system + mouse support. Yes, I know I should have done this
  91. earlier :) Fullscreen X11 with mouse still does not work well, I'm planning
  92. to fix this in the next version.
  93. - API changes:
  94. - TPTCKey class renamed to TPTCKeyEvent
  95. - Removed int32, short16 and char8 types.
  96. Replaced with: Uint64, Uint32, Uint16, Uint8,
  97. Sint64, Sint32, Sint16, Sint8.
  98. - fixed fullscreen palette modes under DirectX (was buggy on modern NVIDIA and
  99. ATI video cards).
  100. - a new example program, demonstrating the mouse support.
  101. Use it as a reference for now, until I update the documentation with the new
  102. event handling stuff (hopefully this will happen in the next release).
  103. - X11 window is not resizable anymore. Maybe some day I'll implement (optional)
  104. stretching as in win32 windowed mode.
  105. - code cleanup. Hid some implementation details from the interface part.
  106. 0.99.6
  107. - Now distributed under the terms of the modified LGPL (used by the FPC RTL).
  108. See the file modified_lgpl.txt distributed with the library for details.
  109. Thanks to Glenn Fiedler (the author of the original OpenPTC C++ code, that
  110. this library is based on) and Christian Nentwich (the author of the original
  111. C code of the Hermes library and the X11 version of OpenPTC) for giving
  112. permission to distribute the code under this license.
  113. - The Free Pascal Development Team intends to distribute this library with the
  114. Free Pascal Compiler and to base the graph unit on it, which is very cool! :)
  115. - fullscreen support in xshm/ximage mode.
  116. - dga support is now disabled by default.
  117. - added workaround for the 'shmat' bug in fpc 2.0.0's rtl on amd64 linux.
  118. - fixed some compilation-related problems with the example programs.
  119. - fpc 2.0.2 - go32v2 compilation fixed. fpc 1.0.10 support dropped completely.
  120. - some other DOS code fixes and cleanups.
  121. - config file name changed to ptcpas.cfg (~/.ptcpas.conf on *NIX)
  122. 0.99.5
  123. - support for fpc 2.0.0. fpc 1.0.10 support dropped, except for DOS.
  124. - support for amd64 (the code is now 64-bit safe, but still little endian-only)
  125. - fix the (sometimes) missing titlebar when using the metacity window manager
  126. 0.99.4
  127. - some X11 fixes (missing cdecl's, wrong alignments, etc.)
  128. - FreeBSD and NetBSD now compile and work (dga and XShm still not tested...)
  129. - improved exception handling in demos and examples
  130. 0.99.3
  131. - support for fpc 1.9.2+ (adapted to use the new unix rtl)
  132. - the dos console uses rdtsc if available for more accurate timing
  133. - some vesa fixes
  134. 0.99.2
  135. - alt, shift, ctrl modifier keys support for X11
  136. - key release support for win32 and X11
  137. - new example (keybrd2) demonstrating the use of key release events
  138. 0.99.1
  139. - first release to sourceforge