]> icculus.org git repositories - mikachu/openbox.git/log
mikachu/openbox.git
21 years agodon't click-to-place windows when they specify a position
Dana Jansens [Sun, 28 Apr 2002 19:14:54 +0000 (19:14 +0000)]
don't click-to-place windows when they specify a position

21 years agoproperly handle placing a window while another window is still placing.
Dana Jansens [Sun, 28 Apr 2002 19:09:25 +0000 (19:09 +0000)]
properly handle placing a window while another window is still placing.

21 years agoif user is moving a window and switches workspaces, stop moving that window
Dana Jansens [Sun, 28 Apr 2002 12:34:34 +0000 (12:34 +0000)]
if user is moving a window and switches workspaces, stop moving that window

21 years agoadded ClickMouse window placement policy
Dana Jansens [Sun, 28 Apr 2002 12:12:24 +0000 (12:12 +0000)]
added ClickMouse window placement policy

21 years agomoved the 'moving window' logic into separate functions "startMove" "doMove" and...
Dana Jansens [Sun, 28 Apr 2002 11:26:55 +0000 (11:26 +0000)]
moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove"

21 years agonew row/col Smart Placement from colophon
Dana Jansens [Sun, 28 Apr 2002 01:05:12 +0000 (01:05 +0000)]
new row/col Smart Placement from colophon

21 years agoadded UnderMouse windwo placement.
Dana Jansens [Sun, 28 Apr 2002 00:11:19 +0000 (00:11 +0000)]
added UnderMouse windwo placement.

21 years agobetter cascadePlacement. uses screen.availableArea().
Dana Jansens [Sat, 27 Apr 2002 21:15:00 +0000 (21:15 +0000)]
better cascadePlacement. uses screen.availableArea().

21 years agoadded BScreen::availableArea() which returns a rect specifying where windows can...
Dana Jansens [Sat, 27 Apr 2002 19:25:20 +0000 (19:25 +0000)]
added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized

21 years agoremoved debugging couts
Dana Jansens [Sat, 27 Apr 2002 19:24:09 +0000 (19:24 +0000)]
removed debugging couts

21 years agoadd std:: to the vector typedef in Basemenu
Dana Jansens [Sat, 27 Apr 2002 18:53:59 +0000 (18:53 +0000)]
add std:: to the vector typedef in Basemenu
converted slit to use a std::list instead of LinkedList

21 years agoconverted from LinkedList to a vector
Dana Jansens [Sat, 27 Apr 2002 18:21:21 +0000 (18:21 +0000)]
converted from LinkedList to a vector

21 years agomore dithering fix.
Dana Jansens [Fri, 26 Apr 2002 07:38:17 +0000 (07:38 +0000)]
more dithering fix.

21 years agothat segfaulted. oops. added a workaround so setImageDither doesnt reconfig when...
Dana Jansens [Fri, 26 Apr 2002 07:19:22 +0000 (07:19 +0000)]
that segfaulted. oops. added a workaround so setImageDither doesnt reconfig when saving off all the rc values

21 years agowhen Image Dither is changed in the menu, make ob reconfigure so it uses the dithering
Dana Jansens [Fri, 26 Apr 2002 07:13:22 +0000 (07:13 +0000)]
when Image Dither is changed in the menu, make ob reconfigure so it uses the dithering

21 years agofix Resource class so that you cant cast a string to a Resource
Dana Jansens [Wed, 24 Apr 2002 20:34:17 +0000 (20:34 +0000)]
fix Resource class so that you cant cast a string to a Resource

21 years agoRolled back to the old row and column smart placement so we can get a 1.0.0 release...
Dana Jansens [Tue, 23 Apr 2002 19:59:44 +0000 (19:59 +0000)]
Rolled back to the old row and column smart placement so we can get a 1.0.0 release out the door.

21 years agoeven more fixes for maximizing/placement with hidden slit/toolbar/etc
Dana Jansens [Mon, 22 Apr 2002 23:00:57 +0000 (23:00 +0000)]
even more fixes for maximizing/placement with hidden slit/toolbar/etc

21 years agomaximize and placeWindow now behave properly when the slit is hidden
Dana Jansens [Mon, 22 Apr 2002 22:24:15 +0000 (22:24 +0000)]
maximize and placeWindow now behave properly when the slit is hidden

22 years agochanging to the older version of this style. its far superior :)
Dana Jansens [Mon, 22 Apr 2002 19:40:52 +0000 (19:40 +0000)]
changing to the older version of this style. its far superior :)

