home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / util / wb / Buttonz.lha / Buttonz / Docs / History < prev    next >
Encoding:
Text File  |  1997-02-06  |  23.5 KB  |  496 lines

  1.  
  2.                      Buttons history for the interested
  3.                      ----------------------------------
  4.  
  5. 23/10/96 - V0.1
  6.  
  7. Initial idea. Basic layout decided and notes made. Created gui from scratch
  8. rather then gadtools generated for smaller, cleaner code. Bare backdrop window
  9. with 8 buttons. Escape exits program as well as close gadget. Put in a message
  10. port so the program couldn't be launched more than once.
  11.  
  12. 24/10/96
  13.  
  14. Added to gui to enable font y cord sensitivity to a degree and put in 10
  15. buttons as well as Quit and About at the bottom. Added routines for loading
  16. and saving configuration via icon tooltypes. Button text routines added based
  17. on loaded configuration. Tested clean running on WBStartup constantly along
  18. with other programs. Added custom font routines but still not globally set
  19. the build window routines for anything other than an 8 point font.
  20.  
  21. 25/10/96
  22.  
  23. Added AppWindow functioning. Routine not implemented properly due to delayed
  24. message returns. Looking into that one. About requester put in. Hot keys for
  25. Quit and About requester added. Changed the gadget layout slightly under the
  26. custom definition buttons for an extra gadget labelled Config. Still pretty
  27. small, and the idea is that config will overwrite the button menu with a
  28. prefs gui of the same size to enable configuration without manually editing
  29. tooltypes. I'm now thinking along the lines of holding shift key when clicking
  30. on a button to configure it wheras without shift, it would launch the defined
  31. program. Lots of practical ideas noted on features to implement.
  32.  
  33. 27/10/96 - V0.2
  34.  
  35. Implemented launch routines for button commands. Now they actually work :)
  36.  
  37. Added in debug routine - Enabled with a tooltype of DEBUG. It's important that
  38. you leave this set for now as you can get an idea of what's wrong if something
  39. goes screwy from the buttonz.temp file in ram which won't be deleted.
  40.  
  41. Buttonz now generates an external script to call the configured program so that
  42. appropriate paths are respected which the new process inherits. All programs
  43. are run as seperate tasks so that buttonz isn't locked afterwards.
  44.  
  45. Added configuration options Stack and Arguments for each button. See tooltypes
  46. for example settings.
  47.  
  48. Added in quote settings if there's a split filename for the configured button.
  49. This wouldn't happen manually, but if a file is dropped onto the window later
  50. on when the configuration has the option, some dodgy programs have spaces in
  51. their filenames which the cli won't like without quote marks. These are 
  52. handled in the background by Buttonz now anyway, so nobody has to worry about
  53. them.
  54.  
  55. Fixed bug in MsgPort and Icon search routine which hung over from programs name
  56. change. Stupid mistake :)
  57.  
  58. 28/10/96 - V0.3
  59.  
  60. Added XPos and YPos tooltype options for defining top left corner of windows
  61. position on Workbench. I'll probably expand on this at a later date.
  62.  
  63. Added BACKDROP tooltype option. If you have this tooltype then the Buttonz
  64. window will be a workbench backdrop and unmovable. As in the original versions.
  65. If you leave the tooltype out then you have a normal drag bar and can move it.
  66.  
  67. Added NOBORDERS tooltype option. If you have this tooltype then Buttonz 
  68. window will have no borders. This works best with the BACKDROP option enabled.
  69.  
  70. Put in the help requester - Naturally you press HELP. This will pop up a list
  71. of the keyboard hot keys as well as any other important info in the end 
  72. program.
  73.  
  74. Tidied up that horrible about requester. That'll teach me to re-use old code
  75. with global variables :(
  76.  
  77. 30/10/96 - V0.4
  78.  
  79. Fixed stupid error where NOBORDERS did the opposite of what it should do.
  80.  
  81. Added the code for Menu bar (c) message.
  82.  
  83. Fixed the bug in configuration with the Backdrop setting toggle.
  84.  
  85. Implemented new saved tooltypes routine which saved all possible configuration
  86. options but enclosed non-active switches in [ ] quotes.
  87.  
  88. Improved the gui response by streamlining the intuition loop and flushing
  89. unused events while requesters are present. Buttonz now makes sure it's one of
  90. its own buttons and not some other gui before doing its job :-)
  91.  
  92. Decided it's really about time I did some serious work on buttonz instead of
  93. fixing little bits here and there :-)
  94.  
  95. 31/10/96 - V0.5
  96.  
  97. Fixed the non recognised YPOS tooltype. Stupid string reading error.
  98.  
  99. Extended the width of button sizes for prefs window requirments. Check your
  100. XPOS settings in your icons to make sure you don't overlap the edge of your
  101. screen. Buttonz will safely warn you and exit if this happens anyway until I
  102. can get the check screen size routines working properly.
  103.  
  104. Implemented the Flip window for preference settings. At the moment it pops up
  105. the path of the program configured and a seperate button for each entry which
  106. will be clicked to pop up a file requester. I'll add in a routine to split the
  107. path string up to seperate user arguments and a stack system. Ideally I want
  108. to keep the window the same size, however. NB: Changes in the string gadgets
  109. are not recorded at the moment so don't configure anything this way yet :-)
  110.  
  111. Did some minor cosmetic work on the default gadgets to fit new window sizing.
  112. Added Save config and Font gadgets on the prefs window which are the only other
  113. parts still needing gadgets at this time.
  114.  
  115. Added in the hotkey definitions for button numbers. IE: Press 0 to launch the
  116. command in button 0 etc.
  117.  
  118. Added font change routine. Doesn't do anything apart from a requester but it's
  119. ready. Put in global hotkey 'F' to call it.
  120.  
  121. Reworked entire event handler so that input routine was the same no matter
  122. if the prefs or buttonz window is active. This way hotkeys are always available
  123. for button definitions and the code is significantly smaller. Major work this.
  124.  
  125. 01/11/96
  126.  
  127. Finally sussed an os friendly way of getting the windows position relative to
  128. the current screen. Position of the window is saved in the configuration now.
  129.  
  130. Fixed a bug with the DEBUG tooltype in the load config routine. It looked for
  131. 9 characters in a 5 character string. :-)
  132.  
  133. Added in a SNAPSHOT configuration option. If SNAPSHOT is set in the tooltypes
  134. then saving config will store the current window position, else it will store
  135. the loading defaults. Apparantly closet MUI haters need this :-)
  136.  
  137. Fixed a bug in the new SNAPSHOT routine. Worked the opposite way to how it was
  138. meant to. I've got to stop doing that :-)
  139.  
  140. 07/11/96 - V0.6
  141.  
  142. Added in a configuration tooltype (ACTIVE) to set wether the window is
  143. activated when the program is ran, or not.
  144.  
  145. Put in some safety checks which will stop Buttonz ever trying to open a window
  146. when the screen dimensions don't allow it. Now it will default to center of
  147. screen if illegal X & Y Positions are used. Thanks to Paul Lathwell for a handy
  148. routine to check this.
  149.  
  150. Fixed up some major potential gadget clashes due to illegal numbering of the
  151. gadgets against O/S recommendations. Possible guru aversion here :-)
  152.  
  153. Changed the config button to lose the paths gadgets and use a list of toggle
  154. gadgets for the gui options currently available. The buttons launch commands
  155. are under a major rethink right now (See notes file) so these were now obsolete
  156. before I'd even made them work :-( The prefs window looks a bit empty right now
  157. but extra gadgets will be dropped in as the program requires them.
  158.  
  159. 28/11/96 - V0.6a
  160.  
  161. Minor changes to the wait event loop to facilitate major changes later on with
  162. the AppWindow and CX message routines to drop in.
  163.  
  164. 30/11/96 - V0.6b
  165.  
  166. Buttonz is now a commodity. Supported features are the standard Hide/Show 
  167. Window, HotKey (still needs a bit of work but RAmiga # does the trick) and
  168. Active/Inactive. Same as other commodities basically but this should mean it's
  169. easy to make it dissapear at the stab of a key and pop up again when you need
  170. it. Not sure how it'll work with multiple windows but I'll worry about that
  171. later.
  172.  
  173. 30/11/96 - V0.6c
  174.  
  175. Put in extra flags for each button definition to set launch type. Adapted the
  176. load and save routines so that it will set up defaults when old tooltypes with
  177. no data set are used so it's backwards compatible.
  178.  
  179. Discovered that Buttonz majorly hogs cpu time since it was converted to a
  180. commodity and I'd missed spotting it because I'm running the wonderfull 
  181. Executive.
  182.  
  183. 30/11/96 - V0.6d
  184.  
  185. Fixed up the cpu hog problem after disabling Executive to run tests. Forgot to
  186. use the Vwait command to synchronise the interupts. That'll teach me to RTFM!
  187.  
  188. Put in the hotkey definition (RAmiga #). Using this you can toggle the buttonz
  189. display on and off as much as you like :) I'm thinking about changing the
  190. hot key definition via the prefs options. I need to fill up some space anyway.
  191.  
  192. 1/12/96 - V0.6e
  193.  
  194. Finally got onto the configuration part of Buttonz. There's now an AppWindow
  195. with gadgets for setting up a button which offers Name, ProgPath, Arguments
  196. and Stack size fields. There's a toggle gadget to set up launch type and
  197. Use and Cancel buttons to specify if you're happy with the gadget or not.
  198.  
  199. Prefs window now accepts files being dropped onto it although it doesn't place
  200. the data into the fields as yet. At the moment it's only a dummy routine
  201. which is called from the main window with a keypress rather than the shift
  202. click on button to fire it up as it will work in the end, as I'm testing the
  203. thing out first so I can make the gui tidy.
  204.  
  205. Found a problem with scanning for key presses without a window displayed which
  206. I've not been able to fix up tonight yet. That's the problem with having
  207. Buttonz using more than one window now. Config button window isn't finished
  208. yet but it's bloody 6am! :)
  209.  
  210. 2/12/96 - V0.6f
  211.  
  212. At last I've tracked down that horrible bug with the default input requester.
  213. It turned out to be a bug in my hotkey routine that told the program to shut
  214. the window and then forgot to tell it that it shouldn't scan for keys on the
  215. keyboard when it's in this mode :) The hotkey now works at any rate.
  216.  
  217. Fixed a nasty bug where an invalid bitmap requester would pop up when switching
  218. to the prefs window after configuring a button.
  219.  
  220. Temporary changes to the button text on some gadgets so they all work with the
  221. new default font supplied with buttonz - !! Read the beta testers note here !!
  222.  
  223. Made changes around the prefs window to put in a button for a file requester
  224. to choose a program path in case the Drop icon method isn't to be used.
  225.  
  226. Fixed in a configuration option for the HotKey so it can now be defined via
  227. the ToolTypes as well as the prefs window. NOTE: Changes made in the prefs
  228. window won't be used as yet! Use the tooltypes to change the hotkey for now
  229. until I add that in. I'm short on time today :(
  230.  
  231. Fixed one last potential bug with the windows routines so that requester stuff
  232. and crashes that some of you experienced should never happen again :) Please
  233. give it a tough test to see if I have missed anything.
  234.  
  235. 3/12/96 - V0.6g
  236.  
  237. Fixed up the hotkey selection on the Prefs screen. Now it works.
  238.  
  239. Added in another button on prefs screen for choosing a temp directory.
  240.  
  241. Added OS check to ensure the Amiga Buttonz is running on is a 2.0+ machine or
  242. it'll beep the screen and safely exit.
  243.  
  244. Corrected a severe fuck up in the commodity control options. By trying to
  245. hide interface or show interface twice, Buttonz tried to do stuff to windows
  246. that didn't exist - not nice :) Rearranged how the CX control stuff worked so
  247. that hiding the interface will disable it the same as making the program
  248. inactive which will also hide the gui. This way there's no way a gadget list
  249. or window can be operated on without the window on screen.
  250.  
  251. Finally fixed a really annoying bug with the LaunchType cycle gadget which
  252. chooses what type of launch routine should be used for that buttons config. It
  253. now works with custom hacks such as MCP's Cycle-menu etc. Also figured out
  254. that the save tooltype routine addressed the wrong program constants and
  255. saved every launch type as something it wasn't for a while. Sure, like Spot is
  256. really a script file <sigh>
  257.  
  258. Put in the rest of the configuration reading from the buttonz window. It's
  259. now possible to configure a button just by holding shift and clicking on it.
  260. The file requester for program path and the AppWindow drop file features aren't
  261. yet in there though but at least it can be customised now :)
  262.  
  263. Ooops. Almost forgot to make it cancel changes to the button if Abort was 
  264. clicked on the Configure button window. Fixed.
  265.  
  266. Fixed a small glitch where Buttonz redrew the main window even if no changes
  267. were made to the button or Abort was clicked. Much nicer now.
  268.  
  269. 5/12/96 - V0.6h
  270.  
  271. Put in the AppWindow routine so icons can now be dragged on the button config
  272. window and the display will update accordingly. I'm hoping to be able to pull
  273. in the stack settings and program type definitions later on, but Path is set
  274. to the complete program, the name of the button is the program only, and stack
  275. is set at the universal 4096 which is usually standard anyway. Arguments is
  276. cleared so it can be customised manually.
  277.  
  278. Put in the file requester for selecting a program the quick way if you've 
  279. got a huge load of drawers to work through to find an icon to drag. Usual
  280. reqtools stuff.
  281.  
  282. Fixed a bug in the file requester for selecting program path. Aborting the
  283. operation wouldn't leave the old fields intact. Fixed.
  284.  
  285. Discovered the tempdir selection wouldn't actually work unless you selected
  286. a file within the directory to use for temp files. I've been unable to find
  287. a decent way of popping up a directory requester without using a new library
  288. as yet and increasing the code so I've changed the message slightly so it
  289. says to select a file until I find some other way to do it.
  290.  
  291. Changed the big ugly about requester to something not likely to hog so much of
  292. the screen.
  293.  
  294. Fixed a non-displayed text line in the help requester that's probably been in
  295. since it first appeared back in V0.2 :) Also updated the information to show
  296. changes in Buttonz to date. Then I found out that help wasn't working anyway.
  297. Some stupid illogical reason says it no longer likes the help key. Changed it
  298. to 'h' and problem solved.
  299.  
  300. 16/12/96 - V0.7
  301.  
  302. Tracked down a lot of case-sensitivity errors in the appfile code. Surprised
  303. any of it worked in the previous version :)
  304.  
  305. Fixed the path bug when dropping a file on the config window. Full path is now
  306. used and not just the root device name. This one took bloody ages and a full
  307. rewrite of a section to sort out! Thanks a lot Phil <growl> :)
  308.  
  309. Added an AppMenu item to the tools menu on Workbench when Buttonz is Iconified.
  310.  
  311. 09/01/97 - V0.8
  312.  
  313. Haven't forgotten about this beast despite this long delay between work. Blame
  314. Xmas, the new year, a very nasty virus all over the holidays, and, of course,
  315. the dreaded work for the delays in getting on with the job until now.
  316.  
  317. Anyway, back on track, and the routines for saving and loading different config
  318. files are now implemented into Buttonz and debugged. This took more work than
  319. you might think as it's a lot different compared to handling tooltypes. Still,
  320. it's done now and it works quite well. There's no gadgets for saving the config
  321. yet (only the save button which saves the prefs in tooltypes still and no 
  322. longer stores button definitions in there) but it's done by pressing 's' for
  323. now until I fix that up. Obviously loading different config files will be 
  324. configurable as a task from the buttons themselves with the SUBDOCK setting so
  325. there's no need for a seperate button for that.
  326.  
  327. Put in a notification requester on startup if the default buttonz.bcfg file
  328. isn't found in EnvArc: - this explains to the new user that this file should
  329. be saved out after configuring the buttons to their required tastes and then
  330. Buttonz will use it as a default all the time. Obviously if the file exists
  331. then it will never pop up, and this keeps everyone happy.
  332.  
  333. Loading of the configuration for Buttonz look is now much quicker due to these
  334. config changes.
  335.  
  336. READ IMPORTANT.TXT now, beta geeza's.
  337.  
  338. 10/01/97 - V0.8a
  339.  
  340. Made changes to the file requester routine on the button config window so it
  341. asks for different filetype if SUBDOCK is set on the cycle gadget so that
  342. a buttonz config file can be selected instead of a program.
  343.  
  344. Got it loading subdock files when configured at last :)
  345.  
  346. Configured a few example menus to test the subdock feature out a bit. Works
  347. fine now but it's still a little fiddly to use until I change a few settings
  348. around to make it quicker to set it all up. Stuff like automatically using the
  349. filename loaded as the save default. Toying with the idea of having a seperate
  350. button specifically for jumping back to the default configuration. The idea 
  351. being all buttons there are set to jump to sub menus and it'll save time having
  352. to use one of the buttons in the other configs to call the default config as
  353. a subdock. Confused? It's easier in practice :)
  354.  
  355. Made some quick global changes now before throwing another beta archive out to
  356. save yet another conversion job. Buttonz now uses Envarc:Buttonz/ as the
  357. default directory for all it's configuration files which makes it easier to
  358. see what configs you have in a file requester, and saves scrolling through a
  359. heap of other env: stuff to click on the filename you need. You'll need to
  360. move your config files into this directory for Buttonz to find them when you
  361. run this new version. Must remember to get Buttonz to create the directory if
  362. it doesn't exist on startup for new installations.
  363.  
  364. Changed some of the meaningless requesters, updated the help window (now you
  365. press 'h' on the keyboard instead of help until I can find out why that bit
  366. got broken again) to show new keys, threw in a quick option to load default
  367. configuration without a file requester to jump back to the startup set of
  368. buttonz (just press 'l') which'll do for now until I decide if another gadget
  369. is worth it. I refuse to use menus with Buttonz because it's being written so
  370. that I don't have to use them myself anymore so I'd be a hypocrite :)
  371.  
  372. Found two stupid variable clashes and a mispelling of Arexx (my nickname 
  373. - Xerra - confuses me all the time) that caused buttons set with the arexx 
  374. flag not to get saved in the configuration. Fixed now.
  375.  
  376. Added a nice little intelligence feature so that Buttonz will automatically use
  377. the name of the current configuration loaded in the save requester when saving
  378. configs. This makes it a lot quicker to configure it all from scratch. Took a
  379. surprising amount of work to get this going neatly.
  380.  
  381. Scratch the above. It's occasionally coming up with quirks like direcorty names
  382. as well as filenames in the filename box as well as directory fields on 
  383. requesters which is a pain in the butt. Need to rework both the save and load
  384. routines to work out what's wrong yet again <sigh>
  385.  
  386. Put in the launch routine for running scripts. Still not sussed out a way to
  387. get buttonz to launch a script from a shell window but it's not something that
  388. you exactlly need anyway. I wanted to do it as I run Miami that way but it
  389. seems that ToolsDaemon has the edge in weird events like this and I'll just 
  390. leave out the Miami icon. That's the last of the launch options set up now
  391. anyway. It's really just bug fixing to do now and the end of it all at last.
  392.  
  393. 12/01/97 - V0.8b
  394.  
  395. Finally fixed up the default filename for save requester bug. Shortened the
  396. executable size as well. Turned out I already had a routine for doing the
  397. conversion in the code and wrote another bodgy one instead of using it. <duh!>
  398.  
  399. Swapped around the buttons so that About is now on the prefs window and I can
  400. use the old button for saving the buttonz current menu.
  401.  
  402. Removed the font button and associated parts in the program. No longer needed.
  403. The requester text was a bit dicey for censorship regulations anyway :-) Now 
  404. I'll keep the swear words just in the source code.
  405.  
  406. Added in an intelligent confirmation requester if an attempt is made to launch
  407. a new menu and changes have been made to the current one. This saved me a heap
  408. of time losing configs when I was setting up the example configs as I kept
  409. losing data due to forgetting to save before changing another config :)
  410.  
  411. Put in a clear button option. Holding control and clicking on a button will
  412. clear its definition. I found it handy to be able to do this when configuring
  413. the beast from scratch so I've made it easy to do. Maybe I should have put a
  414. swap button routine in :)
  415.  
  416. Performed a very long optimise walk through of the source code cleaning bits
  417. up, tidying up messy routines to make them shorter, and generally anything
  418. else I could do to shorten the main program size down a bit. I guess I could
  419. powerpack the main program but the end-user could do that if they wanted anyway
  420. and it'll compress better within the archive if I don't. Still worked out at
  421. just over 100k for the whole program, but at least it doesn't use any external
  422. libraries, and it has an online command reference and all sorts of other bits
  423. which increased the size. I blame blitz and it's bloated handling of libraries
  424. myself :-)
  425.  
  426. This, if all goes to plan and no problems are found, should be the last beta
  427. before Buttonz goes out public. Methinks a freebie gift to the Amiga community
  428. from someone who's taken so much.
  429.  
  430. 15/01/97 - V0.9
  431.  
  432. Changed the launch subdock around a bit so it will switch over straight away
  433. to the new button bank after prompting you to save your config if required.
  434.  
  435. Changed the default stack setting to 4096 (standard) and set the defaults for
  436. font name and hotkey appropriately.
  437.  
  438. Buttonz now makes a check if the buttonz config directory in EnvArc: exists
  439. when it first runs and creates it if not.
  440.  
  441. Fixed the bug where capslock being down would make buttons not do anything when
  442. clicked on. Actually (due to the way event qualifiers work) it will use the
  443. launch settings of the button with it down or up now but having capslock down
  444. would interfere with the setting if you were to use shift to configure that
  445. button. Nothing I can practically do about that though, but if shift/click
  446. doesn't pop up the config window then you know why.
  447.  
  448. Buttonz now has a swap button feature. Just hold down the right shift key (it's
  449. the left shift for configuring, remember) and click on both buttons. They will
  450. then swap places. This was a bitch to get working but it's flippin' handy now
  451. that it works.
  452.  
  453. Added a toggle for the swapping buttons routine so that config save prompts
  454. are called if changes have been made before switching banks or quiting.
  455.  
  456. Buttonz now has HTML documentation as created by Phillip Snell. And very nice
  457. it is to. Amigaguide documentation is also there for the die-hards as created
  458. by myself. The HTML stuff will be going up onto my web pages when Buttonz is
  459. unleashed onto the public very soon now.
  460.  
  461. I think now I really must be finished bar any sudden bugs appearing when it
  462. goes out to the betatesters again.
  463.  
  464. 26/01/97 - V1.0
  465.  
  466. Added new information to the help requester.
  467.  
  468. Fixed up a typing mistake in the last update that broke the ctrl-delete button
  469. routine.
  470.  
  471. Changed the help requester to pop up when 'i' is pressed on the keyboard for
  472. information. This is so I can use 'Help' for multiview on the documentation
  473. later on.
  474.  
  475. Fixed up the web address on the about requester for the correct information.
  476. Thanks Mr. Pedant Gribble :-)
  477.  
  478. 06/02/97 - V1.0 - Release
  479.  
  480. Made some changes to the hotkey box size to remove problems with the 6 point
  481. font causing clashes on some machines.
  482.  
  483. Finally traced down a nasty font problem which caused screw ups on a few
  484. peoples systems but wouldn't happen to me. Turned out I'd renamed a different
  485. font to Buttonz font and just assumed it would work without looking at the
  486. actual font data file which gave it another name. That font was looked for 
  487. instead and nobody had that font except me. :)
  488.  
  489. Created the installer script (with a load of messing around) and the release
  490. archive. More work than I thought as this meant tidying up the html docs,
  491. updating the guide file, creating .readme and file_id.diz banners and minor
  492. tweaks to icons for default configs etc. It's been so long since I last wrote
  493. an install script that I'd forgotten most of the commands and had to rework it
  494. all from another script in the end :)
  495.  
  496.