axmol/cocos/base
子龙山人 51f4deee01 Add system label overflow (#15827)
* Add system font overflow

1. currently only iOS, Mac and Android platform are supported

add mac label overflow shrink

modify system font overflow test

fix warning and possible memory leaks

add ios system label overflow support

add iOS system font overflow support

fix iOS system font overflow

fix Mac System font overflow

add android system font clamp

add Android system font shrink

cleanup iOS shrink related code

fix Android system font clamp

add core text to project template

fix iOS tests project

fix mac and iOS shrink

improve iOS and Mac clamp feature

fix header file include path

* modify the comments, make it more clearer
2016-06-15 10:43:15 +08:00
..
allocator merge v3.11 back to v3 2016-05-04 16:02:23 +08:00
CCAsyncTaskPool.cpp Fix typo of function name in AsyncTaskPool 2016-02-26 00:22:46 +09:00
CCAsyncTaskPool.h Fix typo of function name in AsyncTaskPool 2016-02-26 00:22:46 +09:00
CCAutoreleasePool.cpp fix issue autorelease will not release trigger by autorelease. 2015-03-11 15:31:06 +08:00
CCAutoreleasePool.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCConfiguration.cpp Merge pull request #14709 from kcisoul/v3 2016-01-12 11:35:00 +08:00
CCConfiguration.h Windows/osx/linux build fail bug fixed 2015-12-17 15:40:16 +09:00
CCConsole.cpp Use const references whenever possible 2016-05-17 13:17:56 +09:00
CCConsole.h Use const references whenever possible 2016-05-17 13:17:56 +09:00
CCController-android.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
CCController-iOS.mm Merge pull request #14426 from pyrosphere/fix-controller-ios6 2016-04-20 11:45:13 +08:00
CCController.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCController.h Add enum value for no key 2015-12-01 03:01:42 +02:00
CCData.cpp Refactor FileUtils::getFileData() and CCFreeTypeFont::loadFont(). 2016-04-29 09:31:09 +08:00
CCData.h Refactor FileUtils::getFileData() and CCFreeTypeFont::loadFont(). 2016-04-29 09:31:09 +08:00
CCDataVisitor.cpp
CCDataVisitor.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCDirector.cpp Use nullptr instead of 0 or NULL 2016-05-25 03:09:11 +09:00
CCDirector.h Closes websocket connection by dispatching a 'resetDirector' event. 2016-02-29 18:55:51 +08:00
CCEvent.cpp
CCEvent.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCEventAcceleration.cpp
CCEventAcceleration.h update comments. 2015-03-27 12:07:19 +08:00
CCEventController.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
CCEventController.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCEventCustom.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventCustom.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventDispatcher.cpp Fix typos in documentation and comments 2016-05-05 08:05:20 +09:00
CCEventDispatcher.h Pass native references to script scope 2015-12-21 00:16:16 +08:00
CCEventFocus.cpp Cleanup order of fields initialization. 2014-10-30 17:28:41 +03:00
CCEventFocus.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventKeyboard.cpp
CCEventKeyboard.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListener.cpp issue #10323: Fix the compile error when COCOS2D_DEBUG>=2. 2015-06-04 11:58:22 +08:00
CCEventListener.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCEventListenerAcceleration.cpp add more descriptive message to ASSET macro. 2015-07-14 15:28:36 +08:00
CCEventListenerAcceleration.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerController.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerController.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerCustom.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
CCEventListenerCustom.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCEventListenerFocus.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerFocus.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerKeyboard.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerKeyboard.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerMouse.cpp EventListenerMouse will dispatch EventMouse events 2015-09-07 20:05:51 +02:00
CCEventListenerMouse.h EventListenerMouse will dispatch EventMouse events 2015-09-07 20:05:51 +02:00
CCEventListenerTouch.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerTouch.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventMouse.cpp initialize _startPointCaptured. 2014-12-15 19:42:25 +08:00
CCEventMouse.h Fixed missing const-correctness 2015-05-20 17:19:42 +02:00
CCEventTouch.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventTouch.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventType.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCGameController.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCIMEDelegate.h Revert "UIEditBox attachWithIME, detachWithIME make working" 2016-03-22 14:18:39 +08:00
CCIMEDispatcher.cpp Use nullptr instead of 0 or NULL 2016-05-25 03:09:11 +09:00
CCIMEDispatcher.h Revert "UIEditBox attachWithIME, detachWithIME make working" 2016-03-22 14:18:39 +08:00
CCMap.h Fix implicit conversion issues with Xcode 7.3 2016-04-07 17:01:17 +09:00
CCNS.cpp Avoid creating temporary string objects 2016-02-03 23:12:37 +08:00
CCNS.h [ci skip]Update comments 2015-03-27 15:31:42 +08:00
CCNinePatchImageParser.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
CCNinePatchImageParser.h Fix typos in documentation 2016-02-18 16:16:36 +09:00
CCProfiling.cpp Merge pull request #7915 from ricardoquesada/xcode_mark_todo_fixme 2014-08-29 12:55:14 -07:00
CCProfiling.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCProperties.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
CCProperties.h fix: removes `friend class Game` 2016-04-27 18:57:41 -07:00
CCProtocols.h add PlayableFrame 2016-01-12 17:21:01 +08:00
CCRef.cpp Fix lua engine crashes caused by CC_ENABLE_GC_FOR_NATIVE_OBJECTS 2016-02-21 20:20:32 +08:00
CCRef.h more js fixes 2015-12-11 15:18:09 -08:00
CCRefPtr.h Fix warnings caused by comparison between RefPtr and C++11's nullptr 2016-05-28 22:15:56 +09:00
CCScheduler.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCScheduler.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCScriptSupport.cpp support custom action, and rewrite update function 2015-09-09 10:08:07 +08:00
CCScriptSupport.h Fix LuaEngine compilation issue 2016-02-14 10:18:27 +08:00
CCStencilStateManager.cpp Fix unused variable warning when building with Xcode 2016-04-22 20:25:32 +09:00
CCStencilStateManager.hpp rename CCStencilBitsManager to StencilStateManager 2015-11-25 14:24:27 +08:00
CCTouch.cpp Remove default arguments 2015-12-02 11:02:27 +08:00
CCTouch.h Remove default arguments 2015-12-02 11:02:27 +08:00
CCUserDefault-android.cpp Avoid creating temporary string objects 2016-02-03 23:12:37 +08:00
CCUserDefault-apple.mm Fixes import path for m and mm files. 2016-03-21 20:12:58 +08:00
CCUserDefault-winrt.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
CCUserDefault.cpp Use nullptr instead of 0 or NULL 2016-05-25 03:09:11 +09:00
CCUserDefault.h add UserDefault api deleteValueForKey 2015-07-06 17:01:17 +08:00
CCValue.cpp Add support for Unsigned with CCValue (#13785) 2016-04-22 13:49:20 +08:00
CCValue.h Add support for Unsigned with CCValue (#13785) 2016-04-22 13:49:20 +08:00
CCVector.h Fix implicit conversion issues with Xcode 7.3 2016-04-07 17:01:17 +09:00
CMakeLists.txt Squashed commit of the following: 2016-03-02 16:51:54 -08:00
ObjectFactory.cpp fix 2014-09-02 10:51:17 +08:00
ObjectFactory.h Moved base/CCPlatform* -> platform/CCPlatform* 2014-09-09 17:17:07 -07:00
TGAlib.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
TGAlib.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ZipUtils.cpp Add OBB (zip) support (#15515) 2016-05-04 09:21:35 +08:00
ZipUtils.h Add OBB (zip) support (#15515) 2016-05-04 09:21:35 +08:00
atitc.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
atitc.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
base64.cpp Fix calculation of outLength 2016-03-12 15:42:52 +08:00
base64.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ccCArray.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
ccCArray.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ccConfig.h remove useless warning log of stencil buffer. (#15396) 2016-04-18 15:43:54 +08:00
ccFPSImages.c fix libpng warning 2014-12-27 20:47:59 +08:00
ccFPSImages.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ccMacros.h animate3d callback and test 2015-07-17 11:08:27 +08:00
ccRandom.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
ccRandom.h fix extra @ symbol in Base group 2015-03-27 12:01:20 +08:00
ccTypes.cpp Add optional alpha parameter to Color4B and Color4F constructors 2016-03-16 16:08:49 -06:00
ccTypes.h Add system label overflow (#15827) 2016-06-15 10:43:15 +08:00
ccUTF8.cpp Merge pull request #6927 from TimothyZhang/fix-cc-utf8-to-utf16 2016-05-20 14:59:06 +08:00
ccUTF8.h Use const references whenever possible 2016-05-17 13:17:56 +09:00
ccUtils.cpp Cache bas64 images 2016-06-06 16:32:50 +02:00
ccUtils.h Cache bas64 images 2016-06-06 16:32:50 +02:00
etc1.cpp
etc1.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
firePngData.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
pvr.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
pvr.h
s3tc.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
s3tc.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
uthash.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
utlist.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00