summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-06-06Merge pull request #2549 from lioncash/headerZach Hilman
kernel/process: Remove unused boost header include
2019-06-06Merge pull request #2550 from lioncash/frontendZach Hilman
yuzu/CMakeLists: Pass compilation flags that make it more difficult to cause bugs in Qt code
2019-06-06Merge pull request #2551 from lioncash/dtorbunnei
service/ns: Add missing override specifiers
2019-06-05Merge pull request #2520 from ReinUsesLisp/vulkan-refreshbunnei
vk_device,vk_shader_decompiler: Miscellaneous changes
2019-06-05Merge pull request #2540 from ReinUsesLisp/remove-guest-positionbunnei
gl_shader_decompiler: Remove guest "position" varying
2019-06-05Merge pull request #2419 from DarkLordZach/srv-lr-ifacebunnei
lr: Add command handler skeletons for Open*LocationResolver
2019-06-05Merge pull request #2521 from lioncash/namingbunnei
yuzu/configuration: Make function naming consistent
2019-06-05Merge pull request #2512 from ReinUsesLisp/comp-indexingbunnei
gl_shader_decompiler: Pessimize uniform buffer access on AMD's prorpietary driver
2019-06-05service/ns: Add missing override specifiersLioncash
2019-06-05yuzu/CMakeLists: Disable implicit QString->QUrl conversionsLioncash
Enforces the use of the proper URL resolution functions. e.g. url = some_local_path_string; should actually be: url = QUrl::fromLocalPath(some_local_path_string); etc. This makes it harder to cause bugs when operating with both strings and URLs at the same time.
2019-06-05Merge pull request #2526 from lioncash/globalZach Hilman
core/telemetry_session: Remove usages of the global system accessor
2019-06-05Merge pull request #2545 from lioncash/timingZach Hilman
core/core_timing_util: Use std::chrono types for specifying time units
2019-06-05Merge pull request #2541 from lioncash/inputZach Hilman
input_common/sdl/sdl_impl: Minor cleanup
2019-06-05yuzu/CMakeLists: Disable unsafe overloads of QProcess' start() functionLioncash
Other overloads of start() are considerably much safer to use if we ever need this in the future and need to pass arguments to the program, given it contains separate parameters for the program path and the arguments themselves, whereas this unsafe overload contains both as a single string. Given the alternatives are much safer, we can disable this.
2019-06-05yuzu/CMakeLists: Disable implicit type narrowing in connect() callsLioncash
Prevents hard-to-diagnose bugs from potentially occurring and requires any type narrowing to be explicitly performed by our code.
2019-06-05yuzu/configuration: Make function naming consistentLioncash
2019-06-05Merge pull request #2510 from SciresM/desired_languageZach Hilman
Implement/Fix IApplicationFunctions::GetDesiredLanguage
2019-06-05Merge pull request #2527 from lioncash/indexZach Hilman
yuzu/{profile_select, software_keyboard}: Tidy up interface
2019-06-05Merge pull request #2534 from ReinUsesLisp/shader-cleanupZach Hilman
gl_shader_cache: Minor style changes
2019-06-05Merge pull request #2531 from ReinUsesLisp/qt-warningsZach Hilman
qt: Silence name collision warnings
2019-06-05Merge pull request #2515 from lioncash/narrowingZach Hilman
yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call
2019-06-05Merge pull request #2536 from lioncash/cacheZach Hilman
game_list_worker: Use QFile over our own IOFile instance or std streams for the game list cache
2019-06-05kernel/process: Remove unused boost header includeLioncash
Boost headers typically include a lot of other headers, so removing this can prevent a bit of unnecessary compiler churn when building.
2019-06-04Merge pull request #2529 from lioncash/bootRodrigo Locatti
yuzu/bootmanager: Minor interface tidying
2019-06-04core/core_timing_util: Amend casing of cyclesTo* functionsLioncash
Makes the casing consistent with all of our general function naming conventions.
2019-06-04core/core_timing_util: Use std::chrono types for specifying time unitsLioncash
Makes the interface more type-safe and consistent in terms of return values.
2019-06-04core/core_timing_utils: Simplify overload setLioncash
Removes unused overloads, simplifying the overall interface, deduplicating some code.
2019-06-04Merge pull request #2525 from FearlessTobi/remove-unused-settingsMat M
yuzu: Remove unused birthday setting
2019-06-04shader_bytecode: Mark EXIT as flow instructionFernando Sahmkow
2019-06-03input_common/sdl/sdl_impl: Correct logging string in SDLState constructorLioncash
If this path was ever taken, a runtime exception would occur due to the lack of a formatting specifier to insert the error code into the format string.
2019-06-03input_common/sdl/sdl_impl: Move documentation comments to header where ↵Lioncash
applicable Places the documentation comments with the rest of SDLState's member function documentation.
2019-06-03input_common/sdl/sdl_impl: Amend names for axes for SDLAnalogPollerLioncash
Adds another underscore to clearly indicate the axis names.
2019-06-03input_common/sdl/sdl_impl: Mark variables const where applicableLioncash
Make it explicit that these aren't modified elsewhere (either through functions by reference, or by other operations).
2019-06-03input_common/sdl/sdl_impl: Mark SDLEventToButtonParamPackage() as staticLioncash
Its prototype declared at the top of the translation unit contains the static qualifier, so the function itself should also contain it to make it a proper internally linked function.
2019-06-03input_common/sdl/sdl_impl: Convert reinterpret_cast into a static_castLioncash
It's valid to static_cast a void pointer back into its proper type.
2019-06-03input_common/sdl/sdl_impl: Use insert_or_assign() where applicableLioncash
Same behavior, but without a potential need to unnecessarily default construct a value.
2019-06-03input_common/sdl/sdl_impl: Simplify SDL_Joystick deleter handlingLioncash
The deleter can just be set in the constructor and maintained throughout the lifetime of the object. If a contained pointer is null, then the deleter won't execute, so this is safe to do. We don't need to swap it out with a version of a deleter that does nothing.
2019-06-03input_common/sdl/sdl_impl: Resolve two sign conversion warningsLioncash
Silences the final two warnings in SDL code.
2019-06-03input_common/sdl: Remove unused header includes and forward declarationsLioncash
Gets rid of a few unnecessary inclusion dependencies. It also uncovered a few indirect inclusion dependencies being relied upon.
2019-06-03input_common/sdl/sdl_impl: Use nested namespace specifiers where applicableLioncash
2019-06-03yuzu/bootmanager: Log out screenshot destination pathLioncash
We can make this message more meaningful by indicating the location the screenshot has been saved to. We can also log out whenever a screenshot could not be saved (e.g. due to filesystem permissions or some other reason).
2019-06-03yuzu/bootmanager: Treat the resolution factor as a u32Lioncash
Treating it as a u16 can result in a sign-conversion warning when performing arithmetic with it, as u16 promotes to an int when aritmetic is performed on it, not unsigned int. This also makes the interface more uniform, as the layout interface now operates on u32 across the board.
2019-06-03yuzu/bootmanager: Default EmuThread's destructor in the cpp fileLioncash
This class contains non-trivial members, so we should default the destructor's definition within the cpp file.
2019-06-03yuzu/bootmanager: unsigned -> u32Lioncash
Same thing (for platforms we support), less reading.
2019-06-03yuzu/bootmanager: Change false literal to 0 for setSwapInterval()Lioncash
This function is defined as taking an int, not a bool.
2019-06-03yuzu/bootmanager: Remove pointer downcast in GRenderWindow's constructorLioncash
We can just pass a pointer to GMainWindow directly and make it a requirement of the interface. This makes the interface a little safer, since this would technically otherwise allow any random QWidget to be the parent of a render window, downcasting it to GMainWindow (which is undefined behavior).
2019-06-03yuzu/bootmanager: Remove unnecessary pointer castsLioncash
We can just invoke these functions by qualifying the object name before the function.
2019-06-03gl_shader_decompiler: Remove guest "position" varyingReinUsesLisp
"position" was being written but not read anywhere besides geometry shaders, where it had the same value as gl_Position. This commit replaces "position" with gl_Position, reducing the complexity of our code and the emitted GLSL code.
2019-05-31input_common/sdl/sdl_impl: Silence sign conversion warningsLioncash
Makes the conversions explicit, as opposed to implicit.
2019-05-31common/math_util: Provide a template deduction guide for Common::RectangleLioncash
Allows for things such as: auto rect = Common::Rectangle{0, 0, 0, 0}; as opposed to being required to explicitly write out the underlying type, such as: auto rect = Common::Rectangle<int>{0, 0, 0, 0}; The only requirement for the deduction is that all constructor arguments be the same type.