r38

Details

  • Filename
    wtasknote-r38.zip
  • Uploaded by
  • Uploaded
    Sep 15, 2010
  • Size
    160.41 KB
  • Downloads
    34
  • MD5
    3f5a5ff3107f0dd1a244444ab4481b9f

Supported WoW Retail Versions

  • 4.0.1
  • 3.3.5

Changelog

------------------------------------------------------------------------
r38 | wuphonsreach | 2010-09-15 16:33:10 +0000 (Wed, 15 Sep 2010) | 7 lines
Changed paths:
   M /trunk/wTaskNote.lua

moved sample data out of defaults table, sample notes now get inserted into the global/realm/char scopes if those scopes have not yet been added yet, eventually we'll remove the adding of default notes except in the global category to reduce data size

demonstrate that data is being saved/restored via AceDB3, everything ends up in the account level SavedVariables directory (wTaskNote.lua

AceDB3 loads all saved data (shoves it in a "sv" table) but only makes the current realm, current char data available to the current character.  I was hoping that AceDB3 wouldn't pull everything in from all the different characters, but it does.  At least it doesn't replicate everything under "sv" to the actual portions of the database table, but it does mean that all notes will get loaded into RAM.  

Assuming a limit of 600 bytes per note (500 for the body, 64 for the subject, plus overhead), 100 notes will consume about 60KB of RAM, possibly double that if they are all global notes.  That's pretty lightweight so I'm not going to worry about RAM usage for now.  But I will stick with the scope concept of using global / realm / char / profile in case AceDB3 gets smarter down the road.
------------------------------------------------------------------------
r37 | wuphonsreach | 2010-09-15 15:02:56 +0000 (Wed, 15 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNote.toc
   M /trunk/wTaskNoteFrame.lua

working on debug function to walk the internal data table and spit out the results to chat
------------------------------------------------------------------------
r36 | wuphonsreach | 2010-09-15 01:38:39 +0000 (Wed, 15 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua

setup default database entries to represent example notes, shows how the data will be stored
------------------------------------------------------------------------
r35 | wuphonsreach | 2010-09-14 23:23:22 +0000 (Tue, 14 Sep 2010) | 1 line
Changed paths:
   D /trunk/wTaskChecklistEditFrame.lua
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNote.toc
   D /trunk/wTaskNoteEditFrame.lua
   M /trunk/wTaskNoteFrame.lua

remove 2 files not needed, think about design a bit more
------------------------------------------------------------------------
r34 | wuphonsreach | 2010-09-13 22:29:05 +0000 (Mon, 13 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNoteFrame.lua

2nd fix issue where it took 2 clicks on the minimap icon to get our frame to show up (you have to f:Hide() when you create the frame, but delay doing f:Show() until the toggle code section)
------------------------------------------------------------------------
r33 | wuphonsreach | 2010-09-13 22:23:59 +0000 (Mon, 13 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteFrame.lua

fix issue where it took 2 clicks on the minimap icon to get our frame to show up
------------------------------------------------------------------------
r32 | wuphonsreach | 2010-09-13 22:12:07 +0000 (Mon, 13 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua

fix issue where MinimapButtonFrame would not collect our button due to matching "Note" in its "keep hands off" list, so now the icon gets registered as "wTNL" with LibDBIcon:Register() instead of "wTaskNote"
------------------------------------------------------------------------
r31 | wuphonsreach | 2010-09-13 21:35:34 +0000 (Mon, 13 Sep 2010) | 2 lines
Changed paths:
   M /trunk/Localization/enUS.lua
   M /trunk/wTaskNote.lua

fix "no locales" error due to case-sensitivity being wrong in the enUS.lua file
Error: Usage: GetLocale(application[, silent]): 'application' - No locales registered for 'wTaskNote'
------------------------------------------------------------------------
r30 | wuphonsreach | 2010-09-13 21:32:26 +0000 (Mon, 13 Sep 2010) | 4 lines
Changed paths:
   A /trunk/Textures
   A /trunk/Textures/wTaskNoteFrame-Left.blp
   A /trunk/Textures/wTaskNoteFrame-Right.blp
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteFrame.lua

Being more careful about capitalization (or lack thereof) of identifiers
Add textures directory (initially using Blizzard Quest Log dual-panel BLPs to start, will replace later)
Change from INV_Letter_11.blp to INV_Letter_06.blp for the icon
Remove a line of code in minimap creation that seems unnecessary
------------------------------------------------------------------------
r29 | wuphonsreach | 2010-09-13 15:04:35 +0000 (Mon, 13 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNoteFrame.lua

Hook in to OnShow/OnHide and play the quest log noises during those events.
------------------------------------------------------------------------
r28 | wuphonsreach | 2010-09-12 19:18:14 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNoteFrame.lua

mucking with AceGUI - I'm probably going to hand-code all this instead to get a better design
------------------------------------------------------------------------
r27 | wuphonsreach | 2010-09-12 15:06:57 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteFrame.lua

we now have a frame that shows up in the middle of the screen, with title, status line and a close button
------------------------------------------------------------------------
r26 | wuphonsreach | 2010-09-12 14:58:45 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteFrame.lua

taking a stab at creating the main window frame
------------------------------------------------------------------------
r25 | wuphonsreach | 2010-09-12 13:52:10 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteFrame.lua

move the minimap icon around the circle (using LDBIcon attributes), enable the display of the options panel when you right-click the minimap icon
------------------------------------------------------------------------
r24 | wuphonsreach | 2010-09-12 13:28:18 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/Localization/enUS.lua
   M /trunk/wTaskNote.lua

work on localization strings
------------------------------------------------------------------------
r23 | wuphonsreach | 2010-09-12 13:03:23 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   A /trunk/wTaskChecklistEditFrame.lua
   A /trunk/wTaskChecklistFrame.lua
   M /trunk/wTaskNote.toc

adding LUA files to control the eventual checklist frames
------------------------------------------------------------------------
r22 | wuphonsreach | 2010-09-12 12:59:18 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   A /trunk/wTaskNoteEditFrame.lua
   M /trunk/wTaskNoteFrame.lua

adding a frame to do the actual editing of the note
------------------------------------------------------------------------
r21 | wuphonsreach | 2010-09-12 05:28:01 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteFrame.lua

doing some thinking about the note UI and design trade-offs of global accessible notes vs notes that only get loaded for the current character
------------------------------------------------------------------------
r20 | wuphonsreach | 2010-09-12 05:08:55 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNote.toc

starting to experiment with slash commands and saved variables
------------------------------------------------------------------------
r19 | wuphonsreach | 2010-09-12 04:48:38 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua

minimap icon tooltip works, options screen now works (checking the "show minimap" checkbox now works), only issue at the moment is that the MinimapButtonFrame addon does not collect our button yet into its list of buttons
------------------------------------------------------------------------
r18 | wuphonsreach | 2010-09-12 04:37:36 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua

squashed a bunch of bugs, tooltip for minimap icon is still broken (but minimap icon shows up), options screen still throws an error (but it shows up)
------------------------------------------------------------------------
r17 | wuphonsreach | 2010-09-12 04:14:52 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   D /trunk/Globals.lua
   D /trunk/Options.lua
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNote.toc

reorder code blocks, killing off basic errors
------------------------------------------------------------------------
r16 | wuphonsreach | 2010-09-12 03:54:32 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   A /trunk/Globals.lua
   D /trunk/MiniMap.lua
   A /trunk/Options.lua (from /trunk/wTaskNoteOptions.lua:13
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNote.toc
   D /trunk/wTaskNoteOptions.lua

moving code around so that everything loads in the proper order (and get rid of the old LUA file for the minimap)
------------------------------------------------------------------------
r15 | wuphonsreach | 2010-09-12 03:44:02 +0000 (Sun, 12 Sep 2010) | 3 lines
Changed paths:
   M /trunk/Localization/enUS.lua

Fix error (wrong addon name in localization file):
Message: ..\AddOns\wTaskNote\wTaskNote.lua line 6:
   Usage: GetLocale(application[, silent]): 'application' - No locales registered for 'WTaskNote'
------------------------------------------------------------------------
r14 | wuphonsreach | 2010-09-12 03:39:34 +0000 (Sun, 12 Sep 2010) | 3 lines
Changed paths:
   M /trunk/Localization/enUS.lua

set enUS as the default locale
see line 1: local L = LibStub("AceLocale-3.0"):NewLocale("RaidBuffStatus", "enUS", true)
all other locales will leave off the 3rd argument because they are not the default
------------------------------------------------------------------------
r13 | wuphonsreach | 2010-09-12 03:27:16 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteOptions.lua

clean up options code (probably still broken)
------------------------------------------------------------------------
r12 | wuphonsreach | 2010-09-12 03:20:46 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNoteOptions.lua

working on basic options screen
------------------------------------------------------------------------
r11 | wuphonsreach | 2010-09-12 02:59:12 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   A /trunk/wTaskNoteOptions.lua

create LUA file to deal with options
------------------------------------------------------------------------
r10 | wuphonsreach | 2010-09-12 02:58:01 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   A /trunk/wTaskNoteFrame.lua

add the LUA file to control the wTaskNoteFrame
------------------------------------------------------------------------
r9 | wuphonsreach | 2010-09-12 02:50:25 +0000 (Sun, 12 Sep 2010) | 1 line
Changed paths:
   M /trunk/wTaskNote.lua

broken code, but working on adding minimap button using LDBIcon
------------------------------------------------------------------------
r8 | wuphonsreach | 2010-09-11 22:25:08 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   A /trunk/MiniMap.lua
   M /trunk/wTaskNote.lua

add minimap LUA file, based somewhat off of how RaidBuffStatus does things
------------------------------------------------------------------------
r7 | wuphonsreach | 2010-09-11 22:20:12 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   M /trunk

add svn:externals for the Ace3 libraries to embed them
------------------------------------------------------------------------
r6 | wuphonsreach | 2010-09-11 21:55:08 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   M /trunk/Localization/enUS.lua
   M /trunk/wTaskNote.toc

testing out localization
------------------------------------------------------------------------
r5 | wuphonsreach | 2010-09-11 21:41:34 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   A /trunk/Localization/enUS.lua
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNote.toc

setting up basic localization with (2) namespaces for Options/Messages at the start
------------------------------------------------------------------------
r4 | wuphonsreach | 2010-09-11 21:40:52 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   A /trunk/Localization

setting up basic localization with (2) namespaces for Options/Messages at the start
------------------------------------------------------------------------
r3 | wuphonsreach | 2010-09-11 21:14:31 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   A /trunk/embeds.xml
   M /trunk/wTaskNote.lua
   M /trunk/wTaskNote.toc

laying the groundwork for the use of the Ace3 libraries
------------------------------------------------------------------------
r2 | wuphonsreach | 2010-09-11 17:40:27 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   A /trunk/wTaskNote.lua
   A /trunk/wTaskNote.toc

base version with no content
------------------------------------------------------------------------
r1 | root | 2010-09-11 17:20:20 +0000 (Sat, 11 Sep 2010) | 1 line
Changed paths:
   A /branches
   A /tags
   A /trunk

"wtasknote/mainline: Initial Import"
------------------------------------------------------------------------