Commit Graph

150 Commits

Author SHA1 Message Date
Michael Stefaniuc 3dc7bceb48 winefile: Don't use _tsplitpath(). 2009-08-25 11:24:27 +02:00
Michael Stefaniuc 2b8f5e3742 winefile: Get rid of the #ifndef UNICODE code paths. 2009-08-25 11:23:35 +02:00
Paul TBBle Hampson c09f1357bc winefile: Don't use child after it has been freed.
If winefile is unable to create a window, it frees the child pointer.
However, it then proceeds to use the child pointer.
2009-02-03 14:01:14 +01:00
Marcus Meissner 9a0a89271e winefile: Avoid array overrun (coverity). 2009-01-26 14:29:29 +01:00
Rich Ercolani ae48e099da winefile: Fix NULL pointer deref in read_tree. 2009-01-10 18:04:28 +01:00
Alexandre Julliard 8f2a863ff8 winefile: Get rid of hack to load vswprintf from msvcrt. 2009-01-07 11:10:25 +01:00
Alexandre Julliard 01b7667a1a programs: Convert source files to utf-8. 2008-10-18 19:22:19 +02:00
Michael Stefaniuc 163874844b winefile: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:43:00 +02:00
Marcus Meissner a392d3774c winefile: Fixed sizes to LoadString. 2008-09-15 11:47:00 +02:00
Owen Rudge 021850c0b8 winefile: Fix absolute pidl conversion for non-filesystem shell objects. 2008-07-28 11:32:28 +02:00
Alexander Nicolaysen Sørnes abea9de69b winefile: Don't access uninitialized value.
Spotted by Dan Kegel.
2008-07-18 11:06:00 +02:00
Jon Griffiths f2276f5a49 include: Provide wide char definitions for CFSTR_*. 2008-06-19 12:44:43 +02:00
Alexandre Julliard 39ebaba506 winefile: Fix the printf formats for file sizes. 2008-05-09 11:18:27 +02:00
Dmitry Timoshkov cde3101b8e winefile: Fix Win64 warnings. 2008-04-09 16:27:06 +02:00
Alexandre Julliard 0b98d108bc winefile: Remove some unused resources. 2008-03-27 13:46:04 +01:00
Alexandre Julliard ff876005fe winefile: Use the larger icon in the About box. 2008-03-27 13:44:04 +01:00
Alexandre Julliard 761ce98b3f winefile: Remove redundant About Wine menu option. 2008-03-27 13:36:39 +01:00
Mikołaj Zalewski 7b4f499684 winefile: Add FOF_ALLOWUNDO to winefile to allow files go to trash. 2008-02-28 20:00:25 +01:00
Ivan Sinitsin 7a465ce904 winefile: Save font settings in registry. 2007-12-21 12:40:19 +01:00
Michael Stefaniuc 863921b40d winefile: Change choose_font() and init_output() to the W form. 2007-07-26 11:51:02 +02:00
Michael Stefaniuc 26369e1a8f winefile: Move the font choosing code to a separate function. 2007-07-26 11:50:52 +02:00
Michael Stefaniuc 837bd5356d winefile: Change the settings functions to use the W registry functions. 2007-07-25 13:02:32 +02:00
Michael Stefaniuc cee98d2969 winefile: Move some self contained functions to use explicit W functions. 2007-07-24 11:26:27 +02:00
Michael Stefaniuc 11bb71d3d6 winefile: Replace malloc with HeapAlloc. 2007-07-24 11:26:05 +02:00
Michael Stefaniuc fa684a717a winefile: Do not use the TEXT() macro on character constants. The implicit cast from char to WCHAR works as well in UNICODE mode. 2007-06-28 11:01:08 +02:00
Alexandre Julliard 938f231455 winefile: Properly handle negative coordinates for mouse events. 2006-10-25 17:43:09 +02:00
Andrew Talbot 6e4c1501a4 winefile: Cast-qual warnings fix. 2006-10-07 18:05:11 +02:00
Jan Zerebecki 66e0e06b98 winefile: Fix the display of free disk space in the statusbar. 2006-09-07 16:11:05 +02:00
Mike McCormack d20c6cf8ca Fixed more boolean comparisons against TRUE. 2006-05-24 14:38:20 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mikołaj Zalewski ec328c1e70 winefile: Use header full drag. 2006-04-14 10:50:39 +02:00
Mike McCormack fab2e56258 winefile: Fix some gcc 4.1 warnings caused by commctrl.h macros. 2006-03-21 11:04:27 +01:00
Mike McCormack 3b397e5079 winefile: Eliminate use of windowsx.h. 2006-03-18 18:39:16 +01:00
Alexandre Julliard 04dad6218f winefile: Refresh the drives and files upon WM_DEVICECHANGE. 2006-03-10 21:43:25 +01:00
Jason Green 42d6fe6bd5 winefile: Add the ability to save window position to the registry. 2006-02-21 11:36:02 +01:00
Mike McCormack ee20ca1354 winefile: Move the license and warranty text into the resources. 2006-01-31 18:08:45 +01:00
Aric Stewart 59b2838f4e winefile: Highlight the file specified on the command line instead of
filtering based on it. To be integrated with explorer to allow for
that functionality.
2006-01-11 12:32:51 +01:00
Martin Fuchs f42fac5566 Use command line for initial directory selection.
Remove useless hwndParent variable.
2005-11-17 11:05:35 +00:00
Francois Gouget a1f9a13997 Use "static const" rather than "const static" as gcc -W complains
about the former.
2005-10-06 11:38:45 +00:00
Martin Fuchs c6593b04b9 Fix font handle leak after closing the 'choose font' dialog (based on
orginal patch by 'Christoph at ApiViewer.de')
2005-10-03 11:03:04 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard 7f67b35a0d Replace a few more direct lpVtbl accesses by the proper macros. 2005-09-07 13:28:25 +00:00
Martin Fuchs 2a3ece86a6 - move ID_ABOUT_WINE into #ifdef __WINE__
- support for refresh in shell namespace windows
2005-07-07 20:27:24 +00:00
Martin Fuchs 62dbe21168 - remove <tchar.h> and <wchar.h> header usage by switching to WIN32
API string manipulation functions as far as possible
- switch to UNICODE compilaton
- remove launch_fileA() and tcscpyn
- don't crash in set_curdir() for NULL in the 'entry' pointer
2005-07-07 12:00:17 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +00:00
Martin Fuchs 1fc0e675fc Remove duplicate toolbar button. 2005-06-13 11:38:27 +00:00
Martin Fuchs f7a9c49738 - use const parameter in find_entry_shell()
- rename ExecuteDialogWndProg() to ExecuteDialogDlgProc()
- remove old comment
- add missing call to CtxMenu_reset()
2005-06-13 10:04:55 +00:00
Martin Fuchs afb99013df Remove unnecessary paint code. 2005-06-12 11:08:19 +00:00
Martin Fuchs b44c2a3d8c Fix file size in property dialog by using _stprintf() instead of
wsprintf().
2005-06-12 10:43:40 +00:00
Mike McCormack 5f409c7d5b Fix more warnings. 2005-06-10 19:32:24 +00:00
Martin Fuchs 3512161ddb Implement file properties dialog (partly based on Rob D.'s winfile
code).
2005-06-06 10:02:43 +00:00
Martin Fuchs 2f5aee99f1 Refresh window content after context menu popups only if any command
has been executed.
2005-06-05 19:18:11 +00:00
Martin Fuchs 4c6ad7ffc5 Sync winefile's header between WINE and ReactOS. 2005-06-05 18:02:05 +00:00
Martin Fuchs 8cf6accf23 Fix position of column header labels. 2005-06-03 11:25:17 +00:00
Martin Fuchs 0a0fffa5eb - implement commands 'copy' and 'delete'
- fix 'move' command for the left pane
2005-05-30 09:55:19 +00:00
Martin Fuchs 309ae27805 Refresh display after executing a context menu command. 2005-05-29 20:17:05 +00:00
Martin Fuchs 4e3fd5f3c3 Implement file filtering (matching of file name patterns and file
types).
2005-05-29 20:05:29 +00:00
Martin Fuchs 7b1df68929 Bug fixes for _NO_EXTENSIONS mode. 2005-05-23 10:26:47 +00:00
Martin Fuchs 371c620d2d Implement ID_VIEW_SPLIT command. 2005-05-23 09:52:51 +00:00
Martin Fuchs 0ba99b10e6 The call to ScreenToClient() changes the content of the 'pt' variable,
so it can't be used for the following ShellFolderContextMenu() call.
2005-05-19 14:22:51 +00:00
Martin Fuchs 4a0a199fcf Implement connecting and disconnecting of network drives. 2005-05-16 21:36:41 +00:00
Martin Fuchs 08cf5a301a Implement menu entry "format disk" (derived from Robert Dickenson's
code).
2005-05-16 14:08:41 +00:00
Martin Fuchs a55f54fb44 Implement switching of file sort order. 2005-05-16 08:48:54 +00:00
Martin Fuchs 0d5d71999f - spelling fixes (prefered -> preferred)
- add ", {0, 0}, 0, 0" in comment lines
- update copyright statement
2005-05-14 18:50:30 +00:00
Martin Fuchs 12f0b41d13 Display free and total disk space in status bar. 2005-05-14 11:07:39 +00:00
Martin Fuchs aeea9833c2 Display source path in "move file" dialog. 2005-05-13 17:46:11 +00:00
Martin Fuchs 0a10ea00d1 Improved version of Piotr Caban's bugfix patch "Fixed display bug". 2005-05-11 18:23:30 +00:00
Martin Fuchs 05c0cd0081 Implement owner drawn context menus. 2005-05-04 09:47:07 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Piotr Caban fa5c73f1cf Fixed display bug. 2004-12-14 11:43:30 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Alexandre Julliard a79c534c0e Avoid using the MAKEPOINTS macro, it's broken on big endian. 2004-11-24 18:28:31 +00:00
Martin Fuchs 578f9f5a3d Unicodify string constants. 2004-11-22 18:24:09 +00:00
Martin Fuchs 69746f3c9d Fix indenting of last patch (tabs instead of spaces). 2004-10-22 19:52:50 +00:00
Martin Fuchs 1573382dd6 - use ID_SELECT_FONT in german menu
- move string constants into string resources
2004-10-21 19:51:31 +00:00
Martin Fuchs 9bfcbefd13 - remove unused IDS_FILE_MOVE_ERROR
- use SetWindowFont() instead of SendMessage(WM_SETFONT)
- remove unused comment
- use GET_X_LPARAM() instead of GET_X_LPARAM()
- remove old _ROS_ preprocessor statements
2004-10-07 17:35:23 +00:00
Martin Fuchs d1dceca69f Fix "move file" implementation, in detail:
- use TCHAR to make the code UNICODE compatible
- pass return string buffer to the dialog procedure
- call display_error() in case of errors to display the WIN32 error
  message
