Changes to UDP.EXE ------------------ 23.02.02 Bugs in Options > HTML Footnote Style that were introduced with version 23.02.01 have been fixed and Footnote Styles now work, but ONLY for numerical footnotes and ONLY after Tools > Renumber Footnotes has been run since the last numerical footnote was created. [If there is sufficent demand to make Footnote Styles work with non-numerical footnotes, this may be implemented in a future release.] Bug Fix: Additional extraneous inactive code associated with footnotes in an HTML file is no longer generated when a file is saved as HTML. 23.02.01 If you save a Document as HTML and there are changes that have not been saved, you will be given a chance to save those changes before the HTML file is written. The last saved Document will automatically be reloaded from disk after the HTML save is completed. The same as above applies to a Database that does not have a currently selected subset; again the last saved Database will be reloaded. However you cannot save as HTML a Database with a currently selected subset if there are changes that have not been saved. The File > SaveAs - HTML routine will exit and you must manually use Select > Rescend-All-Setects and then use File > Save (^S) to save those changes before trying again. After an HTML save is completed the entire last saved Database will automatically be reloaded from disk. You can use Options > Underline HTML Links to control whether links in an exported HTML file have underlines or not. This is implemented by the presence or absence of CSS directives prior to the tag. Options > HTML Footnote Style leads to a submenu with 4 choices: 1. Plain - this is what a footnote reference looks like1 and this is what the footnote looks like: 1. Footnote 2. Superscript - this is what a footnote reference looks likeČ and this is what the footnote looks like: 2. Footnote 3. Brackets - this is what a footnote reference looks like[3] and this is what the footnote looks like: 3. Footnote [Back] 4. Superscript & Brackets - this is what a footnote ref looks like[4] except the "[4]" is written as a superscript and this is what the footnote looks like: 4. Footnote [Back] See "Options - HTML Footnote Style" in the Help system to see coloring and underlining and more information. Bug Fix: Extraneous inactive code associated with footnotes in an HTML file is no longer generated when a file is saved as HTML. When using File > SaveAs on a Database with a current selected subset, UDP no longer suggests the Database's name as the new file's name; now the Database's name is appended with "_SSS" (for Selected SubSet) as the suggested save-as name. This should help prevent accidently overwriting the main Database. 23.01.01 Bug Fix: When exporting to HTML, an "@" is only converted to "@" if it is not preceded by whitespace (SPACE, TAB, NEWLINE). This fixes an obscure bug when exporting to HTML a file that contains a "@import" construct. 21.01.03 When exporting to HTML, no longer are page breaks (FF) exported as
; they are now exported as the following: \n

\n


