Compare commits

..

749 Commits

Author SHA1 Message Date
Marc Piulachs
8d9750bce6 - move platform settings like included build languages to a user configurable rbuild file with fallback to platform.template.rbuild if no one is present.
svn path=/branches/rbuild/; revision=33684
2008-05-25 00:15:57 +00:00
Marc Piulachs
cf1a65cdc1 - remove obsolete code
svn path=/branches/rbuild/; revision=33683
2008-05-24 23:53:40 +00:00
Marc Piulachs
88a02a693f - Move module localization resources to an external rbuild file to make it easier to be created/edited by external tools. Our planed web translation frontend could then regenerate the file without editing the main and more complex module rbuild file.
svn path=/branches/rbuild/; revision=33682
2008-05-24 23:51:53 +00:00
Marc Piulachs
2f556a112a - remove autoresource usage
svn path=/branches/rbuild/; revision=32481
2008-02-25 14:54:44 +00:00
Marc Piulachs
a8584af189 - remove AutoManifest element, manifest generation has to be implemented in a different more complex way to fully support msvc 8.0
svn path=/branches/rbuild/; revision=32480
2008-02-25 14:50:21 +00:00
Marc Piulachs
a1bcbbb3de - minor fixes
svn path=/branches/rbuild/; revision=32467
2008-02-24 11:57:58 +00:00
Colin Finck
fb935183b8 - Add the architecture-specific defines back to the .rbuild files.
At the current state, there is no reason for them to be automatically added by rbuild.
- Add back NTOSKRNL_SHARED as well, it's not the same value for i386 and PPC
- Remove SILLY_DEFINE :D

svn path=/branches/rbuild/; revision=32459
2008-02-23 19:13:35 +00:00
Marc Piulachs
bcad31dd05 - Add autorun.arm as suggested by Steven
- Automatically open \readme.txt on platforms not supported by Reactos

svn path=/branches/rbuild/; revision=32457
2008-02-23 13:46:45 +00:00
Marc Piulachs
308bef262d Add support for multiple architectures to autorun.inf
svn path=/branches/rbuild/; revision=32449
2008-02-22 12:14:08 +00:00
Marc Piulachs
70648758b6 - Use the new 'package' module type.
svn path=/branches/rbuild/; revision=32446
2008-02-21 23:27:21 +00:00
Marc Piulachs
24fd0d3c89 - Add support to modules for handling <InstallFile> elements. That instructs rbuild on what files the module must also copy if installed.
- Introduced a new module type (Package). Allows us to apply logic like manipulate or conditional include/exclude a group of files that represent altogether an entity. (It will be used when auto generating packages file)

svn path=/branches/rbuild/; revision=32445
2008-02-21 23:24:44 +00:00
Marc Piulachs
fe94146a3c Add support for ARM architecture
svn path=/branches/rbuild/; revision=32443
2008-02-21 18:34:16 +00:00
Colin Finck
db68b7ee31 - Autogenerate the "architecture.h" header file, so we don't need to keep the same information up to date in two places.
- Rename GetArchCdPath to GetArchCdRoot to be consistent with the name of the define in "architecture.h".
- Add ARM to the rbuild architecture list (needed when the branch will be merged back to trunk).

svn path=/branches/rbuild/; revision=32394
2008-02-16 21:08:03 +00:00
Colin Finck
ecc80632cf - Add an "ircnick" attribute, it won't be processed by rbuild, but will be used by Marc's upcoming rbuild IRC-Bot
- Add some more devs
- Add another space to the CREDITS file created by the generator :-)

svn path=/branches/rbuild/; revision=31707
2008-01-10 23:13:36 +00:00
Colin Finck
5da64440be - Add an "architecture.h" file, which includes architecture-dependent constants. Currently, I only added the root architecture path on the CD (ARCH_CD_ROOT), which is needed in some components.
- Make freeldr and usetup use this path, so the Boot-CD and Live-CD become bootable again.
- Change the boot sectors to search for the loader in the "I386" directory.
- Rename GetArch() to GetArchName(), also add GetArchCdPath() for getting the root architecture path on the CD in rbuild.
- Skip creating the "Profiles" directory and its subdirectories.
  The Live-CD works flawlessy without it and its content is completely ignored by Explorer anyway.
- Create the "CREDITS" file in the root "reactos" directory, people expect it there. Remove our current "CREDITS" file.
- Fix indentation of "creditsgenerator.cpp"

svn path=/branches/rbuild/; revision=31700
2008-01-10 11:48:52 +00:00
Marc Piulachs
3e0cafd2f9 - Validate base address format
- Ensure base address value between 0x00400000 and 0x80000000

svn path=/branches/rbuild/; revision=31310
2007-12-18 21:20:59 +00:00
Marc Piulachs
355c66bc65 - fix a typo
svn path=/branches/rbuild/; revision=31309
2007-12-18 19:02:09 +00:00
Marc Piulachs
d67ffd3f64 * Introduced a new element "PlatformLanguage" to build and include only part of the resource localizations available on languages.rbuild
* removed NTOSKRNL_SHARED and move it back to the mingw backend, no reason to be a property
* cleanup obsolete code
* create more correct auto-generated include/manifest files

svn path=/branches/rbuild/; revision=31154
2007-12-11 17:09:34 +00:00
Marc Piulachs
7de33e1758 - Add the "families" target that will print the available build families from buildfamilies.rbuild
- fix some typos 

svn path=/branches/rbuild/; revision=30512
2007-11-16 21:11:25 +00:00
Marc Piulachs
6028e3b5ea Tag some modules for testing purposes
now you can : 
make shells
make shells_clean
make services
make services_clean

svn path=/branches/rbuild/; revision=30483
2007-11-15 22:45:49 +00:00
Marc Piulachs
46be611953 - Added a few more build families to buildfamilies.rbuild
- Added a description field to the "buildfamily" element
- Added a check to ensure only valid module types use the "family" element.

svn path=/branches/rbuild/; revision=30472
2007-11-15 21:03:41 +00:00
Marc Piulachs
754809f2ca Implement a new way to build only the required parts of the reactos codebase partly inspired by bug 2568.
Introduced the concept of module "family" and "buildfamilies"
Any module can belong to an N number of families for example the 'calc' win32 gui module:

<module name="calc" type="win32gui" installbase="system32" installname="calc.exe">
	(..)
	<family>applications</family>
	<family>guiapplications</family>
	(..)

and the 'solitaire' win32 gui module:

<module name="sol" type="win32gui" installbase="system32" installname="sol.exe" unicode="no" allowwarnings="true">
	(..)
	<family>applications</family>
	<family>guiapplications</family>
	<family>games</family>
	(..)

now is possible to type on the rosbe console:

>make applications (calc and sol and all its dependencies will be build)
>make applications_clean (calc and sol clean target will be executed)
>make games (sol and any other member of the games family will be build)

It works in conjunction with the new \buildfamilies.rbuild. In a properly tagged codebase the developer has the option to build only the parts of the operating system he is currently working on without having to clean and recompile the whole codebase every time. All required dependencies will be also automatically compiled.

svn path=/branches/rbuild/; revision=30469
2007-11-15 20:09:52 +00:00
Marc Piulachs
e53f517806 Move ReplaceVariable funtion to the Environment class inset of using 3 copy-pasted versions of this function
svn path=/branches/rbuild/; revision=30465
2007-11-15 18:03:30 +00:00
Colin Finck
58d9cf60b6 Add some more names and aliases to the contributors.rbuild file
svn path=/branches/rbuild/; revision=30286
2007-11-08 22:56:27 +00:00
Marc Piulachs
e8627fcecb Small fixes to notevil , removed the no longer necessary resource.h as it is now using autogenerated contributors
svn path=/branches/rbuild/; revision=30280
2007-11-08 20:31:18 +00:00
Marc Piulachs
90491e5bd1 create a new specialized property type "baseadress" and convert baseaddress.rbuild content to true metadata (see http://www.codexchange.net/rosdoc/baseaddresses.htm)
svn path=/branches/rbuild/; revision=30210
2007-11-06 01:43:43 +00:00
Marc Piulachs
716e2bde09 move languages to separated rbuild file languages.rbuild
svn path=/branches/rbuild/; revision=30209
2007-11-06 01:40:43 +00:00
Marc Piulachs
bb4f3469e9 fix a funny typo :)
svn path=/branches/rbuild/; revision=30114
2007-11-04 14:24:35 +00:00
Marc Piulachs
6cb06473f8 - beautified the credits and autocontributors.h auto-generated files
- added new attribute "website" to contributors
- validate developder/mantainer/translator alias

svn path=/branches/rbuild/; revision=30112
2007-11-04 14:11:41 +00:00
Colin Finck
90a90c85df - Make "notevil" use the new autogenerated contributors header
- Fix indentation in "notevil"
- Small changes in the "contributors.rbuild"

svn path=/branches/rbuild/; revision=30084
2007-11-03 00:56:14 +00:00
Colin Finck
6cc0608135 The authors list is actually in ANSI format, not UTF-8
svn path=/branches/rbuild/; revision=30083
2007-11-03 00:30:11 +00:00
Colin Finck
c366e27bee - Make use of the new automatically generated contributors list in the ShellAbout dialog, show the authors in the list box
- Remove the now unneeded "authors.c" file from shell32
- To get this to build, I also needed to merge-in the changed "include/reactos/version.rc" file from r29924 (forgot that in my previous commit)
- Fix the indentation of the "creditsgeneratorenerator.cpp" file and add a newline at the end of the autogenerated file to make GCC happy

svn path=/branches/rbuild/; revision=30082
2007-11-03 00:03:48 +00:00
Marc Piulachs
20d774edc0 Implement the autogenerated credits header file (autocontributors.h) in INTERMEDIATE/include/reactos/autocontributors.h together with Colin
svn path=/branches/rbuild/; revision=30081
2007-11-02 23:19:18 +00:00
Colin Finck
bbf476e874 Merge-in the shell32 changes from r29799 to r29924 (needed for a later commit in in this branch)
svn path=/branches/rbuild/; revision=30080
2007-11-02 23:17:20 +00:00
Marc Piulachs
7e9f099b9e Place CreditsGenerator class in its own file "creditsgeneratorenerator.cpp" to make Colin happy
svn path=/branches/rbuild/; revision=30078
2007-11-02 23:01:03 +00:00
Marc Piulachs
a5960ea2d7 Make "lastname" and "alias" attributes optional . No sure about last one but lets make it non-mandatory for now
svn path=/branches/rbuild/; revision=30077
2007-11-02 22:23:33 +00:00
Marc Piulachs
87c09d221d Add proper encoding to handle latin alphabet
svn path=/branches/rbuild/; revision=30076
2007-11-02 22:20:56 +00:00
Colin Finck
56aa8e73b2 Add all contributors from the CREDITS file along with the latest commit name they use/used.
Also add some new developers, which weren't in the CREDITS file.

svn path=/branches/rbuild/; revision=30074
2007-11-02 21:56:05 +00:00
Marc Piulachs
d97f04f0c6 - Created a new concept "the cd bootstrap folder" . The cd bootstrap folder is a user customizable folder in the cd's root that defaults to the current build architecture for example i386 o ppc.
- Modifed the InstallBase from the BootStrap element to be relative to the bootstrap folder, for example the usetup bootstrap:

<bootstrap installbase="system32" nameoncd="smss.exe" />

will be created in  :

(CD)\i386\system32\smss.exe on a I386 build and
(CD)\ppc\system32\smss.exe on a powerpc build

- Introduced a new element "bootstrapfile" equivalent to the bootstrap for module target but applied to regular files for example :

	<bootstrapfile>hivecls.inf</bootstrapfile>

will be placed in :

(CD)\i386\hivecls.inf on a I386 build and
(CD)\ppc\hivecls.inf on a powerpc build

- Moved the "loader" folder from cd root to the bootstrap cd folder (this will require a modification in isoboot.asm). Every architecture will have its 
bootloader code in (CD)\(BootStrapFolder)\loader

With this changes we will be able to place complete installation for more than one architecture in the same cd .Only one of the architectures will be able to 
be booted by default but we can include the cdmake utility + some .bat files in a (CD)\tools folder so the user can download the official CD with all 
supported architectures and create a bootable boot CD for a particular architecture. cool huh?

============================================

- Consity and explicty declare install folders , use the same ID that this folders have on Windows , we will use it later to validate InstallBase attributes 
and during setup

svn path=/branches/rbuild/; revision=30072
2007-11-02 18:36:55 +00:00
Marc Piulachs
a5679c8e62 - First steps to install aplication shorcuts during setup using setupapi and syssetup.inf
- Autogenerate CREDITS file in intermediate folder (for now)
- More work on authors/contributors
- Various other fixes

PS: Add your information to contributors.rbuild , don't be shy!

svn path=/branches/rbuild/; revision=30017
2007-10-31 15:54:27 +00:00
Marc Piulachs
8a6368d89b Fix/Update the medatada element based on Colin's suggestions (part 1)
svn path=/branches/rbuild/; revision=29927
2007-10-28 00:12:20 +00:00
Colin Finck
1d824ac4f3 - Implement a new ShellAbout dialog, which looks more like the Windows one. Uses the ReactOS Logo bitmap from base/setup/welcome/res.
The "Authors" button in the dialog currently highlights a redrawing bug in ReactOS (tracked in bug 2769).
- Define default strings in include/reactos/version.rc, which shouldn't be overwritten by applications.
  These strings can later be used i.e. in resource files like it's done in shell32 now.

svn path=/trunk/; revision=29924
2007-10-27 21:02:34 +00:00
Johannes Anderwald
2d59682aa4 - fix a bug
svn path=/trunk/; revision=29923
2007-10-27 20:48:45 +00:00
Marc Piulachs
190123f1ee Update shell32 spanish localization
svn path=/trunk/; revision=29922
2007-10-27 20:31:25 +00:00
Johannes Anderwald
2a3cd64f08 - start implementing "Open With" shell extension
- see http://windowsxp.mvps.org/OpenWith.htm

