Wed Mar 5 17:50:04 GMT 2008 Eric Kow <[EMAIL PROTECTED]>
* Update building instructions (homepage).
Wed Mar 5 18:40:35 GMT 2008 Eric Kow <[EMAIL PROTECTED]>
* Fix dist path in wxhaskell.spec
Thu Mar 6 14:13:39 GMT 2008 Eric Kow <[EMAIL PROTECTED]>
* Withdraw more support for ghcold (< 6.4)
Thu Mar 6 14:14:06 GMT 2008 Eric Kow <[EMAIL PROTECTED]>
* Adjust size of navigation boxes (homepage).
Fri Mar 7 13:59:13 GMT 2008 Eric Kow <[EMAIL PROTECTED]>
* Add some instructions to the BouncingBalls sample.
New patches:
[Update building instructions (homepage).
Eric Kow <[EMAIL PROTECTED]>**20080305175004] {
hunk ./homepage/building.html 146
<pre>> cd $wxwin
> mkdir mybuild
> cd mybuild
-> ../configure --enable-unicode --disable-shared
+> ../configure --enable-unicode
> make
> make install
> cd contrib/src
hunk ./homepage/building.html 157
Notes:
<ul class="notes">
<li>Add the following flags to <code>configure</code>, to enable certain advanced features of wxHaskell:
-<ul><li><code>--enable-unicode</code> to build a unicode library (recommended for latest darcs repository version).</li>
- <li><code>--disable-shared</code> to build a static library (recommended for wxHaskell version >= 0.7).</li>
+<ul><li><code>--enable-unicode</code> to build a unicode library (required for 0.10 and up).</li>
<li><code>--with-odbc</code> to enable <a href="http://wxhaskell.sourceforge.net/doc/Graphics.UI.WXCore.Db.html">database access</a>.</li>
<li><code>--with-opengl</code> to enable the <a href="http://wxhaskell.sourceforge.net/doc/Graphics.UI.WXCore.OpenGL.html">openGL canvas</a>.</li>
<li><code>--enable-sound</code> to enable playback of wave audio files. (<code>--enable-wave</code> on
hunk ./homepage/building.html 208
<pre>
> cd $wxhaskell
-> ./configure
+> ./configure --enable-split-objs --hcprof
</pre>
Notes:
hunk ./homepage/building.html 287
</div>
<div class="status">
-<a style="float: right" href="#body">top</a>last update: "Aug 18 2007".
+<a style="float: right" href="#body">top</a>last update: "5 March 2008".
</div>
</div>
}
[Fix dist path in wxhaskell.spec
Eric Kow <[EMAIL PROTECTED]>**20080305184035] hunk ./configure 1115
echo "%define wxtoolkit $wxtoolkit" >> config/wxhaskell.spec.temp
echo "%define wxToolkit $wxToolkit" >> config/wxhaskell.spec.temp
echo "%define wxversion $wxversion" >> config/wxhaskell.spec.temp
-echo "%define sourceroot $topdir/out/" >> config/wxhaskell.spec.temp
+echo "%define sourceroot $topdir/dist/" >> config/wxhaskell.spec.temp
echo "%define configflags $arguments_exp" >> config/wxhaskell.spec.temp
echo "" >> config/wxhaskell.spec.temp
cat config/wxhaskell.spec.temp bin/wxhaskell-spec-template > config/wxhaskell.spec
[Withdraw more support for ghcold (< 6.4)
Eric Kow <[EMAIL PROTECTED]>**20080306141339] {
hunk ./configure 915
#echo " package descriptions"
echo " config/wxcore.pkg"
-if test "$ghcold" != "yes"; then
# ghc 6.4+, the partial packages are only used for the windows installer
cat > config/wxcore-partial.pkg << EOF
name:wxcore
hunk ./configure 985
echo "import-dirs:\${wxhlibdir}/imports" >> config/wx.pkg
echo "library-dirs:\${wxhlibdir}" >> config/wx.pkg
-else
-# pre ghc 6.4
-cat > config/wxcore.pkg << EOF
-Package
- { name="wxcore"
- , import_dirs=["\${wxhlibdir}/imports"]
- , library_dirs=["\${wxhlibdir}"]
- , hs_libraries=["wxcore","wxcore0","wxcore1","wxcore2"]
- , extra_libraries=["${wxclibname}-${binversion}"]
- , package_deps = ["base","lang","haskell98","concurrent"]
- , extra_ld_opts=[$extraldopts]
- }
-EOF
-
-echo " config/wx.pkg"
-cat > config/wx.pkg << EOF
-Package
- { name="wx"
- , import_dirs=["\${wxhlibdir}"]
- , library_dirs=["\${wxhlibdir}"]
- , hs_libraries=["wx"]
- , package_deps=["wxcore"]
- }
-EOF
-fi
-
# set version in msc project file
updateversion () {
hunk ./configure 1006
# generate windows installer files.
echo " config/wxhaskell-register.bat"
echo "@SET wxclibname=${wxclibname}-${binversion}" > config/wxhaskell-register-temp
-if test "$ghcold" = "yes"; then
- cat config/wxhaskell-register-temp bin/wxhaskell-register-template.bat | sed -e "s|\${hcregister}|ghc-pkg -u -i|g" -e "s|\$|\\r|g" > config/wxhaskell-register.bat
-else
- echo "@SET generate=yes" >> config/wxhaskell-register-temp
- cat config/wxhaskell-register-temp bin/wxhaskell-register-template.bat | sed -e "s|\${hcregister}|ghc-pkg update|g" -e "s|\$|\\r|g" > config/wxhaskell-register.bat
-fi
+echo "@SET generate=yes" >> config/wxhaskell-register-temp
+cat config/wxhaskell-register-temp bin/wxhaskell-register-template.bat | sed -e "s|\${hcregister}|ghc-pkg update|g" -e "s|\$|\\r|g" > config/wxhaskell-register.bat
rm -f config/wxhaskell-register-temp
echo " config/wxhaskell-unregister.bat"
hunk ./configure 1012
echo "@SET wxclibname=${wxclibname}-${binversion}" > config/wxhaskell-unregister-temp
-if test "$ghcold" = "yes"; then
- cat config/wxhaskell-unregister-temp bin/wxhaskell-unregister-template.bat | sed -e "s|\${hcunregister}|ghc-pkg -r|g" -e "s|\$|\\r|g" > config/wxhaskell-unregister.bat
-else
- cat config/wxhaskell-unregister-temp bin/wxhaskell-unregister-template.bat | sed -e "s|\${hcunregister}|ghc-pkg unregister|g" -e "s|\$|\\r|g" > config/wxhaskell-unregister.bat
-fi
+cat config/wxhaskell-unregister-temp bin/wxhaskell-unregister-template.bat | sed -e "s|\${hcunregister}|ghc-pkg unregister|g" -e "s|\$|\\r|g" > config/wxhaskell-unregister.bat
rm -f config/wxhaskell-unregister-temp
echo " config/setcd"
hunk ./configure 1038
# generate macosx post-install files.
echo " config/macosx-postinstall"
-if test "$ghcold" = "yes"; then
-cat > config/macosx-postinstall << EOF
-#!/bin/sh
-env wxhlibdir="$libdir" /usr/local/bin/ghc-pkg -u -i "\$1/Contents/Resources/wxcore.pkg"
-env wxhlibdir="$libdir" /usr/local/bin/ghc-pkg -u -i "\$1/Contents/Resources/wx.pkg"
-EOF
-else
cat > config/macosx-postinstall << EOF
#!/bin/sh
hunk ./configure 1040
-cat "\$1/Contents/Resources/wxcore.pkg" | sed -e "s|\\\${wxhlibdir}|${libdir}|" | /usr/local/bin/ghc-pkg --global update -
-cat "\$1/Contents/Resources/wx.pkg" | sed -e "s|\\\${wxhlibdir}|${libdir}|" | /usr/local/bin/ghc-pkg --global update -
+cat "\$1/Contents/Resources/wxcore.pkg" | sed -e "s|\\\${wxhlibdir}|${libdir}|" | ghc-pkg --global update -
+cat "\$1/Contents/Resources/wx.pkg" | sed -e "s|\\\${wxhlibdir}|${libdir}|" | ghc-pkg --global update -
EOF
hunk ./configure 1043
-fi
chmod a+x config/macosx-postinstall
}
[Adjust size of navigation boxes (homepage).
Eric Kow <[EMAIL PROTECTED]>**20080306141406] hunk ./homepage/main.css 21
; padding: 2pt
; float: left
; clear: left
- ; width: 2.25cm
+ ; width: 7.8em
}
/* centered text */
[Add some instructions to the BouncingBalls sample.
Eric Kow <[EMAIL PROTECTED]>**20080307135913] {
hunk ./samples/wx/BouncingBalls.hs 31
,on (charKey '-') := set t [interval :~ \i -> i*2] -- increase interval
,on (charKey '+') := set t [interval :~ \i -> max 1 (i `div` 2)] -- decrease interval
]
-
+ let instructions = init . unlines $
+ [ "Click to create more bouncing balls"
+ , "Right-click to for a new window"
+ , "<p> to pause"
+ , "<+/-> to change the speed" ]
-- put the panel in the frame
hunk ./samples/wx/BouncingBalls.hs 37
- set f [layout := minsize (sz maxX maxY) $ widget p]
+ set f [layout := column 1 [ minsize (sz maxX maxY) (widget p)
+ , label instructions ] ]
return ()
where
-- drop a new ball
hunk ./samples/wx/BouncingBalls.hs 80
-- the max. height is at most max. y minus the radius of a ball.
maxH :: Int
maxH = maxY - radius
+
}
Context:
[Describe older make use in documentation for cygwin
[EMAIL PROTECTED]
[Sync Visual Studio's wxc library version to 0.10.3.
shelarcy <[EMAIL PROTECTED]>**20080306001813]
[Fix mispelling of Mads's family name.
Eric Kow <[EMAIL PROTECTED]>**20080305173825
Sorry!
]
[Don't call wxcore-clean when building wx.
Eric Kow <[EMAIL PROTECTED]>**20080305173555
Also, build wxcore in its own directory, so we don't get overlapping with wx.
(I'm guessing that the overlap is why we called wxcore-clean)
]
[More portable haddocking for Windows.
Eric Kow <[EMAIL PROTECTED]>**20080305172200
As suggested by shelarcy.
]
[Last modified (homepage).
Eric Kow <[EMAIL PROTECTED]>**20080305142057]
[Add XRC as a wishlist task (homepage).
Eric Kow <[EMAIL PROTECTED]>**20080305141841]
[Add bugs to the dist files.
Eric Kow <[EMAIL PROTECTED]>**20080305141806
We want people to know we're aware of them, and we want them
to get the idea of writing bug reports with demonstrators.
]
[Remove scintilla from wishlist (homepage).
Eric Kow <[EMAIL PROTECTED]>**20080305135436
Already implemented as far as I know.
]
[Update repository info (now using darcs, not CVS). (homepage)
Eric Kow <[EMAIL PROTECTED]>**20080305135227]
[Update list of developers (homepage).
Eric Kow <[EMAIL PROTECTED]>**20080305135206]
[Update hdocbases to work with haddock2 and ghc 6.8.2
Eric Kow <[EMAIL PROTECTED]>**20080305134826
I'm not sure which, but this makes it compile on my end.
]
[Also take advantage of -split-objs for wx.
Eric Kow <[EMAIL PROTECTED]>**20080305113837]
[(configure/haddock) Set normdocroot on non-Cygwin.
Eric Kow <[EMAIL PROTECTED]>**20080305112720]
[Update URL for haddock interface files.
Eric Kow <[EMAIL PROTECTED]>**20080305112639]
[Withdraw haddock support for GHC < 6.2.
Eric Kow <[EMAIL PROTECTED]>**20080305112401
Portability is nice and all, but this is getting hard to maintain.
]
[Fix dep: wx-bindist requires wx
Eric Kow <[EMAIL PROTECTED]>**20080305112324]
[Don't do wildcard expansion in cp-echo.
Eric Kow <[EMAIL PROTECTED]>**20080305111415
It seems to expand non-wildcard strings like into the empty string.
Not sure if this breaks anything else, though.
]
[Use xargs to feed split objs to $(AR) 25 at a time.
Eric Kow <[EMAIL PROTECTED]>**20080305104856]
[Add vim modeline for makefile.lib.
Eric Kow <[EMAIL PROTECTED]>**20080305103228
It's really irritating otherwise; vim thinks it's COBOL.
]
[Bump to 0.10.3.
Eric Kow <[EMAIL PROTECTED]>**20080304224327]
[Add an --hcflags option to the configure script.
Eric Kow <[EMAIL PROTECTED]>**20080227223152
For --split-objs and friends.
]
[Back off from using split-objs for Graphics.UI.WXCore.WxcTypes
Eric Kow <[EMAIL PROTECTED]>**20080304223524
I don't really understand why we have to do this, but I get undefined
symbol errors linking sample apps when using this with --enable-split-objs
]
[Warn about GHC older than 6.4 (to match removed functionality).
Eric Kow <[EMAIL PROTECTED]>**20080304223505]
[Fix configure bug where ENABLE-SPLITOBJS was being defined.
Eric Kow <[EMAIL PROTECTED]>**20080304170729
It was being set to 'no' (perhaps the makefile should just
check if ENABLE-SPLITOBJS='yes')
]
[Add a wxcREFUSE_MEDIACTRL flag (for the same reason as opengl)
Eric Kow <[EMAIL PROTECTED]>**20080304154047]
[Create a --enable-split-objs option for configure and makefile.
Eric Kow <[EMAIL PROTECTED]>**20080302233710
For wxcore, --enable-split-objs calls GHC with -split-objs and
combines the splitted up .o files in the archive.
]
[Added testcase for FontFixed problem (1906476)
Mads Lindstroem <[EMAIL PROTECTED]>**20080304060118]
[Fix: bugs/makefile's "make clean" doesn't clean Windows things.
shelarcy <[EMAIL PROTECTED]>**20080228082649]
[Remove List Control test case (bug 1742979 is already fixed on darcs).
shelarcy <[EMAIL PROTECTED]>**20080228081614]
[Maintainer is wxhaskell-devel not wxhaskell-users.
Eric Kow <[EMAIL PROTECTED]>**20080225003139]
[Specify what OS BoxedCombinator bug fails on.
Eric Kow <[EMAIL PROTECTED]>**20080227135140]
[Fix bugs makefile under Linux
Eric Kow <[EMAIL PROTECTED]>**20080227134848]
[Remove parasite configure change.
Eric Kow <[EMAIL PROTECTED]>**20080227134757
Move around some variables to make more sense.
]
[Add wx-prof target for Windows binary distribution.
shelarcy <[EMAIL PROTECTED]>**20080227035051]
[Fix bugs in enable wxcore profiling.
shelarcy <[EMAIL PROTECTED]>**20080227034845]
[Add a configure option to enable wxcore profiling.
Eric Kow <[EMAIL PROTECTED]>**20080226215155]
[Fix some bugs pointed out by shelarcy on wxcore-prof.
Eric Kow <[EMAIL PROTECTED]>**20080226211227]
[Add wxcore-prof target for compiling profiling versions of wxcore.
Eric Kow <[EMAIL PROTECTED]>**20080225231635]
[Remove support for GHC prior to 6.4.
Eric Kow <[EMAIL PROTECTED]>**20080225223554]
[Change samples/contrib/Camels.hs encoding to UTF-8.
shelarcy <[EMAIL PROTECTED]>**20080225142551]
[Fix: docdist and bindist's wx documents don't link wxcore documents.
shelarcy <[EMAIL PROTECTED]>**20080225141105]
[Fix: configure doesn't find GHC's Haddock document directory on GHC 6.8.x or higher.
shelarcy <[EMAIL PROTECTED]>**20080225135754]
[Add a test case for start >> start (1610984)
Eric Kow <[EMAIL PROTECTED]>**20080225001328]
[Fix bug pointed out by shelarcy in --enable-mediactrl flag.
Eric Kow <[EMAIL PROTECTED]>**20080225110340
It was setting the opengl flag instead.
]
[Implement an --enable-mediactrl configure flag.
Eric Kow <[EMAIL PROTECTED]>**20080225000109
with mediactrl disabled by default.
]
[(OS X) Skip intermediate step of compiling master.o (revisited!)
Eric Kow <[EMAIL PROTECTED]>**20080218225200
I'm going to quote some mails from Malcolm Wallace on wxhaskel-users in early
2008-02.
First message:
> I'm attempting to install wxHaskell from the darcs repo at
> darcs.haskell.org, under ghc-6.6. on MacOS 10.4.11, with
> wxMac-2.6.4.
>
> The compilation of wxHaskell seems to proceed OK until the link
> stage:
>
> g++ -r -keep_private_externs -nostdlib -o out/wxc/master.o ....
>
> which failed because there is no -lstdc++-static on my machine. I
> found the place in the makefile to replace -lstdc++-static with
> the dynamic -lstdc++, and compilation proceeds further, but not
> much:
>
> g++ -dynamiclib -install_name\
> /usr/local/wxhaskell/lib/libwxc-mac2.6.4-0.10.1.dylib -undefined suppress\
> -flat_namespace -o out/wxc/libwxc-mac2.6.4-0.10.1.dylib out/wxc/master.o\
> -lwx_macu_gl-2.6 -L/usr/local/lib -framework QuickTime -framework IOKit\
> -framework Carbon -framework Cocoa -framework System -lwx_macu_media-2.6\
> -lwx_macu-2.6
> ld: out/wxc/master.o undefined symbol 12387 (__ZTI10wxListBase) can't be a weak definition
> /usr/bin/libtool: internal link edit command failed
>
> The offending symbol __ZTI10wxListBase looks like it might be a
> z-encoded symbol from Haskell-land, but I'm not sure how to proceed.
Second message:
> A correct build on MacOS 10.4.11 with ghc-6.6 requires that
> wxWidgets is configured with --enable-shared, and that this patch:
>
> (OS X) Check architecture to use intermediate step of compiling
> master.o or not.
>
> be darcs unpulled from your local repo.
>
> With these tweaks, wxHaskell builds, compiles, and runs the demo
> programs.
]
[Add a diagram of wxhaskell components.
Eric Kow <[EMAIL PROTECTED]>**20080224185557]
[Eliminate mandatory --with-opengl on Linux.
Eric Kow <[EMAIL PROTECTED]>**20080219171912
If wxWidgets is compiled with opengl, its header files
#define wxUSE_GLCANVAS 1
(See, for example, /usr/lib/wx/include/gtk2-unicode-release-2.6/wx/setup.h on
Ubuntu Gutsy Gibbon), which causes us to compile glcanvas as if we were going
to link against the wxWidgets opengl library. But since we are not linking
against that, the user gets errors compiling their applications.
Here we introduce an extra preprocessor flag to really insist that no, despite
what wxWidgets says, we don't want to use GLCANVAS.
]
[Fix: wxPrint**, wxPreviveFrame** and other function causes link error by undefined reference on Windows (Visual Studio).
shelarcy <[EMAIL PROTECTED]>**20080219034144]
[Export TabPage type synonym (bug 1349475)
Eric Kow <[EMAIL PROTECTED]>**20080218005112]
[Add ListControl test case (bug 1742979)
Eric Kow <[EMAIL PROTECTED]>**20080218002441
This might only be a bug on Windows, if at all.
]
[Add test case textColor attribute (bug 1224727).
Eric Kow <[EMAIL PROTECTED]>**20080218000738]
[Fix Landscape printing (bug 1168903).
Eric Kow <[EMAIL PROTECTED]>**20080217235724
Filed on behalf on Lennart Augustson <[EMAIL PROTECTED]>, who
submitted a regular Unix patch.
]
[Add BoxedCombinator test case (bug 1549363)
Eric Kow <[EMAIL PROTECTED]>**20080217233719]
[Add Sound type's Media class stop method.
shelarcy <[EMAIL PROTECTED]>**20080218160511]
[Fix STC* test cases.
shelarcy <[EMAIL PROTECTED]>**20080218155734]
[Fix: wrapper.h and sound.cpp doesn't care about wxWindows 2.4.2.
shelarcy <[EMAIL PROTECTED]>**20080218155605]
[Sync Visual Studio Project's source flatten away ewxw directories.
shelarcy <[EMAIL PROTECTED]>**20080218142201]
[Cleanup passing of std/media/stc/opengl to wx-config.
Eric Kow <[EMAIL PROTECTED]>**20080218130345]
[Add the submenu bug.
Eric Kow <[EMAIL PROTECTED]>**20080217174326]
[Add NonModalDialog test case (bug #1372529)
Eric Kow <[EMAIL PROTECTED]>**20080217174203]
[Add a bugs directory for test cases.
Eric Kow <[EMAIL PROTECTED]>**20080217174142]
[Fix UTF8Sampler test case.
Eric Kow <[EMAIL PROTECTED]>**20080217130553]
[Fix typo pointed out on bugtracker.
Eric Kow <[EMAIL PROTECTED]>**20080217114303]
[dos2unix files that have both CRLF and LF line terminators
Eric Kow <[EMAIL PROTECTED]>**20080217095711
Text editors get confused by these.
Get rid of trailing whitespace while we're at it.
]
[Flatten away ewxw directories.
Eric Kow <[EMAIL PROTECTED]>**20080217094929
This is to mirror the wxc project, making it easier to compare our
version of wxc with the standalone one.
]
[Remove unused ewxw files.
Eric Kow <[EMAIL PROTECTED]>**20080217082029
There is an overlap between ./wxc/src/ewxw and ./wxc/src. The makefile seems
to ignore the ones in ewxw.
]
[Synch Visual Studio Project's wxc library version
shelarcy <[EMAIL PROTECTED]>**20080216161420]
[Synch Visual Studio Project's output dir same as makefile
shelarcy <[EMAIL PROTECTED]>**20080216155656]
[Ugly hack to make setup haddock work without first building.
Eric Kow <[EMAIL PROTECTED]>**20080216135157]
[Bump to 0.10.2.
Eric Kow <[EMAIL PROTECTED]>**20080216130854]
[Mimick cabal in placement of haddocks.
Eric Kow <[EMAIL PROTECTED]>**20080216130819]
[Move cabal stuff to end of makefile.
Eric Kow <[EMAIL PROTECTED]>**20080216125445
so that all variables are defined.
]
[Add Hs-Source-Dirs for wxcore.cabal.
Eric Kow <[EMAIL PROTECTED]>**20080216125112
In case we ever switch to the Simple build type.
]
[Re-add time package dependency (needed by wxdirect).
Eric Kow <[EMAIL PROTECTED]>**20080216124853]
[Improve description and synopsis of cabal files.
Eric Kow <[EMAIL PROTECTED]>**20080216124832]
[Split doc building into wxcore and wx version.
Eric Kow <[EMAIL PROTECTED]>**20080216124746]
[Modernise haskell98 imports in wxdirect.
Eric Kow <[EMAIL PROTECTED]>**20080216120113]
[Prefer /usr/local/wxhaskell/bin/wx-config to the one on the path.
Eric Kow <[EMAIL PROTECTED]>**20080216113844
This makes it easier to install wxhaskell via cabal-install.
Just set up a symbolic link to point to point to your wxWidgets,
no need for the --wx-config flag.
]
[Add some --bindir, --datadir, --libexecdir to configure script.
Eric Kow <[EMAIL PROTECTED]>**20080216113837
For Cabal. The last two are ignored.
]
[Change output dir to 'dist' to mimick cabal.
Eric Kow <[EMAIL PROTECTED]>**20080216104847]
[Modernise haskell98 imports in wxcore.
Eric Kow <[EMAIL PROTECTED]>**20080216100020]
[Consolidate build targets which exist purely for the sake of Cabal.
Eric Kow <[EMAIL PROTECTED]>**20080216095845]
[Fix some dependencies that Ross Paterson pointed out.
Eric Kow <[EMAIL PROTECTED]>**20080215181444]
[TAG 0.10.1
Eric Kow <[EMAIL PROTECTED]>**20080215173503]
Patch bundle hash:
d4d5738eb389292008af8dea130ee52e28d02cea
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel