jollyjinx / jnxfree

Xcode and Cocoa helper files I use for Products like ScreenRecycler,JollysFastVNC,SmartSokoban and more

This URL has Read+Write access

name age message
file .gitattributes Wed Jan 28 05:25:30 -0800 2009 added current master project .gitattributes and... [Patrick Stein]
file .gitignore Wed Jan 28 05:25:30 -0800 2009 added current master project .gitattributes and... [Patrick Stein]
directory Categories/ Tue Dec 15 03:50:18 -0800 2009 fixed memleak [Patrick Stein]
directory Cocoa/ Wed Aug 26 02:31:11 -0700 2009 removed uneeded logs [Patrick Stein]
directory Examples/ Thu Apr 30 04:28:40 -0700 2009 fixed JNXPasswordExample to correctly call the ... [Patrick Stein]
directory Foundation/ Tue Dec 15 03:50:48 -0800 2009 changed to use NSEC_PER_SEC define [Patrick Stein]
directory JLog/ Thu Dec 10 07:10:27 -0800 2009 added DJLogC D2JLogC D3JLogC and D2JLOG D3JLOG ... [Patrick Stein]
file README Wed May 13 08:31:41 -0700 2009 added NSData+ZlibAddition category [Patrick Stein]
directory System/ Wed May 13 08:06:45 -0700 2009 fixed compiler warning [Patrick Stein]
directory XcodeScripts/ Fri Dec 04 08:15:13 -0800 2009 workaround for weird git bug which does not rec... [Patrick Stein]
directory iPhone/ Wed Jan 28 07:32:41 -0800 2009 added iPhone storyboard papers [Patrick Stein]
README
This is my git submodule of free stuff I use to develop on the Mac and iPhone with Xcode. Free means the MIT license. 
Beware that the rb.h and rb.c are licensed gnu as the are from libavl.

Regards Jolly aka Patrick

---
author of: ScreenRecycler, JollysFastVNC, SmartSleep, SmartSokoban and more.



============================================================
Directory Layout
============================================================

JLog/           Contains .pch file I include in all projects now. Debug logging as well as retain/release cycle logging.


Categories/ Categories I use - currently only contains one but I will add a few more over time
        NSThread_LeopardAdditions:  (BOOL)[NSThread  isMainThread] for Tiger/Leopard compiles.
  NSData+ZlibAddition:   zlib un/compression routines for NSData

Foundation/
    Queues  :   Contains different mulithreaded Queues i use
                MTQueue:            simple multithreaded Queue push and 
                                        - pop
                                        - popBeforeDate
                                        - popDoNotBlock
                                    are the main methods.
                                    
                DatedQueue:         uses a SortedArray inside and you can put stuff in to pop out at dates.
                                        push:withDate: meaning you get it out only when the time arrives

                AdvancedDatedQueue: uses a RedBlack tree you can add/remove stuff while waiting.

    RedBlackTree:   My implementation of a RedBlackTree. A RedBlack tree has search, insert, and delete in O(log n) 
    time.
    SortedArray:    A sorted array. You can set it to reevalute the array in case objects change their sorting 
    criterium.


Cocoa/
    CrashReporter:  Contains a Crashreporter that mails you the crashreport as well as the logfile.
            see Examples/PasswordPanel

    PasswordPanel:  Generates Passwordpanels with dynamic entries that are stored/retrieved from the keychain.
            see Examples/PasswordPanel

System/
    osversion:      simple c-function to return 0x  MAJORVERSION MINORVERSION PATCHLEVEL 0x100506 == 10.5.6

Examples/
    JNXPasswordPanel/ 
        Is a project on how to create a nice password panel with automatic access to the keychain from secondary 
        threads. This is used for JollysFastVNC's password panel.

        Showcase for:
         - JNXPasswordPanel
         - JNXCrashReporter
         - automated versionnumbering 
         - automated release notes and history
         - automated dmg build release process
         - automated Sparkle integration

XcodeScripts/
Contains the build scripts I use when building release versions of my software.