22 years agoposible fix for maximizing when slit is auto-hidden
Dana Jansens [Mon, 22 Apr 2002 18:59:04 +0000 (18:59 +0000)]
posible fix for maximizing when slit is auto-hidden

22 years agochanged external window interface to only have an area(), no size() and origin()...
Dana Jansens [Sun, 21 Apr 2002 18:52:28 +0000 (18:52 +0000)]
changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area()
changed toolbar external inteface to have an area, no more getX/Y/Width/Height

22 years agosome placement fixes from colophon.
Dana Jansens [Sun, 21 Apr 2002 17:54:51 +0000 (17:54 +0000)]
some placement fixes from colophon.

22 years agonew row and column placement, using a modified bestfit. These don't work right yet...
Dana Jansens [Sun, 21 Apr 2002 07:58:46 +0000 (07:58 +0000)]
new row and column placement, using a modified bestfit. These don't work right yet, nor does bestfit, but they are coming.

22 years agofixed some uninstall issues
Dana Jansens [Sun, 21 Apr 2002 04:26:11 +0000 (04:26 +0000)]
fixed some uninstall issues

22 years agoeven better bestfit placement. way to go colophon!
Dana Jansens [Sun, 21 Apr 2002 03:36:09 +0000 (03:36 +0000)]
even better bestfit placement. way to go colophon!

22 years agospecify the std:: namespace for the ostrstreams.
Dana Jansens [Sun, 21 Apr 2002 02:17:34 +0000 (02:17 +0000)]
specify the std:: namespace for the ostrstreams.

22 years agobestfit placement now honors the left->right and top->bottom options for window place...
Dana Jansens [Sun, 21 Apr 2002 02:02:27 +0000 (02:02 +0000)]
bestfit placement now honors the left->right and top->bottom options for window placement.
fix for the placement config menu.

22 years ago*** empty log message ***
Scott Moynes [Sun, 21 Apr 2002 01:22:21 +0000 (01:22 +0000)]
*** empty log message ***

22 years agotyops
Scott Moynes [Sun, 21 Apr 2002 00:10:48 +0000 (00:10 +0000)]
tyops

22 years agocompile fix for --disable-slit
Dana Jansens [Sat, 20 Apr 2002 20:01:26 +0000 (20:01 +0000)]
compile fix for --disable-slit

22 years agoadded Changelog entry for the improved maximize-window code.
Dana Jansens [Sat, 20 Apr 2002 19:57:03 +0000 (19:57 +0000)]
added Changelog entry for the improved maximize-window code.

22 years agobetter logic to not place windows over the slit and toolbar
Dana Jansens [Sat, 20 Apr 2002 19:53:19 +0000 (19:53 +0000)]
better logic to not place windows over the slit and toolbar
maximize uses this same logic to not maximize over the toolbar *and the slit*

22 years agochanges to bestfit from ruhi. takes windows sizes into account properly, and places...
Dana Jansens [Sat, 20 Apr 2002 18:30:47 +0000 (18:30 +0000)]
changes to bestfit from ruhi. takes windows sizes into account properly, and places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen.

22 years agoon reconfigure, if an option isn't specified in the rc file, then it will revert...
Dana Jansens [Sat, 20 Apr 2002 18:24:12 +0000 (18:24 +0000)]
on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value.

22 years agocomment typo and function spacing fix
Dana Jansens [Sat, 20 Apr 2002 18:13:55 +0000 (18:13 +0000)]
comment typo and function spacing fix

22 years agofixed memory leaks for strftime_format and rootcommand
Scott Moynes [Sat, 20 Apr 2002 15:28:14 +0000 (15:28 +0000)]
fixed memory leaks for strftime_format and rootcommand

22 years agofixed memory leak of application_name
Scott Moynes [Sat, 20 Apr 2002 15:26:41 +0000 (15:26 +0000)]
fixed memory leak of application_name

22 years agofixed a memory leak for resource.titlebar_layout
Scott Moynes [Sat, 20 Apr 2002 15:25:18 +0000 (15:25 +0000)]
fixed a memory leak for resource.titlebar_layout

22 years agofixed memory leak in screen::load()
Dana Jansens [Fri, 19 Apr 2002 21:05:49 +0000 (21:05 +0000)]
fixed memory leak in screen::load()

