Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-12Cleanup: add missing braces in GHOSTCampbell Barton
2022-07-14WM: Remove ASCII members from wmEvent & GHOST_TEventKeyDataCampbell Barton
The `ascii` member was only kept for historic reason as some platforms didn't support utf8 when it was first introduced. Remove the `ascii` struct members since many checks used this as a fall-back for utf8_buf not being set which isn't needed. There are a few cases where it's convenient to access the ASCII value of an event (or nil) so a function has been added to do that. *Details* - WM_event_utf8_to_ascii() has been added for the few cases an events ASCII value needs to be accessed, this just avoids having to do multi-byte character checks in-line. - RNA Event.ascii remains, using utf8_buf[0] for single byte characters. - GHOST_TEventKeyData.ascii has been removed. - To avoid regressions non-ASCII Latin1 characters from GHOST are converted into multi-byte UTF8, when building X11 without XInput & X_HAVE_UTF8_STRING it seems like could still occur.
2022-06-17Cleanup: use booleans for GHOST C-APICampbell Barton
Also use GHOST_ prefix for public functions.
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-07-05Replace Ghost integrals with stdint fixed width integers.Nicholas Rishel
Also replace integer with bool in Ghost API when only used as boolean, and uint8* with char* in Ghost API when variable is a string. Reviewed By: brecht Differential Revision: https://developer.blender.org/D11617 Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
2021-06-30Cleanup: use const for datatoc declarationsCampbell Barton
2021-05-03Cleanup: use boolean for has_event variable & return valueCampbell Barton
2021-02-10UI: Removal of GHOST_CreateDialogWindowHarley Acheson
Simplification of window creation code to allow greater flexibility. Differential Revision: https://developer.blender.org/D10311 Reviewed by Brecht Van Lommel
2020-09-08GPUImmediate: Make activation / deactivation implicitClément Foucault
This avoids unecessary complexity. Also makes the GPUImmediate threadsafe by using a threadlocal imm variable.
2020-08-08GPU: Move ghost default framebuffer getter to context creationClément Foucault
2020-03-25UI: remove non-unicode font and simplify default font loading codeBrecht Van Lommel
There is no need to have another font embedded in the Blender executable, we can assume the bundled font exists. In the future we may provide a fallback if the font specified by the user in the preferences is missing a character, but that can use our bundled international font. Differential Revision: https://developer.blender.org/D6854
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-14Cleanup: sort file lists & struct declatationsCampbell Barton
2020-03-11GHOST: tests now build againCampbell Barton
GLX gears work as expected, multitest_c only creates windows but misses font drawing still.
2020-03-11Cleanup: remove bitmap font drawing ifdef from MultiTest.cCampbell Barton
2020-02-15Fix incorrect enum in GHOST testCampbell Barton
2019-06-16Cleanup: simplify GHOST cursor API, no functional changesBrecht Van Lommel
2019-06-04Revert "Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)"Campbell Barton
This reverts commit 935c9ab0de1ce3d36f93ce5aeee5d0f82d6f2591. Clang-tidy was making unrelated *fixes*.
2019-06-04Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18Cleanup: conform headers to have license firstCampbell Barton
Also remove doxy comments for licenses and add missing GPL header.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-04Cleanup: strip ghost trailing spaceCampbell Barton
2018-03-26GHOST: Solve compilation error of test programsSergey Sharybin
2015-04-04Ghost: update tests for recent changesCampbell Barton
2014-03-30Code cleanup: de-duplicate cotangent weight function & add arg sizesCampbell Barton
2014-01-11Ghost: update multitest for changes in BLFCampbell Barton
2013-09-11fix double free in ghost c++ gears test program.Campbell Barton
2013-09-05Ghost test application could be compiled againSergey Sharybin
Was an IRC request to have Ghost application up and running for investigation purposes.
2012-10-27style cleanupCampbell Barton
2012-10-15code cleanup: check for msvc directly when using warning pragma's.Campbell Barton
2012-09-18code cleanup: warning and styleCampbell Barton
2012-09-08style cleanupCampbell Barton
2012-06-05style cleanupCampbell Barton
2012-05-27style cleanupCampbell Barton
2012-05-27style cleanupCampbell Barton
2012-05-24style cleanupCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22header cleanup and typo'sCampbell Barton
2011-07-09ghost multi-test builds again, now uses BLF font libraryCampbell Barton
2011-01-30remove nan-makefilesCampbell Barton
2010-10-05rename Command key to OSKey, Window manager already called it the OSKey but ↵Campbell Barton
internally it was mixed.
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-02-12correct fsf addressCampbell Barton
2009-05-06Big, big commit!!Diego Borghetti
1) Remove WITH_FREETYPE2 from code, so now blender always need freetype2 2) Remove the old bmfont 3) Remove ftfont and bFTGL library 4) Implement a new BLF_draw_default function for place that still need/use the old BMF api. I try to update both, scons and cmake, but I only can test with make, so hope all work fine. MSVC is broken, but I don't have Windows, things to search and fix are any reference to WITH_FREETYPE2, FTGL and BMFONT (take in care that blenkernel also have a BKE_bmfont.h, this don't have anything to do with bmfont). Always have to link/include the freetype2 library Remove any reference to libbmfont Remove any reference to libftfont Remove any reference to libbftgl (or libbFTGL)
2008-01-07Patch to change license to GPL only, from GSR.Chris Want
2007-08-28This commit fixes up a bunch of svn properties to hopefully make things a ↵Kent Mein
little nicer for everyone. Patch provied by gsrb3d bug tracker #7061 Kent
2003-01-24Fixed up the code so it compiles. (Basically added one more arg toKent Mein
GHOST_CreateWindow) Kent