Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - CControls update, version 1.1

CControls update, version 1.1

Discuss PocketC for Palm OS (including Desktop Edition)

Postby stephane on Tue Apr 17, 2001 6:09 pm

Hello all,

I had to freeze work on the Ccontrols update for the last 2 months due to a heavy work load and tight deadlines. I'm glad to say that's over, for a while at least.

Version 1.1 is about ready for release, but I'd like a few people to "beta" test, if at all possible. The first 10 people to email me (stephane@tibonet.com) will receive the beta package, with the understanding that it should not be released to anyone else, under any circumstances. This is just to avoid confusion until the final release is ready.

Straight from the documentation, here's what's new in 1.1:
<ul><li>Fixed "memory leak" bug in Cdestroy</li>
<li>Fixed event sequence bug in button handler function</li>
<li>Added line edit control</li>
<li>Added progress bar widgets</li>
<li>Fixed bitmap control to accept pixel height less than 12</li>
<li>Added category selection and edit control</li>
<li>Created header file for prototype declarations</li>
<li>Added some different fonts in button text</li>
<li>Fixed label draw function, to erase whole width of label before redrawing</li>
</ul>
Another problem is the "free software" issue. I originally intended to release the library under the Free Software Foundation Lesser GPL (see http://www.fsf.org for more info), but since Ccontrols is not a standalone library, this would not allow anyone to use the library to build "closed" proprietary applications, ie: source code for the entire program would have to be provided to the user.

Does anyone know of another licencing scheme that would allow the library code to remain free and open, while still allowing closed applications to be built with it? Any help would be appreciated.

The 1.1 update will be released when this issue is resolved and beta testing complete. Hopefully, testing would be completed within a week, and I will try to get the licensing problem straightened out very quickly.

The website at http://www.tibonet.com/palm/ccontrols (which has not been updated lately, again because of work-related reasons) will be updated once 1.1 is ready.

Thanks for your patience <img src=icon_smile.gif border=0 align=middle>,


St?ɬ©phane
Stéphane
stephane
 
Posts: 71
Joined: Fri Jan 12, 2001 3:16 am
Location: Canada

Postby stephane on Thu Apr 19, 2001 12:06 am

Surprisingly few people have responded about the beta test so far..

For those who might hesitate, we also need to test that everything still works with existing applications, so you don't necessarily need to try out the new functions.

We also need people to test both on the Desktop environment, and compiling on the PDA.

One note though, this is an update to CControls only, not the CEditor application. The new features are not (yet) included with CEditor.

Thanks,


St?ɬ©phane
Stéphane
stephane
 
Posts: 71
Joined: Fri Jan 12, 2001 3:16 am
Location: Canada

Postby SyPDA on Thu Apr 19, 2001 3:29 am

Are you sure that your eMail-Account is ok?

According to the PocketC forum log, I have been the first to read your original message (1st view) and responded immediately (a few minutes after your posting) but until now, I did not get any answer... :(

(wink, wink) I volunteer for beta testing! :)
SyPDA
 
Posts: 94
Joined: Tue Dec 05, 2000 8:08 am
Location: Germany

Postby Thad on Thu Apr 19, 2001 11:26 am

Have you tried the BSD licence?
http://www.opensource.org/licenses/bsd-license.html

Or the MIT licence?
http://www.opensource.org/licenses/mit-license.html

More licences can be found here:
http://www.opensource.org/licenses/

See also the boost.org licence requirements:
http://www.boost.org/more/lib_guide.htm#License

Thad
Thad
Thad
 
Posts: 33
Joined: Thu Feb 22, 2001 10:27 am
Location: United Kingdom

Postby Velvis on Thu Apr 19, 2001 3:17 pm

I had also replied shortly after the original post but received no info about it.
Velvis
 
Posts: 226
Joined: Mon Dec 11, 2000 2:32 am

Postby stephane on Fri Apr 20, 2001 2:06 am

Thad, thanks for the license links, I'll investigate them.

I apologize to those who had already emailed me, I -did- receive your requests, but was waiting to for a certain number of replies before sending everything out on a mailing list.

I've just realized that it would prolly be better if I just release the damned thing (as beta) and post it on the website, and wait for the bug reports <img src=icon_smile.gif border=0 align=middle>

I'm not making promises, but if all goes well tomorrow, the beta release should be up in the late evening. I'll post here as soon as it's ready.

Cheers, and again thanks for your patience.



St?ɬ©phane

Edited by - stephane on 04/19/2001 21:18:25
Stéphane
stephane
 
Posts: 71
Joined: Fri Jan 12, 2001 3:16 am
Location: Canada

Postby stephane on Sat Apr 21, 2001 2:43 am

Yes, finally, it's ready.. sort of.
Go to the website http://www.tibonet.com/palm/ccontrols/ , there is a link to the Ccontrols page, on the left side menu. Download the new ccontrols and see how it works.

Email me about any bugs, and also about the docs, if they could be clearer. On the web page is mentionned about the issue with the license, so I won't re-iterate here.

<sigh> this has been a long 4 hours getting Ccontrols ready for BETA... think I'll continue drinking a few, and now I can play some games on this PC ;)) (sorry, it's the weekend, after a long day and a longer week <img src=icon_smile.gif border=0 align=middle> )

Enjoy, hope you like it,

St?ɬ©phane

Edited by - stephane on 04/21/2001 12:03:49
Stéphane
stephane
 
