Categorized items in New project dialog and other patches

Discussion about CodeLite development process and patches
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Categorized items in New project dialog and other patches

Post by marfi »

Hi Eran,
here are the patches I told you about. They contain:
1) Implementation of categorized items in New project dialog
2) Patch for saving of a project as a user template (its internal type is now set to "User templates")
3) Patch for suppression of loading of non-existent files/workspaces from recent files/workspaces list

Moreover, I created set of new project templates and modified the old ones to work with the modified New project dialog. All stuff have been tested on Ubuntu 9.04 and Windows XP SP3 with wxWidgets 2.8.9 (unicode build). Please, take a look on it. I hope it is good enough for commiting to the SVN...

Best regards
Michal
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Categorized items in New project dialog and other patches

Post by eranif »

Hi Michal!

The patch is impressive and it makes codelite looks more professional :D

One thing I would like from you:

I noticed that you modified the file 'newprojectbasedlg.cpp', however I prefer that those file will be edited via the correspondent fbp file (formbuilder/NewProjectDlg.fbp)

So if you can edit it and send those files I will be able to commit it to the SVN.

Thanks and again, it looks very promising !
Eran
Make sure you have read the HOW TO POST thread
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Re: Categorized items in New project dialog and other patches

Post by marfi »

Hi Eran,
here are all files related to New project dialog. The *.FBP file was originally created in wxFB 3.1.61 (my personal version supporting wxPython code generation ;) ), but I have converted it to file version required by wxFB 3.1.59 which is commonly available. Let me know if you'll have any problems with reading it.

Best regards
Michal
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Categorized items in New project dialog and other patches

Post by eranif »

Thanks for that, I committed your patch along with some other fixes/modifications:

- right click on project -> save as template --> this dialog now allows the user to set the project's category (instead of hard-coding it to 'user templates')
- I added another template of 'simple executable for gcc' with main.c file
- New project dialog: the dialog now remembers its size/position
- New project dialog: selecting any project template, now also updated the compiler entry on the 'project page' to the right
- New project dialog: minor GUI issue -> now the 'project description' expands rather than the 'file name'

Other than that, it is all committed and looks good
Eran
Make sure you have read the HOW TO POST thread
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Re: Categorized items in New project dialog and other patches

Post by marfi »

Hi Eran,
thank you for the acceptance of my patch. I have only one suggestion: The default category item in "Save As Template" dialog could be "User templates" rather than "Console", because some people could overlook this choice.

Regards
Michal
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Categorized items in New project dialog and other patches

Post by eranif »

Done
Make sure you have read the HOW TO POST thread
Post Reply