Saturday, December 22, 2007

File operations

File operations

In Windows Vista, when moving or copying files, Windows Explorer displays the full source and destination path, size and number of items and the transfer speed in megabytes per second (MB/s). If a conflict or error is encountered, it does not terminate the copy or move operation. Rather, the file is skipped and the rest of the files processed. At the end of the operation, the errors are presented to the user with resolution options (if available). If two files have the same name, an option is available to rename the file; in previous versions of Windows, the only options were to either replace the destination file or cancel the process. The user can also choose to apply the same action to the further conflicts, if any.

When renaming a file (when extensions are being displayed), Explorer only highlights the filename without selecting the extension.

In case a file is in use or "locked" by another application, Windows Explorer informs users to close the application and retry the file operation. Also, a new interface IFileIsInUse is introduced into the API which developers can use to let other applications switch to the main window of the application that has the file open or simply close the file from the "File In Use" dialog. [3] If the running application exposes these operations by means of the IFileInUse interface, Windows Explorer, upon encountering a locked file, allows the user to close the file or switch to the application from the dialog box itself.

Default Programs

A common issue in previous Windows versions was that competing applications doing common tasks each tried to associate themselves as the default for a certain file type using their own custom user interface. The default application information for a particular file type was stored in the registry on a per-machine basis, resulting in applications changing another user's default program when one user's defaults were changed and each application querying several different registry values when launched. In Windows Vista onwards, file type associations and protocol handlers can be set on a per-user basis using the new Default Programs API, meaning default programs for file types and tasks can be different for each individual user. There is an API for calling a common user interface so applications no longer need to maintain their own file association UI. The Default Programs API gives applications a programmatic way to check for and discover other default applications, restore a single or all registered defaults, query for the owner of a specific default file association/protocol, launch the Default Programs UI for a specific application or clear all per user associations. Applications only need to registered at install time to be part of Default Programs.

Windows Flip and Flip 3D
Windows Flip 3D
Windows Flip 3D
Arabic
Arabic
French
French

For all Vista Premium Ready PCs, when using Alt+Tab to switch between open windows, a preview of each open window appears instead of just the program icon. In addition, Windows Flip 3D enables users to flip through a cascading stack of their open windows using the mouse scroll wheel. Windows can be stacked and rotated in 3D to provide views of all of them simultaneously. (The keyboard shortcuts are Win+Tab, which makes Flip 3D disappear after releasing, Ctrl+Win+Tab, which keeps Flip 3D visible after releasing, and Win+Shift+Tab to flip through open windows backward).[4] The window buttons on the taskbar show a thumbnail image of the window, when the mouse hovers over the button.

[edit] Other shell improvements

* It is now possible to install and select non-English languages on a per-user basis which transforms the entire shell user interface and applications into Arabic, French, German, Japanese or Spanish from the next login.

* JPEG files can be natively set as the desktop wallpaper without using Active Desktop (which is no longer supported).[5] Also, the aspect ratio of images is maintained properly while applying them as the desktop wallpaper.

* A new feature known as Previous Versions can revert the contents of any file to an arbitrary point in the past from the file's Properties. The Previous Versions feature utilizes Shadow Copy, a storage backup technology introduced in Windows Server 2003.



Windows Vista features system-wide integrated search, called Instant Search (also known as Windows Search).[6] Instant Search is designed to run significantly faster and offers more customized search capabilities. Search boxes have been added throughout the Explorer user interface, to the Start menu, Open/Save dialog boxes, and several of the applications included with Windows Vista. By default, Instant Search indexes only a small number of folders such as the start menu, the names of files opened, the Documents folder, and the user's e-mail. Beyond searching for files, search works with Help, Control Panel, Networking, and more. In Control Panel, for example, typing "firewall" will instantly return all applets that have to do with the system firewall.[7]
The Search Explorer advanced search pane
The Search Explorer advanced search pane

