Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 2, 2013
  1. Merge pull request #12 from nickela/master

    authored
    Fixed image creation from bytestring bug
Commits on Jan 23, 2013
  1. Added missing API to wxc:

    Dmitriy Nikitinskiy authored
    wxGrid: cell spans, cell renderers (numeric, auto string wrapping)
    wxScrolledWindow: show/hide scrollbars
    wxSplitterWindow: control sash gravity
  2. fixed imageCreateFromLazyByteString, peek from CString with specified…

    Dmitriy Nikitinskiy authored
    … length,
    
    to avoid recognizing zeroes in data as NULL-termination in string
Commits on Aug 11, 2012
  1. @yihuang

    Fix cpp type mismatch.

    yihuang authored
Commits on Apr 22, 2012
  1. Add support for virtual ListCtrl, and a few other unwrapped ListCtrl …

    authored
    …methods.
    
    Added methods: listCtrlGetItemFont, listCtrlIsVirtual, listCtrlRefreshItem, listCtrlRefreshItems.
    Added constants: wxLC_VIRTUAL, wxLC_MASK_TYPE, wxLC_MASK_ALIGN, wxLC_MASK_SORT.
    Removed deprecated constant wxLC_USER_TEXT.
Commits on Apr 20, 2012
  1. Fix behaviour of textEntry and entry controls on OSX.

    authored
    See #1 (comment)
    
    It seems that using the wxTE_RICH attribute in textEntry and entry causes a multi-line text control style to be created by default on OS X. This is new behaviour on wxWidgets 2.9.x.
    
    This patch makes the wxTE_RICH and wxTE_RICH2 attribute settings dependent on the host OS (only sets them on Windows)
    
    This patch also fixes bugs associated with the use of textCtrlClear followed by textCtrlWriteText, reported in the same issue.
    
    Note that this does not fix the problem that the textColor attribute is not respected.
Commits on Apr 18, 2012
  1. Fix minor typos in error message when required wxWidgets version is n…

    authored
    …ot available.
    
    Issue reported by Henk-Jan van Tuyl (hjgtuyl@cello.nl)
Commits on Apr 14, 2012
  1. Fix error building on some 32 bit targets.

    authored
    Ignore-this: 212d1935582b619313032033a20834d
    
    Apply patch due to Heinrich Apfelmus (apfelmus@quantentunnel.de). His description
    attached below:
    
    "I just tripped over a bug in the  Setup.hs  belonging to  wxc  that
     prevented me from compiling wxHaskell with 32bit architecture.
    
     The problem is the following: in the function  linkSharedLib , the
     function  runProgram  is commented out and the function  system  is used
     instead. This is not correct because  gcc  may (and in my case: does)
     carry additional command line options! (Besides, the verbose output is
     lost.)
    
     Apparently, this was done because the   runProgram  didn't work for some
     reason. The reason is that some command line options are actually two
     arguments. In particular, setting the output file via
    
       "-o " ++ out_dir </> sharedLibName ver basename,
    
     is not correct, the right way to go about it are two arguments
    
       "-o", out_dir </> sharedLibName ver basename,
    
     Same for the "-install_name" option. Four lines need to be changed in
     the  linkCxxOpts  file, then  runProgram  will work."
    
    darcs-hash:20120414142124-75908-2cab48a05599cd3556734f64dbd712a24fe6c619.gz
Commits on Apr 13, 2012
  1. @kowey

    Modernise System.Exit import in wxc.

    kowey authored
    Ignore-this: 2bd4fbea71cf7f92e810074bb122b3da
    Needed to build with GHC 7.4.1
    
    darcs-hash:20120413161642-db91e-24246ed70835df91671c25733b143b8e227193b3.gz
  2. Bump version to 0.90 for wxWidgets 2.9 support.

    authored
    Ignore-this: 7e343352397703f721b2cddf41ddd1da
    
    To allow for reasonably long co-existance of wxHaskell branches supporting
    wxWidgets 2.8.x and wxWidgets 2.9.x, I have bumped the version for wxWidgets 2.9
    quite considerably.
    
    This will allow natural evolution of the wxWidgets 2.8 supporting codeline
    without excessively constraining version number bumps.
    
    It is assumed that the wxWidgets 2.8 supporting versions have been branched
    into new directories (some loss of history, unfortunately, but it's the
    price for not creating a new repository).
    
    darcs-hash:20120413103524-75908-8baf3c107facdf367c7264e83ea3e6d6035bbac4.gz
