Add op= and swap to the list of overloadable operators in the spec

Mention that compound assignments can be overloaded in the Assignment
Statements section.  Mention that the swap operator can be overloaded in the
The Swap Statement section.  Add both to the list of operators in the Function
and Operator Overloading section.

I didn't include &&= or ||= in the list of overloadable operators because they
are not defined as operators and doing so would break their short-circuiting
evaluation.

[Reviewed by Sung]


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20630 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Removed 'Needs review' comment about subdomain values.

git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20631 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Change default stack size of MassiveThreads tasking layer from 32KB to 32K * sizeof(size_t) bytes

git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20632 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Replaced TABs with spaces

Unfortunately in this case, it doesn't make the code look all that
nice.  I'll check with Jun about what editor he's using and our
tab-check scripts.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20633 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Updating prerequisites to include 'bc'

Updating general prerequisites and Cygwin's specific package
lists to include 'bc', used for some time now to compute
SysCTypes.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20634 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Update comments in atomics primer and change compareExchange example

- Updated the comments in the primer to reflect new functionality

- Changed the compareExhange example to enable more reliable test
  results



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20635 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Committing some massivethreads text on Jun's behalf

Jun sent me this, I reviewed and am committing just to get it in
since it's probably the weekend there already.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20636 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Fix PREDIFF scripts for chpldoc tests

Remove the exact path from the comparison of the binary names for the
chpldoc tests.  This should fix a number of tests for the Mac.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20637 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Added a bug future on initializers for enumerated domains/subdomains having no effect

From the .future:

Apparently an enumerated domain variable starts out full,
whether it has an initializer or not.
If there is an initializer, it adds elements to an already full domain,
ending up still in a full domain, rather than in domain with only
those elements that are listed in the initializer.

While this is consistent in that an initializer is always
treated as a separate assignment, it is unintuitive for the programmer
and deserves a special treatment, or at least a compiler warning
to the effect that the initializer is ignored.


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20638 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Added a bug future on assignments from a tuple to an associative domain not clearing the domain first.

This is a generalization of enumerated-domain-initializer-1.future (r20638),
which I updated with a corresponding note.


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20639 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Changed --gen-extern-prototypes to be a developer option.

That is, made it not show in 'chpl --help' in non-developer
mode and removed it from the man page.


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20640 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
This is a patch to Qthreads to remove an earlier patch

When the new codegen back-end broke Qthreads, a proposed patch
was checked into Qthreads, but not Chapel due to wanting (and
eventually finding) a better solution.  This backs out the
qthreads patch and then re-runs autogen.sh (which is how qthreads
gets itself re-ready to configure).

Haven't tried building yet.  That's next.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20641 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Fix warnings about const char*-to-char* cast.

[reviewed by Brad]

I was seeing compiler warnings (errors) with
gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)

Cleans up some things that should be const char* anyway,
and replaces an astr that will subsequently be modified
with a strdup. That potentially will leak (future work -
figure out if it does or not - or call astr
on the broken up parts and free the strdup'd one).



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20642 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Fix QIO on Cygwin enough so that fileIO.chpl works

[reviewed by Brad]

This patch got fileIO.chpl to work for me on cygwin,
with uname -a 
CYGWIN_NT-6.1-WOW64 ... 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin

It provides a workaround for pread and preadv on Cygwin
returning error code 61 (ENODATA) if they try to read beyond
the end of a file. Arguably it's a Cygwin bug since pread and preadv
are supposed to return 0 in that case... but in case anybody
wanted to run Chapel on Cygwin we have this fix (which adds
a check under an #ifdef __CYGWIN__ )

Also added a comment about why mmap'd file tests probably will
fail on Cygwin - I believe that Windows will not allow a
file to be truncated while a memory map for it is still open.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20643 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Clean up errors due to gcc's -Werror=unused-but-set-variable

Newer gcc's (>4.6?) produced warnings due to variables that were set
but unused.  All but one of the cases were for variables used in LLVM
back end compilation, so those were simply #ifdef'ed out for standard
compilation.  The other looks like it was accidentally committed in
r20554 (bulk comm merge from branch).  I'm assuming this was
accidentally left over crud.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20644 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
TRIAGE updates.

Under "Problems analyzed and dispatched ...":
- Alphabetize the entries.
- Delete old items already done.
- Add new items for -Werror fallout and others.

Under "Unresolved failures ...":
- Alphabetize the entries.

Under "These things regularly cause noise ...":
- Update the RA entry with better analysis of cause.

Elsewhere:
- Update the entries for some other intermittent failures.
- Tidy up white space.


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20645 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Adding remaining Mac chpldoc failures to the REGRESSIONS file



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20646 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Rephrased the spec subsection on associative domains and some related definitions.

* Made the language more definitive.

* Removed some repetition.

* Brought some definitions in sync with the implementation.

* Removed discussions of the opaque type, as those belong elsewhere
(t.b.d.).

* Renamed "indices are ordered" to "domain defines the iteration order".

* Added a refernce to the section on adding and removing indices.


git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20647 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Further reverse patching of qthreads

I'm not sure why the previous reverse patching missed a few things,
but I think it did (#includes/patch-up in tasks-qthreads.c; -I
options in Makefile.inc).  This fixes those things and then runs
another autogen.sh command and commits the results.  Next step
is to test back on linux again.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20648 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Removing qthread 1.8.1

I couldn't get this to build.  The new features related
to detecting blocked tasks weren't building cleanly or
very portably for me.  Needs more time to be ready, I think.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@20649 3a8e244f-b0f2-452b-bcba-4c88e055c3ca