CVS olicha: * Added Xft2 support

2002-05-29 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: olicha  02/05/29 14:11:19

Modified files:
.  : ChangeLog acinclude.m4 configure.in 
fvwm   : Makefile.am 
libs   : FRender.h Fft.c Fft.h FlocaleCharset.c 
 Makefile.am 
modules: ChangeLog 
modules/FvwmButtons: Makefile.am 
modules/FvwmCommand: Makefile.am 
modules/FvwmDebug: Makefile.am 
modules/FvwmForm: Makefile.am 
modules/FvwmGtk: Makefile.am 
modules/FvwmIconBox: Makefile.am 
modules/FvwmIconMan: Makefile.am 
modules/FvwmIdent: Makefile.am 
modules/FvwmPager: Makefile.am 
modules/FvwmRearrange: Makefile.am 
modules/FvwmSave: Makefile.am 
modules/FvwmSaveDesk: Makefile.am 
modules/FvwmScript: Makefile.am 
modules/FvwmScript/Widgets: Makefile.am 
modules/FvwmTaskBar: Makefile.am 
modules/FvwmWinList: Makefile.am 

Log message:
* Added Xft2 support
* Note: this library will be included in XFree 4.3. There is semi-official
independent packages, fontconfig  Xft2, which can be used with any X server
with the XRender extension (freetype-2.0.9 needed)

--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


CVS migo: * FvwmButtons: fixed specifying Font in Container

2002-05-29 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: migo02/05/29 15:55:46

Modified files:
modules: ChangeLog 
modules/FvwmButtons: parse.c 
perllib: ChangeLog 
perllib/General: FileSystem.pm 

Log message:
* FvwmButtons: fixed specifying Font in Container
* perllib: fixed saving a file without a path

--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


dynamism in FvwmButtons

2002-05-29 Thread Mikhael Goikhman
I miss some dynamism in FvwmButtons. Here are some my future plans.

I will replace the currently undocumented syntax:

  SendToModule FvwmButtons Title/Icon button-id text

with:

  SendToModule FvwmButtons ChangeButton button-id Title/Icon value

I will add changing Font and maybe some more button properties as well.

value will be a token for consistency, i.e. should be enclosed into
quotes if it has spaces. This is to enable changing of more than 1
property at once, i.e.: ChangeButton 5 Title abc, Icon my.png

button-id may be as it is now, number starting from 0 or +x+y.
I will also add a syntax similar to 2/3 meaning the button number 3
in the container number 2. Should the syntax start counting from 0 or 1?

I may think about adding other actions like:

  AddToButton button-id property value
  DeleteFromButton button-id property
  AddEmptyButtonToEnd
  AddEmptyButtonToContainer container-number
  AddEmptyContaner...

but I am not sure yet that I will really need them.
Some of these action should change the geometry of FvwmButtons...
What I do need is this action:

  ChangeContainer container-id property value

I also need a Show/Hide boolean option in containers (and possibly in
single buttons) that will (statically or dynamically) show/hide a whole
container or a button. I.e. something like this:

  *FvwmButtons: (Show, Title title1, Font font1, Icon icon1)
  *FvwmButtons: (Hide, Title title2, Font font2, Icon icon2)

Then dynamically:

  SendToModule FvwmButtons ChangeButton 1 Hide; 2 Show

Here ; unlike , belongs to ChangeButton, compare with the following:

  SendToModule FvwmButtons ChangeButton 1 Hide, Show, Title my-text

I will not do everything, but I will start this.
Any other ideas or volunteers to do some of the work are welcome.

Regards,
Mikhael.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


CVS olicha: * Fixed FvwmForm Input cursor position for a mouse click

2002-05-29 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: olicha  02/05/29 16:11:07

Modified files:
modules: ChangeLog 
modules/FvwmForm: FvwmForm.1 ReadXServer.c 

Log message:
* Fixed FvwmForm Input cursor position for a mouse click
* Removed fixed font requirement for InputFont in FvwmForm man page

--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: CVS olicha: * Finished shadow text implementation for modules

2002-05-29 Thread Olivier Chapuis
On Tue, May 28, 2002 at 01:16:26PM -0400, Dan Espen wrote:
 FVWM CVS fvwm-workers@fvwm.org writes:
  CVSROOT:/home/cvs/fvwm
  Module name:fvwm
  Changes by: olicha  02/05/24 08:03:38
  
  Modified files:
  * Added support for variable fonts for FvwmForm input item
  (Dan do I break something?)
 
 It works pretty well.
 
 Cursor positioning with button 3 and variable width fonts
 doesn't get the right position.


