Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching application with custom scheme crashes Lipika #14

Closed
ratreya opened this issue Jan 16, 2016 · 0 comments
Closed

Switching application with custom scheme crashes Lipika #14

ratreya opened this issue Jan 16, 2016 · 0 comments
Labels

Comments

@ratreya
Copy link
Owner

ratreya commented Jan 16, 2016

  1. Switch to Lipika Input Source from application A
  2. Select a custom scheme
  3. Switch to another application B
  4. LipikaIME crashes with a beep and logs the following:

Fatal: Error initializing. Unable to read file "/Library/Input Methods/LipikaIME.app/Contents/Resources/Schemes/Google/ITRANS.scm" due to: Error Domain=NSCocoaErrorDomain Code=260 "The file “ITRANS.scm” couldn’t be opened because there is no such file." UserInfo=0x600000266ac0 {NSFilePath=/Library/Input Methods/LipikaIME.app/Contents/Resources/Schemes/Google/ITRANS.scm, NSUnderlyingError=0x60000045e420 "The operation couldn’t be completed. No such file or directory"}

@ratreya ratreya closed this as completed Jan 16, 2016
@ratreya ratreya added the bug label Jan 2, 2017
ratreya pushed a commit that referenced this issue Jul 9, 2017

* [Checking in untested initial code for parsing]

* [Added ability to parse headers]
[Added placeholders for parsing mapping]
[Added a simple test]

* [Added more parsing logic]

* [Added nested class functionality]
[Added more logic to the method engine]

* [Complete configuration parsing logic]
[Added more tests]

* [Added more tests]
[Fixed a bug in Barahavat where in LRu was conflicting]

* [Added tests for the input method engine]
[Fixed bugs in the input method engine]

* [Fixed multiple bugs]
[Added more tests]

* [Removing unwanted xscheme]

* [Added whitespace and stop character handling logic]
[Using setup and teardown for tests]

* [Added scheme factory]
[Added logic to use factory from the controller]

* [Fixing test link error]

* [Added logic in controller to use the engine and produce output]
[Added scheme cache so each scheme is only parsed once]

* [Added a buffer manager abstraction]
[Fixed bugs in output orchestration]
[Fixed bugs in whitespace handling]
[Added tests for buffer manager]

* [Expanding out class mapping into a fully fleshed out parse sub-tree]
[Handling the case when input can have multiple characters]

* [Fixed bug with nil output but non-nil result]
[Added regression test for the same]

* [Moved the stop and whitespace management to buffer manager]
[Fixed bug wherein newline did not flush]
[Fixed bug wherein stop character would not echo correctly]
[Fixed tests]

* [Adding missing files]

* [Untracking .DS_Store]

* [Added GNU license]

* [Corrected license in InfoPlist.strings]

* [Removing user specific project files]

* [Added functionality to show unfinalized output in candidate window]

* [Added functionality to replay more than one remaining inputs at root]
[Defensive thread-safety]

* [Added tests for replay remaining at root functionality]

* [Revisions to Barahavat to optimize the use of Shift key]

* [Adding .gitignore and renaming readme/license files for github]

* [Moved most of the text from README to the github wiki]

* [Fix to have full word in candidate window]

* [Fixed bug with delete wherein finalizedIndex was not updated]

