-
Notifications
You must be signed in to change notification settings - Fork 24
/
Changelog
691 lines (534 loc) · 29 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
2023-12-29 Petasis George <[email protected]>
* README.md: Updated required Tcl/Tk versions. Tk 8.3.3 has been
dropped, TkDND now requires 8.4 on Windows/Linux, and 8.5 for macOS.
* library/tkdnd_macosx.tcl:
* macosx/macdnd.m: Fixed deprecations introduced in macOS 10.13.
2023-12-27 Petasis George <[email protected]>
* .travis.yml: Restored travis CI operation, and added an additional
CI for macOS (macOS 10.13 - High Sierra - OS shipped Tcl/Tk - 8.5 &
macOS 12.06 - Monterey - Homebrew Tcl/Tk 8.6.13+).
* configure.ac:
* tclconfig/*: Updated to the latest Tcl config package.
* generic/TkDND_Cursors.c:
* library/tkdnd.tcl:
* macosx/macdnd.m:
* unix/TkDND_XDND.c:
* win/OleDND.h
* win/TkDND_OleDND.cpp: Initial updates for Tcl 8.7 and 8.9 contributed by Paul Obermeier.
2022-12-12 Petasis George <[email protected]>
* tests/bug40.tcl: Added a test case for bug 40.
2022-12-10 Petasis George <[email protected]>
* demos/simple_target.tcl: Wrapped the drop target inside a
ttk::frame, to test if events are received by windows inside windows
that are not drop targets.
2021-09-01 Petasis George <[email protected]>
* library/tkdnd_utils.tcl: Fixed bug #55.
* CMakeLists.txt: Fix so as a correct pkgIndex.tcl is generated (by
reading pkgIndex.tcl.in).
2020-09-19 Petasis George <[email protected]>
* configure:
* configure.ac: Added flag -static-libstdc++ when building with gcc
under Windows.
* .appveyor.yml: Build also with MSYS2 under Windows.
* appveyor_build_msys2.sh: Build script for MSYS2.
2020-08-19 Petasis George <[email protected]>
* library/tkdnd_unix.tcl: Fixed bug #40.
* pkgIndex.tcl.in:
* CMakeLists.txt:
* library/tkdnd.tcl: Added the option for enabling debug messages
through the global variable ::TKDND_DEBUG_LEVEL (before loading the
package).
2020-08-18 Petasis George <[email protected]>
* .travis.yml: Added installation of libxcursor1 and libxcursor-dev.
* configure.ac: Added checks for lib Xcursor.
* library/tkdnd_generic.tcl: Fixed bug #44, where "string is entier"
may not be available.
* library/tkdnd_generic.tcl: Fixed bug #43, renamed
::tkdnd::platform_independent_types to
generic::platform_independent_types.
2020-03-03 Petasis George <[email protected]>
* CMakeLists.txt:
* configure.ac:
* unix/Cursors.c: Corrections in build system and fixed some warnings
under unix.
2020-02-23 Petasis George <[email protected]>
* demos/custom_cursors.tcl:
* demos/cursors: Added a demo script for shwoing the interface for
custom cursors.
* generic/*: Moved cursor utilities from unix to the generic folder.
* unix/Cursors.c: TkDND_GetCursor moved in generic.
Added support for custom cursors.
2019-07-15 Petasis George <[email protected]>
* library/tkdnd.tcl: Allowed ::tkdnd::drag_source to accept multiple
mouse buttons, as the event that initiates a drag action.
* library/tkdnd.tcl: Merged pull request #36.
(https://github.com/petasis/tkdnd/pull/36).
* unix/TkDND_XDND.c: Changed how TkDND_GetToplevelFromWrapper()
selects the topelvel. Patch from Florian Pigorsch.
(https://github.com/petasis/tkdnd/issues/34)
2019-07-14 Petasis George <[email protected]>
* doc/tkDND.n:
* doc/tkDND.htm: Updated documentation to reflect the changes in the
%b and %m binding substitutions.
2019-07-13 Petasis George <[email protected]>
* CMakeLists.txt:
* configure.ac: Added checks for X11/XKBlib.h, defining
HAVE_X11_EXTENSIONS_XKB_H if found.
* demos/dndSpy.tcl: Updated the demo code to show pressed mouse buttons
and modifier keys.
* library/tkdnd_generic.tcl: Fixed Bug #35, where mouse buttons were
reported together with modifier keys:
(https://github.com/petasis/tkdnd/issues/35)
* library/tkdnd_unix.tcl: Fixes for using the new
"_keyboard_get_state", and correctly report the pressed mouse keys and
modifiers.
* unix/TkDND_XDND.c: Added support for the Xkb extension, and added
support (and a new Tcl-level command, "_keyboard_get_state") for
getting the pressed mouse buttons/modifiers under Unix. This relates
to Bug #35 (https://github.com/petasis/tkdnd/issues/35). However,
under Unix, the drop target is not supposed to decide on the action:
it is the drag source that takes this decision. The drop target must
either accept the action provided by the drag source, or replay with
"copy" or "ask". This must be reflected in the documentation.
2019-07-12 Petasis George <[email protected]>
* library/tkdnd_unix.tcl:
* library/tkdnd_generic.tcl: Added a new parameter for drag source
action on HandlePosition.
* unix/TkDND_XDND.c: TkDND_HandleXdndEnter() also passes the action
requested by the drag source to tkdnd::xdnd::HandleXdndEnter.
* unix/TkDND_XDND.c: Fix in TkDND_GetToplevelFromWrapper(), to take
into account a menu, if it exists. Fixed bug #34:
(https://github.com/petasis/tkdnd/issues/34)
2019-06-13 Petasis George <[email protected]>
* library/tkdnd_generic.tcl: Removed usage of "{*}" for better Tcl 8.4
compatibility.
2019-06-09 Petasis George <[email protected]>
* doc/tkDND.n: Documented %x, %y binding keywords.
* library/tkdnd_generic.tcl: Added feature request #31:
(https://github.com/petasis/tkdnd/issues/31)
* library/tkdnd_utils.tcl:
* library/tkdnd_generic.tcl: Fixed bug #33:
(https://github.com/petasis/tkdnd/issues/33)
* library/tkdnd.tcl: Fixed bug #30:
(https://github.com/petasis/tkdnd/issues/30)
Fixed bug #32:
(https://github.com/petasis/tkdnd/issues/32)
2019-04-16 Petasis George <[email protected]>
* Version 2.9.2 released.
* demos/basic.tcl: Merged pull request #29.
(https://github.com/petasis/tkdnd/pull/29)
* configure.ac: configure reads version from VERSION. Added
TEA_PATH_X, to link with the X11 library. Fixed bug #27.
(https://github.com/petasis/tkdnd/issues/27)
* VERSION:
* CMakeLists.txt: Added a VERSION file. CMake reads version from this
file. Merged pull request #28.
(Fixes bug #26 https://github.com/petasis/tkdnd/issues/26).
2019-02-03 Petasis George <[email protected]>
* library/tkdnd.tcl: Added conversion from utf-8 in
::tkdnd::urn_unquote.
* library/tkdnd_unix.tcl: Added support for comments in
xdnd::normalise_data for the "text/uri-list" media type.
* demos/dndSpy.tcl: Modified demo to also show data to be dropped
during drag.
* win/OleDND.h:
* unix/TkDND_XDND.c
* library/tkdnd_generic.tcl:
* library/tkdnd_macosx.tcl:
* library/tkdnd_unix.tcl:
* library/tkdnd_windows.tcl: Provided a solution for bug #25.
Under Windows and Unix, the dropped data is available for the
<<DropEnter>> and <<DropPosition>> events (%D specifier).
2018-12-23 Petasis George <[email protected]>
* .travis.yml: make install & deployment to GitHub.
* .appveyor.yml: Set tclsh for IronTcl. Deployment to GitHub.
2018-12-22 Petasis George <[email protected]>
* .appveyor.yml: Added a command to install project after build.
2018-12-07 Petasis George <[email protected]>
* tcl-conf: More tweaks for finding tcl config and header files in
OS X 10.14.
2018-12-02 Petasis George <[email protected]>
* demos/text_widget_demo.tcl: New demo, demonstrating tkdnd::utils for
the text widget.
* library/tkdnd_utils.tcl: Added a new package (tkdnd::utils) with
utility functions (i.e. ::tkdnd::text::drag_source/
::tkdnd::text::drop_target that can be used for text widgets,
to facilitate drag/drop in such widgets).
* library/tkdnd.tcl: Fixes in ::tkdnd::drag_source(): The TkDND_Drag
binding tag is now placed before the widget class.
**** POTENTIAL INCOMPATIBILITY **** for applications relying on the
previous behaviour (the tag was added as the last one).
* library/tkdnd_compat.tcl: Fixes for the TkDND 1.x compatibility layer.
* library/tkdnd_windows.tcl: Fixed two typos.
* win/TkDND_OleDND.cpp: Fixed a bug in TkDND_DoDragDropObjCmd(), where
Tcl_SetResult() was not used correctly. Calles changed to
Tcl_SetObjResult().
* win/TkDND_OleDND.h: Fixed a memory leak in Drop(), where
Tcl_IncrRefCount() was called instead of the correct
Tcl_DecrRefCount().
2018-10-28 Petasis George <[email protected]>
* demos/basic.tcl: Added a drag source that sends an empty string.
* macosx/macdnd.m: Fixed bug #21
(https://github.com/petasis/tkdnd/issues/21), where an image of size
(0, 0) was created, if the data to be pasted was an empty string.
2018-10-10 Petasis George <[email protected]>
* demos/dndSpy.tcl:
* doc/tkDND.htm:
* library/tkdnd_unix.tcl:
* macosx/macdnd.m:
* unix/TkDND_XDND.c:
* win/Makefile:
* win/OleDND.h: Merged pull request #20 "Fix some typos.", by Github
user flopp.
2018-07-23 Petasis George <[email protected]>
* README.md: Added a small experiment about Travis CI integration.
2018-07-22 Petasis George <[email protected]>
* macosx/macdnd.m: Updated code to use the new (10.7+) API. Possible
incompatibility: A file(s) drag will not start if any of the provided
paths is not an absolute path.
2018-07-12 Petasis George <[email protected]>
* macosx/macdnd.m: Temporarily disabled the new drag source code for
macOS 10.7+, as it does not seem to work in simple tests.
2018-07-12 Petasis George <[email protected]>
* macosx/macdnd.m: Merged pull request #4:
* CMakeLists.txt: Added compatibility for later OS X versions.
* configure.ac: https://github.com/petasis/tkdnd/pull/4
Actually this pull request resolved the deprecation of
"dragImage:at:offset:event:pasteboard:source:slideBack:" I failed to
address in the previous update of macosx/macdnd.m.
* win/Makefile: Merged pull request #5: Updated Windows version number.
https://github.com/petasis/tkdnd/pull/5
* demos/dndSpy.tcl: Merged pull request #10: Added executable flag to
demo with shebang line.
https://github.com/petasis/tkdnd/pull/10
* Changelog: Merged pull request #15:
https://github.com/petasis/tkdnd/pull/15
2018-07-11 Petasis George <[email protected]>
* tcl-conf: Added more checks, needed for macOS.
* macosx/macdnd.m: macOS 10.7/10.12/10.13 deprecated some definitions (
NSDragPboard, NSLeftMouseDragged, NSLeftMouseDownMask) and some
functions (convertScreenToBase) we use. Alternatives have been used.
"dragImage:at:offset:event:pasteboard:source:slideBack:" is also
deprecated in 10.7, but is more difficult to be replaced.
2018-06-29 Petasis George <[email protected]>
* tcl-conf: Added a quick check to locate tclConfig.sh & tkConfig.sh,
if they have been placed in non-standard locations withing the Tcl
installtion directory. Bug #18
(https://github.com/petasis/tkdnd/issues/18).
2018-06-25 Petasis George <[email protected]>
* Makefile.in: Updated to latest Makefile.in from Tcl sample extension.
* tcl-conf: Convert path returned by [info library] into an absolute
path.
2018-06-25 Petasis George <[email protected]>
* configure: Regenerated with "autoconf -i".
* tclconfig/tcl.m4: Updated to the latest TEA version.
* README.md: Updated the readme file with installtion instructions for
Windows.
2018-05-26 Petasis George <[email protected]>
* configure: Regenerated with "autoconf -i".
* tclconfig/tcl.m4: Updated to the latest version.
* configure.ac: Removed option "-fobjc-gc" from OS X build.
* win/OleDND.h: Added the option to skip some events during DragOver().
To activate it, DND_DRAGOVER_SKIP_EVENTS must be defined.
* library/tkdnd_windows.tcl: Changed "update" to "update idletasks".
Bug reported by flopp Github user.
Bug #17: https://github.com/petasis/tkdnd/issues/17.
* win/TkDND_OleDND.cpp: Fixed a bug in TKDND_REPORT_ERROR(x), where the
errmsg pointer could go out of scope. Bug and patch provided by ralfixx
Github user. Bug #18: https://github.com/petasis/tkdnd/issues/18.
* Makefile.in: Added a fix for .cpp files, compiled under windows with
configure/make. Bug and patch provided by ralfixx
Github user. Bug #18: https://github.com/petasis/tkdnd/issues/18.
2018-02-19 Petasis George <[email protected]>
configure.ac: "${TEA_PLATFORM}" = "windows" fails under MINGW64.
Added a check for TEA_PLATFORM to include also MINGW64
(windows|*MINGW64_*).
* library/tkdnd_compat.tcl: Fixed a bug in compat::bindsource2,
suggested by segalion: https://github.com/petasis/tkdnd/issues/13
(The bug was that compat::bindsource2 called
::tkdnd::drag_source register with event 2.)
2018-02-13 Petasis George <[email protected]>
* configure:
* configure.ac:
* configure.in:
* tclconfig/tcl.m4: Updated to latest TEA.
* macosx/macdnd.m:
* unix/TkDND_XDND.c: Tcl 9.0 seems to not define any more "CONST", thus
add this definition if it is missing (defined to "const").
2018-01-16 Petasis George <[email protected]>
* win/TkDND_OleDND.h: Made destructors in all classes virtual.
* win/TkDND_OleDND.cpp: Fixes for C++ warnings (which does not allow to
pass a static string to Tcl_SetResult()).
* CMakeLists.txt: Added support for building with msys2 & gcc under
windows.
2017-08-25 Petasis George <[email protected]>
* CMakeLists.txt: Added support for -Dwith-tcl, -Dwith-tclsh.
2017-01-25 Petasis George <[email protected]>
* win\OleDND.cpp: Fixed a memory leak on the pDropTarget object in
TkDND_RegisterDragDropObjCmd. Added calls to RevokeDragDrop on window
destroy.
2017-01-20 Petasis George <[email protected]>
* configure.in:
* CMakeLists.txt:
* library\tkdnd_windows.tcl:
* win\OleDND.h: Added support fot type UniformResourceLocator under
Windows.
2015-07-07 Petasis George <[email protected]>
TkDND 2.8 released.
2015-07-06 Petasis George <[email protected]>
* Makefile.in:
* doc/tkDND.htm:
* doc/tkDND.n:
* macosx/macdnd.m:
* unix/tkUnixSelect.c: Applied two patches from Andrew Murray,
regarding various fixes (various typos and unused variable warnings
under OS X).
2015-04-13 Petasis George <[email protected]>
* library\tkdnd_generic.tcl: Fixed SF bug #30: Toplevel Widget Cannot
Be Drop Target. Bug reported by Tim Tomkinson.
2015-03-04 Petasis George <[email protected]>
* library/tkdnd.tcl: Added support in <<DragInitCmd>> & <<DragEndCmd>>
for %x, %y mouse coordinates (relative to window that is the drag
source). Added the ability to stop a drag on the drag source. The
<<DragInitCmd>> binding must return either "refuse_drop"
as a value (instead of a list), or use
"return -code break"|"return -code continue".
2015-02-20 Petasis George <[email protected]>
* unix/TkDND_XDND.c: Fixed a bug in converting Time to a Tcl object.
Now Tcl_NewWideIntObj() is used, as Tcl_NewLongObj() could cause an
overflow under some operating systems. Bug reported by Nicolas Bats,
for OS X 10.7.
2014-11-26 Petasis George <[email protected]>
TkDND 2.7 released.
2014-10-07 Petasis George <[email protected]>
* macosx/macdnd.m:
* library/tkdnd_macosx.tcl: Added support for DND_HTML in OS X.
* library/tkdnd_unix.tcl: Added support for DND_HTML in XDND.
2014-09-21 Petasis George <[email protected]>
* library/tkdnd_macosx.tcl:
* library/tkdnd_unix.tcl: Changed implementation to re-use the
generic implementation.
* library/tkdnd_generic.tcl: Two new procedures,
generic::GetWindowCommonTypes and generic::FindWindowWithCommonTypes.
The last one tries to find a window that can accept the current drag.
* unix/TkDND_XDND.c: Fixed a bug in getting the "accepted" field
in XdndFinished.
* demos/overlapping_targets.tcl: New demo (more a "testing" utility for
mega-widget support).
* CMakeLists.txt:
* configure.in: Updated installed files.
* demos/basic.tcl:
* demos/dndSpy.tcl:
* demos/simple_target.tcl: Bug fixes.
* library/tkdnd.tcl:
* library/tkdnd_macosx.tcl:
* library/tkdnd_unix.tcl: Various bug fixes.
* win/OleDND.h:
* win/TkDND_OleDND.cpp:
* library/tkdnd_windows.tcl: Changed implementation to re-use the
generic implementation.
* library/tkdnd_generic.tcl: Added a new "generic" implementation of
handling drops, with the aim to be re-used by all supported platforms.
2014-08-19 Petasis George <[email protected]>
* unix/TkDND_XDND.c:
* win/OleDND.h: Corrected behaviour when mouse drags over overlapping
windows. Bug reported by Csaba Nemethi.
2014-08-13 Petasis George <[email protected]>
* library/tkdnd_windows.tcl:
* library/tkdnd.tcl:
* library/tkdnd_unix.tcl:
* library/tkdnd_macosx.tcl:
* macosx/macdnd.m: Added support for complex sources under OS X.
* CMakeLists.txt: A few fixes for OS X.
* demos/complex_source.tcl:
* demos/simple_source.tcl: Ensure returned paths are absolute (to avoid
warnings under OS X).
2014-08-06 Petasis George <[email protected]>
* library/tkdnd_unix.tcl: Added support for sources with multiple
and (incompatible) types under Unix. Completed implementation started
on 2014-01-05 for Windows. OS X support is still pending.
* unix/TkDND_XDND.c: Replaced calls to (deprecated)
XKeycodeToKeysym(), with calls to XGetKeyboardMapping().
2014-08-04 Petasis George <[email protected]>
* library/tkdnd_unix.tcl: Fixed a bug where successive drags may
be canceled, by a delayed XDNDFinished event, which is scheduled by
xdnd::_SendXdndDrop to occur after 10 seconds (as a protection against
a failed selection transfer by the client).
Bug reported by Csaba Nemethi.
2014-01-05 Petasis George <[email protected]>
* doc/tkDND.n: Updated the man page.
* demos/complex_source.tcl:
* demos/simple_source.tcl:
* demos/simple_target.tcl: New demos.
* win/OleDND.h:
* win/TkDND_OleDND.cpp:
* library/tkdnd.tcl:
* library/tkdnd_windows.tcl: Added support for sources with multiple
and (incompatible) types, that require different data to be dropped. The
changes affect the <<DragInitCmd>>, where there are now to types of
return values expected from the event. Changes have been tested only
under Windows. Unix/OS X not yet implemented.
* demos/basic.tcl: Added information about the cross-platform dropped
type.
2012-11-27 Petasis George <[email protected]>
* library/tkdnd_unix.tcl:
* library/tkdnd_windows.tcl: Leave and Drop events do not report 0
as root x/y (%X %Y). In case the underlying protocol does not support
reporting the mouse coordinates for the specific event, the last known
position from the position event is used.
2012-08-26 Petasis George <[email protected]>
TkDND 2.6 released.
* unix/tkUnixSelect.c: Added a work-around for getting the selection
under unix: since Tk does not always deliver SelectionNotify, we try
to get the selection even if SelectionNotify has not been received.
2012-08-15 Petasis George <[email protected]>
* unix/tkUnixSelect.c: Partially solved the problem with getting
selection under unix. The solution was to try and get the selection,
even if a SelectionNotify event has not been delivered.
2012-07-14 Petasis George <[email protected]>
* unix/tkUnixSelect.c: Tests with Tcl_ThreadAlert(). It helps
somewhat, but is not the solution for the problems when getting the
selection.
2012-06-17 Petasis George <[email protected]>
TkDND 2.5 released.
* win/TkDND_OleDND.cpp: Fixes for type CF_HDROP.
2012-06-07 Petasis George <[email protected]>
* demos/basic.tcl: Updated demo with support for colours, which only
works for XDND right now.
* unix/TkDND_XDND.c:
* unix/tkUnixSelect.c: Implementation of unix (XDND) drags completed.
2012-06-06 Petasis George <[email protected]>
* unix/Cursors.c: Ported cursors from TkDND 1.x to TkDND 2.x
2012-06-05 Petasis George <[email protected]>
* library/tkdnd.tcl:
* library/tkdnd_unix.tcl:
* unix/tkUnixSelect.c:
* unix/TkDND_XDND.c: Added support for initiating drags from Tk under
unix. Despite incomplete, seems to work with GTK.
2012-06-02 Petasis George <[email protected]>
* library/tkdnd_unix.tcl:
* unix/TkDND_XDND.c:
* unix/tkUnixSelect.c:
* unix/tkSelect.h: Modifications to support Linux drops. Drops from
GTK seem to always work, and drops from Qt seem to work most of the
times.
2012-04-19 Petasis George <[email protected]>
* win/Makefile: Updated the Windows Makefile, after a patch from
Dave Bodenstab.
2012-04-12 Petasis George <[email protected]>
TkDND 2.4 released.
* library/tkdnd_unix.tcl:
* unix/TkDND_XDND.c:
* unix/tkUnixSelect.c:
* unix/tkSelect.h: Modifications to support Linux drops.
* tclconfig/*:
* configure.in, Makefile.in: Updated to TEA 3.9.
* library/tkdnd_unix.tcl: Removed braces from a comment in
xdnd::_GetDroppedData, left from testing with TIP 370 preliminary
implementation. SF Bug ID: 3516862
2012-03-03 Petasis George <[email protected]>
TkDND 2.3 released.
* library/tkdnd_windows.tcl:
* win/OleDND.h:
* win/TkDND_OleDND.cpp: Fix in TkDND_DropSource::QueryContinueDrag,
to support dragging with all mouse buttons. Bug reported by
Michael Fersch.
2011-09-24 Petasis George <[email protected]>
* win/OleDND.h: Added definition of WINVER to version 5, when compiling
with MinGW, which defines it with version 4. SF Bug ID: 3411338.
2011-09-23 Petasis George <[email protected]>
* win/OleDND.h: Modified STRING_(s), to ease compilation with MinGW.
Patch provided by Hans-Christoph Steiner. SF Bug ID: 3411338.
2011-09-22 Petasis George <[email protected]>
* win/OleDND.h: Added a check if CF_DIBV5 is defined (i.e.
WINVER < 0x0500). SF Bug ID: 3411338.
2011-03-18 Petasis George <[email protected]>
* library/tkdnd_unix.tcl: Fixed a bug in xdnd::_GetDroppedData, where
an improper error was thrown in case no common types were found between
the drag source and drop target widgets. Now a more appropriate error
is returned. Bug reported by Kevin Walzer.
2011-01-14 Petasis George <[email protected]>
* library/tkdnd_unix.tcl: Added support for accepting drops, if
TIP 370 is finally approved. Changes tested with a preliminary TIP 370
implementation.
* library/tkdnd_macosx.tcl: Fixed a bug reported by Kevin Walzer:
macdnd::_GetDroppedData and xdnd::_GetDroppedData were missing the
"time" argument, added in the XDND section for TIP 370 (if it gets
accepted).
* macosx/macdnd.m: Restored back a workaround by Kevin Walzer, as
TkDND does not work well under all circumstances in OS X 10.6.
(Reported by Kevin Walzer on 23 Dec 2010).
2010-08-03 Petasis George <[email protected]>
TkDND 2.2 released.
* library/tkdnd_windows.tcl:
* win/OleDND.h: Fixes for compiling with UNICODE & _UNICODE.
2010-07-28 Petasis George <[email protected]>
* win/Makefile: Updated.
* library/tkdnd_unix.tcl:
* library/tkdnd_windows.tcl: Fixed bug 2169256.
* library/tkdnd.tcl: Fixed bug 2486830.
2010-06-16 Petasis George <[email protected]>
* Makefile.in:
* configure.in:
* win/Makefile:
* win/TkDND_OleDND.cpp:
* unix/TkDND_XDND.c: Applied a patch from Andreas Kupries, which
make the unix code compatible with compilers supporting C89 (i.e.
AIX's cc). Also, the TEA files were updated.
* /unix/TkDND_XDND.c: Fixed a bug in TkDND_RegisterTypesObjCmd.
It seems that KDE wants the XdndAware property on the window these
days, and not at the toplevel one.
2010-06-11 Petasis George <[email protected]>
TkDND 2.1 released.
2010-05-05 Petasis George <[email protected]>
* /macosx/macdnd.m: Several fixes. The most important are:
Do not initiate a drag if the clipboard is empty (i.e. because we
cannot handle any of the provided types).
Fixed drag icon slide when the drag is canceled.
2010-04-30 Petasis George <[email protected]>
* /macosx/macdnd.m: Several changes:
Moved drag operation inside TkDND_DoDragDropObjCmd. This means that
drag operation can be started with a Tk binding.
Fixed the way drag types are declared in the drag clipboard. Now types
are reported correctly during drops.
Added a tag in the DNDView class.
Added a function to get the DNDView pointer from an NSView pointer.
Hopefully this will not permit to add more than one DNDView to any
view. This function always return a DNDView pointer (it creates a
new DNDView if a view does not already has one).
The demos seem to work, although the garbage collector seems to print
some messages during drags from Tk windows.
2010-04-06 Petasis George <[email protected]>
* /macosx/macdnd.m: Some attempts towards drag support for OS X.
2010-01-03 Petasis George <[email protected]>
* /library/tkdnd_macosx.tcl:
* /macosx/macdnd.m: Changed the way dropped data is handled: during
the drop event the data are converted into a utf-8 string (in case of
dropping string data) or a Tcl list object of utf-8 filenames (in case
of dropping files). The data object is stored directly in the
tkdnd::macdnd::_dropped_data variable, instead of the selection
clipboard. _GetDroppedData was modified to return this stored data.
2009-12-30 Petasis George <[email protected]>
* /cmake:
* /CMakeLists.txt: Added support for building TkDND with cmake (i.e.
under windows).
2009-12-29 Petasis George <[email protected]>
* /library/tkdnd_macosx.tcl:
* /macosx/macdnd.m: Changes to better integrate the work done by
Kevin Walzer with the rest of TkDND, since OS X seems to mimic the
XDND implementation. tkdnd_macosx.tcl is now a stub file, with most of
the work being done by the unix (XDND) code.
I think that OS X drop support is now working.
2009-12-09 Petasis George <[email protected]>
* /library/tkdnd_macosx.tcl:
* /macosx/macdnd.m: Updates to better integrate the OS X type
registration command with the rest of the TkDND internal API.
2009-12-01 Walzer Kevin <[email protected]>
* /macosx/*: Initial support for drop targets under OS X (Cocoa).
2007-02-09 Petasis George <[email protected]>
* /unix/TkDND_XDND.c: Fixed a bug in TkDND_RegisterTypesObjCmd, where
Tk_Parent was used to determine if a provided path was a toplevel.
Replaced by a check through Tk_IsTopLevel.
Bug reported by Alain Bertrand <[email protected]>
2006-04-24 Petasis George <[email protected]>
* TkDND version 2.0 started.