Fixed. The cursor position after a mouse click can be 1 char
different than before. The new logic is: the cursor go just
before the character under the mouse (even if the mouse is on
the right of the char). I think it is ok as it is this logic
which is used in emacs (but yes in my emacs the cursor is a
charsize rectangle ...).

Olivier
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: dynamism in FvwmButtons

2002-05-29 Thread Mikhael Goikhman
On 29 May 2002 20:59:58 +, Mikhael Goikhman wrote:
 
   SendToModule FvwmButtons ChangeButton button-id Title/Icon value
 
 button-id may be as it is now, number starting from 0 or +x+y.
 I will also add a syntax similar to 2/3 meaning the button number 3
 in the container number 2. Should the syntax start counting from 0 or 1?

One addition. Id will be optionally specified in any button, i.e.:

  *FvwmButtons: (Id current_time, Title 14:00)

  SendToModule FvwmButtons ChangeButton current_time Title 14:01

Regards,
Mikhael.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Notification: incoming/876

2002-05-29 Thread Jan Echternach
On Wed, May 29, 2002 at 02:04:06PM +0200, Dominik Vogt wrote:
  That diagnosis was too quick.  The netscape window actually loses the
  focus as it should, but the color map of the root window is not restored.

 Can you please give me step by step instructions to reproduce the
 problem, including the relevant config lines?  I don't know how to
 test this in the first place, but I think the colour map focus and
 the keyboard focus should stay in the same window.

Open a window (e.g. netscape -install, xv -owncmap), move pointer into
window, move pointer out of window (to the root window).  Now the xv or
netscape window has its color map still installed (i.e. it looks good,
the rest of the screen is garbled), but the application's key bindings
are no longer active ('q' doesn't quit xv etc.).  The root window's key
bindings are active instead (e.g. F1 opens fvwm's builtin menu).

I have noticed a short screen flicker when the pointer is moved out
of an xv window to its border or title bar.  And if the pointer is
moved very quickly out of the window, the root window's color map _is_
restored properly.  The netscape window doesn't show this behaviour.


Style * ForeColor   Black
Style * BackColor   DarkOliveGreen4
Style * HilightFore Black
Style * HilightBack indian red
Style * BorderWidth 5, HandleWidth 5
Style   * FvwmBorder  # MWMBorder
Style   * FvwmButtons
HideGeometryWindow Never
SnapAttraction 0 SameType Screen
OpaqueMoveSize 100
Style * WindowShadeSteps 0
EdgeScroll 100 100
EdgeResistance 250 20
EdgeThickness 1
Style * MinOverlapPlacement
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor
Style * DecorateTransient, RaiseTransient, LowerTransient, StackTransientParent

-- 
Jan   fortune: can't load library '/libc.so.4'
  No such library.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: FvwmIconMan Patch - Exposing Background Doesnt Redraw

2002-05-29 Thread Dave Trollope
Hi Dominik,

Dominik Vogt wrote:

 On Tue, May 28, 2002 at 09:28:10PM -0500, Dave Trollope wrote:
  Hi Dominik,
 
  Here is a new patch to move the REDRAW_BG #define to the manager dirty bits
  instead of the button dirty bits. I grouped it with the wrong defines. This 
  is
  for 2.5

 Thanks, I'll apply it.  Could you please make the same patch for
 2.4.7?

Funny you say that, I downloaded the 2.4 branch to do just that, but I found the
clear_empty_region() is still called based on num_windows:

void draw_manager (WinManager *man)
{
  int i, force_draw = 0, update_geometry = 0, redraw_all = 0;
  int shape_changed = 0;
[snip]
  if (redraw_all || (man-buttons.dirty_flags  NUM_WINDOWS_CHANGED)) {
ConsoleDebug (X11, \tresizing manager\n);
resize_manager (man, redraw_all);
update_geometry = 1;
force_draw = 1;
  }
  if (force_draw || man-buttons.num_windows != 0)
clear_empty_region (man);
...

This is in pretty much all cases. It was this last if that was removed in 2.5.x 
so I
don't think this fix is necessary in 2.4.x


  Index: ChangeLog
  ===
  RCS file: /home/cvs/fvwm/fvwm/ChangeLog,v

 BTW, that's the wrong ChangeLog file.  Changes in the modules
 directory are logged in fvwm/modules/ChangeLog.


Sorry, will do it there next time.
Thanks!
Dave


--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]