Posts: 71
Joined: Fri Jan 12, 2001 3:16 am
Location: Canada

Postby samps on Sat Apr 21, 2001 3:28 am

Thank you.

You may now rest... But, at the risk of being an ungrateful pushy ba...., have you any plans of making the changes, that are necessary for the CEditor to work with the added functionality of the source?

Samps

Edited by - samps on 04/20/2001 22:34:11
Ubuntu user #82
samps
 
Posts: 143
Joined: Tue Feb 20, 2001 12:33 am
Location: Australia

Postby Velvis on Sat Apr 21, 2001 6:27 pm

Are there any plans to support multiple forms cleanly?
Velvis
 
Posts: 226
Joined: Mon Dec 11, 2000 2:32 am

Postby pld on Sat Apr 21, 2001 8:52 pm

Hi,

The Cevent function is critical with respect to respons time of controls.

I would suggest the following changes to improve speed of controls. I have implemeted the below code on a calculator with significat improvement in speed of button controls. I believe using a switch statement on p[0] would improve even further.

Maybe this could be to some help:


Xco and Yco global int's. (not stack var's)

main_event_loop(){
Xco = penx();
Yco = peny();
if (e==2){
if (Cevent(button1)) handle1();
elese if (Cevent(button2)) handle2();

.
.
.
}
else if(Cevent(menubar,e)) on_menubar(Cgetcontent(menubar));

}

------------------

int Cevent(pointer p,int e)
{
if(p<=0) return 0;
if (Xco>p[1]) if(Xco<(p[1]+p[3])) if(Yco>p[2]) if(Yco<(p[2]+p[4])){
if(((p[0]>0)&& (p[0]<4))||(p[0]==15)) return Chb(p);
else if((p[0]==12)||(p[0]==9)||(p[0]==13)) return Chl(p);
else if(p[0]==10) return Chd(p);
else if(p[0]==5) return Chc(p);
else if(p[0]==4) return Che(p);
else if(p[0]==7) return Chr(p);
else return 0;
}
if(e==11) if(p[0]==6) return Cmevent(p);
return 0;
}

Let me know, and I can mail you (Stephane) the whole code for you to look at. I have employed further imporvements to Ccontrols that may be of your interest.

Per
Per
pld
 
Posts: 19
Joined: Mon Dec 18, 2000 5:23 pm
Location: Norway

Postby stephane on Tue Apr 24, 2001 1:40 pm

Samps:
I haven't looked at the CEditor source too much, Nelson (Power) is a little more familiar with that side of it than I am. I'll email him and see who'll have the most time to possibly integrate the changes. I'll also check on the status of releasing the source code, maybe someone else would like to volunteer to make the changes? <img src=icon_smile.gif border=0 align=middle>

Velvis:
I'll get more detail from you via email, thanks.

pld:
Definitely, the next thing I want to look at for CControls is -optimization-. You've already done a lot of work in that area, so yes, please email me your changes, and we can include that in the next release. Thanks!

Anyone find any bugs with v1.1 yet?? <img src=icon_smile_big.gif border=0 align=middle>


St?ɬ©phane
Stéphane
stephane
 
Posts: 71
Joined: Fri Jan 12, 2001 3:16 am
Location: Canada

Postby Power on Wed Apr 25, 2001 4:59 pm

just finish commenting on CEditor codes... it's 3am in the morning already... will print this out tomorrow so i could make the changes by pen then try it later to compile... finally (anybody want a crack on this <img src=icon_smile_big.gif border=0 align=middle> ). tomorrow i'll make the hard button changes first... you know pressing hard button zaps you work without giving you a change to save your work. also you can email me your wish list of changes... code will also be updated (optimize) for pocketc version 4.02. yah using the switch guys <img src=icon_smile.gif border=0 align=middle> bear with me i dont have a registered copy of pocketc yet... so might fumble on the changes... planning to register soon.
Power
 
Posts: 31
Joined: Sun Feb 04, 2001 8:51 am
Location: Philippines

Postby SyPDA on Wed Apr 25, 2001 6:50 pm

The latest version of PocketC is 4.0.3.

Why do you use 4.0.2?
SyPDA
 
Posts: 94
Joined: Tue Dec 05, 2000 8:08 am
Location: Germany

Postby wolfgang on Wed Apr 25, 2001 7:06 pm

One bug I found:

CEditor lets you enter "0" as the dimension of a field. Once you do this, you can no longer edit this field since no (=zero) area is allocated on the screen where it will react on your click.

Proposed solutions: make all controls accessible from the menu as well, i.e. a menu item "Controls" that gives you a list of all controls to choose from. Choosing one the opens its property screen (where you could, for example, set the dimension back to some reasonable value).

Another suggestion for improvement: an option to move menu items (or items in a dropdown list) up and down. At the moment, the only solution is to delete all entries in the list and start again from scratch. CCOntrols already has the possibility to select and change an item, this would be a good place for two buttons "Move up" and "Move Down".

Wolfgang
Composing music on the PocketPC! - http://www.pdamusician.com
wolfgang
 
Posts: 281
Joined: Tue Dec 12, 2000 4:22 am
Location: USA

Postby Velvis on Thu Apr 26, 2001 12:04 pm

Has anyone compiled a demo app using the new Ccontrols? I'd like to see the new features, but I havent got the time right now to layout the controls.
Velvis
 
Posts: 226
Joined: Mon Dec 11, 2000 2:32 am

Next

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 2 guests

cron