Activity for smitchell

  • smitchell smitchell committed [r247]

    In a Japanese file we have a NAME record entered as /松下/ 泰洋 with the surname positioned before the given names. Modify IndiView::extractGiven() to look for reversed order of the given names, and extract them when following the surname.

  • smitchell smitchell committed [r246]

    Add "src\Gedcom\ansiconv.h" and "src\Gedcom\ansiconv_inl.h" to the project.

  • smitchell smitchell committed [r245]

    Add include ansiconv.h for access to ANSI to UTF-16 conversion functions.

  • smitchell smitchell committed [r244]

    Add a new member function to class GedcomFile, createErrorLine() which creates a pure ASCII line with level number and tag "SKIP" to feed to the input stream when an exception occurs during the conversion of an 8-bit input stream to UTF-16. Only the level number is extracted from the original line.

  • smitchell smitchell committed [r243]

    Increase the buffer size in PrescanCharSet8() and PrescanCharSet16() calls from 512 to 1024. I have some sample files where CHAR does not occur until character position 700+.

  • smitchell smitchell committed [r242]

    Add new utility functions for converting between ANSI and UTF-16. These are slightly modified versions of Giovanni Dicanio's utf8conv.h and utf8conv_inl.h for ANSI character strings.

  • smitchell smitchell committed [r241]

    Add "src\Gedcom\GedcomCharSet.cpp" and "src\Gedcom\GedcomCharSet.h" to the project

  • smitchell smitchell committed [r240]

    Change ParsingThread::ThreadProc() to abort the parse if GedcomFile::OpenFile() returns false.

  • smitchell smitchell committed [r239]

    In OpenFile() member function create an instance of class GedcomCharSet, store to GedcomFile::m_charset member variable, and pass to CGedcomEncoding::GetFileEncoding() call.

  • smitchell smitchell committed [r238]

    Add a "GedcomCharSet* m_charset" member variable to class GedcomFile.

  • smitchell smitchell committed [r237]

    Modify IsEndOfLine16() to properly handle Big Endian comparisons.

  • smitchell smitchell committed [r236]

    Add include GedcomCharSet.h

  • smitchell smitchell committed [r235]

    Add GedcomCharSet* argument to member function GetFileEncoding()

  • smitchell smitchell committed [r234]

    Add new class GedcomCharSet, which scans an 8-bit or 16-bit GEDCOM file for a "CHAR" structure, which names the character set used by the GEDCOM. The value of the CHAR structure can help distinguish between different types of 8-bit files.

  • smitchell smitchell committed [r233]

    Remove "multimap<int, TagData> m_tags" that mapped from GEDCOM line number to a TagData structure.

  • smitchell smitchell committed [r232]

    Remove "multimap<int, TagData> m_tags" that mapped from GEDCOM line number to a TagData structure.

  • smitchell smitchell committed [r231]

    Remove "multimap<int, TagData>& m" argument to the following functions:

  • smitchell smitchell committed [r230]

    Remove definition of struct TagData.

  • smitchell smitchell committed [r229]

    Add includes for DebugTrace.h, to enable debug messages to be displayed.

  • smitchell smitchell committed [r228]

    Use std::set for storing unresolved record IDs: m_unresolvedIndi, m_unresolvedRepo, m_unresolvedSour, m_unresolvedFam; add new std::vector for m_reposDefined and m_famsDefined.

  • smitchell smitchell committed [r227]

    Remove "multimap<int, TagData> m_tags" that mapped from GEDCOM line number to a TagData structure. It is a holdover from TagsView which was based on ctags.exe parser output.

  • smitchell smitchell committed [r226]

    In NppWrapper::ShowIndiView(), if the "INDI View" is just being created, get the current buffer ID and pass it to ParseFile(), it will parse and display the results if it is a GEDCOM.

  • smitchell smitchell committed [r225]

    In the WM_INITDIALOG handler, change the ListView column headers from "Ref as Child" to "FAM as Child" and from "Ref as Spouse" to "FAM as Spouse".

  • smitchell smitchell committed [r224]

    Add new files to project, version.h, version.rc2, and IndiView-14a.ico

  • smitchell smitchell committed [r223]

    Add new files to project, version.h, version.rc2, and IndiView-14a.ico;

  • smitchell smitchell committed [r222]

    In NppWrapper::ShowIndiView() when registering the docking dialog with Notepad++, include an icon for the tab and also explicitly name the dialog through the pszName member.

  • smitchell smitchell committed [r221]

    Extract VERSIONINFO resource into version.rc2 and include it in Plugin.rc

  • smitchell smitchell committed [r220]

    Move the VERSIONINFO resource into a separate non-writable (by Visual Studio) resource script, version.rc2, that is included by Plugin.rc. This will preserve the conditional strings depending on the PLATFORM constants, PLATFORM__x86, PLATFORM__x64, and PLATFORM__ARM. Also use an include file, version.h, where some version constants may be defined.

  • smitchell smitchell committed [r219]

    Add icon resource ID, IDI_ICON_INDI

  • smitchell smitchell committed [r218]

    14x14 pixel icon to display on the docking dialog tab for IndiView

  • smitchell smitchell committed [r217]

    In IndiView::run_dlgProc() call OnLVNColumnClick() handler for ListView notification, LVN_COLUMNCLICK; this changes the arrow state for the selected column, and potentially initiates a sorting operation.

  • smitchell smitchell committed [r216]

    Add support for ListView column sorting...

  • smitchell smitchell committed [r215]

    Reset the state of ListView header (state variables and visual cues) by a call to IndiView::resetHeaderState().

  • smitchell smitchell committed [r214]

    Add an accessor method for the private member m_indiView: IndiView& GetIndiView()

  • smitchell smitchell committed [r213]

    Change "const std::vector<wstring>& GetIndisDefined() const { return m_indisDefined; }" to

  • smitchell smitchell committed [r212]

    In VirtualList::init(), remove LVS_NOSORTHEADER style; this was preventing the ListView from generating LVN_COLUMNCLICK notifications.

  • smitchell smitchell committed [r211]

    Pass "ULONG_PTR bufferID" argument to ParseFile(); use the passed bufferID and not GetCurrentBufferID() to determine the LangType; the bufferID reported by NPPM_GETCURRENTBUFFERID seems to lag behind the values passed to the notifications.

  • smitchell smitchell committed [r210]

    In VS_VERSION_INFO, bump revision to 210.

  • smitchell smitchell committed [r209]

    In the LVN_GETDISPINFO handler for the VirtualList, populate column 4 with an appropriate string, either "I23 as spouse" or "No occurrence". Append a "+" if there are multiple spouses, and only one is displayed.

  • smitchell smitchell committed [r208]

    In CGedcomParse, findTags(), TAG_HUSB and TAG_WIFE is handled for FAM records, to call InsertIndiAsSpouseLine() for all INDIs.

  • smitchell smitchell committed [r207]

    Create a new CGedcomData unordered_multimap m_IndiAsSpouseToLine from wstring (INDI record ID) to line number in GEDCOM file, where this INDI is referenced as a HUSB or WIFE in a FAM structure.

  • smitchell smitchell committed [r206]

    Move the NM_DBLCLK handler for the VirtualList into a separate member function,

  • smitchell smitchell committed [r205]

    In CGedcomParse::findTags(), TAG_CHIL is handled for FAM records -- added call to InsertIndiAsChildLine() for all INDIs.

  • smitchell smitchell committed [r204]

    Create a new CGedcomData map m_IndiAsChildToLine from wstring (INDI record ID) to line number in GEDCOM file, where this INDI is referenced as a Child, in FAM structure.

  • smitchell smitchell committed [r203]

    In VS_VERSION_INFO, set the value of "FileDescription" at resource compile time depending on the preprocessor macros: PLATFORM__x86, PLATFORM__x64, PLATFORM__ARM, or none. Bump revision to 203.

  • smitchell smitchell committed [r202]

    In GetPluginVersion(), define a constant string "const TCHAR* platform" depending upon which preprocessor macro is defined: PLATFORM__x86, PLATFORM__x64, PLATFORM__ARM (if any); append this string at the end of strPluginVersion. Also, expand the displayed version to include the revision number.

  • smitchell smitchell committed [r201]

    Define a C++ compiler and resource compiler preprocessor constant PLATFORM__$(PlatformTarget). Visual Studio replaces the macro $(PlatformTarget) with either "x86" for Win32 builds, "x64" for x64 builds, or "ARM" for ARM builds.

  • smitchell smitchell committed [r200]

    Fix the version of the next release at 0.6.0. The next update adds enough new functionality, that it should be .1 increment.

  • smitchell smitchell committed [r199]

    Add "src\ListView\VirtualList.cpp" and "src\ListView\VirtualList.h" to project

  • smitchell smitchell committed [r198]

    Add "src\ListView\VirtualList.cpp" and "src\ListView\VirtualList.h" to project

  • smitchell smitchell committed [r197]

    Replace references to "ListView _listView;" with "VirtualList _virtualList;"

  • smitchell smitchell committed [r196]

    Change the "..\ListView\ListView.h" include with "..\ListView\VirtualList.h"

  • smitchell smitchell committed [r195]

    Class VirtualList which derives from class ListView. Implements a listview with LVS_OWNERDATA style

  • smitchell smitchell committed [r194]

    These files are brought over from Notepad++ v8.4.2 sources. They provide a ListView windows control wrapper.

  • smitchell smitchell committed [r193]

    Files for the ListView control wrapper classes

  • smitchell smitchell committed [r192]

    Initial implementation of a basic GEDCOM v5.5.1 parser.

  • smitchell smitchell committed [r191]

    Windows conversion utilities between UTF8 and UTF16 using MultiByteToWideChar() and WideCharToMultiByte() APIs

  • smitchell smitchell committed [r190]

    Directory for the GEDCOM parser files

  • smitchell smitchell committed [r189]

    These files are brought over from Notepad++ v8.4.2 sources. They provide the "Docking Window Feature" for plugins.

  • smitchell smitchell committed [r188]

    Add dialog resource IDD_INDI_VIEW, used for the docking IndiView.

  • smitchell smitchell committed [r187]

    Add new source files to the project:

  • smitchell smitchell committed [r186]

    Add Comctl32.lib to the linker dependencies -- needed for ListView.

  • smitchell smitchell committed [r185]

    Replace the include file DebugTrace.h with LexerTrace.h. This disables debug messages from the lexer unless the LexerTrace.h preprocessor macros _LEXER_TRACE and also possibly _TRACE_DETAIL are defined by uncommenting them in Lexer.h

  • smitchell smitchell committed [r184]

    Use preprocessor macros _LEXER_TRACE and _TRACE_DETAIL to control the debug tracing in the lexer. By default these two macros are not defined. One or both of the macros need to be uncommented to enable debug tracing.

  • smitchell smitchell committed [r183]

    The preprocessor macro _TRACE_LEXER enables DebugTrace() output by using this include file instead of DebugTrace.h; this allows the verbose debug output from the lexer to be turned off, while other debug messages are still displayed. This include is only used in Lexer.cpp

  • smitchell smitchell committed [r182]

    Initial implementation of IndiView derived from DockingDlgInterface.

  • smitchell smitchell committed [r181]

    Add class ParsingThread which wraps launching a worker thread for parsing a GEDCOM file.

  • smitchell smitchell committed [r180]

    Add open source copyright to header

  • smitchell smitchell committed [r179]

    Add notification handlers for NPPN_BUFFERACTIVATED, NPPN_FILEOPENED, NPPN_FILEDELETED, and NPPN_FILEBEFORECLOSE; the handlers have been moved into NppWrapper member functions

  • smitchell smitchell committed [r178]

    Add notification handler OnFileDeleted(), for Npp notification, NPPN_FILEDELETED.

  • smitchell smitchell committed [r177]

    Use the Npp call to setInfo(), to initialize NppWrapper with the Npp main window handle, and to store the window handles to the two Scintilla instances.

  • smitchell smitchell committed [r176]

    Add dialog resource ID, IDD_INDI_VIEW, for IndiView

  • smitchell smitchell committed [r175]

    A single instance of NppWrapper is used to wrap the hModule passed to the DLL.

  • smitchell smitchell committed [r174]

    A single instance of NppWrapper is used to wrap the hModule passed to the DLL.

  • smitchell smitchell committed [r173]

    Add class NppWrapper derived from NppPlugin.

  • smitchell smitchell committed [r172]

    Add base class NppPlugin to wrap DLL's module handle and Npp's main window handle

  • smitchell smitchell created a blog post

    GedcomLexer 0.5.0 r170 has been released! (18 July 2022)

  • smitchell smitchell modified ticket #12

    Plugin Manager fails to install styler XML file

  • smitchell smitchell modified ticket #11

    Change lexer interface for Npp version 8.4

  • smitchell smitchell created ticket #12

    Plugin Manager fails to install styler XML file

  • smitchell smitchell modified ticket #11

    Change lexer interface for Npp version 8.4

  • smitchell smitchell created ticket #11

    Change lexer interface for Npp version 8.4

  • smitchell smitchell committed [r171]

    GedcomLexer version 0.5.0 at revision 170

  • smitchell smitchell committed [r170]

    Bump revision to r170 in Plugin.rc, Deploy.vcxproj and install.txt

  • smitchell smitchell committed [r169]

    Revise installation instructions to use latest file names

  • smitchell smitchell committed [r168]

    Indicate build now uses Visual Studio 2019;

  • smitchell smitchell committed [r167]

    Add file names to svn:ignore list

  • smitchell smitchell committed [r166]

    Change version from 0.4.0.140 to 0.5.0.165.

  • smitchell smitchell committed [r165]

    Change version from 0.4.0.140 to 0.5.0.165.

  • smitchell smitchell committed [r164]

    In configLoad() label the DebugTrace as coming from "GedcomLexer: configLoad()" and not "GedcomLexer: getConfigFilePath()"

  • smitchell smitchell committed [r163]

    configLoad() - verify full XML file is written, else prompt user to copy the config file

  • smitchell smitchell committed [r162]

    Comment wording corrected.

  • smitchell smitchell committed [r161]

    Add "const char* xmlContent" which points to a string containing the default GedcomLexer.xml.

  • smitchell smitchell committed [r160]

    In setInfo() add comment regarding purpose of configLoad() call.

  • smitchell smitchell committed [r159]

    Remove extern reference to configLoad() and remove the call to configLoad() from GetLexerStatusText()

  • smitchell smitchell committed [r158]

    Use the setInfo() callback at the beginning of the plugin initialization to call configLoad() rather than doing it later in GetLexerStatusText(). The GetLexerStatusText() callback is discontinued since Notepad++ 8.4

  • smitchell smitchell committed [r157]

    Use explicit namespaces for Scintilla and Lexilla components;

  • smitchell smitchell committed [r156]

    Use explicit namespaces for Scintilla and Lexilla components;

  • smitchell smitchell committed [r155]

    Use explicit namespaces for Scintilla and Lexilla components;

  • smitchell smitchell committed [r154]

    Add LexAccessor.cxx to project from Lexilla's lexlib;

1 >