- use slash instead of back slash for unix file system compatibility
- format the code equally to the remaining winefile code
2004-10-07 04:25:29 +00:00
Martin Fuchs e5d414ea38 Immediately refresh child windows after changing the font. 2004-10-07 04:20:04 +00:00
Martin Fuchs 016ac8877b Fix sigsegv when double clicking directory entries. 2004-10-07 02:58:57 +00:00
Martin Fuchs 1b2dd4ba35 - remove trailing semicolons from constant definitions
- add some comments
- make time_to_filetime() a static function
2004-10-06 18:52:30 +00:00
Piotr Caban c25c8cafe1 - added choosing fonts
- added file moving
2004-09-27 20:35:53 +00:00
Martin Fuchs 634c7a49c4 - Handle "." and ".." as special case and move them at the very first
beginning of directory listings.
- Remove unused variable wStringTableOffset.
2004-09-22 19:11:49 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
Martin Fuchs fa828cd057 - move some PIDL function declarations from undocshell.h into public
header, as they are no longer undocumented
- implement context menu support for Winefile
2004-02-11 04:18:12 +00:00
Francois Gouget ad5ff7ceeb Assorted spelling and case fixes. 2004-02-09 22:07:42 +00:00
Huw Davies 89ef25e218 Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Martin Fuchs 17b9837af4 Fixed missing initializations of struct SHELLEXECUTEINFO. 2003-12-12 04:11:25 +00:00
Alexandre Julliard 0e3042eb65 Don't use alloca. 2003-08-28 19:40:51 +00:00
Francois Gouget 01e8d2eb5f Fix compilation error. 2003-08-13 19:43:19 +00:00
Richard Cohen ca1fe9ec1d Use __WINE__ instead of _WINE_, _WIN32. 2003-08-13 19:38:22 +00:00
Martin Fuchs f6fab8c730 Extended winefile for an optional shell namespace mode. 2003-08-13 01:18:37 +00:00
Igor Stepin 4acde5346f Changed font charset from ANSI to DEFAULT_CHARSET. 2003-05-01 00:00:10 +00:00
Martin Fuchs 4ff0a69b65 Removed warning "SetWindowText(0, ...)" when opening new windows. 2002-10-18 00:20:25 +00:00
Martin Fuchs 605e7a18f0 Correct initial display of file listing. 2002-10-17 01:18:20 +00:00
Martin Fuchs b5960a175f Implemented program launching by double click. 2002-10-16 18:50:38 +00:00
Martin Fuchs 3d8820ea22 - Fixed building unter native WIN32.
- Fixed display of filenames in tree pane.
2002-10-15 02:21:08 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Gregg Mattinson bac71315d2 Removed non-static structure initializers. 2002-07-03 21:06:58 +00:00
Gregg Mattinson 88773cd403 Removed C++ style comments. 2002-06-28 17:37:34 +00:00
Alexandre Julliard 65a42168e3 Merged Martin Fuchs' file manager (with the help of Steven Edwards). 2002-06-04 21:29:40 +00:00