aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-02-23Fix problem with large fun environment being copied unnecessarilyPeter Andersson
2012-02-23Merge branch 'sverk/ets-compress-bug' into maintSverker Eriksson
* sverk/ets-compress-bug: erts: Fail binary_to_term if bignum arity is too large erts: Fix bignum-bug in ETS with compressed option OTP-9932
2012-02-22Review by Kostis Sagonas and fixesStavros Aronis
2012-02-22Simplify external vs bad calls checkStavros Aronis
2012-02-22Remove callgraph from the state used during solvingStavros Aronis
2012-02-22Refactorings in dialyzer_typesigStavros Aronis
2012-02-22Avoid unnecessary passing of huge terms in some closuresStavros Aronis
The relevant terms were instances of Dialyzer's typesig analysis state that were stored together with some "dynamic" constraints in a dict. Due to sharing this was not apparent until we tried to copy the dictionary. Initial debugging was by Björn Gustavsson.
2012-02-22Further simplificationsStavros Aronis
2012-02-22Remove redundant codeStavros Aronis
2012-02-22Simplify dialyzer_succ_typings codeStavros Aronis
2012-02-22Cleanups in dialyzer_callgraph and dialyzer_dataflowStavros Aronis
Refactorings, code movements and reflection of mutable variables in the code.
2012-02-22Zero-arity unused functions Dialyzer patchStavros Aronis
Dialyzer was not reporting unused functions with 0 arity. This was not a real issue, until we found out that there could be cases where this could lead to false warnings. This was the case in "no_local_return.erl".
2012-02-22Cleanup debug messages in dialyzer_dataflowStavros Aronis
2012-02-22Refactorings in dialyzer_analysis_callgraphStavros Aronis
2012-02-22Allow t_opaque_structure to handle multiple opaque typesStavros Aronis
2012-02-22Support alternative spelling of behaviourStavros Aronis
2012-02-22Refactor function selection by Dialyzer's codeserverStavros Aronis
2012-02-22Prettify specStavros Aronis
2012-02-22Small fixes for Dialyzer's testsuites generationStavros Aronis
2012-02-22Merge branch 'tst/no_hipe_ceach' into maintGustav Simonsson
* tst/no_hipe_ceach: Remove hipe_ceach from hipe.app.src to fix reltool-generated release startup OTP-9939
2012-02-22* jv/on_load_docs:Gustav Simonsson
Fix a typo on documentation. desciption -> description. OTP-9937
2012-02-22Merge branch 'jv/on_load_docs' into maintGustav Simonsson
2012-02-22[wx] Fix spec errorsDan Gudmundsson
2012-02-21Fix implementation with ddrb barriersRickard Green
2012-02-21Implement asynchronous call to print to test case log filePeter Andersson
In order to avoid possible deadlock when the cth_log_redirect hook prints via ct_logs to the test case log file, the print call must be made by a separate (temporary) process, instead of ct_logs.
2012-02-21Merge branch 'rj/add-space-spec_proc-doc' into maintGustav Simonsson
2012-02-21Merge branch 'ks/compile_info-fix' into maintGustav Simonsson
* ks/compile_info-fix: compiler: Fix discrepancy in compile_info OTP-9917
2012-02-21[observer] Windows double buffer fixesDan Gudmundsson
DC's and GC's is not double buffered by default on windows, and there is a separate erase event which causes awful flickering when constant updating a window. Hack around wx (to be able to use wxBufferPaintDC), to avoid flickering on windows. This works on windows because there (and only there) wxGC:create/1 also takes a memoryDC as argument.
2012-02-21[observer] Add fallback drawing to raster api (wxDC)Dan Gudmundsson
Sigh, seems that Suse-11 does not default deliver wxWidgets with wxGRAPHICS_CONTEXT enabled, add fallback to use wxDC again.
2012-02-21[observer] Use wxGC for drawingDan Gudmundsson
2012-02-21[observer] Mac workaroundDan Gudmundsson
2012-02-21[observer] Fix crash when loosing connectionsDan Gudmundsson
2012-02-21[observer] Move data collector to run_time toolsDan Gudmundsson
2012-02-21[observer] Use new scheduler_wall_time measurmentDan Gudmundsson
2012-02-21[observer] Add performance monitorDan Gudmundsson
2012-02-21[observer] Started with system monitorDan Gudmundsson
2012-02-21erts: Fail binary_to_term if bignum arity is too largeSverker Eriksson
2012-02-21erts: Fix bignum-bug in ETS with compressed optionSverker Eriksson
A large 64-bit immediate number will be stored as SMALL_BIG_EXT by ETS compressed format. When uncompressing, the SMALL_BIG_EXT was first decoded as as bignum (by bytes_to_big) and then turned into a small (by big_norm). This works for normal "binary_to_term" as decoded_size() over-estimates the needed heap size. But for ETS no over-estimation is done as the real term size is known and stored in DbTerm. Fixed by preventing bytes_to_big() from writing bignum digit when the number is seen to fit in an immediate.
2012-02-21Added checks of API inputIngela Anderton Andin
2012-02-20Improve check so that we will not try to read ssh packet length indicator if ↵Ingela Anderton Andin
not sure we have enough data. OTP-8380
2012-02-20Fix a typo on documentation. desciption -> description.José Valim
2012-02-20Mention on_load on module attributes section.José Valim
2012-02-20Fix discrepancy in compile_infoKostis Sagonas
The BEAM disassembler used the atom 'none' to signify the absence of a compile_info chunk in a .beam file. This clashes with the type declaration of the compile_info field of a #beam_file{} record as containing a list. Use [] to signify the absence of this chunk. This simplifies the code and avoids a dialyzer warning. For fixing a similar problem and for consistency, changed also the return type of the attributes field of the #beam_file{} record. This required a change in the beam_disasm test suite.
2012-02-20Merge branch 'rickard/barriers/OTP-9922' into maintRickard Green
* rickard/barriers/OTP-9922: Reduce thread progress read operations in handle_aux_work() Misc memory barrier fixes
2012-02-20[wx] Fix api bugs in wxDCDan Gudmundsson
Some out arguments was in args.
2012-02-19Reduce thread progress read operations in handle_aux_work()Rickard Green
2012-02-19Misc memory barrier fixesRickard Green
- Document barrier semantics - Introduce ddrb suffix on atomic ops - Barrier macros for both non-SMP and SMP case - Make the thread progress API a bit more intuitive
2012-02-17Document currently supported algorithmsIngela Anderton Andin
2012-02-17Improved error handlingIngela Anderton Andin
2012-02-17[wx] Fix wxGraphicContext bugsDan Gudmundsson
* Lines had wrong arguments * Change float() to number in guards, when packing arguments integers are converted floats to automaticly anyway.