The search engine uses indexing to allow for a quick display of results for a given search. Advanced options allow the user to choose the file type, how it should be indexed, the properties only, or the properties and the file contents. The Start menu search also doubles as the Run command from previous versions of Windows; simply typing any command will execute it. The indexed search platform is based on Microsoft's Windows Desktop Search 3.0, allowing third-party applications (e.g. Microsoft Outlook 2007) to use the indexing platform to store metadata and perform searches on Windows Vista or Windows XP (with the Windows Desktop Search redistributable installed). This is in contrast to the search engine of Windows XP, which takes some time to display results, and only after the user has finished typing the search string. The Windows Vista search allows users to add multiple filters to continually refine search results (Such as "File contains the word 'example'"). It is also possible to search across RSS and Atom feeds, straight from Windows Explorer. Windows search uses IFilters that are used by Windows Desktop Search as well. The IFilter interface can be implemented by software makers so that files created by their applications can be better integrated with search and indexing programs.

Searching can also be done from the box at the bottom of the start menu, so it possible to start a program from here by typing its name, for example "Calc" to start the calculator, "Word" to start Microsoft Word, "Mail" to open Windows Mail, a web address to start the default browser at a particular site, the default search engine, or even a folder name, filename or network share name.

There is also the ability to save searches as a Search Folder where opening the folder will execute a specific search automatically and display the results as a normal folder. A search folder is just an XML file which stores the search query, including the search operators as well. When these files are accessed, the search is run with the saved query string and the results presented as a virtual folder. Windows Vista also supports query composition, where a saved search (called a scope) can be nested within the query string of another search.[8] These virtual folders are also distributable via RSS.

Windows Vista also features an enhanced file content search for non-indexed locations, whereby the files being scanned are processed by the same IFilters that would be used for indexing, therefore offering more consistent results between indexed and non-indexed searches as well as the ability for third-parties to add support for additional file formats to have their content searched.

Windows Sidebar
Windows Gadgets
Windows Gadgets

Main article: Windows Sidebar

Windows Sidebar is a new panel which can be placed on either the left or the right-hand side of the screen where a user can place Desktop Gadgets, which are small applets designed for a specialized purpose (such as displaying the weather or sports scores). The gadgets can also be placed on other parts of the desktop, if desired, by dragging. By default, Windows Vista ships with thirteen gadgets: Calculator, Clock, CPU Meter, Currency Conversion, Feed Viewer, Feed Watcher, Notes, Number Puzzle, Picture Puzzle, Recycle Bin, Slide Show, Stocks, and an egg timer. Additional gadgets are published at Microsoft's web site, which offers both Microsoft-created and user-submitted gadgets in a gallery.

Gadgets are written using a combination of DHTML for visual layout, JScript and VBScript for functional code, and an XML file for defining the gadget's metadata (author name, description, etc.) The gadget is then distributed as a ZIP file with a .gadget extension. Displaying the gadget using DHTML allows the same gadget to be used on Microsoft's Live.com and Windows Live Spaces sites. Alternatively, on Windows Vista, the gadget can detect that WPF is available and take advantage of its graphical abilities to display in a different way from the web.

New and upgraded applications
Windows Calendar
Windows Calendar
Paint
Paint

