Commit Graph

44337 Commits

Author SHA1 Message Date
Sam Toyer
3cdae65125 sem_timedwait: fix errno, return value and NULL behaviour
* Takes into account remarks from Ingo.

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-12-11 19:23:17 +01:00
Rene Gollent
154b1dd2bf Refactor DebugReportGenerator to use PrintValueNodeGraph. 2012-12-10 23:19:10 -05:00
Rene Gollent
2f50903e1d Factor out a PrintValueNodeGraph() helper from DebugReportGenerator.
- Intended to also be used by CLI to print variables there.
2012-12-10 23:18:37 -05:00
Rene Gollent
e8a837faac Fix crash in BListValueNode.
- Don't try to create children if location resolution failed.
2012-12-10 23:12:53 -05:00
Siarzhuk Zharski
0cc8d8ab3e Node monitoring and on-the-fly textencoding change
This work is based on the draft node monitoring implementation
created by Vlad Slepukhin during GCI 2012 and includes following:

* Refactoring of the document "Reload" feature - it replaces
"Revert to saved" one because do the same things and a bit more.
Looks like we have to keep "Reload" menu entry alive until
StyledEdit will get more functional Undo/Redo features. Reload
functionality is also heavily used in node monitoring and
on-the-fly text encoding changing. Fixes #6887;

* Support for text encoding on-the-fly switching. This make
life easier for those who lives in countires with multiple
popular 8-bit encodings. Russia is the sample of such
de facto standards' clash (KOI-8R vs CP1251 etc.);

* Node Monitoring support with alerting user in case the file
size or modification time were changed. Another alert is shown
in case edited file was removed or moved outside of the current
volume. Moving file inside of current volume silently changes
references. Choosing "Ignore" will supress new change alerts
until next Reload or Save user request;

* Do not nag user on quiting window with zero-length untitled
document. Not a Big Deal but annoys in some cases using this
editor session as temporary storage.
2012-12-10 16:27:53 +01:00
Alexander von Gluck IV
1d95a50e05 Haiku: Fix check of bitmap size.
* We now have basic Gallium software rendering!
* Still lots more work to do.
2012-12-10 02:37:30 +00:00
Rene Gollent
ad99f882d3 Print parameters/local variables if available..
- If debug information is present, then for each stack frame we now
  also dump all function parameters and local variables and their
  respective values, as well as their first level of children if
  applicable.
2012-12-09 16:09:15 -05:00
Rene Gollent
84a00bf887 Make string size available in value location. 2012-12-09 16:09:14 -05:00
Rene Gollent
2c32e74360 64-bit fixes. 2012-12-09 16:09:14 -05:00
Rene Gollent
13c04a36b0 Adapt VariablesView to use the ValueNodeManager. 2012-12-09 16:09:13 -05:00
Rene Gollent
c1034c63fb Pull a ValueNodeManager class out of VariableTableModel.
- The intention is to have a class which handles the actual management
  of the variable node graph, creating child nodes and such. This way
  the GUI, CLI and report generator don't have to each reimplement
  these low-level parts and can instead concentrate on their relevant
  representations thereof.
