home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / changes.txt next >
Encoding:
Text File  |  2000-04-06  |  18.5 KB  |  370 lines

  1. $Id: //depot/windows/changes.txt#6 $
  2.  
  3. This document lists some of the changes/fixes to POVWIN since version 3.1 beta
  4. 4 was released. It does not contain a comprehensive list of changes ! Only some
  5. are listed. Note that this document does not list changes made to the renderer
  6. itself - this file relates only to Windows-specific changes.
  7.  
  8.                          Changes as of version 3.1g
  9.                          --------------------------
  10.  
  11.   o Fixed resource leakage when using the render window select function.
  12.   o A few other minor changes/bugfixes.
  13.  
  14.                      Changes as of version 3.1e.win32.r1
  15.                      -----------------------------------
  16.  
  17.   o Changed the editor dll load logic so that cmedit.dll will be loaded from the
  18.     current directory if it is present. If it is not then it is loaded from the
  19.     directory specified via the registry.
  20.  
  21.                          Changes as of version 3.1e
  22.                          --------------------------
  23.  
  24.   o Go back to a Watcom build by default, but provide a VC6 build for those who
  25.     want the extra speed.
  26.  
  27.   o Add facility that allows a GUIEXT to open a file in the editor and position
  28.     the cursor to a line/column. This can happen at any time (it does not have
  29.     to be in response to an event).
  30.  
  31.   o Change printer font selection slightly so that hopefully a more reasonable
  32.     result will occur on some non-English systems that didn't have Lucida Console.
  33.  
  34.                          
  35.                          Changes as of version 3.1d
  36.                          --------------------------
  37.   
  38.   o This release is using Visual C++ instead of Watcom. This means that the
  39.     problem with not releasing memory after a trace may be back.
  40.   
  41.   o Fixed MAX_TRACE_LEVEL global not being re-initialized.
  42.  
  43.   o Removed platform-specific declaration of EPSILON.
  44.  
  45.   o Added ability to clear small message window from the bottom of an editor
  46.     window by pressing ESCAPE.
  47.  
  48.   o Changed render window creation procedure such that the default size of this
  49.     window is never larger than (screen width - 64) or (screen height - 48)
  50.     pixels. If the render size is larger than this, the render window is
  51.     created with scroll bars.
  52.  
  53.   o Starting a render with the short commandline dialog should now save modified
  54.     files, like the main command-line dialog already did.
  55.  
  56.   o Fixed problem with render-region selection sometimes persisting after it's
  57.     been manually edited out of command-line.
  58.  
  59.   o Corrected problem whereby it was possible to accidentally select render
  60.     regions (using the mouse on the render window) that were outside the
  61.     window borders.
  62.  
  63.   o Changed the way that time calculation works. The render time and PPS rate
  64.     shown in the status bar now no longer count time spent in the 'pause'
  65.     state. NOTE that this does NOT affect the core renderer's calculation of
  66.     render time - it is still defined as (finish time - start time).
  67.  
  68.   o Changed the way that the percentage complete is shown in the render window
  69.     status bar. It is now updated at most once per second, thus eliminating
  70.     the slowdowns that previously occurred due to multiple updates per second
  71.     when rendering a mosaic preview.
  72.  
  73.   o The tooltop that appears when you point at the POVWIN icon after it's been
  74.     put into the system tray (Alt-W) now shows render percentage complete if
  75.     a render is in progress.
  76.  
  77.   o Fixed bug in BMP support where some BMP files loaded as height fields,
  78.     image maps, etc, would be loaded upside-down.
  79.  
  80.                        Known Bugs in Version 3.1 RELEASE
  81.                        ---------------------------------
  82.  
  83.   o Filenames that have ASCII characters > 127 in them will cause problems
  84.     when you attempt to render them. This is a fault somewhere in the Watcom C
  85.     runtime library and cannot (easily) be fixed by us.
  86.                   
  87.                   Changes to POVWIN as of version 3.1 RELEASE
  88.                   -------------------------------------------
  89.  
  90.   o Fixed problem with Save As not setting language type or caption.
  91.   o Various other minor fixes.
  92.  
  93.                   Changes to POVWIN as of version 3.1 beta 6b
  94.                   -------------------------------------------
  95.  
  96.   o Added auto-reload (which also auto-saves when switching away from POVWIN).
  97.   
  98.   o Fixed problem with Save As not providing a default path and filename.
  99.   
  100.   o Added printing to editor. This includes optional highlighting of comments
  101.     and two-up printing (i.e. prints two pages on a single sheet of paper).
  102.   
  103.   o Fixed problem with message window sometimes not getting focus (therefore
  104.     preventing UpArrow/DownArrow from scrolling it).
  105.   
  106.   o Added /NORESTORE (also /NR) option to command line. If present, POVWIN's
  107.     editor will not attempt to restore previously opened files. Note that it
  108.     WILL save its state when it exits.
  109.  
  110.   o Implemented loading files via /EDIT again.
  111.  
  112.   o Fixed help path problem that affected Windows 95/98 systems.
  113.  
  114.   o Changed the editor context menu (lots more options, mostly in submenus).
  115.  
  116.   o Modified the render window region facility to use floats so that when you
  117.     change the size of the render, the region is retained. Also fixed a few
  118.     bugs with this facility at the same time.
  119.  
  120.                   Changes to POVWIN as of version 3.1 beta 6
  121.                   ------------------------------------------
  122.  
  123.   This release has a new editor in it. It may not work as expected. Remember
  124.   that this is BETA software - don't use it if you're not prepared to put up
  125.   with some bugs.
  126.         
  127.   Quick Summary:
  128.         
  129.     o Added new editor.
  130.     o Added rubberband mode to render window for selection of render region.
  131.     o Added auto-load of file if there's a parse error (goes to line and col).
  132.     o Modified the way the insert menu works. It's now like the 'Start Menu'.
  133.     o Removed a bunch of stuff that was a legacy of our (now gone) Win32s mode.
  134.     o Fixed the GUI Extension compatibility problem.
  135.     
  136.   =============================================================================
  137.   IT IS IMPORTANT THAT YOU READ THE FOLLOWING NOTES ABOUT THE EDITOR !!!!!!!!!!
  138.   =============================================================================
  139.   
  140.   o Totally rewrote the editor from scratch. It contains a custom control
  141.     (CodeMax from WinMain Software [www.winmain.com], who kindly donated it),
  142.     and the associated wrapper code to turn it into an integrated tool. This is
  143.     not a port of the Delphi editor in previous versions - it's a new
  144.     implementation (several thousand lines of code) in C++Builder (cmedit.dll),
  145.     with the editor control itself being cmax101.dll. Both of these should be
  146.     in <installdir>\bin.
  147.     
  148.   o The editor is extensively customisable. It utilises syntax highlighting and
  149.     understands .POV and .INC files as being in POV syntax. You can change the
  150.     colour settings used from the properties dialog (ALT-ENTER). It also has
  151.     built-in syntax highlighting for C, C++, Java, Basic, Pascal and SQL.
  152.     
  153.   o Here's a quick editor feature summary. Please inspect the editor menus to
  154.     gain a better understanding of its available features, until such time as
  155.     the new docs are written.
  156.     
  157.     o Syntax highlighting.
  158.     o Keystroke macros. These are preserved across sessions.
  159.     o Optional auto-save which, if turned on, saves changed files periodically.
  160.     o Brace matching is available (cursor must be on a brace when you do it).
  161.     o Block indent/undent
  162.     o Tabify/untabify
  163.     o Customisable colours.
  164.     o Most key bindings are customisable (not all, just most).
  165.     o Smart case preservation in replace operations.
  166.     o Up to 10 bookmarks.
  167.     o Optional auto-reload of changed files (not yet implemented).
  168.     o Multiple views of the one file (via splits).
  169.     o OLE drag and drop between the editor and other programs.
  170.     o Optional smooth-scrolling.
  171.     o Intellimouse support.
  172.     o Column selection (control-leftbutton and drag).
  173.     o Up to 32 edit sessions.
  174.     o MRU list also tracks the line, column, language, tab and indent settings.
  175.       
  176.   o You can split editor panes by dragging the little bar just above the top
  177.     of the vertical scrollbar (and likewise for horizontal). This is only
  178.     possible if it's not disabled via the properties dialog. Editor splits are
  179.     not preserved across sessions (this is by design). You can drag and drop
  180.     selected text between panes.
  181.     
  182.   o By default both scrollbars are on. You can change this from the properties
  183.     or the Editor menu.
  184.     
  185.   o Printing is not yet implemented (nor are a few other options, which is why
  186.     they are grayed out in the menus).
  187.     
  188.   o If the editor gets into a strange state, and restarting POV-Win doesn't fix
  189.     it, you may need to clear the registry settings for the editor. To do this,
  190.     it is essential that POVWIN is not running (otherwise it will rewrite the
  191.     old values when it finally does exit). Then, using REGEDIT.EXE or similar,
  192.     delete the entire subkey HKEY_LOCAL_MACHINE\Software\POV-Ray\v3.1\POV-Edit.
  193.     
  194.   o Note that the editor properties dialog only allows you to set things that
  195.     are implemented within the editor. There are some other options implemented
  196.     within the editor wrapper code in POV-Ray for Windows which are able to be
  197.     accessed via the Editor menu (only visible when an editor is selected). For
  198.     example, the keybinding for saving a file (Ctrl-S) is not listed in the
  199.     editor properties since this function is handled by the wrapper code. You
  200.     can't change this assignment.
  201.     
  202.   o Some properties only affect the current file, and some affect all files.
  203.     Additionally, most (but not all) of those that affect the current file will
  204.     become the default for any new files opened after that point. This is by
  205.     design. For example, changing the tab stop setting only affects the current
  206.     file, but will then become the default for new files from that point on.
  207.     
  208.   o You can drag and drop selected text between panes of the editor window, or
  209.     between the editor and any OLE compliant drag and drop application, such as
  210.     Microsoft Word. Control-dragging copies instead of cuts.
  211.     
  212.   o Some people have asked why the 'quit bugging me' option in the render save
  213.     dialog is not persistent across sessions. This is by design and is not
  214.     likely to change.
  215.     
  216.   o The RMB context menu has an option for 'show/hide message window' (as
  217.     before, though many people didn't look closely enough to realise it). This
  218.     window is now sizable (unlike the previous version, where it was a fixed
  219.     size). A quick way to close this window is to drag the divider down to
  220.     within a few pixels of the bottom border - when you release the mouse, the
  221.     message window will vanish.
  222.     
  223.   o You can also tell POVWIN not to display the message window automatically
  224.     when starting a render. You do this from the Editor menu, by turning off
  225.     'Auto-Show Parse Messages'. This is most useful with the Error File option.
  226.     
  227.   o POVWIN will now optionally automatically load a file in which a parse error
  228.     has occurred into the editor (or select it if it's already loaded) and
  229.     place the cursor on the line and column of the offending code. This is able
  230.     to be turned on or off using the 'Auto-Load Error File' option in the
  231.     Editor menu. Also, if this option is on, and the message window was
  232.     displayed automatically (see above), it will be closed automatically rather
  233.     than being left open (as used to be the case when an error happened). The
  234.     text describing the error will be displayed in the status bar at the bottom
  235.     of the window.
  236.     
  237.   o Quick key summary (this is not comprehensive and does NOT include shortcuts
  238.     already listed in the menus - check the menus for these).
  239.     
  240.       Ctrl-LeftButton and drag          Column Selection
  241.       Drag selection                    Move text (also drag and drop)
  242.       Ctrl-LButton and drag selection   Copy selection
  243.       Click and drag splitter bar       Split window
  244.       Double-click splitter bar         Split window in half, or unsplit.
  245.       Alt-Left or RightArrow            Change selected editor tab
  246.       Ctrl-Tab                          Change selected editor tab
  247.       Tab when some text is selected    Indent selected lines
  248.       Shift-tab when text is selected   Undent selected lines
  249.       
  250.   o Drastically changed the way the Insert menu is built. Instead of a template
  251.     file (previously pov3tmpl.txt), the Insert Menu is built the same way as
  252.     such things as the Windows 95/98/NT Start Menu ; it's a series of folders
  253.     with the actual text that gets inserted being .txt files within them.
  254.     You'll find this in <installdir>\Insert Menu. Just select 'edit this menu'
  255.     from the Insert Menu to get to there. For those of you who had a customised
  256.     version of the old template file and want to convert it - if there's enough
  257.     people who ask we'll release the converter program.
  258.     
  259.   o Added an 'Older Files' submenu to the File menu. This contains recently
  260.     used files (up to 32 of them) that have scrolled off the main MRU list at
  261.     the bottom of the File menu. Note that this (and the main MRU list) now
  262.     not only stores the filename, but also the line, column, language, indent,
  263.     and tab settings that were last in use when the file was previously open.
  264.     
  265.   o Fixed a problem relating to turning off the toolbar then restoring the
  266.     window from the taskbar.
  267.     
  268.   o Removed the non-client code that draws the custom caption button. This is
  269.     no longer needed since we no longer support Win32s (Windows 3.1x) and there
  270.     is a better way available to true Win32 applications. For the time being
  271.     (and perhaps forever) there is no way to get the old 'mini window' mode
  272.     (did anyone use it in any case ??? We don't even know).
  273.  
  274.   o Removed the 'Tiny Render window caption' option.
  275.  
  276.   o Removed the old statusbar code and replaced it with the common control.
  277.     POV-Ray for Windows can no longer be moved by clicking on the status bar.
  278.  
  279.   o Pared down the Appearance menu, merged with Misc menu, renamed it Options.
  280.     Added a new menu called 'Text', available only when the editor is in use.
  281.  
  282.   o Removed the 'Expert Menus' option - full menus are always on now.
  283.   
  284.   o Added a 'rubberband' mode to the render window. Once a render is completed,
  285.     you can click and drag on the render window to draw a box that represents
  286.     a selection. Once you release the mouse button, you have the option of
  287.     starting a new render that will only trace the pixels within the box. Note
  288.     that this is NOT a zoom function ; the render does not zoom in to the box,
  289.     but just renders the pixels inside it. You can also shift-drag to have the
  290.     co-ordinates of the area you selected added to the command-line (so the
  291.     selection will last for the rest of your POV session). POVWIN attempts to
  292.     remove the selection from the command-line before shutting down on exit.
  293.  
  294.                       Changes to POVWIN as of version 3.1 beta 5
  295.                       ------------------------------------------
  296.  
  297.   o Add an option to stop the render animation (see the Appearance menu).
  298.  
  299.   o POVWIN should now detect Win98 and not draw the caption text in the
  300.     title bar. One day we'll make it use DrawFrameControl () instead of the
  301.     way we draw the extra button now. (DrawFrameControl () was not present in
  302.     the earlier versions of windows that POVWIN was originally written for).
  303.  
  304.   o An old bug (solved in 3.02 but present in earlier versions) reappeared
  305.     in 3.1 betas prior to beta5. This typically shows itself as corrupted
  306.     text in the message window, and/or random crashes, particularly when
  307.     starting a render or clearing the message pane from the edit menu.
  308.  
  309.     The cause of this is a memory overwrite coming from inside the generic
  310.     POV-Ray code, and came back since the fix never made it into the generic
  311.     source after the release of 3.02. It's now fixed for good.
  312.  
  313.   o There was a problem with POVWIN not releasing memory after a render. This
  314.     actually was not as clear as it seems - POVWIN did in fact release the
  315.     memory, but the C runtime library did not. The memory was not wasted in
  316.     that if you did a new render, the memory got re-used. But it still was not
  317.     available to other Windows apps.
  318.  
  319.     The solution is compiler-specific (see CONFIG.H if you're compiling your
  320.     own copy of POVWIN). The official POV-Team version of POV-Ray for Windows
  321.     (which is compiled with Watcom C/C++) now does release this memory, so the
  322.     problem is fixed for most users.
  323.  
  324.   o The 'render from memory' feature is gone. It is a difficult feature to
  325.     implement (because the main POV-Ray rendering engine does not have a
  326.     concept of rendering from memory, so a simulation of a file had to be
  327.     done. This did not always work as expected). We decided that the due to
  328.     the restrictions that the above placed on the feature (and the problems
  329.     that this caused for some users) it was best not to have it.
  330.  
  331.   o A new GUI extension call has been added that supplies GUI extensions with
  332.     what is effectively an exact copy of the data (pixel by pixel) that would
  333.     have been written to file. This works regardless of whether file output
  334.     is on or not. This does not break compatibility with GUI extensions that
  335.     were written for previous versions of POV-Ray - if they were written
  336.     properly they will still work unchanged.
  337.  
  338.   o The Windows help file is now 'povray31.hlp' (previously povray30.hlp).
  339.  
  340.   o The registry keys now work this way -
  341.  
  342.     HKLM\
  343.       Software\
  344.         POV-Ray\
  345.  
  346.           Windows\
  347.             Home          -> Points at v3.0x, if it is installed.
  348.  
  349.           CurrentVersion\
  350.             Windows\
  351.               Home        -> Path of current version always
  352.               VersionNo   -> Current version number
  353.  
  354.           v3.1\
  355.             Windows\
  356.               Home        -> Points at path of v3.1
  357.  
  358.           v3.x\
  359.             Windows\
  360.               Home        -> Points at path of a hypothetical v3.x
  361.  
  362.     Authors of utilities that read the registry to extract the install dir of
  363.     POVWIN are requested to use the 'v3.x' keys to locate POVWIN if their
  364.     program absolutely requires a specific version. Otherwise, they should use
  365.     the 'CurrentVersion' key. Under no circumstances should any new utility
  366.     use the old 'Windows' value as support for that entry will be removed in a
  367.     later version of POVWIN.
  368.  
  369.  
  370.