* Windows Mail replaces Outlook Express, the email client in previous Windows versions. It has the Phishing Filter like IE7 and a Bayesian junk mail filtering, which is updated monthly via Windows Update. Also, e-mail messages are now stored as individual files rather than in a binary database to reduce frequent corruption and make messages searchable in real-time. Backing up and restoring account setup information, configuration and mail store is now made easier. It does however omit some features of Outlook Express , such as a "Block sender" for Usenet access. Windows Mail is itself being replaced with Windows Live Mail.
* Windows Contacts, a new unified contact and personal information management application, replaces Windows Address Book (WAB). It is based on a new XML based propriety file format where each contact appears as an individual .contact file, and features extensibility APIs for integration with other applications. It can store custom information related to contacts, including display pictures. The legacy *.wab format and the open standard *.vcf (vCard) and *.csv (Comma separated values) file formats are also supported.
* Windows Calendar is the new calendar application that is included in Windows Vista. It supports the popular iCalendar format as well as sharing, subscribing and publishing of calendars on WebDAV-enabled web servers and network shares.
* Windows Fax and Scan is an integrated faxing and scanning application. With this users can send and receive faxes, fax or email scanned documents and forward faxes as email attachments from the computer. It replaces (or enhances) the 'Fax Services' component which was available as an optional component in Windows XP. It is available by default in the Ultimate edition and is also available in the Business and Enterprise editions. By connecting a scanner and a fax-capable modem to the computer, users can preview documents before scanning them and can choose to directly fax or email the scanned the documents. The user interface resembles that of 'Windows Mail' with preview pane, tree views etc.
* Windows Meeting Space, the replacement for NetMeeting, is a peer-to-peer (p2p) collaboration application. Users can share applications (or their entire desktop) with other users on the local network, or over the Internet. Windows Meeting Space allows sharing of the desktop with other co-workers, distribution and collaborative editing of documents, and passing notes to other participants. Windows Meeting Space automatically finds other users using People Near Me, a technology that uses WS-Discovery to see other users on a local network.
* Paint has new features such as a crop function and the undo limit has been raised from 3 to 10.
* WordPad now supports the Text Services Framework, using which Windows Speech Recognition is implemented. Therefore, it is possible to dictate text in WordPad, and similar other applications which support RichEdit.
* Sound Recorder has been rewritten and now supports recording clips of any length and saving them as WMA. However, saving to WAV format is not supported except in the N editions of Windows Vista.

Snipping Tool
Snipping Tool

* Snipping Tool, first introduced in Experience Pack for Windows XP Tablet PC Edition 2005, is a screen-capture tool that allows for taking screen shots (called snips) of windows, rectangular areas, or free-form areas. Snips can then be annotated, saved (as an image file or HTML page), or e-mailed.
* The Magnifier accessibility tool uses WPF, which in turn uses vector images to render the content. As a result, the rendered magnified image is sharp and not pixelated.[9] However, this is useful only for WPF applications. Non-WPF applications are still magnified the traditional way.

Windows Photo Gallery
Windows Photo Gallery

* Windows Photo Gallery, a photo and video library management application. It can import from digital cameras, tag and rate individual pictures including custom metadata. It also allows basic editing of images, such as adjusting color and exposure, resizing, cropping, red-eye reduction and printing. Slideshows, with pan, fade and other effects, can also be created, and burnt to DVD. It allows custom metadata to be added to images and videos, and enables searching by the attributes. It also supports RAW images natively and can open and organize any image format for which image codecs are installed in the Windows Imaging Component. Images, and videos too, may be viewed in the Windows Photo Gallery Viewer with options to zoom, pan and losslessly rotate images; pause or play videos; and bring up the Info pane to view and edit metadata about a photo or a video. ICC V4 color profiles embedded in images are also supported. The Photo Print Wizard has been improved to offer a lot of customizability.
* Windows Movie Maker supports editing and outputting HD video, as well as burning the output movie on a CD. The ability to or burn to a DVD requires the Windows DVD Maker add-on (Home Premium & Ultimate only). DVR-MS videos can now be edited with Windows Movie Maker. Some new effects and transitions have been added and the transitions are now smoother. All Windows Vista Movie Maker versions require pixel shader hardware support.
* Windows DVD Maker, a DVD creation application. Applications can also pass an XML file to DVD maker for authoring and burning.
* Games: Minesweeper, Solitaire, Hearts, FreeCell and Spider Solitaire have been updated and rewritten to take advantage of Windows Vista's new graphics capabilities. Also included are new games, namely, Purble Place, Chess Titans and Mahjong Titans. InkBall, a game previously available only with Windows XP Tablet PC Edition, has been included and can also be played using a mouse. Pinball has been dropped. As of the consumer launch of 30th January 2007, users of the Ultimate edition of Windows Vista can also download Texas Hold 'Em Poker as an Ultimate Extra.

No comments: