By the way, I gave you admin rights in the project.
Thank you for the tip! I'm not a daily Tombo user, but my friend may have it usefull. ;-)
Fixed in Tombo-U 3.0beta6 thanks to @zharik!
Created new topic https://sourceforge.net/p/tombo-u/discussion/general/thread/f719c593e8/
Cross reference to comment https://sourceforge.net/p/tombo-u/discussion/general/thread/7ef0b7d5ac/#b3c7/537e/7cd4
This is not urgent for me, but I kept forgetting to do this. I went ahead and opened https://github.com/clach04/tombo/issues/7 just now.
the encoding options for Tombo 3.0b6 are: Unicode(UTF16LE) UTF-8 ANSI (system non-Unicode) The top one is incorrect, the bottom one is not wrong but it is potentially misleading Either need to support UTF16 (LE) or update label to "Unicode(UCS2-LE)". The last one should reflect "local code page".
That's a good news / bad news situation. Nice work on figuring this out and fixing. If you need a tool that can fix a bunch in batch, take a look at ptrecrypt in puren tonbo. It's a relatively new tool but it may help here. Below is a single file test but it works recursively. bad_test was created with v3.0b5 in the current directory: C:\tmp\TomboU-3.0.0-beta5>C:\code\puren_tonbo\py3.12.5venv\Scripts\ptrecrypt.exe --destination-directory c:\tmp\fixed --new-password password . 'Puren Tonbo ptcipher...
Fixed version 3.0.0-beta6 is availabkle for download.
Added tag TOMBO_U_3_0_BETA_6 for changeset 824851681e59
Prepare to release.
Improve encryption issues message.
Fix encryption issue for notes saved with Tombo (U) versions up to beta5.
Fix for bug "Decryption of old tombo Files" - partial reverting 09c47a17db40
Well, the evil lived here: https://sourceforge.net/p/tombo-u/code/ci/09c47a17db4048ab28a7394e174a0221b30bc845/tree/Src/PasswordDialog.cpp?diff=5aae1ee2099d7c12c80a4b1617e6a46f8f494eb8 in the PasswordDialog::OnOk() handler +#if 0 pPassword = ConvUnicode2SJIS(pPass1); - +#else + pPassword = pPass1; +#endif WipeOutAndDelete(pPass1); return (pPassword != NULL); the returned pointer was assigned directly and correpsonding data was filled with zeroes inside of WipeOutAndDelete(pPass1). That mean that most...
Yes, silent remapping of the Face symbol works for my Windows too. It looks like Segoe UI Symbol should contain this character, but Character Map Application does not show anything higher than 0xFFFF - so I cannot prove it. By the way, if I save a copy of your emoji.txt in Windows Notepad with UTF-16LE encoding - the symbols are replaced with 2 2-byte words and shown by TomboU as two empty boxes. Anyway it is not higher priority issue at the moment. ;)
Yes, yet another format makes more troubles than solves. Let fixed TomboU to clean up its garbage. ;-)
I don't have a good suggestion for dealing with the TomboU 3.0 chi files. From my perspective the current format is wrong, i.e. its a bug not a variant. The files claim to be BF01... and that's not what it is. The below (and attached) is from Tombo-U 3.0.0-beta5 with password, "password" (no quotes), content: C:\>xxd C:\tmp\TomboU-3.0.0-beta5\test.chi 00000000: 4246 3031 0c00 0000 07d4 8cb2 9226 a99a BF01.........&.. 00000010: 0dff d717 e646 f25b 3f58 2e4d d4a0 db92 .....F.[?X.M.... 00000020: f241...
Ahhh, that's not going to work. UCS2 is limited to the BMP (Base MultilIngual Plane) https://en.wikipedia.org/wiki/Plane_(Unicode) That would explain why the text file version https://github.com/clach04/puren_tonbo/tree/main/puren_tonbo/tests/demo_notes/unicode doesn't load into Tombo-U (I just tried it). It looks like Tombo-U is limited to Plane 0. Tombo-U would need UTF-16 support to handle that. The default setting for encoding for Tombo-U is UTF-16LE so this is a hole in the Unicode support....
Well these ones are 4-bytes UTF-8 that are not supported by ConvUTF8ToUCS2 in Uniconv.cpp :-\ So the file empoji.chi is not readable.
I think reverting password routines back from TCHAR will make us compatible with legacy memo notes. I have reverted the changeset and it looks like working. The only issue - reading ones created with existing version of Tombo(U). Probably we should start with decoding in "legacy" way than, if failed, silently try a "new" one. Which Font should be configured to see emoji.chi in all its beauty? I mean displaying single Unicode characters instead of multibyte sequense? emoji -- coding: utf-8 -- unicode...
These files will not work with Tombo (original), whilst it supports utf-8 files, as you know the (original) UI is codepage specific.
Can only attach one file at a time :-(
@zharik cool! 2 ideas: The obvious one, need to convert from TCHAR to (utf-8) bytes, then crypt to be compatible. That will work with BF001 You could simply call your version BF002 (then document the format, presumably UTF-16-LE). There are command line tools already if you want to test compatability (in an automated way), I have them prebuilt with the old Tombo code in https://github.com/clach04/tombo/releases/tag/2.0b5_external_apps_chi - however these days I use https://github.com/clach04/puren_tonbo...
Hi, Chris! ah, I just remembered, that I ported this app some years ago for my friend. :-) yes, you are right - overall replacing char -> TCHAR make encrypted notes to be not backward compatible. :-( I'll look deeper soon and try to support both variants of encrypted notes. Bye!
I just went through the diffs https://sourceforge.net/p/tombo-u/code/ci/default/tree/ and I can see all the passwords got updated to TCHAR, that likely to only work if the password hashing function then converts those into bytes before processing. I didn't see any code that did that. So without running it and having an experiment I would guess it's no longer compatible, and appears to still be using the BF01 format signifier without actually following the old format.
Sorry, I see the answer to question 1 :-) Still curious about password, so I can test.
I just discovered this project! @Timothy: How was the attached temp.chi created, which tool? what's the password? I wrote some Tombo compatible tools https://github.com/clach04/puren_tonbo that may work.
I see the same problem with encryption. The attached file was encrypted using Tombo 2.0 beta 5. Files created by v2.0 beta 5 are not readable by Tombo-U, and files created by Tombo-U are not readable by v2.0 beta 5.
Hi siddall! Could you please attach an example of such file? Thanks.
I am having trouble with Decryption of old Tombo Files (From V1.17). Any one else with the same problem ? Or anybody having no problems ?
Added tag TOMBO_U_3_0_BETA_5 for changeset ced6201211fa
Prepare to release
Fix 1 pixels workaround on text output. Use TRANSPARENT Back mode instead of defaulöt OPAQUE one.
Fix crash opening ANSI - encoded notes.
Yet another fix for transparent background mode - fix selection drawing,
Prepare to release
Prepare to release
Added tag TOMBO_U_3_0_BETA_3 for changeset 60755af48414
Restore support for "ANSI (non-UNICODE)" storage encoding.
Add toolbar buttons for storage encoding.
releasing beta 2
Prepare to release
readme.md for sf.net release info added.
Switch Setup to produce unpacked application files - quasy-portable version.
Support for multi-instance - activated by "Tools -> Multi Instance" menu item.
Quick-fix with REBARBANDINFO_V6_SIZE for disappeared rebar.
Added tag TOMBO_U_3_0_BETA_2 for changeset d5fdd2cfa378
Added tag TOMBO_U_3_0_BETA_1 for changeset 91a5e705441f
Specialize app name to not mix up with non-UNICODE versions - "Tombo" -> "Tombo (U)"
English Setup package improved and fixed.
initial
moved from CVS
change include path to relative.
Create unit test framework
FIX: build failed.
imporve framework and refactoring YAEditDoc about undo
imporve framework and refactoring YAEditDoc about undo
partially support dual undo (Ctrl-Z to Ctrl-Z)
Add test case : dual undo
Add test case : dual undo
add undo test case
prepare to fix UndoTest4
add undo reagion
The timing of CloseUndoRegion on BS is incorrect.
Merge commit 'HEAD'; branch 'dev'
Merge branch 'dev'
Upgrade project for VS2010
remove wince projects.
Fix message generate script is not work.
Support color settings on YAEdit.
YAEdit color properties support.
Create msi setup
Move expat and oniguruma to Win32 directory and remove SH* ARM lib and dlls.
Add iOS project generated by template
Move UnitTest to Win32
Display dummy item to list view.
Scan document directory.
Add icon to list view
Show note contents to detail view.
Refactoring
Enable new note button.
Implement save notes.
Resize detail view window size when keyboard is show/hide.
Update master view when notes is changed.
Hide EDIT button on master view.
Don't save when no text is modified.
Improve detail view window size control.
Support iPad saving.
When renaming and exists same name file, add '(n)' to file name and title.
Remove characters from note's title which can't use file name.