Open
Conversation
…or-prefixed names (#1) * Fixed method signature formatting to preserve accessor names * Update submodule URL for third_party/subhook to point to Dasharo mirror repository * Fix MethodInfo::name to detect getter/setter traits and return accessor-prefixed names * Removed spaces
* Perf/safety: optimize BinaryStream, memcpy-safe memory access, reduce lock contention * Perf: reuse buffers, safer memcpy access, clamp IPC copies * Perf: deduplicate masked BMH search * Perf/safety: optimize BinaryStream with memcpy-safe bulk access and reduced lock contention * Reverted: reuse buffers * Improved query memory performance and clean up allocation logic * Minor update: unify coding style * perf: cache AVM traits; fix IPC/string-safety & small optimizations * Added 'tools/' to include path to simplify headers
…ion (#4) * added build script * Clean build directory if flag is provided * Update dir detection and use relative paths * Implemented native X11 mouse control * Removed obsolete Flash/IPC mouse implementation * Refactor mouse event handling to ensure cursor movement before button events * Resolve browser client window via WM_STATE before sending X11 events. And added comments. * Refactored browser window visibility and mouse action handling to use unified function * Serialize postActions with blocking mutex; keep 5s batch timeout * Show red dot at the cursor position (useful for debugging) * Refactor mouse event functions to return void and simplify implementation * Fix parameter name * Refactored cursor marker to global namespace and state * Added cursor marker size/color vars and center offset * Decode packed params into explicit x/y + key fields * Unify and simplify shared utils logging/formatting helpers * refactor: split bot client helpers into window/mouse/cursor_marker namespaces * refactor(cursor_marker): hoist dot constants and derive offset from size * fix(mouse): correct event type assignment for X events * Added DarkBot Browser * build script for browser * Implement key event handling in Electron and update bot client commands * Updated browser title to include version * Refactored key handling and moved the batch processing of native actions * Enhance build process with argument parsing and add copy script for artifacts * Implemented pasteText method to handle text input with action execution * Minor update: refactored text input handling * Increased delay in handleText * Enable context isolation and disable node integration to avoid electron warning * Bump electron-builder to version 24.4.0 * Ensure is focused before send key events * Used to prevents unnecessary focus calls * Remove redundant window creation on Ctrl+N event * Merge browser build script into main * Fixed loader animation * fix: keep IPC protocol in sync and recover on Flash PID changes * fix: update clean script to check for browser build flag before cleaning browser output * replace process name constant with a direct string * enhance flash process detection by checking for ppapi in command line * Support multi-pattern FindProcsByName and remove CmdlineContains * refactor: streamline process handling and introduce Refresh method * fix: replaced SetFlashPid with reset to improved flash proccess handling * removed unnecessary focus for main window * Refactor text input handling to synchronous setTimeout instead of async/await * feat: add old_flash_pid to avoid reusing flash process after refresh * streamline recovery logic by always refreshing the browser rather than resetting IPC resources * Improve browser IPC and socket handling * feat: enhance IPC handling with non-blocking mode and improved refresh logic * refactor: simplify refresh logic by kill flash process. * ipc: add bidirectional ping‑pong heartbeat * feat: enhance browser visibility management and restore logic * feat: add browser window resizing capability and simplify command handling * fix: reduce heartbeat timeout and removed refresh from SendFlashCommand * First try flash IPC for mouse and key click * heartbeat: retry Refresh() twice before killing browser * refactor: streamline command handling and improve acknowledgment logic in browser IPC * removed heartbeat management code * refactor: simplify key focus logic and enhance mouse click handling with legacy support * refactor: update browser command handling to use JSON format * Added comment * Enhance bot client input handling with success returns * feat: implement PasteText method for thread-safe text pasting with actions * Refactor KeyClick flow: browser cmd first, fallback to legacy IPC * feat: add timestamp to browser command JSON for better tracking * Optimize browser command JSON builder and remove map-based params * First try legacy key click, works a bit better * Embed cursor marker into browser window
* Enhance browser launch checks and clean up debug code * Refactor logging mechanism to use utils::log for error messages and add timestamp initialization. Removed unused Mac/Win files. * Try chmod for browser binary * Added SHA256 validation for browser AppImage * implement browser log redirection in bot_client.cpp * Update API version to 8 and adjust browser launch parameters to include API version * Improve logging messages for library loading and unloading in do_lib_linux.cpp
#6) * Added CPU usage retrieval functionality and refactor memory usage code * Updated Readme
* Normalize CPU usage across all cores, include children CPU time, and fix sampling edge cases * Use --param=value launch args and simplify browser CLI parsing. * Bump version * Optimized browser log redirection * Updated window title format to use brackets for API version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.