2012-12-09 16:09:12 -05:00
Matt Madia
adf4c44437 Added more {OpenGrok sites, with owner information. 2012-12-09 12:17:57 -05:00
Adrien Destugues
1c3ccf8d39 usb_floppy: handle B_GET_DEVICE_{NAME,SIZE} 2012-12-09 17:54:48 +01:00
Przemysław Buczkowski
47f015cc94 Polish default keymap change
Swapped Polish typist's keymap with much more frequently used programmer's
keymap.

Signed-off-by: Przemysław Buczkowski <przemub@yahoo.pl>
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-09 08:59:23 -05:00
Matt Madia
5644d283b6 Manually applied: Fix typos: super block -> superblock (#8974)
by: Przemysław Buczkowski <przemub@yahoo.pl>
2012-12-09 08:51:58 -05:00
Przemysław Buczkowski
46cf7a5a73 Fix typos: super block -> superblock (#8974)
Signed-off-by: Przemysław Buczkowski <przemub@yahoo.pl>
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-09 08:47:46 -05:00
Olivier Coursière
a6f39df3f7 Poorman : avoid a double free in ls method. Should fix #8617.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-09 08:38:08 -05:00
Ingo Weinhold
f0cacbb32b OptionalBuildFeatures -> BuildFeatures, make use of new rules
Got rid of X86_ONLY and friends in HaikuImage, FloppyBootImage, etc.
Instead we use build feature specification annotated lists with
FFilterByBuildFeatures (either explicitly or implicitly where passing
the list directly to the image rules).

I just translated the variables to the respective annotatation in most
cases, though in some cases different annotation would be more correct
(e.g. for the OpenGL stuff).

Provides a simple framework for addressing #3798. The interested reader
may add the build features and add/adjust the annotations accordingly.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
33c254876c ImageRules: Allow build feature annotated params in Add* rules
More precisely in the rules that take multiple targets. It doesn't make
that much sense e.g. for AddSymlinkTo*.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
ffa0014b8e MiscRule: Add new rules to deal with build features
* EnableBuildFeatures: Enables build features.
* FIsBuildFeatureEnabled: Checks whether a build feature is enabled.
* FMatchesBuildFeatures: Checks more complex build feature
  specifications.
* FFilterByBuildFeatures: Filters lists annotated with build feature
  specifications.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
a3674601c0 HelperRules: Add FSetConditionsHold
A rule to check simple element containment conditions on sets.
2012-12-09 04:07:48 +01:00
Jeremy Clifford
e01243816e Add Geforce 7900 GS to nvidia driver & accelerant. Tested with DELL U2312UM 1920x1080x32 @60Hz on gcc2hybrid nightly 44579.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-08 20:58:54 -05:00
luroh
0ce4c23d22 Bump vmx files to virtualHW.version = "6", to allow USB 2.0
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-08 20:29:05 -05:00
Janus
a154553c0b Fix #8963. Fixes Sounds focus cycling using Tab
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-08 20:21:26 -05:00
John Scipione
1eccdc25fe Increase the font size options in Terminal
Sizes range from 8 to 36 but not all sizes are represented. The
progression is not linear, the font size increases first by 1,
then 2, and finally by 4.

Works by keying command-(plus)/command-(minus) or selecting
from Font size menu, or from selecting from Font menu in Terminal
settings. If you alter the settings file to put in some other font
size it should still work, but the menu item won't be checked.

Fixes #8849
2012-12-08 15:24:21 -05:00
Alex Smith
abe053eb03 Added missing libbsd.so and a bunch of optional packages for x86_64 from scottmc. 2012-12-08 12:49:15 +00:00
Siarzhuk Zharski
6993d26c7a Revert of hrev44979 and real fix for #6453
Thanks Stefano Ceccherini for opening my eyes. ;-)
2012-12-08 09:43:56 +01:00
Vlad Slepukhin
5eb2d70fa7 Preserve font size on changing font family of selection.
This task was completed during GCI 2012
Fixes #6453

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-08 08:20:42 +01:00
Niels Sascha Reedijk
5cbd6771cd Update translations from Pootle 2012-12-08 06:41:28 +01:00
John Scipione
cce0076a72 When you change the font size, update all tabs...
on the window, not just the active tab. Also fix window resizing
with tabs open. It wasn't taking into account the height of the
tab bar.

This fixes #8108
2012-12-07 23:28:40 -05:00
John Scipione
1bb31e6473 When you set the Font size in the settings, mark the menu
Also store the font size as a string instead of an int32 in the
message, consistent with the setting window.
2012-12-07 21:00:13 -05:00
John Scipione
bfbcec141e Unify the Font menu and Font size menu into one.
The Font size menu becomes a submenu of Font so that you can set
both the font and font size at once.

This fixes #4198
2012-12-07 19:57:59 -05:00
John Scipione
9e4281adaf Make font size dropdown in settings windows work again 2012-12-07 19:57:58 -05:00
John Scipione
dc1456f662 Add font sizes to Font Size menu in addition to in settings 2012-12-07 19:57:58 -05:00
Rene Gollent
e206ff5692 Fix crash in TeamDebugger.
- TeamDebugger's destructor was assuming the report generator object
  had always been created, which might not be the case. Fixes second
  part of #9273.
2012-12-07 17:36:30 -05:00
Rene Gollent
093b89ba6e Fix uninitialized variable that could lead to crashes.
- Fixes first part of #9273.
2012-12-07 17:36:29 -05:00
Rene Gollent
f2ebf00cc2 Fix delete vs release issues in BMessageValueNode. 2012-12-07 17:36:28 -05:00
Alex Smith
dda60bf93a Added ftp to x86_64 image. 2012-12-07 11:12:14 +00:00
John Scipione
8ccd1d0386 Make the default cursor fore color white 2012-12-07 02:39:14 -05:00
John Scipione
587caece75 Revert "Make Default color scheme match default settings..."
This reverts commit 72bf9c4e48.

I fixed this the wrong way.
2012-12-07 02:35:09 -05:00
John Scipione
d2091d8876 Change the cursor from white to yellow for blue theme
matching the text color. The white was a little off.
2012-12-07 01:38:29 -05:00
John Scipione
992c7397cf Remove ugly const_cast, thanks Ingo 2012-12-07 01:08:34 -05:00
John Scipione
5ddf877be6 More style fixes, return true or false directly 2012-12-06 19:38:15 -05:00
John Scipione
72bf9c4e48 Make Default color scheme match default settings...
So that it gets selected, well, by default. Before Custom was
being selected initially.
2012-12-06 19:34:12 -05:00
John Scipione
715c56d454 Style fixes only, no functional changes intended
including converting a while loop into a for loop.
2012-12-06 19:16:04 -05:00
Dariusz Knociński
690a7f3d47 BStringList: Fix compare_private_data[ignore_case]()
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-12-07 00:24:57 +01:00
Rene Gollent
0c8935498e Fix one more case of deleting instead of reference releasing. 2012-12-06 17:59:49 -05:00
Rene Gollent
a34020ba21 A bit more fine-tuning to BReferenceable debugging.
- Rework quick stack range check as suggested by Ingo.
- If the ref count is > 1 we invoke the debugger unconditionally.
- If equal to 1, we first perform a quick heuristic check to see if the
  var might be on the stack. If we can't conclusively determine that is,
  we make certain by comparing to the thread's actual stack range.
2012-12-06 17:57:14 -05:00
Alexander von Gluck IV
cb44a2a6ef swpipe: Fix memory pointer scope issue
* Store stVisual in each context
2012-12-06 03:59:38 +00:00
Rene Gollent
969609f0ef Fix double free. 2012-12-05 20:09:59 -05:00