node-sword-interface 0.242.0 → 0.246.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +1 -1
  2. package/examples/install_kjv.js +1 -1
  3. package/examples/print_kjv_matthew.js +1 -1
  4. package/index.js +1 -1
  5. package/locales.d/da-utf8.conf +310 -18
  6. package/locales.d/da.conf +4 -4
  7. package/locales.d/hu-utf8.conf +46 -33
  8. package/locales.d/ru-utf8.conf +2 -1
  9. package/locales.d/ru_RU-utf8.conf +2 -1
  10. package/locales.d/uk-utf8.conf +1 -0
  11. package/locales.d/vi-utf8.conf +51 -0
  12. package/package.json +1 -1
  13. package/scripts/build_sword.sh +4 -8
  14. package/scripts/get_sword_build_win32.ps1 +2 -2
  15. package/scripts/get_sword_include_path.sh +1 -1
  16. package/scripts/get_sword_library.sh +1 -1
  17. package/src/napi_module/api_lock.cpp +1 -1
  18. package/src/napi_module/api_lock.hpp +1 -1
  19. package/src/napi_module/binding.cpp +1 -1
  20. package/src/napi_module/install_module_worker.cpp +1 -1
  21. package/src/napi_module/install_module_worker.hpp +1 -1
  22. package/src/napi_module/module_search_worker.cpp +1 -1
  23. package/src/napi_module/module_search_worker.hpp +1 -1
  24. package/src/napi_module/napi_sword_helper.cpp +1 -1
  25. package/src/napi_module/napi_sword_helper.hpp +1 -1
  26. package/src/napi_module/node_sword_interface.cpp +1 -1
  27. package/src/napi_module/node_sword_interface.hpp +1 -1
  28. package/src/napi_module/worker.hpp +1 -1
  29. package/src/node_sword_cli.cpp +12 -2
  30. package/src/sword_backend/common_defs.hpp +1 -1
  31. package/src/sword_backend/file_system_helper.cpp +1 -1
  32. package/src/sword_backend/file_system_helper.hpp +1 -1
  33. package/src/sword_backend/module_helper.cpp +1 -1
  34. package/src/sword_backend/module_helper.hpp +1 -1
  35. package/src/sword_backend/module_installer.cpp +1 -1
  36. package/src/sword_backend/module_installer.hpp +1 -1
  37. package/src/sword_backend/module_search.cpp +3 -3
  38. package/src/sword_backend/module_search.hpp +1 -1
  39. package/src/sword_backend/module_store.cpp +1 -1
  40. package/src/sword_backend/module_store.hpp +1 -1
  41. package/src/sword_backend/mutex.cpp +1 -1
  42. package/src/sword_backend/mutex.hpp +1 -1
  43. package/src/sword_backend/percentage_calc.hpp +1 -1
  44. package/src/sword_backend/repository_interface.cpp +1 -1
  45. package/src/sword_backend/repository_interface.hpp +1 -1
  46. package/src/sword_backend/string_helper.cpp +1 -1
  47. package/src/sword_backend/string_helper.hpp +1 -1
  48. package/src/sword_backend/strongs_entry.cpp +1 -1
  49. package/src/sword_backend/strongs_entry.hpp +1 -1
  50. package/src/sword_backend/sword_status_reporter.cpp +1 -1
  51. package/src/sword_backend/sword_status_reporter.hpp +1 -1
  52. package/src/sword_backend/sword_translation_helper.hpp +1 -1
  53. package/src/sword_backend/text_processor.cpp +4 -4
  54. package/src/sword_backend/text_processor.hpp +1 -1
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by
@@ -36,8 +36,6 @@
36
36
  using namespace std;
37
37
  using namespace sword;
38
38
 
39
- #define SEARCHTYPE_ENTRYATTR -3L
40
-
41
39
  TextProcessor::TextProcessor(ModuleStore& moduleStore, ModuleHelper& moduleHelper)
42
40
  : _moduleStore(moduleStore), _moduleHelper(moduleHelper)
43
41
  {
@@ -475,7 +473,7 @@ vector<Verse> TextProcessor::getBookHeaderList(string moduleName, string bookCod
475
473
  ListKey scopeList = VerseKey().parseVerseList(bookCode.c_str(), "", true);
476
474
  SWKey* scope = &scopeList;
477
475
 
478
- ListKey resultKey = module->search("/Heading", SEARCHTYPE_ENTRYATTR, 0, scope);
476
+ ListKey resultKey = module->search("/Heading", SWModule::SEARCHTYPE_ENTRYATTR, 0, scope);
479
477
 
480
478
  static string titleStartElementFilter = "<title";
481
479
  static string titleEndElementFilter = "</title>";
@@ -484,6 +482,8 @@ vector<Verse> TextProcessor::getBookHeaderList(string moduleName, string bookCod
484
482
 
485
483
  for (resultKey = TOP; !resultKey.popError(); resultKey++) {
486
484
  module->setKey(resultKey);
485
+ module->renderText();
486
+
487
487
  VerseKey currentKey(resultKey.getShortText());
488
488
 
489
489
  // get both Preverse and Interverse Headings and just merge them into the same map
@@ -1,6 +1,6 @@
1
1
  /* This file is part of node-sword-interface.
2
2
 
3
- Copyright (C) 2019 - 2021 Tobias Klein <contact@tklein.info>
3
+ Copyright (C) 2019 - 2022 Tobias Klein <contact@tklein.info>
4
4
 
5
5
  node-sword-interface is free software: you can redistribute it and/or modify
6
6
  it under the terms of the GNU General Public License as published by