Commits on May 14, 2017
  1. Fix crash in f98feb2

    My modification of the commit to use m_list->CallAfter() for invocation
    didn't check if m_list is non-NULL.
    committed May 14, 2017
Commits on May 13, 2017
  1. Remove the now-unusable Ubuntu repo

    They no longer provide packages for trusty, so back to square one and
    compiling my own put into ppa:vslavik/poedit.
    committed May 13, 2017
Commits on May 12, 2017
  1. Update wxWidgets

    committed May 12, 2017
Commits on May 11, 2017
  1. Invoke DDE operations asynchronously

    When reacting to DDE commands on Windows, sent when poedit.exe is
    invoked while already running, return as soon as possible and perform
    the actual operation at idle time.
    The reason for this is that there's a timeout on DDE operations and if
    something takes longer to do (e.g. loading a PO file), it may show a
    confusing error message. This way we limit synchronous inter-process
    communication to the minimum.
    See also the discussion in #358.
    committed May 11, 2017
Commits on May 10, 2017
  1. Highlight 2+ spaces in the middle of string too

    highlighting not only leading or trailing whitespace, but unusual
    whitespace in the middle of the string too: if there's more than one
    subsequent whitespace, highlight it to draw attention to the fact.
    committed May 10, 2017
  2. Put warnings at top with errors in the list

    If "Entries with errors first" is selected, put items with errors at
    the top, followed by warnings, followed by the rest. Previously
    warnings weren't sorted as "less severe errors", but they arguably
    committed May 10, 2017
Commits on May 8, 2017
  1. Require wxWidgets >= 3.0.3

    committed May 8, 2017
Commits on May 4, 2017
  1. Update wxWidgets

    committed May 4, 2017
  2. Fix main window size restoration on Windows 10

    Shrinking of remembered size was caused by mCtrl-based menu having
    height 0 for some reason at just the crucial time. Fix by always using
    best size too.
    committed May 4, 2017
  3. Update for Xcode 8.3

    committed May 4, 2017
Commits on May 2, 2017
Commits on Apr 22, 2017
  1. Don't set plural notebook selection if no tabs

    Follow-up for 132edbb
    committed Apr 22, 2017
Commits on Apr 17, 2017
  1. Hopefully really fix disappearing menubar for good

    Previously: 5bc8e66
    Fixes #385.
    committed Apr 17, 2017
Commits on Apr 15, 2017
Commits on Apr 11, 2017
Commits on Apr 10, 2017
  1. Fix UTF-8 conversion of Emoji on Windows

    Unconditionally use boost::locale::conv::utf_to_utf() instead of trying
    to use std::wstring_convert<> when available, because the latter only
    works with wchar_t as UCS2/4. On Windows wchar_t strings use UTF-16 and
    so need a more complicated conversion, which utf_to_utf() handles
    transparently in all cases.
    This matters for characters outside of BMP, notably emoji.
    committed Apr 10, 2017
  2. Revert "Fix little space around notebook tabs in HiDPI"

    This reverts commit d39c08b.
    Modern versions of Windows no longer need it (and at the same time,
    they are pretty much required for quality HiDPI support anyway).
    committed Apr 10, 2017
  3. Use fixed width for status icon column in the list

    Fixes weird mis-sizing in some exceptional cases (and ever-so-slightly
    improves performance).
    committed Apr 10, 2017
  4. Fix false positive warnings on Chinese punctuation

    Chinese uses full-width punctuation to better fit with the script; this
    produces lots of spurious warnings in Poedit. Check if the correct
    Chinese alternative is used.
    committed Apr 10, 2017
  5. Fix false positive warnings on quotation marks

    Strictly requiring the same quotation mark punctuation at the end of
    text is too much, as different languages use different quotation marks.
    Ideally, Poedit should check if the correct quotation marks for the
    language are used, but for now, just treat all quotation marks as being
    equivalent to reduce the false positives.
    committed Apr 10, 2017
Commits on Apr 9, 2017
  1. More Unicode-proofing of xgettext calls

    Instead of repeating the code, use CliSafeFileName() in extractors
    code. Also apply it to the --directory flag.
    committed Apr 9, 2017
  2. Revert "Fix broken selection after using a suggestions (Win)"

    This reverts commit 6fb3516.
    The bug the above commit attempted to fix was actually caused by the
    lack of wxTE_NOHIDESEL (see #334) and was properly fixed in
    Fixes #353.
    committed Apr 9, 2017
  3. Fix refreshing of list after using Replace

    On macOS, the list wouldn't be refreshed after changes were made.
    committed Apr 9, 2017
  4. Mark file as modified after using Replace dialog

    Replacing text didn't properly mark the item and the file as modified
    before, as it should.
    Fixes #351.
    committed Apr 9, 2017
  5. Update wxWidgets

    committed Apr 9, 2017
  6. Win: Use wxTE_NOHIDESEL for translation controls

    Fixes drawing problems when setting selection programatically.
    Fixes invisible highlighting of search results from Find.
    Fixes #334.
    Alternative fix for this, if it ends up causing problems, would be to:
    1. override SelectAll() in AnyTranslatableTextCtrl to use
       wxWindowUpdateLocker before calling base class' implementation
       (bypasses the redrawing-problematic code in wxMSW).
    2. Use syntax highlighting (e.g. yellow background) for find results
       instead of using selection (solves the problem of selection not being
       shown if Find window has focus).
    committed Apr 9, 2017
Commits on Apr 8, 2017
  1. Autowrap ActivityIndicator errors

    Because errors coming from network may have unexpected length, it is
    necessary to wrap them to fit on screen. Similarly for translations of
    known Poedit-generated messages.
    Fixes #357.
    committed Apr 8, 2017
  2. Group multiline gettext errors into one

    Parse gettext errors that span multiple lines (e.g. the infamous
    gettext("") one) and log them as a single item. This improves display
    when reported to the user significantly.
    committed Apr 8, 2017
  3. Update wxWidgets

    Fixes #328.
    committed Apr 8, 2017