Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

[SOLVED]request for a new CodeblocksEvent type : end of a 'multiple files add'

<< < (4/4)

orel:
I made myself a Berlios account in order to submit this patch over there.
This is now done and you can get it : ID 2265
[EDIT : here is the link : http://developer.berlios.de/patch/?func=detailpatch&patch_id=2265&group_id=5358]

mandrav:
What all of you miss is that adding multiple files can also be done by successively calling AddFile(). In case you wonder, this is already done by the project loader, while opening the project...

@orel: thanks for the patch but it can't be used. We 'll have to come up with something better (yes, I have something in mind).

orel:

--- Quote from: mandrav on November 30, 2007, 11:23:32 pm ---What all of you miss is that adding multiple files can also be done by successively calling AddFile(). In case you wonder, this is already done by the project loader, while opening the project...
--- End quote ---
You are right. But maybe i missed something because when a project is opened, addition of files to it doesn't send cbEVT_PROJECT_FILE_ADDED event, so IMHO it wouldn't be a problem.


--- Quote from: mandrav on November 30, 2007, 11:23:32 pm ---@orel: thanks for the patch but it can't be used. We 'll have to come up with something better (yes, I have something in mind).

--- End quote ---
You are welcome and so is your better solution :D :D

And thank you all for helping me with SVNInside develoment!!

thomas:

--- Quote from: mandrav on November 30, 2007, 11:23:32 pm ---What all of you miss is that adding multiple files can also be done by successively calling AddFile(). In case you wonder, this is already done by the project loader, while opening the project...
--- End quote ---
This is why I say that the IDE has no way of knowing when adding files is done. The user would have to press a "finish" button or something...

But still, the proposal made by kkez and implemented by orel does not break any existing functionality, and it allows to save a little work, since at least he doesn't call svn 200 times if 200 files are added with "Add recursively...". Thus, while it is no solution, it's maybe still better than nothing.

orel:

--- Quote from: thomas on December 01, 2007, 01:43:59 pm ---But still, the proposal made by kkez and implemented by orel does not break any existing functionality, and it allows to save a little work, since at least he doesn't call svn 200 times if 200 files are added with "Add recursively...". Thus, while it is no solution, it's maybe still better than nothing.

--- End quote ---
Effectively, this solution would make easy the development of SVNInside functionnality i was talking about : instantly and rapidly refreshing the status of the newly added files. This would be a convenience and it's not stopping me developing the plugin, i could also set the newly added files as 'not-yet-statued' and the user would have to call 'refresh status' on the whole project or on each file to remediate this.

And Mandrav said he has something in mind so... :D

Navigation

[0] Message Index

[*] Previous page

Go to full version