svn path=/trunk/; revision=29921
2007-10-27 20:09:38 +00:00
Marc Piulachs
8db38ce724 - Constify true/false yes/no attribute checking
- Experimental support to autogenerate rsrc.rc equivalent and platform dependent manifest.xml to intermediate folder
- Add preliminary support to track authors/contributors/developers/translators for each module. It can be useful to autogenerate uptodate \CREDITS file , module/authors reports (see for example: http://www.codexchange.net/rosdoc/authors.htm or http://www.codexchange.net/rosdoc/eventvwr.htm) or even source code for modules like notevil

note: I added some developers as sample , feel free to add your information to contributors.rbuild using current information as template 


svn path=/branches/rbuild/; revision=29920
2007-10-27 19:40:38 +00:00
Colin Finck
7794642aa9 Portuguese (Brazilian) translation for sndvol32 by Mateus de Lima (mateusloliveira AT hotmail DOT com)
See issue #2768 for more details.

svn path=/trunk/; revision=29919
2007-10-27 19:31:40 +00:00
Colin Finck
f42bcbd323 Added and updated Slovak translations for the screensavers by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29918
2007-10-27 17:36:40 +00:00
Hervé Poussineau
acdf579f07 Silent debug message
svn path=/trunk/; revision=29917
2007-10-27 16:38:14 +00:00
Martin Fuchs
c6b7e9b31e update Doxyfile to current format
svn path=/trunk/; revision=29913
2007-10-27 10:32:43 +00:00
Martin Fuchs
35cced874c update Doxyfile to current format
svn path=/trunk/; revision=29912
2007-10-27 10:31:28 +00:00
Daniel Reimer
a63e47438e German Translation Update for 3DText. Some size fixes for the text boxes
svn path=/trunk/; revision=29911
2007-10-27 09:16:15 +00:00
Thomas Bluemel
9c105be99b Display a list of all leaked memory blocks when terminating
svn path=/trunk/; revision=29910
2007-10-27 04:00:25 +00:00
Thomas Bluemel
283b505889 Fix memory leaks/wrong heap usage by replacing calls to _tcsdup with cmd_dup
svn path=/trunk/; revision=29909
2007-10-27 03:13:37 +00:00
Timo Kreuzer
93fe183181 2nd try to fix build
svn path=/trunk/; revision=29908
2007-10-27 01:47:38 +00:00
Timo Kreuzer
5834f08fec try to fix linux build
svn path=/trunk/; revision=29907
2007-10-27 01:41:23 +00:00
Marc Piulachs
8b2caeb2a4 forgot to commit this file. Add 3dtext to the build
svn path=/trunk/; revision=29906
2007-10-27 00:11:32 +00:00
Marc Piulachs
65687e3dbc Update/Fix spanish localizations
svn path=/trunk/; revision=29905
2007-10-26 22:46:23 +00:00
Marc Piulachs
f57df59ffd Very simple OpenGL 3D text screensaver similar to the windows one.
Original work by Jeff Molofee tutorials (http://nehe.gamedev.net)
basically converted from C++ to C and adapted as a windows screensaver

Not added to reactos.dff for now because opengl seems to be broken again
See issue #2755 for more details.

svn path=/trunk/; revision=29904
2007-10-26 22:34:42 +00:00
Timo Kreuzer
fffc7ba078 UserScrollDC: 2nd try to fix the invalidated region. desk.cpl looks ok now and in my tests all worked like on XP, also fix the returned invalidated rect (don't use NtGdiGetClipBox)
NtUserScrollDC: return the region type
NtUserScrollwindowEx: fix the default clip region

svn path=/trunk/; revision=29903
2007-10-26 22:08:53 +00:00
Aleksey Bragin
ec2b9a0991 - Define LIST_ENTRY functions as part of host headers, instead of mkhive-specific defines.
- Use CM_KEY_CONTROL_BLOCK when communicating with new CM implementation ("config"). CM now builds a dummy KCB so that the functions in "config" can go around their business with KCB without needing to know what a ros-specific PKEY_OBJECT is.

svn path=/trunk/; revision=29902
2007-10-26 20:59:42 +00:00
Marc Piulachs
dbb8fcae7b Implement Infs.Always section parsing to syssetup. Thanks to hpoussin for his suggestions
svn path=/trunk/; revision=29901
2007-10-26 16:19:52 +00:00
Hervé Poussineau
9b47f9fb33 Add a SourceDiskFiles section in txtsetup.sif, instead of hardcoding a list of drivers in freeldr
svn path=/trunk/; revision=29900
2007-10-26 15:32:04 +00:00
Aleksey Bragin
36a91123ec - Both calls to LpcpMoveMessage must be guarded with SEH.
See issue #2243 for more details.

svn path=/trunk/; revision=29896
2007-10-26 09:02:24 +00:00
Aleksey Bragin
0b279a26b2 - Make behavior consistent: if there is no relocation information, return SUCCESS in both possible cases.
See issue #2268 for more details.

svn path=/trunk/; revision=29895
2007-10-26 08:48:04 +00:00
Art Yerkes
f6640c9b72 Remaining fixes from branch transition. MmuTurnOn, now with GDB stub.
svn path=/trunk/; revision=29894
2007-10-26 06:37:52 +00:00
James Tabor
e40b261ed9 ScrollDC From my notes 08/16/2003:
- Wine testing was not enough. If dx & dy are zero and hrgn and lprc are used or not zero. The Rect for hrgn and lprc are set zero w/o NtUserScrollDC being called. It just returns TRUE.
- If HDC is zero it will return FALSE and not call NtUserScrollDC.

svn path=/trunk/; revision=29893
2007-10-26 02:07:33 +00:00
Ged Murphy
5d397e4214 fix use of globals introduced in r29883
svn path=/trunk/; revision=29891
2007-10-25 23:23:53 +00:00
Timo Kreuzer
f95e0ccee8 UserScrollDC:
- rename rcScroll to rcClip
- simplify calculation of source point
- fix calculation of invalidated region

svn path=/trunk/; revision=29890
2007-10-25 23:10:50 +00:00
Timo Kreuzer
bb72e4c3a3 remove ToUnicode() stub from win32k
svn path=/trunk/; revision=29889
2007-10-25 23:06:50 +00:00
Timo Kreuzer
f20c2c30a3 fix error check
svn path=/trunk/; revision=29888
2007-10-25 23:03:04 +00:00
Daniel Reimer
cd76b4ba4b Fix Build. Someone forgot to remove some +, when he copy pasted from a diff.
svn path=/trunk/; revision=29887
2007-10-25 21:47:33 +00:00
Johannes Anderwald
73960e0ad5 - Draw color quality indicator in Display Properties -> Settings
- patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us

See issue #2762 for more details.

svn path=/trunk/; revision=29883
2007-10-25 19:40:27 +00:00
Johannes Anderwald
ff318ae339 Hwang YunSong() <hys545@dreamwiz.com>
- Updated Korean resource.
Timo Kreuzer
- check if theres a current IDrapDropTarget interface and only then perform actions on it
See issue #1211 for more details.

svn path=/trunk/; revision=29882
2007-10-25 19:25:40 +00:00
Colin Finck
e2a8f1f20f - Add a Ukrainian translation for eventvwr by Rostislav Zabolotny (rstzab AT yandex DOT ru).
I modified it a bit to reflect the current changes, since it was created from an older revision.
- Add a common header to all translations
- Fix the dialog metrics of the About dialog in the Russian translation
See issue #2764 for more details.

svn path=/trunk/; revision=29880
2007-10-25 17:28:30 +00:00
Aleksey Bragin
6dad5e16a9 - Update cmlib interface to NT 5.2.
- Fix a bug in CmpInitializeHive which was calling HvInitializeHive with inverted params.
- Fix some host header issues.

svn path=/trunk/; revision=29879
2007-10-25 15:53:51 +00:00
Mike Nordell
5419828b1a [COMMENTS] Redundant comments removed.
svn path=/trunk/; revision=29878
2007-10-25 14:56:30 +00:00
James Tabor
91096c362d Fix icon title class descriptor for ReactOS.
svn path=/trunk/; revision=29876
2007-10-25 12:38:15 +00:00
Mike Nordell
d5b0ccd113 Quota cleanup. IRQL verfications for public functions. Still macro-protected and defaults to disabled.
svn path=/trunk/; revision=29875
2007-10-25 12:31:55 +00:00
Hervé Poussineau
73267a20e1 Add traces
Do not crash in IExtractIconW::GetIconLocation if out pointers are NULL

svn path=/trunk/; revision=29872
2007-10-25 10:28:19 +00:00
James Tabor
509c477b2e Sync with Wine: Static controls.
svn path=/trunk/; revision=29864
2007-10-25 02:25:53 +00:00
Marc Piulachs
26567de320 fix cat.exe > tcat.exe executable filename
svn path=/trunk/; revision=29862
2007-10-25 01:21:44 +00:00
Marc Piulachs
4655339c23 Build files updates and fixes
svn path=/trunk/; revision=29860
2007-10-25 01:15:21 +00:00
Colin Finck
3b27462836 Replace "LTEXT ... SS_CENTER" by a simple "CTEXT"
svn path=/trunk/; revision=29856
2007-10-24 20:26:13 +00:00
Mike Nordell
443c699ba3 Interlocked add/sub for quota. Still disabled code.
svn path=/trunk/; revision=29853
2007-10-24 13:33:19 +00:00
James Tabor
5005dede1c - Implement NtUserGetComboBoxInfo and use it in GetComboBoxInfo.
- Use Shared locks.

svn path=/trunk/; revision=29849
2007-10-24 11:19:30 +00:00
Hervé Poussineau
5bce4dda0c Better check of GetWindowsDirectory() return value
svn path=/trunk/; revision=29846
2007-10-24 07:49:40 +00:00
Hervé Poussineau
9fdfadf2fa Duplicate the user token before calling CreateProcessAsUser()
See issue #2569 for more details.

svn path=/trunk/; revision=29845
2007-10-24 07:45:44 +00:00
Art Yerkes
ff15530f99 Remove extra var.
svn path=/trunk/; revision=29842
2007-10-24 03:34:58 +00:00
Art Yerkes
3f99dd619b React to changes in rbuild with regard to definitions. These are now
conditionally done in rosbe-ppc's gcc wrapper.

svn path=/trunk/; revision=29841
2007-10-24 02:23:54 +00:00
James Tabor
46d328103b Update NtUserGetComboBoxInfo header info.
svn path=/trunk/; revision=29840
2007-10-24 02:03:56 +00:00
James Tabor
07c753c912 - Sync to Wine: Listbox controls
- Implement NtUserGetListBoxInfo and GetListBoxInfo. Fix header entry.
- Add LB_GETLISTBOXINFO to psdk.

svn path=/trunk/; revision=29839
2007-10-24 01:04:06 +00:00
Gregor Brunmar
243774066b Made r29837 readable
svn path=/trunk/; revision=29838
2007-10-23 21:47:18 +00:00
Gregor Brunmar
f1546e5b22 Added RtlCopySecurityDescriptor
svn path=/trunk/; revision=29837
2007-10-23 21:42:03 +00:00
Aleksey Bragin
d68e72bf84 - Revert 29702 (IopParseDeviceHack is still required in 1st stage, and the Real Bug is at some other place, so no need in masking it away by doing calls which avoid buggy operation).
svn path=/trunk/; revision=29834
2007-10-23 19:19:06 +00:00
Marc Piulachs
5891bd30ce - various fixes to the spanish language resources
svn path=/trunk/; revision=29831
2007-10-23 15:24:40 +00:00
Hervé Poussineau
28f4b0ee2e IExtractIcon::GetIconLocation is not documented to support a NULL pointer as last parameter
svn path=/trunk/; revision=29830
2007-10-23 14:26:53 +00:00
Marc Piulachs
c494d813c2 - Added a new start menu folder "Accessibility" (IDS_SYS_ACCESSIBILITY)
- Install magnify on the start menu
See issue #2742 for more details.

svn path=/trunk/; revision=29829
2007-10-23 13:25:26 +00:00
Mike Nordell
33b96d03bf Unbreak build (unused local var's warnings when not using the quota code).
svn path=/trunk/; revision=29828
2007-10-23 12:31:21 +00:00
Mike Nordell
821c3e5125 [FORMATTING] Consistency.
svn path=/trunk/; revision=29827
2007-10-23 11:08:18 +00:00
Mike Nordell
c4720317ab First small attempt at implementing process memory quota. Currently disabled without explicit code modification (enabled by macro) to not modify behaviour of trunk.
svn path=/trunk/; revision=29826
2007-10-23 10:05:40 +00:00
Mike Nordell
6daf79aab8 [FORMATTING] Tab -> spc consistency.
svn path=/trunk/; revision=29825
2007-10-23 09:49:16 +00:00
Hervé Poussineau
acdded5eed When creating the context menu, take care of attributes returned by the shell folder implementation
svn path=/trunk/; revision=29824
2007-10-23 09:43:23 +00:00
Hervé Poussineau
f9ca3809d6 Use SHCreateDefaultExtractIcon to simplify code
svn path=/trunk/; revision=29823
2007-10-23 09:09:46 +00:00
Hervé Poussineau
daa26745c2 Implement SHCreateDefaultExtractIcon
Export SHCreateDefaultContextMenu

svn path=/trunk/; revision=29822
2007-10-23 09:01:39 +00:00
Aleksey Bragin
c99c8b6957 - Add a bit more debug traces, like the previous implementation had.
svn path=/trunk/; revision=29821
2007-10-23 08:32:19 +00:00
Hervé Poussineau
130fe6e833 Fix some svn properties
svn path=/trunk/; revision=29819
2007-10-23 08:30:39 +00:00
Hervé Poussineau
a8f4976951 Do not mix ReactOS and Wine debug style
svn path=/trunk/; revision=29818
2007-10-23 08:27:48 +00:00
Hervé Poussineau
195f28c5df Code refactoring to be able to handle installation of network protocols/services/clients
svn path=/trunk/; revision=29817
2007-10-23 08:25:53 +00:00
Hervé Poussineau
802a970a9e No need to define __USE_W32API
svn path=/trunk/; revision=29816
2007-10-23 08:22:02 +00:00
Hervé Poussineau
aabdae9d56 No need to define __USE_W32API
svn path=/trunk/; revision=29815
2007-10-23 08:12:28 +00:00
Hervé Poussineau
fca3c865ba __USE_W32API is always defined nowadays
svn path=/trunk/; revision=29814
2007-10-23 07:53:02 +00:00
James Tabor
af679ec61d Sync with Wine: Combo controls. Checked Button and no changes.
svn path=/trunk/; revision=29813
2007-10-23 06:13:16 +00:00
James Tabor
ac7a2ffaa6 Sync with Wine: Add the rest of Alex Villacís Lasso : user32: Fix EM_SETLIMITTEXT with zeroed args.
svn path=/trunk/; revision=29812
2007-10-23 04:32:10 +00:00
James Tabor
c3d4561829 Sync with Wine: Edit controls.
svn path=/trunk/; revision=29811
2007-10-23 04:19:29 +00:00
Johannes Anderwald
84a13a2101 - silence wine debug messages
svn path=/trunk/; revision=29809
2007-10-23 02:03:29 +00:00
Johannes Anderwald
4da0e180ee - add a member to shlview to able to track the current context menu
- make the background menu use owner drawn items to show icon (icon not yet shown)
- let the shell item menu also accept owner drawn images
- this makes winrar shellextension appear however the language is _not_ correct in most cases and executing a command is at your own risk :)

svn path=/trunk/; revision=29808
2007-10-23 02:00:30 +00:00
Marc Piulachs
4ce5c80551 Add xcopy and maginify to bootcd to make aicom happy
svn path=/trunk/; revision=29802
2007-10-22 22:06:29 +00:00
Daniel Reimer
435b8c7cc0 Translate xcopy into German and fix the SUBLANGs of the rest.
Update German Shell32 Translation

svn path=/trunk/; revision=29799
2007-10-22 21:24:42 +00:00
Marc Piulachs
49b663a0a1 Wine imported xcopy command line tool
svn path=/trunk/; revision=29794
2007-10-22 19:55:26 +00:00
Gregor Brunmar
5492d9a135 More svchost stub, end-of-the-day checkin.
svn path=/trunk/; revision=29793
2007-10-22 19:54:51 +00:00
Marc Piulachs
7324d950c7 - Minor fixes to the es-ES localization for eventvwr
- Add it to the build

svn path=/trunk/; revision=29789
2007-10-22 19:39:47 +00:00
Marc Piulachs
1b2af728d5 Initial commit :D
Auto generate part of the module's most common resources , currently things like manifest.xml , defines like REACTOS_VERSION_DLL and specially localizations are created and synchronized by hand.

Now module localizations are created in a declarative way which makes trivial tasks like listing non existent or outdated language localizations in real time  for example : http://www.codexchange.net/rosdoc/localizations.htm .No more rsrc.rc required as it is now auto generated on the intermediate folder.

Still work in progress so would like to hear your ideas or comments , specially those from translators.

svn path=/branches/rbuild/; revision=29785
2007-10-22 18:28:26 +00:00
Gregor Brunmar
9e306bf2f4 Added first stub of svchost - not included in the build yet.
svn path=/trunk/; revision=29783
2007-10-22 18:06:31 +00:00
Colin Finck
fa46551b04 Shell32 resource file cleanup - Part 2
All resource files contain the same elements now, so translators know what they have to translate.
If elements are added or changed, please do that for all translations now to avoid such a mess in the future.

svn path=/trunk/; revision=29781
2007-10-22 16:49:34 +00:00
Hervé Poussineau
8ffd3b71f2 Add SHCreateDefaultExtractIcon prototype and IDefaultExtractIconInit interface.
IID_IDefaultExtractIconInit is not correct, it has to be fixed later

svn path=/trunk/; revision=29779
2007-10-22 14:43:01 +00:00
Hervé Poussineau
873fccb22a __USE_W32API is always defined nowadays
svn path=/trunk/; revision=29778
2007-10-22 14:04:23 +00:00
Hervé Poussineau
d52d5d5fd7 Remove outdated file
svn path=/trunk/; revision=29777
2007-10-22 12:23:14 +00:00
Hervé Poussineau
f9cef2a895 Always declare SetLogonNotifyWindow
svn path=/trunk/; revision=29776
2007-10-22 12:19:43 +00:00
Mike Nordell
1f2fce4fea [COMMENT] Document array indices for EPROCESS.Quota* members.
svn path=/trunk/; revision=29771
2007-10-22 10:04:52 +00:00
Hervé Poussineau
23dda38c1e Fix typo
svn path=/trunk/; revision=29770
2007-10-22 08:50:31 +00:00
Thomas Bluemel
05e20948eb Process window messages while the (un)installer is running and disable it
svn path=/trunk/; revision=29765
2007-10-22 03:38:51 +00:00
Johannes Anderwald
e474c7c74f - load dynamic shell extensions with IContextMenu interface
svn path=/trunk/; revision=29763
2007-10-22 00:36:10 +00:00
Johannes Anderwald
75229d4d44 - use RegLoadMUIString for a translated keys
- insert shortcut assitent in front of shellnew list
- adjust item id for create shortcut action

svn path=/trunk/; revision=29756
2007-10-21 21:59:55 +00:00
Colin Finck
61738aafc9 Shell32 resource file cleanup - Part 1/2 for today
- Move all language-dependent resource files to a "lang" subdirectory and rename them appropriately
- Rename "shres.rc" to "shell32.rc"
- Make all translations consistent, if some elements were missing I copied the english ones. Also use a consistent indentation.
  All resource files from "bg-BG.rc" to "fi-FI.rc" (alphabetically) should be consistent now, I'll do the rest later.
- Fix some mistakes in the german translation

svn path=/trunk/; revision=29753
2007-10-21 21:04:36 +00:00
Thomas Bluemel
db566bc495 Load libraries as data files in RegLoadMUIString
svn path=/trunk/; revision=29752
2007-10-21 19:14:19 +00:00
Johannes Anderwald
b8fd4333c7 - fix a few bugs
svn path=/trunk/; revision=29749
2007-10-21 18:42:01 +00:00
Hervé Poussineau
eb32aa038b [FORMATTING] General cleanup (indentation, headers...). No code change
svn path=/trunk/; revision=29748
2007-10-21 18:35:19 +00:00
Johannes Anderwald
aa6fdab501 - use SHGetSpecialFolderPath if used on desktop when creating new file objects
svn path=/trunk/; revision=29744
2007-10-21 17:11:43 +00:00
Johannes Anderwald
1e5f7f1f85 - fix a typo
- may fix bug 2732

svn path=/trunk/; revision=29740
2007-10-21 16:22:39 +00:00
Johannes Anderwald
027341f0cb - fix memory leak
svn path=/trunk/; revision=29739
2007-10-21 16:20:14 +00:00
Daniel Reimer
60efb9002e Remove Trailing spaces.
Add German Translations for joy and tapiui.rc.
Fix a typo in en-US of tapiui.

svn path=/trunk/; revision=29735
2007-10-21 13:49:27 +00:00
Eric Kohl
9e7e871493 Simplify a lot of code (e.g.: SendMessage(GetDlgItem(...)...) --> SendDlgItemMessage(...))
svn path=/trunk/; revision=29733
2007-10-21 13:02:26 +00:00
Eric Kohl
89e36432c3 Fixed indentation (TABs --> Spaces)
No code changes.

svn path=/trunk/; revision=29732
2007-10-21 12:58:35 +00:00
Hervé Poussineau
f468185fd7 Replace STDCALL by APIENTRY
Remove keywords property

svn path=/trunk/; revision=29730
2007-10-21 11:50:55 +00:00
Eric Kohl
2689ce9561 - Keep the value type of each environment variable that was read from the registry and assign the right type for new and modified variables.
- Read and write the the raw (non-expanded) environment variables and display the cooked (expanded) ones only.

svn path=/trunk/; revision=29729
2007-10-21 11:13:03 +00:00
Colin Finck
f546265f2f - Apply the spanish translation for eventvwr by Marc Piulachs (marc DOT piulachs AT codexchange DOT net, bug 2758)
- Use a consistent indentation in all resource files
- Change the metrics of some controls to make the full text visible
- Add a manifest file to enable visual styles
See issue #2758 for more details.

svn path=/trunk/; revision=29728
2007-10-21 10:41:11 +00:00
Aleksey Bragin
b54db7180d - When adding new items into a submenu, they are placed incorrectly. Fix this.
svn path=/trunk/; revision=29727
2007-10-21 09:08:04 +00:00
Hervé Poussineau
d4a661abf0 Replace DDKAPI call convention by APIENTRY, as specified in winddi.h for driver function pointers
svn path=/trunk/; revision=29726
2007-10-21 07:14:55 +00:00
Thomas Bluemel
f3936aecb5 Fixes updating default character attributes when calling SetConsoleTextAttribute().
See issue #2705 for more details.

svn path=/trunk/; revision=29723
2007-10-20 22:26:58 +00:00
Thomas Bluemel
b7b9154d87 Enable the code to determine the time zone from the default system language
svn path=/trunk/; revision=29722
2007-10-20 21:37:48 +00:00
Johannes Anderwald
61f5e03b5c - add joy.cpl and tapiui.dll to bootcd
- patch by Cameron Gutman (aicommander[at]gmail[dot]com)

svn path=/trunk/; revision=29720
2007-10-20 18:56:46 +00:00
Thomas Bluemel
64c30129f0 tapiui.dll doesn't have an entry point
svn path=/trunk/; revision=29719
2007-10-20 18:34:56 +00:00
Aleksey Bragin
7ebd9da005 - Use "windows" module to hold native dlls, which can be legally used in different operating systems (for now, it's mfc42.dll). Put it into reactos\modules\windows directory and "makex bootcd".
svn path=/trunk/; revision=29718
2007-10-20 18:09:14 +00:00
Aleksey Bragin
3897b3d8ee - Remove entrypoint="0" from DLLs which actually need their DllMain to be exported and run. Some of them are Wine-autosynced, so the offer is to alter winesync.cmd to remove "entrypoint="0" from autocreated .rbuild files.
svn path=/trunk/; revision=29716
2007-10-20 17:38:35 +00:00
Aleksey Bragin
0ac6d75c60 Dmitry Chapyshev <lentind@yandex.ru>
- Fully implement tapiui.dll, compatible with Windows.
- Icons come from SUSE's yast2-industrial; 203,202.ico and 301,302.bmp are done by me based on Tango.

svn path=/trunk/; revision=29714
2007-10-20 17:16:30 +00:00
Eric Kohl
698fbca4a1 Make it UNICODE-safe.
svn path=/trunk/; revision=29713
2007-10-20 15:03:15 +00:00
Eric Kohl
47fe787a9e Fix indentation (TABs --> Spaces).
Use BEGIN and END instead of { and } in resource scripts.

svn path=/trunk/; revision=29706
2007-10-20 11:08:23 +00:00
Aleksey Bragin
4c94f55c72 Dmitry Chapyshev <lentind@yandex.ru>
- Implement a joy.cpl applet. Works good on Windows XP.

svn path=/trunk/; revision=29705
2007-10-20 10:20:05 +00:00
Johannes Anderwald
8a229a42d2 - fix param spotted by James Tabor
- see http://www.reactos.org/archives/public/ros-dev/2007-October/009952.html for more details

svn path=/trunk/; revision=29704
2007-10-20 10:14:03 +00:00
Mike Nordell
8bca67688e Don't try to open a harddisk for reading when checking for it to create the PhysicalDriveN links. Instead, request FILE_READ_ATTRIBUTES. This silences a hack-warning in IopParseDevice, that now possibly can be removed.
svn path=/trunk/; revision=29702
2007-10-20 07:36:17 +00:00
Mike Nordell
c94bf60692 [COMMENT] Added comment explaining how this code, which at first glance simply couldn't work, indeed can work. Much code (55 lines to be precise) is hidden inside a macro.
svn path=/trunk/; revision=29700
2007-10-20 05:48:25 +00:00
Art Yerkes
dedc151662 Protect access to the physical map.
svn path=/trunk/; revision=29699
2007-10-20 04:30:01 +00:00
Johannes Anderwald
12793466a6 - implement shellnew operations for type "Data" and "FileName"
svn path=/trunk/; revision=29694
2007-10-20 01:18:08 +00:00
Johannes Anderwald
01dfe7583c - store lnk extension
- store shellnew command range
- implement shellnew commands for type "Command" and type "NullFile"


svn path=/trunk/; revision=29693
2007-10-20 00:50:07 +00:00
Johannes Anderwald
6aa7d10022 - add a create shellnew option for textfiles
svn path=/trunk/; revision=29692
2007-10-20 00:46:40 +00:00
Johannes Anderwald
385e22ca5a - provide a name for shellnew command (required)
svn path=/trunk/; revision=29691
2007-10-19 23:54:26 +00:00
Daniel Reimer
ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Daniel Reimer
a7fddf9c07 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29689
2007-10-19 23:05:02 +00:00
Daniel Reimer
622c29bffb Delete all Trailing spaces in code.
svn path=/trunk/; revision=29688
2007-10-19 23:01:40 +00:00
Johannes Anderwald
dd02e006bb - implement loading of shell new items in context menus
- these are responsible for showing creating "new file type extension" item

svn path=/trunk/; revision=29686
2007-10-19 19:32:16 +00:00
Hervé Poussineau
4d1f688f65 Activate define override check in rbuild
Cleanup some .rbuild files
Set __REACTOS__ as overridable ; it should be removed after next winesync

svn path=/trunk/; revision=29685
2007-10-19 15:27:44 +00:00
Hervé Poussineau
f33633bbf7 Add an 'overridable' attribute on defines.
Suggestion by Marc Piulachs

svn path=/trunk/; revision=29684
2007-10-19 15:06:11 +00:00
Mike Nordell
29cfc91618 Deleted definition of a variable named ScsiPortIsr that was directly followed by the declaration of the function with the same name.
svn path=/trunk/; revision=29683
2007-10-19 14:27:32 +00:00
Hervé Poussineau
7e9e19c6f6 Ignore compiler flags when generating resource macro
svn path=/trunk/; revision=29682
2007-10-19 14:16:18 +00:00
Hervé Poussineau
e7d0bd05c2 Support define overriding in child .rbuild files
See issue #2745 for more details.

svn path=/trunk/; revision=29681
2007-10-19 13:24:06 +00:00
Hervé Poussineau
7b57d6a08d Const-ify Define class
svn path=/trunk/; revision=29680
2007-10-19 13:20:27 +00:00
Johannes Anderwald
bcb862e4f0 - fix creating context menu entry for shortcut
- add static context menu entry (under windows xp sp2 it is defined under ".lnk", however this is a little mess to define static handlers in one place and dynamic in another)

svn path=/trunk/; revision=29679
2007-10-19 13:01:55 +00:00
Johannes Anderwald
ec0138f98f Author: Evan Teran <evan.teran@gmail.com>
- Fix typo in GlobalAlloc parameters.

svn path=/trunk/; revision=29678
2007-10-19 11:15:50 +00:00
Johannes Anderwald
50fa98a4ca - add printer folder
- patch by Huw D M Davies (http://www.winehq.org/pipermail/wine-patches/2005-April/016926.html)
- register bitbucket context menu extension

svn path=/trunk/; revision=29677
2007-10-19 11:03:05 +00:00
Johannes Anderwald
4d7b011eb9 - load dynamic IContextMenu extensions from registry
- it uses the key shellex\ContextMenuHandlers\{CLSID} to load extensions
- make SHCreateDefaultContextMenu use default IContextMenu implementation
- TBD for static IContextMenu extensions and for creating a new object of that type (ShellNew)
- code currently if 0' out

svn path=/trunk/; revision=29676
2007-10-19 10:52:07 +00:00
Mike Nordell
db4783f481 [FORMATTING] Misuse of TAB. Converted to spaces.
svn path=/trunk/; revision=29674
2007-10-19 07:50:59 +00:00
Art Yerkes
1b1b3c8ca6 Uncaught error when moving to trunk. Thanks gdb.
svn path=/trunk/; revision=29673
2007-10-19 07:47:21 +00:00
Art Yerkes
293cc2c20b Debug DbgBreakPoint and drop to GDB on program trap.
svn path=/trunk/; revision=29672
2007-10-19 07:22:01 +00:00
Thomas Bluemel
d8772de615 Destroy created pen after use (fixes a GDI object leak)
svn path=/trunk/; revision=29671
2007-10-19 04:51:07 +00:00
Thomas Bluemel
9849a423d6 Tweak the ScrollDC implementation a bit so that it produces a better output. The implementation still is completely incorrect as it should call the driver for this operation instead of doing a BitBlt operation...
svn path=/trunk/; revision=29670
2007-10-19 03:23:04 +00:00
Thomas Bluemel
f5ae8773cf Extend hack in NtUserEnumDisplayDevices to fail enumerating monitors. Fixes an infinite loop in deskmon.dll
svn path=/trunk/; revision=29669
2007-10-19 02:51:48 +00:00
Thomas Bluemel
0c04721b80 Port RegLoadMUIStringA/W from WINE HEAD and adjust parameter names
svn path=/trunk/; revision=29668
2007-10-19 02:40:23 +00:00
Thomas Bluemel
c573ed42b0 Initialize the COM library
svn path=/trunk/; revision=29667
2007-10-19 02:16:54 +00:00
Thomas Bluemel
509bef7801 Allow selecting monitors using the keyboard
svn path=/trunk/; revision=29666
2007-10-18 23:39:16 +00:00
Thomas Bluemel
36f1aa644b Add very basic dragging support to the monitor selection control
svn path=/trunk/; revision=29665
2007-10-18 22:59:33 +00:00
Colin Finck
cabbd02835 Use StretchBlt with fixed values for drawing the card backs in the Deck Options dialog.
This way the dialog looks normally, also with bigger cards like the Bavarian ones.

svn path=/trunk/; revision=29664
2007-10-18 22:04:50 +00:00
Colin Finck
e82f596e25 - Fix a bug in Solitaire: When you used the 1-card-mode before, there never was a card behind the one, which you drag from the pile.
Now Solitaire collects all the cards from the deck in the 1-card-mode like Windows Solitaire does.
- Make it possible to use CS_EI_CIRC (the O sign) and CS_EI_X (the X sign) as empty images for a deck.
  Actually make use of CS_EI_CIRC for the Solitaire deck.

svn path=/trunk/; revision=29663
2007-10-18 21:54:39 +00:00
Johannes Anderwald
33aa43c80f - only register hotkey when setup is active
- should fix bug 2684
See issue #2684 for more details.

svn path=/trunk/; revision=29662
2007-10-18 21:09:45 +00:00
Mike Nordell
c44c89a6ab Fix logical error in a hack.
svn path=/trunk/; revision=29661
2007-10-18 15:37:52 +00:00
Timo Kreuzer
1ba1d85baf revert my useless hack.
svn path=/trunk/; revision=29660
2007-10-18 09:44:58 +00:00
Hervé Poussineau
ae32fc91f9 Export GetDefaultPrinterA/W also by ordinal
svn path=/trunk/; revision=29659
2007-10-18 08:44:46 +00:00
Art Yerkes
9b64d11bf9 Break in at will.
Fix trap handler a bit, allowing setting of MSR.
Make packet code work properly when serial output is interrupted by a packet
from gdb.

svn path=/trunk/; revision=29658
2007-10-18 08:12:28 +00:00
Mike Nordell
884b9c5804 Move variable definition to before first code statement. GCC did not catch this due to its language extensions.
svn path=/trunk/; revision=29657
2007-10-18 08:11:32 +00:00
Mike Nordell
790709a740 Feeble attempt at getting NT4 vga.sys working by implementing HalFrameBufferCachingInformation case for HaliQuerySystemInformation.
svn path=/trunk/; revision=29656
2007-10-18 08:00:59 +00:00
Thomas Bluemel
f0b2c954e0 Fix status output
svn path=/trunk/; revision=29655
2007-10-18 06:28:02 +00:00
Thomas Bluemel
66f59d880b Display basic download status
svn path=/trunk/; revision=29654
2007-10-18 06:00:17 +00:00
Mike Nordell
bc757c00ed Patch from aicommander. Actually copy uniata.sys from the installation media, and disable VGA resolution selection as VGA is broken.
svn path=/trunk/; revision=29653
2007-10-18 04:01:53 +00:00
Peter Ward
f1d42c57ad - Add dwnl.exe utility to the bootcd, patch by Cameron Gutman (aicommander).
svn path=/trunk/; revision=29652
2007-10-18 02:40:12 +00:00
Hervé Poussineau
b81c161f7d Better resource freeing
Fix a bug introduced in r29644, when WM_CREATE was sometimes leaking to WM_DESTROY

svn path=/trunk/; revision=29651
2007-10-17 19:35:41 +00:00
Mike Nordell
cfcee17413 Implement functionality for ctrl-home and ctrl-end
svn path=/trunk/; revision=29649
2007-10-17 18:21:16 +00:00
Johannes Anderwald
abfca5716e - fix a bug
- fix identation
- only register hotkeys when not being in setup

See issue #2684 for more details.

svn path=/trunk/; revision=29644
2007-10-17 17:37:02 +00:00
Daniel Reimer
f0ad2263bf Bug 2749: Small fixes to eventvwr (marc.piulachs@codexchange.net)
svn path=/trunk/; revision=29643
2007-10-17 14:38:52 +00:00
Hervé Poussineau
1ce7fa00ce Add Lithuanian keyboard layout option in 1st stage
Patch by Vytis Girdzijauskas, "CMan", cman[at]cman[dot]us
See issue #2750 for more details.

svn path=/trunk/; revision=29642
2007-10-17 13:50:55 +00:00
Hervé Poussineau
8d5a679b1c Fix typo
svn path=/trunk/; revision=29641
2007-10-17 13:50:07 +00:00
Hervé Poussineau
50660226e5 Implement ProfileItems support in .inf files
See issue #2738 for more details.

svn path=/trunk/; revision=29639
2007-10-17 13:43:40 +00:00
Hervé Poussineau
86c39bdbeb Commit again changes of r25834, which were reverted in r29507.
See issue #1918 for more details.

svn path=/trunk/; revision=29638
2007-10-17 13:42:53 +00:00
Ged Murphy
e1d7fedbee silence stray debug message
svn path=/trunk/; revision=29637
2007-10-17 10:33:12 +00:00
Aleksey Bragin
db0466d5e3 - LdrpAttachToProcess() should be called only once per process, so added the check. This fixes a crash when trying to start any app using MFC42.DLL, including 1C.
See issue #2730 for more details.

svn path=/trunk/; revision=29636
2007-10-17 10:01:03 +00:00
Mike Nordell
6d8670a692 proper PSEH return usage (thanks janderwald)
svn path=/trunk/; revision=29635
2007-10-17 09:19:09 +00:00
Hervé Poussineau
fe36bfa80f Add missing WINAPI keyword
svn path=/trunk/; revision=29634
2007-10-17 09:10:02 +00:00
Mike Nordell
0a36bb76e5 Fix PAGE_ROUND_DOWN, PAGE_ROUND_UP, and a user of them (correctness and speedup)
svn path=/trunk/; revision=29633
2007-10-17 08:31:02 +00:00
Mike Nordell
059e6ff652 Probe arguments if coming from usermode. Use previous mode when referencing process handle. Actually specify PsProcessType for process handle. Some minor cleanup (less compiled code and some speedup).
svn path=/trunk/; revision=29632
2007-10-17 08:16:20 +00:00
Colin Finck
e4f748378c Merge the cards of "cardsbav" to our cards.dll and specify, which cards shall be compiled into the cards.dll, with preprocessor definitions in cards.rbuild.
This change obsoletes the old cardsbav.dll, so I removed it.

svn path=/trunk/; revision=29630
2007-10-16 18:33:03 +00:00
Aleksey Bragin
5cb248c027 Dmitry Gorbachev <hs26332@mail.cnt.ru>
- NtSetInformationFile() could be done before asynchronously called NtWriteFile is completed. Fix this by sending the synchronous flag.
- Check return status of the second NtSetInformationFile() call.
See issue #2071 for more details.

svn path=/trunk/; revision=29629
2007-10-16 14:59:09 +00:00
Hervé Poussineau
337bfc3217 Display a simple bootlogo, instead of a black screen if /SOS option is not provided
svn path=/trunk/; revision=29628
2007-10-16 10:40:17 +00:00
Mike Nordell
5ddb3f1519 const-correctness cleanup. 'CONST UNICODE_STRING*' -> PCUNICODE_STRING
svn path=/trunk/; revision=29626
2007-10-16 08:52:09 +00:00
Mike Nordell
68b61fb415 Unbreak build. The code is used from user-mode too, so CONST can not be used. Use plain 'const' instead.
svn path=/trunk/; revision=29623
2007-10-16 06:55:06 +00:00
Thomas Bluemel
a31bff4baf Check if reading theme settings from the registry was successful
svn path=/trunk/; revision=29622
2007-10-16 05:56:44 +00:00
Mike Nordell
51c353fab2 Attempt to make Cm API at least a little const-correct.
svn path=/trunk/; revision=29621
2007-10-16 05:39:47 +00:00
Daniel Reimer
cd4cf62e99 Fix the size of the new Dialog and make it non-resizeable.
Add the Icon to the "Download..." Dialog.
Fix some typos.
Fixed some formatting stuff.
Added a manifest File.

svn path=/trunk/; revision=29620
2007-10-16 05:37:22 +00:00
Mike Nordell
4475d4786b Debugging helper functions added, to verify hive list integrity. Grab hive lock for insertion in EnlistKeyBodyWithKCB. Some comments added.
svn path=/trunk/; revision=29619
2007-10-16 05:08:45 +00:00
Mike Nordell
48b968be9f Fixes the registry loop bug. No more bugchecks after exactly ten minutes. Do not try to insert an entry into a list it's already inserted into.
svn path=/trunk/; revision=29618
2007-10-16 04:59:20 +00:00
Timo Kreuzer
ff0adc4b29 If cmd was started from a shortcut, use the shortcut's name as window title, else use executable name, like on windows. Doesn't work on ros atm, due to bug 2743, but works on win XP. So if'ed out atm.
svn path=/trunk/; revision=29617
2007-10-15 22:23:42 +00:00
Daniel Reimer
f925fb5926 Fix a typo in en-US.rc and translate the new stuff in de-DE.rc. (If I interfere a running update process once more, I am sorry :-P)
svn path=/trunk/; revision=29616
2007-10-15 20:59:59 +00:00
Aleksey Bragin
ef1f939e4f Dmitry Chapyshev <lentind@yandex.ru>
- Get rid of hardcoded path to downloader.xml, it properly gets the path now. Also changed the logic slightly: now the file is firstly being searched in the local folder, and only then in system32.
- Do a Settings dialog (choose a directory where to download files to, if a user wants to remove installation files after the app has been installed), all options are stored / loaded from the registry. Only the "Update server" option does not work now.
- A few GUI/designs fixes and improvements, now it looks better.
- Add a button for Settings in the main waindow.
- Fixed code formatting in a few places.
- Change bitmap to icons on the Update and Help buttons, imho it's the proper way.
- Add 3 new categories to the list.
- Other misc fixes.
- All translated resources are updated, so no translations are lost!

svn path=/trunk/; revision=29614
2007-10-15 20:45:06 +00:00
Aleksey Bragin
bda7147058 Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation for evenvwr.
- Slightly improve eventvwr.ico (as I did with other icons).

svn path=/trunk/; revision=29613
2007-10-15 20:36:20 +00:00
Daniel Reimer
9569e4a0b9 Bug 2753, 2754 Ukrainian translation update (rstzab@yandex.ru)
Bug 2728 Bulgarian language update for ReactOS. Fix for the Patch (sstpr@narod.ru)

svn path=/trunk/; revision=29608
2007-10-15 19:33:14 +00:00
Daniel Reimer
36de5d952c Bug 2747: French translations by Pierre Schweitzer (heis_spiter@hotmail.com)
Bug 2722: Desk.cpl : Italian translation (carlo.bramix@libero.it)

svn path=/trunk/; revision=29604
2007-10-15 14:14:25 +00:00
Daniel Reimer
a509024188 Bug 2747: French translations by Pierre Schweitzer (heis_spiter@hotmail.com)
svn path=/trunk/; revision=29603
2007-10-15 14:12:48 +00:00
Hervé Poussineau
813884ad94 Update msvc backend, so Colin Finck will maybe stop complaining...
svn path=/trunk/; revision=29602
2007-10-15 13:43:51 +00:00
Art Yerkes
3d34c28eb4 Fix quirks for building PPC on windows.
svn path=/trunk/; revision=29591
2007-10-15 03:56:58 +00:00
Art Yerkes
001703300c Slight Adjustment. __DECLSPEC_SUPPORTED is an output.
svn path=/trunk/; revision=29590
2007-10-15 03:34:15 +00:00
Art Yerkes
8f3885a661 Make a more complete entry in the normal path so we can enter GDB at will.
svn path=/trunk/; revision=29589
2007-10-15 00:53:17 +00:00
Art Yerkes
4039f862ec Add simple GDB stub.
Fix reported kernel address returned to reactos.c
Make MachVtbl fully formed for all subarch
Add simple gdb stub at this layer, wired to exception handlers
Simplify and unkludge trap handlers
Adapt trap frame to gdb style
Add proper swapping to image.c
Adapt other code for the more general trap handler now available in ppcmmu.

svn path=/trunk/; revision=29588
2007-10-14 23:09:12 +00:00
Magnus Olsen
3016e207ca do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29587
2007-10-14 22:41:36 +00:00
Magnus Olsen
a00f53b037 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29586
2007-10-14 22:16:43 +00:00
Magnus Olsen
806a16b4df do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29585
2007-10-14 22:14:19 +00:00
Magnus Olsen
4366aedfe4 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29584
2007-10-14 22:12:11 +00:00
Magnus Olsen
2b4f464c28 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29583
2007-10-14 22:09:18 +00:00
Magnus Olsen
ecd8e80799 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29582
2007-10-14 22:05:19 +00:00
Magnus Olsen
e8bb7f5d18 do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the original dllmain will not be run

svn path=/trunk/; revision=29581
2007-10-14 22:00:17 +00:00
Magnus Olsen
13d5604971 entrypoint="0" do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the orginal dllmain will not be run

svn path=/trunk/; revision=29580
2007-10-14 21:58:49 +00:00
Magnus Olsen
f59bc76b8b do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the orginal dllmain will not be run

svn path=/trunk/; revision=29579
2007-10-14 21:57:40 +00:00
Colin Finck
91120d6ffa Silence a warning
svn path=/trunk/; revision=29574
2007-10-14 20:01:40 +00:00
Colin Finck
32bb43598d Compute the card offset for the row stack based on the height of the card.
Otherwise the numbers of larger cards (like in cardsbav) are not visible.

svn path=/trunk/; revision=29573
2007-10-14 19:49:12 +00:00
Colin Finck
5c9cfdf1ff - Use #define's for setting the borders between elements.
- Don't use some values, which are based on hardcoded card metrics. Compute them using the #define's for the borders and the card metrics instead.
  This way we can use the Bavarian cards.dll (cardsbav) now and theoretically cards in any size :-)
- Set the minimum window height and width by computing the size of all used elements using the new #define's and the card metrics.
- Some indentation changes

svn path=/trunk/; revision=29570
2007-10-14 18:21:27 +00:00
Colin Finck
df8ab9c41b Add a Czech (QWERTY) keyboard layout by Kamil Hornicek (tykef at atlas dot cz)
I renamed the "kbdcz" files from the patch to "kbdcz1" to match the name of this DLL under Windows
See issue #2720 for more details.

svn path=/trunk/; revision=29564
2007-10-14 14:14:16 +00:00
Aleksey Bragin
e455603420 - Commit changes made to doxygen config by Marc Piulachs.
See issue #2709 for more details.

svn path=/trunk/; revision=29561
2007-10-14 12:52:44 +00:00
Aleksey Bragin
6ea648632e - Fixed a typo in the line which lead to actual zeroing of mxcsr, instead of zeroing only reserved bits (spotted by Kamil Hornicek aka "Pigglesworth").
- Improved the fix by actually applying the mask prepared earlier during kernel init (this is a more proper way to clear reserved bits of mxcsr).
- SSE/SSE2/etc is not broken anymore.
See issue #2748 for more details.

svn path=/trunk/; revision=29558
2007-10-14 12:20:48 +00:00
Johannes Anderwald
5590854701 - halfplement CDefFolderMenu_Create2
svn path=/trunk/; revision=29554
2007-10-13 21:47:09 +00:00
Johannes Anderwald
6066286913 - add prototype for SHCreateDefaultContextMenu and CDefFolderMenu_Create2
These functions are responsible for creating the right context menu for the requested shell item. 

svn path=/trunk/; revision=29552
2007-10-13 20:40:00 +00:00
Aleksey Bragin
72595c9315 - Move Teb's StaticUnicodeString initialisation from ntdll to MmCreateTeb (it's better to initialize it early, and all at once, instead of something here now and something there later).
svn path=/trunk/; revision=29551
2007-10-13 13:39:42 +00:00
Daniel Reimer
eb279e4344 German Translation for Event Viewer.
Updated SVN:Ignore for WordPad.

svn path=/trunk/; revision=29550
2007-10-13 12:18:58 +00:00
Colin Finck
c56d07a5bb - Hardcode the Window class name, there is no need for it to be translated
- Remove all this VS stuff from the english resource file
- Move the icons to "rsrc.rc" as they will be shared between all translations
- Fix a typo

svn path=/trunk/; revision=29548
2007-10-13 10:27:27 +00:00
Colin Finck
3b9ccf3f7d Add an Event Log Viewer coded by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
The icons were taken from the comctl32.dll.
I did not add it to the "reactos.dff" as ReactOS doesn't support Event Logs yet.
See issue #2602 for more details.

svn path=/trunk/; revision=29547
2007-10-13 10:15:37 +00:00
James Tabor
bdd694ff41 Dc_Attr with DCE:
- Fixed problem with dcattr read and write access in user mode.
- Dcattr data only flows from Kernel to User ATM.
- Cleaned up code.
- Enable GetDCObject for testing.
- Tested with Qemu both Linux and XP, and real hardware. 

svn path=/trunk/; revision=29546
2007-10-13 04:15:37 +00:00
Mike Nordell
00a4696613 Just some more notes about what (likely) is required to make it possible for users to cleanly shut down ROS.
svn path=/trunk/; revision=29545
2007-10-13 03:34:56 +00:00
Daniel Reimer
3afae75a47 Add German Translation and Fix English SUBLANG to our Defaults.
svn path=/trunk/; revision=29544
2007-10-12 17:49:52 +00:00
Christoph von Wittich
ff76e56813 LdrpLoadModule called with LOAD_LIBRARY_AS_DATAFILE returns SUCCESS and a valid BaseAddress but no Module
svn path=/trunk/; revision=29543
2007-10-12 17:15:23 +00:00
Johannes Anderwald
6fda4d5f57 - dont allow creating a link to a shortcut
See issue #2735 for more details.

svn path=/trunk/; revision=29542
2007-10-12 16:07:41 +00:00
Aleksey Bragin
2f452c335b - Don't free a NULL pointer.
svn path=/trunk/; revision=29541
2007-10-12 15:42:08 +00:00
Johannes Anderwald
499e470b9f - fix PickIconDlg prototype
svn path=/trunk/; revision=29540
2007-10-12 15:17:55 +00:00
Johannes Anderwald
1b769acf24 - add PickIconDlg declaration
svn path=/trunk/; revision=29539
2007-10-12 15:17:51 +00:00
Johannes Anderwald
d85b18bd0a - fix build
- set control ids

svn path=/trunk/; revision=29538
2007-10-12 14:49:21 +00:00
Johannes Anderwald
16fd2633a6 - explictely use PROPSHEETHEADERW
- implement _ILIsBitBucket function
- implement a IContextMenu for recycle bin interface but is currently unused see notes shv_item_cmenu.c
- implement recycle property dialog resources in vista style

svn path=/trunk/; revision=29537
2007-10-12 14:25:58 +00:00
Peter Ward
bb6da9c74e - Fix build.
svn path=/trunk/; revision=29536
2007-10-12 12:19:37 +00:00
Johannes Anderwald
7f92d4dc3e - fix warning
svn path=/trunk/; revision=29535
2007-10-12 12:11:00 +00:00
Peter Ward
f5c30d8747 Patch by Marc Piulachs (Issue 2737)
- Imported write.exe plus small fix to compile it as unicode.
(Added to rosapps instead of base/applications though)

svn path=/trunk/; revision=29534
2007-10-12 12:06:05 +00:00
Mike Nordell
d6b434bf9c Beginnings of enabling THREAD_SET_THREAD_TOKEN, to allow ROS to actually be shut down. Mostly skeleton and junk, but the basic infrastructure is at least in place.
svn path=/trunk/; revision=29533
2007-10-12 12:04:50 +00:00
Aleksey Bragin
306e3db1bb Dmitry Chapyshev <lentind@yandex.ru>
- Make the "Information" tab work.
- Improve overall applet's behavior (more correct and more "smart").
- Fixed a bug when switching between tabs.
- Small improvements in the UI, other small fixes.
- If no apps or no updates are installed, then the controls in the respective tabs will be grayed out, and a respective information message will be shown instead of the empty list.

svn path=/trunk/; revision=29532
2007-10-12 10:12:52 +00:00
Aleksey Bragin
a3d5eb47e0 Johannes Anderwald
- Fix the msvcrt exception (because vlc first calls _getmainargs. This function sets the  __argc to 1. Afterwards vlc calls again __wgetmainargs where __argc is now one. When entering the function _wadd, it doesnot allocate the __wargv because __argc is 1. Therefore it crashes).
See issue #821 for more details.

svn path=/trunk/; revision=29531
2007-10-12 09:58:00 +00:00
Mike Nordell
5005c57755 Added some descriptive comments for otherwise hard-to-understand bitwise operations
svn path=/trunk/; revision=29530
2007-10-12 09:52:23 +00:00
Mike Nordell
520357b1d4 NTSHChangeNotifyRegister completed and to spec
svn path=/trunk/; revision=29529
2007-10-12 08:15:37 +00:00
James Tabor
cfb9429c6e Sorry for this! Shell32 should be a Sync->Port not 100% sync. We needed this for a long time too! Good job janderwald!
svn path=/trunk/; revision=29528
2007-10-12 01:08:06 +00:00
James Tabor
51d1952da0 Add notes for NtGdiResetDC and NtGdiOpenDCW.
svn path=/trunk/; revision=29527
2007-10-12 00:47:31 +00:00
Johannes Anderwald
eca272bd00 - start implementing recyclebin (based on Wine's recycle bin implemenation)
svn path=/trunk/; revision=29526
2007-10-11 23:45:36 +00:00
Ged Murphy
126300ce1b Send the right number of bytes when setting an env var
spotted by Christian Fasshauer <chrfas at googlemail dot com>

svn path=/trunk/; revision=29525
2007-10-11 23:36:31 +00:00
Daniel Reimer
de827eb930 Translated the few new lines in this RC.
svn path=/trunk/; revision=29524
2007-10-11 22:45:18 +00:00
Daniel Reimer
1921d75db2 (Very)Small code cleanup for my Cards.dll
svn path=/trunk/; revision=29523
2007-10-11 22:39:37 +00:00
Mike Nordell
363fadba81 Prevent SEGV
svn path=/trunk/; revision=29522
2007-10-11 22:20:22 +00:00
Daniel Reimer
4977ec87af Added German Translation of one missed Dialog.
Fixed tons of coordinates and sizes to fit all Text of the German and English Translation into the Buttons, Checkboxes and Text Fields.
Moved some stuff to better fit into the Dialog.
I mainly kept Johannes's nice small format for the Shortcut etc Dialogs, because it looks nice. This only helps to fit in the Text.

svn path=/trunk/; revision=29521
2007-10-11 22:17:08 +00:00
Mike Nordell
d4dd5b21ce Make cabman build warning-free
svn path=/trunk/; revision=29519
2007-10-11 21:01:39 +00:00
Thomas Bluemel
6f9c72878c Display a context menu for the selected monitor
svn path=/trunk/; revision=29517
2007-10-11 20:23:26 +00:00
Colin Finck
4ae5d0691a Updated Ukrainian translation by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2731 for more details.

svn path=/trunk/; revision=29516
2007-10-11 20:02:58 +00:00
Johannes Anderwald
3a037045bf - update shell32_ros.diff
svn path=/trunk/; revision=29514
2007-10-11 19:43:22 +00:00
Johannes Anderwald
afef41e793 - update doc
svn path=/trunk/; revision=29511
2007-10-11 19:33:05 +00:00
Johannes Anderwald
8b2f309588 - forgot one file
svn path=/trunk/; revision=29510
2007-10-11 19:26:16 +00:00
Johannes Anderwald
01a2631183 - add checkAlarms function
- this function will be used to determine wether expiration alarms are active. If qemu dies or terminates unexpectly, this function will check if it was before an timeout. In that case alarms will be active. Note: if qemu is killed purposely, OsSupport::cancelAlarms must be called to prevent automatic termination of sysreg process

svn path=/trunk/; revision=29509
2007-10-11 18:41:39 +00:00
Johannes Anderwald
8e11e74890 - fix build
svn path=/trunk/; revision=29508
2007-10-11 18:25:00 +00:00
Johannes Anderwald
7f50b9b826 - sync rest of shell32 excluding resources to wine
svn path=/trunk/; revision=29507
2007-10-11 18:07:01 +00:00
Johannes Anderwald
b817f334af Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
Stefan Leichter <Stefan.Leichter@camline.com>
- Fix the file version string of the version resource.

svn path=/trunk/; revision=29506
2007-10-11 17:07:58 +00:00
Colin Finck
0e152e82fb Change "base" to "installbase" for the <bootstrap> element of "green.rbuild" (the older syntax is no longer valid)
See issue #2706 for more details.

svn path=/trunk/; revision=29505
2007-10-11 16:06:11 +00:00
Daniel Reimer
1a73e268ff We need a rule that updating a RC File forces the dev to do it on ALL Files, not only the English one. German one missed two Dialogs again.
Updated the German RC File of shell32.dll and fixed a typo in the English one. (Nice Work with your new Dialogs For Shortcuts and co, Johannes :-))

svn path=/trunk/; revision=29504
2007-10-11 16:01:18 +00:00
Aleksey Bragin
bf70fa45ea - Insert back the "ugly hack for cut&paste files" (removed by 29499 commit).
svn path=/trunk/; revision=29503
2007-10-11 14:47:10 +00:00
Ged Murphy
07ed4d1ce3 use ChangeListViewText to fill out the service info
svn path=/trunk/; revision=29502
2007-10-11 12:21:06 +00:00
Ged Murphy
8c49001628 only run the change code when we have the changed struct to work with.
svn path=/trunk/; revision=29501
2007-10-11 12:00:19 +00:00
Ged Murphy
d8f1cef2f6 improve the button states in relation to the service
svn path=/trunk/; revision=29500
2007-10-11 11:09:39 +00:00
Johannes Anderwald
12be971541 Dmitry Timoshkov <dmitry@codeweavers.com>
- Switch to using 'long' for INT_PTR type for 64-bit compatibility.
Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
- Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
- Remove redundant NULL checks before SHFree.
Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
------------------------
- readd ReactOS changes (the properties menu item was removed, readd it + code to show properties dialogs)

svn path=/trunk/; revision=29499
2007-10-11 10:48:31 +00:00
Hervé Poussineau
3e278e062e Remove unneeded comment (__REACTOS__ is always defined)
svn path=/trunk/; revision=29498
2007-10-11 10:47:25 +00:00
Christoph von Wittich
a49156cbcc disable redrawing of the ListView window before updating the service list
svn path=/trunk/; revision=29497
2007-10-11 10:30:43 +00:00
Ged Murphy
f3d656d276 a better fix for bug 2519
svn path=/trunk/; revision=29496
2007-10-11 10:29:02 +00:00
Hervé Poussineau
8596afd334 Add list of source files in generated makefile
svn path=/trunk/; revision=29495
2007-10-11 10:18:47 +00:00
Hervé Poussineau
54eae92953 Do not change dependancy root directory if not needed
svn path=/trunk/; revision=29494
2007-10-11 10:18:03 +00:00
Christoph von Wittich
aedfd39a7f Disabled service has start button enabled (patch by gabrielilardi at hotmail dot it) - modified by myself (HeapFree, formatting)
See issue #2519 for more details.

svn path=/trunk/; revision=29493
2007-10-11 10:15:46 +00:00
Johannes Anderwald
7d51d9fd56 Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Aric Stewart <aric@codeweavers.com>
- Update the debug functions to handle Unicode value pidl.
- Add _ILIsUnicode as a simple pidl test.
Michael Stefaniuc <mstefani@redhat.de>
- The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility.
Hans Leidekker <hans@it.vu.nl>
- Win64 printf format warning fixes.

svn path=/trunk/; revision=29492
2007-10-11 10:13:05 +00:00
Johannes Anderwald
a262dfe3cb Mikoaj Zalewski <mikolaj@zalewski.pl>
- Make the shell view control Unicode
- Change some more ANSI calls to Unicode

svn path=/trunk/; revision=29491
2007-10-11 10:00:11 +00:00
Ged Murphy
e45052754a remove some test code which shouldn't have been added.
svn path=/trunk/; revision=29490
2007-10-11 09:15:14 +00:00
Ged Murphy
3a5583c86f add some old code I had floating around. no real in functionality
svn path=/trunk/; revision=29489
2007-10-11 09:07:38 +00:00
Johannes Anderwald
4bcdb4d441 Andrew Talbot <Andrew.Talbot@talbotville.com>
- Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
- Add a stub implementation for SHMapIDListToImageListIndexAsync.
Jonathan Ernst <jonathan@ernstfamily.ch>
- Update the address of the Free Software Foundation.
Martin Fuchs <martin-fuchs@gmx.net>
- Fix folder icon index when read from registry.
- Change "DWORD dwNr" into "int icon_idx" at several places.
-----------------------------------------
ReactOS specific:
- PrivateExtractIconW is an undocumented user32 function. Dynamically get the function with GetProcAddress at runtime (readd)

svn path=/trunk/; revision=29488
2007-10-11 08:51:11 +00:00
Johannes Anderwald
7d516124e5 --------------------------------------------------
shfldr_mycomp.c:
Rob Shearman <rob@codeweavers.com>
Return Unicode strings from all of the IShellFolder::GetDisplayNameOf functions in not running in Win9x mode.
Hans Leidekker <hans@it.vu.nl>
shell32: Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
janitorial: Remove redundant NULL checks before SHFree.
Robert Shearman <rob@codeweavers.com>
shell32: Convert ISF_MyComputer_fnGetDisplayNameOf to Unicode.
--------------------------------------------------
- ReactOS specific:
- return always in unicode

svn path=/trunk/; revision=29487
2007-10-10 23:49:42 +00:00
Peter Ward
3ae0570df2 - Two small Ldr cleanup patches (ntdll and kernel32) by: Mike Nordell
svn path=/trunk/; revision=29486
2007-10-10 23:14:20 +00:00
Johannes Anderwald
fd1c983af4 -----------------------------------------------------
autocomplete.c:
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers Constify some variables.
-----------------------------------------------------
dde.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
dragdrophelper.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
-----------------------------------------------------
enumidlist.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
-----------------------------------------------------
enumidlist.h:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shellreg.c:
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Detlef Riekenberg <wine.dev@web.de>
Implement SHRegQueryValueA with RegQueryValueA.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shellstring.c:
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
-----------------------------------------------------
shlfsbind.c
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
Hans Leidekker <hans@it.vu.nl>
shell32: Win64 printf format warning fixes.
Andrew Talbot <Andrew.Talbot@talbotville.com>
shell32: Exclude unused headers.
-----------------------------------------------------
shlmenu.c:
Dmitry Timoshkov <dmitry@codeweavers.com>
Switch to using 'long' for INT_PTR type for 64-bit compatibility.
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Hans Leidekker <hans@it.vu.nl>
Win64 printf format warning fixes.
James Hawkins <truiken@gmail.com>
janitorial: Remove redundant NULL checks before SHFree.
Francois Gouget <fgouget@free.fr>
Fix spelling of a local variable.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.
-----------------------------------------------------
shpolicy.c:
Dmitry Timoshkov <dmitry@codeweavers.com>
Make some data static and const.
Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.

svn path=/trunk/; revision=29485
2007-10-10 22:39:44 +00:00
Johannes Anderwald
a0e410976f sync to wine head
Andrew Talbot <Andrew.Talbot@talbotville.com>
Exclude unused headers.
Mikoaj Zalewski <mikolaj@zalewski.pl>
autocomplete: Don't use sel uninitialized.

svn path=/trunk/; revision=29484
2007-10-10 21:52:22 +00:00
Johannes Anderwald
5bbed73d42 - fix RegLoadMUIStringA|W prototype
svn path=/trunk/; revision=29483
2007-10-10 21:19:05 +00:00
Johannes Anderwald
3d621cf578 - fix RegLoadMUIStringA|W prototype
svn path=/trunk/; revision=29482
2007-10-10 21:18:59 +00:00
Johannes Anderwald
96f724824c - add ntquery.h from Wine (rev 1.3)
svn path=/trunk/; revision=29481
2007-10-10 21:03:27 +00:00
Johannes Anderwald
8dd3300304 - add __MINGW_NOTHROW macro (required for shell32 sync used in dirent.h)
svn path=/trunk/; revision=29480
2007-10-10 20:53:47 +00:00
Aleksey Bragin
5257ae8196 - Copy kernel's IDT entries to the IDT we've got from the bootloader. Fixes boot-process initiated by ntldr-compatible loaders.
svn path=/trunk/; revision=29477
2007-10-10 12:39:54 +00:00
Hervé Poussineau
336b29de42 Cleanup the LinkerScript class and use it
Patch by Marc Piulachs, marc dot puilachs at codexchange dot net
See issue #2721 for more details.

svn path=/trunk/; revision=29476
2007-10-10 08:44:45 +00:00
Hervé Poussineau
bc653c4422 Do not skip executable name, it is not sent to WinMain command line argument
svn path=/trunk/; revision=29475
2007-10-09 19:01:12 +00:00
Daniel Reimer
f187392e6c This should fix the build
svn path=/trunk/; revision=29474
2007-10-09 18:37:48 +00:00
Daniel Reimer
a647e4e19c Try to remove the old wordpad and prepare fr the new one
svn path=/trunk/; revision=29473
2007-10-09 18:35:38 +00:00
Daniel Reimer
2165bf4b96 Backup WordPad to RosApps
svn path=/trunk/; revision=29472
2007-10-09 18:25:19 +00:00
Aleksey Bragin
414b4db8ac Mike Nordell <tamlin>
- Add two checks for infinite loops. The latter gets triggered in some cases, a memory overwrite is suspected, or a race condition.

svn path=/trunk/; revision=29471
2007-10-09 17:00:11 +00:00
Ged Murphy
461c0ad2d1 add wine's wordpad as the default
svn path=/trunk/; revision=29469
2007-10-09 09:00:56 +00:00
Hervé Poussineau
d620fa11c7 Fix indentation
svn path=/trunk/; revision=29468
2007-10-09 09:00:04 +00:00
Ged Murphy
66c3c85e36 Add a much more complete wordpad from one of Wine's SOC projects
svn path=/trunk/; revision=29467
2007-10-09 09:00:02 +00:00
Hervé Poussineau
8b17e00a0e Patch by Carlo Bramini, carlo dot bramix at libero dot it
Fixes for non unicode build
See issue #2711 for more details.

svn path=/trunk/; revision=29466
2007-10-09 08:53:25 +00:00
Hervé Poussineau
c57a4482c2 Put .asm files at the end of the module
See issue #2702 for more details.

svn path=/trunk/; revision=29465
2007-10-09 07:10:05 +00:00
Johannes Anderwald
719694a6b2 - use -nographic option
svn path=/trunk/; revision=29464
2007-10-08 22:08:29 +00:00
Johannes Anderwald
bb471e5852 - fix linux build for build server trial #2
svn path=/trunk/; revision=29463
2007-10-08 21:59:49 +00:00
Johannes Anderwald
cc2d1bffe8 -include errno.h
- temporarly deactivate -vnc 0 option

svn path=/trunk/; revision=29462
2007-10-08 21:38:14 +00:00
Johannes Anderwald
596003e53b - remove stdio debugging (not efficient and unused)
- call mkfifo for randomly created named pipes (linux only)
- sysreg hangs in 2nd stage due to the -vnc 0 option


svn path=/trunk/; revision=29460
2007-10-08 21:22:57 +00:00
Christoph von Wittich
d576ff0223 -fix compilation with msvc
-fix some memory leaks

svn path=/trunk/; revision=29459
2007-10-08 19:18:42 +00:00
Aleksey Bragin
73b6c28cf8 Dmitry Chapyshev <lentind@yandex.ru>
- Modify/Remove action: Wait for the process completion and only then become active again (like Windows' AppWiz does)
- Move Updates to another tab
- Move all include directives to appwiz.h
- Add context menu for applications list
- Slightly change this applet's design
- Add an icon for ReactOS setup and Update tabs
- Add a working Download! button. This button is active only if Download!.exe exists in system32 directory when appwiz.cpl starts
- Other small changes

svn path=/trunk/; revision=29458
2007-10-08 15:56:31 +00:00
Aleksey Bragin
db598dfdbb - Don't try to free a pointer if it was not allocated.
svn path=/trunk/; revision=29456
2007-10-08 12:37:44 +00:00
Hervé Poussineau
c736d81fff Fix rgenstat compilation
svn path=/trunk/; revision=29455
2007-10-08 11:19:46 +00:00
Johannes Anderwald
e4fa627016 - fix linux compilation
svn path=/trunk/; revision=29454
2007-10-08 09:28:04 +00:00
Johannes Anderwald
6cd6fc2c8c - randomize named pipe name
- remove hardcoded path in named pipe reader class

svn path=/trunk/; revision=29453
2007-10-08 09:01:33 +00:00
Johannes Anderwald
1d1547fcc3 - forgot one thing
svn path=/trunk/; revision=29452
2007-10-08 08:17:43 +00:00
Johannes Anderwald
8fe2c38364 - remove non required specialization
svn path=/trunk/; revision=29451
2007-10-08 00:22:39 +00:00
Johannes Anderwald
59f7546716 - remove unicode support (it was mess, a few places only accepting char and then another using wchar compatibel)
- rewrite line extraction (currently if'0)
- add Wine gettimeofday implementation (currently if'0)
- apply sources changes to SymbolFile class
- remove unicode support class
- fix a bug in the createProcess version for windows hosts which randomly led to invalid boot hdd error messages

svn path=/trunk/; revision=29450
2007-10-08 00:18:01 +00:00
Christoph von Wittich
66b7980abf fix building with VS2005
svn path=/trunk/; revision=29448
2007-10-07 23:37:15 +00:00
Christoph von Wittich
b958e36122 used autoformat in MSVC to get the code readable again
svn path=/trunk/; revision=29447
2007-10-07 22:51:05 +00:00
Christoph von Wittich
e907d2737c fix some memory leaks
svn path=/trunk/; revision=29446
2007-10-07 22:43:18 +00:00
Johannes Anderwald
616c7f2be3 - improve error checking
- fix a memory leak

svn path=/trunk/; revision=29445
2007-10-07 20:17:54 +00:00
Johannes Anderwald
44be754751 - improve debugging
svn path=/trunk/; revision=29444
2007-10-07 20:05:27 +00:00
Colin Finck
911a564d4b Some Bulgarian translation updates by Ñòàíåâ (sstpr AT narod DOT ru)
See issue #2728 for more details.

svn path=/trunk/; revision=29443
2007-10-07 19:19:27 +00:00
Hervé Poussineau
14a4a98b96 Do not delete section extension when storing it in the structure
See issue #1147,1845 for more details.

svn path=/trunk/; revision=29441
2007-10-07 17:13:06 +00:00
Aleksey Bragin
2012ccfc2f - Get rid of incompatible strtoull export in msvcrt.dll
- Make dbghelp.dll use strtoui64 instead. Another solution would be to add it to libwine, but it will make code duplication even worse (strtoull is already implemented in two places).

svn path=/trunk/; revision=29440
2007-10-07 16:42:10 +00:00
Colin Finck
69fd113200 Updated italian translations for access.cpl and ncpa.cpl by Paolo Devoti (devotip AT tiscali DOT it)
See issue #2727 for more details.

svn path=/trunk/; revision=29439
2007-10-07 15:38:04 +00:00
Hervé Poussineau
1cf5e31c3b Oops, forgot to save the file before committing ;)
svn path=/trunk/; revision=29435
2007-10-07 12:29:46 +00:00
Hervé Poussineau
147f7c934c Add mingw and msvcrt implicit libraries only if it is a Win32 target
svn path=/trunk/; revision=29434
2007-10-07 12:28:18 +00:00
Hervé Poussineau
c24dcf1da0 ntdll.dll is a native dll
svn path=/trunk/; revision=29433
2007-10-07 12:14:02 +00:00
Christoph von Wittich
278c4a1b03 fix a resource leak
svn path=/trunk/; revision=29432
2007-10-07 00:43:43 +00:00
Christoph von Wittich
25cde1b38b -fix a resource leak and two memory leaks
svn path=/trunk/; revision=29431
2007-10-07 00:21:58 +00:00
Christoph von Wittich
8565a1aab5 -fix a warning in charmap.c
-use LocalFree when memory was allocated by LocalAlloc

svn path=/trunk/; revision=29430
2007-10-07 00:03:57 +00:00
Hervé Poussineau
40fa2a585a Do not call DllInstall, it is a stub
See issue #2719 for more details.

svn path=/trunk/; revision=29428
2007-10-06 21:13:48 +00:00
Timo Kreuzer
2ddf628afc add missing gdi object type
svn path=/trunk/; revision=29427
2007-10-06 21:13:24 +00:00
Christoph von Wittich
f57c7260c2 replace non-existant SUBLANG_PORTUGUESE_PORTUGAL with SUBLANG_PORTUGUESE
svn path=/trunk/; revision=29425
2007-10-06 20:06:11 +00:00
Hervé Poussineau
1962ee8f23 Do not define structures twice
svn path=/trunk/; revision=29424
2007-10-06 19:28:04 +00:00
Hervé Poussineau
340b2adbee Do not define __REACTOS__ twice
svn path=/trunk/; revision=29423
2007-10-06 19:18:55 +00:00
Peter Ward
b2a56ac32a - Fix build.
svn path=/trunk/; revision=29422
2007-10-06 19:13:15 +00:00
Christoph von Wittich
e45ac511e7 remove double controls from the resource
svn path=/trunk/; revision=29421
2007-10-06 18:32:45 +00:00
Hervé Poussineau
388fa4820c Rename _REACTOS_ to __REACTOS__
svn path=/trunk/; revision=29420
2007-10-06 18:04:03 +00:00
Ged Murphy
1beed38801 fix painting of alpha channels in 32bpp icons onto windows/dialogs
svn path=/trunk/; revision=29419
2007-10-06 17:59:21 +00:00
Aleksey Bragin
52c172c002 - Fix incorrect DPRINT.
svn path=/trunk/; revision=29418
2007-10-06 16:04:21 +00:00
Aleksey Bragin
764cda7527 - Fix build.
svn path=/trunk/; revision=29417
2007-10-06 14:35:39 +00:00
Aleksey Bragin
3f6b60365b Dmitry Chapyshev <lentind@yandex.ru>
- Add some more dialogs to input.dll, and even some functionality, but it still needs a lot of work.
- Add input.dll and systeminfo.exe to the bootcd

svn path=/trunk/; revision=29416
2007-10-06 11:47:06 +00:00
Aleksey Bragin
0fb55f0db8 Dmitry Chapyshev <lentind@yandex.ru>
- Fix a typo in the russian translation of taskmgr.
- Improve explorer icons (as usual, remove 4bits, add 16bits, and very slightly edit).
- Add some missing icons to setupapi.dll.

svn path=/trunk/; revision=29415
2007-10-06 11:04:31 +00:00
Aleksey Bragin
bad5a95a60 Dmitry Chapyshev <lentind@yandex.ru>
- Update the icons for sysdm and netid.

svn path=/trunk/; revision=29414
2007-10-06 10:55:13 +00:00
Aleksey Bragin
6f366e58e3 Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation to clb.
- Regedit's icons: remove 4bit icons, add 16bit icons.

svn path=/trunk/; revision=29413
2007-10-06 10:53:22 +00:00
Aleksey Bragin
62e6f7492d Dmitry Chapyshev <lentind@yandex.ru>
- Add a temporary icon (should be changed to a better one), so that it's displayed in the taskbar and window title.

svn path=/trunk/; revision=29412
2007-10-06 10:50:51 +00:00
Aleksey Bragin
ab9b5860ed Dmitry Chapyshev <lentind@yandex.ru>
- Fix a typo in russian translation of intl.cpl

svn path=/trunk/; revision=29411
2007-10-06 10:46:42 +00:00
Art Yerkes
289ae6c346 Added to trunk.
svn path=/trunk/; revision=29410
2007-10-06 08:34:33 +00:00
Art Yerkes
a21398057a Flipped increment/decrement. Noticed by encoded.
svn path=/trunk/; revision=29408
2007-10-06 08:29:22 +00:00
Art Yerkes
0abf169695 All remaining changes from the PPC branch. Not well tested yet. Many things
are indeed still stubs or WIP code.

Some people have been interested in helping out from some time and I'm sorry
I haven't been able to do this merge finally for a while.

svn path=/trunk/; revision=29407
2007-10-06 07:53:20 +00:00
Aleksey Bragin
9a2d4a0858 - Implement KiTrap19 handler (XMMI exceptions, mostly copied KiTrap7 handler and used mxcsr status word and exceptions there). There will be no weird 0xF BSODs anymore, however I need to investigate about exceptions masking.
- Dynamically enable it, if CPU supports XMMI (was already done in the kernel, but #if0-ed).

svn path=/trunk/; revision=29406
2007-10-06 07:22:59 +00:00
Aleksey Bragin
ac92ed539f - Fix an awful memory-overwrite bug. Buggy code written by Eugene Ingerman, 04-Aug-1988.
- Alex is awarded ReactOS Medal-of-Honour for the great achievement (fix of the oldest bug ever in ReactOS).

svn path=/trunk/; revision=29405
2007-10-05 20:46:25 +00:00
Aleksey Bragin
8d7e49ee86 - Those two are not needed anymore.
svn path=/trunk/; revision=29404
2007-10-05 20:40:29 +00:00
Johannes Anderwald
f341d8a8af - add missing definitions required for wine shell32
svn path=/trunk/; revision=29403
2007-10-05 20:33:03 +00:00
James Tabor
bd65efd9de No need to stop APC when looping.
svn path=/trunk/; revision=29401
2007-10-05 18:16:34 +00:00
Aleksey Bragin
8206cd0b71 - Don't allocate pool with a NULL tag, use ExAllocatePool instead.
svn path=/trunk/; revision=29400
2007-10-05 17:17:49 +00:00
Aleksey Bragin
7b9b1a8536 - Free BusInterface only if it was really alloc'd
- Remove svn:needs-lock property from this [stub]-driver

svn path=/trunk/; revision=29399
2007-10-05 17:13:53 +00:00
Aleksey Bragin
5e5a42e89b - Fix a mistake, led to usage of unitialized memory and then freeing it.
svn path=/trunk/; revision=29398
2007-10-05 17:08:23 +00:00
Johannes Anderwald
5e3641128f - fix english SHELL_EXTENDED_SHORTCUT_DLG resource dialog
- add runas dialog resource definition (not yet used)
- store runas settings in shortcut properties

svn path=/trunk/; revision=29397
2007-10-05 15:12:25 +00:00
Aleksey Bragin
a6b4148654 - Fix DBG=0 build
svn path=/trunk/; revision=29396
2007-10-05 12:07:50 +00:00
Aleksey Bragin
9fe1e6e1d3 - Fix a bug with wrong handling of an ALT key pressed together with a mouse click.
svn path=/trunk/; revision=29395
2007-10-05 09:37:46 +00:00
James Tabor
853d34afaf Fixed an old typo bug from rev 3450 by dwelch. Add support for DCX_NORESETATTRS and fixed up IntWindowFromDC.
svn path=/trunk/; revision=29394
2007-10-05 06:47:42 +00:00
Johannes Anderwald
fe4f628972 - implement create shortcut wizard (works currently only for files)
svn path=/trunk/; revision=29393
2007-10-04 23:51:10 +00:00
Johannes Anderwald
327e65fe96 - fix a bug and warning
svn path=/trunk/; revision=29392
2007-10-04 20:16:11 +00:00
Aleksey Bragin
b16c028e4f - Update two doxyfiles to the newest version and fix paths. Many other doxyfiles remain...
svn path=/trunk/; revision=29391
2007-10-04 17:48:47 +00:00
Aleksey Bragin
e82583fbe8 - Comments, debug prints translation into readable english.
svn path=/trunk/; revision=29389
2007-10-04 08:47:13 +00:00
Aleksey Bragin
a030c28a82 - Change strange greatlord-like sentences to a short and clear one.
svn path=/trunk/; revision=29388
2007-10-04 08:30:01 +00:00
Aleksey Bragin
5cf9e02b1e - Don't try to copy an uninitialized bitmap's contents (it worked only because it was zeroed, and thus zero-size RtlCopy and ExFreePool(NULL)).
svn path=/trunk/; revision=29387
2007-10-03 20:58:44 +00:00
Gregor Brunmar
79ce62a7c3 Fixed bug 2555 (Calendar window does not close automaticaly)
See issue #2555 for more details.

svn path=/trunk/; revision=29386
2007-10-03 20:47:59 +00:00
Aleksey Bragin
6d5d5b6293 - Fix ExAllocatePoolWithTag with a 0 tag.
svn path=/trunk/; revision=29385
2007-10-03 20:30:41 +00:00
Gregor Brunmar
7d65442299 Added context menu on right click in treeviews
svn path=/trunk/; revision=29384
2007-10-03 19:45:39 +00:00
Gregor Brunmar
62cb1ae6bf * Fixed bug 2456 (propsheet's apply button enabling at the wrong time)
See issue #2456 for more details.

svn path=/trunk/; revision=29383
2007-10-03 19:34:34 +00:00
Johannes Anderwald
55df7a560f - deactivate signal handler for linux
svn path=/trunk/; revision=29382
2007-10-03 17:53:03 +00:00
Aleksey Bragin
d2687b4de8 Dmitry Chapyshev <lentind@yandex.ru>
- Change listbox to listview
- Draw icons
- Add a find bar (it works, but will work better in future)
- "Install" button moved to a separate tab, also buttons "Download!" and "Find in the Internet" are added there too
- Applet's width increased
- "Modify/Remove" button will become active only when an application is selected

svn path=/trunk/; revision=29381
2007-10-03 17:50:43 +00:00
Johannes Anderwald
d4891b7759 - fix linux build
svn path=/trunk/; revision=29380
2007-10-03 17:38:18 +00:00
Christoph von Wittich
9dec8191db fix some of the build errors
svn path=/trunk/; revision=29379
2007-10-03 16:52:31 +00:00
Hervé Poussineau
5fecef05ea Add back windres, it is still used after wrc invocation
svn path=/trunk/; revision=29378
2007-10-03 14:17:46 +00:00
Hervé Poussineau
09ab02f6da Remove usewrc attribute in rbuild files ; wrc should be able to compile all resources
svn path=/trunk/; revision=29377
2007-10-03 14:09:45 +00:00
Hervé Poussineau
5c98cc37b5 Remove hack added in r28961. It seems that wrc works well now.
svn path=/trunk/; revision=29376
2007-10-03 14:02:04 +00:00
Hervé Poussineau
69a12a6870 Implement NdisMWriteLogData, enough to see something
svn path=/trunk/; revision=29375
2007-10-03 13:48:51 +00:00
Aleksey Bragin
d3048bf9fd - Silence badly placed debug message. DPRINT1 equals FIXME and ERR, but not TRACE!
svn path=/trunk/; revision=29374
2007-10-03 12:01:13 +00:00
Aleksey Bragin
a68ed2f38a - Use IopLoanUnloadDriver() for calling unload routine too, in the context of system process, when needed.
svn path=/trunk/; revision=29373
2007-10-03 11:54:31 +00:00
Hervé Poussineau
d0ae8b7806 Try to fix Linux build
svn path=/trunk/; revision=29372
2007-10-03 11:24:56 +00:00
Hervé Poussineau
254bdce1b8 Support custom C and C++ compilers, by variables HOST_CC, HOST_CPP, TARGET_CC and TARGET_CPP
Simplify usage of ROS_PREFIX variable

svn path=/trunk/; revision=29371
2007-10-03 11:12:25 +00:00
Aleksey Bragin
2ea98ca374 - NtLoadDriver APIs refactor/improvent:
* Move loading of a driver to the common (in future) routine IopLoadUnloadDriver (name taken from http://wasm.ru/forum/viewtopic.php?pid=166891).
 * Fix a bug: NtLoadDriver should always load drivers in a context of the system process, explanation here: http://www.osronline.com/showthread.cfm?link=114687
 * Reformat NtLoadDriver's code.

svn path=/trunk/; revision=29370
2007-10-03 10:17:04 +00:00
Hervé Poussineau
597b822c7e Separe right code from hack
svn path=/trunk/; revision=29369
2007-10-03 08:28:16 +00:00
Aleksey Bragin
2a55c8944c - Fix a typo in shell32 resources.
See issue #2717 for more details.

svn path=/trunk/; revision=29368
2007-10-03 08:20:13 +00:00
James Tabor
dece4b531e Move DCX_EXCLUDEUPDATE to the psdk where it belongs.
svn path=/trunk/; revision=29367
2007-10-03 04:08:22 +00:00
James Tabor
fbf23a8f57 Add dprint to debug the change to ownership for shutdown. Also free fake save DC if all window DCE are free.
svn path=/trunk/; revision=29366
2007-10-03 00:39:20 +00:00
Daniel Reimer
457f47ba2e You forgot something in your Translation janderwald.
svn path=/trunk/; revision=29365
2007-10-02 23:48:56 +00:00
Johannes Anderwald
8146f33427 - start implementing create shortcut wizard
svn path=/trunk/; revision=29364
2007-10-02 23:34:00 +00:00
Johannes Anderwald
1b282a3cb5 - remove small hack
- enhance debug statement
- port the drive general / tools property dialog to all languages (english translation)

svn path=/trunk/; revision=29363
2007-10-02 22:09:12 +00:00
Daniel Reimer
f15bfece56 Bug 2716: Italian translation for Logoff (folleinvasato@yahoo.it)
svn path=/trunk/; revision=29362
2007-10-02 21:04:32 +00:00
Daniel Reimer
8ece61c8bf Bug 2708: Ukrainian translation update (temarez@yandex.ru)
Bug 2712: Lithuanian translation (cman@cman.us)
Bug 2713: Italian translation for FIND (folleinvasato@yahoo.it)
Bug 2714: Italian translation for MORE (folleinvasato@yahoo.it)

svn path=/trunk/; revision=29361
2007-10-02 20:50:52 +00:00
Aleksey Bragin
5535e33b64 - Temporary revert 29342.
See issue #2715 for more details.

svn path=/trunk/; revision=29360
2007-10-02 20:09:31 +00:00
Johannes Anderwald
2a4148f4c2 - enable cleanup button
- start cleanmgr process on request

svn path=/trunk/; revision=29359
2007-10-02 18:03:15 +00:00
Johannes Anderwald
00b7f338fa - implement drive extra dialog
svn path=/trunk/; revision=29358
2007-10-02 17:41:48 +00:00
Johannes Anderwald
5eef84319c - remove superflious calls to sysreg
svn path=/trunk/; revision=29357
2007-10-02 16:10:11 +00:00
Johannes Anderwald
86ff6bfeaa - perform all boot tests in one launch of sysreg
- check for timeouts in windows version to see if qemu has hung

svn path=/trunk/; revision=29356
2007-10-02 16:09:29 +00:00
Johannes Anderwald
384ad5f156 - draw drive dialog static controls
- use rtl library for calculating [free|used] diskspace 
- add german resource strings

svn path=/trunk/; revision=29355
2007-10-02 16:03:48 +00:00
Hervé Poussineau
c5921b158e Simplify code.
Spotted by Pablo Menichini, pablo at menichini dot com dot ar

svn path=/trunk/; revision=29354
2007-10-02 14:38:14 +00:00
Hervé Poussineau
ba13c6e131 Support "i386" as an alternative name for cdrom directory
svn path=/trunk/; revision=29353
2007-10-02 12:23:40 +00:00
Hervé Poussineau
f649143b56 Do not hardcode cdrom directory
svn path=/trunk/; revision=29352
2007-10-02 12:16:45 +00:00
Hervé Poussineau
68955155b7 Add a default debug channel
svn path=/trunk/; revision=29351
2007-10-02 10:57:00 +00:00
James Tabor
4b10f0559c Fix NtUserGetIconSize prototype.
svn path=/trunk/; revision=29350
2007-10-02 00:56:04 +00:00
Johannes Anderwald
2ec6c16001 - improve drive property dialog a bit
svn path=/trunk/; revision=29349
2007-10-02 00:07:22 +00:00
James Tabor
fb4bacbb5f Win32k/User32:
- Moved NtUserGetCursorIconInfo to NtUserGetIconInfo, update header.
- GetIconInfo is correctly called now.

svn path=/trunk/; revision=29348
2007-10-01 23:15:02 +00:00
Ged Murphy
e05e9dee74 remove the bitmap stuff, we won't be using this for now
svn path=/trunk/; revision=29347
2007-10-01 22:53:09 +00:00
Johannes Anderwald
ae3adacf6f - add GUID_DEVCLASS_DISKDRIVE
svn path=/trunk/; revision=29346
2007-10-01 22:40:15 +00:00
Johannes Anderwald
408fd9b4e8 - remove previously added DRIVE_SHARE_DLG and DRIVE_CONTINGENT_DLG
- the drive share dialog is implemented in rshx32.dll
- the contigent dialog is implemented in dskquoui.dll
- start implementing german general drive dialog

svn path=/trunk/; revision=29345
2007-10-01 21:53:41 +00:00
Johannes Anderwald
108c1a9a60 - start implementing a few shell property dialogs (shelllink, file, drive) and corresponding shell objects (i.e. Desktop properties opens sysdm cpl) etc
svn path=/trunk/; revision=29344
2007-10-01 20:28:45 +00:00
Johannes Anderwald
07c26f24e6 - fix typo
svn path=/trunk/; revision=29343
2007-10-01 20:25:16 +00:00
Aleksey Bragin
fbf1e8f95e - Finally move MmInit1 to MmInitSystem where it should belong, since FreeLdr now properly sets up SharedUserData. (Thanks to Alex for the hint)
svn path=/trunk/; revision=29342
2007-10-01 20:24:01 +00:00
Martin Fuchs
dc3692a04f remove <alloca.h>
svn path=/trunk/; revision=29340
2007-10-01 20:00:24 +00:00
Hervé Poussineau
30a4afa744 Fix build
svn path=/trunk/; revision=29339
2007-10-01 19:54:37 +00:00
Martin Fuchs
b511687db0 update explorer/xmlstorage
svn path=/trunk/; revision=29338
2007-10-01 19:53:58 +00:00
Aleksey Bragin
9c40044087 - Forgot to hit "CTRL+S" in the editor :) (add a FIXME comment about small hack).
svn path=/trunk/; revision=29337
2007-10-01 19:12:09 +00:00
Hervé Poussineau
7d540cf035 Autosyncing with Wine HEAD
svn path=/trunk/; revision=29336
2007-10-01 19:09:53 +00:00
Hervé Poussineau
9a2b3ffc12 Prepare import of browseui.dll
svn path=/trunk/; revision=29335
2007-10-01 19:09:07 +00:00
Aleksey Bragin
843bb30324 - Almost completely fix the hack in IopParseDevice which was resulting in "FIXME: Broken Parse due to invalid DesiredAccess" messages, by changing some calls to IoGetDeviceObjectPointer to use FILE_READ_ATTRIBUTES instead of FILE_READ_DATA (so that the volume doesn't get mounted).
svn path=/trunk/; revision=29334
2007-10-01 18:04:42 +00:00
Hervé Poussineau
fcc8786305 Display error location when possible
svn path=/trunk/; revision=29333
2007-10-01 18:02:45 +00:00
Aleksey Bragin
fe7669dea4 - KeRosCaptureUserStackBackTrace is now created, which calls RtlWalkFrameChain with the user-mode flag, meaning that bugchecks finally show the user-mode stack again!
- KeRosDumpStackFrames is fixed so that if the EIP can't be found in a module list, it's still displayed (just without the module name). Previously the EIP would not be shown, resulting in code running on the heap/stack/somewhere else not being shown as part of the trace.

svn path=/trunk/; revision=29332
2007-10-01 17:58:49 +00:00
Ged Murphy
bb7d880c70 - half implement support for multiple monitors to desk.cpl
- people with more than one monitor can now use this applet in windows without it crashing

svn path=/trunk/; revision=29331
2007-10-01 15:44:53 +00:00
Hervé Poussineau
a4c436a3a3 Rename 'base' to 'installbase' for CdFile, InstallFile and Bootstrap
Patch by Marc Piulachs, marc dot piulachs at codexchange dot net
See issue #2706 for more details.

svn path=/trunk/; revision=29330
2007-10-01 14:19:27 +00:00
Ged Murphy
a6d6a2af53 use w3seek's control for single monitors displays
svn path=/trunk/; revision=29329
2007-10-01 13:54:54 +00:00
Ged Murphy
221f21c62a It's not pretty, but get desk.cpl building in msvc again.
svn path=/trunk/; revision=29328
2007-10-01 13:23:28 +00:00
Ged Murphy
ca1003310b remove some debug output I missed
svn path=/trunk/; revision=29327
2007-10-01 11:59:11 +00:00
Ged Murphy
ecf21c9be9 - partial rewrite of NtGdiGetDIBitsInternal
- wrap all usermode read/writes in seh
- make it more compatible with XP. We now pass all current GetDIBits tests and win32k tests

svn path=/trunk/; revision=29326
2007-10-01 11:53:31 +00:00
Aleksey Bragin
82a49a076e - Make VideoPortCreateSecondaryDisplay() return an error instead of success, so that driver does not assume the SecondaryDeviceExtension was created for it.
- Add one more DPRINT() to show the size of Device Extension miniport has asked for.
See issue #2672 for more details.

svn path=/trunk/; revision=29325
2007-10-01 10:18:53 +00:00
Hervé Poussineau
6f2304890d Disable debug output
svn path=/trunk/; revision=29324
2007-10-01 09:26:46 +00:00
Aleksey Bragin
3d024aa55b - Rewrite IntVideoPortGetProcAddress() implementation to use a lookup table instead of doing a wrong call to ZwQuerySystemInformation() which always returned STATUS_IMAGE_ALREADY_LOADED (it's supposed to return this). MS's VideoPort seems to do it in a similar way, because it doesn't import neither ZwQSI() nor MmLoadSystemImage().
- VMWare's video driver now calls VideoPortCreateSecondaryDisplay(), without much success though (it's unimplemented).

svn path=/trunk/; revision=29323
2007-10-01 08:14:24 +00:00
Hervé Poussineau
434c242504 Add NdisMIndicateReceivePacket
svn path=/trunk/; revision=29322
2007-10-01 07:34:43 +00:00
Timo Kreuzer
d17d86bf5b move last syscalls with wrong number of params into the correct position in the list, so all other syscalls are now xp compatible, at least according their number ;-)
svn path=/trunk/; revision=29321
2007-10-01 00:32:54 +00:00
Colin Finck
24335fd192 Updated slovak translations for desk.cpl, deskadp, deskmon and slayer by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29320
2007-09-30 21:04:49 +00:00
Timo Kreuzer
5bfdeba3f6 comment out checkbox for version display, as it isn't fully implemented
See issue #2323 for more details.

svn path=/trunk/; revision=29319
2007-09-30 17:48:41 +00:00
Colin Finck
a6c7ba1f4a Ensure that the "Name" column in Task-Manager will always be shown, so a Registry setting can't influence it.
This is necessary as the "Name" column is currently greyed out in the Column Settings dialog, so the user should have no possibility to change that.
Patch by Carlo Bramini (carlo DOT bramix AT libero DOT it)

See issue #2217 for more details.

svn path=/trunk/; revision=29318
2007-09-30 16:27:55 +00:00
Colin Finck
1ab0310d71 Oops, smartpdf was already in the rbuild file, deleted the other occurence now
svn path=/trunk/; revision=29317
2007-09-30 16:14:59 +00:00
Colin Finck
13ef403787 - Use unicode="yes", so a Unicode entry point can be used. This fixes the last linking issue and this way we also don't need the other UNICODE defines
- Add smartpdf to the "directory.rbuild" of rosapps (but commented out, as I'm not sure if it builds well for everyone now)

svn path=/trunk/; revision=29316
2007-09-30 16:01:17 +00:00
Klemens Friedl
c0ff78a908 two linking issues fixed
* _wstr_dup
* _FT_Get_X11_Font_Format (with a work-around)

one weird mingw linking issue remains:
* _WinMain@16


trunk/reactos/lib/3rdparty/mingw/main.c:73: undefined reference to `_WinMain@16'

svn path=/trunk/; revision=29315
2007-09-30 15:43:34 +00:00
Colin Finck
6d800c5f56 Apply the recent changes in the english desk.cpl resource file to all translations.
I only translated them to german, the new strings of the other translations still need to be translated.

svn path=/trunk/; revision=29314
2007-09-30 15:24:04 +00:00
Klemens Friedl
e596c423c0 removed extern-link function, for the meanwhile
3 linking issues left:
* _wstr_dup
* _WinMain@16
* _FT_Get_X11_Font_Format

svn path=/trunk/; revision=29313
2007-09-30 15:10:10 +00:00
Klemens Friedl
5ab6d7ba86 delete unnecessary files
svn path=/trunk/; revision=29312
2007-09-30 14:36:14 +00:00
Timo Kreuzer
925313a32b reorder libs in rbuild file, reducing the number of unresolved references to 4
svn path=/trunk/; revision=29310
2007-09-30 13:48:53 +00:00
Gregor Brunmar
1a98d2a214 Changes to regedit:
* Fixed updating tree view when renaming a key
* Fixed a tree view refresh bug
* Proper updating of the tree view when deleting keys

svn path=/trunk/; revision=29309
2007-09-30 13:31:44 +00:00
Gregor Brunmar
67dadefc81 * Unicode fixes to regedit
* Fixed bug 2494
Patch by Carlo Bramix [carlo (dot) bramix (at) libero (dot) it].
See issue #2494 for more details.

svn path=/trunk/; revision=29308
2007-09-30 13:23:31 +00:00
Hervé Poussineau
b067e31df6 Reference file handle according to previous mode
svn path=/trunk/; revision=29307
2007-09-30 13:11:36 +00:00
Magnus Olsen
c81402138a Adding a text file call notes.txt it is some werid thing I have have not yet figout how it works.
Add testcase for AddFontResourceA

svn path=/trunk/; revision=29306
2007-09-30 11:57:37 +00:00
Aleksey Bragin
96b8978ef3 - ObReferenceObjectByHandle/ObpReferenceProcessByHandle: Properly
return STATUS_INVALID_HANDLE if user-mode tries to reference a
kernel-mode handle.
- ObReferenceObjectByHandle: Properly validate process/thread access
rights before giving a reference to the caller.
- Fix definition of "SizeOfHandle" macro in the handle table
implementation. Fixes handle leaks at process rundown, handle
allocation, and problems with processes that use more than 512
handles.
- Remove checks for "VALID_INHERIT_FLAGS". These flags have nothing to
do with handle table entries and shouldn't appear in them. Please fix
callers if they're attempting to send inherit flags as access masks.
- Thanks to Alex! :)

svn path=/trunk/; revision=29304
2007-09-30 08:32:34 +00:00
Gregor Brunmar
2405beae7a Removed duplicate function entry. Thanks to encoded|lap for finding it.
svn path=/trunk/; revision=29303
2007-09-30 08:27:50 +00:00
Christoph von Wittich
b2a017b28a -cmdinput.c(168) - wrong constant is used. patch by YaronAharonson <yaron dot aharonson at gmail dot com>
See issue #2693 for more details.

svn path=/trunk/; revision=29301
2007-09-29 21:58:24 +00:00
Thomas Bluemel
b595efe8ae Send notification if another monitor is selected
svn path=/trunk/; revision=29300
2007-09-29 19:12:21 +00:00
Thomas Bluemel
e809e77341 Fix displaying the window caption height (SM_CYCAPTION includes SM_CYBORDER)
svn path=/trunk/; revision=29299
2007-09-29 18:28:45 +00:00
Thomas Bluemel
69f3c70b62 Allow altering the monitor arrangement control behavior flags
svn path=/trunk/; revision=29298
2007-09-29 18:04:40 +00:00
Colin Finck
bfdb1965c9 - Remove the unneeded "stdafx.cpp" file
- Remove the files I imported from the boot/freeldr/freeldr/math directory for adding 64-bit division support and use the -lgcc linker flag instead like it's done in ntoskrnl

svn path=/trunk/; revision=29297
2007-09-29 11:39:06 +00:00
Colin Finck
999056cc44 French translation updates by Pierre Schweitzer (heis_spiter AT hotmail DOT com)
Also a small fix for the english translation of "systeminfo"
See issue #2703 for more details.

svn path=/trunk/; revision=29296
2007-09-29 09:39:37 +00:00
Klemens Friedl
435a566751 SmartPDF - lightweight pdf viewer app for rosapps
* sumatrapdf - vendor import
* everything compiles (libjpeg, poppler, fitz, sumatrapdf)
* does NOT link

(remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it)

svn path=/trunk/; revision=29295
2007-09-29 08:39:35 +00:00
Thomas Bluemel
a3e70b2317 Add ability to change/query single monitors and change/query the current selection in the monitor arrangement control
svn path=/trunk/; revision=29291
2007-09-29 06:22:44 +00:00
Thomas Bluemel
dd55de2665 Display monitor number and various bug fixes
svn path=/trunk/; revision=29290
2007-09-29 04:46:34 +00:00
Thomas Bluemel
c033319e24 Add a (not yet functional) control to allow the user to arrange the monitors
svn path=/trunk/; revision=29289
2007-09-29 02:32:14 +00:00
Colin Finck
a395a0f9df - Fix many warnings
- Fix a bug in id_dma.cpp on line 1261: This probably shouldn't be an assignment, but a check, otherwise all ATI chips will be treated as Silicon Image chips

svn path=/trunk/; revision=29288
2007-09-28 22:32:34 +00:00
Colin Finck
3991819297 uniata patch by encoded:
- Make building with QUEUE_STATISTICS possible
- Fix the best_c check. As best_c is a ULONG variable, you cannot check for -1

svn path=/trunk/; revision=29287
2007-09-28 22:00:52 +00:00
Colin Finck
8eab3a3ddb - Add uniata to the build (it's still not copied to the ISO image)
- Give it correct version information

svn path=/trunk/; revision=29286
2007-09-28 21:40:45 +00:00
Colin Finck
1fb1498412 Fix the uniata linking problems. Hope I did everything right :-D
I still disabled building the driver, so someone else can test it first.

- The i386.h, libgcc2.c, libgcc2.h, longlong.h and powerpc.h files were taken from the boot/freeldr/freeldr/math directory.
  They are used for 64-bit division support
- Created a directory "ros_glue" for all this stuff, moved the ros_glue.cpp file there
- Imported the three functions MOV_DD_SWP (the i486 version), MOV_DW2DD_SWP and MOV_DW_SWP from the misc_i386.cpp file of CrossNt into the ros_glue_asm.s file

svn path=/trunk/; revision=29285
2007-09-28 18:57:05 +00:00
Timo Kreuzer
e1b2e7a30f - header update
- add a resource

svn path=/trunk/; revision=29284
2007-09-28 17:26:29 +00:00
Daniel Reimer
dda7fa8fb8 Update r29282 to all rc files
svn path=/trunk/; revision=29283
2007-09-28 16:41:59 +00:00
Thomas Bluemel
f3163e398e Fix the dialog width
svn path=/trunk/; revision=29282
2007-09-28 16:35:34 +00:00
Timo Kreuzer
51c8156d1e update export list
svn path=/trunk/; revision=29281
2007-09-28 16:32:57 +00:00
Aleksey Bragin
604d7ae80f - Add ros_glue.cpp for implementing CrNt stubs.
- Start changing CrNt to actual ReactOS functions (no need for supporting different versions / importing CrossNT lib).

svn path=/trunk/; revision=29280
2007-09-28 12:35:41 +00:00
Hervé Poussineau
ae56de4440 Moved shared define to header file
Patch by Marc Piulachs, marc (dot) piulachs (at) codexchange.net
See issue #2700 for more details.

svn path=/trunk/; revision=29279
2007-09-28 12:17:19 +00:00
Hervé Poussineau
22006f87c9 RtlRandom is now part of NDK since r29254
svn path=/trunk/; revision=29278
2007-09-28 12:13:44 +00:00
Hervé Poussineau
e49bdbeea7 Fix compilation (but not linking!)
svn path=/trunk/; revision=29277
2007-09-28 11:39:34 +00:00
Aleksey Bragin
32ded795d7 - Reenable CrossNT stuff.
- Fix some #else BLAH / #endif BLAH warnings.
- Change SYSTEM_INFORMATION_CLASS structure by what we have in NDK (duplication for now).

svn path=/trunk/; revision=29276
2007-09-28 11:01:10 +00:00
Daniel Reimer
647e9bfc48 Forgot this translated file.
svn path=/trunk/; revision=29275
2007-09-28 10:49:35 +00:00
Hervé Poussineau
d4ddde1905 Fix some corner cases when processing <include> elements in .rbuild files
svn path=/trunk/; revision=29274
2007-09-28 10:46:10 +00:00
Daniel Reimer
3879561ab6 Bug 2699: Ukrainian translation update (temarez@yandex.ru)
German Translation Update too.

svn path=/trunk/; revision=29273
2007-09-28 10:03:38 +00:00
Hervé Poussineau
acc45ff7fe Add missing constants
svn path=/trunk/; revision=29272
2007-09-28 08:56:45 +00:00
Hervé Poussineau
b62929a83a Added history possibilities to right key
See issue #2248 for more details.

svn path=/trunk/; revision=29271
2007-09-28 08:51:04 +00:00
Hervé Poussineau
9f48a535f8 [FORMATTING] Replace spaces by tabs
No code change

svn path=/trunk/; revision=29270
2007-09-28 07:34:30 +00:00
Timo Kreuzer
88cd9f01f0 Add 5th parameter to NtUserFindWindowEx
svn path=/trunk/; revision=29269
2007-09-28 05:01:27 +00:00
Timo Kreuzer
51de002eae add a DPRINT1, stating that HvpWriteLog doesn't work atm
svn path=/trunk/; revision=29268
2007-09-28 04:56:40 +00:00
Timo Kreuzer
0b5bb79dc8 free memory before returning on failure.
Thanks to Yaron Aharonson (yaron.aharonson@gmail.com) for spotting this.
See issue #2694 for more details.

svn path=/trunk/; revision=29267
2007-09-28 04:17:13 +00:00
Thomas Bluemel
68a27d46e4 Allow changing the display refresh frequency
svn path=/trunk/; revision=29266
2007-09-28 04:07:26 +00:00
Timo Kreuzer
6a3291941f win32k compatibility update
- NtUserCreateWindowEx: add 15th parameter
- NtUserCreateWindowStation: add 7th parameter
- rename NtUserDestroyCursorIcon to NtUserDestroyCursor
- rename NtUserSetCursorIconContents to NtUserSetCursorContents
- implement about 50 NtUser stubs

svn path=/trunk/; revision=29265
2007-09-28 01:49:06 +00:00
Christoph von Wittich
e539947c94 fix some bugs
svn path=/trunk/; revision=29264
2007-09-28 00:12:59 +00:00
Timo Kreuzer
b6ebc1b19c add another small test for AddFontResource
svn path=/trunk/; revision=29263
2007-09-27 22:32:09 +00:00
Timo Kreuzer
581e34abb2 remove gdihv.cbp
svn path=/trunk/; revision=29262
2007-09-27 22:30:25 +00:00
Timo Kreuzer
5b816f2612 gdihv:
- add base type mask
- change my email
- add deleted entries
- full row selection

svn path=/trunk/; revision=29261
2007-09-27 22:29:26 +00:00
Aleksey Bragin
945a85f7cb - Add uniata.rbuild, adapt .rc to ReactOS
- Preliminary compilation fixes.
- Remove CrossNt stuff for now.

svn path=/trunk/; revision=29260
2007-09-27 20:45:13 +00:00
Aleksey Bragin
d8d12c55ea - Wrong param was being sent to MiSyncThreadProcessViews(), fix that.
svn path=/trunk/; revision=29259
2007-09-27 20:14:32 +00:00
Thomas Bluemel
b785a1ed6d Some fixes
svn path=/trunk/; revision=29257
2007-09-27 19:38:47 +00:00
Aleksey Bragin
1daf74908e - Copy uniata source code to the drivers/storage/ide directory.
svn path=/trunk/; revision=29256
2007-09-27 18:37:22 +00:00
Aleksey Bragin
8f33e033e4 - Add missing KERNEL_LARGE_STACK_COMMIT definition to DDK.
- Fix typo in MMWSL.
- Add RtlRandom to NDK.
- Add MEMORY_PRIORITY values to NDK.
- Add KeAcquireSpinLockRaiseToSynch to NDK.
- Make MmInitializeProcessAddressSpace take two more parameters: one to specify flags, such as large page support, and another one to define the process being cloned, when fork() support will be added.
- Add KeInvalidAccessAllowed to deal with page faults in the special S-List code. The assembly code currently handles simple faults, but our MmAccessFault handler needs to start verifying the fault too.
- Mark LoaderReserve pages as LoaderFree, it seems they end up this way in Windows.
- Use MmNumberOfPhysicalPages instead of MmStats.NrTotalPages.

All NDK changes are discussed with Alex.

svn path=/trunk/; revision=29254
2007-09-27 18:07:44 +00:00
Thomas Bluemel
2d7f6e6a42 - Display a list of monitors if there's more than one monitor
- Display a list of available refresh rates for the current mode

svn path=/trunk/; revision=29252
2007-09-27 17:53:14 +00:00
Timo Kreuzer
9c009fef95 probe the pointer and some cleanup simplification
svn path=/trunk/; revision=29251
2007-09-27 17:25:40 +00:00
Thomas Bluemel
466ad8f165 Set the current device mode selection to the current one if the mode was changed successfully
svn path=/trunk/; revision=29250
2007-09-27 17:24:07 +00:00
Christoph von Wittich
de304494a0 add shell extension for displaying processor information in device manager
svn path=/trunk/; revision=29249
2007-09-27 17:04:44 +00:00
Timo Kreuzer
f36fe07cbe Basic implementation of NtGdiSetDIBitsToDeviceInternal()
todo: handle XlateObj
Now apparition (open source pdf viewer) works on ros.

svn path=/trunk/; revision=29248
2007-09-27 17:04:29 +00:00
Aleksey Bragin
ccc37f538c - Coalesce all calls to MmUpdatePageDir through a single inlined function - MiSyncProcessThreadViews, and fix callers which assumed that the kernel stack is KERNEL_STACK_SIZE, when in fact, it may be KERNEL_LARGE_STACK_SIZE. We now detect and handle this, fixing a bug in KiAttachProcess.
- Remove all old-scheduler code, it's not needed anymore, nor it's going to be ever supported.

svn path=/trunk/; revision=29247
2007-09-27 16:28:56 +00:00
James Tabor
d4c51f18f7 - First try bug fix for #2698.
svn path=/trunk/; revision=29246
2007-09-27 15:54:51 +00:00
Thomas Bluemel
4562d06142 Set eol-style to native
svn path=/trunk/; revision=29245
2007-09-27 15:50:28 +00:00
Aleksey Bragin
18064031f9 - Fix multiple bugs in RtlWalkFrameChain and secure it against any possibility of a bugcheck while walking the stack.
- Fix bugs in RtlUnwind and RtlExceptionDispatch which assumed the DPC stack size was 4KB instead of 12KB.
- Fix multiple bugs in RtlpGetStackLimits and seure it against bugchecks. Properly detect DPC or invalid stacks.
- PsConvertToGuiThread should acquire a guarded region, not a critical section, to stop all APCs.
- Fix bug in bugzilla reporting which was making things crash.
- Unlock address space before raising to HIGH_LEVEL in KeBugCheck.
- Display blue screen at APC_LEVEL, to avoid the assertion in procobj.c when trying to attach to csrss. This should fix the recursive bugchecking when the GUI is up, and also take down the GUI properly. The fix is a hack.
- Fix bogus implementation of IoGetStackLimits and make it work properly.
- Make MmCreateKernelStack return the base of the stack, not the limit, and fix all callers appropriately.
- Remove svn:needs-lock properties of various files, whose contents either changes too often or whose contents is definately clean.

Bugreports and information - by Alex.

svn path=/trunk/; revision=29244
2007-09-27 13:07:43 +00:00
Aleksey Bragin
5344a0ac1b - Slightly cleanup the code.
- Enable allocation of the adapter channel in case of Start I/O.

svn path=/trunk/; revision=29243
2007-09-27 12:34:53 +00:00
Daniel Reimer
7cc4aa6e80 Bug 2697: Ukrainian translation update
German Translations by me.

svn path=/trunk/; revision=29242
2007-09-27 10:17:05 +00:00
Aleksey Bragin
73d39ce072 - Handle NextLuRequest and ResetDetected in ScsiPortNotification() API
- Add UNIMPLEMENTED into ScsiPortGetBusData() when it's called with Length = 0. Does not happen so far, when tested with BusLogic.sys in our tree.

svn path=/trunk/; revision=29241
2007-09-27 10:04:56 +00:00
Aleksey Bragin
815cfb4aa2 Samuel Erdtman <samuel@erdtman.se>
- Implement 'replace' command in cmd.
- TODO: Update all translations with the new text strings for replace command.

svn path=/trunk/; revision=29240
2007-09-27 08:35:08 +00:00
Thomas Bluemel
cc8fa40f41 Fix typo (copy&paste)
svn path=/trunk/; revision=29239
2007-09-27 06:28:30 +00:00
Thomas Bluemel
f64ff394df Display the resource page in device properties
svn path=/trunk/; revision=29238
2007-09-27 05:51:08 +00:00
Thomas Bluemel
8ecd472083 Let crt parse the command line parameters
svn path=/trunk/; revision=29237
2007-09-27 05:49:46 +00:00
Thomas Bluemel
cb4e2fda79 Add an initial (incomplete, not functional) implementation of the display monitor shell extension for desk.cpl
svn path=/trunk/; revision=29236
2007-09-27 05:45:03 +00:00
Thomas Bluemel
17602f0b45 Once again change back the GUID to the real one...
svn path=/trunk/; revision=29235
2007-09-27 05:27:23 +00:00
Thomas Bluemel
81f8891b9b - Allow changing the screen resolution in the advanced adapter settings through desk.cpl
- desk.cpl doesn't publish a monitor id

svn path=/trunk/; revision=29234
2007-09-27 05:23:58 +00:00
Thomas Bluemel
54ceb2a1f2 Display the display adapter properties with extended pages
svn path=/trunk/; revision=29233
2007-09-27 03:08:45 +00:00
Thomas Bluemel
96186bac97 Fix implementation of DevicePropertiesA/W to show extended pages
svn path=/trunk/; revision=29232
2007-09-27 03:04:52 +00:00
Thomas Bluemel
1f14f9be20 Implement DevicePropertiesA/W by calling DevicePropertiesExA/W and move function prototypes to a private header
svn path=/trunk/; revision=29231
2007-09-27 02:49:31 +00:00
Thomas Bluemel
ab90e188ca Don't show prefix in labels filled with hardware information
svn path=/trunk/; revision=29230
2007-09-27 02:05:23 +00:00
Timo Kreuzer
b088aca338 Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2696 for more details.

svn path=/trunk/; revision=29229
2007-09-27 00:25:42 +00:00
Thomas Bluemel
653a40ad14 Select currently selected mode by default
svn path=/trunk/; revision=29228
2007-09-26 23:37:09 +00:00
Thomas Bluemel
95d9c7542d Fix compilation error
svn path=/trunk/; revision=29227
2007-09-26 23:17:48 +00:00
Thomas Bluemel
eb9665eab4 Fix CLSID (accidently committed a change for testing purpose)
svn path=/trunk/; revision=29226
2007-09-26 23:15:42 +00:00
Thomas Bluemel
b212e14609 Implement the "List all modes" dialog, read-only for now
svn path=/trunk/; revision=29225
2007-09-26 23:10:41 +00:00
Thomas Bluemel
aa782313a8 Display adapter information
svn path=/trunk/; revision=29224
2007-09-26 21:19:54 +00:00
Aleksey Bragin
2c239e0bd6 - PS_UNKNOWN_VALUE determines if the process should be created with large pages: rename to PS_LARGE_PAGES
- Do Address Space initialization as per "Windows Internals II" slides, either for the Boot, System, Cloned User or New User Process cases.
- Rename MmCreateProcessAddressSpace to MmInitializeProcessAddressSpace, and MmCopyMmInfo to MmCreateProcessAddressSpace. What ReactOS did is correct as per "Windows Internals II", but the names were inverted.
- Clone the Object Table if we are the boot process, and only initialize part of the address space (since we don't need things like guard page, TEB, etc), however, do initialize and map the shared user data section.
- Make the initial system process and idle process share the same page directory instead of creating a new one.
- Use the same priority class as the parent process, if the process was in the idle or below-normal priority class.
- Only duplicate handles if the caller requested it, instead of always duplicating the process's handles!
- Generate a null image file name for system processes.
- Rename ObpCreateHandleTable to ObInitProcess and better handle race and out-of-memory conditions. Detect if auditing required, but don't do anything about it.
- Initialize the Idle/System process address space much earlier in the boot process, in MmInitSystem.

Thanks to Alex for providing various information, and answering all my questions.

svn path=/trunk/; revision=29223
2007-09-26 20:55:26 +00:00
Daniel Reimer
6433b53657 Another german rc file update
svn path=/trunk/; revision=29222
2007-09-26 20:49:06 +00:00
Thomas Bluemel
3570f78e87 Display the display device adapter name and show device properties
svn path=/trunk/; revision=29221
2007-09-26 20:41:57 +00:00
Ged Murphy
9fa9463d77 - add missing net card interface info to ipifcons.h
- follow on patch from Gregor Brunmar <gregor.brunmar - home - se>

svn path=/trunk/; revision=29220
2007-09-26 20:36:28 +00:00
Ged Murphy
98727fc4a0 - generate the netcard status information and populate the dialog with it
- patch by Gregor Brunmar <gregor.brunmar - home - se>

svn path=/trunk/; revision=29219
2007-09-26 20:34:08 +00:00
Thomas Bluemel
992a4c2d01 Add deskadp.dll to the bootcd and register the shell extension
svn path=/trunk/; revision=29218
2007-09-26 20:12:26 +00:00
Thomas Bluemel
45dc31ac0b Add initial implementation of the display adapter desk.cpl shell extension
svn path=/trunk/; revision=29217
2007-09-26 20:00:07 +00:00
Thomas Bluemel
8e049e50a4 Move routines that can be shared between desk.cpl shell extensions to common header as inlined functions
svn path=/trunk/; revision=29216
2007-09-26 19:42:39 +00:00
Thomas Bluemel
04931ef194 Move desk.cpl shell extension interface definition to shared header file
svn path=/trunk/; revision=29215
2007-09-26 19:23:50 +00:00
Aleksey Bragin
432625614e - Implement InterlockedExchangeAdd/Decrement/Increment16.
- Fix MM_EXTEND_INFO definition.
- Fix MMWSLE definition.
- Fix EPROCESS definition.
- Add quota functions to NDK.
- Add one more parameter to PspMapSystemDll to support mapping large pages.
- Don't make the quota functions do anything for the system process.
- Add page file quota functions.
- Other misc small fixes.

svn path=/trunk/; revision=29214
2007-09-26 16:41:35 +00:00
Daniel Reimer
cb82475b6d Updated German Translation.
svn path=/trunk/; revision=29213
2007-09-26 09:53:48 +00:00
Colin Finck
1efd6d7df7 Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2692 for more details.

svn path=/trunk/; revision=29212
2007-09-26 08:48:29 +00:00
James Tabor
ff1881b631 Fix calling conventions.
svn path=/trunk/; revision=29211
2007-09-26 06:26:17 +00:00
Thomas Bluemel
3b6747e11c Display advanced display settings and allow shell extensions to extend it. Not yet fully functional/working
svn path=/trunk/; revision=29210
2007-09-26 06:20:16 +00:00
Thomas Bluemel
ad47c9b3a9 Add stub for SHCreatePropSheetExtArrayEx, temporarily
svn path=/trunk/; revision=29209
2007-09-26 06:14:05 +00:00
Thomas Bluemel
3db8801f43 Fix copy&paste typo in comment
svn path=/trunk/; revision=29208
2007-09-26 04:33:50 +00:00
Thomas Bluemel
6648bd3f85 Allow loading shell extensions
svn path=/trunk/; revision=29207
2007-09-26 04:30:57 +00:00
James Tabor
9f930ed173 Fix calling conventions and do not unload setupapi.dll after registering the notification. Thank you Thomas.
svn path=/trunk/; revision=29206
2007-09-26 01:10:51 +00:00
James Tabor
d42fa2d392 Testing return as default user32 error ERROR_SERVICE_SPECIFIC_ERROR.
svn path=/trunk/; revision=29205
2007-09-25 23:43:28 +00:00
James Tabor
5baf5558ff Implement RegisterDeviceNotificationAW and UnregisterDeviceNotification, based on Gdi32 OpenGL.
svn path=/trunk/; revision=29204
2007-09-25 22:28:35 +00:00
Magnus Olsen
a9892925a1 forget commit Implement of GdiGetLocalBrush, GdiGetLocalDC, GdiGetLocalFont
fix a smaller bug in GdiSetBatchLimit
fix GdiSetLastError to be simluare to windows xp 


svn path=/trunk/; revision=29203
2007-09-25 20:44:53 +00:00
Magnus Olsen
588e62a967 Fix a stupied bug in DdAttachSurface when pSurfaceFrom->hDDSurface is NULL or pSurfaceTo->hDDSurface is null we need create them.
svn path=/trunk/; revision=29202
2007-09-25 16:49:13 +00:00
James Tabor
27a27ff89e IsMetaFile is an easy check used when porting wine static and listbox.
svn path=/trunk/; revision=29201
2007-09-25 14:42:51 +00:00
Ged Murphy
c338775265 - Add usermode checks to GetDIBits
- passes 21 out of 27 tests
- Add GdiSetLastError to the lib instead of forwarding it straight to kernel32

svn path=/trunk/; revision=29200
2007-09-25 13:27:09 +00:00
Ged Murphy
b3c3c9ba5b add more checks for GetDIBits
svn path=/trunk/; revision=29199
2007-09-25 13:20:46 +00:00
Colin Finck
77e82dcd8b Traditional chinese translation for "cacls" by Chaoming Tseng
See issue #2687 for more details.

svn path=/trunk/; revision=29198
2007-09-25 10:32:22 +00:00
Colin Finck
e5402189b9 - Bug 2685: Ukrainian translation for "format" by Rostislav Zabolotny (rstzab AT yandex DOT ru)
- Bug 2686: Ukrainian translation for "regsvr32" by Rostislav Zabolotny (rstzab AT yandex DOT ru)

svn path=/trunk/; revision=29197
2007-09-25 10:08:39 +00:00
Magnus Olsen
92b7462fcb clean up : move EngWideCharToMultiByte from stubs.c to eng.c and mark it as implement
svn path=/trunk/; revision=29195
2007-09-24 19:17:15 +00:00
Magnus Olsen
9b2a7bf67c implmented EngQueryEMFInfo it always return FALSE
it is historic in Windows XP, But not in Windows 2000

svn path=/trunk/; revision=29194
2007-09-24 18:00:49 +00:00
Aleksey Bragin
f38baaaaa2 Dmitry Chapyshev <lentind@yandex.ru>
- Start implementing systeminfo system utility (it already works quite nice, but not complete yet).

svn path=/trunk/; revision=29193
2007-09-24 16:32:12 +00:00
Aleksey Bragin
2e3b975002 - Make PsChargeProcessPoolQuota returning STATUS_SUCCESS
svn path=/trunk/; revision=29192
2007-09-24 16:00:21 +00:00
Ged Murphy
9be6565d51 Add basic tests for NtGdiGetDIBitsInternal
svn path=/trunk/; revision=29191
2007-09-24 15:09:15 +00:00
Ged Murphy
f26bd07f86 Add basic tests for GetDIBits
svn path=/trunk/; revision=29190
2007-09-24 15:02:20 +00:00
Aleksey Bragin
2cbc032859 - Add Ex*Spinlock macros and FLUSH_MULTIPLE_MAXIMUM definitions missing from DDK
- Add KeAcquireQueuedSpinLock / KeAcquireReleaseQueuedSpinLock, RtlCompareMemoryUlong definitions missing from IFS.
- Add actual section object definition to NDK
- More NDK fixes
- Fix incorrect definition of MMPTE_LIST
- Fix incorrect prototype of NtFlushVirtualMemory
- Fix incorrect prototypes of KeAcquire / ReleaseQueuedSpinLock
- Add a second parameter to MmCreateKernelStack to select the NUMA node on which the stack should be allocated
- Avoid usage of PROS_SECTION_OBJECT in Ps where possible
- Unimplement PsChargeProcessQuota. It was not working right
- Use PFN_NUMBER defined in DDK instead of PFN_TYPE internal ROS Type.

svn path=/trunk/; revision=29188
2007-09-24 14:01:54 +00:00
Hervé Poussineau
a7396c359e When depending of a module, also depends of its generated headers
svn path=/trunk/; revision=29186
2007-09-24 13:21:31 +00:00
Hervé Poussineau
7e0ebf1fc6 Add headers dependencies for modules which declare a .idl in their rbuild file
svn path=/trunk/; revision=29185
2007-09-24 12:53:33 +00:00
Hervé Poussineau
9fea5a34a6 Keep standard includes when building C++ modules
svn path=/trunk/; revision=29184
2007-09-24 12:27:00 +00:00
Hervé Poussineau
18bb1da6d2 Fix typo
svn path=/trunk/; revision=29183
2007-09-24 12:22:22 +00:00
Aleksey Bragin
50951397e4 - Small update to the plan (remove what's done already for sure)
svn path=/trunk/; revision=29182
2007-09-24 12:11:14 +00:00
Hervé Poussineau
d7b829fbc7 Depend again of autogenerated psdk headers (was broken in r29176)
svn path=/trunk/; revision=29181
2007-09-24 12:03:10 +00:00
Hervé Poussineau
2ad309f010 Do not use host headers anymore when building target executables/libraries
svn path=/trunk/; revision=29180
2007-09-24 11:43:38 +00:00
Hervé Poussineau
9c968b2b68 Remove this headers set, as they already exist in include/crt
svn path=/trunk/; revision=29179
2007-09-24 11:42:04 +00:00
Hervé Poussineau
682904a871 Copy some headers from RosBE to our include directory. These files are now considered as target headers, whereas those in RosBE are host headers.
svn path=/trunk/; revision=29178
2007-09-24 11:40:54 +00:00
Hervé Poussineau
ea8a8e47da Use user flags when building host tools
svn path=/trunk/; revision=29177
2007-09-24 11:28:52 +00:00
Hervé Poussineau
5dc2b7e865 Do not put .h files in object files, it causes problems at link time
svn path=/trunk/; revision=29176
2007-09-24 11:00:17 +00:00
Hervé Poussineau
c27dad3928 Display a message when a module has been disabled
Support variables in aliased module names

svn path=/trunk/; revision=29175
2007-09-24 09:15:49 +00:00
Hervé Poussineau
d0f1fadb7b Never call TdiCloseDevice when warming up a socket
svn path=/trunk/; revision=29174
2007-09-24 08:39:23 +00:00
James Tabor
e6ed27d2e5 Turn off DcAttr updates for now.
svn path=/trunk/; revision=29173
2007-09-24 04:05:24 +00:00
James Tabor
f924fa55c9 Make sure it is non zero.
svn path=/trunk/; revision=29172
2007-09-24 02:58:22 +00:00
James Tabor
82ad159967 Implement IsGUIThread.
svn path=/trunk/; revision=29171
2007-09-24 02:42:17 +00:00
Eric Kohl
ead5a4f94e Fix a cut & paste bug.
svn path=/trunk/; revision=29170
2007-09-23 22:59:00 +00:00
Magnus Olsen
cacffe3082 fix a spelling mistake
svn path=/trunk/; revision=29169
2007-09-23 19:19:40 +00:00
Magnus Olsen
21687e2157 Start making def Windows XP gdi32 export layout.
svn path=/trunk/; revision=29168
2007-09-23 18:46:47 +00:00
Magnus Olsen
7315ffc1e6 Start making def Windows XP gdi32 export layout.
svn path=/trunk/; revision=29167
2007-09-23 18:18:20 +00:00
Daniel Reimer
0ab1667cb1 Download! is somehow too stupid to use the other link... Now RosBE 0.3.8 will be uploaded to SF.net anyway. And this link seems more XML conformant.
svn path=/trunk/; revision=29166
2007-09-23 17:15:50 +00:00
Colin Finck
39889d2c75 Add the build date and revision number to sysdm.cpl (patch by encoded)
See issue #2683 for more details.

svn path=/trunk/; revision=29165
2007-09-23 17:02:35 +00:00
Daniel Reimer
c5875c6fcd Update to RosBE 0.3.8
svn path=/trunk/; revision=29164
2007-09-23 15:23:54 +00:00
Magnus Olsen
d216c026b2 Fix : UnrealizeObject behoivr as windows 2000/XP see msdn http://msdn2.microsoft.com/en-us/library/ms532602.aspx
Redirect : XFORMOBJ_bApplyXform@20 to NtGdiXFORMOBJ_bApplyXform@20
Redirect : XFORMOBJ_iGetXform@8 to NtGdiXFORMOBJ_iGetXform@8
Redirect : XLATEOBJ_cGetPalette@16 to NtGdiXLATEOBJ_cGetPalette@16
Redirect : XLATEOBJ_hGetColorTransform@4 to NtGdiXLATEOBJ_hGetColorTransform@4

svn path=/trunk/; revision=29163
2007-09-23 14:35:40 +00:00
Magnus Olsen
b34cf0f3ac implement StartFormPage it call on StartPage(hdc); and StartPage is unimplment
Fix : do not redirect TranslateCharsetInfo and StretchDIBits some stuff need be done in user mode. 

svn path=/trunk/; revision=29162
2007-09-23 13:46:20 +00:00
Daniel Reimer
414b736953 Bug 2682: Downloader ressources update (heis_spiter@hotmail.com) (Yeah, I tested it :-P)
svn path=/trunk/; revision=29161
2007-09-23 13:38:32 +00:00
Hervé Poussineau
0b3a854203 Open the process with enough privileges before adjusting them
svn path=/trunk/; revision=29160
2007-09-23 13:14:03 +00:00
Hervé Poussineau
2ff2329ed3 Remove useless code
svn path=/trunk/; revision=29159
2007-09-23 13:10:51 +00:00
Daniel Reimer
17534ab7c6 Fix another Build breaking Bug, I missed...
svn path=/trunk/; revision=29156
2007-09-23 11:42:26 +00:00
Magnus Olsen
76a688a2e2 Fix : RemoveFontResourceA : let it call to RemoveFontResourceExA
Fix : RemoveFontResourceW : let it call to RemoveFontResourceExW
Fix : a comment in SetWorldTransform
Fix : Redirect STROBJ_bEnum@12 to win32k
Fix : Redirect STROBJ_bEnumPositionsOnly@12 to win32k
Fix : Redirect STROBJ_bGetAdvanceWidths@16 to win32k
Fix : Redirect STROBJ_dwGetCodePage@4 to win32k
Fix : Redirect STROBJ_vEnumStart@4 to win32k
Fix : Redirect SetFontEnumeration to win32k
Fix : Redirect SetMagicColors to win32k
Fix : Redirect SetSystemPaletteUse to win32k
Fix : Redirect SetVirtualResolution@20 to win32k
Fix : PtInRegion : Make smaller code in gdi32 for sharememory/metadc
Fix : RectInRegion : Make smaller code in gdi32 for sharememory/metadc 
Fix : SetBrushOrgEx : Make smaller code in gdi32 for sharememory/metadc
Fix : SetDIBits : Make smaller code in gdi32 for sharememory/metadc
Fix : SetGraphicsMode : Make smaller code in gdi32 for sharememory/metadc
Implement RemoveFontResourceExA : it is partly implement it miss flags, and pdv and we also need fix win32k
Implement RemoveFontResourceExW : it is partly implement it miss flags, and pdv and we also need fix win32k

and more stuff

svn path=/trunk/; revision=29154
2007-09-23 11:33:47 +00:00
Colin Finck
a2ae628e84 Fix the intl.cpl build
svn path=/trunk/; revision=29153
2007-09-23 11:30:09 +00:00
Daniel Reimer
31b688ad73 Bug 2677: Ukrainian translation update (rstzab@yandex.ru)
Bug 2678: Dutch translations for all screensavers by Joost de Meij (dreamsmsn@gmail.com)
Bug 2680: Updated (french) translations (heis_spiter@hotmail.com)

svn path=/trunk/; revision=29152
2007-09-23 11:05:44 +00:00
Hervé Poussineau
8ad6033250 Continue rbuild cleanup (AutomaticDependency and SourceFile classes)
svn path=/trunk/; revision=29150
2007-09-23 08:04:24 +00:00
Eric Kohl
c0c201c35d Add missing LPFILTERKEYS and LPTOGGLEKEYS types.
svn path=/trunk/; revision=29149
2007-09-22 20:20:28 +00:00
Colin Finck
8e4f19f80b Slovak translations for the cylfrac, logon, scrnsave and starfield screensavers by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29148
2007-09-22 19:14:54 +00:00
Thomas Bluemel
f98ba48cef Fix loading pages provided by shell extensions
svn path=/trunk/; revision=29147
2007-09-22 18:59:23 +00:00
Thomas Bluemel
6897e5ee5a - Don't change the current power scheme when displaying the dialog
- Load additional pages provided by shell extensions

svn path=/trunk/; revision=29146
2007-09-22 18:48:02 +00:00
Colin Finck
2018d3408d Slovak translation for sysdm by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29145
2007-09-22 18:23:06 +00:00
Colin Finck
f143cc5f45 Call ShellExecute with NULL instead of "open", so the default action is used, when a file name does not support "open". (see http://msdn2.microsoft.com/en-us/library/ms647732.aspx)
According to someone in the bug report, this is the behaviour used under Windows XP.
See issue #1461 for more details.

svn path=/trunk/; revision=29143
2007-09-22 16:52:53 +00:00
Colin Finck
7c48ada188 - Change Firefox 1.5 link to the file at svn.reactos.org (FF 1.5 isn't available anymore from Mozilla over HTTP, and our URLDownloadToFile seems to have problems with FTP links)
- Update Firefox 2.0 to 2.0.0.7
- Use a more reliable link for Thunderbird 2.0.0.6

svn path=/trunk/; revision=29142
2007-09-22 16:28:21 +00:00
Daniel Reimer
1c1f0f249b Add German RC Files to the Screensavers.
svn path=/trunk/; revision=29139
2007-09-22 13:00:46 +00:00
Eric Kohl
0916909cbf Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29138
2007-09-22 11:38:32 +00:00
Eric Kohl
847464262c Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29137
2007-09-22 11:26:03 +00:00
Eric Kohl
761e858982 Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29136
2007-09-22 11:20:25 +00:00
Eric Kohl
1c85a28f50 Don't use hardcoded strings in the configuration message box. Use string resources instead.
svn path=/trunk/; revision=29135
2007-09-22 09:09:57 +00:00
Aleksey Bragin
1e19b02082 - Print out hardware information to the debug log in case of a crash (yes, even people like me do mistakes...)
svn path=/trunk/; revision=29133
2007-09-21 20:15:46 +00:00
Aleksey Bragin
e82855f464 - Print out hardware information to the debug log in case of a crash.
svn path=/trunk/; revision=29132
2007-09-21 20:14:34 +00:00
Colin Finck
074c6e9d66 Spanish translations by Javier Remacha (remialdo AT gmail DOT com)
See issue #2669 for more details.

svn path=/trunk/; revision=29131
2007-09-21 18:01:19 +00:00
Hervé Poussineau
1c9e99b2cc Send the right inf file handle to SetupCloseInfFile().
svn path=/trunk/; revision=29130
2007-09-21 13:00:16 +00:00
Hervé Poussineau
b733bd322e Fix typo
svn path=/trunk/; revision=29129
2007-09-21 12:45:39 +00:00
Hervé Poussineau
2136c852eb Add Lithuanian keyboard
Patch by Vytis Girdþijauskas, cman at cman dot us
See issue #2613 for more details.

svn path=/trunk/; revision=29128
2007-09-21 07:22:32 +00:00
James Tabor
b5b2b493c4 - Fixed CMP_UnregisterNotification. Add IN, sorry.
svn path=/trunk/; revision=29127
2007-09-21 00:07:26 +00:00
James Tabor
e5f58a8b91 - Add CMP_RegisterNotification and CMP_UnregisterNotification. Both called from User32.
svn path=/trunk/; revision=29126
2007-09-21 00:05:17 +00:00
Colin Finck
eb2bd45e2a Change the file names of the Catalan resource files from "ca-CA" to "ca-ES". Thanks to Marc Piulachs for noticing this.
Also fixed the sublang in the catalan "msconfig" resource file (thx to EmuandCo :-P)

See issue #2662 for more details.

svn path=/trunk/; revision=29125
2007-09-20 20:57:28 +00:00
Colin Finck
c75d21f350 Updated Ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2661 for more details.

svn path=/trunk/; revision=29124
2007-09-20 18:40:55 +00:00
Timo Kreuzer
07f78b29da - make gdi object's type field more windows compatible, using only the basetype in the upper 16 bits
- On windows deleted objects have a KernelData value != NULL, so don't check for that when validating a handle, instead check if the type field in the upper 16 bits is 0

svn path=/trunk/; revision=29123
2007-09-20 16:13:55 +00:00
Hervé Poussineau
3a469030ac Do not forget to release the rundown protection.
See issue #2348 for more details.

svn path=/trunk/; revision=29122
2007-09-20 14:54:43 +00:00
James Tabor
08bf20fb83 User32:
- Implement ValidateHandle.
- Copied handle_to_entry and header information from win32k. Yes I know, duplication etc. Just for now.
- Add tested validation object types and as per revision 29105. Those object types now match.
- In dllmain.c, the gHandleTable pointer is set from Win32k GetW32ProcessInfo.
- Tested it, failed. The pointer does match with win32k gHandleTable.

svn path=/trunk/; revision=29121
2007-09-20 14:26:43 +00:00
Hervé Poussineau
8a98cb7fdd [FORMATTING] Tabs vs space, { } placement, ...
No code change

svn path=/trunk/; revision=29120
2007-09-20 13:53:38 +00:00
Ged Murphy
b69d44ab8c forgot to remove the lib I linked for testing
svn path=/trunk/; revision=29119
2007-09-20 13:32:58 +00:00
Ged Murphy
ce62afe2b0 add the correct key name to match the service name
svn path=/trunk/; revision=29118
2007-09-20 13:27:44 +00:00
Ged Murphy
b862010a64 - use correct name when registering.
- use unicode apis exclusively when required.
- fix rbuild file

svn path=/trunk/; revision=29117
2007-09-20 13:26:19 +00:00
Hervé Poussineau
5baee1e5ab Read Characteristics and BusType keys from .inf file, and write them in registry.
This will probably help for installation of 3rd party drivers

svn path=/trunk/; revision=29116
2007-09-20 13:26:18 +00:00
Aleksey Bragin
57a60d9b47 Timo Kreuzer:
- The debug object created by NtCreateDebugObject() is restricted to DEBUG_OBJECT_WAIT_STATE_CHANGE, change to DEBUG_OBJECT_ALL_ACCESS.
See issue #2310 for more details.

svn path=/trunk/; revision=29115
2007-09-20 12:46:58 +00:00
Aleksey Bragin
81ef13c4a1 - Implement a fast->slow leaf conversion (this assert was hit by OO.o setup)
svn path=/trunk/; revision=29114
2007-09-20 10:36:36 +00:00
Hervé Poussineau
87638956af Add missing svn:eol-style=native properties
svn path=/trunk/; revision=29113
2007-09-20 09:47:58 +00:00
Eric Kohl
dffd76151a Move the settings read code into a single function which is called before creating the property sheet.
svn path=/trunk/; revision=29112
2007-09-19 21:31:49 +00:00
Andrew Greenwood
099d7567cb Add prototype for UnregisterDeviceNotifications() to audiosrv.h (bug 2664)
svn path=/trunk/; revision=29111
2007-09-19 20:11:28 +00:00
Hervé Poussineau
b14a0090bc Fix compilation
Remove broken property

svn path=/trunk/; revision=29110
2007-09-19 19:29:40 +00:00
Andrew Greenwood
a3468f83ec Fix EOL style (I think!)
svn path=/trunk/; revision=29109
2007-09-19 19:25:43 +00:00
Andrew Greenwood
4ee8a37af5 Set service to manual start, and implemented a quick debug-logging
solution. ReactOS does not currently have RegisterDeviceNotification
implemented so if this function fails the audio service will still run
but won't receive plug and play event notifications (this is a temporary 
hack.)
Service now starts but won't find any devices (we don't have any yet!)


svn path=/trunk/; revision=29108
2007-09-19 16:54:25 +00:00
Hervé Poussineau
31163f4d3b Add missing svn:eol-style=native property
svn path=/trunk/; revision=29107
2007-09-19 15:18:05 +00:00
Andrew Greenwood
83932a8e2c Correct enumeration of Plug and Play audio devices on Windows using
KSCATEGORY_AUDIO. Also detects existing audio devices in addition to 
dealing with device arrivals. Slight code tidy-up. Also added additional 
GUIDs to ks.h and ksmedia.h


svn path=/trunk/; revision=29106
2007-09-19 14:42:54 +00:00
James Tabor
de7c2c63e3 Win32k:
- Add thread information pointer to the user handle entry. This will be useful for checking handles, if the handle is not part of the current thread.
- Add a test to make sure the current process passes the gHandleTable pointer to user32.
- These changes are important for allowing User32 to read-only the handle object information. Not 100% compatible, we need NtUserProcessConnect and CsrClientConnectToServer. Need a full understanding how they both work with User32.
Ref:
- https://www.microsoft.com/msj/0397/hood/hood0397.aspx
- http://www.winterdom.com/dev/ui/wnd.html

svn path=/trunk/; revision=29105
2007-09-19 13:24:58 +00:00
Hervé Poussineau
a7a5e5a486 Fix weird bug in Project::ResolveProperties(), which was modifying the string given in argument
svn path=/trunk/; revision=29104
2007-09-19 12:06:39 +00:00
Hervé Poussineau
a756421600 Remove rbuild stdlib="host" attribute. That was a workaround to build system deficiency.
Now, base the workaround on presence of C++ files in module

svn path=/trunk/; revision=29103
2007-09-19 11:11:57 +00:00
Hervé Poussineau
afcd5893d5 Fix an old rbuild bug: .gch file now depends of intermediate module directory, and can create it if needed
svn path=/trunk/; revision=29102
2007-09-19 09:34:05 +00:00
Andrew Greenwood
18b8710a37 ReactOS Audio Service. Has not been tested within ReactOS but on Windows
(XP) it now detects when new devices have been attached. This 
information is shared via a mapped file. I have also written a utility 
to read the contents of the mapped file (this is not included - further 
work is required).

Added a few missing #defines to dbt.h and also reformatted some of the 
WinMM code so it was clearer to read.


svn path=/trunk/; revision=29100
2007-09-19 04:13:24 +00:00
Daniel Reimer
d600738b86 Set svn:eol-style = native. (Final, Now you can kick me :-P)
svn path=/trunk/; revision=29099
2007-09-18 21:51:29 +00:00
Daniel Reimer
472da8c8b0 Set svn:eol-style = native
svn path=/trunk/; revision=29098
2007-09-18 21:39:18 +00:00
Daniel Reimer
3ab931ca14 Set svn:eol-style = native
svn path=/trunk/; revision=29097
2007-09-18 21:32:39 +00:00
Daniel Reimer
5daf391b62 Catalan Translations by Marc Tormo i Bochaca (mtbochaca@ya.com) (Bug 2647, 2651, 2652, 2653, 2654, 2655, 2656)
Fixed SUBLANG to DEFAULT and fixed missing "".

svn path=/trunk/; revision=29096
2007-09-18 21:08:09 +00:00
Christoph von Wittich
38cb0b7e17 don't use WNOHANG
svn path=/trunk/; revision=29095
2007-09-18 18:59:53 +00:00
Christoph von Wittich
ee5642eccc fix qemu vnc param
svn path=/trunk/; revision=29094
2007-09-18 17:53:53 +00:00
Ged Murphy
a98103c630 - when converting from a DDB to a DIB, the palette should be the same in the resulting DIB as the original DDB. This fixes the colour issue we had in the taskbar icons. (there's still a bit position problem as highlighted in the 1-4 bitmaps)
- Reformat the NtGdiGetDIBitsInternal code to a more readable state.

*note, this function needs a considerable work.

svn path=/trunk/; revision=29093
2007-09-18 15:24:34 +00:00
James Tabor
90c3978be9 - Win32k: Removed NtUserCreateMenu replacing it with NtUserCallNoParam.
svn path=/trunk/; revision=29092
2007-09-18 13:06:27 +00:00
Christoph von Wittich
22571f9e0f fix a bug in the linux version of OsSupport::createProcess
svn path=/trunk/; revision=29091
2007-09-18 08:15:47 +00:00
James Tabor
4ab750a26f - Implement NtUserValidateHandleSecure and most support functions moved from static and added to their respected headers.
svn path=/trunk/; revision=29090
2007-09-18 05:07:49 +00:00
Andrew Greenwood
8d7c594692 Bare-bones foundations of the ReactOS Audio Service. At present it's
nothing more than a "mutex service". Some info on the planned 
implementation is in the included audiosrv.txt file.


svn path=/trunk/; revision=29089
2007-09-18 02:41:46 +00:00
Eric Kohl
c04f5503a6 Merge all settings in a single struct. This is required to implement the administrative options.
svn path=/trunk/; revision=29088
2007-09-17 22:29:35 +00:00
James Tabor
fec8f2d929 Init stock object buffer only once.
svn path=/trunk/; revision=29087
2007-09-17 22:08:14 +00:00
James Tabor
75b11c60f3 Fixed build.
svn path=/trunk/; revision=29086
2007-09-17 21:46:30 +00:00
James Tabor
5bfa6170c1 Fixed Client Info structure. Moved it to the right file so user apps can access it.
svn path=/trunk/; revision=29085
2007-09-17 21:02:19 +00:00
Aleksey Bragin
c466246f9e - Change RtlIsDosDeviceName_U() implementation to a better Wine implementation
- Winesync RtlIsNameLegalDOS8Dot3()
- "ntdll_winetest.exe path" reduced to 3 failures (which happen on XP too), so considering "path" done 100% now.

svn path=/trunk/; revision=29084
2007-09-17 19:51:32 +00:00
Hervé Poussineau
4ee3207955 Add some missing definitions to PSDK
Patch by Samuel Serapion, samdwise51 at gmail dot com

svn path=/trunk/; revision=29083
2007-09-17 13:52:44 +00:00
Hervé Poussineau
762f833b44 Add missing svn:eol-style native properties
svn path=/trunk/; revision=29082
2007-09-17 13:43:34 +00:00
Hervé Poussineau
661efc7398 Get rid of "Video Save SVGA" group. Clean up group order entries
svn path=/trunk/; revision=29079
2007-09-17 09:42:01 +00:00
Hervé Poussineau
ec81f99348 No need to create a service group only for VBE driver. By using tags, VBE driver can be installed as the first one in the "Video Save" group
svn path=/trunk/; revision=29078
2007-09-17 09:35:31 +00:00
Aleksey Bragin
ceb71f7fcf Cameron Gutman <aicommander@gmail.com>
- Use /SOS to disable bootlogo in the LiveCD too.

svn path=/trunk/; revision=29075
2007-09-17 08:48:14 +00:00
Art Yerkes
0f163e7d12 Add missing include path.
svn path=/trunk/; revision=29074
2007-09-17 06:12:40 +00:00
Art Yerkes
fe9867a61c Microsoft and the open group both specify towupper and towlower as taking int
and returning int of some flavor.  Make this true of ours.

http://msdn2.microsoft.com/en-us/library/45119yx3(VS.80).aspx
http://opengroup.org/onlinepubs/007908799/xsh/towupper.html

svn path=/trunk/; revision=29073
2007-09-17 05:57:54 +00:00
Art Yerkes
028b640f0b Fixen for PPC.
Exclude relocation.  We'll be situated properly by the ELF layer anyway, and
it's x86 specific.
Tweak definitions in _mingw.h

svn path=/trunk/; revision=29072
2007-09-17 05:33:08 +00:00
Art Yerkes
e366497b95 Fix build for new rosbe-ppc.
svn path=/trunk/; revision=29071
2007-09-17 05:32:04 +00:00
Aleksey Bragin
ab5811a512 - Move W32CLTINFO_TEB structure out of NDK, since it's module-internal structure.
- Add a define for easier accessing this field.

svn path=/trunk/; revision=29069
2007-09-16 17:37:41 +00:00
James Tabor
0a844e24f0 Fix def and size for NtUserValidateHandleSecure.
svn path=/trunk/; revision=29068
2007-09-16 15:32:58 +00:00
Eric Kohl
a3862a653e Indentation clean-up. No code changes.
svn path=/trunk/; revision=29067
2007-09-16 13:38:26 +00:00
Eric Kohl
46bd898f3d Enable the filter keys settings when the test area EDITTEXT control gets the focus and disable the settings when the focus leaves the control.
svn path=/trunk/; revision=29066
2007-09-16 13:25:34 +00:00
Aleksey Bragin
f87c698cd3 Gregor Brunmar <gregor.brunmar@home.se>:
- Don't include files that aren't in the source directory to the project generation.
- Fix tab indentation in generated files.

svn path=/trunk/; revision=29065
2007-09-16 12:54:52 +00:00
Hervé Poussineau
d18fdef61f Add back support for files not in the root of the module directory
Patch by Gregor Brunmar, gregor (dot) brunmar (at) home (dot) se

svn path=/trunk/; revision=29064
2007-09-16 09:12:15 +00:00
The Wine Synchronizer
aa5e4e73cb Autosyncing with Wine HEAD
svn path=/trunk/; revision=29063
2007-09-15 17:06:51 +00:00
Colin Finck
9b6a264e7d Rename "Properties::" to "Properties" in the context menu (patch by Mario Kacmar, kario AT szm DOT sk)
svn path=/trunk/; revision=29062
2007-09-15 16:10:10 +00:00
Colin Finck
32a25111cb Add a slovak translation for "desk.cpl" and fix a small mistake in the translation for "timedate.cpl"
Patch by Mario Kacmar (kario AT szm DOT sk)

svn path=/trunk/; revision=29061
2007-09-15 15:45:24 +00:00
Colin Finck
47dea31217 [FORMATTING]
- Use TABs instead of spaces in some more .rbuild files
- No code changes

svn path=/trunk/; revision=29060
2007-09-15 15:20:31 +00:00
Eric Kohl
f51ada884d Use the unicode="yes" attribute in the module element instead of defining UNICODE and _UNICODE.
svn path=/trunk/; revision=29059
2007-09-15 15:12:26 +00:00
Johannes Anderwald
83c8f50776 - move VolumeDlgProc function to own file volume.c
- read default waveout device  (thanks to Silverbade)
- improve volume dialog proc
- update all languages resources which current code changes

svn path=/trunk/; revision=29058
2007-09-15 14:54:01 +00:00
Eric Kohl
3df1f13cd1 Use the currently selected locale id instead of LOCALE_USER_DEFAULT to display and modify currency settings.
svn path=/trunk/; revision=29057
2007-09-15 14:48:40 +00:00
Colin Finck
9960c6fc98 More XML compliance fixes for the .rbuild files by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
The added '<include base="ntoskrnl" root="intermediate">include</include>' line in "ntoskrnl.rbuild" was left out, as this include path is already added through the "ntoskrnl.h" precompiled header. (thanks to Hervé for figuring this out)
I applied patches 1904 and 1905 of the Bugzilla bug entry.

See issue #2649 for more details.

svn path=/trunk/; revision=29056
2007-09-15 14:37:02 +00:00
The Wine Synchronizer
c287f519bf Autosyncing with Wine HEAD
svn path=/trunk/; revision=29054
2007-09-15 10:52:08 +00:00
Hervé Poussineau
fd7b9ad55e Fix typo
svn path=/trunk/; revision=29053
2007-09-15 09:03:01 +00:00
Hervé Poussineau
f5101f1e6a Continue rbuild cleanup (Directory class)
svn path=/trunk/; revision=29052
2007-09-15 08:47:56 +00:00
Timo Kreuzer
57dd42dde7 revert 29027, because it breaks context menus.
svn path=/trunk/; revision=29051
2007-09-14 22:46:38 +00:00
Johannes Anderwald
b3f967520d - reenable module definition
svn path=/trunk/; revision=29050
2007-09-14 21:44:11 +00:00
Johannes Anderwald
456e4e5a19 - remove a non working hack
svn path=/trunk/; revision=29049
2007-09-14 21:06:38 +00:00
Johannes Anderwald
4e6f9d01d7 - include intermediate path for msvc projects since buildno.h and friends are now generated there
svn path=/trunk/; revision=29048
2007-09-14 21:05:46 +00:00
Colin Finck
e9c97ddea4 This is hopefully the last fix needed to build LiveCD on Unix hosts again
svn path=/trunk/; revision=29047
2007-09-14 19:34:24 +00:00
Colin Finck
d23dadadee Small change in the slovak translation of Solitaire (patch by Mario Kacmar, kario AT szm DOT sk)
svn path=/trunk/; revision=29046
2007-09-14 19:26:20 +00:00
Colin Finck
561a35b16d And here comes the next fix, this time for fixing the LiveCD build
svn path=/trunk/; revision=29045
2007-09-14 19:23:36 +00:00
Colin Finck
2b47cce3f0 Forgot to change these ones as well.
But somehow it compiled fine under Windows, even without these changes.

svn path=/trunk/; revision=29044
2007-09-14 19:13:03 +00:00
Colin Finck
d4a18c707c Forgot to change these ones
svn path=/trunk/; revision=29043
2007-09-14 19:02:21 +00:00
Colin Finck
0429c9f223 - Create a new "include/host" directory for host-only includes.
- Copy the "pshpack*.h", "poppack.h" and "typedefs_host.h" (renamed to "typedefs.h") files to this directory
- Modify the Makefiles of cmlib_host, inflib_host, mkhive, unicode, wmc and wrc to remove the "include/psdk" dependency
- Remove the inclusion of "ntstatus.h" in cmlib_host and mkhive

svn path=/trunk/; revision=29042
2007-09-14 18:55:43 +00:00
Colin Finck
256cab14c1 Revert the changes in r29036 to the file "ReactOS-i386.rbuild". They broke build and look like test code for me.
svn path=/trunk/; revision=29041
2007-09-14 17:34:37 +00:00
Hervé Poussineau
b2327d1918 Update project dtd file based on usage (doesn't mean it is good and can't be changed anymore)
svn path=/trunk/; revision=29040
2007-09-14 17:13:46 +00:00
Hervé Poussineau
47bdba1c9b Update README.WINE after revision 29034
svn path=/trunk/; revision=29039
2007-09-14 17:12:13 +00:00
Hervé Poussineau
58d6c588b0 Delete useless files
svn path=/trunk/; revision=29038
2007-09-14 17:10:48 +00:00
Hervé Poussineau
4e99cc9eea Add missing svn:eol-style=native property
svn path=/trunk/; revision=29037
2007-09-14 17:09:45 +00:00
Hervé Poussineau
4b912ebbbc Clean up .rbuild files and make them xml compliant
Inspired by bug 2627

svn path=/trunk/; revision=29036
2007-09-14 17:07:53 +00:00
James Tabor
6aa84d10f7 - Setting up for the User32 part of the win32k rewrite.
- Pass window handle and pointer to the current teb callback. This will allow easy and fast read access for user space programs.
- Next will be ValidateHwnd and the rest.
- https://www.microsoft.com/msj/0397/hood/hood0397.aspx
- http://www.winterdom.com/dev/ui/wnd.html
- http://www.mvps.org/user32/modal.html
- http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.kernel/2006-05/msg00522.html

svn path=/trunk/; revision=29035
2007-09-14 15:34:41 +00:00
The Wine Synchronizer
b0de8603f3 Autosyncing with Wine HEAD
svn path=/trunk/; revision=29034
2007-09-14 08:03:04 +00:00
Hervé Poussineau
6585935cc4 Add imm.h header (enough to let Wine imm.dll compile)
svn path=/trunk/; revision=29033
2007-09-14 08:01:57 +00:00
Hervé Poussineau
96cdd6485c Autosyncing with Wine HEAD
svn path=/trunk/; revision=29032
2007-09-14 07:22:03 +00:00
James Tabor
05315cb742 It does work. There is another bug in the tree!
svn path=/trunk/; revision=29031
2007-09-14 06:37:08 +00:00
James Tabor
a9a5011479 Need to update or sync with wine.
svn path=/trunk/; revision=29030
2007-09-14 06:30:26 +00:00
James Tabor
eb04671664 Vitaliy Margolen: Dont exit when double-clicking with right button held.
svn path=/trunk/; revision=29029
2007-09-14 06:14:50 +00:00
James Tabor
d5de37fdd3 Fix typo, add extra entry to the structure.
svn path=/trunk/; revision=29028
2007-09-14 05:05:35 +00:00
Timo Kreuzer
fa29846725 make upper 16 bit of gdi table entries type field more windows compatible
svn path=/trunk/; revision=29027
2007-09-14 02:53:49 +00:00
James Tabor
1c35130224 Add window client information structure to TEB.
svn path=/trunk/; revision=29026
2007-09-13 16:57:53 +00:00
Daniel Reimer
c182bbd8d8 Reformat the RC Files of the cpls to use rsrc.rc for including additional languages.
*Nameofcpl*.rc should be LANG_NEUTRAL SUBLANG_NEUTRAL.
Add manifest.xml to all CPLs to support skinning from now on.

svn path=/trunk/; revision=29025
2007-09-13 11:40:16 +00:00
Johannes Anderwald
612cdea22b - implement reading/displaying audio schemes
svn path=/trunk/; revision=29024
2007-09-13 03:11:15 +00:00
Johannes Anderwald
e4d4dd3eaa - implement loading of sound items
svn path=/trunk/; revision=29023
2007-09-12 20:22:41 +00:00
Ged Murphy
329da883d0 Set the main icon resource number to 3004. This should ensure SetupDiLoadClassIcon loads it correctly.
svn path=/trunk/; revision=29022
2007-09-12 19:00:36 +00:00
Johannes Anderwald
088f9d7355 - start implementing sound scheme dialog
svn path=/trunk/; revision=29021
2007-09-12 17:51:51 +00:00
Daniel Reimer
fde1731b49 Translate the Keyboard Settings too.
svn path=/trunk/; revision=29019
2007-09-12 15:17:15 +00:00
Ged Murphy
9fdc73bf65 - rewrite the Control code
- smooth the progress bar movement
- clean up various other bits

svn path=/trunk/; revision=29018
2007-09-12 13:50:51 +00:00
Ged Murphy
8732a04d4a Use the handle for ControlService too. This allows me to start and stop my test service (but tcpsvcs hangs on stop)
svn path=/trunk/; revision=29017
2007-09-12 09:27:33 +00:00
Ged Murphy
3d95120a59 silence a couple of debug messages I missed
svn path=/trunk/; revision=29016
2007-09-12 09:08:11 +00:00
Ged Murphy
4092f435c3 add a client handle to the private interface
svn path=/trunk/; revision=29015
2007-09-12 08:47:06 +00:00
Ged Murphy
af45f6b22d - Share a client service handle with the SCM and use it to identify services.
- This fixes the problem where a service name created via CreateService (reg key name) can be different than the one supplied in the call to StartServiceCtrlDispatcher. Windows can still start services in this situation, previously we would fail to find the right service.

svn path=/trunk/; revision=29014
2007-09-12 08:46:00 +00:00
Ged Murphy
b29eee1b73 Receive a client service handle from advapi32 so we can get a permenant link between the SCM and the service
svn path=/trunk/; revision=29013
2007-09-12 08:41:00 +00:00
Hervé Poussineau
873c9d539e Cleanup GetDirectory(), GetFilename() and GetExtension() usage
svn path=/trunk/; revision=29012
2007-09-12 07:04:32 +00:00
Andrew Greenwood
b453ee14e3 Modified WINE's winmm.dll to support loading of user-installable drivers
from the registry 'Drivers' and 'Drivers32' keys, as Windows does. Also 
silenced the beep-MIDI driver (which is supported by winmm! - but 
doesn't seem to do much, at least under vmware.)

Added some Drivers32 entries to be loaded by default, to the hivesft.inf 
file.


svn path=/trunk/; revision=29011
2007-09-12 00:29:07 +00:00
Ged Murphy
48345d7b1d make the apps icon a bit neater
svn path=/trunk/; revision=29010
2007-09-11 21:56:25 +00:00
5416 changed files with 556262 additions and 132089 deletions

View File

@@ -1,69 +0,0 @@
ReactOS is available thanks to the work of:
Aleksey Bragin <aleksey at reactos org>
Alex Ionescu <alex.ionescu@reactos.org>
Andrew Greenwood <lists@silverblade.co.uk>
Andrew Munger <waxdragon@gmail.com>
Arindam Das
Art Yerkes <ayerkes@speakeasy.net>
Ariadne
Brandon Turner (turnerb7@msu.edu)
Brian Palmer <brianp@sginet.com>
Casper S. Hornstrup <chorns@users.sourceforge.net>
Christoph von Wittich (christoph_vw@reactos.org)
David Welch <welch@cwcom.net>
Emanuele Aliberti <ea@iol.it>
Eric Kohl <ekohl@rz-online.de>
Eugene Ingerman <geneing@myrealbox.com>
Filip Navara <xnavara@volny.cz>
Frederik Leemans
Ge van Geldorp <ge@gse.nl>
Ged Murphy <gedmurphy@reactos.org>
Guido de Jong
Gunnar Andre' Dalsnes <hardon@online.no>
Hans Kremer
Hartmut Birr <hartmut.birr@gmx.de>
Hernan Ochoa
Herve Poussineau <hpoussin@reactos.com>
Iwan Fatahi <i_fatahi@hotmail.com>
James B. Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
Jason Eager
Jason Filby <jasonfilby@yahoo.com>
Jason Weiler
Jean Michault
Jim Noeth
Johannes Anderwald <johannes.anderwald@student.tugraz.at>
Jonathan Wilson <jonwil@tpgi.com.au>
Jurgen van Gael <jurgen.vangael@student.kuleuven.ac.be>
KJK::Hyperion <noog@libero.it>
Klemens R. Friedl <klemens_friedl@gmx.net>
Maarten Bosma <maarten.paul@bosma.de>
Magnus Olsen (magnus@greatlord.com)
Mark Tempel <mtempel@visi.com>
Mark Weaver <mark@npsl.co.uk>
Martin Fuchs <martin-fuchs@gmx.net>
Marty Dill <mdill@uvic.ca>
Matt Pyne
Mike Nordell ("tamlin")
Nathan Woods <npwoods@mess.org>
Pablo Borobia <pborobia@gmail.com>
Paolo Pantaleo <paolopan@freemail.it>
Phillip Susi <phreak@iag.net>
Rex Jolliff <rex@lvcablemodem.com>
Richard Campbell <betam4x@gmail.com>
Robert Bergkvist <fragdance@hotmail.com>
Robert Dickenson <robd@reactos.org>
Royce Mitchell III <royce3@ev1.net>
Saveliy Tretiakov <saveliyt@mail.ru>
Steven Edwards <steven_ed4153@yahoo.com>
Thomas Weidenmueller <w3seek@users.sourceforge.net>
Timo Kreuzer <timo.kreuzer@reactos.org>
Victor Kirhenshtein <sauros@iname.com>
Vizzini <vizzini@plasmic.com>
Graphic Design from
Mindflyer <mf@mufunyo.net>
Tango Desktop Project (http://tango-project.org)
Everaldo (http://everaldo.com)

File diff suppressed because it is too large Load Diff

View File

@@ -38,7 +38,7 @@
# This can require several minutes to complete. If you only need to check
# dependencies for a single or few modules then you can use the
# module_depends targets instead. This target can also repair a damaged or
# missing makefile.auto if needed.
# missing makefile-{ROS_ARCH}.auto if needed.
#
# module_depends
# These targets do a dependency check of individual modules. Replace module
@@ -46,6 +46,8 @@
# This is faster than the depends target which does a complete dependency
# check of the ReactOS codebase.
#
# families
# A list will be shown with all available build families.
#
# Accepted environment variables:
#
@@ -65,13 +67,13 @@
# files are generated files that are needed to generate the final
# output files. Examples of intermediate files include *.o, *.a, and
# *.coff. N.B. Don't put a path separator at the end. The variable
# defaults to .\obj-i386.
# defaults to .\obj-{ROS_ARCH}.
#
# ROS_OUTPUT
# This variable controls where to put output files. Output files are
# generated files that makes up the result of the build process.
# Examples of output files include *.exe, *.dll, and *.sys. N.B. Don't
# put a path separator at the end. The variable defaults to .\output-i386.
# put a path separator at the end. The variable defaults to .\output-{ROS_ARCH}.
#
# ROS_CDOUTPUT
# This variable controls the name of the ReactOS directory on cdrom.
@@ -89,7 +91,7 @@
# ROS_INSTALL
# This variable controls where to install output files to when using
# 'make install'. N.B. Don't put a path separator at the end. The variable
# defaults to .\reactos.
# defaults to .\{ROS_CDOUTPUT}.
#
# ROS_BUILDMAP
# This variable controls if map files are to be generated for executable
@@ -147,6 +149,12 @@ endif
.PHONY: world
.PHONY: universe
ifneq ($(ROS_ARCH),)
ARCH := $(ROS_ARCH)
else
ARCH := i386
endif
ifeq ($(ROS_AUTOMAKE),)
ROS_AUTOMAKE=makefile.auto
endif
@@ -161,15 +169,15 @@ ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
export OSTYPE = msys
HOST=mingw32-linux
CFLAGS+=-fshort-wchar
CPPFLAGS+=-fshort-wchar
HOST_CFLAGS+=-fshort-wchar
HOST_CPPFLAGS+=-fshort-wchar
else
HOST=mingw32-windows
endif
else
HOST=mingw32-linux
CFLAGS+=-fshort-wchar
CPPFLAGS+=-fshort-wchar
HOST_CFLAGS+=-fshort-wchar
HOST_CPPFLAGS+=-fshort-wchar
endif
endif
@@ -254,104 +262,84 @@ else
ECHO_STRIP =
endif
host_gcc = $(Q)gcc
host_gpp = $(Q)g++
# Set host compiler/linker
ifeq ($(HOST_CC),)
HOST_CC = gcc
endif
ifeq ($(HOST_CPP),)
HOST_CPP = g++
endif
host_gcc = $(Q)$(HOST_CC)
host_gpp = $(Q)$(HOST_CPP)
host_ld = $(Q)ld
host_ar = $(Q)ar
host_objcopy = $(Q)objcopy
# Set target compiler/linker
ifneq ($(ROS_PREFIX),)
PREFIX_ := $(ROS_PREFIX)-
else
ifeq ($(HOST),mingw32-linux)
PREFIX_ := mingw32-
else
PREFIX_ :=
endif
endif
ifeq ($(TARGET_CC),)
TARGET_CC = $(PREFIX_)gcc
endif
ifeq ($(TARGET_CPP),)
TARGET_CPP = $(PREFIX_)g++
endif
gcc = $(Q)$(TARGET_CC)
gpp = $(Q)$(TARGET_CPP)
ld = $(Q)$(PREFIX_)ld
nm = $(Q)$(PREFIX_)nm
objdump = $(Q)$(PREFIX_)objdump
ar = $(Q)$(PREFIX_)ar
objcopy = $(Q)$(PREFIX_)objcopy
dlltool = $(Q)$(PREFIX_)dlltool
strip = $(Q)$(PREFIX_)strip
windres = $(Q)$(PREFIX_)windres
# Set utilities
ifeq ($(OSTYPE),msys)
HOST=mingw32-linux
endif
ifeq ($(HOST),mingw32-linux)
export EXEPREFIX = ./
ifeq ($(OSTYPE),msys)
export EXEPOSTFIX = .exe
else
export EXEPOSTFIX =
endif
ifeq ($(OSTYPE),msys)
export EXEPOSTFIX = .exe
else
export EXEPOSTFIX =
endif
export SEP = /
mkdir = -$(Q)mkdir -p
gcc = $(Q)$(PREFIX)-gcc
gpp = $(Q)$(PREFIX)-g++
ld = $(Q)$(PREFIX)-ld
nm = $(Q)$(PREFIX)-nm
objdump = $(Q)$(PREFIX)-objdump
ar = $(Q)$(PREFIX)-ar
objcopy = $(Q)$(PREFIX)-objcopy
dlltool = $(Q)$(PREFIX)-dlltool
strip = $(Q)$(PREFIX)-strip
windres = $(Q)$(PREFIX)-windres
rm = $(Q)rm -f
cp = $(Q)cp
NUL = /dev/null
else # mingw32-windows
ifeq ($(OSTYPE),msys)
HOST=mingw32-linux
export EXEPREFIX = ./
export EXEPOSTFIX = .exe
export SEP = /
mkdir = -$(Q)mkdir -p
rm = $(Q)rm -f
cp = $(Q)cp
NUL = /dev/null
else
export EXEPREFIX =
export EXEPOSTFIX = .exe
ROS_EMPTY =
export SEP = \$(ROS_EMPTY)
mkdir = -$(Q)mkdir
rm = $(Q)del /f /q
cp = $(Q)copy /y
NUL = NUL
endif
ifeq ($(ROS_PREFIX),)
gcc = $(Q)gcc
gpp = $(Q)g++
ld = $(Q)ld
nm = $(Q)nm
objdump = $(Q)objdump
ar = $(Q)ar
objcopy = $(Q)objcopy
dlltool = $(Q)dlltool
strip = $(Q)strip
windres = $(Q)windres
else
gcc = $(Q)$(ROS_PREFIX)-gcc
gpp = $(Q)$(ROS_PREFIX)-g++
ld = $(Q)$(ROS_PREFIX)-ld
nm = $(Q)$(ROS_PREFIX)-nm
objdump = $(Q)$(ROS_PREFIX)-objdump
ar = $(Q)$(ROS_PREFIX)-ar
objcopy = $(Q)$(ROS_PREFIX)-objcopy
dlltool = $(Q)$(ROS_PREFIX)-dlltool
strip = $(Q)$(ROS_PREFIX)-strip
windres = $(Q)$(ROS_PREFIX)-windres
endif
endif
ifneq ($(ROS_ARCH),)
ARCH := $(ROS_ARCH)
else
ARCH := i386
export EXEPREFIX =
export EXEPOSTFIX = .exe
ROS_EMPTY =
export SEP = \$(ROS_EMPTY)
mkdir = -$(Q)mkdir
rm = $(Q)del /f /q
cp = $(Q)copy /y
NUL = NUL
endif
ifneq ($(ROS_INTERMEDIATE),)
INTERMEDIATE := $(ROS_INTERMEDIATE)
else
ifneq ($(ROS_CDOUTPUT),)
INTERMEDIATE := obj-$(ROS_CDOUTPUT)
else
INTERMEDIATE := obj-$(ARCH)
endif
INTERMEDIATE := obj-$(ARCH)
endif
INTERMEDIATE_ := $(INTERMEDIATE)$(SEP)
ifneq ($(ROS_OUTPUT),)
OUTPUT := $(ROS_OUTPUT)
else
ifneq ($(ROS_CDOUTPUT),)
OUTPUT := output-$(ROS_CDOUTPUT)
else
OUTPUT := output-$(ARCH)
endif
OUTPUT := output-$(ARCH)
endif
OUTPUT_ := $(OUTPUT)$(SEP)
@@ -365,18 +353,14 @@ CDOUTPUT_ := $(CDOUTPUT)$(SEP)
ifneq ($(ROS_TEMPORARY),)
TEMPORARY := $(ROS_TEMPORARY)
else
TEMPORARY :=
TEMPORARY := .
endif
TEMPORARY_ := $(TEMPORARY)$(SEP)
ifneq ($(ROS_INSTALL),)
INSTALL := $(ROS_INSTALL)
else
ifneq ($(ROS_CDOUTPUT),)
INSTALL := reactos.$(ROS_CDOUTPUT)
else
INSTALL := reactos
endif
INSTALL := $(CDOUTPUT)
endif
INSTALL_ := $(INSTALL)$(SEP)
@@ -415,8 +399,11 @@ PREAUTO := \
$(ERRCODES_RC) \
$(GENDIB_DIB_FILES) \
$(NCI_SERVICE_FILES)
ifeq ($(ARCH),powerpc)
PREAUTO += $(OFW_INTERFACE_SERVICE_FILES) $(PPCMMU_TARGETS)
endif
$(ROS_AUTOMAKE): $(RBUILD_TARGET) $(PREAUTO) $(XMLBUILDFILES)
$(ROS_AUTOMAKE): $(RBUILD_TARGET) $(XMLBUILDFILES) | $(PREAUTO)
${mkdir} $(OUTPUT_)media$(SEP)inf 2>$(NUL)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw
@@ -444,26 +431,8 @@ universe:
world
sysregtest:
-mkdir $(OUTPUT_)cd$(SEP)reactos
$(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample boot$(SEP)bootdata$(SEP)unattend.inf
$(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
$(cp) boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat.sample boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat
$(MAKE) dbgprint
$(MAKE) bootcdregtest
$(MAKE) sysreg
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)txtmode.cfg rosboot
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)secstage.cfg rosboot
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)runonce.cfg rosboot
$(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)txtmode.cfg
sysregtest_clean:
$(rm) boot$(SEP)bootdata$(SEP)unattend.inf
$(rm) boot$(SEP)bootdata$(SEP)bootcdregtest$(SEP)testboot.bat
$(rm) $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
regtest:
$(cp) boot$(SEP)bootdata$(SEP)unattend.inf.sample $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
$(MAKE) bootcdregtest
$(rm) $(OUTPUT_)cd$(SEP)reactos$(SEP)unattend.inf
.PHONY: cb
cb: $(RBUILD_TARGET)

View File

@@ -0,0 +1,78 @@
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "tools/rbuild/project.dtd">
<group xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="baseaddress.rbuild" />
<xi:include href="buildfamilies.rbuild" />
<xi:include href="contributors.rbuild" />
<xi:include href="installfolders.rbuild" />
<xi:include href="languages.rbuild" />
<define name="__REACTOS__" overridable="true" />
<if property="MP" value="1">
<define name="CONFIG_SMP">1</define>
</if>
<if property="DBG" value="1">
<define name="DBG">1</define>
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="KDBG" value="1">
<define name="KDBG">1</define>
<property name="DBG_OR_KDBG" value="true" />
</if>
<include>.</include>
<include>include</include>
<include root="intermediate">include</include>
<include>include/psdk</include>
<include root="intermediate">include/psdk</include>
<include>include/dxsdk</include>
<include>include/crt</include>
<include>include/crt/mingw32</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
<include root="intermediate">include/reactos</include>
<include>include/reactos/libs</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<xi:include href="platform.rbuild">
<xi:fallback>
<xi:include href="platform.template.rbuild" />
</xi:fallback>
</xi:include>
</group>

View File

@@ -1,106 +1,46 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config.rbuild">
<xi:fallback>
<xi:include href="config.template.rbuild" />
</xi:fallback>
</xi:include>
<project name="ReactOS" makefile="makefile.auto" architecture="i386" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config.rbuild">
<xi:fallback>
<xi:include href="config.template.rbuild" />
</xi:fallback>
</xi:include>
<xi:include href="baseaddress.rbuild" />
<xi:include href="ReactOS-generic.rbuild" />
<define name="_M_IX86" />
<define name="_X86_" />
<define name="__i386__" />
<define name="_REACTOS_" />
<if property="MP" value="1">
<define name="CONFIG_SMP" value="1" />
</if>
<if property="DBG" value="1">
<define name="DBG" value="1" />
<define name="_SEH_ENABLE_TRACE" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="KDBG" value="1">
<define name="KDBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<define name="_M_IX86" />
<define name="_X86_" />
<define name="__i386__" />
<if property="GDB" value="0">
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
</if>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-Wpointer-arith</compilerflag>
<linkerflag>-enable-stdcall-fixup</linkerflag>
<include>.</include>
<include>include</include>
<include root="intermediate">include</include>
<include>include/psdk</include>
<include root="intermediate">include/psdk</include>
<include>include/dxsdk</include>
<include>include/crt</include>
<include>include/ddk</include>
<include>include/GL</include>
<include>include/ndk</include>
<include>include/reactos</include>
<include root="intermediate">include/reactos</include>
<include>include/reactos/libs</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<property name="NTOSKRNL_SHARED" value="-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles -shared"/>
<if property="GDB" value="0">
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
<compilerflag>-ftracer</compilerflag>
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
</if>
<compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-Wpointer-arith</compilerflag>
<linkerflag>-enable-stdcall-fixup</linkerflag>
</project>

View File

@@ -1,94 +1,40 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<project name="ReactOS" makefile="makefile.ppc" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config-ppc.rbuild">
<xi:fallback>
<xi:include href="config-ppc.template.rbuild" />
</xi:fallback>
</xi:include>
<project name="ReactOS" makefile="makefile.ppc" architecture="powerpc" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="config-ppc.rbuild">
<xi:fallback>
<xi:include href="config-ppc.template.rbuild" />
</xi:fallback>
</xi:include>
<xi:include href="baseaddress.rbuild" />
<xi:include href="ReactOS-generic.rbuild" />
<property name="BOOTPROG_PREPARE" value="ppc-le2be" />
<property name="BOOTPROG_FLATFORMAT" value="-O elf32-powerpc -B powerpc:common" />
<property name="BOOTPROG_LINKFORMAT" value="-melf32ppc --no-omagic -Ttext 0xe00000 -Tdata 0xe10000" />
<property name="BOOTPROG_COPYFORMAT" value="--only-section=.text --only-section=.data --only-section=.bss -O aixcoff-rs6000" />
<define name="_M_PPC" />
<define name="_PPC_" />
<define name="__PowerPC__" />
<define name="_M_PPC" />
<define name="_PPC_" />
<define name="__PowerPC__" />
<define name="_REACTOS_" />
<define name="__MINGW_IMPORT" empty="true" />
<define name="stdcall" empty="true" />
<define name="__stdcall__" empty="true" />
<define name="fastcall" empty="true" />
<define name="cdecl" empty="true" />
<define name="__cdecl__" empty="true" />
<define name="dllimport" empty="true" />
<compilerflag>-v</compilerflag>
<if property="MP" value="1">
<define name="CONFIG_SMP" value="1" />
</if>
<if property="DBG" value="1">
<define name="DBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<if property="DBG" value="0">
<compilerflag>-Os</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
</if>
<if property="KDBG" value="1">
<define name="KDBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
<compilerflag>-Wpointer-arith</compilerflag>
<property name="MKHIVE_OPTIONS" value="-be" />
<property name="OFWLDR_LINKFORMAT" value="-L$(INTERMEDIATE)/lib/ppcmmu -lppcmmu_code -nostdlib -nostartfiles -lgcc -Wl,-e,__start -Wl,-Ttext,0xe00000 -N"/>
<property name="NTOSKRNL_SHARED" value="-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles"/>
<include>.</include>
<include>include</include>
<include>include/reactos</include>
<include>include/libs</include>
<include>include/drivers</include>
<include>include/subsys</include>
<include>include/ndk</include>
<include>include</include>
<include>include/crt</include>
<include>include/ddk</include>
<directory name="base">
<xi:include href="base/base.rbuild" />
</directory>
<directory name="boot">
<xi:include href="boot/boot.rbuild" />
</directory>
<directory name="dll">
<xi:include href="dll/dll.rbuild" />
</directory>
<directory name="drivers">
<xi:include href="drivers/drivers.rbuild" />
</directory>
<directory name="hal">
<xi:include href="hal/hal.rbuild" />
</directory>
<directory name="include">
<xi:include href="include/directory.rbuild" />
</directory>
<directory name="lib">
<xi:include href="lib/lib.rbuild" />
</directory>
<directory name="media">
<xi:include href="media/media.rbuild" />
</directory>
<directory name="modules">
<xi:include href="modules/directory.rbuild" />
</directory>
<directory name="ntoskrnl">
<xi:include href="ntoskrnl/ntoskrnl.rbuild" />
</directory>
<directory name="regtests">
<xi:include href="regtests/directory.rbuild" />
</directory>
<directory name="subsystems">
<xi:include href="subsystems/subsystems.rbuild" />
</directory>
<define name="stdcall"/>
<define name="__stdcall__"/>
<define name="fastcall"/>
<define name="cdecl"/>
<define name="__cdecl__"/>
<define name="dllimport"/>
<define name="WORDS_BIGENDIAN"/>
<define name="__MSVCRT__"/>
<define name="__NO_CTYPE_INLINES" />
<!-- <define name="__DECLSPEC_SUPPORTED" /> -->
<define name="__MINGW_IMPORT">extern</define>
<define name="_CRTIMP"/>
<define name="'__declspec(x)'"/>
<compilerflag>-fshort-wchar</compilerflag>
<compilerflag>-fsigned-char</compilerflag>
<compilerflag>-mfull-toc</compilerflag>
<compilerflag>-meabi</compilerflag>
<compilerflag>-O2</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
</project>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<group>
<!DOCTYPE group SYSTEM "../../tools/rbuild/project.dtd">
<group xmlns:xi="http://www.w3.org/2001/XInclude">
<directory name="cacls">
<xi:include href="cacls/cacls.rbuild" />
</directory>

View File

@@ -1,3 +1,5 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="cacls" type="win32cui" installbase="system32" installname="cacls.exe" unicode="true">
<include base="cacls">.</include>
<define name="__USE_W32API" />

View File

@@ -0,0 +1,74 @@
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Mostra o modifica la llista de control d'acc<63>s (ACLs) dels fitxers\n\n\
CACLS fitxer [/T] [/E] [/C] [/G user:perm [...]] [/R usuari [...]]\n\
[/P user:perm [...]] [/D usuari [...]]\n\
fitxer Mostra ACLs.\n\
/T Canvia el ACLs dels fitxers especificats al\n\
directori actual i tots els seus subdirectoris.\n\
/E Edita ACL en comptes de substituir-lo.\n\
/C Continua en cas d'error d'acc<63>s.\n\
/G user:perm Assegura els drets d'acc<63>s especificats per al usuari.\n\
perm pot ser: R Lectura\n\
W Escriptura\n\
C Modificaci<63> (Escriptura)\n\
F Control total\n\
/R usuari Revoca els drets d'acc<63>s especificats per al usuari(nom<6F>s v<>lid amb /E).\n\
/P user:perm Canvia els drets d'acc<63>s especificats per al usuari.\n\
perm pot ser: N Cap\n\
R Lectura\n\
W Escriptura\n\
C Modificaci<63> (Escriptura)\n\
F Control total\n\
/D usuari Denega els drets d'acc<63>s especificats per al usuari.\n\
Es possible utilitzar comodins per especificar m<>s d'un fitxer per comanda.\n\
Podeu especificar m<>s d'un usuari per comanda.\n\n\
Abreviacions:\n\
CI - Container heredat.\n\
ACE s'heredar<61> per directoris.\n\
OI - Objecte heredat.\n\
ACE s'heredar<61> per fitxers.\n\
IO - Nom<6F>s heredat.\n\
ACE no s'aplicar<61> al directori/fitxer actual.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENEGAT)"
IDS_SPECIAL_ACCESS, "(acc<63>s especial:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,74 +1,74 @@
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> access control lists (ACLs) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n\
CACLS <20><><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [/T] [/E] [/C] [/G <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]] [/R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]]\n\
[/P <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]] [/D <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]]\n\
filename <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ACLs.\n\
/T <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ACLs <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/E <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ACL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.n\
/C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/G <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>: R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/R user Revoke specified user's access rights (only valid with /E).\n\
/P <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>: N <20><><EFBFBD><EFBFBD><EFBFBD>\n\
R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/D user <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<EFBFBD><EFBFBD> Wildcards <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\n\
Abbreviations:\n\
CI - Container Inherit.\n\
The ACE will be inherited by directories.\n\
OI - Object Inherit.\n\
The ACE will be inherited by files.\n\
IO - Inherit Only.\n\
<20><> ACE <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> access control lists (ACLs) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\n\
CACLS <20><><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [/T] [/E] [/C] [/G <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]] [/R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]]\n\
[/P <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]] [/D <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [...]]\n\
filename <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ACLs.\n\
/T <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ACLs <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/E <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> ACL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.n\
/C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/G <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>: R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/R user Revoke specified user's access rights (only valid with /E).\n\
/P <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>: N <20><><EFBFBD><EFBFBD><EFBFBD>\n\
R <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
W <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)\n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/D user <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<EFBFBD><EFBFBD> Wildcards <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\n\
Abbreviations:\n\
CI - Container Inherit.\n\
The ACE will be inherited by directories.\n\
OI - Object Inherit.\n\
The ACE will be inherited by files.\n\
IO - Inherit Only.\n\
<20><> ACE <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -10,7 +10,7 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_HELP, "Poka<6B> albo modyfikuj list<73> kontroli dost<73>pu (Access Control List) plik<69>w\n\n\
IDS_HELP, "Poka<6B> lub modyfikuj list<73> kontroli dost<73>pu (Access Control List) plik<69>w\n\n\
CACLS nazwa pliku [/T] [/E] [/C] [/G u<>ytkownik:dost<73>p [...]] [/R u<>ytkownik [...]]\n\
[/P u<>ytkownik:dost<73>p [...]] [/D u<>ytkownik [...]]\n\
filename Poka<6B> ACL.\n\
@@ -24,7 +24,7 @@ CACLS nazwa pliku [/T] [/E] [/C] [/G u
W Zapisu\n\
C Zmiany (zapis)\n\
F Pe<50>en dost<73>p\n\
/R u<>ytkownik Odwo<77>aj okre<72>lonemu u<>ytkownikowi prawa dost<73>pu (tylko wa<EFBFBD>ny z /E).\n\
/R u<>ytkownik Odwo<77>aj okre<72>lonemu u<>ytkownikowi prawa dost<73>pu (wa<77>ny tylko z /E).\n\
/P u<>ytkownik:dost<73>p Zast<73>p okre<72>lonemu u<>ytkownikowi prawa dost<73>pu.\n\
Dost<73>p ma by<62> tylko do:\n\
N <20>adnego\n\

View File

@@ -1,5 +1,5 @@
/*
* PROJECT: ReactOS CACLS
* PROJECT: ReactOS CACLS
* LICENSE: GPL - See COPYING in the top level directory
* FILE: applications/cacls/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for PROJECT

View File

@@ -0,0 +1,95 @@
/*
* cacls (TRADITIONAL Chinese resources)
* (<28>c<EFBFBD><EFBFBD><E9A4A4><EFBFBD>귽)
* Copyright 2007 jauming <jauming.tw@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE DISCARDABLE
{
IDS_HELP, "<22><><EFBFBD>ܩΪ̭ק<CCAD><D7A7><EFBFBD><EFBFBD>󪺳X<F3AABAB3>ݱ<EFBFBD><DDB1><EFBFBD><EFBFBD><EFBFBD> \n\n\
CACLS filename [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
filename <20><><EFBFBD><EFBFBD> ACLs<4C>C\n\
/T <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>ؿ<EFBFBD><D8BF>Ψ<EFBFBD><CEA8>Ҧ<EFBFBD><D2A6>l<EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD>\n\
<20><><EFBFBD>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ACL<43>C\n\
/E <20>s<EFBFBD><73> ACL <20>Ӥ<EFBFBD><D3A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C\n\
/C <20>b<EFBFBD>X<EFBFBD>{<7B>ڵ<EFBFBD><DAB5>X<EFBFBD>ݿ<EFBFBD><DDBF>~<7E><><EFBFBD>~<7E><><EFBFBD>C\n\
/G user:perm <20><EFBFBD><E1A4A9><EFBFBD>w<EFBFBD>Τ<EFBFBD><CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76><EFBFBD>C\n\
Perm <20>i<EFBFBD>H<EFBFBD>O: R Ū<><C5AA> \n\
W <20>g<EFBFBD>J \n\
C <20><><EFBFBD><EFBFBD>(<28>g<EFBFBD>J) \n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \n\
/R user <20>M<EFBFBD>P<EFBFBD><50><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76>(<28>Ȧb<C8A6>O /E <20>@<40>_<EFBFBD>ϥήɦX<C9A6>k)<29>C\n\
/P user:perm <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD><58><EFBFBD>v<EFBFBD><76><EFBFBD>C\n\
Perm <20>i<EFBFBD>H<EFBFBD>O: N <20>L \n\
R Ū<><C5AA> \n\
W <20>g<EFBFBD>J \n\
C <20><><EFBFBD><EFBFBD>(<28>g<EFBFBD>J) \n\
F <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> \n\
/D user <20>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>w<EFBFBD>Τ<CEA4>X<EFBFBD>ݡC\n\
<EFBFBD>b<EFBFBD>R<EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>H<EFBFBD>ϥγq<EFBFBD>t<EFBFBD>ū<EFBFBD><EFBFBD>w<EFBFBD>h<EFBFBD>Ӥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>C\n\
<EFBFBD>z<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD>b<EFBFBD>R<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>h<EFBFBD>ӥΤ<D3A5><CEA4>C\n\n\
<EFBFBD>Y<EFBFBD>g: \n\
CI - <20>e<EFBFBD><65><EFBFBD>~<7E>ӡC\n\
ACE<43>|<7C>ѥؿ<D1A5><D8BF>~<7E>ӡC\n\
OI - <20><><EFBFBD>H<EFBFBD>~<7E>ӡC\n\
ACE <20>|<7C>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD>~<7E>ӡC\n\
IO - <20>u<EFBFBD>~<7E>ӡC\n\
ACE <20><><EFBFBD>A<EFBFBD>Ω<EFBFBD><CEA9><EFBFBD><EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD>/<2F>ؿ<EFBFBD><D8BF>C\n"
IDS_ABBR_CI, "(CI)"
IDS_ABBR_OI, "(OI)"
IDS_ABBR_IO, "(IO)"
IDS_ABBR_FULL, "F"
IDS_ABBR_READ, "R"
IDS_ABBR_WRITE, "W"
IDS_ABBR_CHANGE, "C"
IDS_ABBR_NONE, "N"
IDS_ALLOW, ""
IDS_DENY, "(DENY)"
IDS_SPECIAL_ACCESS, "(special access:)"
IDS_GENERIC_READ, "GENERIC_READ"
IDS_GENERIC_WRITE, "GENERIC_WRITE"
IDS_GENERIC_EXECUTE, "GENERIC_EXECUTE"
IDS_GENERIC_ALL, "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE, "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ, "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE, "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA, "FILE_READ_DATA"
IDS_FILE_WRITE_DATA, "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA, "FILE_APPEND_DATA"
IDS_FILE_READ_EA, "FILE_READ_EA"
IDS_FILE_WRITE_EA, "FILE_WRITE_EA"
IDS_FILE_EXECUTE, "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD, "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED, "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY, "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL, "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED, "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE, "SYNCHRONIZE"
IDS_WRITE_OWNER, "WRITE_OWNER"
IDS_WRITE_DAC, "WRITE_DAC"
IDS_READ_CONTROL, "READ_CONTROL"
IDS_DELETE, "DELETE"
IDS_STANDARD_RIGHTS_ALL, "STANDARD_RIGHTS_ALL"
}

View File

@@ -1,14 +1,8 @@
#include <windows.h>
#include "resource.h"
/* define language neutral resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* include localised resources */
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/de-DE.rc"
#include "lang/el-GR.rc"
#include "lang/en-US.rc"
@@ -21,3 +15,4 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "lang/ru-RU.rc"
#include "lang/uk-UA.rc"
#include "lang/zh-CN.rc"
#include "lang/zh-TW.rc"

View File

@@ -1,3 +1,5 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="calc" type="win32gui" installbase="system32" installname="calc.exe">
<include base="calc">.</include>
<define name="__USE_W32API" />
@@ -5,6 +7,8 @@
<define name="WINVER">0x0501</define>
<define name="UNICODE" />
<define name="_UNICODE" />
<family>applications</family>
<family>guiapplications</family>
<library>kernel32</library>
<library>user32</library>
<library>gdi32</library>

View File

@@ -0,0 +1,163 @@
/*
* WineCalc (En.rc)
*
* Copyright 2003 James Briggs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Calculadora"
IDS_COPYRIGHT1, "Calculadora 5.0. Sota llicenia LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Retroc<6F>s"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Sexagesimal"
IDS_BTN_RADIANS, "Radiant"
IDS_BTN_GRADS, "Graus"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Entrada inv<6E>lida per la funci<63>."
IDS_ERR_DIVIDE_BY_ZERO, "No puc dividir per zero."
IDS_ERR_UNDEFINED, "El resultat de la funci<63> <20>s indefinit."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "&Edita" {
MENUITEM "&Copia Ctrl+C", IDM_COPY
MENUITEM "E&nganxa Ctrl+V", IDM_PASTE
}
POPUP "&Vista" {
MENUITEM "Estandard", IDM_MODE_STANDARD
MENUITEM "Cient<6E>fica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Agrupaci<63> de d<>gits", IDM_DIGIT_GROUPING
}
POPUP "&Ajuda" {
MENUITEM "Temes d'ajuda", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "En quant a la Calculadora", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "&Edita" {
MENUITEM "&Copia Ctrl+C", IDM_COPY
MENUITEM "E&ngancxa Ctrl+V", IDM_PASTE
}
POPUP "&Vista" {
MENUITEM "Estandard", IDM_MODE_STANDARD
MENUITEM "Cient<6E>fica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hexadecimal\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>ria\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Sexagesimal\tF2", ID_CALC_MS_DEGREES
MENUITEM "Radiants\tF3", ID_CALC_MS_RADIANS
MENUITEM "Graus\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Agrupaci<63> de digits", IDM_DIGIT_GROUPING
}
POPUP "&Ajuda" {
MENUITEM "Temes d'ajuda", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "En quant a la Calculadora", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "&Edita" {
MENUITEM "&Copia Ctrl+C", IDM_COPY
MENUITEM "E&nganxa Ctrl+V", IDM_PASTE
}
POPUP "&Vista" {
MENUITEM "Estandard", IDM_MODE_STANDARD
MENUITEM "Cientifica", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Hexadecimal\tF5", ID_CALC_NS_HEX
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
MENUITEM "Bin<69>ria\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
MENUITEM "Word\tF3", ID_CALC_WS_WORD
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Agrupaci<63> de digits", IDM_DIGIT_GROUPING
}
POPUP "&Ajuda" {
MENUITEM "Temes d'ajuda", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "En quant a la Calculadora", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "En quant a GNU winecalc"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "Acceptar", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "Qu<51> es aix<69>?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "Cuadre Estad<61>stic"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&C<>RREGA", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&D" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -19,7 +19,7 @@
*/
/*
* Translation made by Jerome Signouret, 2005.
* Updated by Pierre Schweitzer, 2007.
* Updated by Pierre Schweitzer, 2007.
*/
#include "windows.h"
#include "resource.h"

View File

@@ -39,7 +39,7 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
// Menu
//
MAIN_MENU MENU
MAIN_MENU MENU
BEGIN
POPUP "<22>ҏW(&E)"
BEGIN
@@ -61,7 +61,7 @@ BEGIN
END
END
SCIMS_MENU MENU
SCIMS_MENU MENU
BEGIN
POPUP "<22>ҏW(&E)"
BEGIN
@@ -92,7 +92,7 @@ BEGIN
END
END
SCIWS_MENU MENU
SCIWS_MENU MENU
BEGIN
POPUP "<22>ҏW(&E)"
BEGIN
@@ -124,7 +124,7 @@ BEGIN
END
END
WHATS_THIS_MENU MENU
WHATS_THIS_MENU MENU
BEGIN
POPUP ""
BEGIN
@@ -138,9 +138,9 @@ END
// Accelerator
//
MAIN_MENU ACCELERATORS
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
VK_F1, IDV_HELP, VIRTKEY
END
@@ -173,7 +173,7 @@ END
// String Table
//
STRINGTABLE
STRINGTABLE
BEGIN
IDS_APPNAME "<22>d<EFBFBD><64>"
IDS_BTN_BACKSPACE "Back"

View File

@@ -30,7 +30,7 @@ STRINGTABLE DISCARDABLE
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_ERR_INVALID_INPUT, "Niewa<EFBFBD>ne wej<65>cie dla funkcji."
IDS_ERR_INVALID_INPUT, "Niew<EFBFBD>a<EFBFBD>ciwy argument funkcji."
IDS_ERR_DIVIDE_BY_ZERO, "Nie mo<6D>na dzieli<6C> przez zero."
IDS_ERR_UNDEFINED, "Nieokre<72>lony wynik funkcji."
}
@@ -102,7 +102,7 @@ SCIWS_MENU MENU DISCARDABLE
MENUITEM "Wo&rd\tF3", ID_CALC_WS_WORD
MENUITEM "&Byte\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
MENUITEM "&Grupowanie cyfr", IDM_DIGIT_GROUPING
}
POPUP "Pomo&c" {
MENUITEM "&Tematy pomocy", IDM_HELP_TOPICS

View File

@@ -1,149 +1,149 @@
/*
* FILE: base/applications/calc/lang/sk-SK.rc
* PURPOSE: Slovak Language File for Calculator
* TRANSLATOR: Kario <kario@szm.sk>
* DATE OF TR.: 14-07-2007
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Kalkula<6C>ka"
IDS_COPYRIGHT1, "Kalkula<6C>ka 5.0. Licencovan<61> pod LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Sp<53><70>"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Stupne"
IDS_BTN_RADIANS, "Radi<64>ny"
IDS_BTN_GRADS, "Grady"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Neplatn<74> vstup pre funkciu."
IDS_ERR_DIVIDE_BY_ZERO, "Nulou nemo<6D>no deli<6C>."
IDS_ERR_UNDEFINED, "V<>sledok funkcie je nedefinovan<61>."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "<22>pr&avy" {
MENUITEM "&Kop<6F>rova<76> Ctrl+C", IDM_COPY
MENUITEM "Pri&lepi<70> Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazi<7A>" {
MENUITEM "<22>&tandardn<64>", IDM_MODE_STANDARD
MENUITEM "&Vedeck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Zoskupov&a<> <20><>slice", IDM_DIGIT_GROUPING
}
POPUP "&Pomocn<63>k" {
MENUITEM "&T<>my Pomocn<63>ka", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>&o je Kalkula<6C>ka", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "<22>pr&avy" {
MENUITEM "&Kop<6F>rova<76> Ctrl+C", IDM_COPY
MENUITEM "Pri&lepi<70> Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazi<7A>" {
MENUITEM "<22>&tandardn<64>", IDM_MODE_STANDARD
MENUITEM "&Vedeck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>e&stn<74>stkov<6F>\tF5", ID_CALC_NS_HEX
MENUITEM "D&esiatkov<6F>\tF6", ID_CALC_NS_DEC
MENUITEM "&Osmi<6D>kov<6F>\tF7", ID_CALC_NS_OCT
MENUITEM "&Dvojkov<6F>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "St&upne\tF2", ID_CALC_MS_DEGREES
MENUITEM "&Radi<64>ny\tF3", ID_CALC_MS_RADIANS
MENUITEM "&Grady\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Zoskupov&a<> <20><>slice", IDM_DIGIT_GROUPING
}
POPUP "&Pomocn<63>k" {
MENUITEM "&T<>my Pomocn<63>ka", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>&o je Kalkula<6C>ka", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "<22>pr&avy" {
MENUITEM "&Kop<6F>rova<76> Ctrl+C", IDM_COPY
MENUITEM "Pri&lepi<70> Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazi<7A>" {
MENUITEM "<22>&tandardn<64>", IDM_MODE_STANDARD
MENUITEM "&Vedeck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>e&stn<74>stkov<6F>\tF5", ID_CALC_NS_HEX
MENUITEM "D&esiatkov<6F>\tF6", ID_CALC_NS_DEC
MENUITEM "&Osmi<6D>kov<6F>\tF7", ID_CALC_NS_OCT
MENUITEM "&Dvojkov<6F>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "&Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dwo&rd\tF2", ID_CALC_WS_DWORD
MENUITEM "&Word\tF3", ID_CALC_WS_WORD
MENUITEM "&Bajt\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Zoskupov&a<> <20><>slice", IDM_DIGIT_GROUPING
}
POPUP "&Pomocn<63>k" {
MENUITEM "&T<>my Pomocn<63>ka", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>&o je Kalkula<6C>ka", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22>o je Kalkula<6C>ka"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22>o je toto?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "<22>tatistika"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END
/*
* FILE: base/applications/calc/lang/sk-SK.rc
* PURPOSE: Slovak Language File for Calculator
* TRANSLATOR: Kario <kario@szm.sk>
* DATE OF TR.: 14-07-2007
*/
#include "windows.h"
#include "resource.h"
#include "winecalc.h"
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_APPNAME, "Kalkula<6C>ka"
IDS_COPYRIGHT1, "Kalkula<6C>ka 5.0. Licencovan<61> pod LGPL 2"
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
IDS_COPYRIGHT3 "San Jose, California, USA"
IDS_COPYRIGHT4 "james@ActionMessage.com"
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
IDS_BTN_BACKSPACE, "Sp<53><70>"
IDS_BTN_CLEAR_ENTRY, "CE"
IDS_BTN_CLEAR_ALL, "C"
IDS_BTN_MEM_CLEAR, "MC"
IDS_BTN_MEM_RECALL, "MR"
IDS_BTN_MEM_STORE, "MS"
IDS_BTN_MEM_PLUS, "M+"
IDS_BTN_MEM_STATUS_M, "M"
IDS_BTN_SQRT, "sqrt"
IDS_BTN_DEGREES, "Stupne"
IDS_BTN_RADIANS, "Radi<64>ny"
IDS_BTN_GRADS, "Grady"
IDS_BTN_SHRT_HEX "Hex"
IDS_BTN_SHRT_DEC "Dec"
IDS_BTN_SHRT_OCT "Oct"
IDS_BTN_SHRT_BIN "Bin"
IDS_ERR_INVALID_INPUT, "Neplatn<74> vstup pre funkciu."
IDS_ERR_DIVIDE_BY_ZERO, "Nulou nemo<6D>no deli<6C>."
IDS_ERR_UNDEFINED, "V<>sledok funkcie je nedefinovan<61>."
}
MAIN_MENU MENU DISCARDABLE
{
POPUP "<22>pr&avy" {
MENUITEM "&Kop<6F>rova<76> Ctrl+C", IDM_COPY
MENUITEM "Pri&lepi<70> Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazi<7A>" {
MENUITEM "<22>&tandardn<64>", IDM_MODE_STANDARD
MENUITEM "&Vedeck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "Zoskupov&a<> <20><>slice", IDM_DIGIT_GROUPING
}
POPUP "&Pomocn<63>k" {
MENUITEM "&T<>my Pomocn<63>ka", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>&o je Kalkula<6C>ka", IDM_ABOUT
}
}
SCIMS_MENU MENU DISCARDABLE
{
POPUP "<22>pr&avy" {
MENUITEM "&Kop<6F>rova<76> Ctrl+C", IDM_COPY
MENUITEM "Pri&lepi<70> Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazi<7A>" {
MENUITEM "<22>&tandardn<64>", IDM_MODE_STANDARD
MENUITEM "&Vedeck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>e&stn<74>stkov<6F>\tF5", ID_CALC_NS_HEX
MENUITEM "D&esiatkov<6F>\tF6", ID_CALC_NS_DEC
MENUITEM "&Osmi<6D>kov<6F>\tF7", ID_CALC_NS_OCT
MENUITEM "&Dvojkov<6F>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "St&upne\tF2", ID_CALC_MS_DEGREES
MENUITEM "&Radi<64>ny\tF3", ID_CALC_MS_RADIANS
MENUITEM "&Grady\tF4", ID_CALC_MS_GRADS
MENUITEM SEPARATOR
MENUITEM "Zoskupov&a<> <20><>slice", IDM_DIGIT_GROUPING
}
POPUP "&Pomocn<63>k" {
MENUITEM "&T<>my Pomocn<63>ka", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>&o je Kalkula<6C>ka", IDM_ABOUT
}
}
SCIWS_MENU MENU DISCARDABLE
{
POPUP "<22>pr&avy" {
MENUITEM "&Kop<6F>rova<76> Ctrl+C", IDM_COPY
MENUITEM "Pri&lepi<70> Ctrl+V", IDM_PASTE
}
POPUP "&Zobrazi<7A>" {
MENUITEM "<22>&tandardn<64>", IDM_MODE_STANDARD
MENUITEM "&Vedeck<63>", IDM_MODE_SCIENTIFIC
MENUITEM SEPARATOR
MENUITEM "<22>e&stn<74>stkov<6F>\tF5", ID_CALC_NS_HEX
MENUITEM "D&esiatkov<6F>\tF6", ID_CALC_NS_DEC
MENUITEM "&Osmi<6D>kov<6F>\tF7", ID_CALC_NS_OCT
MENUITEM "&Dvojkov<6F>\tF8", ID_CALC_NS_BIN
MENUITEM SEPARATOR
MENUITEM "&Qword\tF12", ID_CALC_WS_QWORD
MENUITEM "Dwo&rd\tF2", ID_CALC_WS_DWORD
MENUITEM "&Word\tF3", ID_CALC_WS_WORD
MENUITEM "&Bajt\tF4", ID_CALC_WS_BYTE
MENUITEM SEPARATOR
MENUITEM "Zoskupov&a<> <20><>slice", IDM_DIGIT_GROUPING
}
POPUP "&Pomocn<63>k" {
MENUITEM "&T<>my Pomocn<63>ka", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "<22>&o je Kalkula<6C>ka", IDM_ABOUT
}
}
MAIN_MENU ACCELERATORS
BEGIN
VK_F1, IDV_HELP, VIRTKEY
END
DLG_ABOUT DIALOG 12,0,120,82
CAPTION "<22>o je Kalkula<6C>ka"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
BEGIN
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
WHATS_THIS_MENU MENU DISCARDABLE
{
POPUP "" {
MENUITEM "<22>o je toto?", IDM_WHATS_THIS
}
}
DLG_STATS DIALOG 12,0,125,78
CAPTION "<22>tatistika"
FONT 9, "Tahoma"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
BEGIN
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
END

View File

@@ -140,7 +140,7 @@ END
DLG_ABOUT DIALOGEX 12, 0, 140, 95
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "<22><><EFBFBD><EFBFBD> GNU winecalc"
FONT 9, "MS Shell Dlg", 0, 0, 0x0

View File

@@ -32,7 +32,7 @@
#define IDM_SEPARATOR3 1010
#define IDM_WHATS_THIS 1011
#define IDI_CALCICON 1050
#define IDI_CALCICON 1050
/* strings */

View File

@@ -26,6 +26,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_CALCICON ICON "calculator.ico"
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/cs-CZ.rc"
#include "lang/de-DE.rc"
#include "lang/el-GR.rc"

View File

@@ -2948,16 +2948,16 @@ void calc_buffer_display(CALC *calc) {
calcfloat real;
static int old_base = NBASE_DECIMAL;
switch (calc->numBase) {
case NBASE_HEX:
case NBASE_HEX:
real = calc_atof(calc->buffer, old_base);
_stprintf(calc->display, _T("%lx"), (long)real);
_stprintf(calc->buffer, _T("%lx"), (long)real);
old_base = NBASE_HEX;
_stprintf(calc->display, _T("%lx"), (long)real);
_stprintf(calc->buffer, _T("%lx"), (long)real);
old_base = NBASE_HEX;
break;
case NBASE_OCTAL:
case NBASE_OCTAL:
real = calc_atof(calc->buffer, old_base);
_stprintf(calc->display, TEXT("%lo"), (long)real);
_stprintf(calc->buffer, TEXT("%lo"), (long)real);
@@ -2966,7 +2966,7 @@ void calc_buffer_display(CALC *calc) {
case NBASE_BINARY:
{
int buf=0;
int buf=0;
int t;
if (calc->buffer[0]==_T('\0'))
@@ -2977,11 +2977,11 @@ void calc_buffer_display(CALC *calc) {
{
real = calc_atof(calc->buffer, old_base);
}
calc->display[buf]=_T('0');
calc->buffer[buf]=_T('0');
for (t=31;t>=0;t--)
{
{
if (((((long)real)>>t) & ~0xFFFFFFFE)==0)
{
calc->display[buf]=_T('0');
@@ -2994,16 +2994,16 @@ void calc_buffer_display(CALC *calc) {
calc->buffer[buf]=_T('1');
buf++;
}
}
if (buf==0)
if (buf==0)
{
buf++;
}
calc->buffer[buf]=_T('\0');
calc->display[buf]=_T('\0');
calc->display[buf]=_T('\0');
old_base = NBASE_BINARY;
}
break;
@@ -3021,7 +3021,7 @@ void calc_buffer_display(CALC *calc) {
int lz = 0;
int exp = 0;
real = calc_atof(calc->buffer,old_base);
_stprintf(s, FMT_DESC_EXP, real);
@@ -3072,10 +3072,10 @@ void calc_buffer_display(CALC *calc) {
else
{
real = calc_atof(calc->buffer, old_base);
}
_stprintf(calc->display, _T("%.f"), real);
_stprintf(calc->buffer, _T("%.f"), real);
}
}
_stprintf(calc->display, _T("%.f"), real);
_stprintf(calc->buffer, _T("%.f"), real);
}
_tcscpy(s,calc->buffer);
p = s;
@@ -3102,7 +3102,7 @@ void calc_buffer_display(CALC *calc) {
}
old_base = NBASE_DECIMAL;
}
InvalidateRect(calc->hWnd, NULL, FALSE);
UpdateWindow(calc->hWnd);
}

View File

@@ -269,7 +269,7 @@ DlgProc(HWND hDlg,
TCHAR ch;
HWND hMap = GetDlgItem(hDlg, IDC_FONTMAP);
ch = SendMessage(hMap, FM_GETCHAR, 0, 0);
ch = (TCHAR) SendMessage(hMap, FM_GETCHAR, 0, 0);
if (ch)
{

View File

@@ -1,23 +1,23 @@
<?xml version="1.0"?>
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
<module name="charmap" type="win32gui" installbase="system32" installname="charmap.exe" unicode="yes">
<include base="charmap">.</include>
<define name="__REACTOS__" />
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<library>ntdll</library>
<library>gdi32</library>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
<compilationunit name="unit.c">
<file>about.c</file>
<file>charmap.c</file>
<file>lrgcell.c</file>
<file>map.c</file>
</compilationunit>
<file>charmap.rc</file>
<pch>precomp.h</pch>
</module>
</rbuild>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="charmap" type="win32gui" installbase="system32" installname="charmap.exe" unicode="yes">
<include base="charmap">.</include>
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<family>applications</family>
<family>guiapplications</family>
<library>ntdll</library>
<library>gdi32</library>
<library>kernel32</library>
<library>user32</library>
<library>comctl32</library>
<compilationunit name="unit.c">
<file>about.c</file>
<file>charmap.c</file>
<file>lrgcell.c</file>
<file>map.c</file>
</compilationunit>
<file>charmap.rc</file>
<pch>precomp.h</pch>
</module>

View File

@@ -1,11 +1,11 @@
#include <windows.h>
#include <commctrl.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Character Map\0"
#define REACTOS_STR_INTERNAL_NAME "charmap\0"
#define REACTOS_STR_ORIGINAL_FILENAME "charmap.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"
#include <windows.h>
#include <commctrl.h>
#include "resource.h"
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Character Map\0"
#define REACTOS_STR_INTERNAL_NAME "charmap\0"
#define REACTOS_STR_ORIGINAL_FILENAME "charmap.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View File

@@ -0,0 +1,35 @@
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Mapa de car<61>cters"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "Font :", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Ajuda", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Car<61>cters a copiar :", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Selecciona", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "Copia", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Vista avan<61>ada", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "En quanta al Mapa de car<61>cters"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "Tancar", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "&En quant a..."
END

View File

@@ -6,7 +6,7 @@ CAPTION "
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> :",IDC_STATIC,6,7,60,9
COMBOBOX IDC_FONTCOMBO,65,5,181,210,CBS_DROPDOWNLIST | CBS_SORT |
COMBOBOX IDC_FONTCOMBO,65,5,181,210,CBS_DROPDOWNLIST | CBS_SORT |
CBS_HASSTRINGS | WS_VSCROLL
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDC_CMHELP,249,5,35,13
CONTROL "",IDC_FONTMAP,"FontMapWnd",WS_VSCROLL | WS_TABSTOP,20,
@@ -26,7 +26,7 @@ BEGIN
IDC_STATIC,48,7,150,36
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>",IDOK,75,162,44,15
ICON 100,IDC_STATIC,10,10,7,30
EDITTEXT IDC_LICENSE_EDIT,8,44,194,107,ES_MULTILINE | ES_READONLY |
EDITTEXT IDC_LICENSE_EDIT,8,44,194,107,ES_MULTILINE | ES_READONLY |
WS_VSCROLL
END

View File

@@ -0,0 +1,44 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/charmap/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Simboli<6C> lentel<65>"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "<22>riftas:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "Pagalba", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Simboliai kopijavimui:", IDC_STATIC, 6, 188, 72, 9
EDITTEXT IDC_TEXTBOX, 81, 186, 107, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "Parinkti", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "Kopijuoti", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "Advanced view", IDC_ADVVIEW, 10, 204, 64, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "Apie simboli<6C> lentel<65>"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Character Map v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "U<>verti", IDOK, 83, 161, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "&Apie..."
END

View File

@@ -1,8 +1,8 @@
/*
/*
* translated by xrogers
* xxrogers@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
*/
* xxrogers@users.sourceforge.net
* https://sourceforge.net/projects/reactospl
*/
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233

View File

@@ -1,43 +1,43 @@
/*
* PROJECT: Character Map
* FILE: base/applications/charmap/lang/sk-SK.rc
* PURPOSE: Slovak Language File for charmap
* TRANSLATOR: Kario (kario@szm.sk)
* DATE OF TR: 24-07-2007
*/
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Mapa znakov"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "P<>s&mo:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "&Pomocn<63>k", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Kop<6F>rova<76> &znaky:", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&Vybra<72>", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "&Kop<6F>rova<76>", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "R&oz<6F><7A>ren<65> zobrazenie", IDC_ADVVIEW, 10, 204, 75, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "<22>o je Mapa znakov"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Mapa znakov v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "&Zavrie<69>", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "<22>&o je Mapa znakov"
END
/*
* PROJECT: Character Map
* FILE: base/applications/charmap/lang/sk-SK.rc
* PURPOSE: Slovak Language File for charmap
* TRANSLATOR: Kario (kario@szm.sk)
* DATE OF TR: 24-07-2007
*/
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
IDD_CHARMAP DIALOGEX 6, 6, 293, 205 //233
CAPTION "Mapa znakov"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
LTEXT "P<>s&mo:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "&Pomocn<63>k", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL, 20, 22, 266, 156
LTEXT "Kop<6F>rova<76> &znaky:", IDC_STATIC, 6, 188, 66, 9
EDITTEXT IDC_TEXTBOX, 74, 186, 114, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
DEFPUSHBUTTON "&Vybra<72>", IDC_SELECT, 194, 186, 46, 13
PUSHBUTTON "&Kop<6F>rova<76>", IDC_COPY, 244, 186, 46, 13, WS_DISABLED
//AUTOCHECKBOX "R&oz<6F><7A>ren<65> zobrazenie", IDC_ADVVIEW, 10, 204, 75, 9, WS_CHILD | WS_VISIBLE | WS_TABSTOP
//EDITTEXT IDC_DISPLAY, 8, 217, 278, 13, WS_VISIBLE | WS_TABSTOP | ES_READONLY
END
IDD_ABOUTBOX DIALOGEX 22,16,210,182
CAPTION "<22>o je Mapa znakov"
FONT 8,"MS Sans Serif",0,0
STYLE WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "Mapa znakov v0.1\nCopyright (C) 2007 Ged Murphy (gedmurphy@reactos.org)", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "&Zavrie<69>", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | ES_READONLY | ES_MULTILINE
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."
IDS_ABOUT "<22>&o je Mapa znakov"
END

View File

@@ -20,7 +20,7 @@ SetLrgFont(PMAP infoPtr)
LPTSTR lpFontName;
INT Len;
hCombo = GetDlgItem(infoPtr->hParent,
hCombo = GetDlgItem(infoPtr->hParent,
IDC_FONTCOMBO);
Len = GetWindowTextLength(hCombo);
@@ -37,14 +37,14 @@ SetLrgFont(PMAP infoPtr)
WM_GETTEXT,
31,
(LPARAM)lpFontName);
ZeroMemory(&lf,
ZeroMemory(&lf,
sizeof(lf));
hdc = GetDC(infoPtr->hLrgWnd);
lf.lfHeight = GetDeviceCaps(hdc,
LOGPIXELSY) / 2;
ReleaseDC(infoPtr->hLrgWnd,
ReleaseDC(infoPtr->hLrgWnd,
hdc);
lf.lfCharSet = DEFAULT_CHARSET;

View File

@@ -8,12 +8,14 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_ICON ICON "res/charmap.ico"
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/en-US.rc"
#include "lang/de-DE.rc"
#include "lang/es-ES.rc"
#include "lang/fr-FR.rc"
#include "lang/id-ID.rc"
#include "lang/it-IT.rc"
#include "lang/lt-LT.rc"
#include "lang/pl-PL.rc"
#include "lang/sk-SK.rc"
#include "lang/uk-UA.rc"

View File

@@ -1,8 +1,13 @@
<group>
<directory name="find">
<xi:include href="find/find.rbuild" />
</directory>
<directory name="more">
<xi:include href="more/more.rbuild" />
</directory>
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
<group xmlns:xi="http://www.w3.org/2001/XInclude">
<directory name="dbgprint">
<xi:include href="dbgprint/dbgprint.rbuild" />
</directory>
<directory name="find">
<xi:include href="find/find.rbuild" />
</directory>
<directory name="more">
<xi:include href="more/more.rbuild" />
</directory>
</group>

View File

@@ -1,4 +1,4 @@
/* $Id$
/* $Id: dbgprint.c 24720 2006-11-11 16:07:35Z janderwald $
*
* PROJECT: ReactOS DbgPrint Utility
* LICENSE: GPL - See COPYING in the top level directory

View File

@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="dbgprint" type="win32cui" installbase="system32" installname="dbgprint.exe">
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<library>kernel32</library>
<library>ntdll</library>
<file>dbgprint.c</file>
</module>

View File

@@ -1,3 +1,5 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="find" type="win32cui" installbase="system32" installname="find.exe">
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define>

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "FIND: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>..\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"<22><><EFBFBD>\" [ <20><><EFBFBD><EFBFBD>... ]\n\
/C <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n\
/I <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/N <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 1\n\
/V <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>."
IDS_NO_SUCH_FILE, "FIND: %s: <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n"
IDS_CANNOT_OPEN, "FIND: %s: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n"
}

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "FIND: Mostra totes les linies que continguin una determinada cadena de car<61>cters.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"Cadena de car<61>cters\" [ file... ]\n\
/C Conta el numero de linies que contenen la cadena de car<61>cters\n\
/I Ignore case\n\
/N Numero de linies mostrades, comen<65>ant per la primera\n\
/V Mostra les linies que no contenen la cadena de car<61>cters"
IDS_NO_SUCH_FILE, "FIND: %s: No he trobat el fitxer\n"
IDS_CANNOT_OPEN, "FIND: %s: No puc obrir el fitxer\n"
}

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "Sucht in einer Datei nach einer Zeichenfolge.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"string\" [ file... ]\n\
/C Zeigt nur die Anzahl der die Zeichenfolge enthaltenen Zeilen an.\n\
/I Ignoriert Gro<72>-/Kleinbuchstaben bei der Suche.\n\
/N Zeigt die Zeilen mit ihren Zeilennummern an.\n\
/V Zeigt alle Zeilen an, die die Zeichenfolge NICHT enhalten."
IDS_NO_SUCH_FILE, "Datei %s nicht gefunden\n"
IDS_CANNOT_OPEN, "Datei %s kann nicht ge<67>ffnet werden.\n"
}

View File

@@ -9,7 +9,7 @@ IDS_USAGE, "FIND: Prints all lines of a file that contain a string.\n\n\
/I Ignore case\n\
/N Number the displayed lines, starting at 1\n\
/V Print lines that do not contain the string"
IDS_NO_SUCH_FILE, "FIND: %s: No such file\n"
IDS_CANNOT_OPEN, "FIND: %s: Cannot open file\n"

View File

@@ -0,0 +1,17 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "FIND: Visualizza le linee di un file che contengono un stringa.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"stringa\" [ file... ]\n\
/C Conta il numero di linee che contengono la stringa\n\
/I Ignora maiuscole/minuscole\n\
/N Numera le linee visualizzate a partire da 1\n\
/V Visualizza le linee che non contengono la stringa"
IDS_NO_SUCH_FILE, "FIND: %s: File non trovato\n"
IDS_CANNOT_OPEN, "FIND: %s: Impossibile aprire il file\n"
}

View File

@@ -0,0 +1,26 @@
/*
* PROJECT: ReactOS find command
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/find/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "FIND: Spausdina visas bylos eilutes, kuriose yra ie<69>komas tekstas.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"tekstas\" [ byla... ]\n\
/C Skai<61>iuoti eilutes, kuriose yra ie<69>komas tekstas\n\
/I Ignoruoti raid<69>i<EFBFBD> dyd<79>\n\
/N Numeruoti vaizduojamas eilutes, pradedant nuo 1\n\
/V Spausdinti eilutes, kuriose n<>ra ie<69>komo teksto"
IDS_NO_SUCH_FILE, "FIND: %s: Tokios bylos n<>ra\n"
IDS_CANNOT_OPEN, "FIND: %s: Nepavyko atverti bylos\n"
}

View File

@@ -9,7 +9,7 @@ IDS_USAGE, "FIND:
/I <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
/N <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 1).\n\
/V <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
IDS_NO_SUCH_FILE, "FIND: %s: <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_CANNOT_OPEN, "FIND: %s: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.\n"

View File

@@ -0,0 +1,25 @@
/*
* PROJECT: Find
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/find/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for find
* TRANSLATOR: Artem Reznikov
*/
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "FIND: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\n\
FIND [ /C ] [ /I ] [ /N ] [ /V ] \"<22><><EFBFBD><EFBFBD><EFBFBD>\" [ <20><><EFBFBD><EFBFBD>... ]\n\
/C <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>\n\
/I <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n\
/N <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 1)\n\
/V <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
IDS_NO_SUCH_FILE, "FIND: %s: <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>\n"
IDS_CANNOT_OPEN, "FIND: %s: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>\n"
}

View File

@@ -1,5 +1,11 @@
#include <windows.h>
#include "resource.h"
#include "lang/en-US.rc"
#include "lang/ru-RU.rc"
#include <windows.h>
#include "resource.h"
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/de-DE.rc"
#include "lang/en-US.rc"
#include "lang/it-IT.rc"
#include "lang/lt-LT.rc"
#include "lang/ru-RU.rc"
#include "lang/uk-UA.rc"

View File

@@ -0,0 +1,15 @@
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\n\
MORE < [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:][<5B><><EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> | MORE \n\
MORE [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:][<5B><><EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>\n\n\
[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:][<5B><><EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\t\t <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n\n\
<20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ""-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> --"" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_CONTINUE, " -- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (100%) -- "
IDS_FILE_ACCESS, "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> %s."
}

View File

@@ -0,0 +1,15 @@
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "Mostra en pantalla el contingut p<>gina per p<>gina.\n\n\
MORE < [Unitat:][Ruta]Nom del fitxer\n\
Instrucci<63> | MORE \n\
MORE [Unitat:][Ruta]Nom del fitxer\n\n\
[Unitat:][Ruta]Nom del fitxer Un fitxer, el contingut del qual ser<65> mostrat.\n\
Instrucci<63>\t\t Una instrucci<63>, el resultat de la qual ser<65> mostrada.\n\n\
Al visualitzar ""-- Continua --"" heu de premer qualsevol tecla per visualitzar la seg<65>ent p<>gina.\n"
IDS_CONTINUE, " -- Continua (100%) -- "
IDS_FILE_ACCESS, "No puc accedir al fitxer %s."
}

View File

@@ -0,0 +1,16 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "Zeigt Daten seitenweise auf dem Bildschirm an.\n\n\
MORE < [Laufwerk:][Pfad]Dateiname\n\
Befehl | MORE \n\
MORE [Laufwerk:][Pfad]Dateiname\n\n\
[Laufwerk:][Pfad]Dateiname Eine Datei, deren Inhalt angezeigt werden soll.\n\
Befehl\t\t Ein Befehl, dessen Ausgabe angezeigt werden soll.\n\n\
An der Eingabeaufforderung ""-- Fortsetzung --"" kann eine beliebige\n\
Taste gedr<64>ckt werden, um die n<>chste Seite anzuzeigen.\n"
IDS_CONTINUE, " -- Fortsetzung (100%) -- "
IDS_FILE_ACCESS, "Auf die Datei %s kann nicht zugegriffen werden."
}

View File

@@ -0,0 +1,15 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "Displays data page-by-page on the screen.\n\n\
MORE < [Drive:][Path]File name\n\
Command | MORE \n\
MORE [Drive:][Path]File name\n\n\
[Drive:][Path]File name A file, whose content shall be displayed.\n\
Command\t\t A command, whose output shall be displayed.\n\n\
At the prompt ""-- Continue --"" you can press any key to show the next page.\n"
IDS_CONTINUE, " -- Continue (100%) -- "
IDS_FILE_ACCESS, "Cannot access the file %s."
}

View File

@@ -0,0 +1,15 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "Affiche les donn<6E>es page par page <20> l'<27>cran.\n\n\
MORE < [Lecteur:][Chemin]Nom du fichier\n\
Commande | MORE \n\
MORE [Lecteur:][Chemin]Nom du fichier\n\n\
[Lecteur:][Chemin]Nom du fichier Un fichier, dont le contenu sera affich<63>.\n\
Commande\t\t Une commande, dont la sortie sera affich<63>.\n\n\
<20> l'invite ""-- Continuer --"" you pouvez appuyer sur n'importe quelle touche pour afficher la page suivante.\n"
IDS_CONTINUE, " -- Continuer (100%) -- "
IDS_FILE_ACCESS, "Impossible d'acc<63>der au fichier %s."
}

View File

@@ -0,0 +1,15 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "Visualizza dati una schermata per volta.\n\n\
MORE < [Drive:][Path]File\n\
Comando | MORE \n\
MORE [Drive:][Path]File\n\n\
[Drive:][Path]File Il file da visualizzare.\n\
Comando\t\t Il comando di cui l'output dev'essere visualizzato.\n\n\
Alla richiesta ""-- Continua --"" premere un tasto qualsiasi per visualizzare la pagina successiva.\n"
IDS_CONTINUE, " -- Continua (100%) -- "
IDS_FILE_ACCESS, "Impossibile accedere al file %s."
}

View File

@@ -0,0 +1,27 @@
/*
* PROJECT: ReactOS more command
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/cmdutils/more/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "Atvaizduoja duomenis puslapiais.\n\n\
MORE < [Diskas:][Kelias iki bylos]Bylos vardas\n\
Komanda | MORE \n\
MORE [Diskas:][Kelias iki bylos]Bylos vardas\n\n\
[Diskas:][Kelias iki bylos]Bylos vardas Byla, kurios turinys turi b<>ti\n\
atvaizduotas.\n\
Komanda Komanda, kurios rezultatas turi\n\
b<>ti atvaizduotas.\n\n\
Pasirod<6F>ius raginimui ""-- Toliau --"" spauskite bet kur<75> klavi<76><69>, kad\n\
pamatytum<75>te sekant<6E> puslap<61>.\n"
IDS_CONTINUE, " -- Toliau (100%) -- "
IDS_FILE_ACCESS, "Nepavyko atverti bylos %s."
}

View File

@@ -0,0 +1,23 @@
/*
* PROJECT: ReactOS Console Command More
* LICENSE: GPL - See COPYING in the top level directory
* FILE: /base/applications/cmdutils/more/lang/uk-UA.rc
* PURPOSE: Ukraianian Language File for ReactOS Console Command More
* PROGRAMMERS: Rostislav Zabolotny
*/
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
IDS_USAGE, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:\n\n\
MORE < [Drive:][Path]<5D><>'<27>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD>\n\
Command | MORE \n\
MORE [Drive:][Path]<5D><>'<27>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD>\n\n\
<20><>: \n\
[Drive:][Path]<5D><>'<27>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\
Command\t\t <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>.\n\n\
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ""-- <20><><EFBFBD><EFBFBD> --"" <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>-<2D><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.\n"
IDS_CONTINUE, " -- <20><><EFBFBD><EFBFBD> (100%) -- "
IDS_FILE_ACCESS, "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> %s."
}

View File

@@ -13,11 +13,12 @@
#include <windows.h>
#include <malloc.h>
#include <tchar.h>
#include <stdio.h>
#include "resource.h"
DWORD len;
LPTSTR msg = _T("--- continue ---");
static TCHAR szCont[128];
static DWORD szContLength;
static HINSTANCE hApp;
/*handle for file and console*/
HANDLE hStdIn;
@@ -29,11 +30,11 @@ HANDLE hKeyboard;
static VOID
GetScreenSize (PSHORT maxx, PSHORT maxy)
{
CONSOLE_SCREEN_BUFFER_INFO csbi;
CONSOLE_SCREEN_BUFFER_INFO csbi;
GetConsoleScreenBufferInfo (hStdOut, &csbi);
*maxx = (csbi.srWindow.Right - csbi.srWindow.Left) + 1;
*maxy = (csbi.srWindow.Bottom - csbi.srWindow.Top) - 4;
GetConsoleScreenBufferInfo (hStdOut, &csbi);
*maxx = (csbi.srWindow.Right - csbi.srWindow.Left) + 1;
*maxy = (csbi.srWindow.Bottom - csbi.srWindow.Top) - 4;
}
@@ -41,40 +42,40 @@ GetScreenSize (PSHORT maxx, PSHORT maxy)
static
VOID ConOutPuts (LPTSTR szText)
{
DWORD dwWritten;
WriteFile (GetStdHandle (STD_OUTPUT_HANDLE), szText, _tcslen(szText), &dwWritten, NULL);
WriteFile (GetStdHandle (STD_OUTPUT_HANDLE), "\n", 1, &dwWritten, NULL);
DWORD dwWritten;
WriteFile (GetStdHandle (STD_OUTPUT_HANDLE), szText, _tcslen(szText), &dwWritten, NULL);
WriteFile (GetStdHandle (STD_OUTPUT_HANDLE), "\n", 1, &dwWritten, NULL);
}
static VOID
ConInKey (VOID)
{
INPUT_RECORD ir;
DWORD dwRead;
INPUT_RECORD ir;
DWORD dwRead;
do
{
ReadConsoleInput (hKeyboard, &ir, 1, &dwRead);
if ((ir.EventType == KEY_EVENT) &&
(ir.Event.KeyEvent.bKeyDown == TRUE))
return;
}
while (TRUE);
do
{
ReadConsoleInput (hKeyboard, &ir, 1, &dwRead);
if ((ir.EventType == KEY_EVENT) &&
(ir.Event.KeyEvent.bKeyDown == TRUE))
return;
}
while (TRUE);
}
static VOID
WaitForKey (VOID)
{
DWORD dwWritten;
DWORD dwWritten;
WriteFile (hStdErr,msg , len, &dwWritten, NULL);
WriteFile (hStdErr, szCont , szContLength, &dwWritten, NULL);
ConInKey();
ConInKey();
WriteFile (hStdErr, _T("\n"), 1, &dwWritten, NULL);
WriteFile (hStdErr, _T("\n"), 1, &dwWritten, NULL);
// FlushConsoleInputBuffer (hConsoleIn);
}
@@ -83,91 +84,125 @@ WaitForKey (VOID)
//INT CommandMore (LPTSTR cmd, LPTSTR param)
int main (int argc, char **argv)
{
SHORT maxx,maxy;
SHORT line_count=0,ch_count=0;
DWORD i, last;
HANDLE hFile = INVALID_HANDLE_VALUE;
TCHAR szFullPath[MAX_PATH];
SHORT maxx,maxy;
SHORT line_count=0,ch_count=0;
DWORD i, last;
HANDLE hFile = INVALID_HANDLE_VALUE;
TCHAR szFullPath[MAX_PATH];
TCHAR szMsg[1024];
/*reading/writing buffer*/
TCHAR *buff;
/*reading/writing buffer*/
TCHAR *buff;
/*bytes written by WriteFile and ReadFile*/
DWORD dwRead,dwWritten;
/*bytes written by WriteFile and ReadFile*/
DWORD dwRead,dwWritten;
/*ReadFile() return value*/
BOOL bRet;
/*ReadFile() return value*/
BOOL bRet;
len = _tcslen (msg);
hStdIn = GetStdHandle(STD_INPUT_HANDLE);
hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
hStdErr = GetStdHandle(STD_ERROR_HANDLE);
hStdIn = GetStdHandle(STD_INPUT_HANDLE);
hStdOut = GetStdHandle(STD_OUTPUT_HANDLE);
hStdErr = GetStdHandle(STD_ERROR_HANDLE);
hApp = GetModuleHandle(NULL);
if (argc > 1 && _tcsncmp (argv[1], _T("/?"), 2) == 0)
{
ConOutPuts(_T("Help text still missing!!"));
return 0;
}
buff=malloc(4096);
if (!buff)
{
ConOutPuts(_T("Error: no memory"));
return 1;
}
hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ,
0,NULL,OPEN_ALWAYS,0,0);
if (argc > 1 && _tcsncmp (argv[1], _T("/?"), 2) == 0)
{
if (LoadString(hApp, IDS_USAGE, buff, 4096 / sizeof(TCHAR)) < 4096 / sizeof(TCHAR))
{
CharToOem(buff, buff);
ConOutPuts(buff);
}
GetScreenSize(&maxx,&maxy);
free(buff);
return 0;
}
buff=malloc(4096);
hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ,
0,NULL,OPEN_ALWAYS,0,0);
FlushConsoleInputBuffer (hKeyboard);
GetScreenSize(&maxx,&maxy);
if(argc > 1)
{
GetFullPathName(argv[1], MAX_PATH, szFullPath, NULL);
hFile = CreateFile (szFullPath, GENERIC_READ,
0,NULL,OPEN_ALWAYS,0,0);
if (hFile == INVALID_HANDLE_VALUE)
{
ConOutPuts(_T("The file could not be opened"));
return 0;
}
}
else
{
hFile = hStdIn;
}
do
{
bRet = ReadFile(hFile,buff,4096,&dwRead,NULL);
for(last=i=0;i<dwRead && bRet;i++)
{
ch_count++;
if(buff[i] == _T('\n') || ch_count == maxx)
{
ch_count=0;
line_count++;
if (line_count == maxy)
{
line_count = 0;
WriteFile(hStdOut,&buff[last], i-last+1, &dwWritten, NULL);
last=i+1;
FlushFileBuffers (hStdOut);
WaitForKey ();
}
}
}
if (last<dwRead && bRet)
WriteFile(hStdOut,&buff[last], dwRead-last, &dwWritten, NULL);
FlushConsoleInputBuffer (hKeyboard);
}
while(dwRead>0 && bRet);
if(argc > 1)
{
GetFullPathNameA(argv[1], MAX_PATH, szFullPath, NULL);
hFile = CreateFile (szFullPath,
GENERIC_READ,
0,
NULL,
OPEN_EXISTING,
0,
0);
if (hFile == INVALID_HANDLE_VALUE)
{
if (LoadString(hApp, IDS_FILE_ACCESS, szMsg, sizeof(szMsg) / sizeof(TCHAR)) < sizeof(szMsg) / sizeof(TCHAR))
{
_stprintf(buff, szMsg, szFullPath);
CharToOem(buff, buff);
ConOutPuts(buff);
}
free (buff);
CloseHandle (hKeyboard);
if (hFile != hStdIn)
CloseHandle (hFile);
free(buff);
return 0;
}
}
else
{
hFile = hStdIn;
}
return 0;
if (!LoadString(hApp, IDS_CONTINUE, szCont, sizeof(szCont) / sizeof(TCHAR)))
{
/* Shouldn't happen, so exit */
return 1;
}
szContLength = _tcslen(szCont);
do
{
bRet = ReadFile(hFile,buff,4096,&dwRead,NULL);
for(last=i=0;i<dwRead && bRet;i++)
{
ch_count++;
if(buff[i] == _T('\n') || ch_count == maxx)
{
ch_count=0;
line_count++;
if (line_count == maxy)
{
line_count = 0;
WriteFile(hStdOut,&buff[last], i-last+1, &dwWritten, NULL);
last=i+1;
FlushFileBuffers (hStdOut);
WaitForKey ();
}
}
}
if (last<dwRead && bRet)
WriteFile(hStdOut,&buff[last], dwRead-last, &dwWritten, NULL);
}
while(dwRead>0 && bRet);
free (buff);
CloseHandle (hKeyboard);
if (hFile != hStdIn)
CloseHandle (hFile);
return 0;
}
/* EOF */

View File

@@ -1,9 +1,14 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="more" type="win32cui" installbase="system32" installname="more.exe">
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define>
<define name="_WIN32_WINNT">0x0501</define>
<family>applications</family>
<family>cuiapplications</family>
<library>kernel32</library>
<library>ntdll</library>
<library>user32</library>
<file>more.c</file>
<file>more.rc</file>
</module>

View File

@@ -4,3 +4,5 @@
#define REACTOS_STR_INTERNAL_NAME "more\0"
#define REACTOS_STR_ORIGINAL_FILENAME "more.exe\0"
#include <reactos/version.rc>
#include "rsrc.rc"

View File

@@ -0,0 +1,20 @@
#ifndef RESOURCE_H__ /* resource.h */
#define RESOURCE_H__
#define IDS_USAGE 100
#define IDS_CONTINUE 101
#define IDS_FILE_ACCESS 102
#endif /* EOF of resource.h */

View File

@@ -0,0 +1,11 @@
#include <windows.h>
#include "resource.h"
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/de-DE.rc"
#include "lang/en-US.rc"
#include "lang/it-IT.rc"
#include "lang/fr-FR.rc"
#include "lang/lt-LT.rc"
#include "lang/uk-UA.rc"

View File

@@ -40,7 +40,7 @@
//#define CONTROL_DEBUG_ENABLE
#ifdef CONTROL_DEBUG_ENABLE
#define CTL_DEBUG(x) dbgprint x
#define CTL_DEBUG(x) dbgprint x
#else
#define CTL_DEBUG(x)
#endif
@@ -386,46 +386,39 @@ RunControlPanel(LPCTSTR lpName, UINT uIndex)
return 0;
}
int WINAPI
_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
int
_tmain(int argc, const TCHAR *argv[])
{
LPTSTR lpCommandLine;
LPTSTR lpParam;
STARTUPINFO si;
hInst = hInstance;
CTL_DEBUG((_T("My Control Panel\r\n")));
si.cb = sizeof(si);
GetStartupInfo(&si);
lpCommandLine = GetCommandLine();
hInst = GetModuleHandle(NULL);
CTL_DEBUG((_T("CommandLine: %s\n"), lpCommandLine));
lpParam = _tcschr(lpCommandLine, _T(' '));
if (lpParam == NULL)
if (argc <= 1)
{
/* No argument on the command line */
return RunControlPanelWindow(nCmdShow);
return RunControlPanelWindow(si.wShowWindow);
}
lpParam++;
if (_tcsicmp(lpParam, _T("desktop")) == 0)
if (_tcsicmp(argv[1], _T("desktop")) == 0)
{
return RunControlPanel(_T("desk.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("date/time")) == 0)
else if (_tcsicmp(argv[1], _T("date/time")) == 0)
{
return RunControlPanel(_T("timedate.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("international")) == 0)
else if (_tcsicmp(argv[1], _T("international")) == 0)
{
return RunControlPanel(_T("intl.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("mouse")) == 0)
else if (_tcsicmp(argv[1], _T("mouse")) == 0)
{
return RunControlPanel(_T("main.cpl"), 0);
}
else if (_tcsicmp(lpParam, _T("keyboard")) == 0)
else if (_tcsicmp(argv[1], _T("keyboard")) == 0)
{
return RunControlPanel(_T("main.cpl"), 1);
}

View File

@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="control" type="win32gui" baseaddress="${BASEADDRESS_CONTROL}" installbase="system32" installname="control.exe" unicode="yes">
<include base="control">.</include>
<define name="__REACTOS__" />
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD>"
BEGIN

View File

@@ -0,0 +1,27 @@
// Catalan language resource file (Hiper, equip Capdellu<6C>)
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fitxer"
BEGIN
MENUITEM "&Tancar", IDM_CLOSE
END
POPUP "&Veure"
BEGIN
MENUITEM "Icones grans", IDM_LARGEICONS
MENUITEM "Icones petites", IDM_SMALLICONS
MENUITEM "Llista", IDM_LIST
MENUITEM "Detalls", IDM_DETAILS
END
POPUP "Ajuda"
BEGIN
MENUITEM "En quant a", IDM_ABOUT
END
END

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Soubor"
BEGIN

View File

@@ -6,7 +6,7 @@ LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fil"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Datei"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN

View File

@@ -11,7 +11,7 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Archivo"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Tiedosto"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fichier"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&F<>jl"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "<22>t<EFBFBD>@<40>C<EFBFBD><43>(&F)"
BEGIN

View File

@@ -0,0 +1,30 @@
/*
* PROJECT: ReactOS System Control Panel
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/control/lang/lt-LT.rc
* PURPOSE: Lithuanian Language File
* TRANSLATOR: Vytis "CMan" Gird<72>ijauskas (cman@cman.us)
* DATE: 2007-09-23
*/
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Byla"
BEGIN
MENUITEM "&Baigti", IDM_CLOSE
END
POPUP "&Rodymas"
BEGIN
MENUITEM "Didel<65>s piktogramos", IDM_LARGEICONS
MENUITEM "Ma<4D>os piktogramos", IDM_SMALLICONS
MENUITEM "S<>ra<72>as", IDM_LIST
MENUITEM "Detalus s<>ra<72>as", IDM_DETAILS
END
POPUP "&Pagalba"
BEGIN
MENUITEM "&Apie", IDM_ABOUT
END
END

View File

@@ -8,7 +8,7 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL //vertaald door Lionel Lowie
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Bestand"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Plik"
BEGIN

View File

@@ -1,28 +1,28 @@
// Brazilian language resource file (Wagner Leandro Bueno Angelo, 2007-07-09)
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Arquivo"
BEGIN
MENUITEM "&Fechar", IDM_CLOSE
END
POPUP "&Visualizar"
BEGIN
MENUITEM "<22>cones grandes", IDM_LARGEICONS
MENUITEM "<22>cones pequenos", IDM_SMALLICONS
MENUITEM "Lista", IDM_LIST
MENUITEM "Detalhes", IDM_DETAILS
END
POPUP "Aj&uda"
BEGIN
MENUITEM "Sobre...", IDM_ABOUT
END
END
// Brazilian language resource file (Wagner Leandro Bueno Angelo, 2007-07-09)
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Arquivo"
BEGIN
MENUITEM "&Fechar", IDM_CLOSE
END
POPUP "&Visualizar"
BEGIN
MENUITEM "<22>cones grandes", IDM_LARGEICONS
MENUITEM "<22>cones pequenos", IDM_SMALLICONS
MENUITEM "Lista", IDM_LIST
MENUITEM "Detalhes", IDM_DETAILS
END
POPUP "Aj&uda"
BEGIN
MENUITEM "Sobre...", IDM_ABOUT
END
END

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD>"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&S<>bor"
BEGIN

View File

@@ -7,7 +7,7 @@ LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Arkiv"
BEGIN

View File

@@ -14,7 +14,7 @@ LANGUAGE LANG_THAI, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "<22>&<26><><EFBFBD>"
BEGIN

View File

@@ -13,7 +13,7 @@ LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&<26><><EFBFBD><EFBFBD>"
BEGIN

View File

@@ -25,7 +25,7 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
// Menu
//
IDM_MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "<22>ļ<EFBFBD>(&F)"
BEGIN

View File

@@ -12,7 +12,7 @@
#define IDM_CLOSE 40005
// Next default values for new objects
//
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -9,6 +9,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* include localised resources */
#include "lang/bg-BG.rc"
#include "lang/ca-ES.rc"
#include "lang/cs-CZ.rc"
#include "lang/da-DK.rc"
#include "lang/de-DE.rc"
@@ -21,6 +22,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "lang/id-ID.rc"
#include "lang/it-IT.rc"
#include "lang/ja-JP.rc"
#include "lang/lt-LT.rc"
#include "lang/nb-NO.rc"
#include "lang/nl-NL.rc"
#include "lang/pl-PL.rc"

View File

@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
<group>
<!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
<group xmlns:xi="http://www.w3.org/2001/XInclude">
<directory name="solitaire">
<xi:include href="solitaire/solitaire.rbuild" />
</directory>

View File

@@ -32,13 +32,13 @@ void LoadCardBitmapsFromLibrary(HINSTANCE hCardDll, int *pwidth, int *pheight)
{
//convert into the range used by the cdt_xxx functions
int val;
if(i < 52) val = (i % 4) * 13 + (i/4);
else val = i;
hBitmap = LoadBitmap(hCardDll, MAKEINTRESOURCE(val + 1));
GetObject(hBitmap, sizeof(bmp), &bmp);
width = bmp.bmWidth;
height = bmp.bmHeight;
@@ -53,11 +53,11 @@ void LoadCardBitmapsFromLibrary(HINSTANCE hCardDll, int *pwidth, int *pheight)
ReleaseDC(0, hdc);
}
hOld = SelectObject(hdcCard, hBitmap);
BitBlt(__hdcCardBitmaps, i*width, 0, width, height, hdcCard, 0, 0, SRCCOPY);
SelectObject(hdcCard, hOld);
//Now draw a black border around each card...
xpos = i*width;
MoveToEx(__hdcCardBitmaps, xpos+2, 0, 0);
@@ -69,21 +69,21 @@ void LoadCardBitmapsFromLibrary(HINSTANCE hCardDll, int *pwidth, int *pheight)
LineTo(__hdcCardBitmaps, xpos+0, height - 3);
LineTo(__hdcCardBitmaps, xpos+0, 2);
LineTo(__hdcCardBitmaps, xpos+2, 0);
DeleteObject(hBitmap);
}
DeleteDC(hdcCard);
*pwidth = width;
*pheight = height;
}
void LoadCardBitmaps(void)
{
HINSTANCE hCardDll;
//If Windows NT/2000/XP
if(GetVersion() < 0x80000000)
@@ -96,9 +96,9 @@ void LoadCardBitmaps(void)
PostQuitMessage(0);
return;
}
LoadCardBitmapsFromLibrary(hCardDll, &__cardwidth, &__cardheight);
FreeLibrary(hCardDll);
}
#ifndef __REACTOS__
@@ -132,9 +132,9 @@ void FreeCardBitmaps()
//
static void DrawCheckedRect(HDC hdc, RECT *rect, COLORREF fg, COLORREF bg)
{
static WORD wCheckPat[8] =
{
0xaaaa, 0x5555, 0xaaaa, 0x5555, 0xaaaa, 0x5555, 0xaaaa, 0x5555
static WORD wCheckPat[8] =
{
0xaaaa, 0x5555, 0xaaaa, 0x5555, 0xaaaa, 0x5555, 0xaaaa, 0x5555
};
HBITMAP hbmp;
@@ -152,15 +152,15 @@ static void DrawCheckedRect(HDC hdc, RECT *rect, COLORREF fg, COLORREF bg)
fgold = SetTextColor(hdc, fg);
bgold = SetBkColor(hdc, bg);
PatBlt(hdc, rect->left, rect->top,
rect->right - rect->left,
rect->bottom - rect->top,
PatBlt(hdc, rect->left, rect->top,
rect->right - rect->left,
rect->bottom - rect->top,
PATCOPY);
SetBkColor(hdc, bgold);
SetTextColor(hdc, fgold);
SelectObject(hdc, hbrold);
DeleteObject(hbr);
DeleteObject(hbmp);
@@ -196,13 +196,13 @@ HBITMAP CreateSinkBmp(HDC hdcCompat, HDC hdc, COLORREF col, int width, int heigh
hpfg = CreatePen(PS_SOLID, 0, MAKE_PALETTERGB(fg));
hpbg = CreatePen(PS_SOLID, 0, MAKE_PALETTERGB(bg));
hpsh = CreatePen(PS_SOLID, 0, MAKE_PALETTERGB(shadow));
hpsh2= CreatePen(PS_SOLID, 0, MAKE_PALETTERGB(shadow2));
hpsh2= CreatePen(PS_SOLID, 0, MAKE_PALETTERGB(shadow2));
hpold = SelectObject(hdc, hpsh);
MoveToEx(hdc, 2, 0, NULL);
LineTo (hdc, width-3,0);
LineTo (hdc, width-1, 2);
SelectObject(hdc, hpold);
hpold = SelectObject(hdc, hpsh2);
LineTo (hdc, width-1, height-3); //vertical
@@ -222,12 +222,12 @@ HBITMAP CreateSinkBmp(HDC hdcCompat, HDC hdc, COLORREF col, int width, int heigh
hpold = SelectObject(hdc, hpfg);
MoveToEx(hdc, width - 2, 3, NULL);
LineTo (hdc, width - 2, height - 2);
//(horz)
MoveToEx(hdc, width - 3, height-2, NULL);
LineTo (hdc, 3, height-2);
SelectObject(hdc, hpold);
//draw the background
InflateRect(&rect, -2, -2);
DrawCheckedRect(hdc, &rect, MAKE_PALETTERGB(bg), MAKE_PALETTERGB(fg));
@@ -240,7 +240,7 @@ HBITMAP CreateSinkBmp(HDC hdcCompat, HDC hdc, COLORREF col, int width, int heigh
DeleteObject(hpfg);
DeleteObject(hpbg);
return hbm;
}

View File

@@ -24,7 +24,7 @@ CardButton::CardButton(CardWindow &parent, int Id, TCHAR *szText, UINT Style, bo
{
crText = RGB(255,255,255);
crBack = RGB(0, 128, 0);
xadjust = 0;
yadjust = 0;
xjustify = 0;
@@ -57,16 +57,16 @@ void CardButton::DrawRect(HDC hdc, RECT *rect, bool fNormal)
HPEN hhi = CreatePen(0, 0, MAKE_PALETTERGB(crHighlight));
HPEN hsh = CreatePen(0, 0, MAKE_PALETTERGB(crShadow));
HPEN hbl = (HPEN)GetStockObject(BLACK_PEN);
int x = rect->left;
int y = rect->top;
int width = rect->right-rect->left - 1;
int height = rect->bottom-rect->top - 1;
SetRect(&fill, x+1, y+1, x+width-1, y+height-1);
int one = 1;
if(!fNormal)
{
x += width;
@@ -76,7 +76,7 @@ void CardButton::DrawRect(HDC hdc, RECT *rect, bool fNormal)
one = -1;
OffsetRect(&fill, 1, 1);
}
if(fNormal)
hOld = SelectObject(hdc, hhi);
else
@@ -107,7 +107,7 @@ void CardButton::DrawRect(HDC hdc, RECT *rect, bool fNormal)
void CardButton::Clip(HDC hdc)
{
if(fVisible == false) return;
ExcludeClipRect(hdc, rect.left, rect.top, rect.right, rect.bottom);
}
@@ -123,12 +123,12 @@ void CardButton::Draw(HDC hdc, bool fNormal)
if(fVisible == 0) return;
if(hFont == 0)
SelectObject(hdc, GetStockObject(DEFAULT_GUI_FONT));
SelectObject(hdc, GetStockObject(DEFAULT_GUI_FONT));
else
SelectObject(hdc, hFont);
SelectObject(hdc, hFont);
GetTextExtentPoint32(hdc, szText, lstrlen(szText), &textsize);
if(hIcon)
{
x = rect.left + 32 + 8;
@@ -150,11 +150,11 @@ void CardButton::Draw(HDC hdc, bool fNormal)
x += rect.left + iconwidth;
}
}
y = rect.bottom - rect.top;
y = (y - textsize.cy) / 2;
y += rect.top;
//calc icon position..
ix = rect.left + 4;
iy = rect.top + (rect.bottom-rect.top-32) / 2;
@@ -174,20 +174,20 @@ void CardButton::Draw(HDC hdc, bool fNormal)
//
// Calc icon pos
//
if(hIcon)
{
ExcludeClipRect(hdc, ix, iy, ix + 32, iy + 32);
}
if(uStyle & CB_PUSHBUTTON)
{
DrawRect(hdc, &rect, fNormal);
SetBkColor(hdc, MAKE_PALETTERGB(crBack));
SetTextColor(hdc, crText);//MAKE_PALETTERGB(crText));
SelectClipRgn(hdc, 0);
SelectClipRgn(hdc, 0);
ExtTextOut(hdc, x, y, ETO_OPAQUE, &cliprect, szText, lstrlen(szText), 0);
}
@@ -257,7 +257,7 @@ void CardButton::AdjustPosition(int winwidth, int winheight)
int CardButton::OnLButtonDown(HWND hwnd, int x, int y)
{
if((uStyle & CB_PUSHBUTTON) == 0)
if((uStyle & CB_PUSHBUTTON) == 0)
return 0;
//make sure that the user is allowed to do something
@@ -269,7 +269,7 @@ int CardButton::OnLButtonDown(HWND hwnd, int x, int y)
{
ReleaseMutex(mxlock);
}
fMouseDown = true;
fButtonDown = true;
@@ -287,19 +287,19 @@ int CardButton::OnMouseMove(HWND hwnd, int x, int y)
bool fOldButtonDown = fButtonDown;
POINT pt;
pt.x = x;
pt.y = y;
if(PtInRect(&rect, pt))
fButtonDown = true;
else
fButtonDown = false;
if(fButtonDown != fOldButtonDown)
Redraw();
}
return 0;
}
@@ -309,19 +309,19 @@ int CardButton::OnLButtonUp(HWND hwnd, int x, int y)
{
fMouseDown = false;
fButtonDown = false;
if(uStyle & CB_PUSHBUTTON)
{
Redraw();
ReleaseCapture();
}
//if have clicked the button
if(parentWnd.CardButtonFromPoint(x, y) == this)
{
if(ButtonCallback)
{
ButtonCallback(*this);
ButtonCallback(*this);
}
else
{
@@ -340,7 +340,7 @@ CardButton *CardWindow::CreateButton(int id, TCHAR *szText, UINT uStyle, bool fV
{
CardButton *cb;
if(nNumButtons == MAXBUTTONS)
if(nNumButtons == MAXBUTTONS)
return 0;
cb = new CardButton(*this, id, szText, uStyle, fVisible, x, y, width, height);
@@ -357,7 +357,7 @@ CardButton *CardWindow::CreateButton(int id, TCHAR *szText, UINT uStyle, bool fV
cb->SetBackColor(crBackgnd);
cb->SetForeColor(RGB(255,255,255));
}
return cb;
}
@@ -394,9 +394,9 @@ void CardButton::Redraw()
HPALETTE hOldPal = UseNicePalette(hdc, __hPalette);
Draw(hdc, !fButtonDown);
RestorePalette(hdc, hOldPal);
ReleaseDC((HWND)parentWnd, hdc);
}
@@ -411,7 +411,7 @@ void CardButton::SetBackColor(COLORREF cr)
crHighlight = GetHighlight(cr);
crShadow = GetShadow(cr);
//crHighlight = ScaleLumRGB(cr, +0.25);
//crShadow = ScaleLumRGB(cr, -0.25);
}
@@ -444,7 +444,7 @@ void CardButton::SetPlacement(UINT xJustify, UINT yJustify, int xAdjust, int yAd
void CardButton::SetIcon(HICON hicon, bool fRedraw)
{
hIcon = hicon;
if(fRedraw)
Redraw();
}
@@ -465,7 +465,7 @@ bool CardButton::Lock()
DWORD dw = WaitForSingleObject(mxlock, 0);
if(dw == WAIT_OBJECT_0)
return true;
return true;
else
return false;
}

View File

@@ -25,7 +25,7 @@ inline double fMin(double a, double b)
COPYRIGHT:1995-1997 Robert Mashlan
Modified for LabWindows/CVI, 1999 Guillaume Dargaud
******************************************************************************/
void RGBtoHLS(const COLORREF rgb, double *H, double *L, double *S )
void RGBtoHLS(const COLORREF rgb, double *H, double *L, double *S )
{
double delta;
double r = (double)((rgb )&0xFF)/255;
@@ -34,19 +34,19 @@ void RGBtoHLS(const COLORREF rgb, double *H, double *L, double *S )
double cmax = MAX3(r,g,b);
double cmin = MIN3(r,g,b);
*L=(cmax+cmin)/2.0;
if(cmax == cmin)
if(cmax == cmin)
{
*S = *H = 0; // it's really undefined
}
else
else
{
if(*L < 0.5) *S = (cmax-cmin)/(cmax+cmin);
else *S = (cmax-cmin)/(2.0-cmax-cmin);
delta = cmax - cmin;
if(r == cmax)
if(r == cmax)
{
*H = (g - b) / delta;
}
@@ -66,7 +66,7 @@ void RGBtoHLS(const COLORREF rgb, double *H, double *L, double *S )
COPYRIGHT:1995-1997 Robert Mashlan
Modified for LabWindows/CVI, 1999 Guillaume Dargaud
******************************************************************************/
double HueToRGB(const double m1, const double m2, double h )
double HueToRGB(const double m1, const double m2, double h )
{
if (h<0) h+=1.0;
if (h>1) h-=1.0;
@@ -86,20 +86,20 @@ double HueToRGB(const double m1, const double m2, double h )
Modified for LabWindows/CVI, 1999 Guillaume Dargaud
******************************************************************************/
COLORREF HLStoRGB(const double H, const double L, const double S )
COLORREF HLStoRGB(const double H, const double L, const double S )
{
double r,g,b;
double m1, m2;
if(S == 0)
if(S == 0)
{
r = g = b = L;
}
else
else
{
if (L <= 0.5)
if (L <= 0.5)
m2 = L * (1.0 + S);
else
else
m2 = L + S - L * S;
m1 = 2.0 * L - m2;
@@ -108,7 +108,7 @@ COLORREF HLStoRGB(const double H, const double L, const double S )
g = HueToRGB(m1,m2,H);
b = HueToRGB(m1,m2,H-1.0/3.0);
}
return RGB(r*255, g*255, b*255);
}
@@ -118,7 +118,7 @@ COLORREF HLStoRGB(const double H, const double L, const double S )
FUNCTION: ColorScaleHSL
PURPOSE: Returns the HSL linear interpolated color between 2 colors
(more natural looking than RGB interpolation)
For instance if the luminance is the same in Col1 and Col2,
For instance if the luminance is the same in Col1 and Col2,
then the luminance of the result will be the same
If Ratio=0, you get Col1,
If Ratio=1, you get Col2
@@ -127,10 +127,10 @@ COLORREF HLStoRGB(const double H, const double L, const double S )
Ratio: 0 for low color, 1 for high color, or in between
EXAMPLE: Col1=0, Col2=0xFF00FF, Ratio=0.5 returns 0x1F5F3F
******************************************************************************/
COLORREF ColorScaleHSL( const COLORREF Col1, const COLORREF Col2, const double Ratio)
COLORREF ColorScaleHSL( const COLORREF Col1, const COLORREF Col2, const double Ratio)
{
static double H1, H2, S1, S2, L1, L2;
if (Ratio<=0) return Col1; // Ratio parameter must be between 0 and 1
else if (Ratio>=1) return Col2;
@@ -150,8 +150,8 @@ COLORREF ColorScaleHSL( const COLORREF Col1, const COLORREF Col2, const doubl
Ratio: 0 for low color, 1 for high color, or in between
EXAMPLE: Col1=0, Col2=0xFF00FF, Ratio=0.5 returns 0x800080
******************************************************************************/
COLORREF ColorScaleRGB( const COLORREF Col1,
const COLORREF Col2,
COLORREF ColorScaleRGB( const COLORREF Col1,
const COLORREF Col2,
const double Ratio) {
int R1=(Col1)&0xFF, G1=(Col1>>8)&0xFF, B1=(Col1>>16)&0xFF;
int R2=(Col2)&0xFF, G2=(Col2>>8)&0xFF, B2=(Col2>>16)&0xFF;
@@ -285,7 +285,7 @@ COLORREF HLStoRGB(const double Hue, const double Lum, const double Sat)
if(Sat == 0)
{
red = green = blue = (BYTE)(Lum * 255);
red = green = blue = (BYTE)(Lum * 255);
}
else
{
@@ -317,10 +317,10 @@ COLORREF ScaleLumRGB(COLORREF col1, double ratio)
return HLStoRGB(H1, L1, S1);
}
COLORREF ColorScaleHSL(const COLORREF Col1, const COLORREF Col2, const double Ratio)
COLORREF ColorScaleHSL(const COLORREF Col1, const COLORREF Col2, const double Ratio)
{
static double H1, H2, S1, S2, L1, L2;
if(Ratio <= 0) return Col1; // Ratio parameter must be between 0 and 1
else if(Ratio >= 1) return Col2;

View File

@@ -1,10 +1,10 @@
COLORREF ColorScaleRGB( const COLORREF Col1,
const COLORREF Col2,
COLORREF ColorScaleRGB( const COLORREF Col1,
const COLORREF Col2,
const double Ratio);
COLORREF ColorScaleHSL( const COLORREF Col1,
const COLORREF Col2,
COLORREF ColorScaleHSL( const COLORREF Col1,
const COLORREF Col2,
const double Ratio);

View File

@@ -1,16 +1,16 @@
//
// CardCount is a helper library for CardStacks.
//
// When you initialize a CardCount object with a
//
// When you initialize a CardCount object with a
// cardstack, it keeps track of the number of cards
// the stack contains.
//
// e.g. CardCount count(cardstack);
//
// Then you can do:
//
//
// int num_fives = count[5]
//
//
// count.Add(cardstack2); - combine with another stack
//
// int num_aces = count[1] - aces low
@@ -53,7 +53,7 @@ void CardCount::Sub(const CardStack &cs)
{
Card card = cs[i];
int val = card.LoVal();
if(count[val - 1] > 0)
count[val - 1]--;
}
@@ -85,6 +85,6 @@ void CardCount::Dec(size_t index)
index -= 1;
if(count[index] > 0)
if(count[index] > 0)
count[index]--;
}

View File

@@ -24,7 +24,7 @@ public:
CardCount &operator += (const CardStack &cs);
private:
int count[13]; //13 different card values
int count[13]; //13 different card values
//(ace,2,3,4,5,6,7,8,9,10,J,Q,K)
};

View File

@@ -48,7 +48,7 @@ void CardLib_SetZoomSpeed(int speed)
It uses the Card(int uval) constructor,
which results in a 2 of clubs...
not what was expected
*/
*/
/*
void CardLib_SetAcesHigh(bool fHigh);
bool operator != (const Card &lhs, const Card &rhs);

View File

@@ -8,15 +8,14 @@ void CardLib_SetZoomSpeed(int);
#define CS_EI_NONE 0
#define CS_EI_SUNK 1
#define CS_EI_CIRC 67
#define CS_EI_X 66
#define CS_DEFXOFF 12 //x-offset
#define CS_DEFYOFF 18 //y-offset
#define CS_NO3D 1 //default 3d counts (recommened)
#define CS_DEF3D 10 //(best for decks)
//#define CS_EI_CIRC 2
//#define CS_EI_X 3
#define CS_DRAG_NONE 0
#define CS_DRAG_TOP 1
#define CS_DRAG_ALL 2

View File

@@ -15,7 +15,7 @@ HBITMAP CreateSinkBmp(HDC hdcCompat, HDC hdc, int width, int height);
void PaintRect(HDC hdc, RECT *rect, COLORREF colour);
CardRegion::CardRegion(CardWindow &parent, int Id, bool visible, int x, int y, int xOffset, int yOffset)
CardRegion::CardRegion(CardWindow &parent, int Id, bool visible, int x, int y, int xOffset, int yOffset)
: id(Id), parentWnd(parent), xpos(x), ypos(y), xoffset(xOffset), yoffset(yOffset), fVisible(visible)
{
width = __cardwidth;
@@ -40,7 +40,7 @@ CardRegion::CardRegion(CardWindow &parent, int Id, bool visible, int x, int y, i
nDragCardWidth = 0;
nDragCardHeight = 0;
CanDragCallback = 0;
CanDropCallback = 0;
AddCallback = 0;
@@ -116,7 +116,7 @@ CardRegion *CardWindow::CreateRegion(int id, bool fVisible, int x, int y, int xo
cr->SetBackCardIdx(nBackCardIdx);
Regions[nNumCardRegions++] = cr;
return cr;
}
@@ -147,7 +147,7 @@ int CardRegion::GetOverlapRatio(int x, int y, int w, int h)
}
bool CardRegion::SetDragRule(UINT uDragType, pCanDragProc proc)
{
{
switch(uDragType)
{
case CS_DRAG_NONE: case CS_DRAG_ALL: case CS_DRAG_TOP:
@@ -165,10 +165,10 @@ bool CardRegion::SetDragRule(UINT uDragType, pCanDragProc proc)
}
bool CardRegion::SetDropRule(UINT uDropType, pCanDropProc proc)
{
{
switch(uDropType)
{
case CS_DROP_NONE: case CS_DROP_ALL:
case CS_DROP_NONE: case CS_DROP_ALL:
uDropRule = uDropType;
return true;
@@ -205,14 +205,14 @@ void CardRegion::SetRemoveCardProc(pRemoveProc proc)
void CardRegion::Update()
{
CalcApparentCards();
UpdateSize();
UpdateSize();
UpdateFaceDir(cardstack);
}
bool CardRegion::SetThreedCount(int count)
{
if(count < 1)
if(count < 1)
{
return false;
}
@@ -241,7 +241,7 @@ void CardRegion::Show(bool fShow)
}
bool CardRegion::IsVisible()
{
{
return fVisible;
}
@@ -283,13 +283,13 @@ void CardRegion::AdjustPosition(int winwidth, int winheight)
switch(xjustify)
{
default: case CS_XJUST_NONE: break;
case CS_XJUST_CENTER: //centered
xpos = (winwidth - (width & ~0x1)) / 2;
xpos += xadjust;
if(xoffset < 0) xpos += (width - __cardwidth);
break;
case CS_XJUST_RIGHT: //right-aligned
@@ -301,7 +301,7 @@ void CardRegion::AdjustPosition(int winwidth, int winheight)
switch(yjustify)
{
default: case CS_YJUST_NONE: break;
case CS_YJUST_CENTER: //centered
ypos = (winheight - height) / 2;
ypos += yadjust;
@@ -324,7 +324,7 @@ void CardRegion::Flash(int count, int milliseconds)
nFlashCount = count;
fFlashVisible = false;
uFlashTimer = SetTimer((HWND)parentWnd, (WPARAM)this, milliseconds, 0);
parentWnd.Redraw();
}
@@ -351,7 +351,7 @@ void CardRegion::DoFlash()
uFlashTimer = (UINT)-1;
fFlashVisible = true;
}
parentWnd.Redraw();
}
}
@@ -365,7 +365,10 @@ void CardRegion::SetEmptyImage(UINT uImage)
{
switch(uImage)
{
case CS_EI_NONE: case CS_EI_SUNK:
case CS_EI_NONE:
case CS_EI_SUNK:
case CS_EI_CIRC:
case CS_EI_X:
uEmptyImage = uImage;
break;
@@ -373,7 +376,7 @@ void CardRegion::SetEmptyImage(UINT uImage)
uEmptyImage = CS_EI_NONE;
break;
}
}
void CardRegion::SetBackCardIdx(UINT uBackIdx)
@@ -383,18 +386,18 @@ void CardRegion::SetBackCardIdx(UINT uBackIdx)
}
void CardRegion::SetCardStack(const CardStack &cs)
{
{
//make a complete copy of the specified stack..
cardstack = cs;
cardstack = cs;
// Update the face-direction and stack-size
Update();
}
const CardStack & CardRegion::GetCardStack()
{
{
//return reference to our internal stack
return cardstack;
return cardstack;
}
//
@@ -485,7 +488,7 @@ bool CardRegion::MoveCard(CardRegion *pDestStack, int nNumCards, bool fAnimate)
oldx = x;
oldy = y;
dragstack = cardstack.Pop(nNumCards);
//Alter the drag-stack so that it's cards are the same way up
@@ -512,7 +515,7 @@ bool CardRegion::MoveCard(CardRegion *pDestStack, int nNumCards, bool fAnimate)
hdc = GetDC((HWND)parentWnd);
ZoomCard(hdc, x, y, pDestStack);
ReleaseDC((HWND)parentWnd, hdc);
ReleaseDragBitmaps();
}
@@ -520,9 +523,9 @@ bool CardRegion::MoveCard(CardRegion *pDestStack, int nNumCards, bool fAnimate)
// Get a copy of the cardstack
CardStack cs = pDestStack->GetCardStack();
cs.Push(dragstack);
pDestStack->SetCardStack(cs);
//cs = pDestStack->GetCardStack();
//pDestStack->Update();
//pDestStack->UpdateFaceDir(cs);
@@ -541,7 +544,7 @@ int CardRegion::NumCards() const
if(fMouseDragging)
return cardstack.NumCards() + dragstack.NumCards();
else
return cardstack.NumCards();
return cardstack.NumCards();
}
bool CardRegion::Lock()
@@ -551,7 +554,7 @@ bool CardRegion::Lock()
if(dw == WAIT_OBJECT_0)
{
//TRACE("LockStack succeeded\n");
return true;
return true;
}
else
{
@@ -570,7 +573,7 @@ bool CardRegion::UnLock()
}
else
{
//TRACE("Unlocking stack failed\n");
//TRACE("Unlocking stack failed\n");
return false;
}
}
@@ -608,8 +611,8 @@ void CardRegion::RedrawIfNotDim(CardRegion *pCompare, bool fFullRedraw)
//
//
//
if( pCompare->xoffset != xoffset ||
pCompare->yoffset != yoffset ||
if( pCompare->xoffset != xoffset ||
pCompare->yoffset != yoffset ||
pCompare->nThreedCount != nThreedCount ||
pCompare->uFaceDirType != uFaceDirType ||
pCompare->uFaceDirType != CS_FACE_ANY
@@ -620,7 +623,7 @@ void CardRegion::RedrawIfNotDim(CardRegion *pCompare, bool fFullRedraw)
else
pCompare->Redraw();
}
}
//
@@ -638,18 +641,18 @@ bool CardRegion::SimulateDrag(CardRegion *pDestStack, int iNumDragCards, bool fA
//make a list of the cards that would be in the drag list
CardStack tempstack = cardstack.Top(iNumDragCards);
if(pDestStack->CanDropCards(tempstack))
if(pDestStack->CanDropCards(tempstack))
{
MoveCard(pDestStack, iNumDragCards, fAnimate);
MoveCard(pDestStack, iNumDragCards, fAnimate);
if(RemoveCallback)
RemoveCallback(*this, iNumDragCards);
if(pDestStack->AddCallback)
pDestStack->AddCallback(*pDestStack, pDestStack->cardstack);
RedrawIfNotDim(pDestStack, true);
}
}
}

View File

@@ -21,7 +21,7 @@ class CardRegion
// Constructor is PRIVATE - only
// a CardWindow can create cardstacks!
//
CardRegion(CardWindow &parent, int id, bool fVisible,
CardRegion(CardWindow &parent, int id, bool fVisible,
int x, int y, int xOffset, int yOffset);
~CardRegion();
@@ -29,7 +29,7 @@ class CardRegion
public:
void SetBackColor(COLORREF cr);
void SetCardStack(const CardStack &cs);
const CardStack & GetCardStack();
@@ -38,7 +38,7 @@ public:
//
bool SetDragRule(UINT uDragType, pCanDragProc proc = 0);
bool SetDropRule(UINT uDropType, pCanDropProc proc = 0);
void SetClickProc (pClickProc proc);
void SetDblClickProc (pClickProc proc);
@@ -87,7 +87,7 @@ public:
void Clear() { cardstack.Clear(); }
void Reverse() { cardstack.Reverse(); }
void Push(const Card card) { cardstack.Push(card); }
void Push(const CardStack &cs) { cardstack.Push(cs); }
@@ -118,7 +118,7 @@ private:
bool CanDragCards(int iNumCards);
bool CanDropCards(CardStack &cards);
void CalcApparentCards();
int CalcApparentCards(int realnum);
@@ -133,15 +133,15 @@ private:
bool OnMouseMove(int x, int y);
bool OnLButtonUp(int x, int y);
//
// Private data members
//
int id;
CardWindow &parentWnd;
CardStack cardstack; //cards in this stack
CardStack dragstack; //cards which we might be dragging
@@ -167,14 +167,14 @@ private:
// Used for mouse-dragging / moving cards
//
int iNumDragCards;
int mousexoffset;
int mousexoffset;
int mouseyoffset;
int oldx;
int oldy;
int nDragCardWidth;
int nDragCardHeight;
HDC hdcBackGnd;
HBITMAP hbmBackGnd;
HDC hdcDragCard;
@@ -183,7 +183,7 @@ private:
int nNumApparentCards;
int nThreedCount;
bool fVisible;
int nFlashCount;
bool fFlashVisible;
UINT uFlashTimer;
@@ -197,10 +197,10 @@ private:
UINT uDragRule;
UINT uDropRule;
//
// Stack callback support
//
//
pCanDragProc CanDragCallback;
pCanDropProc CanDropCallback;
pClickProc ClickCallback;
@@ -209,7 +209,7 @@ private:
pRemoveProc RemoveCallback;
//locking mechanism to prevent user dragging etc
HANDLE mxlock;
HANDLE mxlock;
};
#endif

Some files were not shown because too many files have changed in this diff Show More