22 years agoupdated TODO to match current cvs status. yay progress!
Dana Jansens [Fri, 19 Apr 2002 07:57:05 +0000 (07:57 +0000)]
updated TODO to match current cvs status. yay progress!

22 years agostarting openbox without an rc file now works. it makes an empty Xrm db instead of...
Dana Jansens [Fri, 19 Apr 2002 07:50:02 +0000 (07:50 +0000)]
starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :)

22 years agotemprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need...
Dana Jansens [Fri, 19 Apr 2002 06:51:08 +0000 (06:51 +0000)]
temprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need to find a better solution for strings than std::string and ostrstream, or else put up with memory leaks all over the place.

22 years agoadded bsetbg makefile
Scott Moynes [Fri, 19 Apr 2002 03:20:45 +0000 (03:20 +0000)]
added bsetbg makefile

22 years agoadded new bsetbg manpage
Scott Moynes [Thu, 18 Apr 2002 21:07:47 +0000 (21:07 +0000)]
added new bsetbg manpage

22 years agofix 2 bus errors on osx:
Dana Jansens [Thu, 18 Apr 2002 20:56:23 +0000 (20:56 +0000)]
fix 2 bus errors on osx:
 - it's std::string doesnt like being set to NULL.
 - in Window.cc, caught someone using a membr variable after calling 'delete this'. bad.

22 years agonew bsetbg version with manpage
Scott Moynes [Thu, 18 Apr 2002 20:54:45 +0000 (20:54 +0000)]
new bsetbg version with manpage

22 years agonew bsetbg from cthulhain
Dana Jansens [Thu, 18 Apr 2002 20:36:28 +0000 (20:36 +0000)]
new bsetbg from cthulhain

22 years agooptimized the finding-the-slit-position code in positionWindow
Dana Jansens [Thu, 18 Apr 2002 18:49:22 +0000 (18:49 +0000)]
optimized the finding-the-slit-position code in positionWindow

22 years agoadded Inflate, Deflate, and Translate to the Rect geometry class
Dana Jansens [Thu, 18 Apr 2002 18:11:33 +0000 (18:11 +0000)]
added Inflate, Deflate, and Translate to the Rect geometry class

22 years agoremove debugging couts
Dana Jansens [Thu, 18 Apr 2002 07:28:12 +0000 (07:28 +0000)]
remove debugging couts

22 years agotemporary solution to avoid placing windows over the slit and toolbar, until NETWM...
Dana Jansens [Thu, 18 Apr 2002 07:26:05 +0000 (07:26 +0000)]
temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect.

22 years agonow yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resour...
Dana Jansens [Thu, 18 Apr 2002 03:00:12 +0000 (03:00 +0000)]
now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed.

22 years agomaps/unmaps the toolbar when its resource setting is loaded from the file so it takes...
Dana Jansens [Thu, 18 Apr 2002 02:05:51 +0000 (02:05 +0000)]
maps/unmaps the toolbar when its resource setting is loaded from the file so it takes effect during a reconfigure.

22 years agoaccidently removed a line somehow. OpaqueMove is now read from the rc file.
Dana Jansens [Thu, 18 Apr 2002 00:47:08 +0000 (00:47 +0000)]
accidently removed a line somehow. OpaqueMove is now read from the rc file.

22 years agomenus update their values when they are reconfigure()d.
Dana Jansens [Wed, 17 Apr 2002 23:07:11 +0000 (23:07 +0000)]
menus update their values when they are reconfigure()d.
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.

22 years agoconfiguration changes "done"!!
Dana Jansens [Wed, 17 Apr 2002 08:30:55 +0000 (08:30 +0000)]
configuration changes "done"!!

on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.

22 years agoToolbar saves its settings as their changed
Dana Jansens [Wed, 17 Apr 2002 03:44:09 +0000 (03:44 +0000)]
Toolbar saves its settings as their changed
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit

22 years agoSlit loads its own settings and saves them as they are changed
Dana Jansens [Tue, 16 Apr 2002 23:50:53 +0000 (23:50 +0000)]
Slit loads its own settings and saves them as they are changed
added an assert in Resource

22 years agofixed snap to edges with toolbar hidden
Scott Moynes [Tue, 16 Apr 2002 22:50:18 +0000 (22:50 +0000)]
fixed snap to edges with toolbar hidden

22 years agorenamed the obResource class to Resource.
Dana Jansens [Tue, 16 Apr 2002 22:08:37 +0000 (22:08 +0000)]
renamed the obResource class to Resource.

