Commit Graph

52 Commits

Author SHA1 Message Date
Vadim Zeitlin
21e413b224 fix file dialog caption
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:27:50 +00:00
Vadim Zeitlin
979a73474c added trivial wxLaunchDefaultApplication() implementation for wxMac; added a test for it to the exec sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:49:06 +00:00
Julian Smart
5b4567ee4c Don't fail to get correct extension if there's a dot somewhere else in the path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-23 13:38:31 +00:00
Vadim Zeitlin
223867913b add timing of synchronous execution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 15:41:37 +00:00
Vadim Zeitlin
69328170cc no real changes, just added a default value for the command used by exec with redirect to avoid having to type it every time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 15:37:04 +00:00
Vadim Zeitlin
5a8561fc55 fix wxExecute thread shutdown and free wxExecuteData even if the associated process is still running (bug 1863908); fix memory leaks when the asynchronously launched processes are still running in the sample too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 17:01:05 +00:00
Vadim Zeitlin
ce0bb89d45 no real changes, just added an extra status message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:31:00 +00:00
Vadim Zeitlin
c6f9dfe8ef added commands to test how busy cursor behaves during wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:05:28 +00:00
Václav Slavík
bd0b594dff compilation fixes after string changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 20:49:19 +00:00
Vadim Zeitlin
8f6d9cb3f7 use a default URL, I got tired of typing it in the dialog every time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 15:26:06 +00:00
Vadim Zeitlin
9b6b9e0c9c added wxEXEC_BLOCK flag (patch 1620430)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:43:10 +00:00
Vadim Zeitlin
45e6e6f8ab call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Vadim Zeitlin
ba59de5d95 add test for wxLaunchDefaultBrowser, it makes sense to have it in this sample too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 17:53:32 +00:00
Julian Smart
a387938f80 Applied patch [ 1586964 ] Getting the PID of the process executed by wxProcess::Open()
by Lauri Nurmi


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 09:03:18 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
71307412f5 Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:47:11 +00:00
Włodzimierz Skiba
11fdee427e Wrong #pragma interface/implementation warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:10:46 +00:00
Václav Slavík
749bfe9a6d compilation fixes for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 12:36:02 +00:00
Włodzimierz Skiba
f6def1fae7 Order of initializations according to class construction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 14:29:55 +00:00
Vadim Zeitlin
42d0aa30b8 corrected code to not suppose that Write() always writes all the data it was given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:41:17 +00:00
Vadim Zeitlin
1a278e7bef show stderr in popen() test; show how to deal with piping big amounts of data to child process without deadlocking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 17:54:01 +00:00
Włodzimierz Skiba
07850a4950 -1->wxID_ANY, TRUE->true, FALSE->false replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 10:43:39 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Mattia Barbon
e4f3eb42f2 Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:21:11 +00:00
Mattia Barbon
33eab53044 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 20:22:58 +00:00
Vadim Zeitlin
a0b0865599 warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:28:28 +00:00
Mattia Barbon
87728739f2 Various warning and Unicode fixes from ABX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 20:24:34 +00:00
Vadim Zeitlin
0a3d26b81f (Open Watcom but not only) compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 11:18:02 +00:00
Mattia Barbon
aff23fcd97 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 20:14:18 +00:00
Mattia Barbon
ab1ca7b3dd More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 18:13:27 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
788233da90 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Vadim Zeitlin
92a2a7eb81 fixed the async process IO polling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 19:45:59 +00:00
Vadim Zeitlin
7ca528cb60 test new wxProcess::IsInputAvailable/Opened functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:55 +00:00
Mattia Barbon
aec18ff785 Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses:
  printf-format warinigs
  indentation/style
  unused variable warnings
  used wxID_ABOUT for about menu entry
  removed references to "minimal sample" in other samples
  some other misc warinigs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:12:24 +00:00
Vadim Zeitlin
eb671557a8 added a stupid wxProcess::Open() test -- it can't be really used for now though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 19:54:21 +00:00
Vadim Zeitlin
9c05a3ca23 use full 32bit range for the process ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 18:04:54 +00:00
Vadim Zeitlin
4c1ef4220f use the new API in the sample as it's more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:31:58 +00:00
Gilles Depeyrot
5af4b77ff3 added missing conditional compilation test for MSW specific events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:00:57 +00:00
Vadim Zeitlin
50567b69d6 1. improved wxKill() implementation for Win32
2. added wxKillError output parameter to wxKill
3. added wxProcess::Kill() and Exists()
4. documented all the new stuff
5. updated the sample to show it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 00:59:07 +00:00
Vadim Zeitlin
ca289436cd fixed wxExecute + DDE bug (merged from 2.2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 01:20:04 +00:00
Vadim Zeitlin
8ce88dfa24 changed lbox font to be more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-09 13:00:12 +00:00
Vadim Zeitlin
6ba636000f 1. some more tests in console
2. added wxFileType::GetOpenCommand() demo in the exec sample
3. "fixed" the error messages from wxExecute() - still no idea why it happens
   though :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 23:50:07 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
d31b7b682c 1. wxStopWatch tests in console
2. some more messages in exec


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:23:53 +00:00
Vadim Zeitlin
cd6ce4a90c 1. wxProcess changes to make capturing subprocess output easier (and more
reliable), now works in both sync and async modes
2. wxSafeYieldBug() corrected, wxWindowDisabler which is now used in it
   added and documented
3. exec sample updated to illustrate capturing the subprocess output
4. wxStreamBase::IsOk() added
5. wxInputStream::Eof() added and non-blocking Eof() implementation in
   wxPipeInputStream used by wxExecute


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:06:13 +00:00
Vadim Zeitlin
d8e41d423d added demo of capturing program output - doesn't work very well though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 16:17:43 +00:00
Vadim Zeitlin
9121bed249 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 01:06:16 +00:00
Robert Roebling
e680a37841 Various makefile corrections,
Minor beatifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 22:47:30 +00:00
Vadim Zeitlin
d93c719ac0 1. some DDE tests in exec
2. per-page images test in wizard
3. wxLog dialog test in dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:31:49 +00:00