• 0

    posted a message on Having several frameworks running at the same time
    Quote from Toadkiller »

    Let's flog this dead horse with a concrete example using AutoBar & the PeriodicTable-2.0 -> PeriodicTable-3.0 transition.

    Ok, as an author I bitched about having to upgrade but the reasons were compelling: compressed & thus smaller data sets, better organization etc. Therefore I chose to upgrade.

    The new stuff was completely incompatible with the old: keys changed, data sets got moved around, merged split apart, dropped.

    What would a CL layer have done? Well:
    *It would have had to maintain a table translating the old keys to the new ones
    *It would have had to add old comapatability sets for each set that got merged, dropped or split
    *There would be this redundant code sitting there unused by any mod that did upgrade
    *Time would be spent on CL & debugging the CL & debugging old crappy unupdated mods just because maybe the CL broke something

    What happens in the long term? PeriodicTable-4.0:
    *Needs a CL layer for the CL layer
    *Needs CL for 3.0
    *Needs double the implementation time because of all this completely uneccessary stuff
    *More time debugging CL

    PeriodicTable-5.0:
    *CCCL
    *Triple the imnplementation time
    *Features dropped because the code is starting to become total crap & a nightmare to upgrade.
    *Fulltime person now devoted to dealing with CCCL etc. ssues in old mods

    PeriodicTable-6.0:
    *CCCCL
    *Never released for use as the CL stuff was too complicated for a human to upgrade within the lifespan of the universe
    *Who cares about its features, nobody got it working.

    Hopefully this clears up any confusion. If it does not, may I point out a real life example in Microsoft Vista? It took Microsoft over 10 years to give birth to Vista because they maintain backwards compatability all the way to the days of DOS or something sick like that. CL is crap & if u can avoid it you do so. In the case of libs simply using the old libs for lazy mods is all the CL we need which is: ZERO.


    I suspect that there will never be a compat layer for PT, but it seems to make sense for me, Parser for example. VampircTouchFu needs Parser 1, and i think so do a few other mods, but then a bunch other need Parser 3 [now 4] If Parser 4 can provide the compat layer adequately, I rejoice, if it doesn't then yes Tek, its my own fault and I either need to bug CKK [in this case] or just load the old lib.

    In fact I did this today when Crayon compat didn't work and broke 3 of my addons.

    So I think we agree.

    [btw i run gratuity as a standalone ;0]
    Posted in: Frameworks
  • 0

    posted a message on Having several frameworks running at the same time
    but Tek, I don't use embedded libs. So many compat layers are there, and are good for people who prefer to run standalone libs then?
    Posted in: Frameworks
  • 0

    posted a message on Having several frameworks running at the same time
    Quote from tekkub »

    Peak memory is immaterial, yes.... but memory consumption rate is a VERY valid performance issue. Don't confuse people with blanket statements.

    Which is totally the wrong way of doing embeds. The whole point of majors is to completely separate the new lib from the old one. If old mods use the old lib, yes there is duplicate crap happening, but the old mod needs to be upgraded (or not upgraded in some cases). "Compatibility layers" are crap, either upgrade the old lib and don't break old addons using it, or make a new major that exists in it's own world and doesn't screw with the old addons using the old lib.


    I'm confused by your blanket statement that compatibility layers are crap? There must be some dev reason for feeling this way? On a practical user side of things, compatibility between major versions is helpful and we like it.

    Like the PS2 being backward compatible with the PS, and PS3 being backwards compatible with both of the previous. It seems like it helps transitions.
    Posted in: Frameworks
  • 0

    posted a message on Suggestion: Clap to screen or whats it called
    You can click and drag the lower right hand corner of the config screen to resize it.
    Posted in: Rock
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Evil Elvis »

    Just for you, I tried both scripts (stonedpenguin's and the last version I made). They both worked fine for me (at least when changing Grid's scale). Not knowing specifically what you're doing before that error starts doesn't help.

    It looks like that script is being called over and over and over again, which is causing the overflow. Double check your script and make sure you're not doing it inside some kind of loop.


    Ok, it does work for me, but not right away, someone will add to my group and then instead of resizing to fit them in the panel, it is the wrong size fora while, then it randomly fixes.

    i wonder, is there a script i could run to fore that one specific panel to reload?
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Evil Elvis »

    simply
    function THIS_Hook:OnSizeChanged(frame, ...)
      THIS:SetWidth(frame:GetWidth()+25)
      THIS:SetHeight(frame:GetHeight()+25)
      eePanels2:Print(frame:GetName() .." size changed")
    end



    The only thing I can think of is that it's a scope problem. Putting the OnSizeChanged hook inside an if/else should make that function's scope to only being visible within the if/else block. However, stoned said his script works, and I would think that the hook would throw an error if the hooked function was out of scope. Anyway, try writing the script like this:

    local gridExists = getglobal("GridLayoutFrame")
    THIS_Hook = AceLibrary("AceAddon-2.0"):new("AceHook-2.1")
    
    -- Don't define me inside an if/else block...
    function THIS_Hook:OnSizeChanged(frame, ...)
      -- Call the original script first
      THIS_Hook.hooks[frame].OnSizeChanged(frame, ...)
      -- Resize panel based on the input frame's (grid) size
      THIS:SetWidth(frame:GetWidth()+25)
      THIS:SetHeight(frame:GetHeight()+25)
    end
    
    -- If grid is loaded
    if gridExists then
      -- Set the panel to grid's current size
      THIS:SetWidth(GridLayoutFrame:GetWidth()+25)
      THIS:SetHeight(GridLayoutFrame:GetHeight()+25) 
      -- Hook grid's resize function
      THIS_Hook:HookScript(GridLayoutFrame, "OnSizeChanged")
    end



    This works 100% ee. Thanks for your continued patience with me. The resize happens instantly now, everytime.

    EDIT:

    I lied

    getting this error

    [2007/09/18 16:39:44-780-x4]: AceHook-2.1-40869 (Ace2):131: stack overflow
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    ...:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:
    <string>:"local gridExists = getglobal("GridLayoutFra...":7: in function <[string "local gridExists = getglobal("GridLayoutFra..."]:5>
    (tail call): ?:

    ---
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from Evil Elvis »

    put
    eePanel2:Print("grid size changed")

    inside the grid OnSizeChanged hook. Then you'll know if the hook's being called.

    Do you have any optional Grid addon mods running?


    I do not.

    i'm not exactly sure how to put that code in my hook.
    Posted in: General AddOns
  • 0

    posted a message on eePanels2 - Official Thread
    I have grid in the toc.

    it resizes, eventually, just not immediately.

    is that just the behavoir i can expect?
    Posted in: General AddOns
  • 0

    posted a message on Rock/Ace3 - Regarding drama and functionality.
    Quote from Shadowed »

    The difference is he's not demanding money. If kindness overwhelms you enough to send him a few dollars because you use a piece of software he has written and you enjoy it immensely, he won't mind one bit. On the flip side, if you choose not to send him money, he again won't mind one bit.


    CLEARLY, thats not demanding money when you have that many donate links.

    Right........


    you're crazy.
    Posted in: Frameworks
  • 0

    posted a message on Rock/Ace3 - Regarding drama and functionality.
    Quote from tekkub »

    Quote from st0nedpenguin »

    It's surprising how much less "drama" this whole thing would be causing if people were capable of just making a post calmly stating that they're not fans of the new config system and would like an alternative if at all possible.

    But apparently the preferred option is to rant about how much the new config system sucks and how this is ugly and how that is crap.

    Is it any surprise the replies from authors are sometimes a tad curt?


    Ding! Hit it on the head. The very first post gave it's feedback in a negative manner... "garbage". Saying you don't like the new whatever is one thing, but giving your feedback in a negative fashion and then getting mad that people aren't interested in your opinion...

    Devs aren't obligated to do jack for you, so if you want to get them to give real consideration to your thought it's better to say things nicely and even provide alternative designs. "It looks like crap" will just get you ignored... "I don't like this part, it's hard to work with. Why not give us this instead, it would be much more intuitive" will at least get some consideration.


    /applaud
    Posted in: Frameworks
  • 0

    posted a message on PitBull 2.0
    Quote from made »

    The config window obscures nearly the entire screen, cannot be moved off-screen to have a look at the changes made, and forgets the tree-structure every time it's closed.


    the config window is scalable by click+dragging the lower right hand corner.
    Posted in: Unit Frames
  • 0

    posted a message on Rock/Ace3 - Regarding drama and functionality.
    Quote from Shadowed »

    Quote from JaedxRapture »

    Quote from Shadowed »

    Quote from ckknight »

    Um, I'm not sure what's happening. Do I need to give you my address again? Cause, I mean, I didn't get my paycheck last Friday for making mods for you. If you want to make sure that I fulfill all the features you want, you gotta remember to pay me on time.

    Note: that was satire, but meant to drive the point across.


    You can only claim satire if you didn't ask for donations everywhere.



    And he hits below the belt!


    I simply state a fact.

    1) WoWAce sig (Right under his post saying it was satire)
    2) Offical WoW forums sig
    3) Around 10 addons on WoWInterface, right at the top
    4) Along with a nice large donate button in each mod through a TOC meta data field


    sorry, but its actually more ironic, and obviously sarcastic, since it is so easy to make donations. although still, donations wouldn't obligate the dev, since they are just.... donations.

    you sound very bitter, or offended. would you like me to paypal you 1 dollar to make you feel better?
    Posted in: Frameworks
  • 0

    posted a message on Rock/Ace3 - Regarding drama and functionality.
    Quote from Shadowed »

    Quote from ckknight »

    Um, I'm not sure what's happening. Do I need to give you my address again? Cause, I mean, I didn't get my paycheck last Friday for making mods for you. If you want to make sure that I fulfill all the features you want, you gotta remember to pay me on time.

    Note: that was satire, but meant to drive the point across.


    You can only claim satire if you didn't ask for donations everywhere.



    The irony [thats what satire is] is that this guy is saying devs have an obligation, but ckk points out, that he has not been 'hired' [he does this using sarcasm] and therefore the 'irony' is that the guy who is calling devs 'obligated' has not really supported the development of any ckk addons. therefore, ironic that he's making some demands.

    Posted in: Frameworks
  • 0

    posted a message on eePanels2 - Official Thread
    Quote from st0nedpenguin »

    The last Grid script posted works like a charm.

    Not having much luck adapting it for OneBank though.

    Managed to kludge it by sticking it in the toc and fiddling with levels a bit, good enough for me.

    Many more thanks for all the help! :>


    Ok, Im making progress on my issues. I don't get any more bug catcher errors from my crappy lua script. but when I join a group, or the raid grows, my panel doesn't resize unless i /rl

    here is a screenshot.



    here is the script.

    local gridExists = getglobal("GridLayoutFrame")

    if gridExists then
    -- Create a new ace2 addon for hooking
    eePanel19_Hook = AceLibrary("AceAddon-2.0"):new("AceHook-2.1")

    -- Create a function to resize the eePanel when the hooked frame is resized
    function eePanel19_Hook:OnSizeChanged(frame, ...)
    eePanel19:SetWidth(frame:GetWidth() + 2)
    eePanel19:SetHeight(frame:GetHeight() + 2)
    end

    -- Set frame to current size right now
    eePanel19:SetWidth(GridLayoutFrame:GetWidth() + 2)
    eePanel19:SetHeight(GridLayoutFrame:GetHeight() + 2)

    -- Hook to the frame we want to resize against (ChatFrame1 here)
    eePanel19_Hook:HookScript(GridLayoutFrame, "OnSizeChanged")
    end

    --

    local ee19Exists = getglobal("eePanel19")

    if ee19Exists then
    -- Create a new ace2 addon for hooking
    eePanel35_Hook = AceLibrary("AceAddon-2.0"):new("AceHook-2.1")

    -- Create a function to resize the eePanel when the hooked frame is resized
    function eePanel35_Hook:OnSizeChanged(frame, ...)
    eePanel35:SetWidth(frame:GetWidth() + 3)
    eePanel35:SetHeight(frame:GetHeight() + 3)
    end

    -- Set frame to current size right now
    eePanel35:SetWidth(eePanel19:GetWidth( )+ 3)
    eePanel35:SetHeight(eePanel19:GetHeight() + 3)

    -- Hook to the frame we want to resize against (ChatFrame1 here)
    eePanel35_Hook:HookScript(eePanel19, "OnSizeChanged")
    end

    --

    local ee35Exists = getglobal("eePanel35")

    if ee35Exists then
    -- Create a new ace2 addon for hooking
    eePanel36_Hook = AceLibrary("AceAddon-2.0"):new("AceHook-2.1")

    -- Create a function to resize the eePanel when the hooked frame is resized
    function eePanel36_Hook:OnSizeChanged(frame, ...)
    eePanel36:SetWidth(frame:GetWidth() + 4)
    eePanel36:SetHeight(frame:GetHeight() + 4)
    end

    -- Set frame to current size right now
    eePanel36:SetWidth(eePanel35:GetWidth() + 4)
    eePanel36:SetHeight(eePanel35:GetHeight() + 4)

    -- Hook to the frame we want to resize against (ChatFrame1 here)
    eePanel36_Hook:HookScript(eePanel35, "OnSizeChanged")
    end

    Posted in: General AddOns
  • 0

    posted a message on Avion - Event driven visual effects (former PowerAura2)
    Quote from Sirow »

    Oh yeah, almost forgot, you guys could do me a great favor. I'm not really good at designing icons. If someone wants to make a small FuBar icon for Avion I'd be really happy. :)


    you implimented this as a pluggin to parrot, right?
    Posted in: General AddOns
  • To post a comment, please or register a new account.