Commit Graph

38565 Commits

Author SHA1 Message Date
John Scipione
9c840df052 Woops, I meant == not = 2013-01-19 13:17:48 -05:00
John Scipione
a8f3c5a8fb Style fixes only 2013-01-19 13:17:47 -05:00
John Scipione
840476e1cb Rename SetFamilyAndStyle variable to code matching the header and BeBook. 2013-01-19 13:17:47 -05:00
John Scipione
c969b46240 Put comments in methods, only description line outside 2013-01-19 13:17:46 -05:00
John Scipione
1f7ff051a7 Style updates and remove docs from cpp file 2013-01-19 13:17:46 -05:00
John Scipione
5df9097a4e Use stop alert icon if can't find translator 2013-01-18 16:52:10 -05:00
Jerome Duval
4a9b48c1c5 ps2 and pci: remove debugger commands on uninit of modules 2013-01-18 21:34:53 +01:00
Janus
02d04a7664 Fix #9330. Notifications Window is always inside the screen
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:58:09 +01:00
Julian Harnath
23bfcc5517 Fix MixerInput overflow
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:51:17 +01:00
Janus
d45cd469ef Fix #9302. The selection is calculated properly after a list insertion (AddList with index)
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:46:16 +01:00
Dancsó Róbert
fee1677630 Added localization support for Haiku Multi Audio media addon.
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:32:08 +01:00
Przemysław Buczkowski
89b48debc2 Correct errno return in link() function (bug #8770)
* edited as pointed by Axel
2013-01-18 20:00:26 +01:00
Jerome Duval
4280f862ec Fixed style issues, as pointed by Axel 2013-01-18 19:43:20 +01:00
Siarzhuk Zharski
20cbdcd166 StyledEdit::StatusView:No stretching for pos cell only 2013-01-18 16:16:26 +01:00
Siarzhuk Zharski
ad834f7320 StyledEdit:EncodingMenu: autodetect on root menu entry 2013-01-18 16:16:19 +01:00
Siarzhuk Zharski
29155ba4de StyledEdit::StatusView: prevent duplicating context menu 2013-01-18 16:16:11 +01:00
Siarzhuk Zharski
8a85cd4ce8 StyledEdit::StatusView Encoding context menu implemented 2013-01-18 16:16:03 +01:00
Siarzhuk Zharski
3c7eaf396c Truncate background image name in multibyte-aware way 2013-01-15 12:56:17 +01:00
Jerome Duval
2856aca93f pcnet: adapted glue.c with le driver changes
* the driver doesn't crash anymore, but only sends a few packets
2013-01-15 00:08:21 +01:00
Jerome Duval
db3f8e227b bus_read_region_1: implement with bus_space_read_region_1 2013-01-15 00:08:21 +01:00
John Scipione
c5d129a27a Style changes only 2013-01-14 15:16:51 -05:00
John Scipione
74a0eef547 Cleanup, no functional change 2013-01-14 15:16:51 -05:00
Przemysław Buczkowski
dc871e324d TextView:Cmd/Ctrl-Home/End Shift-selection support
Fixes #6859

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2013-01-14 21:10:21 +01:00
John Scipione
075d3e60f4 Update Deskbar preferences to use tabs instead of listview 2013-01-14 14:24:42 -05:00
Axel Dörfler
06d477cd64 ipv6: added missing put_interface() call.
* Thanks to Stefano for pointing this out!
2013-01-14 12:15:14 +01:00
Przemysław Buczkowski
b4fdcd5e54 Truncate Background image name to avoid layout problem
Fixes #7406

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2013-01-13 20:49:44 +01:00
Fredrik Modéen
fef016caf6 Adding more debug info to bluetooth.
* more changes will come.
2013-01-12 20:01:31 +01:00
Alexander von Gluck IV
7657c0acde swpipe: Refactor llvm build dependencies
* Little cleaner now taking advantage of
  the fact that Jam ignores unmatched
  dependencies. Thanks Urias for the idea!
2013-01-11 11:06:01 -06:00
Alexander von Gluck IV
414ba3b2a3 swpipe: Make swpipe properly use llvm
* It should build now for most gcc4 folks
* Not in image yet
* Still is kind of crashy
2013-01-11 00:44:51 -06:00
Landon Fuller
4b5a13ab81 Add Haiku support.
This replaces the use of a few BSD-specific functions, as well
as the direct references to _open/_close et-al.

BFS doesn't support the FTS_NOSTAT directory link count optimization,
and no statfs() function is available, so we simply turn that off.
2013-01-11 00:26:48 +01:00
Landon Fuller
7de6d45ca2 Drop in unmodified fts/ftw implementations from FreeBSD HEAD (r245067). 2013-01-11 00:26:47 +01:00
Jerome Duval
bf4355a48e freebsd network compat layer: fix for hrev45146
* MTX_DEF is the default type: it shouldn't be tested against but used
  as the default type.
2013-01-10 23:54:19 +01:00
Jerome Duval
4f5a4183de freebsd network compat layer: a mutex type is actually a bitmap
* should fix #9368
2013-01-10 23:03:56 +01:00
Jerome Duval
af5a895fa4 ralinkwifi: takes rt2860 into account, untested
* remove ralink2860 driver
* added firmware for RT2860, get it onto the image
* added interrupt handler case for rt2860 devices.
2013-01-10 21:40:49 +01:00
Siarzhuk Zharski
c7087c9183 Implement "be:caret_position" document file attribute.
* Use "be:caret_position"document file attribute instead of
  "be:line" and "be:selection_{length|offset}" file attributes;
* Fixed code style violations. Thanks to Axel for pointing it out!
2013-01-09 21:51:33 +01:00
Adrien Destugues
2b67e9a3a7 Merge changes from Fonzoterm :
- Report the terminal as xterm-color instead of just xterm, since we handle that fine.
 - Tweak the SGR handler a bit to use bright rather than bold in some cases
 - Change the color palette so the result is still readable (white on white doesn't work so well) with the default colorscheme.
2013-01-09 19:56:26 +01:00
Jérôme Duval
713f1b8c05 added rdc driver based on vte FreeBSD driver
* built as is.
* untested, some interrupt handler changes might be needed.
2013-01-08 22:45:31 +01:00
Jerome Duval
d997b26243 ipro1000: Haiku changes to have it compiled again.
* a lot of gcc2 specific changes...
2013-01-08 22:45:31 +01:00
Jérôme Duval
648db7333e Update FreeBSD network drivers with the 9.1 release 2013-01-08 22:45:30 +01:00
Alexander von Gluck IV
82ee340110 virtualmemory: Fix wording of auto swap management
* Fixes #9136
* Setting this also assumes the boot partition.
* "Automatic swap management" is more generalized
2013-01-07 23:54:22 +00:00
Stefano Ceccherini
e4a05be459 Use close_module_list() to free the list.
There are a pair of Coverity CIDs for these two.
2013-01-07 21:17:52 +01:00
Dancsó Róbert
fc11b68310 Corrected system name translation.
Signed-off-by: Humdinger <humdingerb@gmail.com>
2013-01-07 19:47:04 +01:00
Humdinger
6dc9cf7480 Forgot the signature change in Chart's Jamfile... 2013-01-07 17:54:06 +01:00
Dancsó Róbert
7ca7486f06 Corrected system name translation.
Signed-off-by: Humdinger <humdingerb@gmail.com>
2013-01-07 17:45:42 +01:00
Dancsó Róbert
0556919cd7 Corrected system name translation.
Signed-off-by: Humdinger <humdingerb@gmail.com>
2013-01-07 17:45:30 +01:00
Humdinger
41b920bce2 Reordered includes, removed unneeded comment 2013-01-07 11:32:34 +01:00
Humdinger
f92bcd1938 Sentence casing, improved alert text, buttons, ESC shortcut 2013-01-07 11:21:37 +01:00
Dancsó Róbert
7c17855919 Added localization support for Playground app.
Signed-off-by: Humdinger <humdingerb@gmail.com>
2013-01-07 11:05:23 +01:00
Alexander von Gluck IV
042344329e radeon_hd: Improve displayport support
* Modified patch submitted by Bill Randle.
* DisplayPort aux communications now working.
* DP Link Training still not functioning properly.
* The DP edid data isn't used yet as we still use
  the vesa edid during the mode setting.
2013-01-06 20:25:41 -06:00
Humdinger
45f77dcd70 Renamed Tracker option "Don't move files to Trash" (#9352)
Renamed that option as it is the only negatively phrased to
"Move deleted files to Trash first" and also the option below
that to "Ask before deleting for good".
Also renamed every function name etc. in that regard and also
settings string of the Tracker settings file.
2013-01-06 20:04:07 +01:00
Michal Siwek
c0bc9998d1 Add MIME type for XAR archives (GCI work) 2013-01-06 17:48:38 +01:00
Rene Gollent
dcce0a030b Adapt x86-64 to also use udis86-based instruction analysis. 2013-01-06 11:43:41 -05:00
Rene Gollent
59fcd81013 Return an error if no frames were created. 2013-01-06 11:42:58 -05:00
Jerome Duval
89deb8f273 Flurry screensaver: fix signature for consistency with others 2013-01-05 15:58:34 +01:00
Sergei Reznikov
7f4d1af49d Compilation fixes for x86_64.
Added quite a few missing components to image:

alert arp bc CortexAddOnHost

CDPlayer CharacterMap DeskCalc
Devices DiskUsage Expander LaunchBox MediaConverter NetworkStatus
PoorMan Pulse Screenshot ShowImage SoundRecorder TV Workspaces

DataTranslations Media Printers ScreenSaver

BSnow Cortex FontDemo OverlayImage Pairs

cddb_daemon midi_server power_daemon print_server print_addon_server

Canon LIPS3 Compatible Canon LIPS4 Compatible Gutenprint
PCL5 Compatible PCL6 Compatible PDF Writer PS Compatible

libgame.so libmedia.so

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
2013-01-04 18:45:22 +00:00
Stefano Ceccherini
7845676a3e Merge branch 'master' of ssh://git.haiku-os.org/haiku 2013-01-04 00:07:38 +01:00
Stefano Ceccherini
7e75e564f8 Use av_alloc_put_byte() instead of ffio_init_context() since the
latter expects an already allocated AVIOContext.
BeScreenCapture works again, and should fix also #8299.
2013-01-04 00:04:17 +01:00
Hamish Morrison
a0e655bff1 Fix BWindow::DecoratorFrame for top-titled windows.
Also take into account the border width for the edge with the title.
Fixes #8614.
2013-01-03 20:11:03 +00:00
Matt Madia
1565964a11 Show Installer on all workspaces when Tracker isn't running.
This applies to the EULA window as well. Addresses #9287:comment:5
2013-01-03 08:26:20 +00:00
Matt Madia
87d333ee13 Make the EULA and Installer appear on all workspaces.
Fixes #9287
2013-01-02 11:34:09 +00:00
Matt Madia
630404be03 Automatic white space cleanup. No functional change. 2013-01-02 11:33:14 +00:00
Matt Madia
db41683495 Automatic whitespace cleanup. No functional change. 2013-01-02 10:11:56 +00:00
Matt Madia
364389a057 Make ReadOnlyBootPrompt visible on all workspaces. Fixes #8003 2013-01-02 09:07:13 +00:00
Rene Gollent
ec26975575 Disable populating return values onto the variable list.
- Still needs some work with respect to false positives in the most
  recent code, as well as the missing bits for PIC.
2013-01-01 16:12:50 -05:00
Humdinger
612ab97918 Re-arranged tabs
Pu the tabs back in the order it used to be. "Fonts" and "Colors"
are probably changed more often than "Look and feel".

Also re-arranged a few lines of code to reflect that order and sorted
the includes.
2013-01-01 17:44:25 +01:00
Rene Gollent
5745a40dd1 Rework how return values are handled.
- ArchitectureX86 now hands off the work for GetInstructionInfo() to
  DisassemblerX86, since the latter has all the information we need
  to properly classify and evaluate instructions. Correspondingly a
  CpuState is passed down to it in order to perform address calculations
  for the instruction if it's a jump or call instruction. The latter's
  targets are then stored on the thread for later retrieval when
  constructing a stack trace. Adjust X86_64 accordingly for the
  signature changes. This also fixes a bug where Step Over would
  sometimes result in a Step Into instead due to the previous
  implementation of GetInstructionInfo() occasionally failing to
  classify call instructions correctly.

- Architecture::CreateStackTrace() now takes an argument specifying
  the address of the last executed function if applicable. This is used
  to decide who/where to decode a return value from. Adjust callers.

- DwarfImageDebugInfo::_CreateReturnValue() uses the above information
  in order to know directly who the caller it needs to look up a return
  value for is, rather than trying to walk backwards to find them.
  Type resolution is now also a bit more sophisticated due to various
  cases where the subprogram entry didn't directly contain the return
  type but referred to another DIE that did. Retrieving return value
  now appears to work properly in all cases except when position
  independent code is involved. The latter however will require
  resolving the appropriate function address in the PLT, which will
  need some additional work.
2012-12-31 23:02:24 -05:00
Rene Gollent
bdbbc10b44 Thread now also tracks the address of the last executed function. 2012-12-31 22:52:34 -05:00
Rene Gollent
cf2e209b2d More improvements to return value handling.
- Thread now has a data member indicating if a subroutine was
  executed during the last set of steps.
- ThreadHandler now sets the aforementioned state appropriate during
  Step Over/Step Out.
- Architecture::CreateStackTrace() now takes a parameter indicating
  whether return value retrieval is desired (based on aforementioned
  thread value). Adjust callers accordingly.
- DwarfImageDebugInfo: If return value retrieval is requested, loop
  backwards from the current IP to find the call instruction.
2012-12-31 20:25:11 -05:00
Rene Gollent
f733c6031a Initial implementation of _GetReturnValue().
- Look at the destination of the subroutine instruction and try to
  resolve it to a function. Currently only handles functions whose
  destination are within the same image.

- If found, look up debug info for the target function. If available,
  determine if it returns a value. If so, construct an appropriate
  placeholder variable and add it to the frame's variable list.
2012-12-31 20:25:11 -05:00
Rene Gollent
c7ca91ffd3 Add helper functions for creating return value variables. 2012-12-31 20:25:10 -05:00
Rene Gollent
dc693e9265 Extend Architecture to help retrieve return values.
- Architecture now has a new function to retrieve the location where
  a return value can be found. Added implementation for x86 and stub
  for x86-64.
2012-12-31 20:25:09 -05:00
Rene Gollent
84ea02a0f4 Extend InstructionInfo for subroutines.
- InstructionInfo now also stores the destination address of subroutine
  call instructions.
- Adjust callers.
2012-12-31 20:25:09 -05:00
Rene Gollent
9ede3c06e8 Add ReturnValueID base type. 2012-12-31 20:25:08 -05:00
Murai Takashi
eed38dfa96 Fix initializing fClockSettingFile.
Signed-off-by: Rene Gollent <anevilyak@gmail.com>
2012-12-31 20:23:26 -05:00
Alexander von Gluck IV
e71af5ae6c intel_extreme: Add RC6 downclocking support
* Generation 6 (SandyBridge) and later support
  automatic downclocking of the GPU offering
  substantial battery use reductions.
* As we're playing with fire here, only use on
  mobile devices SandyBridge or later.
* This is testing stable on my SandyBridge laptop,
  however I need further confirmation of the
  functionality of this.
* Move clock gating into a function in the power.cpp
  file
2012-12-31 16:35:22 -06:00
François Revol
87466cc915 ftp: remove sa_family_t hack
We now declare sa_family_t as mandated by POSIX.
2012-12-31 15:38:31 +01:00
Stefano Ceccherini
1797be0dc6 Some style fixes. 2012-12-31 12:21:25 +01:00
Tri-Edge AI
8cd10c710f Gravity: Big code changes
* Reworked code style completely.
* Improved the behaviour of the particles.
* Made particles smaller (2,5x performance gain).
* Cleaned unnecessary includes.
* Tried improving performance with glCallList - performance dropped even more.
* Tried improving performance with glDrawArrays - no noticeable performance changes.
2012-12-31 07:42:51 +00:00
Humdinger
776c58b2b5 Unifying the quit/save alerts.
Wherever I found an alert prompting to save changes, I used the
button labeling 'Cancel', 'Don't save', 'Save' with the first button
left aligned, 2nd and 3rd right aligned.

I added the shortcuts 'd' for 'Don't save, and 's' for 'Save' where
not already set.

The topic was discussed at
http://permalink.gmane.org/gmane.os.haiku.devel/23244
The discussion died down, I hope I made changes everyone can live with.
2012-12-30 20:32:04 +01:00
Matt Madia
cb6daa41db Replace isometric toolbar icons with 2D style.
The icons are from ZuMi : http://zumi.xoom.it/myhaiku/btoolbar/index.html
Closes #9292
2012-12-30 10:19:19 -05:00
threedeyes
a52b9419e7 Apply patch by dsjonny from ticket #9339: Localization for ICNS Translator 2012-12-30 04:32:44 +00:00
threedeyes
27ca4ba2ad Gravity: Disable warnings for gcc2 build. 2012-12-30 03:59:25 +00:00
Alexander von Gluck IV
48ec1c9d22 intel_extreme: Enable IvyBridge PCI ID's 2012-12-29 00:09:01 +00:00
Rene Gollent
bd26704e42 Use minimal frame info optimization in a few more places. 2012-12-28 22:23:06 -05:00
Alexander von Gluck IV
59b18b8836 intel_extreme: Disable IvyBridge
* Prevent driver from picking up IvyBridge
  for the moment. (VESA works for the moment)
* We get a white screen of doom. Looks as though
  supporting IvyBridge will require more than
  just basic fixups.
2012-12-28 19:01:06 +00:00
Alexander von Gluck IV
881a823e8a intel_extreme: Improve accelerant tracing and debug output
* Several messages to syslog weren't tagged with
  intel_extreme making troubleshooting difficult
* Fix a few typesize printf issues with B_PRI macro
2012-12-28 19:01:05 +00:00
Alexander von Gluck IV
783039344d intel_extreme: Fix tracing toggle names 2012-12-28 19:01:03 +00:00
Alexander von Gluck IV
d1043dfa07 intel_extreme: Add IvyBridge fixups
* Add initial clock gating fix (may need tweaking)
2012-12-28 19:01:02 +00:00
Alexander von Gluck IV
50efc4c719 intel_gart: Add IvyBridge bridge info 2012-12-28 19:01:00 +00:00
Alexander von Gluck IV
bb2de8c7dd intel_extreme: Add missing IB Server GT2. Thanks premislaus. 2012-12-28 19:00:59 +00:00
Alexander von Gluck IV
5176bea376 intel_extreme: Improve tracing
* This was needed to find a bug while
  working on IvyBridge support.
* Code looks a bit cleaner as well now.
* If something goes wrong, user is now
  better notified via syslog
2012-12-28 19:00:57 +00:00
Jérôme Duval
ef769e5e87 add declaration of sa_family_t in sys/socket.h
* added missing declaration of sa_family_t in sys/socket.h, this fixes #8731
  thanks to Anarchos for the patch.
* fixed the build of the command ftp
2012-12-28 22:28:13 +01:00
Gleb Posobin
9d2f78ca74 Added Grep utility to the OptionalPackages
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-12-28 19:58:34 +01:00
Hamish Morrison
d1f280c805 Add support for pthread_attr_get/setguardsize()
* Added the aforementioned functions.
* create_area_etc() now takes a guard size parameter.
* The thread_info::stack_base/end range now refers to the usable range
  only.
2012-12-28 18:02:58 +00:00
Jérôme Duval
00e7904406 include string.h for FD_ZERO in sys/select.h
* sys/select.h was not self contained before, this fixes #9327
* index is defined as a function in string.h, fixed resulting name
  collision in glut_shapes.c
2012-12-28 18:30:03 +01:00
Alexander von Gluck IV
d917edcecd gravity: Fix path in Jamfile. Fix build 2012-12-27 17:35:48 -06:00
Alexander von Gluck IV
93f124253a screensaver: Add gravity based on GCI 2012 work
* A modified version of TriEdgeAI's original work.
* Cleaned up style problems
* Some virtual functions didn't mesh properly with
  ones defined in the OpenGL kit (Draw for example)
* Wrote Jamfile
* Add missing include cstdlib for rand
* Not in image yet as it still needs gcc2 testing
2012-12-27 16:40:47 -06:00
Alexander von Gluck IV
f736d30c9c intel_extreme: Drop odd semicolon causing gcc warnings 2012-12-26 11:01:47 -06:00
Alexander von Gluck IV
660ca29ee0 intel_extreme: Add IvyBridge PCIID's
* This needs testing and likely some IvyBridge
  fixups
2012-12-26 11:01:43 -06:00
Humdinger
e55f69faf9 Use "Revert" instead of "OK" as button label. 2012-12-26 11:07:39 +01:00
Humdinger
c6cd8df773 Correct case in GUI string. 2012-12-26 11:02:51 +01:00
Rene Gollent
bc1ec2ec41 Initial work towards retrieving function return values.
- When creating a stack frame, we now look at the current function's
  state to determine if the last executed statement was a function call.
  Still need to determine the call destination in order to look up
  the latter function, retrieve its return type, and then request
  retrieval of the actual return value if applicable.
2012-12-26 00:21:06 -05:00
Rene Gollent
1167ae5274 Some optimizations for ThreadHandler.
- CreateStackTrace() now takes a parameter indicating whether or not
  to try and retrieve full frame information. This in turn is passed
  on to SpecificImageDebugInfo, where e.g. DwarfImageDebugInfo can
  use it to avoid constructing variables and parameters. This is
  used by ThreadHandler since, when it requests the top frame for
  its stepping  calculations, this additional data/work is completely
  unnecessary.
2012-12-26 00:20:33 -05:00
Rene Gollent
50bd564d06 Fix crash issue with some cases of template types.
- If a template type parameter resolves to a void type, gcc doesn't
  actually generate a type attribute for the instantiation, leading
  to a crash in CreateType(). Was observable with MemoryDeleter and
  others.
2012-12-25 16:57:15 -05:00
Philippe Saint-Pierre
a74c82b977 Tracker: Drawing issues in dragBitmap (#8005)
Remove rounding issues in height calculation leading to drawing issues when using some font sizes.
2012-12-25 16:28:18 -05:00
Philippe Saint-Pierre
9abf41a7fe Mail: remove un-intended debugging code committed 2012-12-25 14:43:02 -05:00
Philippe Saint-Pierre
5eea8a566d Mail: coding styles fixes. should have no functional changes 2012-12-25 14:13:02 -05:00
Rene Gollent
855f2c88d3 Add some more information to CIE parsing failure messages. 2012-12-25 09:35:43 -05:00
Rene Gollent
9becda82ef Implement ArchitectureX8664::UpdateStackFrameCpuState(). 2012-12-25 09:34:28 -05:00
Rene Gollent
717f11d412 Fix regression introduced in hrev43513.
- A mistake in variable renaming resulted Architecture::UpdateStackFrameCpuState()
  no longer being called.
2012-12-25 09:32:56 -05:00
Humdinger
bc715a5fe8 Correct attribute names "Audio" -> "Media" (#9316)
A few attribute names that used to be "Audio:..." were changed a
while ago to the more general "Media:...". Applied those changes.
Fixes #9316, thanks ttcoder!
2012-12-25 09:51:11 +01:00
Philippe Saint-Pierre
205cf6950c Tracker: Force Identify - don't require holding shift (#4857)
Don't require to hold shift when clicking on force identify,
can now be released after popup menu have appeared.
2012-12-24 16:10:21 -05:00
John Scipione
ff3409e005 Return EALREADY if already in requested playback mode.
That's what the BeBook says the method is suppose to do.
2012-12-24 15:27:41 -05:00
Rene Gollent
b83bece153 Cleanups.
- Add clarifying comment.
- Slightly adjust handling of augmentation 'P' so it also handles
  skipping LEB128-encoded values correctly.
- Remove unused code.
2012-12-24 00:18:38 -05:00
Rene Gollent
16b8573bae Numerous fixes to stack unwinding for .eh_frame.
- Add address size parameter to EvaluateExpression since the compilation
  unit may not be available (i.e. in non-debug code). Accordingly, also
  add accessor for address size to DwarfExpressionEvaluationContext,
  and adjust callers accordingly.

- Correctly handle augmentation 'P'. This one consists of a data byte
  describing the address encoding, followed by the address of the
  personality function encoded in the aforementioned format. Not
  skipping this correctly was resulting in us retrieving the wrong
  FDE address format in e.g. CIEs encoded with augmentation 'zPLR'.

- The address range should be retrieved as value only without accounting
  for the relative offset portion of the address encoding format. Fixes
  some issues where we'd pick the wrong FDE to use for unwinding due
  to us misinterpreting it as covering a far larger PC range than it
  in fact did.

- DW_CFA_set_loc also needs to respect the encoded address format.

Overall, these changes fix a number of regressions introduced by the
previous commits, and also mean that stack unwinding for x86-64 should
now work as expected in all cases where either debug information or
an exception table is available.
2012-12-23 16:37:06 -05:00
Philippe Saint-Pierre
3fbf5d6809 Tracker: Drawing artifact (#6513)
After switching from outline only selection mode to transparent rectangle,
a drawing artifact could occur because the last selection rectangle wasn't
reset properly.  On following update, Tracker thought a selection rectangle
was still to be shown.
2012-12-23 16:33:49 -05:00
Vlad Slepukhin
46f1daff68 Handle be:line and °K in RefsReceived, store it in file attributes
This work was done during GCI2012

Fixes #4794

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-23 21:51:24 +01:00
Humdinger
2e2e8f7d2e Fixed case of GUI strings. 2012-12-23 18:30:02 +01:00
John Scipione
2e64288895 Change Application back to Applications in Deskbar prefs. 2012-12-23 12:21:00 -05:00
François Revol
53eb64dd71 PCI: Work around devices wrongly set as bridge class by buggy BIOS
This is a proper fix for the issue I tried to fix with hrev43552.
Previous fix only fixed the stack overflow caused by it but still
generated ghost devices due to the duplicated enumeration.

Affected motherboards include FIC PA-2013 (mine), and FIC VA503+
as mentionned on:
http://lkml.indiana.edu/hypermail/linux/kernel/9912.0/0539.html

We now check the header type for bridge devices and just ignore
wrong ones.
2012-12-23 18:06:56 +01:00
Vlad Slepukhin
0f4985d884 StyledEdit:Implemented StatusLine and R5-like ReadOnly mode
This work was done during GCI2012.

Fixes #3655

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-22 22:57:14 +01:00
Rene Gollent
523a87a5d2 64-bit fixes for WebPositive. 2012-12-22 16:24:16 -05:00
Evgeny Abdraimov
944235ddd4 Initialization of net_device_interface::monitor_count corrected
Fixes #8839

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-22 22:19:55 +01:00
John Scipione
e9191cc2d1 Add BFile documentation to the Haiku Book.
Remove the documentation from the cpp file also. Keep the brief
description as a regular comment though.
2012-12-22 15:01:17 -05:00
Stefano Ceccherini
e76262c879 Fix build. 2012-12-22 14:34:26 +01:00
Rene Gollent
83a522213e Cleanup.
- Rename _ParseCIEAugmentation to _ParseCIEHeader since that more
  accurately reflects what it does.

- Refactor a bit to avoid having to parse the header twice, and
  simplify various places as a result.
2012-12-22 00:07:36 -05:00
Alexander von Gluck IV
a892e43ee3 OpenGL: Fix library dependencies
* Fixes gcc2 build
2012-12-21 22:55:56 -06:00
Rene Gollent
96a4619b92 Make use of augmentation if available.
- Pull out a _ParseCIEAugmentation() from _ParseCIE().

- If .eh_frame is being used, do a quick parse of the CIE up front
  in order to determine the augmentation (if any), and use it to
  retrieve addresses in the appropriate format. This fixes stack
  unwinding on x86-64, and possibly other cases where the address
  encoding didn't correspond to architectural target size in absolute
  address format.
2012-12-21 23:32:51 -05:00
Rene Gollent
54531e9f97 Allow CfaContext to be initialized lazily. 2012-12-21 23:32:50 -05:00
Rene Gollent
b510524436 Resolve TODO.
- We now handle augmentation 'zR', which in the case of gcc's
  .eh_frame format specifies how the addresses in the FDEs are
  encoded. Not actually used yet though since that will require
  some refactoring of _UnwindCallFrame(), since we currently parse
  the CIE too late to apply the above address size rules to the
  initial offset + range. This is also the reason x86-64 stack unwind
  currently fails, since the addresses there are, for most current tests
  actually being encoded in 32-bit format rather than architecture
  address size as should be the case for a standard DWARF debug_frame.
2012-12-21 22:40:58 -05:00
John Scipione
57ec88b651 Fix build, forgot to replace the variable names after renaming them. 2012-12-21 22:07:04 -05:00
John Scipione
78c12508e3 Rename the bounds parameter of the BDragger class to frame matching the BeBook 2012-12-21 21:24:46 -05:00
John Scipione
aabb148183 Rename the resizingMask parameter of the BDragger constructor to resizingMode matching the BeBook. 2012-12-21 21:22:54 -05:00
Alexander von Gluck IV
cd76737442 swrast_legacy: Fix build (libglsl isn't in Mesa 7.x) 2012-12-21 19:23:47 -06:00
Alexander von Gluck IV
9c48978b6f swrast: Remove cpu feature check
* gcc4 swrast is boring an doesn't do rtasm anymore
2012-12-21 19:23:46 -06:00
Alexander von Gluck IV
83b716e3d9 swpipe: Make softpipe optional
* If we're using llvmpipe, don't reference
  softpipe. Reduce bloat.
2012-12-21 19:23:44 -06:00
Alexander von Gluck IV
b9d7097111 swpipe: Don't dereference pointer 2012-12-21 19:23:42 -06:00
Alexander von Gluck IV
ecbdee63cf Mesa 9.0.1: Build cleanup
* Try to keep each renderer designed
  the same.
* swrast will build... swpipe won't
  build until we have an llvm build
  package. (should in a few days once
  llvm 3.2 is released)
2012-12-21 19:23:41 -06:00
Alexander von Gluck IV
e685ddf799 libGL: Major shakeup
* libmesa and libgallium no longer live in libGL
* opengl kit gets libglapi for dispatch
* swrast will get libmesa
* swpipe will get libmesagallium + gallium drivers + llvm
2012-12-21 19:23:39 -06:00
John Scipione
cd03d7c120 Remove locking from TrackerSettingsWindow::QuitRequested()
Like Deskbar it isn't needed here either since the window is already
locked. The return value seems to be totally ignored, so, just leave
as is.
2012-12-21 16:42:37 -05:00
John Scipione
7ff146fdc0 On second thought, don't delete fPreferenecesWindow here 2012-12-21 16:26:45 -05:00
John Scipione
879fe42c09 Refactor Deskbar preferences window.
* Remove locking from Prefs window QuitRequested(), thanks Axel.
* Remove kConfigClose message, no longer needed since window sticks
  around and is hidden on close instead of being deleted.
* delete fPreferencesWindow on BarApp QuitRequested() so it will
  remove the memory used by preference window when Deskbar quits.
2012-12-21 16:16:39 -05:00
John Scipione
ee70bd8b1f Hide and show Deskbar preference window
... instead of destroying and creating it each time.

This is taking another page from Tracker's book. It allows the prefs
window to maintain it's current state as long as the application
remains open. Since both Tracker and Deskbar are meant to always be
open this means that the state is kept all the time unless the app
crashes, quite useful.
2012-12-20 19:57:13 -05:00
John Scipione
08c0a78ff4 (Tiny) style fix only 2012-12-20 19:55:10 -05:00
John Scipione
0eacc85bc2 Style fixes, no functional change indented 2012-12-20 19:43:22 -05:00
John Scipione
defcf2ebc4 Add newline at the end of PreferencesWindow.cpp
This completes the move of clock preferences from Deskbar to Time.

This closes #7331. Also closing #8769 as invalid as it has been
discussed to death and 12/24 hour setting seems to belong in Locale
prefs only.

Clock preferences have been moved into their own settings file as
well so perhaps will be moved to their own replicant in the future.
2012-12-20 18:58:09 -05:00
John Scipione
37fb25e0f8 On second thought, AddGlue to all 3 so the window stays the same height 2012-12-20 18:31:43 -05:00
John Scipione
9fd9f94dcc Make prefs window height depend on content 2012-12-20 18:31:42 -05:00
John Scipione
c5b556a080 Rearrange Deskbar preferences to use a list view like Tracker
Instead of showing all Deskbar preferences at once, show them one
at a time using a list view to switch between them like Tracker
preferences.
2012-12-20 18:31:42 -05:00
John Scipione
31c0024d1b Add Deskbar clock settings to Time Preferences
* Added a new Clock tab to the Time preflet. Added Clock related
  controls there. They all function by communicating with Deskbar.
* Put controls in a BBox controlled by the Show clock checkbox.
  This more clearly shows that all the clock settings are dependent
  on the show clock setting since it doesn't matter what your clock
  settings are if you don't show the clock.
* Make revert work.
* Split clock settings into it's own file and struct.
* Re-add the time zone setting.
* Remove the clock settings from the Deskbar preference window, they
  are in Time now.
* Make Locale preferences accepts B_LOCALE_CHANGED message, although
  not used.
2012-12-20 18:31:42 -05:00
Alex Smith
9a538a294c A few x86_64 debugger fixes + style fixes. 2012-12-20 19:24:04 +00:00
Alex Smith
6c6fcaf95b Some build fixes for DEBUG=1. 2012-12-20 19:22:16 +00:00
Alex Smith
e7bcffbb59 Take target address size into account in MemoryView, fixes #9307. 2012-12-20 19:20:31 +00:00
Rene Gollent
7024fac220 Clean up _RegisterCommands().
- _RegisterCommand() now accepts a space separated list of names
  to register a command by and creates a registration for each.
2012-12-19 22:27:45 -05:00
Rene Gollent
cef640f784 Fix missing line break. 2012-12-19 22:01:51 -05:00
Rene Gollent
64f5c19ebf Add copyright attributions from originating code. 2012-12-19 22:01:33 -05:00
Alex Smith
c8d82cf6db Started adding x86_64 support to Debugger.
Stack tracing doesn't work yet, nor does single stepping (somehow
manages to completely freeze the system).
2012-12-19 19:54:20 +00:00
Rene Gollent
bbdb605224 Switch over to using Debugger as the primary system debugger.
- When a crash occurs that requires using consoled, use Debugger
  in CLI mode.

- Closes #1078.
2012-12-18 23:55:49 -05:00
Rene Gollent
3e441f885e Add frame dumping capabilities to report generator.
- If the top frame of a stopped thread has no arguments or variables
  available, dump the memory block to which the stack frame belongs,
  starting at the current stack pointer and extending to the end of
  the block.
2012-12-18 23:31:08 -05:00
Rene Gollent
9a4802db55 Add an indent parameter to DumpMemory().
- Adjust callers.
2012-12-18 23:30:55 -05:00
Rene Gollent
ec7c59ca09 Add memory dumping commands similar to those in KDL. 2012-12-18 21:37:55 -05:00
Rene Gollent
c7f5dd6207 Add support for memory block events to CliContext. 2012-12-18 21:37:54 -05:00
Rene Gollent
779b84b17b Add memory dumping helper to UiUtils.
- Adapted from KDL's db/dw et al.
2012-12-18 21:37:17 -05:00
Rene Gollent
55751d083a Move Tokenizer/Token into ExpressionParser's namespace. 2012-12-18 21:31:43 -05:00
Rene Gollent
03289a339c More adjustments to CliContext.
- CliContext now listens for value node container events so that
  commands can request such a wait as well
- Implement an event wait mechanism for commands to make use of.
  Adjust CliStackTrace and CliPrintVariable accordingly.
2012-12-18 18:11:55 -05:00
Rene Gollent
486c4d38b2 Revert unintended change in previous commit. 2012-12-18 18:11:54 -05:00
Rene Gollent
eceaf78610 Remove unnecessary code.
- ResolveValueNodeJob() already handles location resolution for the
  NodeChild so this step is unnecessary.
2012-12-18 17:38:19 -05:00
Rene Gollent
68359a7361 Fix missing newline in some cases. 2012-12-18 17:38:19 -05:00
Sergei Reznikov
b7b5d7636b 64-bit fixes for kernel with KDEBUG_LEVEL = 0
Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
2012-12-18 14:56:16 +00:00
Rene Gollent
596922bb7f Add CLI print variable command. 2012-12-17 20:46:27 -05:00
Rene Gollent
c56757fb7c Remove unnecessary frame parameter. Adjust callers. 2012-12-17 20:46:14 -05:00
John Scipione
7fe8b2bf2a Also lock fAboutWindow before Quit()ting in other apps 2012-12-17 16:46:41 -05:00
John Scipione
a4d5ac6a25 Lock Webpositive about window before Quit()ting, thanks Axel. 2012-12-17 16:31:25 -05:00
Rene Gollent
1d0383b862 Add file mistakenly missed in previous commits. 2012-12-16 23:21:48 -05:00
Rene Gollent
a4df762f17 Fix #9294.
- Fix incorrect order of operations in ValueNodeManager.
- Upon receiving a changed notification, VariableTableModel needs to
  make tree table aware that the previous nodes have been removed.
2012-12-16 23:04:52 -05:00
Rene Gollent
287cda6f72 Add some more commands to the CLI.
- Added 'frame' command for setting/printing the context's current stack
  frame within the active stack trace.
- Added 'variables' command for printing the list of variables visible
  within the current frame.
2012-12-16 22:03:35 -05:00
Rene Gollent
1325ad5fe8 Various improvements to CliContext.
- CliContext now tracks the current stack trace and frame if applicable.

- CliContext now carries a value node manager. This allows it to track
  the variables in the currently active frame.
2012-12-16 22:03:35 -05:00
Siarzhuk Zharski
74f911be74 Gently guessing prev. line caret pos on UP_ARROW
Fixes #3656
2012-12-16 20:29:04 +01:00
Siarzhuk Zharski
0d3bd614c7 Do not include CR-terminator in line width-height calculations
Fixes #3658
2012-12-16 17:59:57 +01:00
Rene Gollent
5bda396ef4 Refactor Dwarf*DebugInfo to be able to work with limited info.
- DwarfImageDebugInfo and DwarfFile will now allow us to construct
  DWARF debug info objects even if the only section available for
  use is .eh_frame. This essentially allows us to use CFI-based
  unwinding even for release executables (assuming C++ is involved),
  which means we can properly unwind the stack even for binaries
  compiled with fomit-frame-pointer. This becomes more important
  for x86-64, since omit is the ABI default there.

- Pull a GetFunctionsFromSymbols() out of DebuggerImageDebugInfo. This
  is shared between DebuggerImageDebugInfo and DwarfImageDebugInfo for
  creating debug information entries in the absence of debugging
  information.
2012-12-16 11:21:52 -05:00
Alexander von Gluck IV
dc95dfe60b package kit: Fix independent build
* ZlibCompressionBase.cpp isn't the only
  source / header to required zlib
* Just add zlib as a dep for all kit sources
2012-12-15 18:27:10 +00:00
Fredrik Holmqvist
f236b941d0 Display controls driver stub.
Work I did at Begeistert, trying to use the new driver manager and
detecting display controls. It should probably be a good example of
how a new driver is built. It currently loads and detects
display controls correctly but doesn't do any actual work yet.
Not sure when I have the time to finish the driver, it shouldn't be
that hard but I currently have have other priorities. Feel free to
work on it in the meantime.
2012-12-15 14:44:13 +01:00
Fredrik Holmqvist
92d766df7c Pass a handle to evaluate_object as start point. 2012-12-15 14:10:11 +01:00
Tri-Edge AI
69eca70155 WebPositive: Search engine string now gets encoded. 2012-12-15 01:38:24 +01:00
John Scipione
6084a1e1a4 Update the about window of WebPositive.
Also update the version number to 1.1-alpha in the rdef file
matching the text on the old about window.
2012-12-14 19:28:05 -05:00
Janus
9e265b3329 Fixes #7639 - the redraw issue in ColumListView.
Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-14 20:54:14 +01:00
Philippe Saint-Pierre
8a24526e3f LaunchBox: remove redundant Locking. Thanks Stippi! 2012-12-13 19:38:08 -05:00
Tri-Edge AI
bafbb92901 WebPositive: Smart URL handling improvements (GCI task)
- Fixed: WebPositive now successfuly detects foreign protocols and
launches their respective applications.
 - Improved: The decision whether to use a search engine or a DNS lookup
for the text entered in the address bar, including for internationalized
names (IDN) (though we do not handle them correctly later on yet).
 - TODO: escape the query string before passing it to webkit
(for example for: "3+4")
2012-12-14 00:40:03 +01:00
Philippe Saint-Pierre
4b84a0b5c8 Mail: don't require a subject to save a draft (#9218)
Also :
 * if the body of message changes, ask to save draft when closing window
 * disable save button when successfully saving draft
2012-12-12 23:10:02 -05:00
Philippe Saint-Pierre
53b234eb1c Mail: Reworking of the unique filename discovery (drafts) 2012-12-12 21:49:20 -05:00
Philippe Saint-Pierre
55ef15c45a Mail: use B_FILE_NAME_LENGTH as limit when saving drafts 2012-12-12 19:41:57 -05:00
Philippe Saint-Pierre
4d6bb87ea7 LaunchBox: finish saving settings before closing the window (#6347) 2012-12-12 18:05:18 -05:00
Humdinger
d7250540e0 Using a variable instead of translating a string twice.
Thanks John for the guidance.
2012-12-12 21:25:10 +01:00
Humdinger
748378c826 Renamed cusor colour settings.
"Cursor text" and "Cursor background" in the Color popup menu are
a bit unintuitive. Changed to "Text under cursor" and "Cursor".
2012-12-12 18:50:13 +01:00
Humdinger
f7c33e7ff9 Fixes case style of a label, "Sound file:" 2012-12-12 18:33:05 +01:00
Gleb Posobin
a51eefdd08 Hint to layout manager for window width estimation
Fixes #5289

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-12 12:06:07 +01:00
Rene Gollent
be56273bbb Refactor DebugReportGenerator to use jobs.
- Instead of asking nodes to resolve themselves directly,
  DebugReportGenerator now uses the interface listener to ask the
  debugger's workers to resolve them on its behalf.
2012-12-11 22:56:47 -05:00
Rene Gollent
00e7e607ef Always forward ValueChanged() event.
- If creating children failed, we wouldn't forward the event on
  to the listeners.
2012-12-11 22:56:46 -05:00
Rene Gollent
9403439347 Ensure that node pointer is valid before traversing. 2012-12-11 22:56:46 -05:00
Alexander von Gluck IV
8f06ba2f84 swpipe: Improve llvmpipe environment
* Only call correct public llvmpipe includes
* Clean up tracing
2012-12-12 03:04:43 +00:00
Jérôme Duval
f1a3e05d8c style fix as suggested by axeld and jscipione. 2012-12-11 23:21:45 +01:00
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
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
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
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
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
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
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
Rene Gollent
95b3c61c4b DebugReportGenerator shouldn't inherit from BReferenceable. 2012-12-05 20:09:58 -05:00
Rene Gollent
8326ad45bb Destroy created file via reference release if necessary. 2012-12-05 20:07:02 -05:00
Rene Gollent
4a5bcf0f7a Rework debugging check in BReferenceable.
- If a BReferenceable object is deleted with a non-zero reference count,
  we now test to see if the object was allocated on the stack. If so,
  we don't flag a warning if the reference count is currently 1.
2012-12-05 20:07:01 -05:00
Tyler Dixon
36b210830f Modify intel partition mapper to fail if it detects a GPT disk
Slightly amended patch from Tyler Dixon. This fixes #8434.
Tested on my new GPT-disk with:
	jam run ":<build>makebootable" --dry-run /dev/sda4

Signed-off-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2012-12-05 22:40:22 +01:00
Alexander von Gluck IV
2574bdfcc7 swpipe: Add Framebuffer management
* It's painfully obvious to me now that we will
  need to manage our own framebuffers still in
  the latest gallium code.
* GalliumFramebuffer works pretty cleanly as a
  class.. we have to remember to lock and unlock
  the Framebuffer object however when we access
  fBuffer directly. (which needs to occur by design)
* I'm really starting to have problems with the
  amount of downcasting Gallium3D does now.
2012-12-05 15:37:43 +00:00
Alexander von Gluck IV
d6137548a0 swpipe: Handle post processing
* Introduce textures into local gl context
2012-12-05 14:09:29 +00:00
Rene Gollent
b060c28e65 Fix crash when debug information wasn't available. 2012-12-04 21:22:11 -05:00