Author Topic: Use wxPropGrid for compiler flags  (Read 68052 times)

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Use wxPropGrid for compiler flags
« Reply #15 on: March 20, 2014, 01:13:27 am »
Would it be a problem for you to document all the features for the xml files in a wiki page?
This way we can consider all option we have and what we can change and what we can't.
Will do, as soon as I am able.

Also if we decide to break the compatibility can we automatically upgrade the files in the user's directory?
I thinks so, yes; however, it would be a one way (forwards only) conversion.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13434
    • Travis build status
Re: Use wxPropGrid for compiler flags
« Reply #16 on: June 24, 2014, 01:07:37 am »
Alpha: any progress with the documentation?

I've added "double click to toggle" feature and want to push the initial implementation.
Any objections?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Use wxPropGrid for compiler flags
« Reply #17 on: June 25, 2014, 12:41:58 am »
Alpha: any progress with the documentation?
Oops, my apologies.  I completely forgot about this.  ...  Working on it now...

I've added "double click to toggle" feature and want to push the initial implementation.
Any objections?
I have not had a chance to test yet, but here is my personal opinion: wxPropGrid itself does not look the greatest (especially under some OS's/skins).  Because of this, I will some time in the future want to create my own custom panel (with grid sizers and individual components for dropdowns, checkboxes, labels, etc.).  With the way you have currently implemented it, do you think drop-in replacement would be possible in the future?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13434
    • Travis build status
Re: Use wxPropGrid for compiler flags
« Reply #18 on: June 25, 2014, 01:18:49 am »
Are you sure you want to take this risky and dangerous path?
Writhing such control is quite serious endeavour.

I think it is better to improve wxPropGrid instead of doing another control from scratch.

In wx3.0 I think there is the list-tree control, but I've not used it and it will take one or two years until we can switch to wx3.0.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Use wxPropGrid for compiler flags
« Reply #19 on: June 25, 2014, 02:02:37 am »
Are you sure you want to take this risky and dangerous path?
Writhing such control is quite serious endeavour.
Not anytime soon, and perhaps never, if I come to like wxPropGrid.  But it is on the back of my mind.

Here is a draft of proposed updates for compiler options file.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13434
    • Travis build status
Re: Use wxPropGrid for compiler flags
« Reply #20 on: August 23, 2014, 03:01:25 pm »
I want to commit the current changes? Anyone against this move?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Use wxPropGrid for compiler flags
« Reply #21 on: August 23, 2014, 04:09:12 pm »
some nice additional feature would be to have a search/filter textctrl... You but in some words, and the PropertyGrid gets filtered with the entered string...

I think eclipse has something similar with the settings, and this is very useful...

Offline SteelRat

  • Multiple posting newcomer
  • *
  • Posts: 45
  • Stainless
Re: Use wxPropGrid for compiler flags
« Reply #22 on: August 25, 2014, 06:55:47 pm »
I want to commit the current changes? Anyone against this move?
When are you going to commit propgrid? I can't wait. =)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13434
    • Travis build status
Re: Use wxPropGrid for compiler flags
« Reply #23 on: August 25, 2014, 08:37:53 pm »
At the end of the week, but are you sure what feature we are talking about here?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline SteelRat

  • Multiple posting newcomer
  • *
  • Posts: 45
  • Stainless
Re: Use wxPropGrid for compiler flags
« Reply #24 on: August 25, 2014, 09:02:46 pm »
As I understand it will help me to create more flexible Android compiler XML.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13434
    • Travis build status
Re: Use wxPropGrid for compiler flags
« Reply #25 on: August 25, 2014, 09:31:53 pm »
Nope it will just present the options in a better ui and it will allow for future improvements.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline SteelRat

  • Multiple posting newcomer
  • *
  • Posts: 45
  • Stainless
Re: Use wxPropGrid for compiler flags
« Reply #26 on: August 25, 2014, 09:34:25 pm »
There will be comboboxes for single choice?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13434
    • Travis build status
Re: Use wxPropGrid for compiler flags
« Reply #27 on: August 25, 2014, 10:56:10 pm »
Not with this commit... hopefully in the future.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9695
Re: Use wxPropGrid for compiler flags
« Reply #28 on: August 26, 2014, 09:36:09 am »
I want to commit the current changes? Anyone against this move?
If it works, no. :-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13434
    • Travis build status
Re: Use wxPropGrid for compiler flags
« Reply #29 on: August 29, 2014, 01:14:12 am »
Done.... Test, report errors and post patches with enhancements :>)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]