licence: CNCL for what Makronix wrote itself

LICENSE at the root; the 103 files new in ext/src/mcde (none was in the CDE
import) carry the CNCL line instead of the LGPL notice.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
lotherkandClaude Sonnet 5.5 committed 2026-11-14 11:48:02 +00:00
1 parent 8cfa08eae2
commit abd4c853de
105 files changed
+178 -103

No files matched your search

+9
View File
@@ -36,6 +36,15 @@ says which NetBSD pattern it follows.
A patch that breaks a NetBSD convention is a finding for the report, never a
quiet change in the tree.
## Licence
What Makronix wrote itself is under the CNCL (Could Not Care Less License 1.0,
`LICENSE` at the root; files carry the line `License: CNCL 1.0 ...`). What
comes from elsewhere keeps its own licence: `src/` (NetBSD, BSD), `xsrc/`,
`pkgsrc/`, `refs/*`, the imported trees under `ext/` (MCDE is CDE: LGPL 2.0
or later) and their changes to files that already had a licence. A new file
in a fork gets the CNCL line; a changed upstream file keeps the notice it has.
## What belongs where
- `src/` is **Makronix's NetBSD tree**, tracked here. It began as the upstream
+66
View File
@@ -0,0 +1,66 @@
# CNCL — Could Not Care Less License
**Version 1.0**
*No rights reserved. No obligations imposed. Couldn't care less.*
## Preamble
Software is the product of collective human knowledge.
Every idea builds upon ideas that came before. Every invention stands on the accumulated discoveries, mistakes, experiments, and imagination of generations.
We do not believe in artificial boundaries around creativity.
We do not believe that creating something grants us the moral authority to dictate what others may do with it.
We live in an age where knowledge, tools, and artificial intelligence make creation accessible to everyone. The distinction between author, user, modifier, and creator is becoming increasingly meaningless.
We are not here to control what happens next.
We are here to create.
## The License
This software is made available to the world.
Do whatever you want with it.
Use it. Copy it. Modify it. Break it. Fix it. Sell it. Give it away. Incorporate it into something else. Keep your modifications private. Publish them. Feed it to AI. Build something nobody has thought of yet.
Use it commercially or personally. Combine it with other software. Release it under another license.
You owe the original author nothing.
No attribution required. No royalties. No source disclosure. No reciprocal licensing. No contribution requirements. No permission needed.
There are no conditions attached to your use of this software.
There is no expectation that you will give anything back.
There is no expectation that you will even care.
## Disclaimer
The software is provided "AS IS", without warranty of any kind.
The authors accept no responsibility for its use, misuse, modification, distribution, or consequences.
## The CNCL Principle
We acknowledge that everything we create is built upon something that existed before us.
We do not claim ownership over the collective intelligence of humanity.
We do not expect recognition, compensation, or control.
Take it. Change it. Make it better. Make it worse. Make something entirely different.
Or don't.
We Could Not Care Less.
---
**CNCL — Could Not Care Less.**
*Created for everyone. Controlled by no one.*
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Mcde/Displays.h -- MCDE: the monitors, their arrangement and memory
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* In libDtSvc. The outputs with their modes, where they are, how they are
* turned; the file ~/.dt/displays that keeps it; the arithmetic of
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* GlobalMenu.h -- MCDE: the menu bar of the active program in the top bar
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The protocol between a program and the top bar (programs/dtbar), all of it
* ordinary X11: a selection, properties and client messages.
+1 -1
View File
@@ -2,7 +2,7 @@
* Mcde/Image.h -- MCDE: a picture file as a pixmap (libDtSvc,
* DtUtil2/McdeImage.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* XmGetPixmap(3) for every format Motif reads, except PNG, which libpng
* reads here: Motif 2.3.8 draws a PNG without alpha as its blue channel
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* McdeSys.h -- MCDE's layer between the desktop and the operating system
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Programs of MCDE (the System Preferences first) change the system only
* through these functions; each operating system has one backend in
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Sound.h -- MCDE: desktop events and sound themes
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* A program names an event ("Launch", "OpenFolder", ...) and the session's
* sound server plays it. The theme is an X-Resource file: *<Event>.soundfile
+1 -1
View File
@@ -2,7 +2,7 @@
* Mcde/Thumb.h -- MCDE: miniature pictures for dtfile and other programs
* (libDtSvc, DtUtil2/McdeThumb.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The picture itself instead of the type icon: PNG, JPEG, GIF, BMP and XPM
* are read here and scaled down to the size the caller has room for. The
@@ -2,7 +2,7 @@
* dispconf.c -- dtsystemsettings: the arrangement of the displays
* (dispconf.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#include <stdio.h>
@@ -1,7 +1,7 @@
/*
* McdeDisplays.c -- MCDE: the monitors through RandR (include/Mcde/Displays.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Read the outputs, their modes and the monitor's id (EDID), set a whole
* arrangement as xrandr(1) does -- the CRTCs that change off, the screen's
@@ -1,7 +1,7 @@
/*
* McdeGlobalMenu.c -- MCDE: a program's menu bar in the top bar
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The program side of the protocol in Mcde/GlobalMenu.h. DtInitialize()
* calls _DtMcdeGlobalMenuInitialize(), so every program that is a CDE
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* McdeImage.c -- MCDE: a picture file as a pixmap (include/Mcde/Image.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* A PNG is read with libpng's simplified interface (png_image, libpng 1.6:
* png_image_begin_read_from_file, png_image_finish_read with the background
@@ -1,7 +1,7 @@
/*
* McdeMenuModel.c -- MCDE: the text form of a menu bar (Mcde/GlobalMenu.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* C99 and POSIX only, no X: test_menumodel.c tests it (make check).
*/
+1 -1
View File
@@ -2,7 +2,7 @@
* McdeThumb.c -- MCDE: miniature pictures for dtfile and other programs
* (include/Mcde/Thumb.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* One file per picture: the header, then the pixels, then the scale. The
* decoders are libpng's simplified interface, libjpeg's decompressor and C99
+1 -1
View File
@@ -2,7 +2,7 @@
* McdeWmHints.c -- MCDE: what a CDE program's windows tell the window
* manager about the program
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Every top-level window of a program that calls DtInitialize gets, when it
* is first mapped:
@@ -1,7 +1,7 @@
/*
* test_displays.c -- the arrangement of the displays (dispconf.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#include <stdio.h>
@@ -1,7 +1,7 @@
/*
* test_menumodel.c -- the tests of McdeMenuModel.c (make check)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#include <stdio.h>
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* test_thumb.c -- the miniatures of DtUtil2/McdeThumb.c, without a display
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Every format the module reads is written here and read back (PNG with
* libpng, JPEG with libjpeg, GIF from a known 4 x 4 file, BMP and XPM by
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* backup.c -- MCDE: the whole system, every hour, to a disk of its own
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* BorgBackup does the work (docs/reference/borg.txt in the Makronix tree):
*
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* common.c -- MCDE: the parts of McdeSys that are the same on every system
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* POSIX only: the error text, running a system tool, and the fields of
* McdeSysInfo that uname(3), sysconf(3), statvfs(3) and gethostname(3) give.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* disk_linux.c -- MCDE: the disks of a Linux system (McdeSys)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* lsblk(8) -P -b (KEY="value" pairs, sizes in bytes) for the drives and
* partitions; udisksctl(1) mounts and unmounts where it is there (as the
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* disk_netbsd.c -- MCDE: the disks of a NetBSD system (McdeSys)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* NetBSD's own tools and calls (docs/reference/disks.txt in the Makronix
* tree): the drives from sysctl hw.disknames, their size from dkctl(8)
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* linux.c -- MCDE: the Linux backend of McdeSys
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The system's own ways: /etc/os-release (os-release(5)) for the system,
* /proc/cpuinfo for the processor, /sys/class/dmi/id for the machine,
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* net.c -- MCDE: the network interfaces (McdeSys.h, "Network")
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* getifaddrs(3) -- not POSIX, but the same on NetBSD (where it comes from)
* and on Linux -- gives the interfaces and their addresses; whether one is
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* netbsd.c -- MCDE: the NetBSD backend of McdeSys (and so Makronix's)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The system's own ways: sysctl(3) for the processor and the machine,
* /etc/release (src/etc/Makefile, etc-release: "Makronix VERSION NAME/MACHINE
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* netmount.c -- MCDE: what other computers share, and connecting to it
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The tools are the same on NetBSD and Linux, found where each system keeps
* them (base, or /usr/pkg from pkgsrc):
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* private.h -- MCDE: what common.c and the backends of McdeSys share
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _McdeSys_private_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* share.c -- MCDE: the shared folders, for SMB, NFS and AFP alike
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The list is /etc/mcde-shares, one absolute path a line. From it MCDE
* writes one block into each server's configuration, between the lines
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* sound.c -- MCDE: the volume of the default output (McdeSys.h, "Sound")
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Where a PulseAudio server runs, its default sink is the output: pactl(1)
* gets and sets it, the same on every system (pkgsrc has audio/pulseaudio).
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* test_netmount.c -- McdeSys: which host names reach the list (make check)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* mcde_sys_net_add() is where a name from the network (mDNS, a browse) is
* checked once for every program that opens it: a host beginning with "-"
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* test_sysinfo.c -- McdeSys: mcde_sys_info on this computer (make check)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The values differ from computer to computer; what must hold everywhere is
* checked, and everything is printed for a look by hand.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* users.c -- MCDE: the people who use the computer (McdeSys.h, "Users")
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The list comes from the password and group databases (getpwent(3),
* getgrnam(3): POSIX, XSI); an account is a person's when its uid is from
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtappscan -- MCDE: the applications of this computer, by category
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* CDE's application manager shows a fixed list (programs/localized/
* templates/appmgr.am): Firefox, Skype and GIMP are there whether they are
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtbackup.c -- MCDE: the backup from the command line, and for cron
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* dtbackup run one backup now (root's crontab runs this every hour,
* System Settings, Backup)
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* about.c -- dtbar: About This Computer
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* One small window: the logo, the system and its version, a button for the
* software update, then the computer in three lines -- processor, memory,
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtbar.c -- MCDE: the bar at the top of the screen
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Left the M menu (the system: settings, lock, log out), then the menus of
* the program that has the focus, right the clock. The menus are not this
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtbar.h -- dtbar: what dtbar.c, about.c and forcequit.c share
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _dtbar_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* forcequit.c -- dtbar: Force Quit Applications
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The reference's window: a sentence at the top, one entry per program, the
* hint about Command+Option+Escape at the bottom, "Force Quit" at the right.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* items.c -- dtbar: the lists behind Favourites and Recent Items (items.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#define _POSIX_C_SOURCE 200809L
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* items.h -- dtbar: the lists behind Favourites and Recent Items (items.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* One item a line, "LABEL<TAB>COMMAND"; a line without a tab is its own
* label and command; '#' starts a comment line. ~/.dt/favourites is
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* menuscale.c -- dtbar: a slider in a Motif menu
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* A Motif menu takes as entry a widget whose class carries the trait
* XmQTmenuSavvy, and warns "Attempt to add wrong child type to a menu"
+1 -1
View File
@@ -2,7 +2,7 @@
* status.c -- dtbar: volume, Bluetooth, network and battery at the right of
* the bar
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Small menus with an icon each, left of the clock -- the battery only on a
* machine that has one. What they show and change goes through McdeSys (the
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* test_items.c -- the tests of items.c (make check)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#define _POSIX_C_SOURCE 200809L
+1 -1
View File
@@ -2,7 +2,7 @@
* main.c -- dtdiskutility: the disks of the computer, and what can be done
* to them
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* On the left the drives, each followed by its partitions. On the right
* what is chosen: its name, model, size, file system, where it is mounted
+1 -1
View File
@@ -10,7 +10,7 @@
* dtfile_error.cpp, types/error.ds.src); Konrad, 2026-11-14: dtksh is out of
* MCDE, this is a Motif program like the rest, in C.
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#include <stdio.h>
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Columns.c -- MCDE: the column view of the file manager window
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* A fourth view beside CDE's icons, small icons and list (Navigation.c): one
* column for each folder from the place it lies in (Home, or the Computer)
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Connect.c -- MCDE: the Connect to Server dialog (Connect.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The reference's window: "Server Address:" with the address field, a "+"
* that keeps it, a menu of the servers used before, "Favorite Servers:" as
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Connect.h -- MCDE: the Connect to Server dialog (Connect.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Connect_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* GoToFolder.c -- MCDE: the small "Go to Folder" dialog (GoToFolder.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The reference's way to a path by keyboard: a title, "Go to the folder:",
* one field, Cancel and Go. "~" and "~user" are understood (getpwnam, no
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* GoToFolder.h -- MCDE: the small "Go to Folder" dialog (GoToFolder.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _GoToFolder_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Info.c -- MCDE: the Info window of the file manager (Info.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The reference's window: name and what it is at the top, then sections
* that open and close with a click -- General (kind, size, on disk, where,
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Info.h -- MCDE: the Info window of the file manager (Info.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Info_h
+1 -1
View File
@@ -3,7 +3,7 @@
* (back, forward, the view), a sidebar with the places, a history per window,
* and the free space in the status line.
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Written in C99 against POSIX and Motif (ext/src/mcde/AGENTS.md); nothing
* here knows the operating system. The rest of dtfile is CDE's: this file
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Navigation.h -- MCDE: the navigation parts of the file manager window (Navigation.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Navigation_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* NetView.c -- MCDE: the network in the file manager window
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* "Network" in the sidebar (Navigation.c) shows, in place of the work area
* (as the column view does, Columns.c):
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Peek.c -- MCDE: the preview of the chosen file (Peek.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Space shows what is chosen without opening it: a picture at the size it
* fits, a text's first 64 KB, a folder's icon and how much is in it, the
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Peek.h -- MCDE: the preview of the chosen file (Peek.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Peek_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Search.c -- MCDE: dtfile's search over folders (Search.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The reference's search as a window of its own: a scope (the home folder,
* or the whole computer), a name to look for, when the file was changed --
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Search.h -- MCDE: dtfile's search over folders (Search.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Search_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Strip.c -- MCDE: the strip view (Strip.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The reference's Cover Flow, without what MCDE does not do: no
* compositing, no perspective, no reflection, no animation. The chosen
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Strip.h -- MCDE: the strip view of the file manager window (Strip.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The reference's fourth view, translated without compositing: the chosen
* picture large, its neighbours flat beside it, and the folder's list under
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtkeys -- MCDE: the key left of the space bar is the Command key
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* MCDE's shortcuts go by the place of a key, not by what is printed on it
* (Konrad, 2026-11-11): the key left of the space bar is Command, the one
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtlaunch.c -- MCDE: the launcher
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* One key (default Cmd+space -- the key left of the space bar and the space
* bar, as on the desktops of that kind; resource Dtlaunch*hotkey, names Cmd,
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* model.c -- dtlaunch without X: matching, the calculator, snippets, programs
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#include <ctype.h>
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* model.h -- dtlaunch without X: matching, the calculator, snippets, programs
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* C99 and POSIX only (ext/src/mcde/AGENTS.md); tested by test_model.c.
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* test_model.c -- the tests of model.c (make check)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#include <stdio.h>
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtpaint.c -- MCDE: the simple paint program, the Microsoft Paint look
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The standard, simple drawing program of MCDE: toolbox, colour box, canvas
* and status line, the sixteen tools and the six menus of the reference
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dtphoto.c -- MCDE: the raster editor, the Photoshop 2.5.2/3.0.1 look
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Stages P0 and P1 (docs/MCDE-PROGRAMS.md, C1): the window, the menu bar,
* the toolbox and the status line with the 2.5 / 3.0 switch; a document
@@ -1,7 +1,7 @@
/*
* accounts.c -- dtsystemsettings: the people who use this computer
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The accounts from McdeSys (mcde_sys_users), and adding, deleting, a new
* password, administrator or not -- all through McdeSys, which does it the
@@ -1,7 +1,7 @@
/*
* appearance.c -- dtsystemsettings: the colours and the fonts of the desktop
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Appearance: CDE's palettes (*.dp, eight colours each), every one drawn as
* a row of its colours. Choosing one does what dtstyle does
@@ -1,7 +1,7 @@
/*
* backup.c -- dtsystemsettings: the backup of the whole computer
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* A switch for the hourly backup; the backup disk, chosen among the
* partitions that are not the system's, with the password that encrypts
@@ -1,7 +1,7 @@
/*
* desktop.c -- dtsystemsettings: the backdrop and the screen saver
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* One pane, two pages, chosen by two buttons at the top: Desktop and Screen
* Saver.
@@ -1,7 +1,7 @@
/*
* displays.c -- dtsystemsettings: the Displays pane
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The monitors as rectangles to drag into place, and for the chosen one:
* on or off, resolution, rotation, main display; all of them mirrored.
@@ -1,7 +1,7 @@
/*
* input.c -- dtsystemsettings: the keyboard and the mouse
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* What CDE's style manager sets for them, in the window itself: key repeat,
* its delay and rate, key click; the primary button, the pointer speed, the
@@ -1,7 +1,7 @@
/*
* language.c -- dtsystemsettings: the language of the desktop
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Replaces CDE's style manager here (Konrad, 2026-11-13: "das alte dtstyle
* muss weg"). The list is what locale(1) -a prints -- the POSIX utility,
@@ -1,7 +1,7 @@
/*
* main.c -- dtsystemsettings: the settings of the computer in one window
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The window shows every pane as an icon, in four bands (panes.c): Personal,
* Hardware, Internet & Network, System. A click opens the pane in the same
@@ -1,7 +1,7 @@
/*
* network.c -- dtsystemsettings: the Network pane
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* "Show:" chooses Network Status -- every card with a light and a sentence
* of what it is doing, and "Configure..." -- or one card. A card has the
@@ -1,7 +1,7 @@
/*
* panes.c -- dtsystemsettings: the panes and their categories (panes.h)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* One place for the computer's settings, in four rows. A pane is drawn
* here (sound, network, Bluetooth, date and time, about) when the setting
@@ -1,7 +1,7 @@
/*
* panes.h -- dtsystemsettings: the panes and their categories (panes.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* C99 only, no X: test_panes.c tests it (make check).
*/
@@ -1,7 +1,7 @@
/*
* sharing.c -- dtsystemsettings: what this computer shares
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The services that let others in -- remote login (SSH), file sharing by
* SMB, NFS and AFP, and the AppleTalk network -- each with a switch, and
@@ -1,7 +1,7 @@
/*
* sound.c -- dtsystemsettings: the sound of the desktop (t0163)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Three tabs as the reference has them: Sound Effects, Output, Input.
*
@@ -1,7 +1,7 @@
/*
* startup.c -- dtsystemsettings: what happens when you log in and out
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The session: at login the session left or the home session, whether
* logging out asks first, and "Save as Home Session" -- what CDE's style
@@ -1,7 +1,7 @@
/*
* test_panes.c -- the tests of panes.c (make check)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#include <stdio.h>
@@ -1,7 +1,7 @@
/*
* timezone.c -- dtsystemsettings: choosing the time zone (Date & Time)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Two lists, the regions of the tz database (Europe, America, ...) and the
* places in the one chosen, with the zone in use selected; the zones come
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* ui.h -- dtsystemsettings: what the panes share (main.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _dtsystemsettings_ui_h
@@ -1,7 +1,7 @@
/*
* update.c -- dtsystemsettings: Software Update
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* What runs, what the update source has, how many packages are new
* (mcde_sys_update_check); "Update Now..." brings the system and the
@@ -1,7 +1,7 @@
/*
* wifi.c -- dtsystemsettings: the Wi-Fi networks in reach, and joining one
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The Wi-Fi tab of a card in the Network pane: the networks McdeSys
* finds (mcde_sys_wifi_scan) with their signal and whether they are
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Dropdown.c -- MCDE: a terminal that drops down from the top of the screen
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* dtterm -dropdown: the window is as wide as the screen, 40 % of its height,
* and hidden. A key (the resource dropdownKey, F12 by default) brings it
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Dropdown.h -- MCDE: the drop-down terminal (Dropdown.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Dtterm_Dropdown_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Profiles.c -- MCDE: terminal profiles for dtterm
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* A profile names a font, colours and a command; a new tab can be opened
* with one (Window > New Tab with Profile, dtterm -profile NAME). This file
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Profiles.h -- MCDE: terminal profiles for dtterm (Profiles.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* C99 and POSIX only, no X: the parser has its own tests (test_profiles.c,
* make check). Tabs.c and DtTermMain.c turn a profile into a view.
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Tabs.c -- MCDE: tabs in a dtterm window
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* A dtterm window was a shell with one DtTermView. Now the shell holds a
* Motif XmTabStack; every tab is an XmPanedWindow (a "page", mcdeSplit) with
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Tabs.h -- MCDE: tabs in a dtterm window (Tabs.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _Dtterm_Tabs_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* test_profiles.c -- the tests of Profiles.c (make check)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#define _POSIX_C_SOURCE 200809L /* fmemopen */
@@ -1,7 +1,7 @@
/*
* dtthemesync -- MCDE: every toolkit looks like MCDE
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* "MCDE is king, das gesamte andere System muss folgen" (Konrad,
* 2026-11-11). dtthemesync reads the palette MCDE uses and its font and
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* dttoolbox.c -- MCDE: the toolchest
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The chest of the IRIX desktop: a window of menus, read from a chestrc file
* (docs/MCDE-PROGRAMS.md, B1-B5). Stage T1: the parser of the useful
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* WmMcdeDisplays.c -- MCDE: monitors plugged in and out (plug and play)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* Konrad, 2026-11-11: "wenn display an, direkt anschalten und benutzen.
* wenn display ab alle fenster auf main sammeln. wenn display wieder
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* WmMcdeDisplays.h -- MCDE: monitors plugged in and out (WmMcdeDisplays.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _WmMcdeDisplays_h
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* WmMcdePanel.c -- MCDE: the programs left of the trash in the front panel
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*
* The front panel stays CDE's: its controls, subpanels and workspace
* switch. Left of the trash it gets one more part, made here:
+1 -1
View File
@@ -2,7 +2,7 @@
* WmMcdePanel.h -- MCDE: the programs left of the trash in the front panel
* (WmMcdePanel.c)
*
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
*/
#ifndef _WmMcdePanel_h
Loaded 100 of 105 files, more files were not shown because too many files have changed in this diff. Show more