CHANGES.txt 6.1 KB

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