On 2014-10-15 22:23, pschweitzer(a)svn.reactos.org wrote:
> +/* See:
> + -> http://msdn.microsoft.com/en-us/library/ms724228
> + -> http://bos.asmhackers.net/docs/filesystems/ntfs/standard.html#layout
> + */
> +VOID
> +NtfsDateTimeToFileTime(ULONGLONG NtfsTime,
> + PLARGE_INTEGER SystemTime)
> +{
> +
> + SystemTime->QuadPart = NtfsTime + 116444736000000000;
> +}
Doesn't NTFS use FILETIME directly? I thought that's the reason it's
called "file time" in the first place. ;)
Wikipedia says
"Date range: 1 January 1601 – 28 May 60056 (File times are 64-bit
numbers counting 100-nanosecond intervals (ten million per second)
since 1601, which is 58,000+ years)"
and your link doesn't seem to disagree.
tfaber(a)svn.reactos.org wrote:
> - DbgPrint(DbgString);
> + OutputDebugStringA(DbgString);
FYI, we had OutputDebugStringA there in the first place, but I changed
it to DbgPrint in r40147.
IIRC, output from DbgPrint was directly sent to the debug port while
OutputDebugStringA buffers the data first. This is especially bad, when
a test crashes the OS and we lose several kilobytes of log data before
they are printed out.
Probably, a DbgPrint("%s", DbgString) is the better alternative here.
- Colin
Windows does. Why shouldn't we? It's a non-documented API.
Best regards,
Alex Ionescu
On Sat, Oct 11, 2014 at 1:52 AM, <tkreuzer(a)svn.reactos.org> wrote:
> Author: tkreuzer
> Date: Sat Oct 11 08:52:33 2014
> New Revision: 64658
>
> URL: http://svn.reactos.org/svn/reactos?rev=64658&view=rev
> Log:
> [NTDLL]
> Don't assert that the caller of exported APIs passes correct parameters.
>
> Modified:
> trunk/reactos/dll/ntdll/ldr/ldrapi.c
>
> Modified: trunk/reactos/dll/ntdll/ldr/ldrapi.c
> URL:
> http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrapi.c?rev…
>
> ==============================================================================
> --- trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] (original)
> +++ trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] Sat Oct 11
> 08:52:33 2014
> @@ -209,9 +209,6 @@
> /* A normal failure */
> return STATUS_INVALID_PARAMETER_3;
> }
> -
> - /* Do or Do Not. There is no Try */
> - ASSERT((Disposition != NULL) || !(Flags &
> LDR_LOCK_LOADER_LOCK_FLAG_TRY_ONLY));
>
> /* If the flag is set, make sure we have a valid pointer to use */
> if ((Flags & LDR_LOCK_LOADER_LOCK_FLAG_TRY_ONLY) && !(Disposition))
>
>
>
The ASSERT is there because of the missing functionality. Please see the
comment just above.
Best regards,
Alex Ionescu
On Sun, Oct 5, 2014 at 2:57 AM, <jgardou(a)svn.reactos.org> wrote:
> Author: jgardou
> Date: Sun Oct 5 09:57:02 2014
> New Revision: 64537
>
> URL: http://svn.reactos.org/svn/reactos?rev=64537&view=rev
> Log:
> [NTOS/MM]
> - Do not assert in case of stack overflow, just let the page fault
> handler raise STATUS_STACK_OVERFLOW
>
> Modified:
> trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
>
> Modified: trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c
> URL:
> http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pagfault.…
>
> ==============================================================================
> --- trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] (original)
> +++ trunk/reactos/ntoskrnl/mm/ARM3/pagfault.c [iso-8859-1] Sun Oct 5
> 09:57:02 2014
> @@ -82,7 +82,6 @@
> {
> /* We don't -- Windows would try to make this guard page valid
> now */
> DPRINT1("Close to our death...\n");
> - ASSERT(FALSE);
> return STATUS_STACK_OVERFLOW;
> }
>
>
>
>
Would be great to have JIRA issues associated to such fixes as well as a
test proving the change is correct. For example, are you merely assuming
that you should return "STATUS_NO_MEMORY", or do you know for a fact that
STATUS_CONFLICTING_ADDRESSES is the wrong code here?
Best regards,
Alex Ionescu
On Wed, Oct 8, 2014 at 12:38 AM, <tkreuzer(a)svn.reactos.org> wrote:
> Author: tkreuzer
> Date: Wed Oct 8 07:38:56 2014
> New Revision: 64595
>
> URL: http://svn.reactos.org/svn/reactos?rev=64595&view=rev
> Log:
> [NTOSKRNL]
> Fix a status code
>
> Modified:
> trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c
>
> Modified: trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c
> URL:
> http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c…
>
> ==============================================================================
> --- trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c [iso-8859-1] (original)
> +++ trunk/reactos/ntoskrnl/mm/ARM3/vadnode.c [iso-8859-1] Wed Oct 8
> 07:38:56 2014
> @@ -261,7 +261,7 @@
> {
> DPRINT1("Not enough free space to insert this VAD node!\n");
> KeReleaseGuardedMutex(&CurrentProcess->AddressCreationLock);
> - return STATUS_CONFLICTING_ADDRESSES;
> + return STATUS_NO_MEMORY;
> }
>
> ASSERT(StartingAddress != 0);
>
>
>
Seriously?
Am 11.10.2014 01:07, schrieb aandrejevic(a)svn.reactos.org:
> + /* Count the leading zeros */
> + while (!(Data->Mantissa & (1 << (63 - LeadingZeros)))) LeadingZeros++;
@Timo
Yes of course.. It was a fleeting idea it would be cute to run on a
computer 5x10x1 cm. ;-)
I didn't realize the ARM branch was in poor condition though.
But it stands to reason.. Porting Intel assembly to ARM assembly and
considering all the archiectural differences is/would be a gargantuan job.
Keep up the good work..
Love
On 2014-10-09 19.00, ros-dev-request(a)reactos.org wrote:
> Guys, I don't want to spoil your hopes, but native ARM support is far
> away from being usable. It doesn't even compile. There is no native ARM!
> And there won't be for ages, until we have a really knowledged ARM
> hacker, with the kernel and hardware knowledge of Alex, who would invest
> a huge lot of time into getting it up and running. So unless we want to
> hire someone fulltime for at least half a year, who would probably like
> to be paid a normal software engineer wage, which we cannot afford, we
> won't have ARM support anytime soon.
> x64 is a much more reasonable task, mostly lacking stuff in Mm.
> And that will still require a lot of work.
> And I have more than enough other things to do
On 2014-10-02 09:30, tkreuzer(a)svn.reactos.org wrote:
> -add_executable(dllimport_test
> +add_library(dllimport_test
> dllimport_framedyn.cpp)
Isn't the point of this test to check for linker errors?
A few remarks:
- There should be only one SEH, not for performance, but since the
KeyNameInfo->NameLength = 0; needs to be in SEH as well
- The function duplicates a lot of code from CmpConstructName, possibly
even incomplete
- There was already an implementation in the kernel-fun branch
Unrelated to your code, just something I spotted in that file:
- CmpQueryKeyData cannot be wrapped in SEH (it would cause reference
leaks on exception), but is wrapped in SEH in CmEnumerateKey
- CmpQueryKeyData does not use SEH, but is called with user mode
pointers from CmQueryKey
Timo
Am 29.09.2014 18:27, schrieb jgardou(a)svn.reactos.org:
> Author: jgardou
> Date: Mon Sep 29 16:27:16 2014
> New Revision: 64396
>
> URL: http://svn.reactos.org/svn/reactos?rev=64396&view=rev
> Log:
> [NTOS/CM]
> - Add NtQueryKey(KeyNameInformation) implementation.
> CORE-8581 #resolve
>
>
As PDF in Foxit Reader. But yeah ^^
Von Samsung Mobile gesendet
<div>-------- Ursprüngliche Nachricht --------</div><div>Von: Hermès BÉLUSCA - MAÏTO <hermes.belusca(a)sfr.fr> </div><div>Datum:24.09.2014 20:13 (GMT+01:00) </div><div>An: 'ReactOS Development List' <ros-dev(a)reactos.org> </div><div>Cc: </div><div>Betreff: Re: [ros-dev] Video of our ReactOS presentation online </div><div>
</div>Also, were you actually running your powerpoint presentation *in* ROS ?! :D
De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Hermès BÉLUSCA - MAÏTO
Envoyé : mercredi 24 septembre 2014 19:37
À : 'ReactOS Development List'
Objet : Re: [ros-dev] Video of our ReactOS presentation online
Wow !! 43 minuten of video ^^
H.
De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Colin Finck
Envoyé : mardi 23 septembre 2014 22:17
À : ros-dev(a)reactos.org
Objet : [ros-dev] Video of our ReactOS presentation online
Hi all,
As the question usually arises: The video of Daniel's and my ReactOS presentation at Kieler Linux Tage is online: http://youtu.be/oQsKzW_Rx3k
Do whatever you want with it ;)
This is probably the first ever ReactOS presentation held using ReactOS itself! And it worked like a charm!
We also met an author of German news site heise.de there, who wants to publish an article about the current state ReactOS soon.
Cheers,
Colin
Hello,
Let me invite you to the monthly status meeting taking place 25th of
September, 19:00 UTC. If there are any proposals regarding moving the
meeting date/time - please send them today.
IRC service will only be started shortly before the meeting. Your
participation passwords and server address will be emailed to you
shortly before the meeting starts, and they are going to be different
once again as they are not stored in any database. Hopefully it's not
much of inconvenience.
If someone still is not getting passwords sent before a meeting - please
email Pierre before the meeting started to get one.
Please send agenda proposals to me before the meeting, so that we can
start with a proposed agenda.
Proposed agenda points so far:
- Agile missing in Jira (looks like an incompatible version)
- new on-demand builders (Clang, VC, x64, arm, branch, patch)
- testbot on a win 2003 machine
Let me know if any of those is already resolved. Thanks!
Regards,
Aleksey Bragin
Am 17.09.2014 11:54, schrieb jgardou(a)svn.reactos.org:
> Author: jgardou
> Date: Wed Sep 17 09:54:14 2014
> New Revision: 64176
>
> URL: http://svn.reactos.org/svn/reactos?rev=64176&view=rev
> Log:
> [GDI32]
> - Fix up values got from win32k in GetOutlineTextMetrics and do not fail if the provided buffersize is only sizeof(OUTLINETEXTMETRICW).
> CORE-8507 #resolve
>
> Modified:
> trunk/reactos/win32ss/gdi/gdi32/objects/font.c
>
> Modified: trunk/reactos/win32ss/gdi/gdi32/objects/font.c
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/objects/…
> ==============================================================================
> --- trunk/reactos/win32ss/gdi/gdi32/objects/font.c [iso-8859-1] (original)
> +++ trunk/reactos/win32ss/gdi/gdi32/objects/font.c [iso-8859-1] Wed Sep 17 09:54:14 2014
> @@ -9,8 +9,19 @@
>
> #include <precomp.h>
>
> +#include <math.h>
> +
> #define NDEBUG
> #include <debug.h>
> +
> +/* Rounds a floating point number to integer. The world-to-viewport
> + * transformation process is done in floating point internally. This function
> + * is then used to round these coordinates to integer values.
> + */
> +static __inline INT GDI_ROUND(FLOAT val)
> +{
> + return (int)floor(val + 0.5);
> +}
roundf() is the appropriate function here. The older MS crt headers
don't have the *round*() functions, but VS 2013 headers seem to have
them (according MSDN).
I propose adding them inside some #ifdef, instead of reimplementing them
in different places.
For the other functions: strange coding style. Is this taken from wine?
Hi,
I'd like to propose some topics for the next meeting:
- Agile missing in Jira (looks like an incompatible version)
- new on-demand builders (Clang, VC, x64, arm, branch, patch)
- testbot on a win 2003 machine
Timo
Awesome stuff!
Am 11.09.2014 22:55, schrieb jgardou(a)svn.reactos.org:
> Author: jgardou
> Date: Thu Sep 11 20:55:42 2014
> New Revision: 64121
>
> URL: http://svn.reactos.org/svn/reactos?rev=64121&view=rev
> Log:
> [KDGDB]
> - introduce KDGDB, a KDCOM-like DLL, wrapping the KD protocol and the GDB remote protocol together.
> It is not fully functional, but for now it permits source-level debugging in some modules. More will be added as I feel the need and find the time to work a bit more on it. (That is, unless an angel comes and resume the work)
> To use it, set GDB and _WINKD_ to TRUE in your CMakeCache.txt. Using separate debug symbols is also a good idea.
>
>
while(1); is not really a good solution. It should be something that is
visible in GDB.
But I fear that a KeBugCheck() won't work here, since it will rely on a
working KD connection.
Maybe a KD_ASSERT() macro, that calls KdAssert() on failure or
something, resets the GDB connection somehow, issues a debug print and
then halts.
Am 12.09.2014 22:23, schrieb jgardou(a)svn.reactos.org:
> Author: jgardou
> Date: Fri Sep 12 20:23:08 2014
> New Revision: 64127
>
> URL: http://svn.reactos.org/svn/reactos?rev=64127&view=rev
> Log:
> [KDGDB]
> - Add a callback mechanism permitting to "simulate" KD send <-> receive loop without having to actually communicate to GDB
> - Use that to update the program counter when cont'ing a breakpoint
> Now cont'ing an assertion failure is possible, since we actually get beyond the int 3 instruction
>
> Modified:
> trunk/reactos/drivers/base/kdgdb/gdb_input.c
> trunk/reactos/drivers/base/kdgdb/kdgdb.h
> trunk/reactos/drivers/base/kdgdb/kdpacket.c
>
> +)
> +{
> + DBGKD_MANIPULATE_STATE64* State = (DBGKD_MANIPULATE_STATE64*)MessageHeader->Buffer;
> +
> + /* We just confirm that all went well */
> + if ((PacketType != PACKET_TYPE_KD_STATE_MANIPULATE)
> + || (State->ApiNumber != DbgKdSetContextApi)
> + || (State->ReturnStatus != STATUS_SUCCESS))
> + {
> + /* Should we bugcheck ? */
> + while (1);
> + }
> +}
> +
> +static
> +KDSTATUS
> +SetContext(
> + _Out_ DBGKD_MANIPULATE_STATE64* State,
> + _Out_ PSTRING MessageData,
> + _Out_ PULONG MessageLength,
> + _Inout_ PKD_CONTEXT KdContext,
> + _In_opt_ KDP_MANIPULATESTATE_HANDLER ManipulateStateHandler
> +)
> +{
> + State->ApiNumber = DbgKdSetContextApi;
> + State->Processor = CurrentStateChange.Processor;
> + State->ReturnStatus = STATUS_SUCCESS;
> + State->ProcessorLevel = CurrentStateChange.ProcessorLevel;
> + MessageData->Length = sizeof(CurrentContext);
> +
> + if (MessageData->MaximumLength < sizeof(CurrentContext))
> + {
> + while (1);
> + }
> +
>