Commit Graph

44795 Commits

Author SHA1 Message Date
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
Niels Sascha Reedijk
b215515c15 Update translations from Pootle 2013-01-05 07:35:01 +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
Matt Madia
f5d95ad616 Ensure the cross-tool's strip command is passed via HaikuCD. 2013-01-04 13:13:25 +00:00
Matt Madia
35f3908149 Use strip provided by the cross-tools.
This allows a 32-bit host to successfully build x86_64.
2013-01-04 12:42:26 +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
Alexander von Gluck IV
d6b2fbac19 libglu: Make sure glu.h gets placed into image
* Resolves #9323
2013-01-03 16:54:35 -06: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
Matt Madia
10e65baba8 Disabled "Application flags" in liblayout.so
Repackaged the optional packages, BePDF and Wonderbrush to
disable the Application flags setting in their Filetype window.

Fixes #8821.
2013-01-02 08:24:15 +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