Hi,
Does anyone know how to search for issues older than 1 year or something
like that?
According to https://jira.atlassian.com/browse/JRA-1983 it should be
possible, but Icouldn't figure out how to.
Timo
Why the removal of the do/while loop?
This breaks the macro when used without braces :
+#define SepReleaseTokenLock(Token) \
+ ExReleaseResource(((PTOKEN)Token)->TokenLock); \
+ KeLeaveCriticalRegion(); \
+
<snip>
-#define SepReleaseTokenLock(Token) \
- do { \
- ExReleaseResource(((PTOKEN)Token)->TokenLock); \
- KeLeaveCriticalRegion(); \
- while(0)
<snip>
/* Release the lock if we had acquired it */
+ if (!TokenLocked) SepReleaseTokenLock(Token);
Hi,
I'd like to invite every developer to make use of the Jira planning
feature. For those, who are not yet familiar with it here's a an explantion.
In the blue Jira menu bar you'll find an item called "Agile". Click on
that to get to the planning boards.
First time users will be asked to either choose between Scrum or Kanban.
Select Scrum.
Then you will be asked to select a dashboard or create one. You can
simply choose "Scrum Board" from the dropdown list, this one should be
fine. You can later create your own board, if you like.
Now you will see 3 buttons on the right-hand side below the menu bar:
"plan", "work" and "report"
First select "plan"
On the top you can see the current "sprint", which is the next planned
period. We currently have one sprint for September. We can create
multiple sprints and periods are as we want them. I think one month is
reasonable.
Under the sprint you can see the issues that are selected for this
sprint, i.e. supposed to be tackled in that period. Currently only
project administrators can create sprints, but every developer can move
items there. To remove an item from the sprint, you need to click on it,
so it gets highlited, then open the menu with the gear wheel icon in the
issue description on the right and select "Remove from sprint".
Below you see the backlog (all open issues). Since the list is quite
huge, you can limit it to your own issues, by pressing the "Only my
issues" filter button. (Note this one works like a pushbutton, click it
once to enable, again to disable. Maybe Amine can make them look more
like that by adding a highlite color)
On the righ-hand side, you see a box that shows the currently selected
issue.
Now you can drag and drop issues from the backlog into one of the
sprints. So if you plan to work on a specific issue in September, just
drag it into sprint 1.
Now select "work"
Here you can see the so called "swim lanes". In the default Scrum Board
they are configured per Developer. So you see every developer that has
active issues in the current sprint(s). You can open and close the swim
lanes to see the issues. And you can again select "Only my issues".
The board has 3 columns: "To do", "In Progress", "Done". All issues that
you selected for the current sprint will initially be in the "To do"
column. When you work on an issue, simply drag it over to the "In
Progress" column. When you fixed it, drag it to "Done". When dragging
them the target column will be highlited in green. The "Done" column
will show you 2 fields when dragging an item there: one for resolve, one
for close. When you dragged them to close, you'll see a confirmation
dialog, where you can enter additional stuff and then confirm it.
Have fun
Timo
Hi,
I am pleased to announce the long awaited (or absolutely surprising)
release of PSEH3.
This complete from scratch rewrite takes reactos exception handling to a
new level. It comprises the following advancements:
- Use of enums instead of const variables for internal trylevel counting
and other mechanisms. enums can be declared in a nested manner as well
and only enums are treated by gcc as full compile time constants, while
const variables are treated as dynamic and are only optimized away by
the compiler later. This generally results in better optimized code.
- No more use of dynamic sized arrays. Those make the compiler emit a
slow call to _chkstk. It could have been prevented in PSEH2, if enums
had been used instead of consts. The new code uses the same registration
frame for the top level and nested levels, which also simplifies the code.
- No more use of nested function stack trampolines. These are small code
chunks that are being dynamically put on the stack, when the address of
a nested function is taken. The address of the nested function then
points to this trampoline, which sets up a pointer for nested variable
access (nested function can access variables in the parent frame). These
were parsed by PSEH2 to calculate the neccessary nested frame pointer.
PSEH3 uses a static scope table instead that contains the address of the
nested function. this is only possible by first declaring the function
and putting the implementation after the address is stored in the static
table. This is because nested functions that do not access any variables
in the parent frame do not need a stack trampoline and their addresses
are thus considered compiler constants. GCC doesn't notice that a nested
function uses variables of the parent frame, before the function is
actually implemented, so with only a prototype, it assumes a constant
address. To get the value of the parent frame pointer, PSEH2 calls the
nested function 2 times: The first time with a bogus frame pointer and a
parameter that tells the function to return the (assumed) address of the
current registration frame. Without a proper parent frame pointer the
nested function will return an offset that we can use together with the
real address of the registration frame (which we know, when calling the
filter of finally functions) to calculate the proper parent frame
pointer. The 2nd call passes a different parameter and allows the
function to do the actual work and access variables in the parent frame.
- Improved performance due to use of "asm goto". This construct allows
to get away with having labels, that are never accessed by any C code.
The compiler doesn't remove them. So we do not need the old hack, of
comparing a "volatile" 0 against 0, just to confuse GCC to not optimize
away a label. Even though there is a bug/defficiency/limitation in asm
goto, that would usually not allow the combination with static C jump
labels, we can still do that due to some tricks that force GCC to do the
right thing. More information:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51840
- Improved performance due to faster registration. The new registration
code is smaller and saves only esp and ebp. Due to some tricks in PSEH3,
GCC is forced to assume all registers are being clobbered when the
__except block is run. Filter function and __finally function don't make
use of registers from the previous code. So all neccessary register save
and restore is now fully done by GCC.
- The trick to make GCC assume all registers are clobbered at the
beginning of the __except block has one additional huge advantage. Now
all variables that are accessed by the __except block will be stored in
memory locations, so that modifications in the __try block will be
available in the __except block, something that doesn't work with PSEH2.
This does not prevent the compiler from doing constant expression
elimination! So when you try to do 2 different, constant assignments to
a variable in the __try block, expect that this will be reduced to only
the later assignment. GCC does not know, that the execution can be
interrupted in the middle of the __try block between those 2
assignments. If you need such stuff, you must use a volatile variable.
- Less stack usage. PSEH3 stores much less data on the stack. No
trampolines, only esp and ebp are saved, registration frames are smaller.
- No more need for _SEH2_YIELD(). This macro was used to make sure the
registration frames are properly unregistered, when leaving the try or
except block using goto or return. This is not neccessary anymore due to
the use of __attribute__((cleanup)). This attribute is attached to the
registration frame and causes the cleanup function to be called
automatically, whenever the variable goes out of scope. This happens
when a goto or return is used in the code.
- Human readable warnings, when special SEH instriniscs, like
_exception_info() or _abnormal_termination() are used outside of their
valid context.
- Cleaner and better readable code, so you won't get braindead, when
trying to figure out what's going on. Header: < 300 lines commented
code, instead of 370 lines uncommented code, lib: < 250 lines of
commented C code + < 70 lines commented asm code, instead of 290 lines
of uncommented C code + 120 lines uncommented asm code)
I also promised Amine to take a look into implementing a version that is
compatible with clang. Initially I planned to include this into this
release, but it turns out that clang massivley lacks features to do so
and a completely different approach will probably be used for that.
The new code is only compatible with GCC 4.7 and later, and it's also
currently disabled (cmake option USE_PSEH3).
Tesbot showed no noticable regressions.
Have fun.
Timo
Hello,
I turned off Bugzilla now in favor of finishing the switch to JIRA.
Once the work is done, I will announce either return to Bugzilla or
introduce JIRA.
Hopefully, it'll be the latter option.
Best regards,
Aleksey.
This commit breaks msvc compilation.
Best regards
----- Original message -----
From: buildbot(a)reactos.org
To: caemyr(a)myopera.com
Subject: buildbot failure in ReactOS on CMake_x86_MSVCWin Debug
Date: Tue, 04 Sep 2012 03:10:09 +0000
The Buildbot has finished a build on builder CMake_x86_MSVCWin Debug
while building ReactOS.
Full details are available at:
http://build.reactos.org/builders/CMake_x86_MSVCWin%20Debug/builds/1908
Buildbot URL: http://build.reactos.org/
Buildslave for this Build: Windows_AMD64_1
Build Reason: scheduler
Build Source Stamp: 57233
Blamelist: cgutman
BUILD FAILED: failed building bootcd
sincerely,
-The Buildbot
--
With best regards
Caemyr
Currently, we experience random crashes in 2nd stage. I was unable to
catch any first exception bar the one with vmware detection code (which
is outdated and should be removed).
After forcing build again, test run failed at Cleanup, due to
previously unresolved issue of repeating whole testrun when crash
occurs in APItests.
On Mon, Sep 3, 2012, at 10:21 AM, buildbot(a)reactos.org wrote:
> The Buildbot has finished a build on builder Windows_AMD64_1 VBox-Test
> while building ReactOS.
> Full details are available at:
> http://build.reactos.org/builders/Windows_AMD64_1%20VBox-Test/builds/6496
>
> Buildbot URL: http://build.reactos.org/
>
> Buildslave for this Build: Windows_AMD64_2
>
> Build Reason: The web-page 'force build' button was pressed by 'osiejka':
>
> Build Source Stamp: 57227
> Blamelist:
>
> BUILD FAILED: failed Cleanup
>
> sincerely,
> -The Buildbot
>
--
With best regards
Caemyr