[geany/geany] 5f0e46: Fix finding paths in the document list on Windows

Nick Treleaven nick.treleaven at xxxxx
Tue Nov 1 16:13:22 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/geany/geany

  Commit: 5f0e46e07e3deaf5543b9920ae092711a31f6445
      https://github.com/geany/geany/commit/5f0e46e07e3deaf5543b9920ae092711a31f6445
  Author: Nick Treleaven <nick.treleaven at btinternet.com>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M src/sidebar.c

  Log Message:
  -----------
  Fix finding paths in the document list on Windows

Finding paths in the tree was not case-insensitive either.


  Commit: 13597df9dffdcbd3091aac224d20b1924c563bde
      https://github.com/geany/geany/commit/13597df9dffdcbd3091aac224d20b1924c563bde
  Author: Nick Treleaven <nick.treleaven at btinternet.com>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M src/utils.c

  Log Message:
  -----------
  Convert Unix path separators on Windows when opening documents

Unix path separators can occur e.g. when using MSYS.
Windows does not allow filenames to contain Unix path separators so
this should be safe.


  Commit: f31a84869d45980a7ecb27f5a4d6c3588c547eee
      https://github.com/geany/geany/commit/f31a84869d45980a7ecb27f5a4d6c3588c547eee
  Author: Nick Treleaven <nick.treleaven at btinternet.com>
  Date:   2011-11-01 (Tue, 01 Nov 2011)

  Changed paths:
    M src/document.c
  M src/editor.c

  Log Message:
  -----------
  Minor code cleanup for document_update_type_keywords()

Fix correctly checking result of editor_lexer_get_type_keyword_idx().
Do not check IS_SCINTILLA unnecessarily (this is covered by DOC_VALID).
Do not use G_[UN]LIKELY macros as this complicates code without any
real benefit (unless in a tight loop).


Compare: https://github.com/geany/geany/compare/fdd5537...f31a848



More information about the Commits mailing list