Commits on Apr 3, 2012
  1. Last missed patches.

    authored
    Ignore-this: 14a684c8eda33fe3f77bd2af2bba6f72
    
    Bump version dependencies on wxcore.
    Fix a some undefined event cases in eljevent.cpp.
    
    darcs-hash:20120403192212-75908-eba30ce450fca807feba7fa038f96205525aa3d3.gz
Commits on Mar 25, 2012
  1. Missed PropertyGrid support reinstated.

    authored
    Ignore-this: ead0b358bb7638a3cce5facacb791af8
    
    darcs-hash:20120325114435-75908-a04fdfb33461236c10fb42bbbe2a2d79d05db3c6.gz
  2. OpenGL Support.

    authored
    Ignore-this: 7db5626d1959563a1dba5911fe895ed2
    
    This includes the following patches from Dave Tapley's branch:
    
    Wed Dec 14 17:09:34 GMT 2011  dukedave@gmail.com
      * Merge in patch to return OpenGL support
      This resolves conflicts primarily between the patches:
    
      "Reinstate OpenGL support for wxWidgets 2.9."
      "Use wx-config to generate all used libraries"
    
      and
    
      "Move compilation of C++ code to new wxc project and use a shared library for it"
      "Missed modified files in previous patch"
    
    Wed Nov 16 09:42:39 GMT 2011  jeremy.odonoghue@gmail.com
      * Reinstate OpenGL support for wxWidgets 2.9.
    
      OpenGL support compiles and links (at least for wxWidgets 2.9 on Ubuntu
      against Dave Tapley's repo), but sample code doesn't work yet - investigating
      whether this is due to wx API changes or a problem in wxcore OpenGL support.
    
    darcs-hash:20120325114246-75908-e1fb5bcb9e5df55431cc5c789f166c62ae9d24cc.gz
  3. PropertyGrid support.

    authored
    Ignore-this: fba1166bac06e76782638a974d64147e
    
    Merge PropertyGrid support from Dave Tapley's branch. This contains items
    from the following patches:
    
    Sat Nov 12 20:46:48 GMT 2011  dukedave@gmail.com
      * Wrap wxPGProperty_SetHelpString
    
    Fri Nov 11 18:23:11 GMT 2011  dukedave@gmail.com
      * Wrapped wxPropertyGrid DisableProperty and added usage to sample
    
    Tue Oct  4 00:33:05 BST 2011  dukedave@gmail.com
      * Make PropertyGrid sample more user friendly
    
    Mon Oct  3 23:38:07 BST 2011  dukedave@gmail.com
      * Make the PropertyGrid example a little bigger
    
    Mon Oct  3 23:37:44 BST 2011  dukedave@gmail.com
      * Wrapped wxPropertyCategory
    
    Mon Oct  3 22:47:48 BST 2011  dukedave@gmail.com
      * Clean up the wxPropertyGrid sample
    
    Sat Oct  1 22:25:15 BST 2011  dukedave@gmail.com
      * Print out the parse error when one is encountered running wxdirect
    
    Sat Oct  1 22:24:32 BST 2011  dukedave@gmail.com
      * Wrap extra PGProperty subclasses
    
    Fri Sep 30 02:49:11 BST 2011  dukedave@gmail.com
      * Set label, name and value when creating PGProperty subclasses
      Ideally I'd keep the default PGProperty constructors and wrap the Set.. functions,
      however I tried this and SetValue doesn't play nicely (throwing a run-time assertion
      about the value being a user defined one, which is confusing).
    
    Thu Sep 29 23:40:35 BST 2011  dukedave@gmail.com
      * Updated PropertyGrid sample
    
    Thu Sep 29 22:45:28 BST 2011  dukedave@gmail.com
      * Wrapped extra code for wxPropertyGrid, some refactoring
    
    Thu Sep 22 22:22:30 BST 2011  dukedave@gmail.com
      * Fix for Prelude.chr error using wxString in wx-2.9
      This is a fix for the problem reported here:
      http://sourceforge.net/mailarchive/message.php?msg_id=28116578
    
    Thu Sep 22 22:21:57 BST 2011  dukedave@gmail.com
      * Clearer logging for the PropertyGrid sample code
    
    Thu Sep 22 22:20:46 BST 2011  dukedave@gmail.com
      * Added wxEVT_PG_CHANGED and test code
    
    Thu Sep 22 22:13:11 BST 2011  dukedave@gmail.com
      * Fix segfault with wxPGProperty caused returning local wxString
      The initial implementation of wxPGProperty was causing a segfault,
      after comparing my approach to that used by existing methods I noticed
      that they all return wxString* (i.e. a pointer and not a copy) and use
      pattern [1], after modifying wxPGProperty to do the same the segfault
      went away.
    
      [1]
          wxString *result = new wxString();
          *result = self->FuncWhichReturnswxString();
          return result;
    Tue Aug 30 23:42:08 BST 2011  dukedave@gmail.com
      * Added wxStringProperty and wxPropertyGrid_Append
      I'm also updated the PropertyGrid.hs sample, to create a couple of wxStringProperty's and
      wxPropertyGrid_Append them; and updated the highlighted call back to print the label name
      when an item is hovered over, unfortunately this causes a segfault presently.
    
    Fri Aug 26 06:25:25 BST 2011  dukedave@gmail.com
      * Added wxPropertyGridEvent_HasProperty, made PropertyGridHighlighted have a Maybe PGProperty
    
    Fri Aug 26 01:01:27 BST 2011  dukedave@gmail.com
      * Wrapping wxPropertyGrid
    
    darcs-hash:20120325113657-75908-a48d980c5b338054e3855404c2b960ee8cce7d53.gz
  4. Misc patches removing wxWidgets < 2.9 support

    authored
    Ignore-this: e5dff79eb4725668e456b6e40cd1b79
    
    Minor tidy up of source code to remove support for wxWidgets 2.8 (mainly
    #ifdefs, but some type safety changes brought in with wxWidgets 2.9)
    
    darcs-hash:20120325113337-75908-31aa55322f6b9267d29151b29a04b924fcb3881e.gz
Commits on Mar 18, 2012
  1. Enable wxc library to be fund on OS X Lion.

    authored
    Ignore-this: 3ac42cdee1742611b90c275896c40ed6
    
    Merge patches from Eric Kow's OS X Lion support branch. Here we add absolute path
    to the wxc dylib install directory.
    
    darcs-hash:20120318154418-75908-e142d58ac6852d51e3d00a75ea8649be823835b5.gz
Commits on Mar 14, 2012
  1. Fixed wxc build.

    authored
    Ignore-this: 305cffb93b886526562b24ed85af3cfb
    
    Removed problematic WebKit events (based on Eric Kow, Nov 3rd 2011)
    Fixed merge error in Setup.hs using the '-undefined' linker flag on OS X.
    
    darcs-hash:20120314230034-75908-f67f5c3fe61e328860df4a98ad4ca89171fb2ca5.gz
Commits on Mar 11, 2012
  1. Branch wxc library out of wxcore.

    authored
    Ignore-this: cf47c90ff869758823e19fcfd3f1aa20
    
    Start of merging changes from Dave Tapley's repo for wxWidgets 2.9 support.
    Because the branches are so far out of sync, changes are mainly being merged manually.
    The following commit comments from Dave are included here:
    
    Mon Dec 19 21:56:17 GMT 2011  dukedave@gmail.com
      * Added missing stc_gen.cpp file to extra-source-files
      he file stc_gen.cpp is unique at the moment in that it is the only .cpp file which
      is included in another .cpp file, thus it isn't included in x-dll-sources (because it
      isn't a separate compilation unit), but it still needs to be put in an sdist tarball.
    
    on Dec 19 20:47:15 GMT 2011  dukedave@gmail.com
      * Added cpp files used in wxc to extra-source-files
      Installing from and sdist tarball would fail without this addition
      because the cpp files wouldn't be present in it.
      The duplicated list in wxc.cabal (for extra-source-files and x-dll-sources) is
      a bit unpleasant, but I feel it is important to make the distinction.
    
    Wed Dec 14 17:06:18 GMT 2011  dukedave@gmail.com
      * Update path given to wxdirect to reflect changes made in other patch
      The wxc C++ files were moved to another project in the patch:
      "Move compilation of C++ code to new wxc project and use a shared library for it"
    
    Wed Dec 14 07:11:35 GMT 2011  dukedave@gmail.com
      * Missed modified files in previous patch
      This is the secord part of the patch "Move compilation of C++ code to new wxc project and use a shared library for it"
      Unfortunately I missed these important files modifications, and darcs was waiting forever when I tried to unrecord or
      amend that patch.
      For further information please see email:
      [wxhaskell-devel] Using a shared library for the C++ in wxhaskell
      http://sourceforge.net/mailarchive/message.php?msg_id=28515489
    
    Wed Dec 14 06:54:17 GMT 2011  dukedave@gmail.com
      * Move compilation of C++ code to new wxc project and use a shared library for it
      This substantial architectural
    
    Wed Nov 16 09:42:39 GMT 2011  jeremy.odonoghue@gmail.com
      * Reinstate OpenGL support for wxWidgets 2.9.
    
      OpenGL support compiles and links (at least for wxWidgets 2.9 on Ubuntu
      against Dave Tapley's repo), but sample code doesn't work yet - investigating
      whether this is due to wx API changes or a problem in wxcore OpenGL support.
    
    darcs-hash:20120311122652-75908-8488b6ea785f73a27fba46c87f99e3ca366a588e.gz
Commits on Nov 11, 2009
  1. Bump version to 0.12.1.1, remove unused wxc directory

    authored
    darcs-hash:20091111172533-75908-b0c530dee0743f34282d0ee0044c5c3961b51c1e.gz
Commits on Nov 9, 2009
  1. Cabalize wxcore per Brian Lewis

    authored
    darcs-hash:20091109164409-75908-559538d88b1d9b28093d5ed5bdd4833ed784b319.gz
Commits on Sep 30, 2009
  1. Fix for FindReplaceData Issue trying to get the replace string

    Fernando Benavides authored
    Ignore-this: 4c30d412c11b6155a12e4ba4fe27cabf
    
    darcs-hash:20090930204233-b4bb7-8978798f4b549a85a0136d43765414e2f4241fcd.gz
Commits on May 15, 2009
  1. @shelarcy

    Use wxWidgets 2.8.10 in default when building on Windows.

    shelarcy authored
    Ignore-this: b15bcfeda1d7b4e795668dd29824245f
    
    darcs-hash:20090515183712-c1071-57797b5f36d89a53836ed3b9671bcee234129b5d.gz
Commits on Apr 12, 2009
  1. @shelarcy

    Bump version number to 0.11.1.3.

    shelarcy authored
    Ignore-this: d87a5e52d5a887da66f909c762f5d8
    
    darcs-hash:20090412053804-c1071-fb896bebb56995d901d0c6a894d43be8adca6ad0.gz
Commits on Mar 16, 2009
  1. @shelarcy

    Move reimp.exe to wxc/util.

    shelarcy authored
    Ignore-this: 5d26d2c189796b8a4e91c6418643cd4f
    
    darcs-hash:20090316033739-c1071-46fdff5d4d63f0976d179dcf16ab2c241df89c89.gz
Commits on Mar 13, 2009
  1. @shelarcy

    Add util directory to wxc.

    shelarcy authored
    Ignore-this: b133e073586824e1d9f4e6c57779a06c
    util contains a few files. These are come from Subversion repository at
    http://snmsts.dreamhosters.com/wxc for to sync two repositories.
    
    darcs-hash:20090313065547-c1071-70a7e4ac247c69cd83332ebcd74ed69fae13a5cd.gz
  2. @shelarcy

    Add socket.cpp and sckaddr.cpp to wxc.

    shelarcy authored
    Ignore-this: a15673b832efc7dc3b7d99544e572b96
    MERGED: add socket/sckaddr
    ------------------------------------------------------------------------
    r25 | snmsts | 2009-01-17 10:33:37 +0900 (Sat, 17 Jan 2009) | 1 line
    from Subversion repository at http://snmsts.dreamhosters.com/wxc
    
    darcs-hash:20090313064952-c1071-d83f51ba000c8714920182d296ca98b3e3701b21.gz
Commits on Mar 12, 2009
  1. @shelarcy

    Fix typo in previous Refactor to return wxPoint/wxSize/wxRect class d…

    shelarcy authored
    …irectly patch.
    
    Ignore-this: 9788064c548976d584252389fb26191d
    
    darcs-hash:20090312171345-c1071-4dbb108a7f1ec92e09e7e4ba12d9a8e176a96c98.gz
Commits on Mar 10, 2009
  1. @shelarcy

    Refactor to return wxPoint/wxSize/wxRect class directly in wxc.

    shelarcy authored
    Ignore-this: e414ff89344e856a3f61a0e6f318c427
    We accept to return wxPoint, wxSize and wxRect class directly in wxc, now.
    
    We always used passing int* pointer arguments to return Point, Size and Rect
    type, previously. But this convention is complex. We sometimes mistook to
    return wxPoint, wxSize and wxRect. Its mistake causes problems.
    
    So, we accept to return wxPoint, wxSize and wxRect now. And we refactor some
    old code to return these types, to show we can return these types now.
    
    darcs-hash:20090310053838-c1071-94be084100ac22e4686f6a81308f9e2f7d23308c.gz
Commits on Mar 5, 2009
  1. @shelarcy

    Bump version number to 0.11.1.2.

    shelarcy authored
    Ignore-this: f13691126a6cf23247b66e55488065dd
    
    darcs-hash:20090305140242-c1071-bae662aa64065750f5ec90edd9df6ddd7c31b9a3.gz
  2. @shelarcy

    Fix: previous Refactor to use C++ bool directly patch causes build er…

    shelarcy authored
    …ror on Linux.
    
    Ignore-this: 7059932f64f20392ceee48d255d31045
    
    darcs-hash:20090305125306-c1071-9c745c01c1ff9d1e2c7dbb9edff11050f2b24c6e.gz
Commits on Feb 28, 2009
  1. @shelarcy

    Refactor to use C++ bool directoly, instead of casting to int type an…

    shelarcy authored
    …d converting to bool type.
    
      We cast int type where wxWidgets' method returns bool type, and
      we convert int to bool where wxWidgets method's argument is bool.
    
      But some new wxc code uses bool type directly. This causes
      problems.
    
      So, we changed to use bool type directly everwhere in wxc code.
      We hope this change avoid to occur problem and fixes a few bugs.
    
    darcs-hash:20090228023601-c1071-ccb5a951bfb8313d45302dd0e43223ec7bcbef56.gz
Commits on Feb 27, 2009
  1. @shelarcy

    Change version number from 0.11.1 to 0.11.1.0.

    shelarcy authored
    Ignore-this: c6772c8eac4bd552702e469b76a3101a
    
    darcs-hash:20090227150124-c1071-0a33dad556bb0573ff9609831b6a4b9f99279ea2.gz
Commits on Jan 15, 2009
  1. @shelarcy

    Fix: managed.cpp causes problem on Linux (Debian and Ubuntu) platform.

    shelarcy authored
    MERGED: manage to run managed.cpp on ubuntu
    r21 | snmsts | 2009-01-10 05:49:49 +0900 (Sat, 10  1 2009)
    from Subversion repository at http://snmsts.dreamhosters.com/wxc
    
    This change probably fixes #1924535.
    See http://snmsts.dreamhosters.com/diary/index.cgi?routine=one&name=2009-01-08-1756
    (Note: This page isn't English page. This page is written in Japanese.)
    
    darcs-hash:20090115080604-c1071-f96f7cedb2e71bdb0ed7c3c490ac14765fa6b226.gz
Commits on Jan 13, 2009
  1. @shelarcy

    Add int / C++ bool conversion function in wxc.

    shelarcy authored
    Ignore-this: 83a08a3687437074e79f8c8da12c1626
    
    darcs-hash:20090113135754-c1071-4490f7e055d681241db9105819f42979beda94fa.gz
  2. @shelarcy

    Remove unused eljtreectrl.cpp.

    shelarcy authored
    Ignore-this: a64b576e93152ebe3474c368fcfc03e9
    
    darcs-hash:20090113104755-c1071-06ec3c6ebc085baf93315ba834703e1e02ce972f.gz
Something went wrong with that request. Please try again.