22 years agofixed HAVE_STRING_H introduced from some parrallel development. blast
Scott Moynes [Tue, 16 Apr 2002 20:30:53 +0000 (20:30 +0000)]
fixed HAVE_STRING_H introduced from some parrallel development. blast

22 years agoneed translations for Hide Toolbar
Scott Moynes [Tue, 16 Apr 2002 20:26:11 +0000 (20:26 +0000)]
need translations for Hide Toolbar

22 years agoAdded a runtime option for hiding the toolbar totally. Will be cleaner
Scott Moynes [Tue, 16 Apr 2002 20:22:01 +0000 (20:22 +0000)]
Added a runtime option for hiding the toolbar totally. Will be cleaner
later. Stay tuned.

22 years agorenamed the Changelog files
Dana Jansens [Tue, 16 Apr 2002 20:11:00 +0000 (20:11 +0000)]
renamed the Changelog files
get the latest version of bsetbg from the blackbox cvs

22 years agoremoved unneeded #include <X11/Xutil.h>
Dana Jansens [Tue, 16 Apr 2002 14:55:38 +0000 (14:55 +0000)]
removed unneeded #include <X11/Xutil.h>

22 years agoreversed tehmouse wheel buttons on the root window. scrolling up now goes to the...
Dana Jansens [Tue, 16 Apr 2002 07:20:25 +0000 (07:20 +0000)]
reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace.

22 years agoget rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks...
Dana Jansens [Tue, 16 Apr 2002 06:25:00 +0000 (06:25 +0000)]
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead

22 years agoremoved the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
Dana Jansens [Tue, 16 Apr 2002 05:55:10 +0000 (05:55 +0000)]
removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)

22 years agoapplied Ruhi's cleanup patch. moves colSmartPlacement into its own function
Dana Jansens [Tue, 16 Apr 2002 01:10:53 +0000 (01:10 +0000)]
applied Ruhi's cleanup patch. moves colSmartPlacement into its own function
using Geomtry objects instead of integer pairs in all of the placeWindow code now

22 years agoadded some consts to the cascade code
Scott Moynes [Mon, 15 Apr 2002 15:45:11 +0000 (15:45 +0000)]
added some consts to the cascade code

22 years agoapparently there were compiling problems with automake/autoconf. This should make...
Dana Jansens [Mon, 15 Apr 2002 06:44:49 +0000 (06:44 +0000)]
apparently there were compiling problems with automake/autoconf. This should make those go away.

22 years agoAdded a fallback for Best Fit to cascade. Also, moved cascade to its own
Scott Moynes [Mon, 15 Apr 2002 02:37:18 +0000 (02:37 +0000)]
Added a fallback for Best Fit to cascade. Also, moved cascade to its own
function. May not be needed.

22 years agoadd the Geometry classes to bsetroot
Dana Jansens [Sun, 14 Apr 2002 19:41:50 +0000 (19:41 +0000)]
add the Geometry classes to bsetroot

22 years agoFixed bsetroot to use the new Geometries returned in ScreenInfo
Dana Jansens [Sun, 14 Apr 2002 19:32:09 +0000 (19:32 +0000)]
Fixed bsetroot to use the new Geometries returned in ScreenInfo

22 years agoSlit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and...
Dana Jansens [Sun, 14 Apr 2002 19:30:38 +0000 (19:30 +0000)]
Slit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and getWidth/Height.

22 years agoBScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
Dana Jansens [Sun, 14 Apr 2002 18:48:32 +0000 (18:48 +0000)]
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight

22 years agochanged OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return...
Dana Jansens [Sun, 14 Apr 2002 18:28:11 +0000 (18:28 +0000)]
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().

22 years agoadded some missing punctuation
Ruhi Bloodworth [Sun, 14 Apr 2002 16:15:03 +0000 (16:15 +0000)]
added some missing punctuation

22 years agoAdded Util.h, which contains only an ASSERT macro for now
Dana Jansens [Sun, 14 Apr 2002 15:57:07 +0000 (15:57 +0000)]
Added Util.h, which contains only an ASSERT macro for now

22 years agochanged version number to 1.0.0. fixed a warning in BaseMenu from pointer->reference...
Dana Jansens [Sun, 14 Apr 2002 15:26:38 +0000 (15:26 +0000)]
changed version number to 1.0.0. fixed a warning in BaseMenu from pointer->reference conversion

