AngelsHolocaust 0 Report post Posted December 13, 2009 Hi friends. This release does not contain as much updates as I wanted it to have. After all, it does contain some nice updates though. Real life kept me busy, but it's getting "better". :) I especially want to point out to NDNOLDAP, which mainly I wrote out of interest for the "technology" of virtual device drivers. The sources can be downloaded from the download page. Whatsnew: ─════┤ v2.31.5222 DPMI32/WINDOWS/LINUX 12.12.09 ├═══════════════════════════─ [*] W32: dnos.CheckOS() didn't set opWin for WinNT+ OS's, D32 did [+] added filetype unit and moved several functions there: dnexec.(Win32Program|GUIProgram)(), fileio.(IsElf|IsExecutable)() -> removed flpanelx.ExecFile_Rights, improved IsExecutable() to read the UNIX rights from the current filerec in panel or from the file on disk [!] Exceptions were always unknown / unhandled -> drivers4.InitDrivers() sets system.ExceptObjProc to nil CONFIGURATION FILES [*] NDN.EXT/DW32: added Borland DLL to c,cpp[], NASM to asm[] [*] NDN.MNU: added Winamp example [*] NDN.QDR/W32: added more Windows directories [*] NDN.HGL: updated the keywords for assembler files (Slava), added RegKeyWords[1-8] to the *.HGL syntax definition [*] NDN.HGL: added standard TabSize (commented) and OptimalFill Off to several definitions [*] New default option: File Manager.Setup.[X] Don't quote LFN, clipboard -> added commands.fm2DontQuoteClip to startup.FMSetup.Options2 DNEXEC/EXTERNAL VIEWER,EDITOR/EXECUTE EXT/LOCAL,GLOBAL MENUS [-] Detection of WIN32 GUI executables didn't work anymore [A] -> dnexec._ExecString() didn't handle the file extension correctly [-] Exec file search priority order was still not correct [A] (Dandv) -> fileio.SearchPathEnv() now doesn't use dos.FSearch() anymore, which scans all directories for one filename instead of scanning each directory for all filenames [*] NDN.EXT/External user menu boxes didn't use desktops > 25 lines -> usermenu.ExecUserMenu() now uses menus.THugeMenuBox.InitAdv() to create the menu box [-] EXEC/WNT: Executed filename had an trailing space (see "echo %0") [A] -> dnexec._ExecString().CheckWhatParams() didn't trim whitespace before enclosing in '"' [*] D32/W32: Execution improvment if a program is no executable -> dnexec._ExecString().CheckWhatParams() allows non-executables to be started asynchronously like windos GUI applications; this automatically starts the associated Windows program -> dnexec._ExecFile() allows non-executables to be executed in Windows if there's no association in ndn.ext -> W32: Note that bat/cmd files cannot be started asynchronously for some reason (CreateProcess + Detached_Process): can someone help here? WOA/WINOLDAP (D32/NT) [+] Wrote a WinOldAp replacement for Windows NT+ Operating Systems, supporting PROTECTED and REAL MODE calls, usable in DPMI programs -> added winoldap.pas, winoldif.pas, ntvdmif.pas to extsrc\winoldap.dll [+] Supports: MS Windows WinOldAP Clipboard, MS Windows95 Window Title [*] D32/NT: Window title functions are no longer disabled -> removed WinNT checks from wintitle.(Set|Get|Init|Done)Title() [+] Added "Release Current Virtual Machine Time-Slice" (Int 2F/AX=1680h) -> added winoldif.WoaReleaseVmTimeSlice() using windows.Sleep(5) KEYBOARD [+] Added Ctrl-';' {C} -> added commands.kbCtrlSemiColon, extended drivers.MyKeyShiftCodes[] and driversMyKeyScanCodes[] TURBOVISION: VIEWS/DIALOGS/MENUS/OBJECTS/MESSAGES/DESKTOP [*] removed this as it's not helpful [*] Inputlines [LEFT/RIGHT]: Pass the event on to the next view if at the beginning or the end of the inputline -> Modified dialogs.TInputLine.HandleEvent().kb(Left|Right) [-] Huge menu boxes now correctly center [A] -> menus.THugeMenuBox.InitAdv() now uses Options.ofCentered to center the view (see W32.Context menu) [-] Clicking on help buttons didn't work {C} -> dnutil.TDnApplication.HandleCommand().cmHelp didn't handle Event.InfoWord correctly [+] Added reverse word/sentence operation {C} -> added stringsx.Reverse(Str|Buf)(), modified stringsx.FormatStrCase() -> added kbSemiColon to dialogs.TInputLine.HandleEvent() [*] MENUS: When copying strings to clipboard the hotkey '~'s are removed -> added drivers3.CStr2Str(), used in menus.TMenuView.Execute().kbCtrlIns [-] Non resizable views could be resized with mouse after [CTRL-F5] (Slava) [A] -> views.TView.DragView() didn't check whether move or grow were allowed, now checking the mode parameter EDITOR [+] Added reverse word/sentence operation {C} -> added commands.cmReverse(Block|String|Word) -> modified microed6.EditorHandleEvent() and micro_3.EdChangeCase(), micro_3.EdChangeBlockCase() DBF VIEWER [*] removed Day_in_month: array now use timedate.DaysInMonth {G} [-] fix foxpro's DateTime field {G} (Zaimskih) correct Edit Field with TimeDate value [-] fix display integer fields {G} [-] fix search in all fields {G} [+] add Alt-F7 hotkey = SearchReverse {G} [-] Fix incorrect show last modified date {G} LANGUAGES [*] Russian: updates/translations to the resources and online help {G} FILE PANEL [!] Context Menu: * crash when opening '..' and too many files in dir (HUNTER) [A] -> contextm.c didn't provide the LPITEMIDLIST itself but a reference to it * crashes on menu exit: drivers@493, views@1421, ... [A] - menus.THugeMenuBox.Init() didn't handle long title strings - contextm.p_OpenWinMenuInTV() inserted menu but didn't remove it * One of the above also fixed the usage of OleFlushClipboard(), which makes it possible to copy files via the context menus LANGUAGES / RESOURCES (RCP) / HELP (TVHC) [-] Screen saver setup title was missing characters [A] {C} -> last string in ndn.dlg was not correctly saved -> rstrings.TIdxMaker.Done() used a bad loop start value: 0 instead of 1 GAMES [-] Piton and Tetris will pause when the user screen [ALT-F5] is on [NC] {C} -> game_(pit|tet).TGameView(P).Update() checks for usermenu.UserScreenIsOn Download: http://ndn.muxe.com/download/ I wish everyone of you a Merry Christmans and a Happy New Year. See you again in January 2010. All the best, Stefan / AH Share this post Link to post Share on other sites
RayeR 0 Report post Posted December 19, 2009 Wow, seems that you had fixed compatability issues of DOS DPMI version under Win2k/XP. Now it starts up fast and work smooth without any short hangs. Calling commandline batches from ndn.ext works fine too. So thank you for the xmass gift :) p.s. where can I get source of winoldapp.dll? I'd like to try make own VDD in mingw32 so just for inspiration. I didn't find many tutorials covering a VDDs... EDIT well I missed that, bottom of DL page... Share this post Link to post Share on other sites
dandv 0 Report post Posted December 22, 2009 Hey AH, thanks for the Xmas version! Whatsnew: [*] NDN.QDR/W32: added more Windows directories That directory is ?%UserProfile%\Eigene Dateien\ :) Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 23, 2009 Hi RayeR and Dan. Wow, seems that you had fixed compatability issues of DOS DPMI version under Win2k/XP. Now it starts up fast and work smooth without any short hangs. Calling commandline batches from ndn.ext works fine too. So thank you for the xmass gift :) p.s. where can I get source of winoldapp.dll? I'd like to try make own VDD in mingw32 so just for inspiration. I didn't find many tutorials covering a VDDs... EDIT well I missed that, bottom of DL page... Nice to hear that it works for you. I feared that it would end up in more problems on other systems that I tried to solve with it. Hey AH, thanks for the Xmas version! That directory is ?%UserProfile%\Eigene Dateien\ :) Lol, yes! I just added the english version of the path: ?%UserProfile%\My Documents\ Unfortunately there's no direct environment shortcut to this directory, as many programs open that directory by default. Bye, Stefan / AH Share this post Link to post Share on other sites
dandv 0 Report post Posted December 23, 2009 A regression in this version compared to the previous one: running .PL executables that are are %PATHEXT% (and probably other non-exe/com/bat executables) launches a new cmd window. I have added .PL to %PATHEXT% because so that I can use many Perl scripts easily from the command line: reverse.pl lines.txt (I don't have to type perl in front of "reverse.pl lines.txt"). However in this version, running that command will create a new cmd window that will close as soon as the script exits, so I can't see its output. In Explorer -> Tools -> Foldr Options -> File Types, for PL files I have an Open action which runs "C:\strawberry\perl\bin\perl.exe" "%1" %* This has worked perfectly up to this NDN version by running the script "under" NDN, and showing the output in the Ctrl+O window. Share this post Link to post Share on other sites
RayeR 0 Report post Posted December 29, 2009 My forward from BTTR forum I tested it under Win7Ultimate and it works! But you have to copy the DLL into win\system32 directory. Then clipboard works fine. VDD in NDN directory Necromancer's Dos Navigator v2.31.5222/DPMI32. Based on Dos Navigator by Ritlabs... [DEFINES/CPU86/CPU87/DPMI32/VIRTUALPASCAL] * Windows NT (v5.0) detected, Virtual Machine number is 0... * PCRE Version 7.7 2008-05-07 * Sabretooth TCP/IP Stack (STIPS) v1.2.4 (NDN) / 05.05.2009 * WinOldAp v1.0 / 10.10.2009: WinOldAp error (#1): NTVDM: DLL file not found! VDD in system directory Necromancer's Dos Navigator v2.31.5222/DPMI32. Based on Dos Navigator by Ritlabs... [DEFINES/CPU86/CPU87/DPMI32/VIRTUALPASCAL] * Windows NT (v5.0) detected, Virtual Machine number is 0... * PCRE Version 7.7 2008-05-07 * Sabretooth TCP/IP Stack (STIPS) v1.2.4 (NDN) / 05.05.2009 * WinOldAp v1.0 / 10.10.2009: WinOldAp error (#0): No Error! :clap: Share this post Link to post Share on other sites