Jump to content

MadJack

Members
  • Posts

    30
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

MadJack's Achievements

Advanced Member

Advanced Member (3/3)

0

Reputation

  1. Hey rilex, What version of Vista and IE you have installed? Are latest patch installed? I've tested the gadget on two systems and it works fine. No bleeding. The text should cut at a certain point. It will not wrap mainly because of the text sent back to the gadget isn't exactly the way it is on github.com and because of that, it won't work as it does on the site. That's also the main reason the flyout has that size. If I shrik it, you won't see much. Three of four words at most and I would have to resize the fonts to an even smaller size. As for closing, click on the same source you used to close the opened flyout. I can take a look, but I'm not sure I can force the flyout to close with a button. Gadget aren't much. Javascript files, CSS and a XML file. It's not as customizable as a "real" app... Anyway, thanks for your input. I will check if there's something I can do to tweak the display. I'll get in touch with Github's mailing list to see if I can have them change the way the commits' text is sent so they can wrap properly. But even then, it would be at the same width as the web page... I guess I could come up with a scheme to manually wrap those lines, but I'm wondering if it's worth all the trouble. The gadget is something that is used sporadically... I'm not promising anything
  2. I'm happy with the result, that's the most important I guess. Hopefully those that got it found it helpful. If not, well...
  3. Got about 30 downloads but not a single comment? Does it suck that bad? Or is it that good? ROFL
  4. Hey everyone! This message is to let you know that I've made a Windows Vista sidebar gadget that will monitor sources on Git. It was made with MaNGOS in mind and comes preconfigured with three sources. (MaNGOS, Mad's MaNGOS and 303-willcrashforsure) The gadget is beta stuff and I would ask you not to distribute if for now. Since I'm using some Git assets (images and CSS), I'd like to wait until I get the proper permission before letting this thing loose in the wild. What this thing won't do: - Log you on Git. - No abilities to "use" git in anyway whatsoever. What it will do: - When you have configured the gadget, it will fetch the configured username/project/object (master or branch) and display the commits history of the clicked-on item in a flyout window. - You can set up to 5 sources to "monitor". How does it work? - The gadget fetches commits based on GitHub's API and displays the results after it has been through an xls template for formatting. Known issues: - None that I'm aware of as of now. That's why it's in beta! Future development: I'm not sure I will implement the followings, but if people would like it, I might... - Autochecking based on a timer (some of the code is already there). -- An icon would change color to inform the user of a newer commit. - An original icon for the gadget, I'm no artist so unless someone is offering his services... Mostly the features I wanted are there, only the timed checking I'm unsure of. I don't want to end up spamming GitHub... At the start of the project my goal was to monitor Git/SVN but since svn doesn't really have a central repository (that I could find anyway), it's pretty hard to come up with a scheme. I know that Sourceforge offers one such place but I couldn't find an easy and rapid way to asses its API. If anyone is in the know, drop me a PM or an email and I'll take a look at it. Anyway... If you have any question, just ask. To download and install, simply click on the link at the bottom and open it (Vista should recognize the .gadget extension and prompt you for its installation) once you have downloaded it. Get the file here: YourSources.gadget If you have feedback or issues, either post it here on in a PM or by email. I'll get back to you ASAP. Thank you all.
  5. You seem to know stuff about that Derex, why don't you give it a shot? If I had the knowledge and, mostly the time, I'd give it a go.
  6. Well, let me just say that my intention was to have the possibility to load an alternate scripting library (whether on *nix or windows). That is the only goal here. Now, if loading/unloading/compiling doesn't work as intended, there is nothing I can do about it. My mod doesn't break any of those things and as such, I don't feel the need to fix what is ailing MaNGOS in the first place (related to that particularity). This is the work of someone who knows about that kind of stuff. I think the question here is: "Did the problem existed before my changes?" My answer is: I don't know. But if it doesn't work as intended now, I know it's not something in my code. If someone thinks otherwise, please give me clear explanations. On the other hand, if someone could test it out, I'd be grateful and I think it would put that whole thing to rest. Let me reiterate here: The patch is about loading an alternate scripting library independent of the platform if an entry is tagged into the configuration file (AltLib = ""). Any other issue should have a post in the BUGS forums unless _my_ code breaks something. I'm sorry if I sounds like I'm dismissing your point Derex, but I still don't see how my modifications make an impact on what you are suggesting.
  7. LoL You make it sound like I broke the library loading code! Which is funny. So am I to understand that it didn't work before I made my changes? sLog.outString( "Initializing Scripts..." ); - if(!LoadScriptingModule()) - exit(1); - + /// Alternate script engine library loading + std::string AltLib = sConfig.GetStringDefault("AltLib", ""); + char const* sAltName = AltLib.c_str(); + + if(strlen(sAltName)) + { + /// Load alternate library + sLog.outString( "Loading script engine library: %s", sAltName ); + if(!LoadScriptingModule(sAltName)) + exit(1); + } + else + { + /// bailout w/ default lib + sLog.outString( "Loading default MaNGOS script engine."); + if(!LoadScriptingModule()) + exit(1); + } + ///- Initialize game time and timers NOTE: I used tag because it's easier to see the changes when colorized.Please explain how an IF/ELSE, a Screen Output (sLog.outString) and a Variable check would break the library loading/unloading/compiling? I'm not trying to be sarcastic, but I fail to understand how these changes would impact the way you say it would. These are the only changes I made in that file. The other modification is in mangosd.conf.dist.in The rest hasn't changed one bit (literally). I just can't connect the dots here... Please explain how my changes break MaNGOS library stuff.
  8. Derex, I honestly don't know but it should. I don't have access to a linux partition so I can't test it out. I think it should work because all that patch does is check if the new tag is not empty. (If it's not empty, it tries to load the library named in the tag.) The rest is pretty much the same. So if the .so loaded before, it should still do with that mod. That patch doesn't change the way a library is compiled. That's unless I misunderstood what you meant.
  9. Nice post TheLuda. Hopefully this will stop the madness!
  10. Wouldn't <branch> be how you "defined" it? What I mean is, master here is set as: [branch "master"] remote = origin merge = refs/heads/master and origin is defined as: [remote "origin"] url = [email protected]:MadJack/mangos.git fetch = +refs/heads/*:refs/remotes/origin/* So, wouldn't that mean the same as using my remote repos? Since Git wants to have a branch, I just can't give it "origin" with pull, but that amounts to the same thing right? I'm not trying to argue or anything, just understand... Oh and thank you!
  11. Wow! I'm impressed! 2hrs and a half and it's still not locked! QUICK! Got buy yourselves a lottery ticket!
  12. For those interested in that patch, if any, you can use the followings: Commit e0deeef2cad92ecfb794a5cad538b99388a60b84 <-- world.cpp changes and Commit a64235050be66988f4dfd564213d2dbc1dcae69e <-- mangosd.conf.dist.in
  13. I give it 5 mins... After that, it'll be locked. No, it doesn't. Not right now. When it will, it'll be for 3.0.3 but who know when...
  14. Finally got it to work as I wanted! I did a lot of "mistake" in interpreting what I thought something was doing and its actual purpose... Anyway, all changes are now reflected in my fork'ed src of mangos and the main commits made by the team is also there. That way I can use my changes and still get the updates without suffering with a cut/paste syndrome Thank you freghar2 Wanted to add stuff that I learned along the many reads I've done... So after I have done my changes (in this example I had committed and pushed them before getting the main dev's commits) I did this: git checkout master <---- Which essentially means: USE master git pull git://github.com/mangos/mangos.git master <--- which means: get the changes FROM there and merge it THERE (master) git add . <--- add everything that has changed starting in this directory (changes from the previous step) git commit -a <--- commit ALL changes (locally) git push <--- send to origin (remotely to your forked version) Is that a good interpretation of how this works?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use