-
Notifications
You must be signed in to change notification settings - Fork 9
/
ChangeLog
3075 lines (2131 loc) · 119 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
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
9.2.2 Dmitry Torokhov <[email protected]>
Release matching the Workstation 9.0.1 release.
9.2.0 Dmitry Torokhov <[email protected]>
Release matching the Workstation 9.0 release.
9.0.0 Dmitry Torokhov <[email protected]>
Release matching the vSphere 5.1 release.
2011.11.20 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
6c197b8e5eccf32bfee0e2452d8926968182aada
2011.10.26 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
6271fde90248a4fd49e38aa61498db9e1dbf37c3
2011.09.23 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
05baddbed1c5e47e9789a44d30bb217d7184232a
2011.08.21 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
2b3d76ba776f55d06fb5b62499b189ebd6bc1c75
2011.07.19 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
5bed6f1369ca6e9c2c7fbaf4205d86e50f219c5f
2011.06.27 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
166bbe1d28da4dab763b9568f163c8dca99ced9c
2011.05.27 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
3793ddc9c9b5facf376a2625d4c2252aa9bd3daa
2011.04.25 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
3112c27981074deb53e86e30e1c168d55e42220c
2011.03.28 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
ec43520f5f3a50f5a980a73d22ae231380f97555
2011.02.23 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
96cf4718ac0aff1743e50a2165599306ba442fe1
2011.01.24 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
60c470337c8932a6d9564130dcaf06c7a1a3df53
2010.12.19 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
5aef2b20a519788613350752575bcba0ac71df79
2010.11.17 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
11c0273ed4269f6f7a92f82f6c822df7da4c8720
2010.10.18 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
2162c5d770cdac3b0e275907a1a5d22ece8ce23c
2010.09.19 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
c92a8bfbb406a906bcd2fb9ef6801f92c5b64d1f
2010.08.24 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
94e63742d734b41638d37580602de4232da5ece6
2010.07.25 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
b15cffc7961b97129d0b77643db42b4d4d8e3da7
2010.06.16 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
ec87703fccdd0f954a118640c0b097e383994391
2010.04.25 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
6fafd672e006208c1e479b297e19618170ff19bd
2010.03.20 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
7cdbb623125729b41bf54068568dfbcc2dd58733
2010.02.23 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
8baa8588d5fd4cf64efb17164cb70c86c758d0c6
2010.01.19 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
8ee82a5774ae7badeb98ecf4dc629c7e9aac7077
2009.12.16 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
0d28106da5684dc31ea52ebb5a2dc6a0af5c1d61
2009.11.16 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
6f4cdd0f38be020d722f2393c0b78d7cd13f04d2
2009.10.15 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
d2f1b83daab1d7882fd651ad1cc77c729bbd9760
2009.09.18 Marcelo Vanzin <[email protected]>
This release tag contains commits up to the following id:
8bb94fbfbdf65b53b87279cf81529756dba7a2ca
Other changes not captured in the git logs:
* Resync with internal dev branch (2009.08.24)
* hgfsmounter/hgfsmounter.c: allow hgfs users to set ttl to 0 at mount time.
* lib/guestApp/guestApp.c, lib/include/conf.h, lib/include/netutil.h,
lib/include/procMgr.h, lib/include/system.h, lib/vixTools/vixTools.c,
lib/vmCheck/vmcheck.c: remove (now unused) Netware checks.
* lib/message/*, modules/freebsd/vmhgfs/Makefile,
modules/linux/vmhgfs/Makefile.*, modules/solaris/vmhgfs/Makefile: remove
unused message transport abstraction. The rpcChannel library is now used to
do RPC abstraction.
* modules/*/vmmemctl/*: refactor of the vmmemctl module as part of adding
support for Mac OS guests.
* modules/linux/pvscsi/pvscsi.c: don't clobber RESERVATION_CONFLICT sdstat
up from linux pvscsi driver.
* modules/linux/shared/*: VMCI changes unrelated to the guest driver.
* modules/linux/vmhgfs/fsutil.c, modules/linux/vmhgfs/inode.c: fix the case
where two directories refer to the same inode.
* scripts/linux/*: support older versions of NetworkManager.
2009-08-24 Marcelo Vanzin <[email protected]>
* Resync with internal trunk (2009.08.19)
* configure.ac: remove support for Linux kernels < 2.6.9.
* lib/include/vmtools.h, libvmtools/vmtoolsLog.c, doc/api/services/util.txt:
add new log handled that allows appending to existing log files, and fix
an issue where old log files would be "rotated" whenever the config file
was reloaded.
* lib/appUtil/appUtilX11.c, lib/ghIntegration/ghIntegrationX11.c,
lib/include/appUtil.h: fix compilation issues on FreeBSD when unity
was enabled.
* lib/dnd/dndLinux.c, lib/include/vmblock_user.h, tests/testVmblock/*: add
vmblock tests and, as part of the change, do some refactoring of vmblock
related functions.
* lib/guestInfo/guestInfo.c, lib/include/wiper.h, lib/wiper/*,
toolbox/toolboxcmd-shrink.c, toolbox/toolboxShrink.c: refactor the wiper
structures so that they behave the same on Win32 and other platforms, and
also reuse data structures already in use by other parts of the code. This
fixes an "use after free" issue that toolbox-cmd had on Win32.
* lib/guestInfo/guestInfo.c, lib/guestInfo/guestInfoInt.h,
lib/guestInfo/guestInfoPosix.c, lib/guestRpc/nicinfo.x,
lib/include/guestInfo.h, lib/include/netutil.h, lib/include/slashProc.h,
lib/netutil/netUtilLinux.c, lib/slashProc/*,
services/plugins/guestInfo/guestInfoServer.c: add support for sending more
network-related information to the host, such as routing tables and name
servers.
* lib/hgfsBd/hgfsBd.c: don't log RPC errors when HGFS is disabled.
* lib/hgfsHelper/*, lib/include/hgfsHelper.h, lib/vixTools/vixTools.c: new
library with functions to query information about HGFS; expose some HGFS
properties through VIX.
* lib/hgfsServer/*, lib/hgfsServerPolicyGuest/hgfsServerPolicyGuest.c,
lib/include/hgfsServerPolicy.h: fix checking of whether an object belongs
to a particular share; this was causing issues with invalid information
being returned in certain cases.
* lib/hgfsServer/*, lib/include/hgfsProto.h: changes to support new VIX API
calls (mostly affecting Win32 only).
* lib/include/guestCaps.h, lib/include/unityCommon.h: add boilerplate for new
RPCs for setting windows as sticky / non-sticky (not yet implemented).
* lib/include/hgfsProto.h: new definitions for the next version of the HGFS
protocol.
* lib/include/xdrutil.h: make XDRUTIL_ARRAYAPPEND() more type-safe when using
GCC.
* lib/misc/codesetOld.c: fix some issues with UTF16 -> UTF8 conversion.
* lib/rpcChannel/rpcChannel.c, libvmtools/signalSource.c,
libvmtools/vmtools.c, libvmtools/vmtoolsConfig.c: g_assert -> ASSERT.
* lib/unityWindowTracker/unityWindowTracker.c: fix issue with z-ordering of
modal dialogs.
* libvmtools/vmtoolsConfig.c: fix some old config translation issues.
* modules/freebsd/shared/*, modules/freebsd/vmblock/*: make vmblock work on
FreeBSD 8.
* modules/freebsd/vmmemctl/*, modules/linux/vmmemctl/*,
modules/solaris/vmmemctl/*, : refactoring and code changes to support the
driver on Mac OS X.
* modules/linux/vmblock/*, modules/linux/vmci/*, modules/linux/vsock/linux/*:
remove compatibility code for older kernels.
* modules/linux/vmhgfs/*: fix memory leak in HgfsAccessInt().
* modules/linux/vmxnet3/*: fix kunmap usage in vmxnet3_shm, and reset the
shared pages when the char device is closed.
* modules/linux/vsock/linux/af_vsock.{c,h}, modules/linux/vsock/linux/util.c:
add vsock protocol negotiation for notifyOn ops. This allows the driver to
negotiate with the remove end which version of the notification protocol to
use.
* modules/linux/vsock/linux/notify.c, modules/linux/vsock/linux/notify.h,
modules/linux/vsock/linux/notifyQState.c,
modules/linux/vsock/linux/vsockPacket.h: add pktOn protocol. This new
protocol improves performance by detecting changes in the queue state
instead of sending WAITING_READ and WAITING_WRITE packets.
* services/plugins/hgfsServer/hgfsPlugin.c,
services/plugins/resolutionSet/resolutionSet.c,
services/vmtoolsd/mainLoop.c, services/vmtoolsd/pluginMgr.c,
services/vmtoolsd/toolsRpc.c: load plugins even when an RPC channel cannot
be instantiated (i.e., when running outside of a virtual machine); this
allows plugins to perform actions (at load time) also when running outside
virtual machines (e.g., to undo some configuration done when the OS was run
in a VM).
* services/vmtoolsd/mainLoop.c, services/vmtoolsd/mainPosix.c,
services/vmtoolsd/toolsCoreInt.h: handle SIGHUP differently; instead of
stopping the service, just re-load the config data. This should make it
easier to integrate the tools service with other tools such as logrotate.
* toolbox/toolbox-cmd.c, toolbox/toolboxcmd-stat.c: remove memory info query,
which didn't really return useful information.
* vmware-user/copyPasteUI.cpp: if the clipboard/primary with most recent
timestamp has no data on it, try the other before giving up during
copy/paste.
2009-07-22 Marcelo Vanzin <[email protected]>
* Resync with internal trunk (2009.07.17)
* configure.ac: fix detection of "dot" and its usage in the doxygen config
file.
* configure.ac, libguestlib/Makefile.am, libguestlib/vmguestlib.pc.in:
install vmguestlib headers and add new pkgconfig script.
* lib/dndGuest/dnd.{cc,hh}, lib/include/dndBase.h, vmware-user/dndUI.{cpp,h}:
fix an issue where the DnD code would prevent drops to other windows in
Unity mode, instead of just intercepting drops to the desktop.
* lib/dndGuest/dnd.{cc,hh}, lib/dndGuest/dndRpc.hh, lib/dndGuest/dndRpcV3.cc,
lib/include/dndBase.h, vmware-user/dndUI.{cpp,h}: fix an issue where the
host Unity code would cause an undesired drop event.
* lib/dndGuest/dnd.{cc,hh}, lib/dndGuest/dndRpc.hh, lib/dndGuest/dndRpcV3.cc,
lib/include/dndBase.h: cleanup mouse simulation code, and fix an issue
where a drag would be canceled if the contents were dragged out of a guest
and then back in.
* lib/dndGuest/dndRpcV3.cc, vmware-user/copyPasteDnDWrapper.cpp,
vmware-user/dndUI.cpp, vmware-user/dndUI.h, vmware-user/dragDetWnd.cpp,
vmware-user/dragDetWnd.h: several DnD fixes; make the DnD code behave
more like other GTK applications (based on analysing the flow of signals
on a test widget), and get rid of one of the detection windows, merging
both the Unity and non-Unity windows. Also, some code refactoring.
* lib/ghIntegration/*, lib/guestRpc/*, lib/include/guestCaps.h,
lib/include/unityCommon.h: add stubs for a few new GHI functions (setting
window focus, tray icon updates and enhanced app info) - currently only
implemented on Win32.
* lib/ghIntegration/ghIntegrationX11.c: examine WM_CLASS when determining
which DE Tools are running in. The previous code was failing to show a
few entries set as "OnlyShowIn=xxx" because checking WM_NAME wasn't enough
to properly detect the desktop environment in certain cases.
* lib/guestApp/guestAppPosixX11.c: use gconftool-2 to detect the user's
browser, since gnome-open fails to open "file://" URLs which contain query
strings. Also, use "kde-open" when running under KDE.
* lib/guestInfo/guestInfo.c, lib/include/wiper.h, lib/wiper/wiperPosix.c:
allow shrinking LVM partitions.
* lib/include/appUtil.h: partial refactoring of icon retrieval code.
* lib/include/dbllnklst.h, lib/misc/dbllnklst.c: inline linked list
functions.
* lib/include/guest_os.h, lib/misc/hostinfoPosix.c: add a couple of
distros to the known distro list.
* lib/include/netutil.h, lib/netUtil/netUtilLinux.c: add Linux interface
name, index lookup routines.
* lib/include/system.h, lib/system/systemLinux.c,
services/plugins/timeSync/timeSync.c: fixes a few bugs in the backwards
time sync code, mostly due to unit mismatches.
* lib/include/unityWindowTracker.h, lib/unity/unity.c,
lib/unity/unityPlatform.h, lib/unity/unityPlatformX11Window.c,
lib/unityWindowTracker/unityWindowTracker.c: expose two new properties in
the window tracker to save an RPC to retrieve those properties.
* lib/include/vmtoolsApp.h, services/vmtoolsd/mainLoop.c,
services/vmtoolsd/pluginMgr.c, services/vmtoolsd/toolsCoreInt.h: add
support for "application providers", which allow plugins to add support to
new kinds of application frameworks through vmtoolsd.
* lib/unity/unityPlatformX11.c: only enable GIO channels when Unity is
actually active.
* lib/unity/*: cleanup old GTK1 code.
* libvmtools/vmtoolsConfig.c: don't complain if config file is empty.
* modules/linux/dkms.conf, modules/linux/dkms.sh: fix dkms.conf, and provide
a script to create a dkms tree from open-vm-tools.
* modules/linux/shared/vmci_queue_pair.h, modules/linux/vmci/vmciKernelIf.c:
remove two (now) unneeded functions.
* modules/linux/vmhgfs/*: code cleanups, properly initialize the list head,
and allow receives to timeout so that hibernation works.
* modules/linux/vmxnet/vmxnet.c, modules/linux/vmxnet3/vmxnet3_drv.c: fix
drivers for kernels 2.6.29+.
* modules/linux/vmxnet3/*: add shared memory support for faster communication
between user space and the device backend; this doesn't affect the regular
driver functionality, but is used by some VMware code not part of Tools.
* modules/linux/vsock/*: fix an issue where it was possible for users to send
VMCI datagrams directly to the hypervisor.
* scripts/common/vmware-user.desktop: work around a bug in KDE where desktop
files with "NoDisplay" fail to autostart.
* scripts/freebsd/suspend-vm-default: use netif to bring down interfaces,
since dhclient doesn't understand "-r" in the default install.
* services/plugins/vmbackup/*: add some new code used by enhancements being
done in the Win32 version of the plugin.
* services/vmtoolsd/mainPosix.c: fix running in background when executing
vmtoolsd while relying on PATH.
* services/vmtoolsd/Makefile.am: point to the correct plugin install
directory.
* toolbox/*: better command line handling in the CLI utility, plus some code
cleanup.
* vmware-user/copyPaste.c, vmware-user/copyPasteDnDWrapper.cpp,
vmware-user/copyPasteDnDWrapper.h, vmware-user/dnd.c: properly unregister
RPCs to avoid multiple registrations (and the ensuing ASSERT) in certain
cases.
* vmware-user/copyPasteUI.{cpp,h}: change way data is retrieved from the
clipboard, using the gtk+ clipboard wait APIs (which turn out to be more
reliable than the previous approach).
2009-06-18 Marcelo Vanzin <[email protected]>
* Resync with internal trunk (2009.06.15)
* docs/api/Makefile.am: replace all variables in the doxygen conf file with
the correct values.
* lib/appUtil/appUtilX11.c: try alternate file extensions during icon search.
Sometimes a package lists its icon as icon-foo.png, but the package didn't
include icon-foo.png. Instead, it included icon-foo.xpm. Ex: Ubuntu
8.04's hwtest.
* lib/guestApp/guestAppPosixX11.c: change detection of the default browser so
that the new help system works; the help files are not yet available in
open-vm-tools.
* lib/hgfs/*, lib/include/cpName.h, lib/include/cpNameLite.h,
lib/include/hgfsUtil.h: avoid compiling certain parts of the source in
kernel modules.
* lib/hgfsServer/*: return correct error when files / directories don't
exist.
* lib/include/hgfsChannel.h, modules/linux/vmhgfs/*: added support for vsock
channel for HGFS.
* lib/include/util.h, lib/misc/utilMem.c: un-inline a bunch of functions to
reduce the size of binaries.
* lib/include/vm_tools_version.h: bumped Tools version.
* lib/resolution/resolutionX11.c: fix for issue where the host would send
a "topology set" command with a top-left corner that was not (0, 0) and
cause the screen to be reconfigured in the wrong way.
* lib/unity/unityPlatformX11Window.c: check for errors in calls to
XQueryTree.
* lib/wiper/wiperPosix.c: check return of fgets() to avoid compiler warnings.
* libvmtools/vmtools.c: fix initialization of wiper library on Win32.
* modules/Makefile.am: install vsock header file on Linux.
* modules/freebsd/vmhgfs/*, modules/linux/vmci/*, modules/linux/vsock/*:
changes related to 64-bit Mac drivers, don't affect either the FreeBSD
or Linux drivers.
* modules/linux/vmhgfs/hgfs.h: removed duplicate file.
* modules/linux/vmhgfs/fsutil.c, modules/linux/vmhgfs/inode.c,
modules/linux/vmhgfs/module.h: fix issue where two files would get the
same inode number in some situations.
* modules/linux/vmxnet/vmxnet.c: re-probe vmxnet2 device features on resume
from hibernate, to cover the case where a VM is resumed on a platform with
a different version of the device backend (bug #2209565).
* scripts/resume-vm-default, scripts/suspend-vm-default: use NetworkManager
to handle networking where it is available.
* services/plugins/hgfsServer/Makefile.am, services/plugins/vix/Makefile.am:
fix installation of vmusr plugins that are shared with vmsvc.
* services/plugins/timeSync/timeSync.c: fix backwards time sync.
* services/vmtoolsd/cmdLine.c, toolbox/toolbox-cmd.c: print build number as
part of "-v" output.
* toolbox/toolboxcmd-shrink.c: correctly ignore unsupported partitions when
shrinking.
* toolbox/toolbox-gtk.c: changes for the new help system, not yet available
for open-vm-tools.
* toolbox/toolboxInt.{c,h}, toolbox/toolboxScripts.c: some code refactoring.
* vmware-user/Makefile.am: fix linking when compiling without gtkmm.
2009-05-22 Marcelo Vanzin <[email protected]>
* Resync with internal trunk (2009.05.18)
* configure.ac, m4/vmtools.m4: check for PAM and enable PAM support when
available.
* configure.ac, services/plugins/*/Makefile.am, tests/*/Makefile.am: avoid
the "-rpath" hack to create plugins, using plugin_LTLIBRARIES instead (and
manually fixing things when necessary). Thanks to Dominique Leuenberger for
the suggestion (and sample patch).
* docs/api/Makefile.am: fix doc target directories.
* configure.ac, lib/Makefile.am, lib/deployPkg/*, lib/include/deployPkg.h:
remove the deployPkg code, which depends on some VMware code that is not
yet open source.
* lib/backdoor/*, lib/hgfs/*, lib/hgfsBd/*, lib/include/*,
lib/include/compat/*, lib/message/*, lib/misc/dbllnklst.c,
lib/rpcOut/rpcout.c: as part of sharing code between user-level code and
kernel modules, some files have been tagged with more than one license.
* lib/dndGuest/*, lib/include/dndBase.h, lib/include/dndMsg.h,
lib/include/unity*, lib/unity/unityPlatformX11.c: implement mouse movement
from within the guest; this avoids a dependency on "unofficial" mouse APIs
in the VMware host code, making DnD more reliable, and makes a few things
(such as cancelling an ongoing DnD operation) easier.
* lib/file/filePosix.c: make File_FullPath()'s behavior consistent when the
input path starts with a '/'.
* lib/ghIntegration/ghIntegration.c: send more info about the "start menu"
contents to the host (only usable for Windows guests).
* lib/ghIntegration/ghIntegrationX11.c: prettify the category names of menu
items. This is a temporary solution before actually reading this
information from .desktop files.
* lib/guestApp/guestApp.c, libguestlib/vmGuestLib.c, lib/include/guestApp.h,
toolbox/toolbox-gtk.c, vmware-user/foreignVM*, vmware-user/vmware-user.cpp,
configure.ac, lib/Makefile.am, lib/include/socketMgr.h, lib/socketMgr.*:
remove code related to "foreign VM" support, which was never really used.
* lib/guestInfo/guestInfo.c, lib/include/wiper.h, lib/wiper/wiperPosix.c:
properly report disk info for LVM volumes.
* lib/hgfsServer/hgfsDirNotify*, lib/hgfsServer/hgfsServer.c: add support
for directory / file monitoring. It's currently only implemented on
Mac OS X.
* lib/hgfsServer/hgfsServer*: fix issue where it was possible to
create a file on a read-only share on Windows hosts.
* lib/hgfsServer/hgfsServer*, lib/hgfsServerManagerGuest/*,
lib/include/hgfs*.h, services/plugins/hgfsServer/hgfsPlugin.c,
services/plugins/vix/foundryToolsDaemon.c: some refactoring caused by the
work to make HGFS support pluggable transports.
* lib/include/procMgr.h, lib/procMgr/procMgrPosix.c:
remove ProcMgr_GetAsyncStatus().
* lib/include/vmsupport.h, scripts/vm-support, xferlogs/xferlogs.c,
services/plugins/guestInfo/guestInfoServer.c: new feature to automatically
collect support data from the guest from the VMware UI.
* lib/panicDefault/*, lib/user/*: change file names to avoid clash with
another file (Mac OS linker doesn't really like that).
* lib/rpcChannel/rpcChannel.c: try to reinitialize the outbound channel on
failure.
* lib/vixTools/vixTools.c, lib/include/vixCommands.h,
lib/include/vixOpenSource.h: add backend for new VIX API call to list the
guest's filesystems.
* libvmtools/vmtoolsLog.c: lazily open the log file, instead of opening it
during configuration of the log system. This way two processes can use the
same conf file and not overwrite each other's log files (assuming the conf
data is sane).
* modules/Makefile.am, modules/linux/vmci/Makefile.kernel,
modules/linux/vsock/Makefile.kernel: don't store VMCI module symbols in
/tmp during build; this avoids a possible symlink attack that could cause
data to be overwritten when building open-vm-tools.
* modules/*/*, vmblock-fuse/*: remove a lot of duplicated files by either
moving them to a shared location or reusing files that were already
available elsewhere.
* modules/freebsd/vmblock/subr.c, modules/freebsd/vmblock/vmblock_k.h,
modules/freebsd/vmblock/vnoops.c: fix a possible kernel crash caused by
trying to read / write to the mount point (something vmware-user does to
detect whether it's using fuse or non-fuse vmblock).
* modules/linux/pvscsi/*: adds support for a generic msg framework that is
currently used to deliver hot-plug/unplug notifications; get rid of a few
divisions; fix a bug where pvscsi_probe could return 0 (aka success) if
a call to kmalloc() failed; remove a few unused fields.
* modules/linux/shared/vmci*: mostly changes related to the host VMCI drivers
(removed user-level queue-pair daemon, added support for trusted VMCI
endpoints) to keep binary compatibility between the host and guest VMCI
drivers.
* modules/linux/hgfs/inode.c: check host's access rights when checking file
permissions, so that permissions are correctly checked when the guest's
user id is different from the host's user id.
* modules/linux/bdhandler.*, modules/linux/filesystem.c; modules/linux/tcp.*,
modules/linux/transport.*,: postpone opening the channels so that module
can load successfully even if shared folders are disabled on the host;
fix a synchronization problem between recv and close/open; allow
hibernation to work by timing out the recv thread; correctly handle
failures in recv, including injecting a dummy error to the pending
requests when the recv thread exits; move the recv code to the channel's
implementation so that it can be simpler.
* modules/linux/vmxnet3/vmxnet3.c, modules/linux/shared/compat_pci.h: fix
Wake-On-LAN for 2.6.27 and newer Linux guests.
* modules/linux/vsock/linux/*: changes to support trusted VMCI host apps;
pull out notification and stats logging code into their own files.
* modules/solaris/vmhgfs/vnode.c: do not substitute errors returned by
uiomove() calls with EIO, propagate returned error code (which is EFAULT)
up the stack.
* services/vmtoolsd/Makefile.am, scripts/common/linux/pam.d/vmtoolsd-x64,
scripts/common/linux/pam.d/64/vmtoolsd: install the 64-bit PAM config
file with the correct name.
* services/plugins/powerOps/powerOps.c: fix running default scripts by
making sure the path to the script is absolute.
* services/vmtoolsd/Makefile.am, services/vmtoolsd/pluginMgr.c: use info
from the configure step to define the plugin path; this avoids requiring
a symlink to be placed in /etc/vmware-tools for vmtoolsd to be able to
find the plugins.
* services/vmtoolsd/toolsRpc.c: send the build information to the host so
it's logged in the VM's logs.
* toolbox/toolbox-cmd.c, toolbox/toolboxcmd-*, toolbox/toolboxCmdInt.h:
make string comparison case-insensitive on Win32.
* toolbox/toolboxcmd-shrink.c: properly finish the shrinking process by
sending the "disk.shrink" RPC to the host.
* toolbox/toolboxScripts.c: fix showing default settings for power ops
scripts (should show default script enabled, not script disabled).
* vmblock-fuse/Makefile.am: fix compilation on FreeBSD.
* vmware-user/copyPasteUI.cpp: disallow copy-paste text of size greater than
4MB, instead of truncating the data.
* vmware-user/dndUI.*, lib/dndGuest/dnd.cc, lib/include/dndBase.h: remove
drag timeout callback (which was not needed), and add new signal to
indicate that a GH DnD was cancelled.
* vmware-user/Makefile.am: remove C++ link hack (not needed now since
vmware-user has C++ code already).
2009-04-23 Marcelo Vanzin <[email protected]>
* Resync with internal trunk (2009.04.17)
* configure.ac, Makefile.am, docs/*: build API docs for vmtools; the
documentation files are provided under a BSD-style license.
* configure.ac, Makefile.am, guestd/*, lib/Makefile.am, lib/guestInfo/*,
lib/include/vmbackup_def.h, lib/include/vmBackup.h, lib/vmBackupLib/*,
libvmtools/Makefile.am, services/plugins/vmbackup/vmbackup_def.h: remove
guestd from open-vm-tools, and clean up code in other places that was only
there because of guestd.
* configure.ac, modules/solaris/vmblock/*, modules/solaris/vmmemctl/*: add
Solaris vmblock and vmmemctl driver sources. The vmmemctl module also
includes a user-level daemon (vmmemctld.c).
* lib/conf/conf.c, lib/include/conf.h, libvmtools/vmtoolsConfig.c: remove
unused config options.
* lib/deployPkg/toolsDeployPkg.h: code refactoring.
* lib/dnd/dndClipboard.c: if size of clipboard exceeds the maximum backdoor
packet size, only keep text data (dropping the RTF data).
* lib/dnd/dndLinux.c, lib/include/dnd.h, lib/include/vmblock.h,
vmware-user/copyPaste.c, vmware-user/dnd.c, vmware-user/vmware-user.cpp,
vmware-user/vmwareuserint.h, vmware-user-suid-wrapper/main.c: detect
whether plain vmblock or vmblock-fuse is being used, allowing the same
executable to be used with either.
* lib/dndGuest/*, vmware-user/copyPaseDnDWrapper.{cpp,h},
vmware-user/dndUI.{cpp,h}, vmware-user/dragDetWnd.{cpp,h}:
vmware-user/vmware-user.cpp: more DnD V3 protocol work.
* lib/ghIntegration/*, lib/include/guestCaps.h, lib/include/unityCommon.h:
work related to mapping Outlook folders over HGFS and exposing the Windows
Recycle Bin to the host (doesn't really affect open-vm-tools).
* lib/ghIntegration/ghIntegrationX11.c: restore the native environment when
launching external applications. This doesn't really affect open-vm-tools.
* lib/guestRpc/*, vmware-user/copyPasteUI.{cpp,h}: implement RTF and file
contents copy & paste.
* lib/include/circList.h, lib/include/vm_basic_math.h,
lib/include/vm_device_version.h, modules/linux/*, modules/Makefile.am:
changes to share files between the user space code and the kernel code,
instead of duplicating the same source files in different places.
* lib/include/rpcChannel.h, lib/rpcChannel/*, tests/testDebug/testDebug.c,
test/vmrpcdbg/debugChannel.c: some code cleanup, and fix crash when dealing
with multiple reset messages.
* lib/include/system.h, lib/system/systemLinux.c,
services/vmtoolsd/mainPosix.c: remove System_Daemon() (replaced with
Hostinfo_Daemonize()).
* lib/include/unityCommon.h, lib/unity/*: ressurrect UNITY_RPC_WINDOW_SHOW
and UNITY_RPC_WINDOW_HIDE RPCs.
* lib/procMgr/procMgrPosix.c: fix ProcMgr_IsProcessRunning().
* lib/system/systemLinux.c: fix shutdown / reboot commands on Solaris; fix
rebuilding of native environment from variables set by VMware scripts (this
last one doesn't really affect open-vm-tools).
* lib/unicode/unicodeSimpleTypes.c: speed up UnicodeIANALookup, and fix case
where C++ constructors could call UnicodeIANALookup before Unicode_Init()
was called by lazily creating the internal cache.
* libguestlib/*: link libguestlib against libvmtools. This avoids having
two definitions of certain symbols (like Debug()) when an application
links to both libraries.
* modules/linux/vmblock/linux/control.c: only set directory entry owner when
needed.
* modules/linux/vmhgfs/bdhandler.{c,h}, modules/linux/vmhgfs/dir.c,
modules/linux/vmhgfs/file.c, modules/linux/vmhgfs/filesystem.c,
modules/linux/vmhgfs/fsutil.c, modules/linux/vmhgfs/inode.c,
modules/linux/vmhgfs/module.{c,h}, modules/linux/vmhgfs/page.c,
modules/linux/vmhgfs/request.{c,h}, modules/linux/vmhgfs/super.c,
modules/linux/vmhgfs/tcp.{c,h}, modules/linux/vmhgfs/transport.{c,h}:
cleanup use of atomic variables in HGFS; add a transport abstraction layer,
and add an initial version of a socket-based transport (not yet stable and
not yet supported by any released VMware product).
* modules/linux/vmxnet3/vmxnet3.c: fix build on kernel 2.6.29.
* modules/linux/vsock/af_vsock.c: export more functions to other kernel
modules; some changes to statistics gathering code.
* modules/solaris/vmhgfs/filesystem.c: make module loadable on Solaris 9.
* modules/solaris/vmhgfs/vnode.c: unify mapping of HGFS to Solaris error
codes.
* scripts/*: restart network before running user scripts in resume scripts.
* services/plugin/powerOps/powerOps.c: fix running default power scripts.
* services/vmtoolsd/pluginMgr.c: better error logging.
* toolbox/toolbox-cmd.c: fix help string.
* vmblock-fuse/block.c: fix vmblock-fuse compilation on FreeBSD.
2009-03-18 Marcelo Vanzin <[email protected]>
* Resync with internal trunk (2009.03.13)
* configure.ac: check for FreeBSD kernel tree when building modules; warn
about which version of make to use when building kernel modules on FreeBSD
and Solaris; add compiler defines for identifying Solaris 9 and 11.
* configure.ac, modules/Makefile.am: handle SYSDIR on FreeBSD.
* guestd/main.c, modules/solaris/vmhgfs/Makefile: remove HGFS-related that
is now obsolete with the recent changes to the HGFS module on Solaris.
* guestd/toolsDaemon.c: default to the configuration dir when the power
script path is not absolute.
* guestd/toolsDaemon.c, lib/include/guestInfo.h, lib/netUtil/netUtilLinux.c:
handle case when all network interfaces have been disabled and send an
"unknown" IP address to the host.
* guestd/toolsDaemon.c, services/vmtoolsd/toolsRpc.c: always send
TOOLS_VERSION_UNMANAGED from an open-vm-tools build, so there's no need for
a config file option anymore.
* hgfsclient/*: make it link to libvmtools to avoid code duplication.
* lib/appUtil/appUtil.c: update list of "skippable" apps when figuring out
an application's path.
* lib/auth/authPosix.c, scripts/linux/pam.d/*, guestd/Makefile.am,
services/vmtoolsd/Makefile.am : change the name of the PAM application to
"vmtoolsd" to reflect the new service name.
* lib/dnd/dndFileContentsUtil.h, lib/dnd/dndInt.h, lib/dndGuest/*.hh, and
corresponding files in lib/include: relocate private headers.
* lib/ghIntegration/ghIntegration.c, lib/ghIntegration/ghIntegrationInt.h,
lib/ghIntegration/ghIntegrationX11.c, lib/include/unityCommon.h: glue code
for Outlook mirrored folder, which does not affect open-vm-tools.
* lib/guestRpc/guestlibV3.x, lib/include/vmGuestLib.h,
libguestlib/vmGuestLib.c: add new guestlib counters.
* lib/include/conf.h, toolbox/toolbox-gtk.c: remove the need for the
"helpdir" config option; this doesn't really affect open-vm-tools since the
help files are not yet included.
* lib/include/guest_os.h, lib/misc/hostinfoPosix.c: more guest OS names; fix
name used to identify Solaris to match what VMware's host code expects.
* lib/include/guestStats.h: documentation changes.
* lib/include/hostinfo.h, lib/user/hostinfoPosix.c: add a new function that
behaves like daemon(3), but is more Mac OS-friendly.
* lib/include/toolsLogger.h, lib/Makefile.am, lib/toolsLogger/*: removed
library, which is not used anymore.
* lib/include/vm_basic_types.h, lib/misc/timeutil.c: fixes to compile under
(Open) Solaris 11.
* lib/include/vmtoolsApp.h, services/plugins/vmbackup/stateMachine.c,
services/vmtoolsd/mainLoop.c, services/vmtoolsd/mainPosix.c,
services/vmtoolsd/serviceObj.c, services/vmtoolsd/toolsCoreInt.h: add new
signal handler to gather debugging information from a running vmtoolsd
instance.
* lib/misc/posixPosix.c: fix off-by-one error.
* lib/unity/unity.c, lib/unity/unityPlatform.h, lib/unity/unityPlatformX11.c,
lib/unity/unityPlatformX11Settings.c: always send Unity updates using RPCI;
this avoids a possible race between replying to an incoming RPC and sending
an Unity update from a different thread; also, API documentation updates.
* lib/unity/unityPlatformX11.c: verify the DnD detection window was
initialized before actually using it.
* lib/unity/unityPlatformX11Settings.c, lib/unity/unityPlatformX11Window.c:
reset _NET_WM_DESKTOP as necessary before exiting Unity; this could cause
guest taskbars to disappear when in Unity mode.
* lib/unity/unityPlatformX11.c, lib/unity/unityPlatformX11Window.c,
lib/unity/unityX11.h: examine WM_CLIENT_LEADER when gathering application
information; certain applications use this property to define the window
where the WM_COMMAND property should be.
* lib/vixTools/vixTools.c: do not follow symlinks when deleting files in the
guest using the VIX API.
* libvmtools/vmtools.c, libvmtools/vmtoolsLog.c: allow the logging subsystem
to be re-configured, and clean up the logging data when unloading the
library; allow ${USER} and ${PID} to be used in log file paths.
* modules/freebsd/vmblock/subr.c, modules/freebsd/vmblock/vnops.c: fix kernel
panic on FreeBSD 7.
* modules/linux/*/Makefile: remove GCC version check.
* modules/linux/*/compat_wait.h: fix COMPAT_DEFINE_WAIT for "vanilla" 2.4
kernels.
* modules/linux/vmhgfs/Makefile.normal: fix build of HGFS module on 2.4
kernels.
* modules/linux/vmxnet/*, modules/linux/vmxnet3/*: avoid using compat
functions when they're not needed; add compatibility functions for
newer Linux kernels.
* modules/linux/vsock/linux/af_vsock.c: fix two races; one when the socket
state changed between calls to VSockVmciRecvStreamCB and
VSockVmciRecvPktWork, and another when trying to read from the socket after
a RST arrived after the socket got a detach notification.
* modules/solaris/vmxnet3/*: add Solaris vmxnet3 driver.
* rpctool/*: add "rpctool", a simple, stand-alone tool to send RPC commands
to the host software.
* services/plugins/guestInfo/guestInfoServer.c: don't cache configuration
data.
* services/plugins/guestInfo/perfMonLinux.c: fix problem with overwriting
flags after GuestInfoMonitorReadMeminfo() was called. (Same as fix to
lib/guestInfo on previous release.)
* services/plugins/powerOps/powerOps.c: handle power ops-related options
sent from the host.
* services/vmtoolsd/mainLoop.c: handle re-loading the configuration file.
* services/vmtoolsd/mainPosix.c: exec after forking on Mac OS, since
CoreFoundation classes don't work after a fork.
* services/vmtoolsd/pluginMgr.c: allow both 32 and 64 bit plugins to be
installed on Solaris by loading them from the appropriate directory;
add library loading code that is not really needed (nor used) in
open-vm-tools.
* services/vmtoolsd/toolsRpc.c: send another "capability" the host expects
from Tools.
* toolbox/toolbox-gtk.c: add F1 shortcut to invoke help.
* toolbox/toolboxScripts.c: fix issue with freeing data that should not be
freed.
* vmware-user/*: implement the new DnD protocol (V3).
2009-02-18 Marcelo Vanzin <[email protected]>
* Resync with internal trunk (2009.02.13)
* configure.ac, m4/vmtools.m4: clean up a lot of the library detection code.
* configure.ac: remove support for gtk+ 1.2 (code already depended on it in
any case); enforce need for glib 2.6.0 or later due to new code being
added; add detection for gtkmm; check for C++ compiler when it's needed;
reorder the include path to avoid clashing with system headers in some
situations.
* guestd/foundryToolsDaemon.*, vmware-user/foundryToolsDaemon.*,
guestd/Makefile.am, vmware-user/Makefile.am: moved shared source files to
a new place to avoid duplication.
* hgfsmounter/hgfsmounter.c: add support for Solaris.
* lib/appUtil/appUtilX11.c: fix loading of icons when the name has a period.
* lib/dnd/dndClipboard.c, lib/dnd/dndInt.h, lib/dnd/dndMsg.c,
lib/dnd/Makefile.am, lib/dndGuest/*, lib/include/copyPasteBase.h,
lib/include/copyPaste.hh, lib/include/copyPasteRpc.hh,
lib/include/copyPasteRpcV3.hh, lib/include/dndBase.h,
lib/include/dndClipboard.h, lib/include/dndFileContentsUtil.h,
lib/include/dndFileList.hh, lib/include/dnd.h, lib/include/dnd.hh,
lib/include/dndInt.h, lib/include/dndMsg.h, lib/include/dndRpc.hh,
lib/include/dndRpcV3.hh, lib/include/dndTransportGuestRpc.hh,
lib/include/dndTransport.hh, lib/include/libExport.hh,
vmware-user/copyPaste.cpp, vmware-user/copyPasteUI.{cpp,h},
vmware-user/copyPasteV3.h, vmware-user/copyPasteWrapper.{cpp,h},
vmware-user/dnd.cpp, vmware-user/Makefile.am,
vmware-user/vmware-user.{c,cpp}, vmware-user/vmwareuserInt.h,
vmware-user/stringxx/string.{cc,hh}, vmware-user/stringxx/ubstr_t.hh: add
support for new version of the DnD protocol.
* lib/guestInfo/guestInfoPerfMonLinux.c: fix problem with overwriting flags
after GuestInfoMonitorReadMeminfo() was called.
* lib/guestRpc/guestlibV3.x, lib/include/vmGuestLib.h,
libguestlib/vmGuestLib.c: add new host stats.
* lib/guestRpc/Makefile.am: fix a few compatibility issues with non-GNU
versions of make.
* lib/hgfsServer/hgfsServer.c, lib/hgfsServer/hgfsServerInt.h,
lib/hgfsServer/hgfsServerLinux.c, */hgfsProto.h,
modules/freebsd/vmhgfs/vnops.c, modules/freebsd/vmhgfs/vnopscommon.{c,h}:
don't trust the local VFS layer, check the HGFS server to see if an
operation would succeed.
* lib/include/rpcChannel.h, lib/rpcChannel/*: add new Guest RPC channel
abstraction library used by the new "core services" code.
* lib/include/vmrpcdbg.h, tests/*: add test code from the "core services"
project.
* lib/include/vmtoolsApp.h, lib/include/vmtoolsd_version.h,
services/vmtoolsd/*: add "vmtoolsd", the new service "shell" used in the
"core services" project.
* lib/unity/unityPlatformX11Window.c: don't send initial "region" updates for
shaped windows. This works around an issue where resizing a shaped window
would not work as expected in Unity mode.
* lib/wiper/wiperPosix.c: fix major number detection for disks on newer Linux
kernels.
* libvmtools/Makefile.am: link more libraries needed by vmtoolsd and the new
plugins.
* modules/linux/pvscsi/pvscsi.c, modules/linux/pvscsi/pvscsi_version.h: use
PCI-specific memory allocation functions and update driver version.
* modules/linux/vmci/vmciKernelIf.c: disable queue pair support in the host
version of the driver on older Linux kernels. This doesn't affect the
guest driver.
* modules/linux/vmci/vmci_queue_pair.h: implement MSG_PEEK support on
Linux driver.
* modules/linux/vmhgfs/bdhandler.c, modules/linux/vmhgfs/compat_sched.h,
modules/linux/vmmemctl/os.c: fix issue with HGFS module interfering with
suspend / hibernation on newer Linux kernels (bug #2523263).
* modules/linux/vmhgfs/compat_cred.h, modules/linux/vmhgfs/file.c,
modules/linux/vmhgfs/filesystem.c, modules/linux/vmhgfs/inode.c: changes
for compatibility with newer Linux kernels, where it's not possible to
change fsuid/capabilities directly anymore.
* modules/linux/vmhgfs/compat_pagemap.h, modules/linux/vmhgfs/page.c:
fix warning, and compatibility changes for newer Linux kernels
(2.6.28.1 and newer; bug #2530616).
* modules/linux/vmhgfs/inode.c: fix creation of symlinks (bug #2531303).
* modules/linux/vmxnet/vmxnet.c: use PCI-specific memory allocation
functions.
* modules/linux/vmxnet/vmxnet.c, modules/linux/vmxnet3/vmxnet3.c: add option