Conditionally load the IDE init file in the delegate's
#/applicationDidFinishLaunching: method instead of in its
#/applicationWillFinishLaunching: method (which is called earlier);
the global NSApplication object may not be usefully initialized when
the earlier method is called.

Continue to call INIT-USER-INTERFACE - which doesn't depend on the
state of the NSApplication object - from
#/applicationWillFinishLaunching:, to ensure that the global
NSDocumentController object is an instance of our subclass.

Don't bother to call (or define) MAYBE-FIXUP-APPLICATION-MENU at all:
this was originally intended to replace instances of the IDE bundle name
(e.g., "Clozure CL64") with something more generic ("Clozure CL"), but it
never worked (did string comparisons with the wrong args and was generally
broken) and people have likely gotten accustomed to the current behavior.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15491 8bdb8f1d-59ce-db11-9e41-0016172a54ae
In REQUIRE-U64, extract the subtag into TEMP from the HEADER, not
from SRC.

Fixes ticket:1027 in the trunk.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15492 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Fix indentation for prog1 to match progn. Add prog2. Because somebody might care.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15493 8bdb8f1d-59ce-db11-9e41-0016172a54ae
SIGNAL-EXTERNAL-PROCESS now takes an :ERROR-IF-EXITED keyword
argument.  If attempting to signal the process fails because the PID
has already exited and ERROR-IF-EXITED is false, returns NIL rather
than signaling an error.  ERROR-IF-EXITED defaults to T (which is
backwards-compatible with traditional behavior); whether this case is
treated as an error or quietly ignored depends on application context.

Fixes ticket:1015 in the trunk; this change should be documented.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15494 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Inline ASH in more cases when the shift count isn't a constant,
specifically: 
  - when the result type is asserted to be a subtype of FIXNUM, the
    value being shifted is asserted to be a subtype of FIXNUM, and
    the shift count is asserted to be of an integer type whose bounds
    are less than the machine word size (e.g., (SIGNED-BYTE 5) on
    32-bit platforms.)
  - when the same constraints are true of the shift count and we know
    enough about the type of the value to know that the result will
    be a FIXNUM.

This doesn't depend on any new runtime support and should bootstrap
cleanly.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15495 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Update ASDF to version 2.26.  Update and rename README file.

See ticket:1028.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15496 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Document new :error-if-exited keyword argument to the
signal-external-process function.  See ticket:1015.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15497 8bdb8f1d-59ce-db11-9e41-0016172a54ae
updated

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15498 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Directory for documentation in TeX format.  Initial contents are a verbatim
copy of defun.tex extracted from:
http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/lang/lisp/doc/cltl/cltl_src.tgz



git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15499 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Try to clean up code which uses CMPXCHG: imm0 should contain the expected
value (which may or may not be the current value, as of a few cycles before
the CMPXCHG ...).  In general, we don't need or want to repeat the CMPXCHG
in order to do a conditional store (failures aren't transient).  In cases
where we repeat a CMPXCHG in a loop, ensure that the loop contains a PAUSE
instruction to work correctly with hyperthreading.

Change the x86 pc_luser_xp() to account for changes in
_SPstore_node_conditional and _SPset_hash_key_conditional.

Introduce a WITH-EXCEPTION-LOCK macro; refactor
%LOCK-RECURSIVE-LOCK-OBJECT and friends so that we can lock/unlock a
kernel lock (with no lisp LOCK object around it) without having to
call into the kernel.  RECURSIVE-LOCK-WHOSTATE allows its argument to
be a string.  (WITH-EXCEPTION-LOCK isn't used anywhere yet; it may be
a better alternative to things like WITHOUT-GCING, where (a) it's
preferable to delay exception handing in other threads than to let
the heap grow and (b) the body is short and doesn't try to grab other
locks.)

This is all intended to fix ticket:1030 in the trunk.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15500 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Use gui::*lisp-double-comment-color* (defaults to (#/orangeColor ns:ns-color))
to color ;-comments with exactly 2 leading semicolons; 
use gui::*lisp-triple-comment-color* (defaults to (#/redColor ns:ns-color))
to color comments with 3 or more leading semicolons.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15501 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Typo in comment.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15502 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Don't (briefly) start the event loop when building the standalone Cocoa
IDE (via (REQUIRE "COCOA-APPLICATION")), because:

 - there have been some problems with doing so in the past (e.g., Cocoa
   libraries trying to parse CCL command-line args.)
 - this may be related to a problem we're seeing in a project for a customer.
 - it's hard to think of a good reason to do so.


cocoa-ide/cocoa.lisp: call (GUI::START-COCOA-IDE) after everything's loaded.

cocoa-ide/start.iisp: in TOPEVEL-FUNCTION on COCOA-IDE, ensure that the
 initial thread is of class APPKIT-PROCESS.
Don't wait for the semaphore in BUILD-IDE.
Don't call START-COCOA-IDE when this file is loaded.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15503 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Fix lock-free hash table handling of the partially-inserted state, and took out gc handling of the partially-deleted state.  Bumped image version because kernel and runtime changes need to match.  This fixes ticket #993, hopefully without breaking much of anything else.

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15504 8bdb8f1d-59ce-db11-9e41-0016172a54ae
fix warning

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15505 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Fix lock-free-count-entries

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15508 8bdb8f1d-59ce-db11-9e41-0016172a54ae
In last clause of ACODE-OPTIMIZE-ASH, don't assume that types are
canonicalized as NUMERIC-CTYPEs.  For now, punt if they aren't.
TODO: find maximum/minimum values for tother cases.

Fixes ticket:1031.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15517 8bdb8f1d-59ce-db11-9e41-0016172a54ae
In X862-TYPECHECKED-FORM, don't typecheck constants that're of the
proper type.

See ticket:638.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15518 8bdb8f1d-59ce-db11-9e41-0016172a54ae
POPJ vinsn pops from :VSP.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15519 8bdb8f1d-59ce-db11-9e41-0016172a54ae