summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
AgeCommit message (Collapse)Author
2020-06-02[examples] text_font_sdf - Corrected bugraysan5
2020-05-27Corrected bug on TextJoin()raysan5
2020-05-23Use RL_FREE() instead of free()raysan5
2020-05-23Replaced strncat() by memcpy() in some functionsraysan5
2020-05-22Avoid some warningsraysan5
2020-05-22Reviewed LoadBMFont() to load data from memory #1232raysan5
2020-05-14Remove some [textures] function dependenciesraysan5
- LoadFontDefault() -> Some code simplifications - LoadFontFromImage() -> Avoid LoadImageEx() - LoadFontData() -> Avoid GenImageColor(), ImageFormat() - LoadBMFont() -> Avoid ImageCopy(), ImageFormat()
2020-05-14TextToInteger() always exposedraysan5
2020-05-09Added [text] flag: SUPPORT_TEXT_MANIPULATIONraysan5
2020-05-09Reorganized texture functionsraysan5
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
2020-05-07Comment tweakraysan5
2020-05-06Avoid all MSVC compile warningsraysan5
Most warning were related to types conversion (casting required) and unsigned/signed types comparisons. Added preprocessor directives (_CRT_SECURE_NO_DEPRECATE; _CRT_NONSTDC_NO_DEPRECATE) to avoid warnings about unsafe functions, those functions are safe while used properly and recommended alternatives are MS only. Some external libraries still generate warnings.
2020-05-01Review exposed #defines and allow user re-definingraysan5
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required. Also, multiple #define have been renamed and commented.
2020-04-05Allow for empty replacement string (#1178)Benjamin Stigsen
2020-04-04TextReplace changes (#1172)Benjamin Stigsen
- Added NULL return if the replacement string (`by`) is empty - Reordered sanity checks since there's no need to initialize variables if the strings are invalid.
2020-04-02Fixed offset check in GenImageFontAtlas (#1171)SasLuca
* Fixed offset check in GenImageFontAtlas * Fixed code formatting to follow raylib notation rules
2020-03-30Review formating and signegness issuesraysan5
2020-03-27Review TRACELOG() messagesraysan5
2020-03-27Corrected missing semicolonraysan5
2020-03-27[text] Review TRACELOG() messages, categorizedraysan5
2020-03-25Remove trail spacesraysan5
2020-03-25Fixed DrawTextRecEx() selection when wordwrap is ON (again) (#1149)Random
2020-03-17Added security check in case init fails #1135raysan5
2020-03-12[text] TextToUpper(): Added note on diacriticsRay
2020-03-04Remove commentRay
2020-02-27Tweak on variable initRay
2020-02-27Remove trail spaces and some tweaksRay
2020-02-27REDESIGNED: LoadFontEx()Ray
Using new file I/O ABI
2020-02-26Remove trail spacesRay
2020-02-24Make sure current text buffer is empty #1109Ray
2020-02-19Improved GetFPS() calculation for averageRay
2020-02-17[text] TextLength() security checkRay
2020-02-12Reviewed Cppcheck issues #1098Ray
2020-02-09Corrected issue with toupper() usageraysan5
2020-02-06Review missing includeRay
2020-02-06Corrected issue with TextToUpper() and TextToLower()Ray
This issue was breaking multiple things...
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-03Remove all trail spacesRay
2020-02-03Replace TraceLog() function by TRACELOG macroRay
Added SUPPORT_TRACELOG_DEBUG config
2020-01-26ADDED: TextCopy() #1083Ray
2020-01-24Redesigned TextToInteger()Ray
2020-01-22Correct issue with defineRay
2020-01-19Corrected issue with typesraysan5
2020-01-19Review custom allocatorsraysan5
2020-01-15Comment tweakRay
2020-01-15LoadFontData(): generate empty image for spaceRay
This could be required on texture packing ;)
2020-01-06Review variable nameraysan5
2020-01-05Update year to 2020raysan5
2019-12-04Check and testing timming #865raysan5
2019-12-01ADDED: DrawTextCodepoint()Ray
- Renamed GetGlyphIndex() parameter - Review DrawTextEx() implementation - Review DrawTextRecEx() implementation