\n This will preserve page breaks if the resulting HTML is then read into LibreOffice Write, Word, etc. Relative links can now use either the or If you edit udp.ini and set 3-IDnotNAME=1 then relative links will be generated using ; if IDnotNAME=0 (the default) then relative links will be generated using . However, if you set 3-IDnotNAME=1, unless you use Search > FindAndReplace to change ALL name=" to id=" in existing files, Tools > RenumberFootnotes will not renumber any existing footnote with . Use this with caution! 21.01.02 File > SaveAs > HTML now preserves page breaks if the resulting HTML file is imported into MS Word or LibreOffice Writer. 21.01.01 File > Print Options can now be remembered between program executions. Setting the Remember checkbox on the Document Print Options dialog will result in the Document Print Options being remembered. Setting the Remember checkbox on the Database Print Options dialog will result in the Database Print Options being remembered. Set both dialog boxes' Remember checkbox to remember both. 20.01.02 Fixed rare corner case bug in new Format > Cvt http to Link routine. 20.01.01 Added Format > Cvt http to Link (Shift+Ctrl+K) which will convert any http:// or https:// strings to a link. See "Format - Cvt http to Link" in the Help system for more info. 16.01.01 If you use File > SaveAs to create an HTML file, then is inserted after the tag so the viewport is set for mobile devices. 15.01.03 Bug Fix: If Tibetan fonts are disabled (Options > Advanced > Disable Tibetan), Custom Tools were also disabled. This has been fixed. 15.01.02 Bug Fixes: Several bugs in the new Custom Tools have been fixed, including a pair of very old ones in the Unicode conversion routines. The UDPtoolBegn() Custom Tool function has been enhanced to return an int rather than a BOOL. Valid values now are FALSE or UDPTOOLSTOP - do not call UDPtoolRecd() or UDPtoolFini() TRUE - call UDPtoolRecd() with current record UDPTOOL1ST - call UDPtoolRecd() with 1st recd in file UDPTOOLLAST - call UDPtoolRecd() with last recd in file UDPtoolLinkFootnotes.* has been added to the tools folder as a more sophisticated example of a Custom Tool: converts [1] ... Note ... 1. ... to Hypertext links. 15.01.01 The interface for Adding, Editing, Removing and Organizing Custom Tools has been enhanced with dialog boxes so it is now more intutive. 14.03.01 UDP now supports Custom Tools. See "Options - Enable Custom Tools" and "Tools - Custom Tools" in the Help system and the file UDPtools.ude in the tools subfolder for detailed information. 14.02.01 Indic sorting for Romanized Sanskrit and Pali has now been implemented. The collating sequence can be found in the Help system at Tools - Sort. 14.01.04 Micosoft Bug Fix: Sometime UDP crashes when doing a File > SaveAs. This seems to be a timing error in the Micosoft GetSaveFileName() routine. This has been fixed by adding a short delay just before calling GetSaveFileName(). The length of this delay can be changed by editing the UDP.INI file with Notepad and changing the value of TenthSecSleepB4SaveName to a value between 0 and 20 (no delay or up to 2 seconds). 14.01.03 Bug Fix: UDP no longer accidently marks the rest of a record when you use Ctrl+End to scroll end of a record (it now is aware in all cases when the Shift key is not depressed). 14.01.02 Bug Fix: If you save a text file which has an extension of htm or html, then ANSI characters between 128 and 255 are also converted if charset=iso-8859-1. When you read in an HTML file, &#nnn; constructs are converted if they represent representing ANSI chars between 128 and 255 if charset=iso-8859-1. These 2 features were previously implemented, but became broken; now fixed. However, if the HTML <head> contains "utf-8", no conversion happens. Alt+ and Alt- will respectively increase and decrease the font sizes. 14.01.01 Options > Toggle Multi Monitor (Shift+Ctrl+X) will now correctly move UDP's window up or down if the multiple monitor setup has the monitors arranged vertically. 13.03.01 Bug Fix: UDP now recognizes fonts in RTF files that contain Tibetan characters as Tibetan fonts and thus can now correctly import those files and preserve small characters. 13.02.10 Bug Fix: A regression introduced with version 13.02.06 has now been fixed: Failure to copy or export to RTF Unicode for unicode characters such as 0FA0. 13.02.09 Bug Fix: UDP no longer crashes when trying to read certain types of HTML files. 13.02.08 Bug Fix: In certain obscure cases, a Tibetan spelling error could cause UDP to crash. This has been fixed. 13.02.07 Bug Fix: if "Options > AdvancedOption > Enclose small fonts in «» during RTF import" is set, UDP no longer doubles up the « and » when rereading an RTF file that already has small fonts enclosed in «». 13.02.06 Bug Fixes: UDP now correctly handles importing and exporting nonbreaking-spaces that originate in legacy TibetanAnsi DCT files and exporting nonbreaking-spaces to Unicode and Unicode-RTF files. 13.02.05 Bug Fix: The new feature in 13.02.02 - 13.02.04 now works with RTF files pasted into an existing file that was created by importing a TibetanAnsi DCT file. 13.02.04 Bug Fix: The new feature in 13.02.02 & 13.02.03 has been cleaned up. 13.02.03 The new feature in 13.02.02 has been enhanced and now works when importing RTF files and when pasting RTF data from the clipboard. 13.02.02 You can now enclose Tibetan yig chung (small letters) in « & » during import of RTF files by checking Options > AdvancedOption > Enclose small fonts in «» during RTF import. 13.02.01 Ctrl+A is now Edit > Select All. Shift+Ctrl+A is now Format > Character Set. Shift+Ctrl+V is now Tools > Audio/Visual Player > Show/Hide Player. When you press Ctrl+A, the current caret location is saved - if you actually meant to press Shift+Ctrl+A, use Go > Back (or F4 or Alt + <-) to return to the location where you were when you pressed Ctrl+A. File > SaveAs RTF and Edit > Copy (RTF format) has been cleaned up and enhanced so as to work better with LibreOffice. Unless Tibetan keyboard and fonts have been disabled, RTF files are saved as Unicode RTF if a Unicode Tibetan file is chosen and as 8-bit RTF if an 8-bit Tibetan file is chosen. If you save a text file which has an extension of htm or html, then @ and Sanskrit/Pali diacritical characters are written using the &#nnn; format. ANSI characters between 128 and 255 are also converted if charset=iso-8859-1. When you read in an HTML file, &#nnn; constructs are converted if they represent either @ or : or a Sanskrit/Pali diacritical character; &#nnn; constructs representing ANSI characters between 128 and 255 are also converted if charset=iso-8859-1. New HTML files have, as part of their <HEAD>, the following string: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> Tools > Titlecase Marked Text converts the selected ANSI and Sanskrit/Pali diacritical text to title-case - only first letter of each word is capitalized. Ctrl+- and Ctrl+= now work on the numeric row of the keyboard as Go > Top of Screen and Go > Bottom of Screen respectively. This change adds this functionality to laptops and other computers without a numeric keypad. Bug Fix: When you save a file as "Raw or CSV Text", Sanskrit/Pali diacritical characters are stripped of their diacriticals and the correct base letter is now always output. Bug Fix: Italic Small Font characters are now the correct size. Bug Fix: The correct number of listboxes is now computed when a file contains diacritical characters. 13.01.05 Bug Fix: The Tools > Renumber Footnotes enhancement in version 13.01.04 broke the ability to click a link to a different part of the same record or file (i.e. href=#linkname) and jump to that location. This is now fixed. 13.01.04 Tools > Renumber Footnotes now generates "back" links on the footnotes themselves. If there are multiple links to a single footnote, the back link will take you back to the first of those multiple links. The File > Print Options dialog for Databases now has a "Center Key Fld" check box that, when checked, causes the key fields to be centered and bolded when printed. 13.01.03 HTML export formating has been cleaned up. 13.01.02 Tools > Renumber Footnotes will renumber the footnote either for the whole Database or Document, or for the current Database record. A Database can be numbered sequentially for all records or each record can start again at 1. Since Google no longer supports spell-checking a word programatically, the "Google" button has been removed from the English SpellCheck dialog. 13.01.01 Options > Toggle Multi Monitor (Shift+Ctrl+X) will move UDP's window to/from a second monitor. The distance moved is the width (or height) of the primary monitor. If the window not fully on the screen horizontally, this function will move it to the edge of the screen so that it is fully visible. When you right click on the key or data field and there is selected text in that field, the number of bytes in the selelction will be displayed in the status bar at the bottom of the main window. EARLIER CHANGES CAN BE FOUND AT http://udp.leighb.com/chgsold.txt