Still open?
See gcc patch https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=261034. It solves this particular issue,
copy constructor of empty string throws std::bad_array_new_length
Now fixed on Github :D
wrong compare of empty strings
Fixed on Github :)
Latest code breaks on long string
Fixed on Github :)
The bug is now fixed on https://github.com/DuffsDevice/tinyutf8
Hi, I was able to reproduced the bug myself. As I am cronically busy with Work, you may have a look at the code yourself. I will try to spare some time over the holidays to unit test the library and fix whats broken. Sorry for this inconvenience and sorry, that I cannot offer you more than that at the moment. Have a nice Weekend, Jakob
Option "Use this part in other file"
Hi Grynca, I know now, why I couldn't reproduce it, because 'I' were not on the latest...
Thank you! That encourages me really! This is definitely a bug, but I can't reproduce...
Thank you! That's great to hear! This is definitely a bug, but I can't reproduce...
JR: Added a shrink_to_fit() method and fixed bu...
JR:
JR: Renamed indices_of_multibyte to just 'indices'
JR: Removed unused methods
JR: Small String Optimization implemented! [Not...
JR: Fixed another bug in rfind
~ Fiuxed bug in find_last_not_of and find_last_of
+ Made new release and changed its copyright year
~ Fixed Bug in ANSI parsing
C++ Version 14 on g++ and clang; clang warning
~ Changed the Licence to BSD-3-Clause
The Byte Order Mark is e.g. needed to signalize, a certain file is coded in UTF-8...
+ Added a _simpleView type
~ Fixed a class interface error, where iterator...
~ Fixed bug in get_num_bytes_of_utf8_char_befor...
~ Fixed bug in encode_utf8 and replaced wrong n...
+ Added lua proxy classes for _programExecution...
~ Fixed bug in type.font.memory.cpp when clippi...
+ Added a _executionContext class that stores t...
+ Added an icon for pdf's, as well as a mime ty...
~ Ported Lua to 5.3.2
~ Replaced pointers to values with references
~ Adjusted Lua Build type in Branch luaconf.h
+ Added LuaLib-Branch for Lua 5.3.2 and adjuste...
+ Added LuaLib-Branch for Lua 5.3.2 and adjuste...
~ Removed Lua main.c files from branch 5.3
Fixed version string in tinyutf8.h
Modified release to 1.2
Added the difinitions of rfind and rfind_raw fo...
Added a ::find method, fixed some variable name...
Renamed wstring to utf8_string
~ Renamed some libraries
ยด~ The selectbox opens its contextmenu now dire...
~ Updated the _sharedPtr class to the newest re...
Adjusted Release name
Adjusted Versioning
Added release zip
Added README and LICENCE as well as a realease zip
Adjusted the Version number inside tinyutf8.h and
+ Added _direntry::truncate
~ Made _guiSetupPage4 work
~ Updated UTF8-Lib and fixed bugs in it
~ Removed several bugs that were introduced las...
Fixed some bugs
+ Added _userController and partly moved functi...
Converted wchar_t to char32_t and renamed all s...
~ Changed the names of all functions and nearly...
~ Updated utf8-library
Deleted build and lib folder
Initial Commit
~ Fiex a bug in _registryController::end that p...
+ Added verbosity level, which can be set using...
~ Fixed bug when reopening a window that was ma...
~ Renamed _fromStr and _toStr to _fromStrConver...
~ Split _controller::init into "init" and "load...
~ Removed rvalue passing of _style
~ Improved _ref-Class
~ Renamed type.windows.* to type.winds.*
~ Renamed _windows to _winds
~ Renamed _prog* to _*Program
- Deleted old _resource/resource.font.systemsym...
+ Added UTF-8 Support for all labels, that is, ...
Renamed SyllableParser in TinyHyphenator
Modified UTF8Lib not to produce compiler issues...
Imported self made UTF-8 library as drop-in rep...
Added feature to register own printing function...
Removing dynamically generated folder 'lib'
Removing unused .pnps file
LuaLib Version 5.3 Import
Wrong Folder
LuaLib Version 5.3
+ Added Services! <- That means inter-process c...
+ Added desktop.ini files in the release for ma...
+ The File Explorer now displays the icons of n...
+ Created a _fileSoundStream class that can str...
~ Fixed Calendar bug (only month, not day was s...
+ Added nds Rom Execution
+ Added _style::hasTransparentParts
~ Speed up _bitmap resizing by ~420%
+ Added Shutdown process
~ Made Taskmanager closeable by clicking [B]
~ Fixed big bug in _bitmap::move, which is now ...
~ Fixed Bug in FileSaveDialog (lua)
~ Fixed bug in lua.func.push.h, with lvalues in...