lotherk ae38eccebe MCDE dtpaint: the review's defects -- crash, undo, menus, save, i18n, speed (t0704)
Review of programs/dtpaint found and this fixes:
- Picker crash: a click in the grey strip below the image reached
  XGetImage outside the pixmap (BadMatch, X_GetImage).  The canvas is now
  a drawing area of exactly the image size inside a scrolled window, and
  CanvasInput bounds-checks; large BMPs scroll instead of being clipped.
- Undo: one snapshot taken before every image-changing operation (pencil,
  brush, eraser, fill, shapes, invert, flip, clear) and refreshed after a
  load; previously only shape tools snapshotted and OpenBMP left snap
  uninitialized, so Undo after Open turned the image black.
- Menus: Clear Selection and Edit Colors were wired to Clear Image and
  About; they are now insensitive until D3/D4.  Help Topics is real.
  Accelerator text shown; Clear Image uses 'Ctrl Shift<Key>N' (the old
  'Ctrl<Key>Shift<Key>N' never fired).
- Save remembers the path and title, asks before New/Open/Exit when
  dirty (Discard/Keep), and reports open/save errors in a dialog instead
  of stderr; the per-tool-change stderr debug is gone.
- Colour model: fg/bg are pixels (picker takes any colour, right button
  sets background) with a drawn fg/bg indicator; toolbox is radio with
  the indicator hidden (one sunken tool); swatches are 16x16.
- Open/Save/Invert no longer do one X round trip per pixel: TrueColor
  converts through the visual's masks, other visuals batch the distinct
  colours.  Measured on a 1024x768 BMP: open 18.3 s -> 0.02 s, invert
  14.9 s -> 0.05 s, save 6.3 s -> 0.23 s.
- FloodFill is scanline with a growing seed stack, not 4 neighbours per
  pixel; XmString leaks freed; message dialogs destroy their shell.
- Catalog grows to 34 messages; the German copy transliterates umlauts
  (core font has no UTF-8 rendition), re-measured under de_DE.UTF-8.
-selftest now also checks the BMP round trip and double invert/flip: PASS.
Builds clean under -Wall -Wextra -Werror; PLIST gate ok (3714 installed).
Left column is a Form so the colour box never overlaps the canvas.
2026-11-21 21:42:34 +00:00

CDE - The Common Destop Environment

In 2012, CDE was opensourced under the terms of the LGPL V2 license by the Open Group.

You may reuse and redistribute this code under the terms of this license. See the COPYING file for details.

Downloading

Downloading this release:

CDE may be downloaded in source form from the Common Desktop Environment website:

http://sourceforge.net/projects/cdesktopenv/

Or via git:

git clone git://git.code.sf.net/p/cdesktopenv/code CDE

The git repository will always be more up to date than the downloadable tarballs we make available, so if you have problems, please try the latest version from git master.

Note also that the master branch may be unstable, so your milage may vary.

Compiling

Complete build and installation instructions can be found on the CDE wiki:

http://sourceforge.net/p/cdesktopenv/wiki/Home/

Please go there and read the appropriate section(s) for your OS (Linux or FreeBSD/OpenBSD/NetBSD currently) prior to attmpting to build it.

There are a variety of dependencies that must be met, as well as specific set up steps required to build, especially relating to localization and locales.

Do not expect to just type 'make' and have it actually work without meeting the prerequisites and following the correct steps as spelled out on the wiki.

There are also a lot of other documents and information there that you might find useful.

Assuming you've met all of the requirements regarding packages needed for the build, you can follow the standard autoconf method:

$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

NOTE: BSD users must currently install and use gmake to compile, as well as specify the location of the TCL libraries and headers. So the instructions for them would looke like:

$ ./autogen.sh
$ ./configure --with-tcl=/usr/local/lib/tcl8.6 MAKE="gmake"
$ gmake
$ sudo gmake install

Of course change to location of your TCL directory as needed for your system.

Support

Mailing list

https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

IRC

There is a CDE IRC channel on irc.libera.chat, channel #cde

Patches welcome

Please see

https://sourceforge.net/p/cdesktopenv/wiki/Contributing%20to%20CDE/

for information on how to contribute.

S
Description
MCDE, the Makronix Common Desktop Environment (fork of CDE 2.5.3)
Readme LGPL-2.1
127 MiB
0 Stars 3 Watchers 0 Forks
Languages
C 85.7%
Roff 4.3%
C++ 3.3%
Makefile 3.2%
OMNeT++ MSG 1.2%
Other 1.7%