1
2010-08-06 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
3
* vm-display-X11/config.cmake: Manually check for Xrender library.
4
Set HAVE_LIBXRENDER instead of HAVE_LIB_XRENDER.
6
2010-05-13 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
8
* plugins/CameraPlugin/sqCamera.c: Added.
10
* npsqueak/npsqueakrun.in (realpath): prepend dir to link target
11
iff target is relative.
13
* cmake/squeak.in (wrapper): Don't echo the environment.
15
* CMakeLists.txt: Add subdir npsqueak.
17
* npsqueak.c: Cosmetic improvements to error messages.
19
* npsqueak/README.npsqueak: Updated for CMake.
21
* npsqueak/npsqueakrun.in: New version from Bert.
23
* npsqueak/npsqueakregister.in (NPSQUEAK_SO): Construct from
24
substituted cmake variables.
26
* cmake/squeak.in (realpath): prepend dir to link target iff
27
target is relative. Only echo environment if SQUEAK_DEBUG is
30
2010-05-11 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
32
* vm-display-X11/sqUnixX11.c: Add option -closequit and
33
environment variable SQUEAK_CLOSEQUIT.
35
2010-04-13 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
37
* doc/RELEASE_NOTES_4.0.3.2202: Release 4.0.3.2202.
39
* vm-sound-pulse/sqUnixSoundPulseAudio.c: New version from Derek
40
O'Connell as used in Scratch. Fixes bad behaviour on Karmic.
42
2010-04-12 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
44
* src: UUIDPlugin is now internal.
46
* Makefile: Use cmake/configure.
48
2010-04-11 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
50
* doc/RELEASE_NOTES_4.0.3.2196: Release 4.0.3.2196.
52
* plugins/MIDIPlugin/config.cmake: Enable ALSA MIDI support if
53
alsa/asoundlib.h and linasound are available.
55
* plugins/MIDIPlugin/sqUnixMIDI.c: Include "debug.h".
57
* plugins/MIDIPlugin/sqUnixMIDIALSA.inc: Change invocations of
58
debugf(x) to pass a single argument.
60
* plugins/SqueakFFIPrims/config.cmake: Add sqManualSurface.c to
63
2010-04-10 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
65
* CMakeLists.txt: Change VM_HOST_CPU from x86_64 to i386 if
66
CMAKE_ARCH_FLAGS is -m32.
68
* cmake/squeak.sh.in (PATH): Find path to binary using pwd -p if
69
it appears to be available.
71
* cmake/squeak.in: Attempt to fix broken locales by copying LANG
72
to LC_ALL if the latter is unset.
74
* cmake/configure: Pass SVN revision of ChangeLog to cmake as
75
PLATFORM_SOURCE_VERSION.
77
* vm/config.cmake: Define PLATFORM_SOURCE_VERSION in config.h.
79
2010-04-09 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
81
* vm-display-X11/sqUnixX11.c (getSelectionChunk): Don't beep when
82
the selection owner refuses to transfer data.
84
* vm/sqUnixExternalPrims.c (ioLoadModule): Try loading a plugin
85
from the name without additional prefix/suffix to permit
86
fully-specified names or paths.
88
2010-04-06 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
90
* plugins/SqueakFFIPrims/config.cmake: Use correct asm for -m32 on x86_64.
92
2010-04-02 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
94
* plugins/FT2Plugin/config.cmake: Look for package freetype2
95
headers & libs, or for [freetype2]/freetype.h and libs freetype &
98
2010-04-01 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
100
* vm/build.cmake: Always generate local interp.c with CR
101
translated to LF. Gnuify from local interp.c.
103
* plugins/SqueakFFIPrims/config.cmake: Copy CMAKE_C_COMPILER and
104
CMAKE_C_FLAGS to CMAKE_ASM_COMPILER and CMAKE_ASM_FLAGS when using
107
* plugins/HostWindowPlugin/sqUnixHostWindowPlugin.c (ioShowDisplayOnWindow): Updated
108
to new HostWindowPlugin.h for 64-bit cleanliness.
110
* vm/SqSound.h (struct SqSound): Updated to new sqSound.h for 64-bit cleanliness.
111
* plugins/SoundPlugin/sqUnixSound.c: idem.
112
* vm-sound-Sun/sqUnixSoundSun.c: idem.
113
* vm-sound-OSS/sqUnixSoundOSS.c: idem.
114
* vm-sound-MacOSX/sqUnixSoundMacOSX.c: idem.
115
* vm-sound-NAS/sqUnixSoundNAS.c: idem.
116
* vm-sound-ALSA/sqUnixSoundALSA.c: idem.
117
* vm-sound-null/sqUnixSoundNull.c: idem.
118
* vm-sound-custom/sqUnixCustomSound.c: idem.
120
* vm/sqUnixMain.c (ioMicroSeconds, sqUnixUtcWithOffset): Added.
122
* CMakeLists.txt: Prepend CMAKE_ARCH_FLAGS to CMAKE_C_FLAGS if defined.
123
Define ioMicroSecondClock and ioUtcWithOffset.
125
2009-12-17 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
127
* vm-sound-ALSA/sqUnixSoundALSA.c (sound_AvailableSpace): Update
128
available space info before reading state.
130
* cmake/squeak.sh.in (vm): Fix typo: xkdialog -> kdialog.
132
2009-10-26 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
134
* vm/build.cmake: gnu-interp.c depends on generated interp.c.
136
2009-10-20 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
138
* vm/sqUnixMemory.c (uxGrowMemoryBy): Reject request to increase
139
memory by ludicrous amounts.
141
2009-09-27 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
143
* cmake/configure (cflags): Change '--DOPT--src=' to '-DOPT--src='.
145
2009-09-18 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
147
* plugins/SerialPlugin/sqUnixSerial.c (serialPortCloseByName):
148
Invalidate serial port name after closing.
150
2009-09-18 <piumarta@ubuntu.piumarta.com>
152
* cmake/squeak.in: Resolve symlinks in bindir. Fix missing
155
2009-09-17 <piumarta@ubuntu.piumarta.com>
157
* cmake/Plugins.cmake: Set ${plugin}_disabled for each plugin,
158
recording whether the plugin is to be built.
160
* vm/build.cmake: Set useoss according to vm-sound-OSS_disabled.
162
* cmake/config.in: Substitute [useoss] when configuring.
164
* cmake/squeak.in: Communicate with the VM via environment. Don't
165
attempt to user padsp wrapper unless vm-sound-OSS was built.
167
* vm/config.cmake: Configure interp as "gnu-interp" if compiler is
168
GCC, otherwise "interp".
170
* vm/build.cmake: squeakvm depends on bld/${interp}.c. Implicitly
171
build bld/gnu-interp.c from src/vm/interp.c using gnuify.
172
Implicitly build bld/interp.c by copying src/vm/interp.c.
174
* cmake/gnuify: Try gnuify.awk with gawk then awk then cp.
176
* cmake/gnuify.awk: Copied from old config/gnuify.
178
* cmake/configure (svnversion): Quote unix/.svn to permit spaces
181
2009-09-16 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
183
* doc/RELEASE_NOTES_3.11.3.2135: Release 3.11.3.2135.
185
2009-09-16 <piumarta@ubuntu.piumarta.com>
187
* cmake/configure: Read svnversion from unix/svnversion if not
188
building from a repo, otherwise generate via svn info and update
191
* src/vm/interp.h: Defines VMMAKER_VERSION as per VMM-138.
193
2009-09-16 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
195
* cmake/configure: Properly convey --src --CFLAGS values to cmake.
197
2009-09-14 <piumarta@ubuntu.piumarta.com>
199
* vm-sound-pulse: Pulse Audio driver added, thanks to Derek
202
* vm-sound-pulse/sqUnixSoundPulseAudio.c: Driver interface
203
structure is called "pulse".
205
* vm-sound-pulse/config.cmake: Require libpulse-simple rather than
208
* vm/sqUnixMain.c (moduleDescriptions): Add vm-sound-pulse to list
209
of auto-loaded sound drivers.
211
2009-09-10 <piumarta@ubuntu.piumarta.com>
213
* plugins/SqueakFFIPrims/x86-sysv-asm.S (ffiCallAddressOf): Pop a
214
float return value off the FPU stack, even though we don't know
215
there's anything there to pop nor whether we own it if there is.
217
2009-09-08 <piumarta@ubuntu.piumarta.com>
219
* plugins/ClipboardExtendedPlugin/config.cmake: Added: disable
220
plugin if X11 not found.
222
2009-09-02 <piumarta@ubuntu.piumarta.com>
224
* plugins/FileCopyPlugin/sqUnixFileCopyPlugin.c (copy): Repeat
225
read()/write() as required by EINTR or partial transfer.
227
* plugins/SecurityPlugin/sqUnixSecurity.c (isAccessiblePathName):
228
Explicitly ignore the result of realpath();
230
* vm-display-X11/sqUnixX11.c (xError): Reconile format conversions
231
and argument types in printf().
233
* vm-display-X11/sqUnixX11.c (openXDisplay): Explicitly ignore the
236
* vm/sqUnixMain.c (pathCopyAbs): Explicitly ignore the result of
239
2009-08-31 <piumarta@ubuntu.piumarta.com>
241
* plugins/B3DAcceleratorPlugin/config.cmake: Don't look for gl.h
242
unless some kind of GL was already found.
244
2009-08-31 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
246
* plugins/SqueakFFIPrims/config.cmake: Compile .S using gcc if
249
* vm/sqUnixExternalPrims.c: Include limits.h instead of
250
sys/param.h to get PATH_MAX.
252
2009-08-31 <piumarta@ubuntu.piumarta.com>
254
* vm/config.cmake: Disable OpenGL and AGL if --without-gl.
256
* plugins/B3DAcceleratorPlugin/config.cmake: Disable plugin if
257
neither OPENGL nor AGL are available.
259
* cmake/configure (Usage): Document --without-gl and
260
--without-SUGAR in help message.
262
* vm/config.cmake: Configure SUGAR as 1 unless --without-SUGAR.
264
* plugins/SqueakFFIPrims/config.cmake: Correctly detect arch and
265
abi. Enable ASM language.
267
2009-08-31 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
269
* src/plugins/UnixOSProcessPlugin: Updated to version 20.
271
2009-08-30 <piumarta@ubuntu.piumarta.com>
273
* vm/sqUnixMain.c (main): squeakPlugin path defaults to VM
274
executable directory.
276
* plugins/SqueakFFIPrims/config.cmake: Explicitly include
277
generated source in plugin_sources.
279
* vm/sqUnixExternalPrims.c (ioLoadModule): squeakPlugins can
280
contain ':'-separated paths. Distinguish module and library
281
prefix and suffix. Try to load a module from each squeakPlugins
282
path with module prefix/suffix, then try dlopen() with no explicit
283
path and platoform's library prefix/suffix.
285
* vm/config.cmake: Configure {MODULE,LIBRARY}_{PREFIX,SUFFIX}.
286
Change default module prefix to "so.", suffix to "".
288
* vm/sqUnixMain.c (main): Default plugin location is VM directory.
290
2009-08-27 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
292
* cmake/squeak.in: Path and text encodings are UTF-8 unless
293
overridden by command-line options.
295
* cmake/configure (VM_VERSION): Generate automatically from
296
VMMaker version and SVN revision. Remove SQ_VERSION.
298
* vm/config.cmake: Extract major.minor.patch-release from
301
* CMakeLists.txt: Remove references to SQ_VERSION.
303
2009-08-27 <piumarta@ubuntu.piumarta.com>
305
* vm/build.cmake: Install squeak.sh.
307
* cmake/squeak.in: Deal with plugin path and pulseaudio; move menu
310
* cmake/squeak.sh.in: Added for launching from somewhere that
311
doesn't have a prompt.
313
2009-08-26 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
315
* plugins/Mpeg3Plugin/config.cmake: Added.
317
* CMakeLists.txt: Print C flags while configuring.
319
* cmake/Plugins.cmake: Recognise --without-PluginName for all
322
* src: Regenerate from Balloon3D-Plugins-ar.4.mcz
323
DBus-Plugin-bf.32.mcz GStreamer-Plugins-JMM.16.mcz
324
Kedama-Plugins-yo.1.mcz Rome-Plugin-yo.39.mcz
325
OSProcessPlugin-dtl.16.mcz
326
VMConstruction-Plugins-AioPlugin-dtl.9.mcz
327
VMConstruction-Plugins-XDisplayControlPlugin-dtl.7.mcz
330
2009-08-26 <piumarta@ubuntu.piumarta.com>
332
* vm-display-X11/sqUnixX11.c (x2sqModifier): Do not map Caps Lock
335
2009-08-26 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
337
* plugins/OggPlugin/config.cmake: Do not build OggPlugin on MacOS
338
X due to broken headers in the framework.
340
* plugins/SqueakFFIPrims/config.cmake: Add missing argument when
343
2009-08-26 <piumarta@netbsd.piumarta.com>
345
* vm-sound-Sun/config.cmake: Require stropts.h and Solaris OS.
347
* plugins/UUIDPlugin/config.cmake: Find libuuid but don't require it.
349
2009-08-26 <piumarta@solaris.piumarta.com>
351
* plugins/PseudoTTYPlugin/config.cmake: Check for libutil and
352
unix98 ptys independently.
354
* vm-sound-Sun/config.cmake: Fail if head missing in both
357
2009-08-27 Ian Piumarta <piumarta@freebsd.piumarta.com>
359
* plugins/GStreamerPlugin/config.cmake: Configure gstreamer via pkg-config.
361
2009-08-26 Ian Piumarta <piumarta@freebsd.piumarta.com>
363
* plugins/PseudoTTYPlugin/config.cmake: Disambiguate whether openpty found
364
in libc and in libutil.
366
2009-08-26 <piumarta@ubuntu.piumarta.com>
368
* plugins/SqueakFFIPrims/any-libffi.c: Include ffi.h unless
369
HAVE_FFI_FFI_H is defined.
371
* plugins/RomePlugin/config.cmake, plugins/UUIDPlugin/config.cmake,
372
plugins/SqueakFFIPrims/config.cmake, plugins/OggPlugin/config.cmake,
373
plugins/UnixOSProcessPlugin/config.cmake,
374
plugins/GStreamerPlugin/config.cmake, plugins/DBusPlugin/config.cmake,
375
plugins/SocketPlugin/config.cmake, vm-sound-ALSA/config.cmake,
376
vm-sound-NAS/config.cmake, vm-display-fbdev/config.cmake,
377
vm-sound-OSS/config.cmake: Use PLUGIN_FIND and PLUGIN_REQUIRE macros
378
wheverver possible. Remove explicit manipulation of include and library
381
* plugins/UUIDPlugin/sqUnixUUID.c: Assume include path set in
382
config.cmake as required.
384
* vm/config.cmake: Remove explicit test for /usr/pkg.
385
* vm/build.cmake: Search vm_include_directories and
386
vm_link_directories. Link against vm_link_libraries.
388
* cmake/PluginInternal.cmake, cmake/PluginExternal.cmake: Remove
389
CMAKE_REQUIRE_INCLUDES from include paths.
391
* cmake/Plugins.cmake: Add PLUGIN_FIND and PLUGIN_REQUIRE macros.
392
* cmake/Utils.cmake: Add macro LIST_APPEND.
394
2009-08-25 <piumarta@netbsd.piumarta.com>
396
* plugins/SqueakFFIPrims/config.cmake: Check for libffi via
397
pkf-config before eplicit search.
399
* vm/config.cmake: Add includes and libraries from /usr/pkg if present.
401
* cmake/PluginInternal.cmake, cmake/PluginExternal.cmake: Add
402
CMAKE_REQUIRED_INCLUDES to plugin INCLUDE_DIRECTORIES.
404
* cmake/Plugins.cmake: Add macros PLUGIN_DISABLE, PLUGIN_SOURCES,
405
PLUGIN_DEFINITIONS, PLUGIN_INCLUDE_DIRECTORIES,
406
PLUGIN_LINK_DIRECTORIES, PLUGIN_LINK_LIBRARIES.
408
* cmake/PluginExternal.cmake, cmake/PluginInternal.cmake: Set
409
definitions, include dirs and link dirs from configured values.
410
Add link directories before defining target.
412
* cmake/PluginExternal.cmake, cmake/Plugins.cmake,
413
cmake/PluginInternal.cmake, plugins/PseudoTTYPlugin/config.cmake,
414
plugins/PseudoTTYPlugin/build.cmake,
415
plugins/RomePlugin/config.cmake,
416
plugins/HostWindowPlugin/config.cmake,
417
plugins/UUIDPlugin/config.cmake, plugins/AioPlugin/build.cmake,
418
plugins/SqueakFFIPrims/config.cmake,
419
plugins/SqueakFFIPrims/build.cmake,
420
plugins/ImmX11Plugin/config.cmake, plugins/OggPlugin/config.cmake,
421
plugins/B3DAcceleratorPlugin/config.cmake,
422
plugins/B3DAcceleratorPlugin/build.cmake,
423
plugins/UnixOSProcessPlugin/config.cmake,
424
plugins/UnixOSProcessPlugin/build.cmake,
425
plugins/GStreamerPlugin/config.cmake,
426
plugins/DBusPlugin/config.cmake,
427
plugins/XDisplayControlPlugin/config.cmake,
428
plugins/XDisplayControlPlugin/build.cmake,
429
vm-sound-ALSA/config.cmake, vm-sound-NAS/config.cmake,
430
vm-display-X11/config.cmake, vm-display-X11/build.cmake,
431
vm-sound-MacOSX/config.cmake, vm-display-fbdev/config.cmake,
432
vm-display-Quartz/config.cmake, vm-display-Quartz/build.cmake,
433
vm-sound-OSS/config.cmake, vm-sound-Sun/config.cmake: Configure
434
build variables using new macros.
436
* plugins/DropPlugin/config.cmake, plugins/AioPlugin/config.cmake,
437
plugins/FloatMathPlugin/config.cmake: Configure build variables.
439
* plugins/RomePlugin/build.cmake, plugins/DropPlugin/build.cmake,
440
plugins/UUIDPlugin/build.cmake,
441
plugins/FloatMathPlugin/build.cmake, vm-display-fbdev/build.cmake:
442
Remove redundant build scripts.
444
2009-08-24 <piumarta@netbsd.piumarta.com>
446
* CMakeLists.txt: Set RPATH options appropriately for build and install.
448
* vm/config.cmake: Configure HAVE_DLOPEN instead of HAVE_LIBDL.
450
* vm/sqUnixMain.c, vm/dlfcn-dyld.c, vm/sqUnixExternalPrims.c: Test
451
HAVE_DLOPEN for dlopen() instead of HAVE_LIBDL.
453
* vm-display-X11/sqUnixX11.c: Test HAVE_DLFCN_H instead of
454
HAVE_LIBDL for presence of dlfcn.h.
456
2009-08-22 <piumarta@ubuntu.piumarta.com>
458
* plugins/SerialPlugin/sqUnixSerial.c: Pointers are passed as 'void *'
459
conforming to new SerialPlugin.h. Remove redundant casts.
461
2009-08-21 <piumarta@ubuntu.piumarta.com>
463
* CMakeLists.txt, cmake/Plugins.cmake,
464
plugins/SqueakFFIPrims/config.cmake, vm/config.cmake: Remove uses
465
of UNSET and REALPATH; reduce CMake required version to 2.6.2.
467
2009-08-19 <piumarta@ubuntu.piumarta.com>
469
* plugins/SerialPlugin/sqUnixSerial.c: Add support for named ports.
471
* plugins/RomePlugin/build.cmake: Add cross/plugins/SurfacePlugin
472
to include search path.
474
2009-08-19 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
476
* vm-display-X11/sqUnixXdnd.c: dprintf -> fdebugf.
477
* vm/dlfcn-dyld.c: dprintf -> fdebugf.
478
* vm/sqUnixExternalPrims.c: dprintf -> fdebugf.
480
* vm-sound-NAS/sqUnixSoundNAS.c: dprintf -> debugf.
481
* plugins/SqueakFFIPrims/x86-sysv.c: dprintf -> debugf.
482
* plugins/SqueakFFIPrims/ppc-sysv.c: dprintf -> debugf.
483
* plugins/SqueakFFIPrims/ppc-darwin.c: dprintf -> debugf.
484
* plugins/SqueakFFIPrims/ffi-test.c: dprintf -> debugf.
485
* plugins/SqueakFFIPrims/ffi-test-main.c: dprintf -> debugf.
486
* plugins/PseudoTTYPlugin/sqUnixPseudoTTYPlugin.c: dprintf -> debugf.
488
* vm/debug.c: __sq_dprintf -> __sq_debugf. Include stdlib.h for abort().
489
* vm/debug.h: dprintf -> debugf.
490
* plugins/MIDIPlugin/sqUnixMIDIALSA.inc: dprintf -> debugf.
491
* vm-display-Quartz/sqUnixQuartz.m: dprintf -> debugf.
492
* vm-display-fbdev/sqUnixFBDevFramebuffer.c: dprintf -> debugf.
493
* vm-display-fbdev/sqUnixFBDevKeyboard.c: dprintf -> debugf.
494
* vm-display-fbdev/sqUnixFBDevKeymap.c: dprintf -> debugf.
495
* vm-display-fbdev/sqUnixFBDevMouse.c: dprintf -> debugf.
496
* vm-display-fbdev/sqUnixFBDevMouseADB.c: dprintf -> debugf.
497
* vm-display-fbdev/sqUnixFBDevMousePS2.c: dprintf -> debugf.
498
* vm-sound-MacOSX/sqUnixSoundMacOSX.c: dprintf -> debugf.
499
* vm/sqUnixMemory.c: dprintf -> debugf.
501
2009-08-18 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
503
* config/config.h.in: Add HAVE_UUID_H, HAVE_UUID_UUID_H.
505
* plugins/OggPlugin/config.cmake: Fix typo.
506
* plugins/RomePlugin/build.cmake: Fix typo.
508
* plugins/RomePlugin/config.cmake: Properly detect pangocairo and freetype2.
510
2009-08-17 <piumarta@solaris.piumarta.com>
512
* vm/sqUnixCharConv.c: Print a useful error message from
513
iconv_open once, then disable further noise.
515
2009-08-17 Ian Piumarta <piumarta@freebsd.piumarta.com>
517
* vm-display-X11/config.cmake: Search X11_INCLUDE_DIR when looking
518
for X11/extentions/Xrender.h.
520
* vm-display-X11/build.cmake: Search X11_INCLUDE_DIR.
522
* plugins/B3DAcceleratorPlugin/build.cmake: Search
523
OPENGL_INCLUDE_DIR for headers.
525
* plugins/UUIDPlugin/sqUnixUUID.c: Look for both uuid.h and
528
* plugins/PseudoTTYPlugin/build.cmake: Add
529
unix/plugins/AsynchFilePlugin to include search path.
531
* plugins/PseudoTTYPlugin/config.cmake: Check manually for
532
/usr/include/libutil.h because FreeBSD cannot #include it alone.
534
2009-08-16 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
536
* vm/config.cmake: Always set OPENGL_* to X11 values; on MacOSX
537
set AGL_FOUND, AGL_INCLUDE_DIR and AGL_LIBRARIES to Quartz values.
539
* plugins/B3DAcceleratorPlugin/config.cmake: Set USE_X11_GLX, and
540
USE_QUARTZ_CGL based on OPENGL_FOUND and AGL_FOUND.
542
* vm-display-Quartz/build.cmake: Link against -framework Cocoa.
544
* vm-display-X11/build.cmake: Link against X11_LIBS and
547
2009-08-16 <piumarta@solaris.piumarta.com>
549
* plugins/SocketPlugin/config.cmake: Check for -lsocket and -lnsl.
551
2009-08-16 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
553
* vm/config.cmake: Check for -liconv on Solaris.
555
* plugins/SocketPlugin/config.cmake: Check for -lsocket on
558
* CMakeLists.txt: CMake variables can be set via 'configure'.
560
* vm/sqUnixExternalPrims.c (tryLoading): ignore directories
561
silently but always report the error when dlopen cannot open an
564
* vm/sqUnixEvent.c (recordKeyboardEvent): ensure keycode is
567
* vm/sqUnixCharConv.c (setNEncoding): Add setNEncoding function
568
on MacOSX to allow XImmPlugin to load without errors.
570
* vm/sqUnixMain.c (moduleDescriptions): reorder driver table
571
entries to restore correct default sound driver.
573
* doc/squeak.1: Update documentation URLs.
575
* plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h (GL_RENDERER_DEFINED):
576
Define GL_RENDERER_DEFINED at point of structure definition.
578
* plugins/SqueakFFIPrims/any-libffi.c: Include ffi.h or ffi/ffi.h
579
according to HAVE_FFI[_FFI]_H.
581
* config/config.h.in: Configure HAVE_FFI_H and HAVE_FFI_FFI_H.
583
* vm-sound-MacOSX/sqUnixSoundMacOSX.c (Stream_setFormat): Don't
584
set big-endian flag in sound format on little-endian machines.
586
* vm-sound-MacOSX/sqUnixSoundDebug.h: Turn off debugging.
588
2009-08-04 <piumarta@ubuntu.piumarta.com>
590
* vm/sqUnixMain.c (initTimers):
591
* vm-display-fbdev/sqUnixFBDevKeyboard.c (kb_initGraphics): Do not
592
set sa_restorer on Alpha.
594
2009-08-04 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
596
* config/acinclude.m4, config/aclocal.m4 (AC_64BIT_ARCH): Check
597
for DEC Alpha by looking for a host matching alpha*-*-osf*.
599
* vm/sqUnixMain.c: Check for __alpha__ and __osf__ before trying
600
to turn off unaligned access warnings on Digital Unix.
602
2009-08-02 <piumarta@solaris>
604
* vm-sound-Sun/sqUnixSoundSun.c: Use asynchronous i/o.
606
* plugins/SocketPlugin/sqUnixSocket.c (union sockaddr_any): Rename
607
sun to saun to avoid conflict with preprocessor symbol on Solaris.
608
Rename AF_LOCAL to AF_UNIX for portability.
610
2009-07-30 <piumarta@ubuntu.piumarta.com>
612
* config/acinclude.m4 (ac_optflags): Use a more
613
optimisation-resistant strategy to detect validity of access to
616
2009-07-29 <piumarta@ubuntu.piumarta.com>
618
* config/configure.ac: Version is 3.10-6.
620
* src/vm/interp.c: Regenerate from VMM-126.
622
* vm-display-X11/sqUnixX11.c (x2sqModifier): Differentiate between
623
shift pressed and caps lock engaged.
625
2009-05-26 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
627
* config/configure.ac: Version is 3.10-5
629
* plugins/SecurityPlugin/sqUnixSecurity.c: Add support for
630
read-only resource directory. Add writeFlag to functions
631
associated with resource directories.
633
* plugins/HostWindowPlugin/sqUnixHostWindowPlugin.c: Added.
635
* vm-display-Quartz/sqUnixQuartz.m,
636
vm-display-fbdev/sqUnixFBDev.c,
637
vm-display-custom/sqUnixCustomWindow.c,
638
vm-display-null/sqUnixDisplayNull.c: Add host window stubs.
640
* vm-display-X11/sqUnixX11.c: Add windowIndex arg to recWinEvt().
641
Add host window stubs. Warn (don't fail) if unconfigured options
642
-xshm/-xasync are used.
644
* vm/sqUnixEvent.c: Add windowIndex arg to recWinEvt() and evt
647
* vm/SqDisplay.h: Conditionally include sqUxOGL.h. Add host
648
window members. Bump minor version number.
650
2009-02-19 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
652
* vm-display-X11/sqUnixX11.c (display_ioSetCursorARGB): Convert
653
cursorBitsIndex from oop to pointer using pointerForOop.
655
2009-02-03 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
657
* vm-display-fbdev/sqUnixFBDevMousePS2.c (ms_ps2_disable): Check
658
success of write()s to mouse.
660
2008-11-24 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
662
* vm-display-fbdev/sqUnixFBDevMousePS2.c (ms_ps2_send,
663
ms_ps2_disable): Explicitly ignore return value from write().
665
2008-11-10 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
667
* config/configure.ac: Version is 3.10-4
669
* vm-display-X11/sqUnixXdnd.c (dndOutMotion, updateCursor): Handle
670
cursor changes during drag and drop.
672
* vm-display-X11/sqUnixX11.c (debugVisual): Make conditional on
674
(sendSelection): Ignore request if it came from drag and drop.
675
(getSelectionFrom): Translate LF -> CR in incoming text
677
(xkeysym2ucs4): OLPC 'view source' key generates 'Cmd-,'.
678
(x2sqModifier): LOCK reverses the meaning of SHIFT.
679
(initWindow): Try 24- and 16-bit visuals before 32-bit visuals to
680
avoid compositing problems. Accept default visual immediately if
682
(display_ioSetCursorWithMaskBig, display_ioSetCursorARGB): Add big
685
* plugins/LocalePlugin/sqUnixLocale.c: Fix handling of daylight
686
savings time and offset from UTC.
688
* plugins/DropPlugin/sqUnixDragDrop.c: Declare prototypes up
689
front, and other cosmetic changes.
691
2008-11-03 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
693
* src/plugins/OggPlugin: added sqOgg.c, OggPlugin.h
694
* src/plugins/GStreamerPlugin: added squeakAudioVideoPipeline
697
2008-05-09 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
699
* config/configure.ac: Version is 3.10-3.
701
* platforms/unix/src: Regenerate all with 32-/64-bit clean patches
704
2008-04-29 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
706
* config/configure.ac (CFLAGS): Add --hash-style option to
709
* vm-display-X11/sqUnixX11.c (xkeysym2ucs4): Translate
710
XF86XK_Start to 'ALT-,'.
712
2008-04-21 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
714
* config/configure.ac: Version is 3.10-2.
716
* vm-sound-ALSA/sqUnixSoundALSA.c: Add snd_GetSwitch, snd_SetSwitch,
719
* vm-display-X11/sqUnixXdnd.c (display_dndOutAcceptedType): Add
720
support for display_dndOutSend, display_dndOutAcceptedType.
722
* vm-display-X11/sqUnixX11.c (display_parseArgument): Add SUGAR
725
* vm-display-null/sqUnixDisplayNull.c: Add display_dndOutSend,
726
display_dndOutAcceptedType.
728
* vm-display-fbdev/sqUnixFBDev.c: Add display_dndOutSend,
729
display_dndOutAcceptedType.
731
vm-display-custom/sqUnixCustomWindow.c (display_dndOutAcceptedType):
732
Add display_dndOutSend, display_dndOutAcceptedType.
734
* vm/sqUnixMain.c: Add dndOutAcceptedType, dndOutSend.
736
* vm/SqSound.h (struct SqSound): Add snd_GetSwitch, snd_SetSwitch,
739
* vm/SqDisplay.h (struct SqDisplay): add dndOutAcceptedType,
742
* plugins/SoundPlugin/sqUnixSound.c: Add mixer support.
744
* plugins/DropPlugin/sqUnixDragDrop.c (sqDndOutAcceptedType): Add
745
sqDndOutAcceptedType and sqDndOutSend to support drag data request
748
* Cross/vm/sq.h: Define DragRequest to support data request from
751
* Cross/plugins/DropPlugin/DropPlugin.h: add sqDragTriggerData to
752
support drag request from external app.
754
* Cross/plugins/SoundPlugin/SoundPlugin.h: add mixer interface.
755
Convert C++ comments to C comments.
757
2008-04-14 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
759
* config/configure.ac: Version is 3.10-2 adds Aio, ImmX, Kedama
762
* vm-display-X11/sqUnixX11.c (xkeysym2ucs4,
763
x2sqKeyCompositionInput): Move declaration from middle of
766
* plugins/ImmX11Plugin/acinclude.m4: Added.
768
2008-04-10 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
770
* config/configure.ac: Version is 3.10-1 generated from 3.10-7159.
772
* doc/squeak.1: Update with current options and environment
775
* vm-display-X11/sqUnixX11.c: Repair cursor keys. Add
776
-compositioninput and SQUEAK_COMPOSITIONINPUT option to enable
777
overlay window for composed characters.
779
* vm/Makefile.in: Convert CR to LF in interp.c before
782
2008-03-22 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
784
* vm-display-Quartz/sqUnixQuartz.m (setUpWindow): call
785
setUpDisplay() early if fullscreen, to keep window on correct
786
screen of multi-head machines.
788
2008-03-20 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
790
* vm/sqUnixCharConv.c, vm/sqUnixCharConv.h: Support locale
793
* vm/sqUnixMain.c: Set locale encoding from LC_CTYPE.
795
* vm-display-X11/sqUnixX11.c: Support locale, dead keys, multikey
796
characters and input context overlay window. Add -xicfont option.
798
2008-01-22 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
800
* vm-sound-ALSA/sqUnixSoundALSA.c (sound_parseEnvironment):
801
SQUEAK_PLAYBACK and SQUEAK_CAPTURE set sound_playback and
804
2007-10-12 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
806
* vm-display-Quartz/sqUnixQuartz.m ([Squeak -interpret:]): Squash unused
807
warning for recordWindowEvent().
809
* vm-display-fbdev/sqUnixFBDev.c (display_winInit): Squash unused
810
warning for recordWindowEvent().
812
* npsqueak/Makefile: Remove duplicate 'LDFLAGS ='.
814
2007-10-11 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
816
* vm-display-X11/sqUnixX11.c (handleEvent): Record key events when
817
ucs4 is valid even if keyCode is not.
819
2007-09-14 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
821
* vm-display-X11/sqUnixX11.c (xkeysym2ucs4): Added.
822
(handleEvent): Mouse wheel pseudokeys pass ASCII value as ucs4 to
823
recordKeyboardEvent(). Keyboard events send UCS4 code to
824
recordKeyboardEvent().
826
* vm-display-fbdev/sqUnixFBDev.c (enqueueKeyboardEvent): Pass
827
ASCII value ucs4 to recordKeyboardEvent().
829
* vm/sqUnixEvent.c (recordKeyboardEvent): Initialise utf32code
832
2007-09-07 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
834
* config/config.h.in: Remove include of "glibc.h".
836
* vm/sqUnixEvent.c (recordWindowEvent): Accept arguments for
839
* npsqueak/npsqueakregister.in: Pass '-H' (follow links) to 'find'.
841
* vm-display-X11/sqUnixMozilla.c (display_primitivePluginPostURL):
844
* vm-display-X11/sqUnixX11.c: Add support for dragging out of
847
* vm-display-X11/acinclude.m4: Test for GLX before enabling GL.
848
Test for XRender extension.
850
* vm-display-X11/sqUnixXdnd.c: Added support for dragging out of
853
* config/config.h.in: HAVE_LIBXRENDER added.
856
* vm-display-X11/sqUnixX11.c:
857
* vm-display-Quartz/sqUnixQuartz.m:
858
* vm-display-null/sqUnixDisplayNull.c:
859
* vm-display-custom/sqUnixCustomWindow.c:
860
* vm/sqUnixMain.c: Added: clipboardGetTypeNames,
861
clipboardSizeWithType, clipboardWriteWithType, dndOutStart,
864
* vm/sqUnixMain.c (sqGetFilenameFromString): Translate path name
867
2007-08-31 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
869
* vm-display-X11/sqUnixX11.c (initWindow): Add WM_DELETE_WINDOW to
870
main window WM_PROTOCOLS.
871
(handleEvent): ClientMessage with WM_DELETE_WINDOW sends
872
WindowEvent(action=Close) to image.
874
* vm/sqUnixEvent.c (allocateWindowEvent): Added.
875
(recordWindowEvent): Added.
877
2007-07-16 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
879
* plugins/LocalePlugin/sqUnixLocale.c: Added.
881
2007-07-13 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
883
* config/configure.ac: Version is 3.9-12.
885
* src: Negative oop comparison patches from Dave Lewis
888
2007-06-07 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
890
* config/configure.ac: Version is 3.9-11.
892
* plugins/SocketPlugin/sqUnixSocket.c: Implemented IPv6
895
2007-03-25 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
897
* plugins/MIDIPlugin/Makefile.inc (XLDFLAGS): MIDIPlugin.so
898
depends on libasound.
900
2007-03-11 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
902
* plugins/MIDIPlugin/acinclude.m4: Check for MIDI support via
905
* plugins/MIDIPlugin/sqUnixMIDI.c: Determine available MIDI
906
support and include appropriate source file.
908
* plugins/MIDIPlugin/sqUnixMIDINone.c: Created from sqUnixMIDI.c.
910
* plugins/MIDIPlugin/sqUnixMIDIALSA.c: ALSA-based support added.
912
* config/config.h.in: Add USE_MIDI_ALSA.
914
2007-03-07 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
916
* plugins/SerialPlugin/sqUnixSerial.c: Speeds >2500k are
917
conditional on symbolic name being defined.
919
2007-02-19 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
921
* vm-display-X11/sqUnixX11.c (display_ioGLcreateRenderer):
922
Explicitly set border pixel.
923
(xError): Print error message, request opcode and serial number.
925
2006-12-11 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
927
* vm-sound-ALSA/sqUnixSoundALSA.c: Attempt to reduce output
928
latency by searching on buffer size that just avoids underrun.
930
* plugins/VideoForLinuxPlugin/palettes.c: Add YUYV format
933
* plugins/VideoForLinuxPlugin/acinclude.m4: Include stdlib before
934
videodev to work around GNU/Linux header bug.
936
2006-12-04 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
938
* plugins/UnixOSProcessPlugin/acinclude.m4: Require pthreads.
940
2006-12-01 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
942
* plugins/VideoForLinuxPlugin: update palette.c, videolib.[ch].
944
2006-11-30 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
946
* config/configure.ac: Version is 3.9-10.
948
* config/configure.ac (ext_plugins): add VideoForLinuxPlugin.
950
* plugins/VideoForLinuxPlugin: Added.
952
* vm-sound-ALSA/sqUnixSoundALSA.c: Save and restore SIGIO
953
handler (since ALSA doesn't bother to restore it correctly).
955
* vm/sqGnu.h: Don't assign register vars on Darwin-i386.
957
2006-10-13 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
959
* vm-sound-ALSA/sqUnixSoundALSA.c: Prepare output_handle after
960
snd_pcm_avail_update failure.
962
* vm-display-Quartz/sqUnixQuartz.m: Disable spin lock on non-PPC
965
2006-10-10 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
967
* vm/sqUnixMain.c: Linux sounds defaults to ALSA.
969
* vm/sqUnixCharConv.c: Solaris uses "iso5" external charset.
971
* vm-sound-ALSA/sqUnixSoundALSA.c: Implement mixer functions.
973
* vm/sqUnixMain.c: -nomixer is no longer deprecated.
975
* vm/sqUnixMain.c: PATH_MAX -> MAXPATHLEN.
977
* vm/aio.c: If O_ASYNC missing try on FASYNC followed by FIOASYNC.
979
2006-09-21 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
981
* vm-sound-ALSA/sqUnixSoundALSA.c (sound_Start): EPIPE is not a
982
fatal error suring sound startup.
984
2006-09-19 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
986
* plugins/SecurityPlugin/sqUnixSecurity.c (ioInitSecurity): Set
987
secure directory from SQUEAK_SECUREDIR if set, otherwise
988
implicitly from image path.
990
2006-09-18 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
992
* npsqueak/Makefile (npsqueak.so): Delete target before making
993
hard link to libtool output file.
995
* config/Makefile.install (install-doc): Ignore errors when
996
compressing documentation.
998
2006-09-17 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1000
* vm-sound-ALSA: Add support for ALSA sound output.
1002
* vm-display-X11/sqUnixX11.c: Only refer to completions and
1003
useXshm when USE_XSHM defined.
1005
2006-09-15 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1007
* vm-display-X11/sqUnixX11.c (handleEvent): Redraw display when
1008
visibility changes to a less obscured state. (Disabled by
1011
* vm/sqGnu.h: Don't assign %ebx to CB_REG on Darwin-i386.
1013
* npsqueak/Makefile: Use libtool to build browser plugin.
1015
2006-06-05 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1017
* plugins/FilePlugin/sqUnixFile.c (dir_Delete): Invalidate cached
1018
info when deleting lastPath.
1020
2006-04-24 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1022
* vm/acinclude.m4: Add CoreServices framework to link libs on
1025
* vm/sqUnixMain.c (sqGetFilenameFromString): Resolve links and
1026
aliases if resolveAliases is nonzero.
1028
* vm/mac-alias.c: Added.
1030
* plugins/AioPlugin/Makefile.inc (XCPPFLAGS): XCPPFLAGS defines
1033
* vm/sqUnixMain.c (ioRelinquishProcessorForMicroseconds): Reset
1034
interruptCheckCounter iff > 1/25 sec has elapsed.
1036
----------------------------------------------------------------
1038
2006-04-23 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1042
* vm/sqUnixMain.c (ioRelinquishProcessorForMicroseconds): Reset
1043
interrupt check counter at end of sleep.
1045
* config/config.h.in: Add HAVE_NANOSLEEP.
1047
* vm/acinclude.m4: Define HAVE_NANOSLEEP if nanosleep() available.
1049
* vm/aio.c (aioSleep): For small timeouts always nanosleep() if
1052
* vm/sqUnixMain.c (ioRelinquishProcessorForMicroseconds): Obey the
1053
requested timeout without testing for overdue wakeup ticks.
1055
----------------------------------------------------------------
1057
2006-04-19 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1061
* doc/3.9-4.RELEASE_NOTES: Created.
1063
2006-04-18 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1065
* plugins/FloatMathPlugin/Makefile.inc (CFLAGS): Define NO_ISNAN=1.
1067
* vm-display-X11/sqUnixX11.c (handleEvent): Suppress reporting key
1068
up when KeyRelease event is from autorepeat.
1070
2006-04-17 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1072
* vm/aio.c (aioSleep): Sleep in aioPoll (i.e, select) or
1073
nanosleep, for timeouts < 1 timeslice.
1075
* vm/sqUnixMain.c (ioRelinquishProcessorForMicroseconds):
1076
Nanosecond sleep moved to aioSleep().
1078
* vm-display-X11/sqUnixX11.c (display_ioRelinquishProcessorForMicroseconds):
1079
* vm-display-Quartz/sqUnixQuartz.m (display_ioRelinquishProcessorForMicroseconds):
1080
* vm-display-null/sqUnixDisplayNull.c (display_ioRelinquishProcessorForMicroseconds):
1081
* vm-display-fbdev/sqUnixFBDev.c (display_ioRelinquishProcessorForMicroseconds):
1082
* vm-display-custom/sqUnixCustomWindow.c (display_ioRelinquishProcessorForMicroseconds):
1083
Call aioSleep() instead of aioPoll().
1085
2006-04-14 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
1087
* vm/aio.c (aioInit): SIGIO handled by forceInterruptCheck().
1089
* vm/aio.c (aioEnable): Set ASYNC on internal descriptors.
1091
* vm/sqUnixMain.c (ioRelinquishProcessorForMicroseconds): Don't
1092
nanosleep if events can be processed.
1094
* vm/aio.c (FPRINTF): Absolute and relative timestamps on debug
1097
* plugins/SocketPlugin/sqUnixSocket.c (FPRINTF): Absolute and
1098
relative timestamps on debug messages.
1100
* plugins/SocketPlugin/sqUnixSocket.c (socketOptions): Enable
1103
2006-04-10 Ian Piumarta <ian.piumarta@squeakland.org>
1105
* src: Regeneratated.
1107
2006-04-06 Ian Piumarta <ian.piumarta@squeakland.org>
1109
* config/acinclude.m4: Define VM_BUILD_STRING.
1111
* config/config.h.in: Declare VM_BUILD_STRING.
1113
* vm/sqUnixMain.c (getAttribute): Answer VM_BUILD_STRING for
1116
* sqMemoryAccess.h: Clean up recent edits. Rename
1117
INLINING_WORKS_FOR_SMALL_ACCESSORS -> USE_INLINE_MEMORY_ACCESSORS.
1119
* plugins/UUIDPlugin/acinclude.m4: Require <uuid/uuid.h>. Link
1120
against libuuid, if present.
1122
* plugins/UUIDPlugin/sqUnixUUID.c: Implemented.
1124
2006-04-05 Ian Piumarta <ian.piumarta@squeakland.org>
1126
* UnixOSProcessPlugin.c (SQAIO_H): Rename aio.h -> sqaio.h.
1128
* vm-display-Quartz/sqUnixQuartz.m (noteKeyboardEvent): Set
1129
utf32code to 0, for now.
1131
* vm/sqUnixMain.c (ioGatherEntropy): Implemented.
1133
* plugins/SocketPlugin/sqUnixSocket.c (sqSocketBindToPort)
1134
(sqSocketSetReusable): Implemented.
1136
* vm/sqUnixMain.c (sqGetFilenameFromString): Copy input to
1139
----------------------------------------------------------------
1141
2005-03-31 Ian Piumarta <ian.piumarta@squeakland.org>
1145
2005-03-31 Ian Piumarta <ian.piumarta@squeakland.org>
1147
* platforms/Cross/plugins/SocketPlugin/SocketPlugin.h: 64-bit clean.
1148
* plugins/SocketPlugin/sqUnixSocket.c: 64-bit clean.
1150
----------------------------------------------------------------
1152
2005-03-29 Ian Piumarta <ian.piumarta@squeakland.org>
1154
* Initial 64-bit merge complete.
1156
2005-03-29 Ian Piumarta <ian.piumarta@squeakland.org>
1158
* platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/motion.c (mpeg3video_calc_dmv):
1159
Don't inline on Solaris.
1161
* platforms/Cross/plugins/FilePlugin/sqFilePluginBasicPrims.c: Fix
1162
unaligned accesses to 64-bit members of SQFile.
1164
* platforms/Cross/vm/sqVirtualMachine.c: 64-bit cleaned.
1166
* platforms/Cross/vm/sqMemoryAccess.h: Conditionally include
1167
"interp.h"; warn obnoxiously if missing.
1169
* platforms/Cross/vm/sq.h: Thorough cleanup.
1171
* plugins/SecurityPlugin/sqUnixSecurity.c (ioInitSecurity):
1172
Obey SQUEAK_USERDIR if set.
1174
* vm/sqUnixMemory.c (sqAllocateMemory): Answer an oop (not a
1177
* vm/sqPlatformSpecific.h: Allocation anwsers an oop (not a
1178
pointer); undefine prim dispatch nonsense left over from sq.h;
1181
* vm/sqUnixExternalPrims.c: Fix uses of sprintf() when snprintf()
1182
missing. Cosmetic improvements.
1184
* vm-sound-OSS/sqUnixSoundOSS.c: 64-bit cleaned.
1186
* config/Makefile.install (install-doc): Deal with compressed
1189
* config/acinclude.m4 (ac_optflags): Compiler flags default to
1192
* config/config.h.in: Set HAVE_ALLOCA, HAVE_ALLOCA_H, and
1195
* config/configure.ac: Detect alloca() and interp.h; add src/vm to
1198
* config/gnuify: Use 64-bit types.
1200
* Cross/plugins/Mpeg3Plugin/libmpeg/video (mpeg3video_calc_dmv):
1201
don't inline on Solaris.
1203
----------------------------------------------------------------
1205
2005-03-19 Ian Piumarta <ian.piumarta@squeakland.org>
1209
2005-03-19 Ian Piumarta <ian.piumarta@squeakland.org>
1211
* config/configure.ac (INCLUDES): Version is 3.7-7.
1213
* config/acinclude.m4 (ac_optflags): Default optimisation flags are '-O'.
1215
* config/configure.ac (INCLUDES): Check for alloca().
1217
* plugins/UnixOSProcessPlugin/acinclude.m4: Check for libc::unsetenv().
1219
* plugins/AioPlugin/Makefile.inc (XCPPFLAGS): Search FilePlugin
1220
and SocketPlugin for includes.
1222
2005-03-17 Ian Piumarta <ian.piumarta@hp.com>
1224
* src: Imported from generated sources.
1225
* README, README.SVN: Updated.
1226
* Makefile: Added for 'easy build'.
1227
* doc/HowToBuildFromSource.*: Updated URIs and revised for 'easy build' instructions.
1229
npsqueak/npsqueak.c,
1230
plugins/SqueakFFIPrims/00README,
1231
vm-display-Quartz/Resources/SqueakHelp/SqueakHelp.html,
1232
vm-display-fbdev/00_README.fbdev: E-mail and URL contact details updated.
1233
* config/configure.ac: Version is 3.7g-6.
1235
2005-03-16 Ian Piumarta <ian.piumarta@hp.com>
1237
* README.SVN (added): Brief instructions for SVN source builds.
1238
* doc/squeak.1: Update URLs and email addresses.
1240
2005-03-15 Ian Piumarta <ian.piumarta@hp.com>
1242
* vm/sqUnixMain.c (getImageName): Getter for global variable,
1245
2005-03-09 Ian Piumarta <ian.piumarta@hp.com>
1247
* vm/sqUnixEvent.c (recordMouseEvent): Clear windowIndex field in
1250
* vm-display-Quartz/sqUnixQuartz.m (noteMouseEvent): Clear
1251
windowIndex field in events.
1253
2005-03-09 Bert Freudenberg <bert@squeakland.de>
1255
* platforms/unix/npsqueak: Check for image file in system and home
1256
dir. Modifications to npsqueakrun, runs with bash, other shells
1257
untested. Make sure Squeak really gets killed. Fixed browser
1258
crash when closing plugin page.
1260
* platforms/unix/plugins/SecurityPlugin/sqUnixSecurity.c: Check
1261
for SQUEAK_USERDIR, otherwise untrusted dir is 'My Squeak'.
1263
2005-03-09 Ian Piumarta <ian.piumarta@hp.com>
1265
* platforms/unix/config/Makefile.install: NPSqueak (un)install
1266
changes as suggested by Bert.
1268
* platforms/unix/config/configure.ac: Version 3.7b-6.
1270
2004-05-26 Ian Piumarta <ian.piumarta@hp.com>
1272
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c (findOption):
1273
Nul-terminate the converted option name before looking it up.
1275
2004-04-17 Ian Piumarta <ian.piumarta@hp.com>
1277
* platforms/unix/vm/sqPlatformSpecific.h: Include <unistd.h>.
1278
Define sqFTruncate().
1280
2004-04-12 Ian Piumarta <ian.piumarta@hp.com>
1282
* platforms/unix/config/gnuify: Insert #error into output file if
1285
* platforms/unix/vm-display-fbdev/Makefile.in ($(TARGET)): Remove
1286
$(X_LIBS) from the link command.
1288
2004-04-11 Ian Piumarta <ian.piumarta@hp.com>
1290
* platforms/unix/config/gnuify: Escape all occurences of '{'
1291
within regular expressions.
1293
2004-04-10 Ian Piumarta <ian.piumarta@hp.com>
1295
* platforms/unix/config/gnuify: Remove gnu specifics.
1297
2004-04-06 Ian Piumarta <ian.piumarta@inria.fr>
1299
* platforms/unix/config/configure.ac: Version is 3.7b-5.
1301
* platforms/unix/npsqueak/npsqueak.c: Add failureUrl to SqueakPlugin struct.
1302
(NPP_New): Check for and use explicit imageName.
1303
(NPP_New): Check for explicit failureUrl.
1304
(NPP_New): Check for access on imageName, set failureUrl if missing.
1305
(NPP_NewStream): Redirect to failureUrl if set.
1306
(Run): Do not start VM if failureUrl set.
1308
2004-04-04 Ian Piumarta <ian.piumarta@inria.fr>
1310
* platforms/unix/vm-display-X11/sqUnixXdnd.c: New file.
1311
XDND-based drag-and-drop support.
1313
* platforms/unix/vm-display-X11/sqUnixX11.c: New option "-noxdnd"
1314
with attendant flag, command-line option, env var, and help entry.
1315
Include "sqUnixXdnd.c" appropriately.
1316
(handleEvent): Pass SelectionNotify to dnd if enabled.
1317
(handleEvent): Pass ClientMessage to dnd if enabled.
1318
(initWindow): Add EnterWindowMask to stParent event_mask if dnd
1320
(initWindow): Call dndInitialise() if dnd enabled.
1322
2004-04-03 Ian Piumarta <ian.piumarta@inria.fr>
1324
* platforms/unix/vm/dlfcn-dyld.c (dlsym): Don't automatically
1325
return on error from NSIsSymbolNameDefinedInImage().
1326
(dlinit): Install error handlers for multiply-defined symbols to
1327
choose definition from most recently loaded plugin.
1329
2004-04-02 Ian Piumarta <ian.piumarta@inria.fr>
1331
* platforms/unix/vm-sound-NAS/Makefile.inc (PLIBS): Add -laudio to
1334
* platforms/unix/config/acinclude.m4: Quote all macro names in
1337
* platforms/unix/vm/sqGnu.h: Use __asm__() instead of asm().
1339
* platforms/unix/vm-display-fbdev/sqUnixFBDev.c (DEBUG): Only
1340
define if not already defined.
1342
* platforms/unix/vm-display-X11/sqUnixX11.c: Remove unused globals
1343
'current' and 'allRenderer'.
1344
(sendSelection): Clean up targets[] initialisation.
1345
(sendSelection): Clean up list[] initialisation.
1346
(getSelectionFrom): Remove unused variable 'xreturn'.
1347
(display_ioGLcreateRenderer): Remove unused variable 'index'.
1348
(printVisual): Reset gl error flag at end.
1349
(display_winOpen): Get saved window size only if debugging.
1350
(display_printUsage): Add new flag '-glxdebug'.
1351
(display_parseArgument): Add new flag '-glxdebug'.
1353
* platforms/unix/vm/sqUnixMain.c (ioRelinquishProcessorForMicroseconds):
1354
Calculate relinquish time only if a delay is pending.
1356
* platforms/unix/vm/sqUnixExternalPrims.c (ioFindExternalFunctionIn):
1357
Squash error messages for shutdownModule when sqIgnorePluginErrors
1360
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c: Additional
1361
checks for null privateSocketStruct.
1363
----------------------------------------------------------------
1365
2004-04-02 Ian Piumarta <ian.piumarta@inria.fr>
1369
2004-04-02 Ian Piumarta <ian.piumarta@inria.fr>
1371
* vm-sound-MacOSX/sqUnixSoundMacOSX.c: Substantial rewrite for OS
1374
* vm-display-fbdev/sqUnixFBDevMousePS2.c: Increase all timeouts to
1377
* vm-display-fbdev/sqUnixFBDevKeyboard.c: Add diagnostic code.
1379
* vm-display-fbdev/sqUnixFBDevFramebuffer.c: Use accessors for all
1380
struct members. Fix problems when xres * bytesPerPix != bytes per
1383
* vm-display-fbdev/sqUnixFBDev.c: Add diagnostic code.
1385
* vm-display-X11/sqUnixX11.c (initCharmap): Fix prototype.
1386
(x2sqKeyInput): Print more useful diagnostic on setlocale()
1389
* vm-display-X11/Makefile.in (XINCLUDES): Include
1390
/usr/X11R6/include explicitly.
1392
* vm/sqUnixMain.c: Add runInterpreter (for display modules to
1393
inhibit entry to interpreter loop). Reinstate -nomixer as a
1396
* vm/sqUnixCharConv.c: Use Solaris encoding names on Sparc.
1398
* vm/glibc.h: Force all ctype operations to functions. Alias
1399
realpath() to glibc version 2.0.
1401
* plugins/SocketPlugin/sqUnixSocket.c (sqSocketConnectionStatus):
1402
Don't check for connection closed by peer.
1404
2003-10-28 Ian Piumarta <ian.piumarta@inria.fr>
1406
* platforms/unix/plugins/FilePlugin/sqUnixFile.c: Use ctime for
1407
creationDate and mtime for modificationDate (consistent with 'ls
1410
2003-09-16 Ian Piumarta <ian.piumarta@inria.fr>
1412
* platforms/unix/doc/squeak.1: Updated for '-nointl',
1413
SQUEAK_NOINTL, and LC_CTYPE/LC_ALL.
1415
* platforms/unix/vm-display-X11/sqUnixX11.c: Make x2sqKey a
1417
(x2sqKeyInput): Add support for international keyboards and
1418
diacritical marks via dead keys.
1419
(display_parseEnvironment): Enable international support if either
1420
LC_CTYPE or LC_ALL is set in the environment.
1421
(display_parseEnvironment): SQUEAK_NOINTL disables international
1423
(display_parseArgument): '-nointl' disables international support.
1424
(display_printUsage): Add help for '-nointl' option.
1426
2003-09-05 Ian Piumarta <ian.piumarta@inria.fr>
1428
* platforms/unix/vm-display-X11/sqUnixX11.c
1429
(display_parseArgument): Fix browserPipes argv indices.
1430
(display_parseArgument): Add missing comma in debug printf().
1432
2003-09-03 Ian Piumarta <ian.piumarta@inria.fr>
1434
* platforms/unix/vm-display-Quartz/sqUnixQuartz.m (setUpDock):
1435
Remove warning for CPSEnableForegroundOperation, which always
1436
fails -- even when it succeeds.
1438
* platforms/unix/config/configure.ac: Version 3.6-beta11 3.6b-5411.
1440
* platforms/unix/vm/sqGnu.h (PRIM_DISPATCH): Changes for global struct.
1441
(GP_REG): Enable for PowerPC.
1443
* platforms/unix/plugins/PseudoTTYPlugin/sqUnixPseudoTTYPlugin.c
1444
(ptyForkAndExec): Add diagnostic dprintf().
1446
* platforms/unix/config/gnuify: Insert GP_REG for global struct in
1447
interpret(). Recognise optional 'foo->' before primitiveIndex for
1448
prim dispatch rewrite.
1450
* platforms/unix/config/config.h.in: Add HAVE_LIBUTIL_H for pty
1453
* platforms/unix/vm/sqUnixExternalPrims.c
1454
(ioFindExternalFunctionIn): Suppress warning for missing
1455
"setInterpreter" or "getModuleName".
1457
2003-09-02 Ian Piumarta <ian.piumarta@inria.fr>
1459
* platforms/Cross/plugins/B3DAcceleratorPlugin/sqOpenGLRenderer.c:
1460
Fix ARGB vs. RGBA problem and adhere to glColorMaterial
1463
* platforms/unix/vm/sqUnixMain.c: Emergency dump conditional on
1464
IMAGE_DUMP (default is disasbled at compiled time).
1466
* platforms/unix/vm/sqUnixMain.c (ioProcessEvents): Create a
1467
synchronous emergency image dump after SIGHUP received.
1468
(sigquit): Create an asynchronous emergency image dump when
1469
SIGQUIT received. (Disabled at compile time by default.)
1471
* platforms/unix/vm-display-Quartz/sqUnixQuartz.m
1472
([Squeak -sendEvent:]): Add inverted CtrlKeyBit to modifiers for
1475
2003-09-01 Ian Piumarta <ian.piumarta@inria.fr>
1477
* platforms/unix/config/configure.ac: Version 3.6-beta9.
1479
* platforms/Cross/plugins/SocketPlugin/SocketPlugin.h
1480
(sqSocketListenOnPortBacklogSizeInterface): Added.
1482
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
1483
(sqSocketListenOnPortBacklogSizeInterface): Add i/f address
1485
(sqSocketListenOnPortBacklogSize): Punt to above with INADDR_ANY.
1487
2003-08-31 Ian Piumarta <ian.piumarta@inria.fr>
1489
* platforms/unix/config/configure.ac: Version 3.6-beta8 3.6b-5402.
1491
* platforms/unix/config/Makefile.install (install-squeak)
1492
(uninstall-squeak): (Un)install app icons on Darwin.
1494
* platforms/unix/config/make.cfg.in (VM_APP_ICONS): Define
1497
* platforms/unix/config/configure.ac: Define and export
1498
VM_APP_ICONS for Darwin.
1500
* platforms/unix/vm-display-Quartz/sqUnixQuartz.m: Remove explicit
1501
init of dock icon. Only setIcon if !fromFinder.
1502
([SqueakWindow -setIcon]): Try to find icon file in cwd, vmlibdir
1505
* platforms/unix/config/inisqueak.in: Run the VM if Squeak is
1508
2003-08-30 Ian Piumarta <ian.piumarta@inria.fr>
1510
* util/Squeak-vm.spec, util/Squeak-image.spec,
1511
util/Squeak-sources.spec (%install): Install everything as
1514
* platforms/unix/config/make.cfg.in (INSTALL_PROG, INSTALL_DATA):
1515
Pass $(INSTALL_ARGS) to install program.
1517
* platforms/unix/config/configure.ac: Version 3.6-beta7.
1519
* platforms/unix/vm-display-Quartz/Info.plist.in: Modify icon
1522
* platforms/unix/vm-display-X11/sqUnixX11.c (_renderContext)
1523
(_renderWindow): Lvalue companions to render{Window,Context}().
1525
* platforms/unix/vm/sqUnixMain.c (jitArgs): Change // comments to
1528
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c (_PSP):
1529
Lvalue companion to PSP().
1531
2003-08-23 Ian Piumarta <ian.piumarta@inria.fr>
1533
* platforms/unix/config/Makefile.in ($(squeak)): Reduce verbiage.
1535
* platforms/unix/vm-display-X11/sqUnixX11.c (handleEvents): Don't
1536
reset interrupt check counter.
1538
* platforms/unix/vm-display-Quartz/Resources/SqueakHelp/SqueakHelp.html:
1539
Explain where to put image/sources files.
1541
* platforms/unix/vm/aio.c (aioPoll): Bound total interrupted
1542
select() waiting time by the original timeout.
1544
* platforms/unix/vm-display-Quartz/sqUnixQuartz.m
1545
([Squeak -applicationDidFinishLaunching:]): Don't reset the vmPath
1548
* platforms/unix/vm/sqUnixMain.c (recordFullPathForVmName): stat()
1549
the result of readlink() to avoid embarassement on early linux
1551
(ioRelinquishProcessorForMicroseconds): Really sleep for < 1
1552
timeslice then poll for i/o on Mach.
1554
* util/Makefile.rpm (%.spec): Unconditional rebuild.
1556
* platforms/unix/vm-display-X11/sqUnixX11.c
1557
(handleEvents): Return true if there are events waiting in the
1559
(display_ioRelinquishProcessorForMicroseconds): Don't block if
1560
handleEvents returns true.
1562
* platforms/unix/vm-display-Quartz/sqUnixQuartz.m (qz2sqButton):
1563
Enable button mapping for 3-button mice.
1565
* platforms/unix/vm/sqUnixMain.c (recordFullPathForVmName): Read
1566
absolute path of executable out of /proc on Linux.
1568
* platforms/unix/vm/sqUnixExternalPrims.c: vmLibDir moved to sqUnixMain.
1570
2003-08-22 Ian Piumarta <ian.piumarta@inria.fr>
1572
* platforms/unix/vm/sqUnixMain.c (ioRelinquishProcessorForMicroseconds):
1573
Cap the sleep time if it's larger than the time to next wakeup tick.
1574
(ioMSecs): Resync lowResMSecs on every call.
1576
2003-08-21 Ian Piumarta <piumarta@felina.inria.fr>
1578
* platforms/unix/doc/squeak.1: Add entries for -vtlock/-vtswitch
1579
and equivalent environment variables.
1581
* platforms/unix/vm-display-fbdev/sqUnixFBDev.c:
1582
* platforms/unix/vm-display-fbdev/sqUnixFBDevKeyboard.c: Add
1583
support for vt switching.
1585
* platforms/unix/doc/squeak.1: Update '-kbmap' for changed keymap
1588
* platforms/unix/vm-display-fbdev/sqUnixFBDev.c
1589
(display_printUsage): Update printUsage() for changed keymap
1592
* platforms/unix/vm-display-fbdev/sqUnixFBDevKeymap.c (kb_initKeyMap):
1593
Load default keymap from kernel rather than from fixed data.
1595
2003-08-20 Ian Piumarta <ian.piumarta@inria.fr>
1597
* platforms/unix/vm/glibc.h: Eliminate glibc2.3 dependencies on
1598
toupper() and realpath().
1600
* platforms/unix/config/config.h.in: Include "glibc.h" if
1603
* platforms/unix/config/configure.ac: Check for <features.h>.
1605
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c: Set socket
1606
fd to -1 on close. Don't attempt to re-close sockets with fd < 0.
1608
* platforms/unix/vm/aio.c (aioEnable, aioHandle, aioSuspend,
1609
aioDisable): Ignore descriptors < 0.
1611
* platforms/unix/vm-display-fbdev: Framebuffer display driver added.
1613
2003-08-14 Ian Piumarta <ian.piumarta@inria.fr>
1615
* src/plugins/XDisplayControlPlugin/XDisplayControlPlugin.c:
1616
Generate new plugin source.
1618
* src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c:
1619
Regenerate source from version 3.1.1.
1621
* platforms/unix/plugins/XDisplayControlPlugin/acinclude.m4:
1622
Disable plugin when X is not available.
1624
* platforms/unix/plugins/XDisplayControlPlugin/Makefile.inc (XCPPFLAGS):
1625
Add X includes and libs to compile/link command.
1627
* platforms/unix/plugins/UnixOSProcessPlugin/acinclude.m4:
1630
* platforms/unix/plugins/UnixOSProcessPlugin/Makefile.inc (XCPPFLAGS):
1631
Remove X includes and libs.
1633
* platforms/unix/vm/sqUnixExternalPrims.c (tryLoading): Don't skip
1634
non-existent files (for default search). Only print dlerror
1635
message when file exists.
1637
2003-08-14 Ian Piumarta <piumarta@ina.inria.fr>
1639
* platforms/unix/doc/squeak.1: Update for new options and module
1642
* platforms/unix/npsqueak/Makefile (npsqueak.so, npsqueakrun,
1643
npsqueakregister): Use explicit first dependency rather than $<
1646
* platforms/unix/vm-display-X11/sqUnixX11.c: Provide PRIMARY
1647
rather than CLIPBOARD for Squeak selection when requestor clears
1650
* platforms/unix/vm/sqUnixExternalPrims.c (ioLoadModule): Search X11
1651
library path for plugins.
1652
(ioLoadModule): Search build location for plugins.
1654
2003-08-08 Ian Piumarta <piumarta@cartman.inria.fr>
1656
* platforms/unix/plugins/B3DAcceleratorPlugin/Makefile.inc
1657
(XLDFLAGS): Pass location of X libs to link command.
1659
* platforms/unix/vm-display-Quartz/Info.plist.in
1660
(CFBundleExecutable): Fix capitalization to avoid confusing the
1661
Finder on case-sensitive filesystems.
1663
2003-08-08 Ian Piumarta <ian.piumarta@inria.fr>
1665
* platforms/unix/plugins/UnixOSProcessPlugin/Makefile.inc
1666
(XCPPFLAGS): Pass location of X includes to compile command.
1667
(XLDFLAGS): Pass location of X libraries to link command.
1669
* platforms/unix/vm-display-X11/sqUnixX11.c (sendSelection): Use
1670
precomputed value of targetProperty in call to XChangeProperty().
1672
* platforms/unix/vm/sqUnixMain.c: Add support for '-vm' option and
1673
SQUEAK_VM environment variable. Add support for default module
1674
detection and loading.
1676
2003-08-07 Ian Piumarta <ian.piumarta@inria.fr>
1678
* platforms/unix/config/make.ext.in (LINK): Use -rpath $(plgdir)
1679
instead of $(libdir) to get correct install_name on OSX.
1681
* platforms/unix/vm/acinclude.m4 (AC_ICONV): Disable check for
1682
libiconv on Mac OS X to avoid pollution from /usr/local/lib.
1684
* platforms/unix/config/configure.ac (AC_CHECK_FUN(dlopen)): Check
1685
for _dyld_present before dlopen to avoid unwanted import of
1686
dlcompat on Mac OS X.
1688
* platforms/unix/config/acinclude.m4 (AC_C_DOUBLE_ORDER): Fix
1689
"improved" test so that it _really_ works and identifies
1690
big-endian machines correctly. (Never, _ever_ trust an
1691
endian-sensitive function contributed by an Intel user! ;)
1693
2003-08-07 Ian Piumarta <piumarta@cartman.inria.fr>
1695
* platforms/unix/config/acinclude.m4 (AC_C_DOUBLE_ORDER): Use
1696
improved test that isn't fooled by over-zealous compiler
1699
* platforms/unix/vm-display-X11/sqUnixX11.c: Numerous changes from
1700
Ned Konz to add support for COMPOUND_TEXT and fix some problems
1703
* platforms/unix/vm/sqUnixCharConv.c: Numerous changes from Ned
1704
Konz to improve UTF-8 handling.
1706
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
1707
(socketValid): Fail validation if thisNetSession is zero.
1709
* platforms/unix/vm/sqUnixMain.c (sigsegv): Call abort() after
1710
segv, to leave a core for debugging.
1712
----------------------------------------------------------------
1714
2003-03-04 Ian Piumarta <ian.piumarta@inria.fr>
1718
2002-12-01--2003-08-07 piumarta <piumarta@emilia.inria.fr>
1720
* platforms/unix/*/*: First pass at refactoring sound and display
1721
code into runtime-loadable modules.
1723
2002-12-01 piumarta <piumarta@calvin.inria.fr>
1725
* platforms/unix/config/mkacinc: Add `-dlopen lib' to library
1728
2002-12-01 Ian Piumarta <piumarta@calvin.inria.fr>
1730
* platforms/unix/vm/dlfcn-dyld.c: Added.
1732
* platforms/unix/config/config.h.in: Add HAVE_DYLD, DARWIN.
1734
* platforms/unix/config/configure.ac: Remove check for dlfcn.h.
1735
Check for _dyld_present in libc and define HAVE_DYLD. Checking
1736
for dlfcn.h and -ldl only if !HAVE_DYLD. Define DARWIN if
1737
compiling on Darwin.
1739
* platforms/unix/config/make.cfg.in (SOFLAGS): Substituted by
1742
* platforms/unix/vm/sqUnixExternalPrims.c: Include dlopen wrappers
1743
for dyld on Mach. Fix prototype for dlsym(). Provide definition
1744
for RTLD_GLOBAL if missing.
1745
(tryLoading): Check for dir before calling dlopen().
1746
(tryLoading): Make prefix/suffix selection be table driven.
1747
(ioLoadModule): Logic simplified (prefix/suffix now handled by
1750
* platforms/unix/vm/sqXWindow.c (imageNotFound): Fix multi-line
1753
2002-11-25 Ian Piumarta <piumarta@dilbert.inria.fr>
1755
* platforms/unix/plugins/DropPlugin/sqUnixDragDrop.c:
1756
Added missing stubs for sqSec*().
1758
2002-11-25 Bert Freudenberg <bert@isg.cs.uni-magdeburg.de>
1760
* platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.c:
1761
New version, updated for Croquet.
1763
2002-10-27 piumarta <ian.piumarta@inria.fr>
1765
* platforms/unix/config/verstamp: Remove Apple-specific garbage
1766
from gcc version string on Darwin.
1768
2002-10-26 piumarta <ian.piumarta@inria.fr>
1770
* platforms/unix/vm/sqUnixMozilla.c (browserProcessCommand): Fix
1771
signature to avoid link errors on BSD.
1773
* util/Makefile.dist (BINREL): Use `-nox' suffix on tarball if
1774
configured --without-x.
1776
* platforms/unix/config/configure.ac: Define and substitute `NOX'
1777
as `-nox' when building --without-x, empty otherwise.
1778
(disabled_plugins): Disable UnixOSProcessPlugin when building
1781
* platforms/unix/config/make.cfg.in (NOX): Import definition of
1784
* platforms/unix/config/Makefile.in: Define `squeak' as `squeak'
1785
or `squeak-nox'. Use `$(squeak)' instead of `squeak' throughout.
1787
* platforms/unix/config/Makefile.install: Use $(squeak) instead of
1790
2002-10-26 Ian Piumarta <piumarta@emilia.inria.fr>
1792
* platforms/unix/plugins/SoundPlugin/sqUnixSoundSun.c:
1793
* platforms/unix/plugins/SoundPlugin/sqUnixSoundNAS.c:
1794
* platforms/unix/plugins/SoundPlugin/sqUnixSound.c:
1795
* platforms/unix/plugins/SerialPlugin/sqUnixSerial.c:
1796
* platforms/unix/plugins/SecurityPlugin/sqUnixSecurity.c:
1797
* platforms/unix/plugins/MIDIPlugin/sqUnixMIDI.c:
1798
* plugins/JoystickTabletPlugin/sqUnixJoystickTablet.c:
1799
* platforms/unix/plugins/FileCopyPlugin/sqUnixFileCopyPlugin.c:
1800
* platforms/unix/plugins/FilePlugin/sqUnixFile.c:
1801
Systematically include generated plugin header.
1803
* platforms/unix/plugins/FilePlugin/sqUnixFile.c (dir_Lookup):
1804
Type of sizeIfFile is squeakFileOffsetType not int. (Many thanks
1805
to Alain Fischer for finding this.)
1807
2002-10-24 Ian Piumarta <piumarta@emilia.inria.fr>
1809
* platforms/unix/vm/sqUnixExternalPrims.c: Fix several dprintf()s
1810
that failed to specify the stream.
1811
(ioFindExternalFunctionIn): If set, prepend VM_DLSYM_PREFIX to
1814
* platforms/unix/config/configure.ac: On Darwin add
1815
`-no-cpp-precomp' to CFLAGS, disable npsqueak, and define
1816
VM_DLSYM_PREFIX to "_".
1818
* platforms/unix/config/config.h.in: Add VM_DLYSM_PREFIX for
1819
targets that require `_' before dlsym names (i.e., Darwin).
1821
* platforms/unix/config/config.guess,
1822
platforms/unix/config/config.sub: updated to autoconf-2.54.
1824
2002-10-24 root <piumarta@emilia.inria.fr>
1826
* /usr/share/aclocal/libtool.m4 (archive_cmds for darwin): Remove
1827
double quotes around "x$module" (allowing libtool to recognise
1828
`-module' flag when building loadable modules on Darwin).
1830
2002-10-23 Ian Piumarta <piumarta@emilia.inria.fr>
1832
* platforms/unix/vm/sqXWindow.c: Remove spurious `#' from front of
1833
__snprintf extern declaration.
1835
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
1836
(MAXHOSTNAMELEN): If not defined after including netdb.h (nasty,
1837
wicked, evil Solaris) then define it as 256.
1839
2002-10-20 Ian Piumarta <piumarta@emilia.inria.fr>
1841
* util/Squeak-vm.spec:
1842
(AutoReqProv): Inhibit automatic dependency generation (too much
1843
noise from plugins).
1844
(Requires): Add (lib{X11,Xext,m}) as explicit dependencies.
1846
* src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c: Updated
1849
2002-10-17 Ian Piumarta <piumarta@emilia.inria.fr>
1851
* platforms/unix/config/Makefile.install (install-npsqueak): Add
1852
npsqueak dependency to force build if required.
1854
2002-10-16 Ian Piumarta <piumarta@emilia.inria.fr>
1856
* platforms/unix/npsqueak/npsqueakrun.in: Add version directory to
1859
* platforms/unix/vm/sqXWindow.c: Remove `secure' and the
1860
corresponding option and env var.
1862
* platforms/unix/doc/squeak.1: Remove `-secure'.
1864
----------------------------------------------------------------
1866
2002-10-16 Ian Piumarta <piumarta@emilia.inria.fr>
1870
2002-10-16 Ian Piumarta <piumarta@emilia.inria.fr>
1872
* platforms/unix/vm/sqXWindow.c:
1873
Add useItimer (enabled by default, -notimer disables) and iconified.
1874
(SetUpWindow): Set wmHint IconicState if iconified.
1875
(ioLowResMSecs): Check useItimer.
1876
(SetUpTimers): Check useItimer.
1877
(usage): Add -iconic, -notimer.
1878
(ParseEnvironment): Add SQUEAK_ICONIC, SQUEAK_NOTIMER.
1879
(ParseArguments): Add -iconic, -notimer.
1881
* platforms/unix/doc/squeak.1: Add -iconic and -notimer.
1883
* platforms/unix/plugins/SqueakFFIPrims/sqUnixFFI.c
1884
(FFI_TYPE_STRUCT): Define if neccessary. (Value is not exported
1885
from ffi.h in libffi-2.)
1887
* platforms/unix/plugins/SqueakFFIPrims/acinclude.m4: Added.
1889
2002-09-29 Ian Piumarta <piumarta@emilia.inria.fr>
1891
* platforms/unix/vm/sqXWindow.c (ioSetFullScreen): Resize stWindow
1892
(not sqParent) for browser's benefit.
1894
2002-09-27 Ian Piumarta <piumarta@emilia.inria.fr>
1896
* platforms/unix/config/Makefile.install (install-npsqueak): new
1899
* platforms/unix/config/Makefile.in (npsqueak): new target.
1901
* platforms/unix/config/configure.ac: add `--with-browser' setting
1902
NPSQUEAK_SO appropriately.
1904
* platforms/unix/config/configure.ac: renamed from configure.in to
1905
keep debian's autoconf happy.
1907
* platforms/unix/config/acinclude.m4 (AC_GNU_INTERP): force
1908
AWK=gawk if --with-gnu-awk.
1910
* platforms/unix/config/config.h.in: additional undefines for
1913
* platforms/unix/vm/sqXWindow.c (SetUpWindow): Create initial
1914
window with extent = screen extent when -fullscreen specified.
1916
2002-09-26 Ian Piumarta <piumarta@emilia.inria.fr>
1918
* platforms/unix/vm/sqXWindow.c (SetUpWindow): `-iconic' option
1919
sets initial_state WM hint to Iconic.
1921
2002-09-16 Ian Piumarta <piumarta@emilia.inria.fr>
1923
* platforms/unix/vm/aio.c (aioSuspend,aioDisable): remove check
1924
for null descriptor (it's a valid fd).
1926
2002-08-21 Ian Piumarta <piumarta@emilia.inria.fr>
1928
* platforms/unix/plugins/SoundPlugin/sqUnixSoundOSS.c (output):
1929
Loop until write() completes (for broken alsa drivers).
1930
(Suggested by Lex Spoon.)
1932
2002-08-03 Ian Piumarta <piumarta@emilia.inria.fr>
1934
* platforms/unix/vm/sqXWindow.c (forgetXDisplay): aioDisable the X
1935
fd before closing it. (From Dave Lewis.)
1937
2002-07-17 Ian Piumarta <piumarta@emilia.inria.fr>
1939
* platforms/unix/vm/sqGnu.h: Define all undefined XX_REGs to be
1940
empty to prevent build errors on unsupported platforms. (Thanks
1941
to Tommy Thorn for spotting the problem.)
1943
* platforms/unix/config/*: Many diverse changes for autoconf 2.53
1946
2002-07-12 Ian Piumarta <piumarta@emilia.inria.fr>
1948
* platforms/unix/plugins/PseudoTTYPlugin/sqUnixPseudoTTYPlugin.c
1949
(validate): Fail primitive if f->state is 0.
1951
* platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.c
1952
(validate): Fail primitive if f->state is 0.
1954
----------------------------------------------------------------
1956
2002-07-11 Ian Piumarta <piumarta@emilia.inria.fr>
1960
2002-07-11 Ian Piumarta <piumarta@emilia.inria.fr>
1962
* platforms/unix/plugins/PseudoTTYPlugin/openpty.h: Include
1963
libutil.h if present (FreeBSD's name for util.h).
1965
* platforms/unix/plugins/PseudoTTYPlugin/acinclude.m4: Use test -r
1966
on /dev/ptmx. Check for `libutil.h'. (Thanks to Eric Dorman.)
1968
2002-07-10 Ian Piumarta <piumarta@emilia.inria.fr>
1970
* platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.c
1971
(asyncFileAttach): Broken out from asyncFileOpen() for use by
1974
* platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.h:
1975
Export asyncFileAttach().
1977
* platforms/unix/plugins/PseudoTTYPlugin/openpty.h: Provide local
1978
implementations of openpty() and login_tty() if not supported by
1981
* platforms/unix/plugins/PseudoTTYPlugin/sqUnixPseudoTTYPlugin.c:
1982
Various portability fixes. Use openpty() if available. Avoid use
1983
of nanosleep. ptyFork() and ptyClose() perform all the work of
1984
AsyncFile creation and destruction.
1986
----------------------------------------------------------------
1988
2002-07-09 Ian Piumarta <piumarta@emilia.inria.fr>
1992
2002-07-09 Ian Piumarta <piumarta@emilia.inria.fr>
1994
* platforms/unix/vm/sqXWindow.c: Various stubs to allow OSProcess
1995
to (mostly) work when compiled -DHEADLESS.
1997
* platforms/unix/vm/sqXWindow.c (ioGetWindow, ioGetDisplay):
2000
* platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.c
2001
(glInitialize): Retrieve stDisplay and stWindow via ioGet
2004
2002-07-08 Ian Piumarta <piumarta@emilia.inria.fr>
2006
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
2007
(acceptHandler, sqSocketCreate...): Remove OOBINLINE hack.
2009
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c
2010
(sqSocketSetOptions...): Interpret option as a string and convert
2011
it to an int before setsockopt().
2013
* platforms/unix/config/Makefile.in (squeak.1): Avoid $< in rule
2016
* platforms/unix/vm/sqUnixMozilla.c (primitivePluginBrowserReady):
2017
Fail primitive if not running in browser. (Eliminates infuriating
2018
three second pause on return from snapshot.)
2020
* platforms/unix/vm/sqXWindow.c: Fix conditional compilation in
2021
various places -DHEADLESS. (Many thanks to Colin Putney.)
2023
* platforms/unix/vm/osExports.c (os_exports): Don't export browser
2024
functions if compiling -DHEADLESS.
2026
* platforms/unix/config/make.int.in: Run RANLIB on final archive.
2028
2002-07-06 Ian Piumarta <piumarta@emilia.inria.fr>
2030
* platforms/unix/plugins/PseudoTTYPlugin/sqUnixPseudoTTYPlugin.c:
2033
* platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.c:
2036
2002-07-01 Ian Piumarta <piumarta@emilia.inria.fr>
2038
* platforms/unix/plugins/SocketPlugin/sqUnixSocket.c (acceptHandler,
2039
sqSocketCreateNetTypeSocketTypeRecvBytesSendBytesSemaIDReadSemaIDWriteSemaID):
2040
Set option SO_OOBINLINE on new sockets (for the benefit of telnet,
2041
which needs to pick up IAC as urgent-mode data).
2042
(dataHandler): Read (and discard) out-of-band data on exception,
2043
leaving the socket status alone.
2045
----------------------------------------------------------------
2047
2002-06-10 Ian Piumarta <piumarta@emilia.inria.fr>
2051
2002-06-10 Ian Piumarta <piumarta@emilia.inria.fr>
2053
* platforms/unix/vm/sqXWindow.c (handleEvent): Add missing break
2054
in SelectionClear case. (Thanks to Ned Konz.)
2055
(getAttribute): Return full path of VM for sysAttr(0). [Thanks
2056
also to Ned Konz for spotting this.]
2058
* platforms/unix/vm/sqXWindow.c (recordKeyboardEvent): modifiers
2059
to use passed as argument (for mouse wheel).
2060
(handleEvent): Mouse wheel uses inverted ctrl key modifier.
2062
2002-06-08 Ian Piumarta <piumarta@emilia.inria.fr>
2064
* platforms/unix/config/Makefile.install (install-image): install
2065
compressed image/changes files.
2066
image/changes and inisqueak installed in imgdir.
2068
* platforms/unix/config/inisqueak.in: use compressed image/changes
2070
image/changes installed in imgdir.
2072
* platforms/unix/vm/sqPlatformSpecific.h: include <sys/types.h> to
2075
----------------------------------------------------------------
2077
2002-06-07 Ian Piumarta <piumarta@emilia.inria.fr>
2081
2002-06-06 Ian Piumarta <piumarta@emilia.inria.fr>
2083
* platforms/unix/doc/squeak.1: image/changes files in version
2086
* platforms/unix/config/verstamp: Use abbreviated date in ISO 8601
2087
format. (Requires the local plarform have a POSIX-compliant `date'
2090
2002-06-03 <piumarta@emilia.inria.fr>
2092
* platforms/unix/doc/squeak.1: Add `-plugins' option.
2094
* platforms/unix/vm/sqUnixExternalPrims.c (ioLoadModule): If set, try
2095
loading plugins through `squeakPlugins' before the default locations.
2097
* platforms/unix/vm/sqXWindow.c: Add option `-plugins'.
2099
2002-05-31 <piumarta@emilia.inria.fr>
2101
* sqXWindow.c (x2sqModifier): Ignore mod[345] to avoid possible
2104
2002-05-27 <piumarta@emilia.inria.fr>
2106
* squeak.1: Add `-noevents' (missing) and `-nomixer' (new).
2108
* sqUnixSoundNAS.c (snd_Start): Select sound format based on byte
2109
order of the local machine.
2111
2002-05-26 <piumarta@emilia.inria.fr>
2114
Clean up checks for audio support.
2115
Check for native support (oss, sun) before network support (nas).
2117
2002-05-25 Ian Piumarta <piumarta@emilia.inria.fr>
2119
* sqGnu.h: CB_REG defined for intel when gcc >= 2.95.
2121
2002-05-22 Ian Piumarta <piumarta@emilia.inria.fr>
2123
* sqUnixSoundOSS.c (outHandler): Defined only when playSema
2125
(snd_Start): Fail primitive when semaIndex > 0 and play semaphore
2126
disabled. Do not call aioEnable() when playSema disabled.
2127
(snd_AvailableSpace): Only call aioHandle() when playSema enabled.
2129
2002-05-21 Ian Piumarta <piumarta@emilia.inria.fr>
2131
* sqUnixSocket.c (sqSocketReceiveDataAvailable): Change socket
2132
state to OtherEndClosed on EOF.
2133
(dataHandler): Change socket state to OtherEndClosed on EOF.
2135
2002-05-17 Ian Piumarta <piumarta@emilia.inria.fr>
2137
* sqUnixSoundOSS.c: Rewritten from scratch.
2139
* sqUnixSound.c: Broken into separate files:
2140
`sqUnixSound{OSS,NAS,Sun,None}.c'.
2142
2002-05-12 Ian Piumarta <piumarta@emilia.inria.fr>
2144
* sqXWindow.c (ioShowDisplay): Clamp affected{R,B} at
2145
{width,height} instead of {width,height} - 1.
2147
2002-05-09 Ian Piumarta <piumarta@felina.inria.fr>
2149
* sqXWindow.c (ioBeep): Check for server connection before trying
2152
* sqUnixSound.c: New NAS/OSS recording code from Lex Spoon.
2153
(Modified for aio compatiblity.)
2155
* sqUnixExternalPrims.c (tryLoading): Fail silently when
2156
attempting to load a plugin that names a directory. [sf]
2158
* squeak.1: Remove `-swapmod'.
2160
* sqXWindow.c: Remove `-swapmod'.
2161
(x2sqModifier): All modifiers map to Command.
2163
* sqXWindow.c (ioGetButtonState, recordMouseEvent): Honour
2164
`-swapbtn' for Ctrl/Command-RedButton clicks.
2166
* squeak.1: Default image name is `squeak.image'.
2168
* sqXWindow.c (ParseEnvironment, usage): Default image name is
2169
`squeak.image'. [sf]
2171
* sqXWindow.c (ioFormPrint): Print form to PostScript printer
2174
2002-05-08 Ian Piumarta <piumarta@emilia.inria.fr>
2176
* sqXWindow.c: Total rewrite of window resizing to fix
2177
incorrect assumptions about the behaviour of the image.
2179
* sqXWindow.c (SetUpWindow): Calculate initial window geometry
2180
based on parent window if running in a browser. (Avoids X
2183
* sqUnixSecurity.c (ioGetSecureUserDirectory): Fail primitive if
2184
security not initialised.
2186
* sqXWindow.c (ioScreenSize): Answer size of saved
2187
window when not connected to a display. [sf]
2189
2002-05-07 Ian Piumarta <piumarta@emilia.inria.fr>
2191
* sqXWindow.c (handleEvent): Fixed possible infinite recursion
2192
(observed by Lex Spoon) in completion event handling.
2194
* sqXWindow.c: Increase default heap size to 48MB.
2196
* sqUnixMozilla.c (browserPostURLRequest): Comment out unused
2197
function to avoid compilation errors.
2199
* sqUnixAsynchFile.c: Remove stale security code.
2200
* sqUnixSocket.c: Remove stale security code.
2201
* sqUnixFile.c: Remove stale security functions.
2202
* sqUnixSecurity.c: New version from Bert Freudenberg. [sf]
2204
* sqUnixFile.c: Remove stale browser support code.
2205
* sqXWindow.c: Support for new browser plugin. [sf]
2207
* sqUnixFile.c: Include <errno.h> and <string.h>. [sf]
2209
* sqUnixFile.c (dir_Lookup): Retry readdir() on interrupted system
2212
* sqXWindow.c: Handle the CLIPBOARD selection. [sf]
2214
* sqXWindow.c (SetUpWindow): Extra bit in valuemask for parent
2215
window to avoid errors on Sun. [sf]
2217
2002-05-07 Ian Piumarta <piumarta@emilia.inria.fr>
2219
* sqUnixSocket.c: Immediate detection of remote reset on
2222
* sqUnixSocket.c (dataHandler): Don't signal the connection