22 years agomade bsetroot compile with the new code for references instead of pointers
Dana Jansens [Sun, 14 Apr 2002 14:39:04 +0000 (14:39 +0000)]
made bsetroot compile with the new code for references instead of pointers

22 years agousing references instead of pointers if possible in Image
Dana Jansens [Sun, 14 Apr 2002 14:28:02 +0000 (14:28 +0000)]
using references instead of pointers if possible in Image

22 years agousing a Screen reference instead of pointer in Workspace
Dana Jansens [Sun, 14 Apr 2002 14:20:02 +0000 (14:20 +0000)]
using a Screen reference instead of pointer in Workspace

22 years agousing a reference for Openbox instead of a pointer
Dana Jansens [Sun, 14 Apr 2002 14:04:16 +0000 (14:04 +0000)]
using a reference for Openbox instead of a pointer

22 years agousing some references instead of pointers where possible in Screen, ScreenInfo, Slit...
Dana Jansens [Sun, 14 Apr 2002 13:58:17 +0000 (13:58 +0000)]
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen

22 years agoonly add one extra space to pad the clock in the toolbar
Dana Jansens [Sun, 14 Apr 2002 13:34:53 +0000 (13:34 +0000)]
only add one extra space to pad the clock in the toolbar

22 years agoUsing some references instead of pointers for the menus.
Dana Jansens [Sun, 14 Apr 2002 11:37:22 +0000 (11:37 +0000)]
Using some references instead of pointers for the menus.

22 years agomade shaded windows snap properly at their bottom, using their shaded height.
Dana Jansens [Sun, 14 Apr 2002 09:39:14 +0000 (09:39 +0000)]
made shaded windows snap properly at their bottom, using their shaded height.
window.getHeight() now returns the different/correct value when a window is shaded.

22 years agochanging the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused...
Dana Jansens [Sun, 14 Apr 2002 08:20:56 +0000 (08:20 +0000)]
changing the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused problems in the old method.

22 years agoadded 'deep' style
Dana Jansens [Sun, 14 Apr 2002 07:50:25 +0000 (07:50 +0000)]
added 'deep' style

22 years agomerged the changelog from the 0.99.0 (stable) branch (the code was previously merged)
Dana Jansens [Sun, 14 Apr 2002 01:29:56 +0000 (01:29 +0000)]
merged the changelog from the 0.99.0 (stable) branch (the code was previously merged)

22 years agoadded entry for new BestFit placement type
Dana Jansens [Sun, 14 Apr 2002 01:27:23 +0000 (01:27 +0000)]
added entry for new BestFit placement type

22 years agoadded first revision of the BestFit placement type.
Dana Jansens [Sun, 14 Apr 2002 01:11:51 +0000 (01:11 +0000)]
added first revision of the BestFit placement type.
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.

22 years agoadding Geometry classes: Point, Size, and Rect
Dana Jansens [Sat, 13 Apr 2002 23:41:36 +0000 (23:41 +0000)]
adding Geometry classes: Point, Size, and Rect

22 years agoremoved all Xrm database calls from Screen.cc (style loading).
Dana Jansens [Sat, 13 Apr 2002 22:42:31 +0000 (22:42 +0000)]
removed all Xrm database calls from Screen.cc (style loading).
This completes the conversion to using the obResource class, there are no class to Xrm* except in Resource.cc/h

22 years agoFixed a bug in the bsetroot build that caused really strange behaviour
Scott Moynes [Sat, 13 Apr 2002 21:26:00 +0000 (21:26 +0000)]
Fixed a bug in the bsetroot build that caused really strange behaviour

22 years agoadded symlinking. needs a little work.
Scott Moynes [Sat, 13 Apr 2002 02:09:37 +0000 (02:09 +0000)]
added symlinking. needs a little work.

22 years agoreal_reconfigure now using obResource instead of teh XrmDatabase calls.
Dana Jansens [Fri, 12 Apr 2002 06:11:31 +0000 (06:11 +0000)]
real_reconfigure now using obResource instead of teh XrmDatabase calls.
obResource class calls XrmInitialize().

22 years agosave_rc() using the obResource class to save blackbox's configuration.
Dana Jansens [Fri, 12 Apr 2002 06:05:04 +0000 (06:05 +0000)]
save_rc() using the obResource class to save blackbox's configuration.
renamed BScreen::getCount to BScreen::getWorkspaceCount.