* [Fix for issues #9 and #10]

* [Added release notes to README]

* [Menu functionality and ability to change input schemes]
[User settings and ability to persist user preferences]
[Placeholder for preferences menu item]
[Added itrans.scm from www.aupasana.com]
[Fixed parse issue with Windows style CR LF]

* [Changed README to markdown]
[Candidate automatic dismissal turned off]

* [Preference window UI]
[User settings storage management]

* [Fixed bug where settings were not taking effect]
[Fixed preference reset bug]

* [Fixed test build errors]

* [Fixed default background color in color well]
[Fixed input validation to include non-numbers check]
[Default font size to 18]

* [Fixed delete semantics to delete single output character at a time]
[Cleaned up unused functions in buffer manager]

* [Added other items to .gitignore]
[Fixed bug in engine to echo non-mapped input]
[Changed delete semantic to delete single output characters]
[Fixed #11: Indirect candidate window dismissal not caught]
[Changed ITRANS.scm to use class mapping]

* [Using NSUserDefaultsController]

* [Fixed build errors - adding back inadvertently deleted message]

* [Fixed issue with setting not taking effect immediately]

* [Fixed bug with scheme parsing logic to take into account header configuration]
[Added test for the fix]
[Changed ITRANS to conform to version 5.30]

* [Updated README file]

* [Fix for #2: configurable logging management]

* [Added ability to configure log level]
[Configurable backspace behavior]
[Configurable switching between apps behavior]

* [Fixed outlet connections for the preferences dialog]

* [Fixed read me file header levels]

* [Reorganizing source files]

* [Standardized the set of symbols in scheme files]

* [Tracking inputs along with outputs in Engine and Buffer Manager]
[Added functionality to delete input character at a time and incrementally regenerate output]

* [Initial commit; has issues]

* [Cleaning up]

* [Moving UI related files to its own directory]

* [Abandoning idea of using custom candidate window]

* [Fixed bug with preference reset]

* [Fixed bug with default attributes]
[Added icon file]

* [Updated README file]

* [Added test that shows problem with input echo for nil output]

* [Fixed version numbers]
[Fixed ability to change candidate string type when candidate disabled]

* [Fix to echo inputs with nil outputs]

* [Adding art work and DMG files to github]

* [Added "Open schemes directory..." menu item]

* Updated README.md with installation instructions

* [Fixed link and grammer]

* [Added Harvard-Kyoto scheme for Devanagari]

* [Fixed collisions in Harvard-Kyoto scheme]

* [Expanded background to larger image]
[Fixed Barahavat to reduce use of backtack key]

* [Corrected name in scheme]

* [Updating installation instructions]

* [Added Kannada mappings]
[Better menu support for multiple languages]
[Revamped preferences]

* [Updated versions and README file]

* [Fixing bug with default configuration]

* [Disabling controls when not relevant]

* [Added mappings for Telugu]
[Fixed bug in Kannada ITRANS mappings]

* [Added Barahavat for Telugu]

* [Persisting format string entered by user]

* [Added functionality to convert files using current mapping scheme]

* [Alert to inform user that file conversion is complete]

* [Refactored scheme construction into a separate factory class]

* [Added UI element and settings for combining glyphs]

* [Refactoring out forward mapping logic into its own class]

* [Refactored scheme file parsing logic into DJInputMethodScheme class]

* [First cut of the reverse mapping algorithm]

* [Complete reverse mapping algorithm]

* [Fixed bug in reverse mapping trie traversal]
[Added reverse mapping test cases]

* [Flushing out xcode update changes]

* [Hooked up reverse mapping to input controller]
[Fixed bugs associated with candidate window]

* [Git ignoring checkout file]

* [Updated version and release notes]

* [Reverse mappings are always created]

* [Updated tests to remove unnecessary configuration]

* [Added reverse mapping functionality during delete]

* [Conditioned delete reverse mapping on user setting]

* [Fix for #20: stop character does not work with reverse mapping]

* [Fix for #21: uncommitted string does not combine with previous glyph]

* [Fix for #22: �deletion of selected text does not work]

* [Fix for #23: continuous backspacing is slow]

* [Fixed bug with combining after delete of non mappable character]

* [Fix for #24: deletion of whitespace does not trigger previous text parsing]

* [Preference window fixes for Maverick]

* [UI adjustments for Maverick]

* [Adding volume icon for DMG]

* [Adding input mappings for Tamil]

* [Adding development team Id]

* [Updated installation steps to use installer]

* [Changes to enable installation using pkg installer]

* [Removing unnecessary files from installation]

* [Adding Barahavat for Tamil]

* [Minor fix to mapping file]

* [Converting license to proprietary software]

* [Abstracted out scheme parsing to support multiple scheme formats]

* [Rearranged source directory structure to match Xcode groups]

* [Simplified Lipika scheme format]
[Added ability to list custom schemes on the menu]

* [Added parsing logic for Lipika IME file format]

* [Moving SCM test cases to its own directory]

* [Consolidated header files and renamed existing tests]

* [Reorganized physical file structure]

* [Installer build script to rebuild source]

* [Updated text to reflect new language and input scheme support]

* [Added source dependencies for unit tests]

* [Fixes to Lipika scheme parsing logic]

* [More fixes to Lipika scheme parsing logic]

* [Renamed test classes to match file names]

* [Minor fixes in Lipika Scheme Factory]

* [Fixed loading of default ime file]

* [Fixed regular expressions to be more permissive]
[Added preliminary Hindi mappings]

* [Refactored out scheme helper methods into its own class]

* [First set of refactoring changes]

* [Refactored out a common Trie data-structure]

* [Fixed reverse mapping test bug]

* [Added post-processing functionality to Lipika scheme]

* [Refactored out Input Controller logic into a separate class]
[Moved stop character handling into the engine]

* [More tests and bug fixes]

* [Removing unnecessary xcode reference]

* [Added test framework for Client Manager]

* [More Client Manager tests and a few bug fixes]

* [Fixed but with Test Client]

* [Disable previous text parsing for clients that do not support it]

* [Adding all supported scripts to Info plist]

* [Fix for 32-bit applications]

* [Added support for class prefix in SCM scheme format]

* [Fixed logging issue in scheme parsing]
[Fixed SCM case-sensitive header issue]
[Better scheme parsing exception handling]

* [Simplified behavior of the change scheme API]

* [Refactored common file reading function]

* [Refactored out engine into a separate framework]

* [Fixed scheme path in tests and added back bundle resources]

* [Fixes to statically link engine framework]

* [Refactored engine factory for better error handling]

* [Fixed Icons for Input Source and Application]

* [Created a common helper class]
[Preliminary code for application]

* [Fixed LipikaHelper to only have extern static functions]

* [Moving README and LICENSE files]

* [Minor updates to README.md]

* [Added Ksharanam scheme developed by Ambarish Sridharanarayanan - GNU3 license]

* [Fixed assumed Halanta for North Indian languages]
[Fixed Gurmukhi to use TIPPI and ADDAK]

* [Fixed Gurmukhi rules for Addak and Tippi]

* [Abandoning half-baked Application code]

* [Removed unused frameworks]

* [Fixed bugs in Ksharanam]

* [Fixed to install without restart]

* [Fix to sign code with correct certificate]

* [Improved file conversion functionality]

* [Fixed bug in reverse mapping]

* [Fixed bug with menu selection with custom scripts]

* [Fixed error alerts to run on main thread]

* [Users to manually add input source]

* [Updated installation link to the wiki]

* [Explicitly checking for nil bundleId]

* [Accessing main menu directly from NSApp]

* [Added mapping for Marathi eyelash-RA glyph]

* [Fixed bug in mainMenu reference]
[Fixed line endings in configuration files]

* [Fixed to be resilient to missing directories]

* [Added more explanation on installing Google SCM files]

* [Moving Google SCM instructions to wiki]

* Fix various bugs in Ksharanam scheme; disambiguate alveolar and dental liquids,

* Lipika works not just for IE languages, but for Indic languages in general.

* Remove non-Tamil characters from Tamil.map; add new TamilWithGrantha map.

* New keymap for the Grantha script, newly encoded in Unicode 7.0

* Small inaccuracy in README.md

* Rename map file to be with spaces, for easier readability.

* [Support for multi-character output]

* [Fixed bug in saveSettings]
[Removed batching of logs since it is no longer necessary]
[Fixed code signing]

* [Fixed code signing issue]

* [Fixed bundleid in installer]

* [Signing fix for realz this time]

* Supporting the ISO-15919 standard for transliterating Indic text.

* Add Dravidian characters to Latin map.

* [Updated with recent script additions]

* [Fixed gammatial errors]

* Renamed Latin (ISO-15919).ime to NoInherentA.ime to better reflect semantics. Removed special handling of dependent vowel 'a' for schemes using that .ime.

* New scheme for generating IPA for Sanskrit and Tamil phonemes.

* Include IPA in README.

* Remove superfluous DIGITs from ISO-15919 map and IPA map, and from NoInherentA.

* [Fix for #10]

* [Fix for #11]

* Fix retroflex approximant output code-point in IPA.map.

* Add alevolar voiced plosive for Tamil IPA, and thus for other scripts used for Tamil.

* Use tabs instead of spaces.

* Undo previous commit.

* Revert "Undo previous commit."

This reverts commit 2e820c5.

* Revert "Use tabs instead of spaces."

This reverts commit 7e217dc.

* Try #2. Spaces to tabs.

* Fix bug with IPA map for alveolar liquid

* Add danda/double danda to Grantha

* [Fix for issue #14 and tests to work on Xcode 7.0]

* [Release notes moved to release section]

* [Moving out release notes]

* [Updated bundle version number]

* [Added Keyboard submodule]

* [Issue reporting link]

* [Fix for Issue #19]

* Use U+03A9 instead of U+2126 for OM symbol in Latin, as U+2126 is deprecated.

* Add Udatta/Anudatta accents and Jihvamuliya/Upadhmaniya to Grantha script

* In the renamed ISO-15919 keymap, use U+03A9 instead of U+2126 for OM symbol, as U+2126 is deprecated.

* According to Shriramana Sharma, visarga is glottal, not velar.

* Danda/Double Danda in ISO-15919

* Add Vedic Anusvaras to Ksharanam keymap, and to Bengali, Devanagari, Grantha and Kannada as appropriate.

* Add Vedic Anusvara support to other Transliteration schemes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant