jacob1
596e6cece1
Add DECOSPACE_ constants
2024-03-13 21:22:12 -04:00
jacob1
3a3a8c1cc3
Fix save history button not working except on your own saves
2024-03-06 23:11:00 -05:00
Tamás Bálint Misius
7cd684ccfe
Unhardcode powdertoy.co.uk from most places
...
Namely, everywhere except in the network part (first line) of the intro text, since that should be customized more extensively by a client+server developer.
2024-03-06 22:03:51 +01:00
Tamás Bálint Misius
82bcb0ef9e
Fix element buttons missing from element search
...
Visible since c3cd4f1691
, which made element search scrollable.
The last row of buttons was only shown if it had exactly as many buttons as many fit.
2024-03-05 16:10:07 +01:00
Tamás Bálint Misius
c85ebe4a0a
Fix tooltips in element search
...
Visible since c3cd4f1691
, which made element search scrollable.
They would behave as if the scroll panel was never actually scrolled, i.e. tooltips might be shown that belonged to buttons far outside the visible part of the panel's inner area. This was because Panel invoked the OnMouseHover of its children wrong, without taking scrolling into account.
2024-03-05 16:09:34 +01:00
Tamás Bálint Misius
ab28f93753
Fix sliders accepting clicks from anywhere
...
Broken by 69e0a8b0aa
where I added an extra MouseDownInside check to the OnMouseDown (used to be OnMouseClick) of every component except that of sliders.
2024-03-03 19:35:12 +01:00
Tamás Bálint Misius
ef308c1e48
Fix crash if tpt.installScriptManager fails
...
In which case the request completion handler code neglected to reset the unique_ptr holding the request.
2024-02-29 19:04:02 +01:00
jacob1
0310ac08a8
Fix potential crash when sparking ETRD
2024-02-23 10:20:39 -05:00
jacob1
ea7cd41975
compat.lua: Fix tpt.brushx, tpt.brushy, and tpt.watertest
2024-02-19 22:27:19 -05:00
jacob1
f4b836deb1
draw air before "beforesimdraw" event is fired, so that graphics work in velocity / pressure display modes
2024-02-09 23:37:12 -05:00
jacob1
a250894a12
update error message when starting font editor with no arguments
2024-02-09 23:37:11 -05:00
Tamás Bálint Misius
c3cd4f1691
Make element search scrollable
...
But this is very buggy, ToolButtons don't lose their hover state when they get scrolled out from under the cursor and the scroll bar ignores clicks if they land on a component under it.
2024-02-06 14:56:53 +01:00
Tamás Bálint Misius
e6e36a6b7c
Fix OnMouseEnter/Leave inside Panels
...
Also remove OnMouseMovedInside and the dx and dy parameters of OnMouseMoved because nothing used these for anything.
2024-02-06 14:56:53 +01:00
Tamás Bálint Misius
588fe293ec
Add panning to ScrollPanel when TouchUI is enabled
2024-02-06 14:28:59 +01:00
Tamás Bálint Misius
69e0a8b0aa
Clean up OnMouseClick/Unclick madness
...
This is a prerequisite for making ScrollPanel work nicely on touch screens.
Engine used the terms MouseClick and MouseUnclick to refer to events that are traditionally called MouseDown and MouseUp, this was fixed with simple renaming.
Component and friends similarly used the terms MouseClick and MouseUnclick to refer to events that are traditionally called MouseDown and MouseUp and, succumbing to their own confusing terminology, also implemented behaviours associated with both the actual events MouseDown and MouseClick in code that was responsible for handling only the actual event MouseDown (i.e. what they called MouseClick).
This had been overlooked for a long time because nobody cares that a checkbox changes state when the mouse button is pressed on it rather than when it is released.
The fix is to migrate many pieces of code that run in response to MouseDown events, such as checkbox state change code, to MouseClick events, and to redefine a MouseClick to mean a sequence of MouseDown and MouseUp inside the component, rather than just a MouseDown. This is complicated by the fact that MouseClick events report mouse coordinates relative to the top left corner of the component, while MouseDown events report them relative to the top left corner of the container of the component.
Other pieces of code that make sense to be run in response to MouseDown events, such as label selection code, were left alone.
2024-02-06 13:25:53 +01:00
Tamás Bálint Misius
ae07c55f4d
Add some sign api constants
2024-01-27 19:19:56 +01:00
Tamás Bálint Misius
7a10847780
Eliminate polymorphism from the CommandInterface hierarchy
...
This is similar to what I did to Gravity in 9068920de3
. The idea is that we can choose between the implementations at compile time.
2024-01-24 18:49:34 +01:00
Tamás Bálint Misius
d87130bd66
Remove TPTScriptInterface
...
It was an unnecessary level in the CommandInterface hierarchy.
2024-01-24 18:09:29 +01:00
Tamás Bálint Misius
1cb8f0378f
Organize Lua API into multiple TUs
2024-01-24 11:28:27 +01:00
Tamás Bálint Misius
2a43e8aef0
Fix a deprecation warning about std::result_of_t
...
We still have one about std::char_traits<unsigned char> (indirectly through std::basic_string_view) though, but our lord and savouir mniip said we can migrate off of it once we're c++20.
2024-01-21 19:39:47 +01:00
Tamás Bálint Misius
452b553350
Fix various warnings that had piled up
2024-01-21 12:46:04 +01:00
Tamás Bálint Misius
8e6faddd2f
Sanitize the Lua API
...
Mostly in terms of consistency of spelling (o/ou, z/s, upper/lowercase), placement (which table a function/variable is in), and getter/setter functionality (a ton of settings weren't possible to query). All of this is done, or at least is intended to be done, in a backwards-compatible manner; code that worked without errors in 97.0 should work correctly from now on also.
Also punt off duplicated and deprecated features to eventcompat.lua, renamed to just compat.lua, where they are more concisely implemented and more maintainable than on the C++ side.
Note that this means that functionality added since 97.0 is not necessarily preserved, and also that code that worked with errors may or may not keep working with errors, and it highly likely will not produce the same errors. In the future, errors coming from compat.lua should be attempted to be resolved first and foremost by migrating user code to new APIs.
List of notable, included, but not entirely relevant changes, which should probably have been done in separate commits:
- add an enum for simulation deco spaces, there still are a few things that need such enums though
- move clamping to Brush::SetRadius, meaning that nothing can set bogus brush sizes from now on, not even Lua
- have LuaLuna install constructor functions in the interface table, rather than pollute _G with equivalent callable tables
The old APIs now work in accordance with existing documentation on the Wiki, though they retain weird unintended behaviour, such as accepting fewer arguments than documented. I also intend to give new APIs a thorough look later, and possibly organize C++-side code into separate TUs based on which API table it implements.
A list list of API changes follows. "status" is to be interpreted thus:
- added: new API, the "related" API may be the limited functionality deprecated equivalent the new one is meant to extend
- deprecated: retained for compatibility (see above), implemented in compat.lua via the "related" API, possibly meant to be removed from existing documentation, or at least very visibly marked deprecated
- aliases: retained for compatibility (see above), implemented in compat.lua as an alias to the "related" API, possibly meant to be removed from existing documentation, or at least very visibly marked deprecated
- renamed: not retained for compatibility because it was added after 97.0, the replacement is the "related" API
- removed: no replacement available, see "note" for reason
- unchanged: unchanged but noteworthy
name | status | related | note
---------------------------|------------|-------------------------|--------------
Button | deprecated | ui.button |
Checkbox | deprecated | ui.checkbox |
Label | deprecated | ui.label |
ProgressBar | deprecated | ui.progressBar |
Slider | deprecated | ui.slider |
Textbox | deprecated | ui.textbox |
Window | deprecated | ui.window |
bz2.COMPRESS_LIMIT | added | bz2.compressLimit | identical
bz2.COMPRESS_NOMEM | added | bz2.compressNomem | identical
bz2.DECOMPRESS_BAD | added | bz2.decompressBad | identical
bz2.DECOMPRESS_EOF | added | bz2.decompressEof | identical
bz2.DECOMPRESS_LIMIT | added | bz2.decompressLimit | identical
bz2.DECOMPRESS_NOMEM | added | bz2.decompressNomem | identical
bz2.DECOMPRESS_TYPE | added | bz2.decompressType | identical
bz2.compressLimit | deprecated | bz2.COMPRESS_NOMEM |
bz2.compressNomem | deprecated | bz2.COMPRESS_LIMIT |
bz2.compressOk | removed | | bz2.compress never actually returned this
bz2.decompressBad | deprecated | bz2.DECOMPRESS_NOMEM |
bz2.decompressEof | deprecated | bz2.DECOMPRESS_LIMIT |
bz2.decompressLimit | deprecated | bz2.DECOMPRESS_TYPE |
bz2.decompressNomem | deprecated | bz2.DECOMPRESS_BAD |
bz2.decompressOk | removed | | bz2.decompress never actually returned this
bz2.decompressType | deprecated | bz2.DECOMPRESS_EOF |
elem.FLAG_MOVABLE | deprecated | sim.FLAG_MOVABLE |
elem.FLAG_PHOTDECO | deprecated | sim.FLAG_PHOTDECO |
elem.FLAG_SKIPMOVE | deprecated | sim.FLAG_SKIPMOVE |
elem.FLAG_STAGNANT | deprecated | sim.FLAG_STAGNANT |
elem.PROP_DRAWONCTYPE | deprecated | 0 |
elem.ST_GAS | deprecated | 0 |
elem.ST_LIQUID | deprecated | 0 |
elem.ST_NONE | deprecated | 0 |
elem.ST_SOLID | deprecated | 0 |
elem.getByName | added | tpt.element | only converts names to IDs
evt.AFTERSIM | added | evt.aftersim | identical
evt.AFTERSIMDRAW | added | evt.aftersimdraw | identical
evt.BEFORESIM | added | evt.beforesim | identical
evt.BEFORESIMDRAW | added | evt.beforesimdraw | identical
evt.BLUR | added | evt.blur | identical
evt.CLOSE | added | evt.close | identical
evt.KEYPRESS | added | evt.keypress | identical
evt.KEYRELEASE | added | evt.keyrelease | identical
evt.MOUSEDOWN | added | evt.mousedown | identical
evt.MOUSEMOVE | added | evt.mousemove | identical
evt.MOUSEUP | added | evt.mouseup | identical
evt.MOUSEWHEEL | added | evt.mousewheel | identical
evt.TEXTEDITING | added | evt.textediting | identical
evt.TEXTINPUT | added | evt.textinput | identical
evt.TICK | added | evt.tick | identical
evt.aftersim | deprecated | evt.AFTERSIM |
evt.aftersimdraw | deprecated | evt.AFTERSIMDRAW |
evt.beforesim | deprecated | evt.BEFORESIM |
evt.beforesimdraw | deprecated | evt.BEFORESIMDRAW |
evt.blur | deprecated | evt.BLUR |
evt.close | deprecated | evt.CLOSE |
evt.getModifiers | added | evt.getmodifiers | identical
evt.getmodifiers | deprecated | evt.getModifiers |
evt.keypress | deprecated | evt.KEYPRESS |
evt.keyrelease | deprecated | evt.KEYRELEASE |
evt.mousedown | deprecated | evt.MOUSEDOWN |
evt.mousemove | deprecated | evt.MOUSEMOVE |
evt.mouseup | deprecated | evt.MOUSEUP |
evt.mousewheel | deprecated | evt.MOUSEWHEEL |
evt.textediting | deprecated | evt.TEXTEDITING |
evt.textinput | deprecated | evt.TEXTINPUT |
evt.tick | deprecated | evt.TICK |
ren.FIRE_SPARK | added | | was missing
ren.colourMode | deprecated | ren.colorMode |
ren.debugHUD | deprecated | ren.debugHud |
ren.decorations | added | tpt.decorations_enable | works with booleans
ren.fireSize | added | tpt.setfire | also a getter, takes intensity only
ren.hud | added | tpt.hud | works with booleans
ren.useDisplayPreset | added | tpt.display_mode | identical
sim.AIR_NOUPDATE | added | sim.AIR_NO_UPDATE | identical
sim.AIR_NO_UPDATE | renamed | sim.AIR_NOUPDATE |
sim.AIR_PRESSUREOFF | added | sim.AIR_PRESSURE_OFF | identical
sim.AIR_PRESSURE_OFF | renamed | sim.AIR_PRESSUREOFF |
sim.AIR_VELOCITYOFF | added | sim.AIR_VELOCITY_OFF | identical
sim.AIR_VELOCITY_OFF | renamed | sim.AIR_VELOCITYOFF |
sim.BRUSH_CIRCLE | added | sim.CIRCLE_BRUSH | identical
sim.BRUSH_NUM | renamed | sim.NUM_DEFAULTBRUSHES |
sim.BRUSH_SQUARE | added | sim.SQUARE_BRUSH | identical
sim.BRUSH_TRIANGLE | added | sim.TRI_BRUSH | identical
sim.CIRCLE_BRUSH | renamed | sim.BRUSH_CIRCLE |
sim.FLAG_MOVABLE | added | elem.FLAG_MOVABLE | identical
sim.FLAG_PHOTDECO | added | elem.FLAG_PHOTDECO | identical
sim.FLAG_SKIPMOVE | added | elem.FLAG_SKIPMOVE | identical
sim.FLAG_STAGNANT | added | elem.FLAG_STAGNANT | identical
sim.MAX_PARTS | added | sim.NPART | identical
sim.NPART | renamed | sim.MAX_PARTS |
sim.NUM_AIRMODES | added | sim.NUM_AIR_MODES | identical
sim.NUM_AIR_MODES | renamed | sim.NUM_AIRMODES |
sim.NUM_BRUSHES | added | | specifies the range of valid ui.brushID inputs
sim.NUM_DEFAULTBRUSHES | added | sim.BRUSH_NUM | identical
sim.NUM_EDGEMODES | added | sim.NUM_EDGE_MODES | identical
sim.NUM_EDGE_MODES | renamed | sim.NUM_EDGEMODES |
sim.NUM_GRAVMODES | added | sim.NUM_GRAV_MODES | identical
sim.NUM_GRAV_MODES | renamed | sim.NUM_GRAVMODES |
sim.NUM_PARTS | deprecated | sim.partCount |
sim.NUM_WALLS | added | | specifies the range of valid sim.wallMap inputs
sim.SQUARE_BRUSH | renamed | sim.BRUSH_SQUARE |
sim.TRI_BRUSH | renamed | sim.BRUSH_TRIANGLE |
sim.ambientHeatSim | added | tpt.ambient_heat | works with booleans
sim.canMove | added | sim.can_move | identical
sim.can_move | deprecated | sim.canMove |
sim.decoColour | deprecated | sim.decoColor |
sim.decoSpace | added | tpt.decoSpace | identical, but a function
sim.elecMap | added | tpt.set_elecmap | also a getter
sim.ensureDeterminism | unchanged | | undocumented
sim.fanVelocityX | added | tpt.set_wallmap | also a getter, sets fan velocity separately
sim.fanVelocityY | added | tpt.set_wallmap | also a getter, sets fan velocity separately
sim.frameRender | added | sim.framerender | identical
sim.framerender | deprecated | sim.frameRender |
sim.golSpeedRatio | added | sim.gspeed | identical
sim.gravMap | deprecated | various |
sim.gravityField | added | sim.graMap | gravity simulation output
sim.gravityMass | added | sim.graMap | also a getter, gravity simulation input
sim.gspeed | deprecated | sim.golSpeedRatio |
sim.hash | unchanged | | undocumented
sim.heatSim | added | tpt.heat | works with booleans
sim.neighbours | deprecated | sim.neighbors |
sim.newtonianGravity | added | tpt.newtonian_gravity | works with booleans
sim.partCount | added | tpt.NUM_PARTS | identical, but a function
sim.partNeighbours | deprecated | see sim.partNeighbors |
sim.paused | added | tpt.set_pause | works with booleans
sim.randomSeed | added | sim.randomseed | identical, undocumented
sim.randomseed | renamed | sim.randomSeed | undocumented
sim.resetGravityField | added | tpt.reset_gravity_field | identical
sim.resetSpark | added | tpt.reset_spark | identical
sim.resetVelocity | added | tpt.reset_velocity | identical
sim.wallMap | added | tpt.set_wallmap | also a getter, doesn't set fan velocity
sim.waterEqualisation | deprecated | sim.waterEqualization |
sim.waterEqualization | unchanged | | still works with ints, not worth the trouble
socket.getTime | added | socket.gettime | identical
socket.gettime | deprecated | socket.getTime |
tpt.active_menu | deprecated | ui.activeMenu |
tpt.ambient_heat | deprecated | sim.ambientHeatSim |
tpt.brushID | deprecated | ui.brushID |
tpt.brushx | deprecated | ui.brushRadius |
tpt.brushy | deprecated | ui.brushRadius |
tpt.create | deprecated | various |
tpt.debug | added | tpt.setdebug | identical
tpt.decoSpace | deprecated | sim.decoSpace |
tpt.decorations_enable | deprecated | ren.decorations |
tpt.delete | deprecated | various |
tpt.display_mode | deprecated | ren.useDisplayPreset |
tpt.drawCap | added | tpt.setdrawcap | identical
tpt.drawline | deprecated | gfx.drawLine |
tpt.drawpixel | deprecated | gfx.drawPixel |
tpt.drawrect | deprecated | gfx.drawRect |
tpt.drawtext | deprecated | gfx.drawText |
tpt.el | deprecated | various |
tpt.element | deprecated | various |
tpt.element_func | deprecated | elem.property |
tpt.eltransition | deprecated | various |
tpt.fillrect | deprecated | gfx.fillRect |
tpt.fpsCap | added | tpt.setfpscap | identical
tpt.getPartIndex | deprecated | various |
tpt.getUserName | added | tpt.get_name | identical
tpt.get_clipboard | deprecated | plat.clipboardCopy |
tpt.get_elecmap | deprecated | sim.elecMap |
tpt.get_name | deprecated | tpt.getUserName |
tpt.get_numOfParts | deprecated | sim.partCount |
tpt.get_property | deprecated | sim.partProperty |
tpt.get_wallmap | deprecated | sim.wallMap |
tpt.graphics_func | deprecated | elem.property |
tpt.heat | deprecated | sim.heatSim |
tpt.hud | deprecated | ren.hud |
tpt.menu_enabled | deprecated | ui.menuEnabled |
tpt.mousex | deprecated | ui.mousePosition |
tpt.mousey | deprecated | ui.mousePosition |
tpt.newtonian_gravity | deprecated | sim.newtonianGravity |
tpt.next_getPartIndex | deprecated | various |
tpt.num_menus | deprecated | ui.numMenus |
tpt.parts | deprecated | various |
tpt.perfectCircleBrush | deprecated | ui.perfectCircleBrush |
tpt.reset_gravity_field | deprecated | sim.resetGravityField |
tpt.reset_spark | deprecated | sim.resetSpark |
tpt.reset_velocity | deprecated | sim.resetVelocity |
tpt.selecteda | deprecated | ui.activeTool |
tpt.selectedl | deprecated | ui.activeTool |
tpt.selectedr | deprecated | ui.activeTool |
tpt.selectedreplace | deprecated | ui.activeTool |
tpt.set_clipboard | deprecated | plat.clipboardPaste |
tpt.set_console | deprecated | ui.console |
tpt.set_elecmap | deprecated | sim.elecMap |
tpt.set_gravity | deprecated | sim.gravityMass |
tpt.set_pause | deprecated | sim.paused |
tpt.set_pressure | deprecated | sim.pressure |
tpt.set_property | deprecated | sim.partProperty |
tpt.set_wallmap | deprecated | sim.wallMap |
tpt.setdebug | deprecated | tpt.debug |
tpt.setdrawcap | deprecated | tpt.drawCap |
tpt.setfire | deprecated | ren.fireSize |
tpt.setfpscap | deprecated | tpt.fpsCap |
tpt.setwindowsize | deprecated | ui.windowSize |
tpt.start_getPartIndex | deprecated | various |
tpt.textwidth | deprecated | gfx.textSize |
tpt.toggle_pause | deprecated | sim.paused |
tpt.watertest | deprecated | sim.waterEqualization |
ui.MOUSEUP_BLUR | added | ui.MOUSE_UP_BLUR | identical
ui.MOUSEUP_DRAWEND | added | ui.MOUSE_UP_DRAW_END | identical
ui.MOUSEUP_NORMAL | added | ui.MOUSE_UP_NORMAL | identical
ui.MOUSE_UP_BLUR | deprecated | ui.MOUSEUP_BLUR |
ui.MOUSE_UP_DRAW_END | deprecated | ui.MOUSEUP_DRAWEND |
ui.MOUSE_UP_NORMAL | deprecated | ui.MOUSEUP_NORMAL |
ui.NUM_TOOLINDICES | added | | specifies the range of valid ui.activeTool inputs
ui.activeMenu | added | tpt.active_menu | identical
ui.activeTool | added | tpt.selectedl, ... | identical, but a function
ui.brushID | added | tpt.brushID | identical, but a function
ui.brushRadius | added | tpt.brushx, tpt.brushy | identical, but a function
ui.button | added | Slider:new | standalone function
ui.checkbox | added | Textbox:new | standalone function
ui.console | added | tpt.set_console | works with booleans
ui.label | added | ProgressBar:new | standalone function
ui.menuEnabled | added | tpt.menu_enabled | identical
ui.mousePosition | added | tpt.mousex, tpt.mousey | identical, but a function
ui.numMenus | added | tpt.num_menus | identical
ui.perfectCircleBrush | added | tpt.perfectCircleBrush | identical
ui.progressBar | added | Window:new | standalone function
ui.slider | added | Button:new | standalone function
ui.textbox | added | Label:new | standalone function
ui.window | added | Checkbox:new | standalone function
ui.windowSize | added | tpt.setwindowsize | also a getter
2024-01-21 11:30:24 +01:00
Tamás Bálint Misius
5eb5383f08
Fix Platform::ExecutableName on freebsd
...
Also fix release (but somehow only release) builds failing to link because execinfo is a library on freebsd.
2024-01-15 19:54:32 +01:00
Cracker1000
708d543d29
Make LDTC copy BIZR, BIZRG and BIZRG's wavelength too. ( #936 )
2024-01-15 07:18:16 +01:00
Tamás Bálint Misius
00602f58a0
Don't use quick_exit with emscripten
...
This is a temporary fix, that line of code needs to be given some consideration. Maybe a Platform:: function?
2024-01-14 21:52:07 +01:00
catsoften
137e4038b6
Allow setting ETRD min and max distance with tmp and tmp2 ( #883 )
2024-01-14 20:51:27 +01:00
catsoften
b711b2935b
Make TESC create LIGH with same deco color ( #901 )
2024-01-14 20:48:50 +01:00
Tamás Bálint Misius
d21c23b46e
Don't export everything for nice stack traces in release builds
...
Because this blows up the size of the executable. This was meant to be done only with debug builds anyway. The release stack traces are all sorts of wonky anyway, no need to complicate them further.
2024-01-13 22:47:59 +01:00
Saveliy Skresanov
e314e99c4c
Merge branch 'resist'
2024-01-13 13:47:37 +07:00
Saveliy Skresanov
c5034dd01a
Fix clone producing RSST(RSST).
2024-01-12 23:34:34 +07:00
Tamás Bálint Misius
5da4c04f35
Remove THREAD_LOCAL hack, use thread_local
...
We dropped support for the buggy toolchains that needed this hack.
2024-01-12 17:05:00 +01:00
Tamás Bálint Misius
bc9d43bb10
Migrate mingw builds to msys2 ucrt, update tpt-libs
2024-01-12 17:05:00 +01:00
Tamás Bálint Misius
608f037e68
Explain platform clipboard external dependencies in OptionsView
2024-01-10 07:41:22 +01:00
Tamás Bálint Misius
d05b0093b9
Attempt to show and demangle symbols in bluescreen stack traces
2024-01-10 07:41:11 +01:00
Saveliy Skresanov
9a05e56f15
Restore old SOAP foam behaviour and make it work with nonstandard gravity.
2024-01-09 23:59:31 +07:00
jacob1
1dc641d13f
Fix signs loading in wrong position in PSv saves
2024-01-07 17:13:19 -05:00
jacob1
99566c8003
LogoutRequest - set checkStatus to true
2024-01-06 23:31:28 -05:00
Saveliy Skresanov
c352b08d86
More resist-related comments.
2024-01-02 18:23:19 +07:00
Tamás Bálint Misius
5411269fb2
Fix bluescreen stack trace not showing exception frames
2024-01-02 10:02:03 +01:00
Tamás Bálint Misius
4a99004327
Fix requests not being marked done when they fail early
...
They were marked done as far as Libcurl.cpp semantics went, but they weren't noticed by the Worker loop and thus weren't actually marked done with MarkDone.
Broken by 0cc179ae4e
where I quietly (i.e. no mention of this in the commit message >_>) replaced curl_multi_wait with curl_multi_poll, the former of which would return after some time even if nothing happened and the latter of which doesn't. Thus, the request manager loop kept iterating, if slowly, and masked this issue: these half-baked requests ended up being noticed in the iteration of the Worker loop that came after the one during which they were marked done.
Also fix the MotD being finalized improperly in Client.
2024-01-01 17:17:43 +01:00
Tamás Bálint Misius
70f6b68fc5
Add platform clipboard option to settings
2024-01-01 12:29:03 +01:00
Tamás Bálint Misius
6160a6b7d5
Add stack trace to bluescreen on some systems
...
This is still complete nonsense on posix systems where bluescreen runs in a signal handler, but what can you do.
2024-01-01 09:34:44 +01:00
Saveliy Skresanov
929b7ee525
Resist and bcoal now make fuse powder.
2023-12-31 22:53:56 +07:00
jacob1
c60e87870a
Add includePressure to saveStamp as well
...
Also removed in a407aba087
, as part of cleanup. Restoring it now that loadStamp also has this same parameter.
2023-12-30 21:10:28 -05:00
jacob1
cdc3eb8663
Fix "does not exist" showing up when loading stamps by id or filepath in console
...
SetLastError will always cause the error to show up in the console. Use tempfile->GetError() instead, which will return the same error message anyway unless the stamp doesn't exist.
2023-12-30 20:34:22 -05:00
jacob1
2619050824
sim.loadStamp: default includePressure to 1
...
It doesn't make much sense for a Lua function to vary depending on whether the user holds shift or not.
This restores the original behavior of includePressure in 6931f35520
, which was accidentally removed later in a407aba087
. Since I doubt anyone used this parameter, I'll just keep it at position 6 instead of moving it back to 4.
2023-12-30 19:46:12 -05:00
jacob1
a471a0de1f
Fix http.post using wrong argument as POST data
2023-12-30 16:03:45 -05:00
jacob1
5a762524b8
Fix header return value from HTTPRequest:finish, now returns both name and value again
2023-12-30 15:40:46 -05:00
Tamás Bálint Misius
25c65310bd
Clear stamp browser selection when page contents change
2023-12-29 14:35:59 +01:00
git4rker
7623f45e6e
Implement stamp renaming
2023-12-29 10:20:55 +01:00