Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-04MAINT: Update copyright to 2022Robert Adam
2021-03-02MAINT: Update copyright notice to 2021Robert Adam
This was done by running scripts/updateLicenseHeaders.py and then manually editing the LICENSE file.
2020-09-11FORMAT: Run clang-format 10 on all C/CXX source-filesRobert
2020-06-28REFAC(overlay): replace NULL with nullptrPopkornium18
This changes all occurances of NULL in the overlay source dir to nullptr. Additionally explicit comparisons with NULL were removed.
2020-01-07Auto-update LICENSE.header in source filesDavide Beatrici
2019-01-25Auto-update LICENSE.header in source filesDavide Beatrici
2018-01-02Auto-update LICENSE.header in source files.Mikkel Krautz
2017-07-13overlay: Use size_t as correct type for memory addressesJan Klass
Use correct types for handling pointer size/memory addresses. Make use of boost optional as GetFnOffsetInModules return type. The unsigned return type does not allow for negative error values anymore, which we did not make use of anyway, and optional is more explicit. Replaces workaround/error detection from the commits 114495e59f002531ac9bb02070a1bcbd6652669e a3e7958f1605339560679cbbd3a27de4fd12066c Fixes #1924
2017-07-13Remove type variable prefixJan Klass
2017-07-11Cast to correct API typesJan Klass
It is better to be explicit and API correct, even if the resulting types ended up to be the same through typedefs or the implementation reinterpret-casting to a memory address pointer.
2017-01-08Update tree copyrights to 2017.Mikkel Krautz
2016-08-21overlay: remove use of d3dx9, d3dx10 and d3dx11.Mikkel Krautz
2016-07-02overlay: optimize blit() to not perform a blit if the active item rect is empty.Mikkel Krautz
It seems that in EVE Online, if we update our overlay texture but do not draw to the screen, the texture mapping is never freed, until we begin drawing again. I do not know enough D3D11 to know why. Instead, this commit works around the issue by introducing a fully legal optimization to the blit() method: If the rect of active overlay elements is empty (that is, the screen is empty), do not perform a blit at all. The change also introduces an extra call to blit upon receiving OVERLAY_MSG_ACTIVE. That message is the message that signals that the rect of active elements has changed. We need to blit here to ensure we redraw correctly once the rect of active overlay elements changes. Fixes mumble-voip/mumble#1123
2016-05-10overlay: update to use LICENSE.header.Mikkel Krautz
2015-05-16Cleanup: Remove unused HooksKissaki
* For D3D10 and D3D11 the underlying DXGI provides the present and reset functions. Hence, those hooks are in dxgi.cpp rather than the respective d3d files. ** Remove unused hook variables
2014-01-11Overlay: Add Direct3D 11 supportKissaki
* Based on an initial patch by Benjamin Jemlich * Effects11 code based on changes by nyet
2013-12-06Logtextfix. Logically format code.Kissaki
* Fix log message text * Format injection code logically, consistent to overlay injection code.
2013-12-06Fix crash of target application due to failures in D10State::init.Stefan Hacker
Function didn't handle errors at all and did only very limited logging. This patch changes the function return type from void to bool and aborts in case of failure. Also logging was added for all such failures. To handle partially initialized object state the destructor was changed to NULL check pointers before dereferencing them. If a failure occurs the state block isn't used but destructed right away.
2013-11-25Overlay: Changes as per PR-commentsKissaki
* Use sizeof() rather then size constant where possible
2013-11-24Overlay: Changes as per PR-commentsKissaki
* Make cpp-local functions static so they are local file/translation unit scope. * Remove unused variables uiAudioCount and bVideoHooked * Comment extern declarations, where there definitions are located. * Improve constant naming JUMPOP_OFFSET => JMP_OP_SIZE. * Remove extern declaration from method definitions. * Adjust type declaration formatting to typical formatting. * Use voidFunc typedef to pass around function address pointers. ** C++-style casts instead of C-style raw casts. * Other minor formatting (/whitespace) adjustments * Fix log text. * Improve log text. * Consistent, improved varnaming in d3d9.cpp on address calculation; naming fn and base.
2013-11-22Overlay: Rework Code.Kissaki
* Separate DXGI logic from D3D10 into a separate file dxgi.cpp * Structure code and logic, introduce additional functions * Introduce constants * Code commenting * d3d9.cpp: ** Access devMap via std::find rather than operator[] ** Introduce class Stash to temporarily set variable value and revert on destruction ** Move logic to function findOriginalDevice ** Use widestring for modulename (consistency) ** Implement Hook for Direct3DCreate9Ex ** Move function IsFnInModule to common lib.cpp/.h * opengl.cpp: ** Add whitespace to format code ** Fix logging scope prefix ** Remove static global variable
2013-06-23Overlay: Less obtrusive logging.Kissaki
* Present, AddRef and Release calls are not useful most of the time. They were only logged in DEBUG builds, but as these methods are called very often heavily degrades performance. Add define-guards so when one actually wants to debug and see them he can enable them. Now, (normal) debug builds will not have the heavy performance loss any more.
2013-06-12refacs: more elaborative Varnaming; codeformattingKissaki
2013-06-12Extend Windows Overlay code and clean it up.Kissaki
Extend to handle library freeing. Codeformatting and -cleanup, robustness, and make debugoutput more consistent. * Indroduce hook for freeing loaded DLLs. This separates logic between loading and freeing, leading to adjustments to the recently introduced checks for freed DLLs. * In HardHook::reset() do a clean and complete reset rather than minimal. * Memvarinitialisation in HardHook * Remove logically unused variable bPresenting in d3d9.cpp (always false) * In d3d10.cpp prefix debugoutput with D3D10 consistently; no more DXGI which is ambiguous with a d3d11 file that also uses DXGI. * Consistently use ods instead of fods in the overlay files. Not in HardHook yet, as that class is used in the Mumble client as well atm * Fix forwarded return value types (LONG to ULONG) * TODOs for hook-call-logic in multiple places * Commenting, formatting and scope / order adjustments * Introduce variables with constant values (replacing magic/undescriptive constants/numbers)
2013-06-05Explicitly mark childmethods as virtualKissaki
* Mark the childmethods overwriting the virtual Pipe methods as virtual explicitly (effectively already were)
2013-06-05Reduce varscopes and improve debugtext.Kissaki
2012-10-24refacs; initialization, var-scope reduction, replace c-style casts, rm unusedKissaki
* DBus.h, AudioOutputSpeech.cpp: initialize uninitialized members, * d3d10.cpp: actually use assigned results for a dbg output * lib.cpp, link.cpp: c-style to c++-style casts * SpeexMark.cpp, ResampMark.cpp: rm unused var * AGC.cpp, ResampMark.cpp: rm unused var (ineffective return statement after prior return; thus removing unused code - but someone check if sth. was missed there)
2012-09-23Fix debug output for overlay chain noticeKissaki
The debug outputs were placed after the return statements, rendering them useless. Place them in front, so they are executed.
2011-05-14Fix use after delete in DX10 overlay codeBenjamin Jemlich
2011-03-18Update copyright year ranges of dev team.Thorvald Natvig
2011-03-04Add some comments to hooking codeStefan Hacker
2010-11-02Readd overlay hook on DLL_THREAD_ATTACHBenjamin Jemlich
2010-07-20Fix some gcc and cppcheck warningsBenjamin Jemlich
2010-04-29Transmit fps more often and represent them as floatStefan Hacker
2010-04-28Add an optional FPS counter to the overlayStefan Hacker
2010-03-01Use premultiplied alpha texturesThorvald Natvig
2010-02-02Indent, changelog, submodule and language updateThorvald Natvig
2010-02-02Windows XP doesn't have DXGI or D3D10Thorvald Natvig
2010-01-26Indent, changelog, submodule and language updateThorvald Natvig
2010-01-25Remove dependence on sm.sm from Win32 overlayThorvald Natvig
2010-01-24D3D9, D3D10 and OpenGL/Win32 pipe-based overlayThorvald Natvig
2010-01-05Update license to 2010Thorvald Natvig
2009-10-13Indent, changelog and submodule updateThorvald Natvig
2009-10-12Inproc draw for d3d10Thorvald Natvig
2009-09-21Indent, changelog and submodule updateThorvald Natvig
2009-09-21DX10 fullscreen texture testThorvald Natvig
2009-09-02Indent, changelog and submodule updateThorvald Natvig
2009-08-25Remove ods() for addref/release, impossible to run real apps with it onThorvald Natvig
2009-08-25Release heuristicThorvald Natvig
2009-08-25Include fxo binary in overlayThorvald Natvig