0 Star 0 Fork 247

Ben/CrossApp

forked from 9miao.com/CrossApp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CHANGELOG 92.72 KB
一键复制 编辑 原始数据 按行查看 历史
栗元峰 提交于 2015-09-18 20:56 . #### CrossApp 1.1.12 更新内容:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500
**********************************************************************************
#### CrossApp 1.1.12 更新内容:
#####1.优化支持iOS9
需从test项目fonts中拷贝Regular.ttf文件
#####2.优化支持iOS9输入框英文的输入
#####3.优化多个输入框之间切换的问题
**********************************************************************************
#### CrossApp 1.1.11 更新内容:
#####1.优化CAListView以及CACollectionView
cell重用机制优化,刷新时不清空缓存列表
#####2.优化iOS模拟器编译报错的问题
#####3.优化输入框多处细节
#####4.其他一些细节的优化
####CrossApp 1.1.11 Update:
#####1. Optimized CAListView and CACollectionView
Optimized cell's reuse mechanism, system will not wipe cache list when refreshing
#####2. Fixed bug that system reports error when iOS simulator compiling
#####3. Optimized many details of input box
#####4. Other Details Tweaking
**********************************************************************************
#### CrossApp 1.1.10 更新内容:
#####1.优化CATextField
1.增加内容对齐方式设置接口
2.优化在安卓平台下多个CATextFiled引起乱码的bug
3.增加支持.mac平台的输入功能
#####2.优化CADevice中
1.调用相册与摄像头,取消可裁剪功能接口
2.增加版本号获取
#####3.优化webView在安卓平台被释放无法重新加载的问题
#####4.优化CAViewAnimation动画系统
#####5.优化CAImage,增加对tiff格式的支持
#####6.其他一些细节的优化
#### CrossApp 1.1.10 Update:
#####1. Optimized CATextField
1. Added content alignment setting interface
2. Fixed bug that multi CATextField caused messy code in Android
3. Added input functionality that supports .mac platform
#####2. Optimizations in CADevice
1. Call album and camera, and cancel tailorable functionablity interface
2. Added version number obtaining
#####3. Fixed bug that webView cannot reload after being released in webView
#####4. Optimized animation system of CAViewAnimation
#####5. Optimized CAImage, adding support for tiff format
#####6. Other Details Tweaking
**********************************************************************************
#### CrossApp 1.1.9 更新内容:
#####1.优化引擎性能
1.CPU高峰占有率,性能提升
2.耗电优化
#####2.优化iOS端Http网络请求稳定性
#####3.优化CAScrollView
1.优化滑动容易惯性算法
#####4.优化CAViewAnimation动画系统
1.增加对ImageRect的支持
#####5.优化CAImage
1.增加纹理拉伸缩放接口
#####6.优化Android端从相册、摄像头获取照片
1.修复之前部分手机不能争取显示照片的问题
#####7.优化CATextView
1.增加默认背景
2.增加输入区域与边框距离的接口
2.优化CATextViewDelegate中getKeyBoardHeight 回调,增加键盘收回的回调
3.优化CATextViewDelegate中onTextViewInsertText、onTextViewDeleteBackward插入删除监听回调,整理回调参数
#####8.优化CATextField
1.优化CATextField Delegate中getKeyBoardHeight 回调,增加键盘收回的回调
2.优化CATextField Delegate中onTextFieldInsertText、onTextFieldDeleteBackward插入删除监听回调,整理回调参数
#####9.优化CAButton
1.增加Image位置、大小更改接口
2.增加Title位置、字体大小以及Label大小更改接口
#####10.优化CANavigationBar
1.增加item单项宽度接口
#####11.优化CAListView、CATableView、CACollectionView
1.增加displayingXXXCell函数,可以获取当前所有被显示的CAXXXViewCell对象
2.CAXXXViewDelegate增加 XXXViewWillDisplayCellAtIndex 回调,可以监听已经被加载完成并即将被显示的listViewCell
3.CAXXXViewCell增加ContentView层
#####12.优化CAWebView接口
1.修改了webView加载菊花的接口,由用户自己调用,还有添加设置菊花view的接口,用户可以拥有自己的加载动画
#####13.添加UTF8转UTF32接口
#####14.其他一些细节的修改
CrossApp 1.1.9 Update:
#####1. Optimized engine performance
1. Improved the performance of CPU peak occupany
2. Optimized power consumption
#####2. Optimized the stability of Http network request in iOS
#####3. Optimized CAScrollView
1. Optimized sliding inertial algorithm
#####4. Optimized animation system of CAViewAnimation
1. Added support for ImageRect
#####5. Optimized CAImage
1. Added texture stretch and scale interface
#####6. Optimized obtaining photos from album and camera in Android
1. Fixed bug that some kinds of mobile phone model cannot accurately display photo
#####7. Optimized CATextView
1. Added default background
2. Added input area and border distance interface
3. Optimized getKeyBoardHeight callback of CATextViewDelegate and added keyborad withdraw callback
4. Optimized onTextViewInsertText, onTextViewDeleteBackward in CATextViewDelegate, insert deleting monitor callback and sorting callback parameters
#####8. Optimized CATextField
1. Optimized getKeyBoardHeight callback in CATextField Delegate, and added keyboard withdraw callback
2. Optimized onTextViewInsertText、onTextViewDeleteBackward in CATextField Delegate, insert deleting monitor callback and sorting callback parameters
#####9. optimized CAButton
1. Added Image location and size change interface
2. Added Title location, font size and Label size change interface
#####10. Optimized CANavigationBar
1. Added single item width interface
#####11. optimized CAListView, CATableView, CACollectionView
1. Added displayingXXXCell function, it's able to obtain all current displayed CAXXXViewCell objects
2. Added XXXViewWillDisplayCellAtIndex callback in CAXXXViewDelegate, it's able to monitor loaded and soon to be displayed listViewCell
3. Added ContentView layer in CAXXXViewCell
#####12. Optimized CAWebView interface
1. Modified webView's chrysanthemum loading interface, now it can be called by users; Added setting chrysanthemum view interface, users are able to have their own loading animation
#####13. Added UTF8 to UTF32 interface
#####14. Other details tweaking
**********************************************************************************
#### CrossApp 1.1.8 更新内容:
#####1.优化CATextField、CATextView
1.修复在某种情况文字黑块的bug
2.使onTextViewAttachWithIME、onTextViewDetachWithIME等代理函数回调改为主线程
#####2.在CATabBar,增加item提醒徽章
#####3.重新调整优化触摸事件分发机制
#####4.优化CADatePickerView在某种情况下时间显示不对的bug
#####5.优化CAActivityIndicatorView默认风格
#####6.在CAButton中,增加长按事件监听功能
#####7.修复在iOS6.x下崩溃的bug
#####8.优化OpenGL裁剪误差
#####9.修复上版本出现的内存泄露bug
#####10.重新调整优化CARenderImage截屏类接口
#####11.修复上版本iOS没有添加CAGif、CAFlash类造成编译出错的bug
#####12.修复上版本日期控件中文编码不正确的bug
#####13.其他一些细节的修改
#### CrossApp 1.1.8 Update:
#####1. Optimized CATextField and CATextView
1. Fixed bug that text becomes black block in some circumstances
2. Changed onTextViewAttachWithIME, onTextViewDetachWithIME and other delegate function callback as main thread
#####2. Added item alert badge in CATabBar
#####3. Readjusted and optimized touch event distribution mechanism
#####4. Fixed bug that CADatePickerView displays wrong time in some certain circumstances
#####5. Optimized CAActivityIndicatorView default style
#####6. Added long press event to trigger monitor function
#####7. Fixed bug that system crashed in iOS 6.x
#####8. Optimized OpenGL clipping deviation
#####9. Fixed the memory leak bug of last version
#####10. Readjusted and optimized the screenshot class interface of CARenderImage
#####11. Fixed the compiling error bug that caused by not adding CAGif, CAFlash in iOS
#####12. Fixed the incorrect Chinese compiling of date control of last version
#####13. Other details tweaking
**********************************************************************************
#### CrossApp 1.1.7 更新内容:
#####1.新增CAGif、CAGifView,支持播放.gif
#####2.新增CAFlash、优化CAFlashView,完美支持x64
#####3.修复安卓平台某些情况从后台返回花屏的bug
#####4.优化CAPickerView
修复不同分辨率下显示bug
#####5.优化CADatePickerView
修复不能正常获取并显示当前时间的bug,以及日期与周错乱的bug
#####6.优化CAStepper
修复setWraps、 setMinValue、 setAutoRepeat无效的bug,以及设置自定义图片不能正常显示的bug
#####7.优化CAActivityIndicatorView
#####8.优化文字系统
修复文字缓存管理内存泄露的bug
#####9.优化CATextField
输入完点回车,输入框里的文字会变成黑块的问题
#####10.修复CANavigationController
修复popViewController方法不执行动画时,viewController位置不正确的问题
#####11.其他一些细节的修改
#### CrossApp 1.1.7 Update:
#####1. Added CAGif, CAGifView, .gif play support
#####2. Added CAFlash and optimized CAFlashView, perfectly support x64
#####3. Fixed bug that phone gets screen blurred after backing from background at some certain circumstances in Android platform
#####4. Optimized CAPickerView
Fixed display bug in different resolutions
#####5. Optimized CADatePickerView
Fixed bug that system cannot normally obtain and display current time, and date as well as week number are in disorder
#####6. Optimized CAStepper
Fixed setWraps, setMinValue, setAutoRepeat invalid bug, and system cannot normally display the set custom images
#####7. Optimized CAActivityIndicatorView
#####8. Optimized character system
Fixed memory leak bug in characters cache management
#####9. Optimized CATextField
The characters in input box changes into black block after users click Enter button
#####10. Optimized CANavigationController
Fixed bug that viewController is in the wrong place when popViewController method does not perform animation
#####11. Other details tweaking
**********************************************************************************
#### CrossApp 1.1.6 更新内容:
#####1.新增CAFlashView,支持播放.swf后缀的flash文件
目前暂无播放声音功能,且仅支持32位系统
#####2.新增新版demo
新版demo有2大模块:基础控件展示模块与简易版仿新浪新闻客户端模块
#####3.修复CATextField在iOS7上弹出键盘卡死的bug
#####4.优化CAProgress接口
#####5.优化截屏功能
#####6.修改WebView的loading
#####7.优化CATextField体验
#####8.优化CATextView体验
#####9.修复CATextView在某些android系统上中文输入错误的bug
#####10.修复剪切板没有内容时CATextField和CATextView长按报错的bug
#####11.其他一些细节的修改
#### CrossApp 1. 1. 6 Update:
#####1. Added CAFlashView that supports play .swf flash file.
Currently it does not support audio play and is only available for 32-bit system
#####2. Added new version demo
New version demo contains two major modules: basic control display module and simple version Sina News-like client module
#####3. Fixed bug that keyword gets stuck in CATextField in iOS7
#####4. Optimized CAProgress interface
#####5. Optimized screenshot function
#####6. Modified WebView’s loading
#####7. Optimized CATextField’s UE
#####8. Optimized CATextView’s UE
#####9. Fixed bug that chinese characters input error in CATextView in some Android systems
#####10. Fixed bug that system reports error if user conducts long press operation in CATextField and CATextView when clipboard has no content.
#####11. Other details tweaking
**********************************************************************************
#### CrossApp 1.1.5 更新内容:
#####1.优化CATextField
#####2.CATextView增加选择、复制、粘贴等功能。
#####3.优化CANavigationController
增加隐藏某个视图管理器所对应的CANavigationBar的功能
#####4.解决CATextField在索尼、华为等预输入的bug
#####5.修复文字在多行情况有偏差的bug
#####6.修复CAWebView在android平台会崩溃的bug
#####7.优化android物理返回键与屏幕触摸屏蔽的关联
#####8.优化触摸事件屏幕功能
#####9.其他一些细节的修改
#### CrossApp 1.1.5 Update:
#####1. Optimized CATextField
#####2. Added select, copy, paste and other functionalities in CATextView
#####3. Optimized CANavigationController
Added functionality that user can hide the corresponding CANavigationBar of a view controller
#####4. Fixed CATextField's preinput bug existed in Sony, Huawei and other mobile types
#####5. Fixed bug that characters have deviation in multi-line conditions
#####6. Fixed CAWebView's breakdown bug in Android platform
#####7. Optimized the connection between Android physical back button and screen touch shielding
#####8. Optimized touch event screen functionality
#####9. Other details tweaking
**********************************************************************************
#### CrossApp 1.1.4 更新内容:
#####1.在动画系统中,增加删除某个动画模块功能
#####2.优化scrollView指示器
#####3.优化CAScheduler
#####4.优化CASwitch默认效果
#####5.增加CAImage对Gif的支持
#####6.增加CALabel复制内容到系统粘贴板的功能
#####7.增加CATextField节选并复制内容到系统粘贴板,粘贴系统粘贴板内容的功能
#####8.修复CAWebView由于CAImage改动造成的bug
#####9.完善CATextView/CATextField之间的输入法切换
#####10.修复截屏并保存图片功能的bug
#####11.新建工程支持iphone6 以上设备分辨率
#####12.完善iOS平台icon
#####13.其他一些细节的修改
#### CrossApp 1. 1. 4 Update:
#####1. Added 'deleted an animation module' functionality in animation system
#####2. Optimized ScrollView indicator
#####3. Optimized CAScheduler
#####4. Optimized CASwitch default effects
#####5. Added Gif support for CAImage
#####6. Added CALabel functionality that user can copy contents into system clipboard
#####7. Added CATextField functionality that user can select and copy contents into system clipboard, and paste clipboard contents
#####8. Fixed bug that's caused by CAImage modifications in CAWebView
#####9. Improved the UE of input method switch between CATextView and CATextField
#####10. Fixed 'screenshot and save image' bug
#####11. New project supports resolution of iPhone6 or higher version devices
#####12. Improved the appearance of iOS platform icon
#####13. Other details tweaking
**********************************************************************************
#### CrossApp 1.1.3 更新内容:
#####1.修复安卓平台返回键只执行一次的bug
#####2.添加CAtextField设置字体接口
#####3.修复CALabel在定时器中不能刷新的bug
#####4.修复CANavigationController 显示隐藏CANavigationBar时,播放动画不正确的bug
#####5.修复CATabBarController 显示隐藏CATabBar时,播放动画不正确的bug
#####6.修复CATextField在安卓平台点回车崩溃的bug
#####7.解决在iOS平台下与百度地图渲染冲突的bug
#####8.重写base64
#####9.CATextView增加在iOS平台输入中文时,仿原生预输入功能
#####10.其他一些细节的修改
#### CrossApp 1.1.3 Update:
#####1. Fixed bug that return button only execute one time in Android platform
#####2. Added setting font interface for CAtextField
#####3. Fixed bug that CALabel cannot refresh in timer
#####4. Fixed bug that CANavigationController cannot correctly play animation when it displays hidden CANavigationBar
#####5. Fixed bug that CATabBarController cannot correctly play animation when it displays hidden CATabBar
#####6. Fixed bug that CATextField crashes when user clicks Enter button in Android platform
#####7. Fixed bug that CrossApp has rendering conflict with Baidu Map in iOS platform
#####8. Rewrote base64
#####9. Added native-like preinput functionality in CATextView when users input Chinese in iOS platform.
#####10. Other Details Tweaking
**********************************************************************************
#### CrossApp 1.1.2 更新内容:
#####1.修复某些情况下CAImage不能正确显示图片的bug
#####2.修复alertView现实5个以上,选项重复的bug
#####3.修复拍照不能获取CAImage的bug
#####4.优化触摸事件分发机制
#####5.修复CAScrollView背景图片接口不起作用的bug
#####6.解决安卓平台下,textfield在输入状态下,点击返回键键盘收回 回调事件无响应的bug
#####7.解决安卓平台下,textView在输入状态下,点击返回键键盘收回 回调事件无响应的bug
#####8.CATextField增加在iOS平台输入中文时,仿原生预输入功能
#####9.修复CATextView在android平台下,输入状态下点换行不正确的bug
#####10.其他一些细节的修改
#### CrossApp 1.1.2 Update:
#####1. Fixed bug that CAImage cannot appropriately display image in some circumstances
#####2. Fixed bug that options are repeated when alterView number is above 5.
#####3. Fixed bug that system cannot obtain CAImage in camera status.
#####4. Optimized touch event distributed mechanism
#####5. Fixed bug that CAScrollView background picture interface does not function
#####6. Fixed bug that when users click Backspace in keyboard, callback event has no response in input status of textfield in Android platform.
#####7. Fixed bug that when users click Backspace in keyboard, callback event has no response in input status of textView in Android platform.
#####8. Added native-like preinput functionality in CATextField when users input Chinese in iOS platform.
#####9. Fixed bug that clicking line wrap is invalid in input status in CATextView in Android platform.
#####10. Other Details Tweaking
**********************************************************************************
#### CrossApp 1.1.1 更新内容:
#####1.CAImageView增加序列帧播放功能
#####2.修复图片异步加载失败的bug
#####3.修复webView位置刷新的bug
#####4.修复某些情况安卓真机调试直接崩溃的bug
#####5.修复上一版不能运行iOS模拟器的bug
#####6.其他一些细节的修改
#### CrossApp 1.1.1 Update:
#####1. Added CAImageView’s functionality that plays sequential frames
#####2. Fixed bug that images fail to asynchoronously load
#####3. Fixed webView's position refresh bug
#####4. Fixed bug that Android test phone directly goes breakdown when debugging in some circumstances
#####5. Fixed bug that CrossApp cannot run iOS emulator in previous version
#####6. Other Details Tweaking
**********************************************************************************
#### CrossApp 1.1.0 更新内容:
#####1.修改CASegmentedControl崩溃的bug
#####2.修改CAAlertView显示图层以及裁剪的bug
#####3.修复文字\n显示出错的bug
#####4.增加动画系统增加动画次数与动画反向播放的功能
#####5.增加CAImageView播放序列帧的功能
#####6.重写CAImage,提高读取图片效率
#####7.修复navigationController多指返回上一界面的bug
#####8.优化触摸分发的bug
温馨提示:
本次更新由于改动较大,项目升级引擎建议重新创建工程并导入项目代码,否则会出现无法编译的问题
#### CrossApp 1.1.0 Update:
#####1. Fixed CASegmentedControl breakdown bug
#####2. Fixed CAAlertView displays layers and its clipping bug
#####3. Fixed bug that text ‘\n’ is wrong displayed
#####4. Animation system newly added functionalities: more animation plays and animation play backward
#####5. Added CAImageView’s functionality that plays sequential frames
#####6. Rewrited CAImage to increase image read efficiency
#####7. Fixed navigationController bug when users back to previous interface by multi-touch
#####8. Optimized touch distributed system bug
Note:
Due to the massive overhaul of this update, we advise you to create a new project and import project codes
when updating your project engine, otherwise compiling errors will appear.
**********************************************************************************
#### CrossApp 1.0.2 更新内容:
#####1.优化CAScale9ImageView
#####2.修正iOS 64位系统下触摸失灵的bug
#####3.在CANavigationController增加popToRootViewControllerAnimated方法
直接退到首页
#####4.修正动画系统在某种特定情况下引起的崩溃
#####5.修正setScaleX在某种特定情况下引起的显示错误
#####6.修正CANavigationController一些方法在init之后调用不起作用的bug
#####7.修正网络状态获取的崩溃问题
#####8.修正文字内容包含’\n’引起的崩溃的
#####9.修正iOS8.2以上系统不能显示文字的问题
#####10.其他细节的优化
#### CrossApp 1. 0. 2 Update:
#####1. Optimized CAScale9ImageView
#####2. Fixed bug that touch fails to respond in iOS 64 bit system
#####3. Added popToRootViewControllerAnimated method in CANavigationController,
it enables you to directly back to homepage
#####4. Fixed a system crash caused by animation system in a particular condition
#####5. Fixed a display error caused by setScaleX in a particular condition
#####6. Fixed bug that some methods in CANavigationController cannot be called after init
#####7. Fixed a crash problem when obtaining network status
#####8. Fixed a crash problem caused by text contents that include '\n'
#####9. Fixed bug that system cannot display texts in iOS 8.2 or higher version
#####10. Other Details Tweaking
**********************************************************************************
#### CrossApp 1.0.0 更新内容:
#####1.增加动画系统CAViewAnimation
demo有动画示例
#####2.完美支持iOS 64位
#####3.完美支持android 5.0+
#####4.优化CASegmentControl接口
#####5.修改0.6.1由于视频播放器动态链接库的问题
#####6.修改0.6.1安卓CATextField崩溃的bug
#####7.增加获取当前连接的wifi的信息(包括名称 mac地址 等级)
#####8.增加获取wifi列表包括名称 mac地址 等级
仅安卓有此功能
#####9.打开关闭蓝牙设备,开始搜索蓝牙设备,停止搜索蓝牙设备,获取蓝牙设备信息包括名称地址
仅安卓有此功能
#####10.增加mac下一键创建工程图形工具
#####11.其他细节的优化
####CrossApp 1.0.0 Update:
#####1. Added animation system CAViewAnimation
Demo contains animation sample
#####2. Support 64-bit
#####3. Support Android 5. 0+
#####4. Optimized CASegmentControl interface
#####5. Fixed bug that's caused by video player DLL in 0.6.1 version
#####6. Fixed bug that CATextField crashed in Android platform in 0.6.1 version
#####8. Added obtaining the info of current connected wifi (Including name, mac address and level)
#####7. Added obtaining wifi list (Including name, mac address and level)
Only available on Android platform
#####9. Turning on/off Bluetooth devices, starting to search Bluetooth devices, stopping to search Bluetooth devices and obtaining the info of Bluetooth devices including name and address
Only available on Android platform
#####10. Added one-key to create project graphic tool in mac
#####11. Other Details Tweaking
**********************************************************************************
#### CrossApp 0.6.1 更新内容:
#####修复0.6.0不能编译以及不稳定的bug
#### CrossApp 0.6.1 Update:
#####Fixed bug that user cannot compile and engine unstable in 0.6.0 version
**********************************************************************************
#### CrossApp 0.6.0 更新内容:
#####1.增加视频播放器CAVideoPlayerController类
支持播放流媒体视频、MP4、flv、avi、mpeg、mov等视频格式
目前不支持win32平台
#####2.增加设备API
1.获取网络状态,wifi或3g的判断以及网络是否可用
2.获取当前电池电量
3.获取、设置当前音量
4.更新版本,Android自动下载并添加到通知栏内,ios跳转到appstore
#####3.修改优化CAAlertView
1.UI改为模仿iOS风格
2.代码结构优化
#####4.修改优化CASegmentControl
1.UI改为模仿iOS风格
2.代码结构优化
#####5.修改优化CAView
优化子视图管理性能
#####6.修改优化CATextField输入文字有时光标位置不对的bug
#####7.文件目录变动
删除extensions/GUI/CAUIHelper 文件
删除extensions/studio/CAStudioViewController 文件
增加extensions/studio/CAStudioViewParser 文件
在iOS平台,增加extensions/device/Device_ios/Reachability 文件
添加Frameworks : MediaPlayer 与 SystemConfiguration
android平台java文件有变动
#####8.其他一些细节的优化
本次更新文件有多处变动,旧版本更新请参考更新内容7手动增删文件,给您带来的不便请谅解。
####CrossApp 0.6.0 Update
#####1. Added video player CAVideoPlayerController class
Streaming video, MP4, flv, avi, mpeg, mov and other video formats support, not available on win32 platform for now.
#####2. Added API of device
1. Obtain network status, wifi or 3g judgement and if network is available or not
2. Obtain current battery level
3. Obtain and set current volume
4. When user updates their app version, system will auto download and add into notification bar in Android; their current interface will jump to AppStore in iOS
#####3. Optimized CAAlertView
1. UI was changed into iOS style 2. Optimized code structure
#####4. Optimized CASegmentControl
1. UI was changed into iOS style 2. Optimized code structure
#####5. Optimized CAView
Optimized sub view management performance
#####6. Fixed bug that sometimes cursor is in wrong position when typing text in CATextField
#####7. File directory change
Deleted extensions/GUI/CAUIHelper;
Deleted extensions/studio/CAStudioViewController;
Added extensions/studio/CAStudioViewParser
In iOS platform, added extensions/device/Device_ios/Reachability and Frameworks : MediaPlayer and SystemConfiguration
Java files alteration in Android platform
#####8. Other Details Tweaking
This update contains many file changes, for previous version users, please manually add and delete files referring to update item 7. And CrossApp team offers our applogies to you for the inconvenience has caused you.
**********************************************************************************
#### CrossApp 0.5.0 更新内容:
#####1.修改优化CANavigationController
1.修改所管理的navigationBar为多个
2.并将之前navigationBar的属性移植在CANavigationController中
#####2.修改优化CATabBarController
并将之前tabBar的属性移植在CATabBarController中
#####3.修复优化CAPickerView
1.修改有时选不中的bug
2.性能优化
#####4.修改优化base64
1.win32不能编译的bug
2.增加Encode方法
#####5.修改优化触摸事件分发机制
修改之前多个CATextField之间切换编辑状态要点2次的问题
#####6.其他一些细节的优化
在本C++引擎中移除掉JavaScript版本,将来会有单独的JavaScript版本发布
##本次更新影响到了CANavigationController与CATabBarController一些接口,为您带来的不便尽请谅解。
####CrossApp 0.5.0 Update:
#####1. Optimized CANavigationController
1. Modified the controlled navigationBar into multiple ones
2. And port the properties of previous navigationBar to CANavigationController.
#####2. Optimized CATabBarController
Port the properties of previous tabBar to CATabBarController.
#####3. Optimized CAPickerView
1. Fixed bug that sometimes system does not have a return value for the selected result
2. Optimized performance
#####4. Optimized base64
1. Fixed bug that base64 cannot be compiled in win32
2. Added Encode method
#####5. Optimized touch event distributed mechanism
Fixed bug that user needs to click two times to switch edit status between multiple CATextField.
#####6. Other Details Tweaking
We removed the JavaScript version of this C++ engine, and will release a separate JavaScript version in the future.
##This update affects some interfaces in CANavigationController and CATabBarController, and we offer our apologies to you for the inconvenience has caused you.
**********************************************************************************
#### CrossApp 0.4.3 更新内容:
#####1.修复md5在win32不能编译的bug
#####2.增加HttpClient在post文件的同时postData的支持
#####3.修复CATextView与CATextField某种情况插入文字的bug
#####4.修复CATextView光标不闪的bug
#####5.优化一些控件与组建的默认尺寸
#####6.修复一些在win32编译的警告
在此,特别鸣谢github为 Jeff ,CrossApp官方群名为 广州-201103L 的网友为我们提交的优化
#####7.修复触摸事件分发有时会执行2次touchBegin的bug
在此,特别鸣谢CrossApp官方群名为 觉今是而昨非 的网友为我们提交的优化
#### CrossApp 0. 4. 3 Update:
#####1. Fixed bug that md5 cannot be compiled in win32
#####2. Added HttpClient’s support to postData in post file
#####3. Fixed bug that text insert error in CATextView and CATextField
#####4. Fixed bug that CATextView’s cursor does not blink
#####5. Optimized the default dimensions of some controls and components
#####6. Fix some compiling warnings in win32
Here, special thanks to Jeff from Github and a friend naming "Canton - 201103L" from CrossApp official QQ group for their submitted optimizations.<br/>
#####7. Fixed bug that system act touchBegin two times when touch event dispatch sometimes<br/>
Here, special thanks to a friend naming “Juejinshierzuofei” from CrossApp official QQ group for his submitted optimization.<br/>
**********************************************************************************
#### CrossApp 0.4.2 更新内容:
#####1.添加WebView控件
WebView基于原生内置浏览器控件封装而成,该控件功能强大,除了具有一般View的属性和设置外,还可以对url请求、页面加载、渲染、页面交互进行强大的处理。不仅可以通过loadUrl方法设置当前webView需要访问的网址,还可以加载绝⼤部分的常见文件 html\htm pdf、doc、ppt、txt等等。
#####2.修改上版本CAImage崩溃的bug
#####3.其他一些细节修改
#### CrossApp 0.4.2 Update:
#####1. Added WebView Controls
WebView is an encapsulation based on native built-in browser control. It has great functionalities, aside from possessing normal View attributes and set, WebView is fully capable of dealing with url request, page load, rendering, page interacitve. And it’s not only able to set current webView desirable access url via loadUrl method, but also capable of loading most of common file types such as html\htm, pdf, doc, ppt, txt etc.
#####2. Fixed CAImage breakdown bug in previous version
#####3. Other Details Tweaking
**********************************************************************************
#### CrossApp 0.4.1 更新内容:
#####1.添加友盟统计sdk三方库
支持iOS、android平台
#####2.添加shareSDK社会化分享三方库
支持iOS、android平台
#####3.更新js版本
#####4.修改部分bug
#####5.优化一些细节
#### CrossApp 0.4.1 Update:
##### 1. Added Umeng statistics sdk (third-party library)
iOS and Android platform support
##### 2. Added Share SDK social share (third-party library)
iOS and Android platform support
##### 3. CrossApp-js version update
##### 4. Fixed some bugs
##### 5. Optimized some details
**********************************************************************************
#### CrossApp 0.3.10 更新内容:
#####1.添加CrossAppStyle
文字信息模型类,并支持获取对应CALabel文字渲染后的高度、宽度等信息。
#####2.优化文字内存占用
#####3.优化文字默认行距
#####4.优化文字在iOS与Mac平台默认使用繁体字库的问题
#####5.文字性能再次优化
#####6.优化DownloadManager
优化DownloadManager,修复下载中不能立即停止并删除下载命令的bug
#####7.修复上版本在vs没有正确添加CADevice的bug
#####8.其他一些细节调整
#### CrossApp 0.3.10 Update:
#####1. Added CrossAppStyle
Text message model class, supports to obtain corresponding height, width and other info after CALabel text rendering.<br/>
#####2. Optimized Text Memory Usage
#####3. Optimized Text Default Line Spacing
#####4. Optimized Text Uses Traditional Chinese Character Library by Default on iOS and Mac Platform
#####5. Optimized Text Performance Second Time
#####6. Optimized DownloadManager
Optimized DownloadManager, fixed bug that user cannot instant stop and delete download order<br/>
#####7. Fixed Bug That CADevice Was Not Correctly Added to VS in Previous Release
#####8. Other Details Tweaking
**********************************************************************************
#### CrossApp 0.3.9 更新内容:
#####1.CALabel添加文字加粗功能
#####2.CALabel添加文字斜体功能
#####3.CALabel添加文字下划线功能
#####4.优化DownloadManager
文件下载管理系统优化,并修正上版本头文件引用错误
#####5.重新整理设备相关系统接口
如:GPS获取、摄像头与相册调用、通讯录获取等
#####6.CANavigationController增加二级界面向右划返回上一级界面功能
#####7.优化openGl裁剪功能错位问题
#####8.优化openGl显示图像微差问题
#####9.其他一些细节调整
####升级建议:
重新创建工程,并拷贝Classes与Resources中文件
#### CrossApp 0. 3. 9 Update:
#####1. Added text bold functionality on CALabel
#####2. Added text bold italic functionality on CALabel
#####3. Added text underline functionality on CALabel
#####4. Optimized DownloadManager
Optimized file download management system and fixed header file reference bug from previous release<br/>
#####5. Rearranged device related system interface
For example: GPS info obtaining, camera and photo album calling and address book obtaining etc.<br/>
#####6. Added sliding right on secondary interface to return upper-level interface functionality on CANavigationController
#####7. Optimized OpenGL clipping functionality’s slight error
#####8. Optimized OpenGL imaging coordinates’s slight error
#####9. Other details tweaking
####Suggestion:
rebuild project and copy files in Classes and Resources<br/>
**********************************************************************************
#### CrossApp 0.3.8 更新内容:
#####1.融合CrossApp-javascript版
基本支持CrossApp 0.3.8的所有功能
#####2.增加CATextView
多行输入控件,用法与CATextField类似
#####3.增加DownloadManager
文件下载管理系统
#####4.增加文字行距接口
#####5.优化文字边缘毛边问题
#####6.优化CAScrollView等滑动容器控件触摸体验
#####7.其他一些细节调整
####升级建议:
重新创建工程,并拷贝Classes与Resources中文件
#### CrossApp 0. 3. 8 Update:
#####1. CrossApp-javascript version integration
Basic support for all functionalities of CrossApp 0. 3. 8<br/>
#####2. Added CATextView
multi-line text input control, its usage is similar with CATextField<br/>
#####3. Added DownloadManager
file download management system<br/>
#####4. Added text line spacing interface
#####5. Text raw edge issue optimization
#####6. Touch experience optimization of CAScrollView and other slide containers control
#####7. Other details tweaking
####Suggestion:
rebuild project and copy files in Classes and Resources<br/>
**********************************************************************************
#### CrossApp 0.3.7 更新内容:
#####1.优化触摸分发系统
#####2.修复CATabBarController的bug
#####3.修复CATextField的bug
#####4.修改mac平台文字加载机制
#####5.其他一些细节调整
####升级建议:
重新拷贝java文件到android工程中
#### CrossApp 0. 3. 7 Update:
#####1. Touch Distributed System Optimization
#####2. Fixed CATabBarController’s Bug
#####3. Fixed CATextField’s Bug
#####4. Fixed text loading mechanism in Mac platform
#####5. Other details tweaking
####Suggestion:
Recopy java files into android project
**********************************************************************************
#### CrossApp 0.3.6 更新内容:
#####1.添加CAPullToRefreshView
CAListView、CATableView、CACollectionView等上拉、下拉刷新插件,用法见demo中CollectionViewTest。
CATableView老版上下拉刷新监听代理已移除
#####2.CATabBarController添加左右滑动手势换页效果
需手动设置相关属性开启
#####3.优化触摸事件分发系统
增加支持同方向滑动容器嵌套时子容器滑到头自动切换监听父容器的功能
#####4.优化CAProgress
#####5.优化CAScale9ImageView
#####6.删减CAImageView接口
#####7.修正CACollectionViewDataSource 的代理方法命名
##virtual unsigned int numberOfSectionsInCollectioView()
##改为
##virtual unsigned int numberOfSections(CACollectionView *collectionView)
##virtual unsigned int numberOfRowsInSectionCollectionView(CACollectionView *collectionView, unsigned int section)
##改为
##virtual unsigned int numberOfRowsInSection(CACollectionView *collectionView, unsigned int section)
####升级建议:
注意第7条的修改,如果用到该代理方法需改名与其一致
#### CrossApp.0 3. 6 Update:
##### 1. Added CAPullToRefreshView
Added pull up and pull down refresh plug-ins of CAListView, CATableView and CACollectionView, please view their usage in CollectionViewTest of demo. Removed pull up and pull down refresh monitoring agent of older version CATableView.<br/>
##### 2. Added page turning effect of left and right swipe gestures
You are required to manually set relative properties to launch this effect.<br/>
##### 3. Touch Event Distributed System Optimization
Added functionality that supports system auto switching to monitor parent container after child container slides to end when same direction sliding container is nested.<br/>
##### 4. CAProgress Optimization
##### 5. CAScale9ImageView Optimization
##### 6. Deleted CAImageView Interface
##### 7. Amended Agent Method Naming of CACollectionViewDataSource
##virtual unsigned int numberOfSectionsInCollectioView()<br/>
##is changed as<br/>
##virtual unsigned int numberOfSections(CACollectionView *collectionView)<br/>
##virtual unsigned int numberOfRowsInSectionCollectionView(CACollectionView *collectionView, unsigned int section)<br/>
##is changed as<br/>
##virtual unsigned int numberOfRowsInSection(CACollectionView *collectionView, unsigned int section)<br/>
#### Suggestion:
Note seventh item’s amendment, if you use this agent method, you should follow the same name of it.<br/>
**********************************************************************************
#### CrossApp 0.3.5 更新内容:
#####1.添加CAStepper
一个数字输入控件,它可以递进式输入数量。
#####2.修改CAAlertView接口
接口重写
#####3.优化CATextField
修改bug,并增加代理监听方法
#####4.优化CAProgress
#####5.优化CASegmentedControl
#####6.优化文字显示
#####7.删除rapidjson
####升级建议:
#1.重新拷贝java文件到android工程中,
#2.xcode需删除extensions目录中rapidjson文件夹
#3.从demo中拷贝新控件默认素材
#### CrossApp 0. 3. 5 Update:
##### 1. Added CAStepper
A number input control which is able to progressively input number.<br/>
##### 2. Modified CAAlertView Interface
Rewrote the interface.<br/>
##### 3. CATextField Optimization
Fixed bug and added agent monitoring method.<br/>
##### 4. CAProgress Optimization
##### 5. CASegmentedControl Optimization
##### 6. Text display Optimization
##### 7. Deleted rapidjson
#### Suggestion:
#1. Recopy java files into android project
#2. In xcode, you need to delete rapidjson folder of extensions directory
#3. Copy default material of new control from demo
**********************************************************************************
#### CrossApp 0.3.4 更新内容:
#####1.添加CADrawerController
抽屉视图管理器
#####3.添加CAListView
CATableView的简化版,并添加横向排列功能
#####2.添加CAPageControl
pageView页面进度指示器
#####3.优化CAActivityIndicatorView
增加自定义图片接口
增加自定义背景图片接口
#####4.优化CAImageView
添加图片适配方式接口,可支持(铺满、铺满不变形并裁减多余部分、显示全部不变形并居中、显示全部不变形并保持高度不变、显示全部不变形并保持宽度不变)
#####5.优化CATextField
修改设置背景接口
#####6.优化CASegmentedControl
添加接口并修复一些bug
#####7.优化CAPickerView
添加接口并修复一些bug
#####8.其他bug修复与优化
#### CrossApp 0. 3. 4 Update:
##### 1. Added CADrawerController
Drawer view controller<br/>
##### 2. Added CAListView
CATableView’s simplified version, and added horizontal arrangement functionality<br/>
##### 3. Added CAPageControl
pageView page progress indicator<br/>
##### 4. CAActivityIndicatorView Optimization
Added customized image interface, and added customized background image interface<br/>
##### 5. CAImageView Optimization
Added image adaptation mode interface which supports: fully-stretched, fully-stretched with no distortion and cut excess part, fully-displayed with no distortion and centered, fully-displayed with no distortion and stay same height, fully-displayed with no distortion and stay same width.<br/>
##### 6. CATextField Optimization
Modified background setting interface<br/>
##### 7. CASegmentedControl Optimization
Added interfaces and fixed some bugs<br/>
##### 8. CAPickerView Optimization
Added interfaces and fixed some bugs<br/>
##### 9. Fixed and Optimized Other Bugs
**********************************************************************************
#### CrossApp 0.3.3 更新内容:
#####1.添加CAActivityIndicatorView
加载状态视图
#####2.优化文字性能
增加缓存机制,文字性能再次提升,
#####3.优化CATabBar
增加一些方法与接口
#####4.优化CATableView与CACollectionView
增加section的Header与Footer悬停效果
#####5.优化CATextField
优化并修复一些bug
#####6.其他CAVector,CADeque,CAList
优化一些接口。增加三个容器之间的相互转化
#####7.其他bug修复与优化
#### CrossApp 0. 3. 3 Update:
#####1. Added CAActivityIndicatorView
Load status view.<br/>
#####2. Text Performance Optimization
Added cache mechanism, text performance had another improvement.<br/>
#####3. CATabBar Optimization
Added some methods and interfaces.<br/>
#####4. CATableView and CACollectionView Optimization
Added section’s Header and Footer’s hovering effect.<br/>
#####5. CATextField Optimization
Optimized and fixed some bugs.<br/>
#####6. Other CAVector, CADeque, CAList
Optimized some interfaces. Added the mutual transformation among three containers.<br/>
#####7. Fixed and Optimized other Bugs
**********************************************************************************
#### CrossApp 0.3.2 更新内容:
#####1.添加md5加密类
#####2.添加CACalendar
时间日期类
#####3.重写CATextField
重写后的textField效率有明显提升
#####4.优化CAPageView
CAPageView增加可监听选中当前页的回调方法
#####5.优化CALabel
增加sizetoFit方法,以便于修改label自己的大小为文字实际大小
#####6.其他bug修复
#### CrossApp 0. 3. 2 Update:
#####1. Added md5 Encryption Class
#####2. Added CACalendar
Date & Time classes<br/>
#####3. Rewrite CATextField
Rewrite-version textField has a better efficiency<br/>
#####4. CAPageView Optimization
Added callmonitoring current selected page of callback method for CAPageView<br/>
#####5. CALabel Optimization
Added sizetoFit method for modifying label’s own size into text actual size<br/>
#####6. Fixed Other Bugs
**********************************************************************************
####【正式版】CrossApp 0.3.1 更新内容:
#####1.添加CAPickerView
列表选择器,该控件是智能手机中比较常用到的一个控件,它通过转轮界面提供一系列多值选项,它向用户显示信息,也收集用户输入。
#####2.添加CAPageView
翻页滑动容器,该控件是智能手机中比较常用到的一个控件,它通过监听手指滑动手势来体现翻页的效果。
#####3.添加CAIndexPath2E、CAIndexPath3E
二维、三维索引类
#####4.CATableView,CACollectionView增加cell复用机制
复用机制使得CATableView,CACollectionView不再担心超大数据量的显示,且提升用户体验
#####5.优化触摸分发系统
优化触摸分发系统,可更加人性化的分发触摸事件
#####6.httpClient优化
httpClient由原来的一个单独异步线程改为可实现16个异步线程
#####7.修复CAList、CADeque的bug
#####8.修复CATextField在部分机型崩溃的bug
#### CrossApp 0. 3. 1 Update
##### 1. Added CAPickerView
List selector, a commonly used control in smartphone, is able to provide a series of multi-value options via rotative sliding menu, display information to users as well as collecting users’ input.<br/>
##### 2. Added CAPageView
Page turning sliding container, a commonly used control in smartphone, is able to implement page turning effect by monitoring fingers’ swipe gestures.<br/>
##### 3. Added CAIndexPath2E and CAIndexPath3E
Two and three dimensional index class<br/>
##### 4. Added Cell Reuse Mechanism of CATableView and CACollectionView
Reuse mechanism enables CATableView and CACollectionView to bear mass data volume display pressure, and improve UE.<br/>
##### 5. Touch Distributed System Optimization
We optimized touch distributed system, and now it can distribute touch event in a more humanized style.<br/>
##### 6. httpClient Optimization
The previous single asynchronous threaded httpClient is changed into a max 16 asynchronous threaded one<br/>
##### 7. Fixed CAList and CADeque’s Bug
##### 8. Fixed bug that CATextField had crash in some phone models
**********************************************************************************
####【正式版】CrossApp 0.3.0 更新内容:
#####1.CrossApp-Design发布
CrossApp UI界面编辑器正式推出,这将会大大的加快开发者们开发移动应用的速度。
#####2.大幅优化文字性能
文字机制重写,android平台文字加载速度提升约80%,iOS平台文字加载速度提升约50%。
#####3.优化渲染性能
渲染帧率大幅提升,几乎与原生应用性能近似,部分情况比原生更优(官网中有详细的测试指标的数值文档下载,请查阅)
#####4.优化CANavigationController
优化CANavigationController,大幅度的提升界面管理的效率。
#####5.优化CANavigationBar
添加设置标题与按钮文字颜色的接口。
修复更新背景Image的bug。
#####6.优化CASwitch
针对CASwitch的用户体验进行了优化。
#####7.修复CATableView与CACollectionView
修复CATableView与CACollectionView设置选中项的bug。
#####8.添加对CrossApp-Design导出文件的支持。
#####9.添加新的demo(开发者们反应强烈,所以增加)
新的demo对CrossApp的每一个控件进行了详细的展示,方便大家参考。
#####本版本是CrossApp首次推出正式版本,性能与原生应用近似,已到达可制作商业化产品的开发标准,官方也正式对外准许开发者们使用CrossApp在任何商业移动产品的开发中。
开源的跨平台移动应用开发引擎CrossApp基于MIT开源协议,开发者可以毫无顾虑、完全免费的使用CrossApp开发任何商业项目。
#### CrossApp 0.3.0 Update:
#####1. CrossApp-Design Release
CorssApp UI interface editor officially releases, which will significantly improve the mobile application development efficiency of developers.
#####2. Great Text Performance Optimization
We rewrote the text mechanism, and the text loading rate on Android was increased by 80% as well as 50% on iOS.
#####3. Rendering Performance Optimization
The rendering frame rate was greatly improved which is almost on the same level with native application performance, and it’s even better in some circumstances. (our official website has the detailed test index value documents, please download and view)
#####4. CANavigationController Optimization
we optimized CANavigationController, and its interface management efficiency was significantly improved.
#####5. CANavigationBar Optimization
Added port for setting title and button text color.
Fixed bug in background Image updating.
#####6. CASwitch Optimization
This CASwitch optimization is specific to UE.
#####7. Fixed CATableView and CACollectionView
Fixed bug in CATableView and CACollectionView selected item setting.
#####8. Added support for CrossApp-Design file exporting.
####9. Added New Demo (a response to our developers’ strong demand)
For your convenience, our new demo contains detailed demonstration for every CrossApp control.
#####Statement: this version is CrossApp’s first official version which is almost on the same level with native application’s performance, and has reached the development standard for making commercial products. Here we officially give permission to developers to produce any commercial mobile products with CrossApp.
Mobile application development engine CrossApp, with open source, cross-platform features, is based on MIT open source protocols, and developers could freely use it to produce any business projects without any misgivings whatsoever.
**********************************************************************************
####CrossApp beta 0.2.1 更新内容:
#####1.添加容器类
添加CAVector、CADeque、CAList、CAMap、CAMultimap。
#####2.添加控件
添加控件CACollectionView,比CATalbeView 更加复杂的控件诞生,强大的功能可满足很多界面需求。
#####3.添加适配修正参数
添加适配修正参数,以iphone4屏幕为基准,可使其他所有移动设备所表现的视图物理尺寸与iphone4完全一致。
#####4.修复bug
修复触摸事件内存泄露的bug
#####5.修复bug
修复CAAlertView特定情况崩溃的bug
#####6.代码优化
优化CATableView代理方法
#####7.文件补全
添加2.0版本丢失的文件
####CrossApp beta 0.2.1 Update:
#####1.Added container class
Add CAVector, CADeque, CAList, CAMap and CAMultimap.
#####2.Added controls
Add control CACollectionView which is more complicated than CATableView, and its great function could meet many interfaces’ demands.
#####3.Added adaptive corrected parameter
Added adaptive corrected parameter and take iPhone4 as standard, and this parameter enables all other mobile devices’ displayed view physical size are same with iPhone4.
#####4.Fixed bug
Fixed bug that touch event’s memory leak.
#####5.Fixed bug
Fixed bug that CAAlertView had breakdown in particular circumstance.
#####6.Codes optimization
Optimized CATableView agent method.
#####7.Files completion
Added lost files of 2.0 versions.
**********************************************************************************
####CrossApp beta 0.2.0(重要更新) 更新内容:
#####1.整理引擎目录结构
整理目录结构,改名部分类名。
#####2.触摸事件分发优化
触摸事件分发 现在针对滑动容器优化
#####3.添加控件CAAlertView
提示框,按钮个数三个以内横排,超过三个纵向排列,并放入滑动容器中。
#####4.优化CALabel
#####5.补全CATextField功能
#####6.修复部分bug
#####7.添加一键创建工程
#####8.添加一件部署安卓环境, 下载地址:http://pan.baidu.com/s/1qW6ql32
####CrossApp beta 0.2.0 Update: (Important changes)
#####1.Arranged engine directory structure
Arranged directory structure and changed some class name
#####2.Touch event dispatch optimization
We optimized sliding container of touch event dispatch
#####3.Added CAAlertView control
In prompt box, if button number is less than three, they are arranged in horizontal mode, if the number is greater than three, arranged in vertical mode and put into sliding container.
#####4.CALabel optimization
#####5.Complemented CATextField function
#####6.Fixed some bugs
#####7.Added one-key project building
#####8.Added one-key Android environment deployment, download: http://pan.baidu.com/s/1qW6ql32
####CrossApp alpha 0.1.11(重要更新) 更新内容:
#####1.引擎默认主题风格变更
新的风格将更加漂亮,切适配性更强。
#####2.CAScale9ImageView重写
由于之前的9宫格有功能缺陷,现重写,新的9宫格可以支持单向缩小。
#####3.CALabel优化
CALabel结构优化,性能优化。将来还会优化。
####CrossApp alpha 0.1.11 Update: (Important changes)
#####1.Default engine theme style change
The new style is more attractive and has a greater suitability.
#####2.CAScale9ImageView rewriting
We rewrote 9 rectangle gird because of the previous version had function defects, and the new version supports unidirectional zoom-out.
#####3.CALabel optimization
We optimized CALabel’s structure and performance, and will do it in the future.
####CrossApp alpha 0.1.10 更新内容:
#####1.CAImageView优化
优化CAImageView,并修改之前在CAImageView添加子视图显示不正确的bug,现在可随意添加子视图给CAImageView。
#####2.删除ccColor3B,并添加CAColor4B
删除之前的ccColor3B,以前所有用到ccColor3B的地方统统被CAColor4B替换,增加透明度属性。
#####3.删除Opacity属性,并添加新的alpha属性
alpha属性为float型,数值范围为0-1.0f,设置alpha属性可直接影响所有子视图的透明度。
#####4.彻底删除position属性
同样 CCMoveTo、CCMoveBy也被引擎所抛弃
#####5.修复Android平台GPS的bug
修复android平台手机因没有开启gps导致应用程序无法运行的bug
#####6.修复CAScrollView的bug
修复之前代理回调方法virtual void scrollViewWillBeginDragging(CAScrollView* view){};
触发时机错误的bug
####CrossApp alpha 0.1.10 Update:
#####1.CAImageView optimization
Optimized CAImageView, and fixed bug that wrong display problem when adding sub view in CAImageView, now you are free to add sub view in CAImageView.
#####2.Delete ccColor3B and add CAColor4B
Deleted ccColor3B and replace all ccColor3B with CAColor4B, added transparency attribute.
#####3.Deleted Opacity attribute and added new alpha attribute
Alpha attribute is float type with 0 – 1.0f value range, alpha attribute setting can directly influence all sub views’ transparency.
#####4.Completely delete position attribute
CCMoveTo and CCMoveBy are also deleted from our engine
#####5.Fixed the GPS bug of Android platform
Fixed bug that application cannot be started because of Android cellphone did not open GPS
#####6.Fixed CAScrollView bug
Fixed bug that agent callback method ‘void scrollViewWillBeginDragging(CAScrollView* view){};’ has a wrong trigger timing.
####CrossApp alpha 0.1.9 更新内容:
#####1.触摸事件bug修改
在滑动层上点击按钮瞬间抬起不触发的bug
#####2.CATabBar优化
对CATabBar进行了体验的优化
#####3.CATabBar与CANavigationBar优化
可通过ViewController动态更新其显示数据
#####4.CAButton与CASegmentedControl优化
修改文字显示大小错误的bug
#####6.安卓系统,从后台返回黑屏的bug
之前,在安卓系统中,如果从后台返回,有几率黑屏
#####5.添加动画相关 CCFrameTo 与 CCCenterTo
可以动态的修改 frame与center
#####6.添加viewController悬浮抽屉功能
现在可以调用任何一个viewController的presentModalViewController与dismissModalViewController来显示与撤销。
####CrossApp alpha 0.1.9 Update:
#####1.Touch event bug modification
Fixed bug that Instant release after clicking button on sliding layer is not triggered
#####2.CATabBar optimization
Experience optimization on CATabBar
#####3.CATabBar and CANavigationBar optimization
It’s able to dynamic update CATabBar and CANavigationBar display data via ViewController
#####4.CAButton and CASegmentedControl optimization
Fixed bug that wrong text display size
#####5.Fixed bug that blank screen appears when returning from background in Android system
Previously, if we return from background in Android system, there is certain of probability that blank screen appears
#####6.Added animation related CCFrameTo and CCCenterTo
You can dynamically modify frame and center
#####7.Added suspension drawer function of viewController
You can call any viewController’s presentModalViewController and dismissModalViewController to display and dismiss
####CrossApp alpha 0.1.8 更新内容:
#####1.
添加CANavigationController左右button的定制
#####2.
CATextField添加win32输入功能
#####3.
添加CANavigationController 替换当前CAViewController的功能
#####4.
修复触摸分发系统在可滑动容器上快速点击按钮无法触发按钮事件的bug
#####6.
修复在win32由于触摸事件造成的偶尔崩溃的bug
#####5.
优化CASegmentedControl
#####6.
优化CANavigationBar在竖屏的高度及布局。
####CrossApp alpha 0.1.8 Update:
#####1.
Added CANavigationController left and right button customization
#####2.
Added win32 input function in CATextField
#####3.
Added CANavigationController, and replace current CAViewController’s function
#####4.
Fixed bug that quickly clicking button on slidable container of touch dispatch system is unable to trigger button event
#####5.
Fixed bug that occasional crashes caused by touch event in win32
#####6.
Optimize CASegmentedControl
#####7.
Optimize CANavigationBar height and layout in portrait mode
####CrossApp alpha 0.1.7 更新内容:
#####1.
修复CATextField在 win32 与mac平台编译报错的问题
#####2.
修复TabBarController当前viewController不是第一项时 显示与隐藏 tabBar时画面出错的问题
####CrossApp alpha 0.1.7 Update:
#####1.
Fixed CATextField compiling error report problem on win32 and Mac platform.
#####2.
Fixed picture error report problem in displaying and hiding tabBar when current viewController of TabBArController is not the first item.
####CrossApp alpha 0.1.6 更新内容:
#####1. 添加CASlider:
滑动条
在此特别鸣谢 9秒ID为juguanhui的 美女程序员,为我们提供了优质的控件源码。
#####2. 添加CASegmentedControl:
分段选项器
在此特别鸣谢 9秒ID为juguanhui的 美女程序员,为我们提供了优质的控件源码。
#####3. 触摸事件分发规则优化,添加CAResponder类
经过此次优化,触摸事件分发更加智能,使开发过程变得简单容易。
#####4. CATextField功能补全:
1.添加输入框选择键盘类型
2.添加遮蔽显示字符为※
3.添加光标移动以及插入删除
4.添加获取键盘高度等功能。
5.目前只支持iOS与Android。
#####5. 添加CATabBarController 、CANavigationController新功能
支持tabBarControll切换viewController动画效果功能
增加 CATabBarController 、CANavigationController 隐藏 其Bar的功能
#####6. 修改部分bug
1.修正CAView在addSubview之前设置ZOder不起作用的bug
2.修正调用CCDirector中setNotificationNode(CAView* view)不起作用的bug
3.scrollView指示条显示隐藏时机错误的bug
#####7. win32平台向下兼容至VS2012
####CrossApp alpha 0.1.6 Update:
#####1. Added CASlider:
Slider<br/>
Special thanks to a beautiful female programmer (9miao ID: juguanhui) for providing superior controls source codes for us.
#####2. Added CASegmentedControl:
Segmented Controller<br/>
Special thanks to a beautiful female programmer (9miao ID: juguanhui) for providing superior controls source codes for us.
#####3. Touch event dispatch rules optimization, added CAResponder class.
This optimization makes touch event dispatch become more intelligent and development process simple and easy.
#####4. CATextField functions completion:
1.Added keyboard type selecting on text field<br/>
2.Added hiding display character ※<br/>
3.Added cursor movement, insert and delete<br/>
4.Added functions such as obtaining keyboard height and others<br/>
5.Only support iOS and Android for now<br/>
#####5. Added new functions of CATabBarController and CANavigationController
Support tabBarController switching to viewController animation effect<br/>
Added TabBar and NavigationBar hiding function<br/>
#####6. Fixed some bugs
1.Fixed bug: setting ZOder before addSubview in CAView is invalid<br/>
2.Fixed bug: calling setNotificationNode(CAView* view) in CCDirector is invalid<br/>
3.Fixed bug: scrollView indicator's display and hiding timing are wrong<br/>
#####7. Backward compatible to VS2012 on win32 platform
####CrossApp alpha 0.1.5 更新内容:
#####1. 添加CASwitch:
在此特别鸣谢 9秒ID为juguanhui的 美女程序员,为我们提供了优质的控件源码。
由于一些原因,juguanhui无法通过git上传代码,所以此次控件源码提交是通过9秒内部上传的。
#####2. 触摸事件分发规则修改:
新的触摸事件无需注册,只要继承CAView的所有子类,均可通过实现cctouchBegin等函数监听.而且在touchbegin时的视图矩形区域外是无法获得事件监听的。
新的触摸事件是由父视图分发给子视图的,所以当在父视图矩形区域外的touchBegin事件,即使其子视图矩形区域包含这个点,也是无法获取到触摸事件的。
#####3. 增加GPS定位功能:
目前支持iOS与android平台,wp8无功能
#####4. 增加相册选择照片并返回照片图片数据功能:
目前支持iOS与android平台,wp8无功能
#####5. 增加从摄像头拍照并返回照片图片数据功能:
目前支持iOS与android平台,wp8无功能
#####6. 增加获取手机通讯录联系人信息的功能:
目前支持iOS与android平台,wp8无功能
####CrossApp alpha 0.1.5 Update:
#####1. Added CASwitch:
Special thanks to a beautiful female programmer (9miao ID: juguanhui) for providing superior controls source codes for us. Juguanhui cannot upload codes via git for some reasons, so this time the controls sources code was submitted and uploaded by 9miao worker.
#####2. Touch event dispatch rules modification:
The new touch event does not have to be registered, and you can implement cctouchBegin and other functions monitoring by only inheriting all child classes of CAView. In addition, it’s unable to obtain event monitoring outside of view rectangular region when you touch screen.<br/>
The new touch event is dispatched from parent view to child view, so even if your touchBegin event spot is in child view rectangular region, you cannot obtain touch event on condition that the touchBegin event is outside of parent view rectangular region.<br/>
#####3. Added GPS location function:
Support iOS and Android for now, no WP8.
#####4. Added photo select from album and photo picture data return function:
Support iOS and Android for now, no WP8.
#####5. Added photo taking from webcam and photo picture data return function:
Support iOS and Android for now, no WP8.
#####6. Added mobile address book contacts information obtaining function:
Support iOS and Android for now, no WP8.
####CrossApp alpha 0.1.4 更新内容:
#####1. 耗电优化:
由于cocos2d-x的渲染用的渲染驱动模式,程序生命周期中,在不断地重绘,帧数一般在60帧。渲染驱动模式的缺点就是耗电。显而易见,这种不断的重绘方式对于应用程序来说太浪费了。因此,我们针对应用程序的特性,将渲染机制改为事件驱动模式。这种模式的渲染要有外界触发才会重绘,在没有外界触发的时候画面静止,渲染停止,以达到节能的效果
#####2. CAButton修改:
增加新的属性 AllowsSelected(包含set,get),默认为false。如果为true,则开启选中模式。在这种模式下。按钮会在选中与默认状态之间切换。即,如果当前为默认状态,按下按钮并抬起,按钮切换到选中状态,再次按下并抬起,则按钮又切换回普通状态。同时,我们可以用getSelected()方法来及时的获取当前按钮属于2种状态中的哪一种
#####3. CASchedule(经原有CCSchedule修改):
**a) 简化用法:**启动停止等操作只需调用相应静态方法即可
**b) 内存管理修改:**之前启动定时器,针对pTarget的引用计数会+1,以防止因pTarget的释放造成程序崩溃。现在启用了新的机制,已经可以完全避免以上问题,因此在启动定时器后不再对pTarget的引用计数+1,在pTarget释放后自动停止相关定时器
**c) 新特点:**当pTarget为CAViewController或者其派生类型时,CAViewController的view不显示时,定时器会自动暂停,当重新显示时,会自动恢复。除此之外,在pTarget释放前不会有变化
#####4. Demo位置变动
demo由原来的projects文件夹移到samples
####贡献者名单:juguanhui,
####CrossApp alpha 0.1.4 Update:
#####1.Power Consumption Optimization:
A program is continuously redrawing at general 60 frame rates in its life cycle because of the rendering-driven mode of cocos2d-x rendering, but the shortcoming of this mode is the relatively considerable power consumption. Obviously this continuous redraw mode is quite a waste for program, so we change the rendering mechanism into event-driven mode based on application features. In this rendering mode the redraw is only triggered by outside, if not the screen is static and rendering stops, so as to achieve energy saving goal.
#####2.CAButton Modification:
Added new attribute AllowsSelected (including set, get), default value is false. If value is true then selected mode is started. In this mode, the button status will switch between selected and default: if current status is default one, press button and release and button will switch to selected status; press and release again and button will switch back to default status. However, we can promptly judge and know current button status by using getSelected () method.
#####3.CASchedule (modified based on CCSchedule):
**a) Simplify usage: ** start, stop and other operation can be acted by calling corresponding static methods.<br/>
**b) Memory management modification: ** previously when we start timer, reference counting on pTarget will plus 1 for the purpose of avoiding program crashed caused by pTarget release. Now the new mechanism we deployed could completely solve the above problem: this mechanism enables system to stop plus 1 on pTarget reference counting after timer starts and auto-stop related timer after pTarget release.<br/>
**c) New feature: ** when pTarget is derived type of CAViewController or others and the view of CAViewController is not displayed, timer will auto pause; it will auto recover when the view is displayed. In addition, it will not change before pTarget releases.<br/>
#####4.Demo Location Change
Demo location is moved to samples folder from projects.
####Contributors: juguanhui,
####【9秒实验室自研】
CrossApp引擎详细介绍请点此:
<http://www.9miao.com/crossapp/list-24-1.html>
#### 9miao Lab Original
Click to view CrossApp engine detailed description:<br/>
<http://www.9miao.com/crossapp/list-24-1.html>
####近期要做的控件:
提示框:CAAlertView
视图分页控制器:CAPageControl
大段文字输入控件:CATextView
加载状态控制器:CAActivity
网页加载控件:CAWebView
####Recent Controls Writing Plan:
Reminder: CAAlertView<br/>
View paging controller: CAPageControl<br/>
Blocks of text input control: CATextView<br/>
Load status controller: CAActivity<br/>
Webpage load control: CAWebView<br/>
####目前已有控件缺失功能:
#####1. textField:
**a) **文字内容长度自由限制
**b) **光标移动到文字内容任意位置编辑功能
**c) **换行输入功能
#####2. tableView:
**a) **cell的复用
**b) **cell编辑功能(删除、插入等)
**c) **cell的一些模板属性的添加
####Existed Controls Missing Features:
#####1. textField:
**a) ** free control on text content length<br/>
**b) ** text editing when cursor is at anywhere of content<br/>
**c) **line feed input<br/>
#####2. tableView:
**a) **cell reuse<br/>
**b) **cell editing (delete, insert and others)<br/>
**c) **added some template attributes of cell<br/>
=======
####【正式版】CrossApp 0.3.1 更新内容:
#####1.添加CAPickerView
列表选择器,该控件是智能手机中比较常用到的一个控件,它通过转轮界面提供一系列多值选项,它向用户显示信息,也收集用户输入。
#####2.添加CAPageView
翻页滑动容器,该控件是智能手机中比较常用到的一个控件,它通过监听手指滑动手势来体现翻页的效果。
#####3.添加CAIndexPath2E、CAIndexPath3E
二维、三维索引类
#####4.CATableView,CACollectionView增加cell复用机制
复用机制使得CATableView,CACollectionView不再担心超大数据量的显示,且提升用户体验
#####5.优化触摸分发系统
优化触摸分发系统,可更加人性化的分发触摸事件
#####6.httpClient优化
httpClient由原来的一个单独异步线程改为可实现16个异步线程
#####7.修复CAList、CADeque的bug
#####8.修复CATextField在部分机型崩溃的bug
#### CrossApp 0.3.1 Update:
#####1. Added CAPickerView
List selector, a commonly used control in smartphone, is able to provide a series of multi-value options via rotative sliding menu, display information to users as well as collecting users’ input.
#####2. Added CAPageView
Page turning sliding container, a commonly used control in smartphone, is able to implement page turning effect by monitoring fingers’ swipe gestures.
#####3. Added CAIndexPath2E and CAIndexPath3E
Two and three dimensional index class
#####4. Added Cell Reuse Mechanism of CATableView and CACollectionView
Reuse mechanism enables CATableView and CACollectionView to bear mass data volume display pressure, and improve UE.
#####5. Touch Distributed System Optimization
We optimized touch distributed system, and now it can distribute touch event in a more humanized style.
#####6. httpClient Optimization
The previous single asynchronous threaded httpClient is changed into a max 16 asynchronous threaded one
#####7. Fixed CAList and CADeque’s Bug
#####8. Fixed bug that CATextField had crash in some phone models
####【正式版】CrossApp 0.3.0 更新内容:
#####1.CrossApp-Design发布
CrossApp UI界面编辑器正式推出,这将会大大的加快开发者们开发移动应用的速度。
#####2.大幅优化文字性能
文字机制重写,android平台文字加载速度提升约80%,iOS平台文字加载速度提升约50%。
#####3.优化渲染性能
渲染帧率大幅提升,几乎与原生应用性能近似,部分情况比原生更优(官网中有详细的测试指标的数值文档下载,请查阅)
#####4.优化CANavigationController
优化CANavigationController,大幅度的提升界面管理的效率。
#####5.优化CANavigationBar
添加设置标题与按钮文字颜色的接口。
修复更新背景Image的bug。
#####6.优化CASwitch
针对CASwitch的用户体验进行了优化。
#####7.修复CATableView与CACollectionView
修复CATableView与CACollectionView设置选中项的bug。
#####8.添加对CrossApp-Design导出文件的支持。
#####9.添加新的demo(开发者们反应强烈,所以增加)
新的demo对CrossApp的每一个控件进行了详细的展示,方便大家参考。
#####本版本是CrossApp首次推出正式版本,性能与原生应用近似,已到达可制作商业化产品的开发标准,官方也正式对外准许开发者们使用CrossApp在任何商业移动产品的开发中。
开源的跨平台移动应用开发引擎CrossApp基于MIT开源协议,开发者可以毫无顾虑、完全免费的使用CrossApp开发任何商业项目。
#### CrossApp 0.3.0 Update:
#####1. CrossApp-Design Release
CorssApp UI interface editor officially releases, which will significantly improve the mobile application development efficiency of developers.
#####2. Great Text Performance Optimization
We rewrote the text mechanism, and the text loading rate on Android was increased by 80% as well as 50% on iOS.
#####3. Rendering Performance Optimization
The rendering frame rate was greatly improved which is almost on the same level with native application performance, and it’s even better in some circumstances. (our official website has the detailed test index value documents, please download and view)
#####4. CANavigationController Optimization
we optimized CANavigationController, and its interface management efficiency was significantly improved.
#####5. CANavigationBar Optimization
Added port for setting title and button text color.
Fixed bug in background Image updating.
#####6. CASwitch Optimization
This CASwitch optimization is specific to UE.
#####7. Fixed CATableView and CACollectionView
Fixed bug in CATableView and CACollectionView selected item setting.
#####8. Added support for CrossApp-Design file exporting.
####9. Added New Demo (a response to our developers’ strong demand)
For your convenience, our new demo contains detailed demonstration for every CrossApp control.
#####Statement: this version is CrossApp’s first official version which is almost on the same level with native application’s performance, and has reached the development standard for making commercial products. Here we officially give permission to developers to produce any commercial mobile products with CrossApp.
Mobile application development engine CrossApp, with open source, cross-platform features, is based on MIT open source protocols, and developers could freely use it to produce any business projects without any misgivings whatsoever.
**********************************************************************************
####CrossApp beta 0.2.1 更新内容:
#####1.添加容器类
添加CAVector、CADeque、CAList、CAMap、CAMultimap。
#####2.添加控件
添加控件CACollectionView,比CATalbeView 更加复杂的控件诞生,强大的功能可满足很多界面需求。
#####3.添加适配修正参数
添加适配修正参数,以iphone4屏幕为基准,可使其他所有移动设备所表现的视图物理尺寸与iphone4完全一致。
#####4.修复bug
修复触摸事件内存泄露的bug
#####5.修复bug
修复CAAlertView特定情况崩溃的bug
#####6.代码优化
优化CATableView代理方法
#####7.文件补全
添加2.0版本丢失的文件
####CrossApp beta 0.2.1 Update:
#####1.Added container class
Added CAVector, CADeque, CAList, CAMap and CAMultimap.
#####2.Add controls
Added control CACollectionView which is more complicated than CATableView, and its great function could meet many interfaces’ demands.
#####3.Added adaptive corrected parameter
Added adaptive corrected parameter and take iPhone4 as standard, and this parameter enables all other mobile devices’ displayed view physical size are same with iPhone4.
#####4.Fixed bug
Fixed bug that touch event’s memory leak.
#####5.Fixed bug
Fixed bug that CAAlertView had breakdown in particular circumstance.
#####6.Codes optimization
Optimized CATableView agent method.
#####7.Files completion
Added lost files of 2.0 versions.
**********************************************************************************
####CrossApp beta 0.2.0(重要更新) 更新内容:
#####1.整理引擎目录结构
整理目录结构,改名部分类名。
#####2.触摸事件分发优化
触摸事件分发 现在针对滑动容器优化
#####3.添加控件CAAlertView
提示框,按钮个数三个以内横排,超过三个纵向排列,并放入滑动容器中。
#####4.优化CALabel
#####5.补全CATextField功能
#####6.修复部分bug
#####7.添加一键创建工程
#####8.添加一件部署安卓环境, 下载地址:http://pan.baidu.com/s/1qW6ql32
####CrossApp beta 0.2.0 Update: (Important changes)
#####1.Arranged engine directory structure
Arranged directory structure and changed some class name
#####2.Touch event dispatch optimization
We optimized sliding container of touch event dispatch
#####3.Added CAAlertView control
In prompt box, if button number is less than three, they are arranged in horizontal mode, if the number is greater than three, arranged in vertical mode and put into sliding container.
#####4.CALabel optimization
#####5.Complemented CATextField function
#####6.Fixed some bugs
#####7.Added one-key project building
#####8.Added one-key Android environment deployment, download: http://pan.baidu.com/s/1qW6ql32
####CrossApp alpha 0.1.11(重要更新) 更新内容:
#####1.引擎默认主题风格变更
新的风格将更加漂亮,切适配性更强。
#####2.CAScale9ImageView重写
由于之前的9宫格有功能缺陷,现重写,新的9宫格可以支持单向缩小。
#####3.CALabel优化
CALabel结构优化,性能优化。将来还会优化。
####CrossApp alpha 0.1.11 Update: (Important changes)
#####1.Default engine theme style change
The new style is more attractive and has a greater suitability.
#####2.CAScale9ImageView rewriting
We rewrote 9 rectangle gird because of the previous version had function defects, and the new version supports unidirectional zoom-out.
#####3.CALabel optimization
We optimized CALabel’s structure and performance, and will do it in the future.
####CrossApp alpha 0.1.10 更新内容:
#####1.CAImageView优化
优化CAImageView,并修改之前在CAImageView添加子视图显示不正确的bug,现在可随意添加子视图给CAImageView。
#####2.删除ccColor3B,并添加CAColor4B
删除之前的ccColor3B,以前所有用到ccColor3B的地方统统被CAColor4B替换,增加透明度属性。
#####3.删除Opacity属性,并添加新的alpha属性
alpha属性为float型,数值范围为0-1.0f,设置alpha属性可直接影响所有子视图的透明度。
#####4.彻底删除position属性
同样 CCMoveTo、CCMoveBy也被引擎所抛弃
#####5.修复Android平台GPS的bug
修复android平台手机因没有开启gps导致应用程序无法运行的bug
#####6.修复CAScrollView的bug
修复之前代理回调方法virtual void scrollViewWillBeginDragging(CAScrollView* view){};
触发时机错误的bug
####CrossApp alpha 0.1.10 Update:
#####1.CAImageView optimization
Optimized CAImageView, and fixed bug that wrong display problem when adding sub view in CAImageView, now you are free to add sub view in CAImageView.
#####2.Deleted ccColor3B and added CAColor4B
Deletet ccColor3B and replace all ccColor3B with CAColor4B, added transparency attribute.
#####3.Deleted Opacity attribute and added new alpha attribute
Alpha attribute is float type with 0 – 1.0f value range, alpha attribute setting can directly influence all sub views’ transparency.
#####4.Completely delete position attribute
CCMoveTo and CCMoveBy are also deleted from our engine
#####5.Fixed the GPS bug of Android platform
Fixed bug that application cannot be started because of Android cellphone did not open GPS
#####6.Fixed CAScrollView bug
Fixed bug that agent callback method ‘void scrollViewWillBeginDragging(CAScrollView* view){};’ has a wrong trigger timing.
####CrossApp alpha 0.1.9 更新内容:
#####1.触摸事件bug修改
在滑动层上点击按钮瞬间抬起不触发的bug
#####2.CATabBar优化
对CATabBar进行了体验的优化
#####3.CATabBar与CANavigationBar优化
可通过ViewController动态更新其显示数据
#####4.CAButton与CASegmentedControl优化
修改文字显示大小错误的bug
#####6.安卓系统,从后台返回黑屏的bug
之前,在安卓系统中,如果从后台返回,有几率黑屏
#####5.添加动画相关 CCFrameTo 与 CCCenterTo
可以动态的修改 frame与center
#####6.添加viewController悬浮抽屉功能
现在可以调用任何一个viewController的presentModalViewController与dismissModalViewController来显示与撤销。
####CrossApp alpha 0.1.9 Update:
#####1.Touch event bug modification
Fixed bug that Instant release after clicking button on sliding layer is not triggered
#####2.CATabBar optimization
Experience optimization on CATabBar
#####3.CATabBar and CANavigationBar optimization
It’s able to dynamic update CATabBar and CANavigationBar display data via ViewController
#####4.CAButton and CASegmentedControl optimization
Fixed bug that wrong text display size
#####5.Fixed bug that blank screen appears when returning from background in Android system
Previously, if we return from background in Android system, there is certain of probability that blank screen appears
#####6.Added animation related CCFrameTo and CCCenterTo
You can dynamically modify frame and center
#####7.Added suspension drawer function of viewController
You can call any viewController’s presentModalViewController and dismissModalViewController to display and dismiss
####CrossApp alpha 0.1.8 更新内容:
#####1.
添加CANavigationController左右button的定制
#####2.
CATextField添加win32输入功能
#####3.
添加CANavigationController 替换当前CAViewController的功能
#####4.
修复触摸分发系统在可滑动容器上快速点击按钮无法触发按钮事件的bug
#####6.
修复在win32由于触摸事件造成的偶尔崩溃的bug
#####5.
优化CASegmentedControl
#####6.
优化CANavigationBar在竖屏的高度及布局。
####CrossApp alpha 0.1.8 Update:
#####1.
Added CANavigationController left and right button customization
#####2.
Added win32 input function in CATextField
#####3.
Added CANavigationController, and replace current CAViewController’s function
#####4.
Fixed bug that quickly clicking button on slidable container of touch dispatch system is unable to trigger button event
#####5.
Fixed bug that occasional crashes caused by touch event in win32
#####6.
Optimize CASegmentedControl
#####7.
Optimize CANavigationBar height and layout in portrait mode
####CrossApp alpha 0.1.7 更新内容:
#####1.
修复CATextField在 win32 与mac平台编译报错的问题
#####2.
修复TabBarController当前viewController不是第一项时 显示与隐藏 tabBar时画面出错的问题
####CrossApp alpha 0.1.7 Update:
#####1.
Fixed CATextField compiling error report problem on win32 and Mac platform.
#####2.
Fixed picture error report problem in displaying and hiding tabBar when current viewController of TabBArController is not the first item.
####CrossApp alpha 0.1.6 更新内容:
#####1. 添加CASlider:
滑动条
在此特别鸣谢 9秒ID为juguanhui的 美女程序员,为我们提供了优质的控件源码。
#####2. 添加CASegmentedControl:
分段选项器
在此特别鸣谢 9秒ID为juguanhui的 美女程序员,为我们提供了优质的控件源码。
#####3. 触摸事件分发规则优化,添加CAResponder类
经过此次优化,触摸事件分发更加智能,使开发过程变得简单容易。
#####4. CATextField功能补全:
1.添加输入框选择键盘类型
2.添加遮蔽显示字符为※
3.添加光标移动以及插入删除
4.添加获取键盘高度等功能。
5.目前只支持iOS与Android。
#####5. 添加CATabBarController 、CANavigationController新功能
支持tabBarControll切换viewController动画效果功能
增加 CATabBarController 、CANavigationController 隐藏 其Bar的功能
#####6. 修改部分bug
1.修正CAView在addSubview之前设置ZOder不起作用的bug
2.修正调用CCDirector中setNotificationNode(CAView* view)不起作用的bug
3.scrollView指示条显示隐藏时机错误的bug
#####7. win32平台向下兼容至VS2012
####CrossApp alpha 0.1.6 Update:
#####1. Added CASlider:
Slider<br/>
Special thanks to a beautiful female programmer (9miao ID: juguanhui) for providing superior controls source codes for us.
#####2. Added CASegmentedControl:
Segmented Controller<br/>
Special thanks to a beautiful female programmer (9miao ID: juguanhui) for providing superior controls source codes for us.
#####3. Touch event dispatch rules optimization, add CAResponder class.
This optimization makes touch event dispatch become more intelligent and development process simple and easy.
#####4. CATextField functions completion:
1.Added keyboard type selecting on text field<br/>
2.Added hiding display character ※<br/>
3.Added cursor movement, insert and delete<br/>
4.Added functions such as obtaining keyboard height and others<br/>
5.Only support iOS and Android for now<br/>
#####5. Added new functions of CATabBarController and CANavigationController
Support tabBarController switching to viewController animation effect<br/>
Added TabBar and NavigationBar hiding function<br/>
#####6. Fixed some bugs
1.Fixed bug: setting ZOder before addSubview in CAView is invalid<br/>
2.Fixed bug: calling setNotificationNode(CAView* view) in CCDirector is invalid<br/>
3.Fixed bug: scrollView indicator's display and hiding timing are wrong<br/>
#####7. Backward compatible to VS2012 on win32 platform
####CrossApp alpha 0.1.5 更新内容:
#####1. 添加CASwitch:
在此特别鸣谢 9秒ID为juguanhui的 美女程序员,为我们提供了优质的控件源码。
由于一些原因,juguanhui无法通过git上传代码,所以此次控件源码提交是通过9秒内部上传的。
#####2. 触摸事件分发规则修改:
新的触摸事件无需注册,只要继承CAView的所有子类,均可通过实现cctouchBegin等函数监听.而且在touchbegin时的视图矩形区域外是无法获得事件监听的。
新的触摸事件是由父视图分发给子视图的,所以当在父视图矩形区域外的touchBegin事件,即使其子视图矩形区域包含这个点,也是无法获取到触摸事件的。
#####3. 增加GPS定位功能:
目前支持iOS与android平台,wp8无功能
#####4. 增加相册选择照片并返回照片图片数据功能:
目前支持iOS与android平台,wp8无功能
#####5. 增加从摄像头拍照并返回照片图片数据功能:
目前支持iOS与android平台,wp8无功能
#####6. 增加获取手机通讯录联系人信息的功能:
目前支持iOS与android平台,wp8无功能
####CrossApp alpha 0.1.5 Update:
#####1. Added CASwitch:
Special thanks to a beautiful female programmer (9miao ID: juguanhui) for providing superior controls source codes for us. Juguanhui cannot upload codes via git for some reasons, so this time the controls sources code was submitted and uploaded by 9miao worker.
#####2. Touch event dispatch rules modification:
The new touch event does not have to be registered, and you can implement cctouchBegin and other functions monitoring by only inheriting all child classes of CAView. In addition, it’s unable to obtain event monitoring outside of view rectangular region when you touch screen.<br/>
The new touch event is dispatched from parent view to child view, so even if your touchBegin event spot is in child view rectangular region, you cannot obtain touch event on condition that the touchBegin event is outside of parent view rectangular region.<br/>
#####3. Added GPS location function:
Support iOS and Android for now, no WP8.
#####4. Added photo select from album and photo picture data return function:
Support iOS and Android for now, no WP8.
#####5. Added photo taking from webcam and photo picture data return function:
Support iOS and Android for now, no WP8.
#####6. Added mobile address book contacts information obtaining function:
Support iOS and Android for now, no WP8.
####CrossApp alpha 0.1.4 更新内容:
#####1. 耗电优化:
由于cocos2d-x的渲染用的渲染驱动模式,程序生命周期中,在不断地重绘,帧数一般在60帧。渲染驱动模式的缺点就是耗电。显而易见,这种不断的重绘方式对于应用程序来说太浪费了。因此,我们针对应用程序的特性,将渲染机制改为事件驱动模式。这种模式的渲染要有外界触发才会重绘,在没有外界触发的时候画面静止,渲染停止,以达到节能的效果
#####2. CAButton修改:
增加新的属性 AllowsSelected(包含set,get),默认为false。如果为true,则开启选中模式。在这种模式下。按钮会在选中与默认状态之间切换。即,如果当前为默认状态,按下按钮并抬起,按钮切换到选中状态,再次按下并抬起,则按钮又切换回普通状态。同时,我们可以用getSelected()方法来及时的获取当前按钮属于2种状态中的哪一种
#####3. CASchedule(经原有CCSchedule修改):
**a) 简化用法:**启动停止等操作只需调用相应静态方法即可
**b) 内存管理修改:**之前启动定时器,针对pTarget的引用计数会+1,以防止因pTarget的释放造成程序崩溃。现在启用了新的机制,已经可以完全避免以上问题,因此在启动定时器后不再对pTarget的引用计数+1,在pTarget释放后自动停止相关定时器
**c) 新特点:**当pTarget为CAViewController或者其派生类型时,CAViewController的view不显示时,定时器会自动暂停,当重新显示时,会自动恢复。除此之外,在pTarget释放前不会有变化
#####4. Demo位置变动
demo由原来的projects文件夹移到samples
####贡献者名单:juguanhui,
####CrossApp alpha 0.1.4 Update:
#####1.Power Consumption Optimization:
A program is continuously redrawing at general 60 frame rates in its life cycle because of the rendering-driven mode of cocos2d-x rendering, but the shortcoming of this mode is the relatively considerable power consumption. Obviously this continuous redraw mode is quite a waste for program, so we change the rendering mechanism into event-driven mode based on application features. In this rendering mode the redraw is only triggered by outside, if not the screen is static and rendering stops, so as to achieve energy saving goal.
#####2.CAButton Modification:
Added new attribute AllowsSelected (including set, get), default value is false. If value is true then selected mode is started. In this mode, the button status will switch between selected and default: if current status is default one, press button and release and button will switch to selected status; press and release again and button will switch back to default status. However, we can promptly judge and know current button status by using getSelected () method.
#####3.CASchedule (modified based on CCSchedule):
**a) Simplify usage: ** start, stop and other operation can be acted by calling corresponding static methods.<br/>
**b) Memory management modification: ** previously when we start timer, reference counting on pTarget will plus 1 for the purpose of avoiding program crashed caused by pTarget release. Now the new mechanism we deployed could completely solve the above problem: this mechanism enables system to stop plus 1 on pTarget reference counting after timer starts and auto-stop related timer after pTarget release.<br/>
**c) New feature: ** when pTarget is derived type of CAViewController or others and the view of CAViewController is not displayed, timer will auto pause; it will auto recover when the view is displayed. In addition, it will not change before pTarget releases.<br/>
#####4.Demo Location Change
Demo location is moved to samples folder from projects.
####Contributors: juguanhui,
####【9秒实验室自研】
CrossApp引擎详细介绍请点此:
<http://www.9miao.com/crossapp/list-24-1.html>
#### 9miao Lab Original
Click to view CrossApp engine detailed description:<br/>
<http://www.9miao.com/crossapp/list-24-1.html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ben_wang/CrossApp.git
git@gitee.com:ben_wang/CrossApp.git
ben_wang
CrossApp
CrossApp
master

搜索帮助