AutoHotkey Community

It is currently May 27th, 2012, 10:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

What should be the names of the standard- and user-library directories? (Regardless of the name, they are SEPARATE directories in two different locations.)
Poll ended at June 17th, 2007, 11:52 am
\Library 11%  11%  [ 2 ]
\Lib 42%  42%  [ 8 ]
\Include 16%  16%  [ 3 ]
\Includes 0%  0%  [ 0 ]
\Functions 0%  0%  [ 0 ]
Different names even though they're in different locations 32%  32%  [ 6 ]
Other 0%  0%  [ 0 ]
Total votes : 19
Author Message
 Post subject:
PostPosted: June 20th, 2007, 2:39 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Anonymous wrote:
Chris how is is decided what functions will be part of the stdlib? How is the std lib be gonna be documented?
That is mostly undecided; but however it turns out, it will largely be the work of volunteers.

Since things that go into the standard library reflect on the reputation of AutoHotkey (not to mention the size of the installer), I think there should be a fairly high quality standard -- yet nothing too bureaucratic.

Tuncay wrote:
Is there any plan of a directive that would lead to automatically look with prefix defined? Like namespaces, a default prefix.

For example:
Code:
#Namespace std
getSomething()
searching automatically for std_getSomething().
Currently there is no plan for anything like that. However, namespaces might get considered someday.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2007, 1:34 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
There used to be a post here from someone about setting up a common account on AutoHotkey.net for stdlib authors. It also talked about Natural Docs and the possibility of automatically checking for stdlib updates via script or some built-in feature.

The post vanished after I changed the poll in this topic to expire in 1 day. I'm not sure if there's a glitch in the forum, or whether the author of the post deleted/moved it. Anyway, whoever posted it can feel free to repost it if they want.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2007, 3:52 pm 
Offline

Joined: March 15th, 2007, 4:10 am
Posts: 70
Chris wrote:
There used to be a post here from someone about setting up a common account on AutoHotkey.net for stdlib authors. It also talked about Natural Docs and the possibility of automatically checking for stdlib updates via script or some built-in feature.

The post vanished after I changed the poll in this topic to expire in 1 day. I'm not sure if there's a glitch in the forum, or whether the author of the post deleted/moved it. Anyway, whoever posted it can feel free to repost it if they want.


Yeah that was me. I deleted it b/c I was going to start a new thread, but I got sidetracked and never got the chance to resubmit it.

But yeah, that was the idea. I figured it would be a decent idea to give each function's author his/her own directory on this .net account, so the files could be password protected. I can't really think of a way other than that to have some type of security involved, b/c I would assume that we wouldn't want just anybody:

a. accessing the stdlib directory
b. accessing specific files (other than the author of that function)

That's all I got at the moment. I'd definitely like to hear suggestions, or maybe somebody has an even better idea.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2007, 4:51 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
I have an SVN server set up, and we can partition out accounts for everything, but I just had a better idea - make a seperate Sourceforge.net project for the library, and whomever wants to develop can sign up.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2007, 5:47 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2545
I have a forum that I had originally set up for this purpose that I could reactivate if a few people are interested. Alternately, maybe Chris could setup a separate forum here ( :?: ) for potential stdlib files so that each submission could have its' own thread, discussion, space for modifications, etc... that is not potentially misplaced and blended in with all the other misc. posts in other categories, and to save people having to register at a second forum.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2007, 6:50 pm 
Offline

Joined: March 15th, 2007, 4:10 am
Posts: 70
corrupt wrote:
I have a forum that I had originally set up for this purpose that I could reactivate if a few people are interested. Alternately, maybe Chris could setup a separate forum here ( :?: ) for potential stdlib files so that each submission could have its' own thread, discussion, space for modifications, etc... that is not potentially misplaced and blended in with all the other misc. posts in other categories, and to save people having to register at a second forum.


I may not know enough about this approach to really contribute a whole lot of ideas, but I have some thoughts\questions. What I had in mind would be to have all the functions that were "stdlib worthy" in one common area, possibly accessible via ftp or urldownloadtofile. Is that possible with this approach? Or would there be a different way of accessing? Also, would there be a way of restricting access to the modification of files? Say, restrict access to only allow the function developer access to modify the file? Again, I don't think I know enough about this subject, I'm just curious if all of that is possible with this approach.

Or are you thinking that a developer would post his/her function into the stdlib forum, then a user could choose to download it or not?
In my mind when I think of the standard library, i think of a library containing functions common to all users of ahk. Everyone's stdlib would contain those functions and if a change was made to any of them, then a script could be set up to recognize that change, and download the appropriate updated functions. I thought about seeing if the update functionality could be offered internally, but that probably wouldn't be the best solution.

Again, these are probably all stupid questions/statements that everybody already knows the answer to, but I'm trying to understand something I'm mostly unfamiliar with.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2007, 7:28 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2545
Good questions :) . I had something slightly different in mind that might or might not be the best way to go (opinions welcome :) - maybe better moved to a new topic? ).

Since the standard library could potentially be distributed with AutoHotkey and since it would then be used by a large number of people, I was thinking that it might be necessary to screen potential functions (to a certain extent) before they are inlcuded. I would imagine that Chris would likely want to have the final say on what would get added to the Standard Library.

A forum could potentially be used for proposing/posting new functions to be added. A new topic could be created with a poll for each new function/file (might not only contain functions) to be added. Users could then vote on whether they like the idea of adding the proposed functionality to the standard library. If the vote seems to be in favour of adding the functionality and if the format, documentation, naming, variable usage (globals if any) seems acceptable then the official download could be updated with the new functionality. This download could be made available separately for people who want the latest version without having to wait for the next AutoHotkey release (sounds like a good idea to me :) ). A person or small group of people could then be responsible for keeping the download up to date.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2007, 8:18 pm 
Offline

Joined: March 15th, 2007, 4:10 am
Posts: 70
corrupt wrote:
A forum could potentially be used for proposing/posting new functions to be added. A new topic could be created with a poll for each new function/file (might not only contain functions) to be added. Users could then vote on whether they like the idea of adding the proposed functionality to the standard library. If the vote seems to be in favour of adding the functionality and if the format, documentation, naming, variable usage (globals if any) seems acceptable then the official download could be updated with the new functionality. This download could be made available separately for people who want the latest version without having to wait for the next AutoHotkey release (sounds like a good idea to me :) ). A person or small group of people could then be responsible for keeping the download up to date.


Hey, that sounds like a good idea to me. The only thing I could add to it would be some type of versioning standard, that way a script could detect updates and automatically download them, b/c I don't want to have to check to keep my lib up-to-date. That could be where enguneer's suggestion comes into play. But, if you don't know about it, then what are you missing? Ignorance is bliss. :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 23rd, 2007, 10:46 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
At the moment, I don't want a new forum for stdlib; but maybe someday if/when its benefits become clear. I think the Scripts/Functions forum is enough for now.

As for the other ideas: I don't wish to work on them personally because I'd like to put what little time I have toward the core features of AutoHotkey. However, anyone can feel free to pursue them by themselves or in cooperation with others.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 84 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group