* [devel] I: New ruby build
@ 2002-09-19 17:12 Alexander Bokovoy
0 siblings, 0 replies; only message in thread
From: Alexander Bokovoy @ 2002-09-19 17:12 UTC (permalink / raw)
To: devel
Greetings!
В /incoming/Sisyphus/BTE помещена новая сборка Ruby 1.7.3.
Изменения:
- в Net::HTTP добавлена поддержка прокси с авторизацией, патч отправлен в
upstream, ждем интеграции
- собран модуль поддержки readline, так что irb снова понимает историю
- пересборка с новыми XFree86
- собран экспериментальный Win32OLE с использованием Wine. У меня падает,
но может кого заинтересует? Это полный доступ к OLE, в стиле:
------------------------------------------------------------------
require 'win32ole'
# -4100 is the value for the Excel constant xl3DColumn.
ChartTypeVal = -4100;
# Creates OLE object to Excel
excel = WIN32OLE.new("excel.application")
# Create and rotate the chart
excel['Visible'] = TRUE;
excel.Workbooks.Add();
excel.Range("a1")['Value'] = 3;
excel.Range("a2")['Value'] = 2;
excel.Range("a3")['Value'] = 1;
excel.Range("a1:a3").Select();
excelchart = excel.Charts.Add();
excelchart['Type'] = ChartTypeVal;
i = 30
i.step(180, 10) do |rot|
excelchart.rotation=rot;
end
# Done, bye
excel.ActiveWorkbook.Close(0);
excel.Quit();
--------------------------------------------------------------------
Под Windows это работает, хотелось бы довести до ума и под Wine, если
найдутся желающие.
--
/ Alexander Bokovoy
---
: is not an identifier
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-19 17:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-19 17:12 [devel] I: New ruby build Alexander Bokovoy
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git