News for hackers. Stuff that matters.
Re:Calc.exe is now open source; there’s surprising depth in ... by maxbaines on Thursday March 25, 2021 @08:45AM (#26579526)
Notepad next...
Re:Calc.exe is now open source; there’s surprising depth in ... by foepys on Thursday March 25, 2021 @09:50AM (#26580243)
Notepad.exe is just a wrapper around the edit control [1] that Windows ships as part of its core system. It doesn't even properly support undo as you can only undo the last action, which becomes the new last action, allowing you to only toggle between two states.

https://docs.microsoft.com/en-us/windows/win32/controls/edit...

Re:Calc.exe is now open source; there’s surprising depth in ... by ianhanschen on Thursday March 25, 2021 @10:03AM (#26580398)
It's a window that mostly uses an edit control, but, having code in Notepad, it's not just a wrapper around the edit control. Could you write Notepad in a day or two? Perhaps. But it's deceiving to say that it's just a wrapper around the edit control.
Re:Calc.exe is now open source; there’s surprising depth in ... by selfhoster11 on Thursday March 25, 2021 @09:40AM (#26580114)
Unlikely. Notepad is just a wrapper around the Windows API's textbox/textarea/whatever it's called, so open sourcing it isn't much.
Re:Calc.exe is now open source; there’s surprising depth in ... by saagarjha on Thursday March 25, 2021 @05:29PM (#26585639)
Apple open sourced TextEdit for exactly that reason, to show how easy it is to write text editing applications in Cocoa: https://developer.apple.com/library/archive/samplecode/TextE...
Re:Calc.exe is now open source; there’s surprising depth in ... by prepend on Thursday March 25, 2021 @09:23AM (#26579926)
MSPaint please
Re:Calc.exe is now open source; there’s surprising depth in ... by Pet_Ant on Thursday March 25, 2021 @01:06PM (#26582728)
Why? There is Paint.Net and it was open source for a long time.
Re:Calc.exe is now open source; there’s surprising depth in ... by prepend on Thursday March 25, 2021 @02:29PM (#26583673)
Because Paint.Net isn’t MSPaint. It’s not exclusive. There’s lots of paint programs but only one MSPaint.

Why calc.exe?

Re:Calc.exe is now open source; there’s surprising depth in ... by selfhoster11 on Thursday March 25, 2021 @09:39AM (#26580105)
I would very much welcome that on my Linux install.
Re:Calc.exe is now open source; there’s surprising depth in ... by yjftsjthsd-h on Thursday March 25, 2021 @02:53PM (#26583937)
Obviously not quite the same, but if you haven't seen it yet: https://jspaint.app/