Eugene Yokota
4258189951
added scalariform
2014-05-01 12:50:07 -04:00
Bruno Bieth
9fefc18e2d
avoid deadlock in ConsoleOut.systemOutOverwrite
...
System.out can be reset after being captured by `val lockObject`.
Then locking `lockObject` and calling `println()` could lead to a
deadlock.
2013-11-01 13:27:23 -04:00
Mark Harrah
cb7c12a4ad
Transfer logging,trace levels from old to new global loggers.
2013-10-24 16:34:16 -04:00
Mark Harrah
5ac9390be6
TrapExit support for multiple, concurrent managed applications. Fixes #831 .
2013-10-02 09:13:45 -04:00
James Roper
a3a3dc1226
String upper/lower case no longer locale dependent
...
Fixed many instances of the Turkish i bug.
Spare a thought for the poor Turks!
2013-09-24 08:14:15 -04:00
Mark Harrah
3781820dda
init/restore instead of setEchoEnabled in order to handle full jline customizations. Fixes #822 .
2013-07-19 20:03:06 -04:00
Mark Harrah
e805eb919d
Provide a better error message when an older launcher is used with 0.13 and JLine classes are incompatible.
2013-07-08 18:42:00 -04:00
Mark Harrah
033fd23314
Logger.Null that discards logged messages
2013-03-13 12:40:03 -04:00
Alex Dupre
ae3690676e
Switch from JLine 1.0 to 2.10.
2013-02-26 07:39:33 -05:00
Mark Harrah
3b93691476
Move GlobalLogBacking.newLogger to GlobalLogging to make the role of GlobalLogBacking clearer.
2013-02-25 09:24:05 -05:00
Mark Harrah
1aacd4b86d
make GlobalLogging.backed less specific: AbstractLogger is fine
2013-02-25 09:24:05 -05:00
Mark Harrah
67010fa0b2
Split ConsoleOut into its own file, track the global ConsoleOut and use it instead of StandardMain.console
2013-02-25 09:24:04 -05:00
Paolo G. Giarrusso
e5673f7426
Silence boring Eclipse warnings: catching all exceptions
...
Here I make explicit where catching all exceptions is intended.
Mark Harrah corrected one decision during review.
2013-01-22 09:05:15 -05:00
Grzegorz Kossakowski
6c5e4ae21c
Follow source layout convention supported by Eclipse.
...
Moved source files so directory structure follow package
structure. That makes it possible to use Scala Eclipse plugin
with sbt's source code.
2012-12-07 10:27:08 -08:00
Mark Harrah
d17de8e83a
back all ConsoleLoggers by a common ConsoleOut
...
The common ConsoleOut merges (overwrites) consecutive Resolving xxxx ... lines
when ansi codes are enabled.
2012-09-01 09:56:09 -04:00
Mark Harrah
4e574d0df3
better handling of multi-loggers with mixed escape sequence support
...
* multi-logger supports ansi escapes if at least one logger support them
* escape sequences removed from strings for loggers without escape support
2012-07-01 15:16:41 -04:00
Mark Harrah
1f9433f175
Second try at printing message when stack trace suppressed.
...
Problems:
1. Without a message, users don't find 'last'
2. Showing a message for every error clutters output.
This tries to address these issues by:
1. Only showing the message when other feedback has not been provided and
'last' would not usually be helpful. This will require ongoing tweaking.
For now, all commands except 'compile' display the message. 'update' could
omit the message as well, but perhaps knowing about 'last' might be
useful there.
2. Including the exact command to show the output:
last test:compile
and not just
last <task>
3. Highlighting the command in blue for visibility as an experiment.
Review by @ijuma and @retronym, please.
2012-05-19 18:20:19 -04:00
Mark Harrah
eec347e2dd
ensure enableEcho called after jline.Terminal.getTerminal. fixes #460
2012-05-19 18:20:19 -04:00
Mark Harrah
05fb991488
move to revised warning interface in the compiler
2012-05-06 14:15:03 -04:00
Mark Harrah
474cd75d06
print-warnings task for Scala 2.10+ to avoid needing to rerun 'compile' to see deprecation/unchecked warnings
2012-03-17 19:31:55 -04:00
Mark Harrah
4945534614
split command core to main/command/
2012-01-29 14:36:27 -05:00
Mark Harrah
8beb823a9b
cleanup, add regex for escape sequences to be used later
2011-10-30 18:39:18 -04:00
Mark Harrah
8d778b72ed
part II of fix for #90
2011-07-09 16:54:41 -04:00
Mark Harrah
9578ed3db0
move locks test to scripted tests
2011-06-26 12:27:06 -04:00
Mark Harrah
5c8d619880
apply javac log level approach to directJavac
2011-06-26 12:27:06 -04:00
Mark Harrah
2b6d5c1316
add extraLoggers to make it easier to add loggers
2011-06-22 19:17:10 -04:00
Mark Harrah
8c89a8b137
honor formatEnabled setting, fixes #48
2011-06-10 08:08:51 -04:00
Mark Harrah
e702de0fe3
fixes #23
2011-05-23 18:40:03 -04:00
Mark Harrah
3cc8c52dea
build sxr, api docs and use sbinary 0.4.0
2011-05-17 20:09:20 -04:00
Mark Harrah
c53c94c72a
logging cleanup
2011-05-07 22:02:06 -04:00
Mark Harrah
c9f8d70ee5
command logging through Streams, 'last' without a key to redisplay it
2011-03-21 20:26:04 -04:00
Mark Harrah
93b13e80b7
success indication and timestamps for actions
2011-03-06 21:57:31 -05:00
Mark Harrah
1cd848cd9b
introduce sbt.log.format for explicit formatting control
...
implements issue #134
if true, formatting enabled
if false, formatting disabled
if unset, formatting configured as before
sbt.log.noformat is no longer recommended, but is supported:
a. setting it to 'true' explicitly disables formatting
b. if 'false' or unspecified, autodetection is used
c. sbt.log.format takes precedence if defined
2010-12-02 19:18:08 -05:00
Mark Harrah
0425532275
fix tests, discovery
...
updated compile tests for new minimal AnalysisCallback
moved discovery to discovery/ subproject and updated for new approach
fixed discovery to only find public methods when searching for annotated definitions
extracting inherited definitions unimplemented in api/, so some discovery tests fail
moved discovery classes from sbt.inc package to sbt.compile
2010-10-06 08:24:13 -04:00
Mark Harrah
5a71431031
add conversion from xsbti.Logger to sbt.Logger
2010-09-27 18:51:35 -04:00
Mark Harrah
58d7de7237
rework ConsoleLogger
...
can send output to a PrintWriter
control over color, still need custom formatter
replace IvyLogger with normal Logger
2010-09-04 08:24:26 -04:00
Mark Harrah
d12adcd7ae
fix Logger/Process
2010-08-22 19:07:46 -04:00
Mark Harrah
48d5ec5da4
clean up Process subproject
...
no longer has any dependencies
small ProcessLogger interface to send buffered out/err to
commented out (but working) implicit conversions from Logger -> ProcessLogger
for use in an integrating project to get original functionality
2010-08-21 22:49:11 -04:00
Mark Harrah
384924691b
unnecessary import in BufferedLogger
2010-07-19 12:32:13 -04:00
Mark Harrah
5cd6ef268c
- Stuart's improvements to triggered execution
...
- continue splitting original sbt module
* separated process, testing modules
* various IO, logging, classpath migration
* split out javac interface
2010-07-05 12:53:37 -04:00
Mark Harrah
64b19286ee
more reorganization, mostly IO. Also, move class file analyzer and history code to separate projects
2010-06-13 22:59:29 -04:00
Mark Harrah
b54b8fb348
more fixes
2010-06-10 22:47:04 -04:00
Mark Harrah
20935b98fa
Merge branch '0.9' of github.com:harrah/xsbt into 0.9
2010-06-10 21:34:13 -04:00
Mark Harrah
e02adb0694
first round of logger cleanup/migration
2010-06-10 21:26:27 -04:00
Mark Harrah
3033bfec44
move StackTrace to util/log
2010-06-10 21:08:01 -04:00
Mark Harrah
a293916e46
legal cleanup
2010-02-07 23:45:19 -05:00
Mark Harrah
3aba701b00
Filling in logging and making cross-compile work.
2009-09-05 12:19:34 -04:00
Mark Harrah
f83d59b8cc
Initial xsbt commit
2009-08-16 14:29:08 -04:00