## A DETAILED VERSION HISTORY! ## ## (Really more of a diary than anything) ## ## Friday Night / Saturday Morning, April 27th, 2006 # Fun fun stuff tonight. Nothing much to report on, mostly got adjusted # to looking at code again after a week in the humanities. I got the code # organized into more files, including moving all of the variables and tab # and window initialization. This greatly helped me split up my files, as # I don't have to have a seperate initialization function within each file # that has to be called in the main file for every additional file. Instead, # I just need to put "from variables import *" on the top of each file and # violah! Much easier. # # I also got the tab closing working, which is very relieving, as this # problem was starting to seem like it would never be solved. I also # got the windows to adjust appropriately to the tab closure. # # As for what to work on tomorrow, I'd like to work on opening new tabs # through the "View" menu, and this would mean working on a system of # writing to windows outside of the first initialization. Once this is # accomplished, I think I'd like to start reading in data from text files # to be displayed on the screen, which means working on scrolling and # navigating. After this, text input, documentation and I should be about # done with this. Very nice feeling, this progress thing. ## ## Early, Early Morning Friday, April 21st, 2006 # This may not SEEM like a big change, but I organized all of my code, as # Jim previously suggested. It's organized into three larger files, one # for interface functions, one for chat functions, and one for the main # code. I may adjust this later, splitting it off even more, but it looks # good for now. # # I also did some minor things, like initializing global variables in the # other files, updating the introductory comments, and making the error and # exit messages more informative. # # As for next time, I'm going to try and fix the closing and opening of tabs, # and then maybe get some of the information browsing going, such as scrolling! ## ## Late Wednesday, April 12th, 2006 # I actually did not do anything tonight. I tried # screwing around with the code for the tabs, and # aside from doing maybe one or two minor things, I # really just screwed up the tab code more. Now it # trying to close a window only selects the first tab. # # For next time, which may be a long time away, I need # to fix those tab things. Bad timing, eh. ## ## Late Saturday/Early Sunday, April 8th/9th, 2006 # Its been a long night. I got a bunch of stuff with # the tabs working and got all the menus to display # properly. Plus! You can now make menu selections # and the ones I've configured will result in pop-up # prompts. You can quit the program WITHOUT using # Ctrl-C, which is nice, and it asks you in a pretty # pop-up. You can also sort-of close the tabs, this # is something that's gonna need some work. Right now # you can only close out the first tab, and when # there's only one tab left, it gives a pretty prompt # telling you no. # # As for my next adventure, I would like to finish # up the opening and closing of tabs, specifically # on closing first. I would also like to get stuff # to view inside the tabs, perhaps scrolling. We # shall see.. ## ## Saturday, April 8th, 2006 # I spent all of today figuring out the panel objects in # curses. Very strange, though I finally figured it out. # I first thought that panels were a way of alternating # content on the same windows, and it took me several hours # to figure out that each panel needs to be tied to its own # window. Now I can alternate content on the same window # by selecting different tabs, which is great, as the basic # code is there, I just need to flesh it out. Also, tab selection # and menu selection now use the same code for display. # # I'm hoping to get back on tonight and work on displaying the # menus and perhaps get some sort of browsing or reading or # something into the tabs. Perhaps text browsing first, such # as scrolling, and then maybe editing. We shall see. ## ## Friday, April 7th, 2006 # Today was a simple day, I only worked with some spare time # and before going to bed. I skimmed down the code a bit, but # the main thing I did was shift the menu from several global # string variables, which was incredibly clumsy, into a matrix. # This allows me to edit any of the menu options and the letters # to be highlighted on the fly, with no changing of the code. # This also allowed me to pare down the code that looks to see # if the user's input matched the letter for a menu option # Previously, I would have to create an if statement for each # menu options, but the matrix allowed me to slim the code down # to a single 'for' statement that checks the input against the # letters for all the menu options. Very convienent and quite # nice, as I can adjust any of the menu options and the code # will respond accordingly. I also created a bar of tabs on the # bottom of the screen, but you can only select them for now, # as I haven't started the tab screens. # # For tommorow, I want to to work on several things. Mainly, I # would like to look into panels to use for menu options and # perhaps tabbed screens. I would like to make an automated # system of expanding the menu options that utilizes the "menu" # matrix. Also a system for pop-ups and perhaps text entering. # G'Night. ## ## Thursday, April 5th, 2006 # Mmhmm. Today was mostly spent stripping my Chat GUI down to a # basic level of user interaction. I removed the network code, # the chatting code (though it may make a return), and removed # the two chat windows from existence. As of right now, the # system merely waits for input from the user, and allows the # user to select menus, although not their options yet. # # My goals for this coming Saturday are to work on user interactions, # such as allowing users to select menu options with the arrow keys. I # would also like to create some method of tabs, to allow the user to # switch between several pages of information, and a pop-up window # function for option windows and prompts. And if time allows, I would # like to create some means for browsing and navigating through # information within the tabs, including scrolling. # # My other goal is to figure out what I'm doing aside from creating a # GUI. As of right now I'm looking at PySoulseek, a peer-to-peer program # written in Python that allows sharing music with others and also # serves as a music player. This is a large program, and I think I'm # over-estimating my time, but I could at least try and implement the # mp3 player. There's really a lot out there in terms of python and # networking, and I'm really limited by my knowledge of Python outside # of the simple networking and interface work I've been doing. ## ## Wednesday, March 28th, 2006 # This was my first time playing around with curses since Spring Break, # and I mostly did minor tweaking. I fixed up the chat section of the # GUI, and updated several of the GUI-related functions. But the # biggest thing I did was add a menu bar and actually got it working. # This involved figuring out how to identify when some pressed Ctrl-f, # which was tougher than it sounds, at least for me. I ended up # converting the Ascii code into printable format, and then checked for # what printed out when I hit Ctrl-f, which was ^F, simple enough. So # with that fixed, I'm about ready to go. ## ###