Tags: cztomczak/phpdesktop
Tags
Update to Chrome 130. CEF 130.1.16+g5a7e5ed+chromium-130.0.6723.117. Change default configuration to Release. Treat compile warnings as errors. Log versions at startup. Improve main.mm logic, copy from cefclient/cefsimple. To enable logging to terminal add switch in settings.json: "enable-logging": "stderr". This will remove file logging.
Disable GPU otherwise getting rendering issues with such errors in logs: SharedImageManager::ProduceMemory: Trying to Produce a Memory representation from a non-existent mailbox. Somehow even without --disable-gpu flag the GPU doesn't work. When launching chrome://gpu page Chrome shows that it doesn't use GPU.
47.5 RC. Issue #165. Option for Mongoose web server to listen on all … …IP addresses available. In settings.json set: "listen_on": ["*", 54007] - this will make web server to listen on 127.0.0.1 and on 192.168.0.x and also on a public internet ip address. During testing I only confirmed that it listened on local ip addresses (127.xxx and 192.xxx), I couldn't make it work for the internet ip address - not sure if this is an issue in Mongoose web server, or or my router's port forwarding wasn't configured properly. Note also that when listen_on is set to "*" then the SERVER_NAME environment variable will still be set to 127.0.0.1 - this may cause issues in PHP scripts that depend on that env variable. To fix it add this code at the top of all your PHP scripts: <?php $_SERVER["SERVER_NAME"] = $_SERVER["HTTP_HOST"]; ?> This will set SERVER_NAME to an ip address that the web server is being accessed from. For example when accessing from 127.0.0.1 it will be set to that. When accessing from 192.168.0.2 then it will be 192.xxx in that case.
Chrome 47.3 RC. Issue #178. Tray icon loaded image resource for each of Windows Message and these objects were never freed. This caused GDI objects peak at 10001 and FATAL in Chrome to inform about this resource leak. Call NotifyMoveOrResizeStarted() when moving/resizing window. This is required to notify <select> or other controls. Fixed WM_ERASEBKGND - should return 0. Added WM_PAINT with BeginPaint and EndPaint - because it exists in cefclient. Not sure why these calls are there, there is no actual painting being done. But let's mimic cefclient behavior just to be safe.
PreviousNext