Permalink
Switch branches/tags
Nothing to show
Commits on Mar 13, 2012
  1. Corrected git clone line

    and removed excessive spacing.
    samirahmed committed Mar 13, 2012
  2. Merge pull request #4 from benvd/master

    Thanks for the pull! Looks like this works, will pull
    samirahmed committed Mar 13, 2012
  3. Fix copying a command to the clipboard on Linux.

    subprocess.Popen expects a sequence of program arguments. We split the commands using shlex, as the offical Python docs suggest. (http://docs.python.org/library/subprocess.html#popen-constructor)
    benvd committed Mar 13, 2012
  4. Update README.md

    samirahmed committed Mar 13, 2012
  5. Fixed Error Index number bug.

    removed the .lower()
    
    that appeared to causing an error...
    samirahmed committed Mar 13, 2012
Commits on Mar 12, 2012
  1. Updated the README

    Includes wiki and more..
    samirahmed committed Mar 12, 2012
  2. Added MIT License

    ...
    samirahmed committed Mar 12, 2012
Commits on Mar 11, 2012
  1. edited gitignore

    samirahmed committed Mar 11, 2012
  2. Added gitignore

    samirahmed committed Mar 11, 2012
  3. Version 0.1.1, Add quick clipboard support

    fu.py -> Added support for "fu 1" for quick copy to clipboard
    fu -> removed file after installation (in make process)
    setup.py -> bumped version number
    samirahmed committed Mar 11, 2012
Commits on Mar 9, 2012
  1. Polished directory names/ makefile

    Change the record file from
    	build/files.txt -> installRecords.txt
    
    incase there is no build folder
    
    Changed to fu folder to src. for ease of navigation for anybody new
    looking at the code.
    samirahmed committed Mar 9, 2012
  2. Reformatted packages for managing with setup.py

    Setup.py : Thanks to Tom H.Miller from googlecl project
    the setup.py is working and is easy to working with.
    
    Moved all the helper files away from the script (fu.py)
    The helperfiles went into the lib package in site the fu folder
    
    The test files too.
    
    There is a little md5 check to ensure that we are copyin the right
    files over.
    
    The setup will install a command called fu in your local bin dir
    and save a record of the installed files to build/files.txt
    
    this might have to be changed in the future.
    
    Makefile : updated to smooth the install and uninstall process
    
    sudo make install - installs and records the install files
    sudo make uninstall - unistall will pipe record to rm and remove files
    samirahmed committed Mar 9, 2012
  3. Integrated parts together

    Integrated, colors, config, platform and api
    into the fu.py
    
    [fu.py] Updated commandline args to support
    -n : number of results to display
    -c : index of result to copy
    -o : index of result url to open
    
    Added three functions to deal with, three possible commands
    
    do_open: creates, instance of system and opens specified url
    do_copy: creates, copies to system clipboard
    search: creates instance of api and performs search and display,
    	returns results
    
    Currently the main function is the only function with access to the dotfile
    samirahmed committed Mar 9, 2012
Commits on Mar 4, 2012
  1. removed empty file

    samirahmed committed Mar 4, 2012
  2. Modularized the Script and Added tests

    The package now includes
    
    	fu.py : (rename from cfu.py) This is the main script
    			This has been untouched for the most part
    	api.py: A wrapper for the commandlinefu api
    	terminalColor.py : A collection of static methods for adding color
    			to terminal print outs
    	config.py : A class for managing dotfiles associated with fu
    
    Added the Test folder and the following tests
    
    	api_test : simulates and api call and prints output
    	dotfile_test: deletes current dotfile, creates a new one
    	              loads the sample.json file and goes through
    								saving and reading from the dotfile
    	color_test : Calls terminalcolors testAll method
    	platform_test: Test the clipboard functionality
    
    Other files
    
    	test/Makefile : a make file for automating the testing
    	info.txt : A overview of how to run the test
    samirahmed committed Mar 4, 2012
Commits on Feb 24, 2012
  1. Created API class

    cfuAPI.py is a class that is made to abstract
    the API calls and printing of the json away from
    the user.
    
    Added a test/ and api_test.py for testing py
    
    Integrate the colors in their a little bit
    
    Trivial Changes
    
    -Added make file for cleaning up dir
    -removed cfu.py in root dir
    -renamed packates to lowercase starting
    samirahmed committed Feb 24, 2012
  2. New Branch

    Working -> Created a new branch to work on new features
    
    - setup.py
    - terminalcolors
    
    TerminalColors.py is a simple class with ansi color characters
    to format printing in color to the terminal. This will be used to
    highlight search terms.
    samirahmed committed Feb 24, 2012
Commits on Jan 28, 2012
  1. Added command line arguments

    Cleaned up the structure and functions
    
    Supports new command line arguments
    
    -v or --verbose : if verbose, show all information about the results
    -c or --count  : specify how many results to display
    -a or --all 	 : show all results ... will override count
    
    Used python argparse to parse the command line inputs
    
    Changed the requests to json rather than plaintext,
    
    Failed to integrate the interactive mode -
    	copy AND execute command ...
    	tried both Tk() . clipboard_append()
    	and os.system(<command>)
    
    Might try to do that next time
    samirahmed committed Jan 28, 2012
Commits on Jan 25, 2012
  1. fixed links on the readme.md

    samirahmed committed Jan 25, 2012
  2. Added simple working cfu.py script

    Added README.md
    samirahmed committed Jan 25, 2012