AngelsHolocaust 0 Report post Posted February 24, 2006 hi *! some nice improvements and bugfixes this week, so i thought i should release it ?????? v2.15.7555 DPMI32/WINDOWS/LINUX 24-02-06 ????????????????????????????? CLIPBOARD [*] D32/W32 several problems with the internal and system clipboard * "show text buffer" always showed NDN.CLP (GPFault) [NC] -> microed2.OpenClipBoard only did SyncClipout, now also does SyncClipIn (this also creates a missing NDN.CLP - still crashes?) * improved the system menu structure a bit -> added clipboard submenu * if the system clipboard is empty NDN will use the disk clipboard -> added commands.cmEmptyClipBoard, winclp.EmptySystemClipboard * regardless of CTRL-C or CTRL-INS, if "use system clipboard" was off it never copied to system clipboard, this also turned off the "Autosave clipboard buffer" effect -> removed winclp.UseSysClip (checked anyway inside clip functions) -> added special bool value to functions to signal sysclipboard usage in winclp; now it's even possible to have 2 independent clipboards * D32 _SysClipCanPaste didn't work as the windows function: it only checked if clipboard was available, not if it contained data -> now checks if data is available * D32 maximum system clipboard data was 64*1024-1 bytes and allocated buffer was not deallocated on exit -> winclp._SysClip(Copy|Paste) can now use up to 1024*1023 bytes (if available) and (de)allocates it at runtime FILE COPY/MOVE/OPEN/CREATE/DELETE [-] creating dirs didn't set the cursor to created dir correctly [A] (Necromancer) -> fltools.CM_MakeDir: was only tested with single char directories [-] LFN rename errors were not correctly displayed (LFN could not be read completely) [NC] -> Single-Rename: names weren't cut -> improved messages.CantRename: cut to 70 chars (was 40), display 'file' or 'directory' -> CantRename now used in filecopy, fltools [*] improved copy progress (not perfect): (Garl) * add percentage to 'Overall progress' part * use read/written files AND file count to calculate percentages REGULAR EXPRESSIONS/PCRE [*] added pcregexp.TpcRegExp.RunTimeOptions for options set by the caller [*] added pcregexp.TpcRegExp.SearchOfs to let PCRE handle the complete string and the start offset into the string itself EDITOR [-] RegEx search pattern="^NDN" or "NDN$"/Subject="NDNNDN" found both NDN; '^' (BOL) and '$' (EOL) matched inside lines too (GPFault) [NC] -> microed5.SetRegExOptions and stringsx._BackSearchFor use PCRE_NOTBOL and PCRE_NOTEOL [*] regex search now can match empty lines (^$) -> microed5.EditorSearch: S[X] returned nil, if X was out of range, therefore PCRE stopped the search -> added PreviousD to check if the current position equals the last (else cursor would always stay on empty line) SYNTAX HIGHLIGHT [-] RegKeyWords using leading spaces didn't work correctly [A] (Dandv,GPFault) -> Highlite.Highlites.CheckEmpty optimization removed all leading spaces: now disabled if RegKeyWords are used [-] RegKeyWords: 'big' fix, all possible regex keywords should now work * using ^ inside of '()' weren't handled (GPFault) [NC] * lookahead/behind didn't work '(?<!\\)\$[a-z]+' [NC] (Dandv) -> Highlite.TRegKeywordCollection.SearchIn now receives full subject and uses the new pcregexp.TpcRegExp.SearchOfs [-] colorkeywords search was not correctly working (Garl) [A] -> highlite.TKeywordCollection.SearchIn didn't compare length if I=K FILE PANEL [-] dragging totals (from free space) showed wrong file count [NC] (Garl) -> flpanel.DragTotals used panel count instead of selection count [*] Make list file displayed a unusable warning before overwriting existing list files (Garl) [NC] -> filelist.MakeListFile uses messages.FmtFile to create the msg before calling MessageBox DIRECTORY TREE [-] copy/move from tree crashed (Garl) [A] -> filecopy.CopyDialog didn't check for nil-owner when trying to add the passive filename to history [-] PFileRecs weren't initialized correctly, resulting in crashes when disposing (copy/move/delete) -> filling with zero after startup [A] [*] commented PTreeReader in dnutil.TDNApplication.InitCommandLine (didn't do anything) [-] open tree, close ndn, restart -> crash: tree@1628 [NC] -> dnutil3.TDataSaver saved/loaded too much and into wrong position, coincidentely into tree.DrvTrees, now uses 2 separate sequences to load fviewer.(LastViewerBounds|LastViewerDeskSize) [*] tree.pas: removed all hard coded DeleteAll/Dispose PCollection code since it's already done by Dispose(<ptr>, Done) (FreeObject) [*] tree.DrvTrees initialization is now done in tree only, removed from dnutil and only visible to tree code DBF VIEWER [-] crash when trying to view memo field (Garl) [NC] a) dbvfiew.TDBViewer.HandleEvent.ViewMemo ASM byte swap code didn't save ebx: removed ebx usage and improved the code B) fviewer.PNFileViewer.Init now uses Quickview if it is given a Stream ARCHIVES [-] newer versions of 7Z.EXE don't always show compressed file size in their listing, so NDN didn't display these files (Vladimir Bochkarev) [A] -> archiver.ReadArcList: skipping last read after PSize if no more data DNEXEC/EXTERNAL VIEWER/EDITOR DNEXEC.EXECUTEFILEEXT/LOCAL_GLOBAL_MENUS [-] D32/W32 (NT) exec: various problems with LFN * cmdline: executing 2 LFN enclosed in "" (f.ex. "note pad" "a b.txt") resulted in cmd.exe not finding file "note" [NOC] (Dandv) * ext viewer/editor didn't handle LFN (see above) (Dandv) [NC] -> W32 dnexec._ExecString now always encloses the complete line into ""; cmd.exe probably removes the first and last '"' -> D32 now always tries to get the SFN for the filename -> removed global dnexec.(ExecutingExtFile|Params) HISTORIES [-] wrong color of (un)marked items in edit/view histories (Dandv) [NC] -> histries.TTHistList.IsSelected used wrong data to check if selected get it here: http://ndn.muxe.com/beta.php Stefan / AH Share this post Link to post Share on other sites