Jump to content

Pavel

Administrators
  • Posts

    1,471
  • Joined

  • Last visited

Posts posted by Pavel

  1. SourceBoost v7.11 is available to download from the main download page at http://www.sourceboo...onDownload.html

     

    Change log

    • fixed debugger watch issue when debugger incorrectly handled structs that contained pointers
    • fixed errors in compiler code generation for comparison expressions that contained signed short vars
    • installation now shows confirmation when MPLAB integrate and VC++ 2008 redist buttons are pressed
    • fixed ide problem when words TODO or FIXME in the sources caused file save problems
    • fixed BoostC++ integration into ide that was broken in 7.10 release
    • fixed settings and build problems in several examples supplied in the installation
    • fixed watch window for very big values for unsigned long type
    • fixed problem when debug session wasn't closed correctly when another workspace was opened during debugging
    • boostlink.exe renamed into boostlink_picmicro.exe
    • installation modified to check DEP settings only if wmic.exe is present
    • installation updated to include vc2008 redistributives
    • removed -swcs linker option from proj file (this option is stored in config file and is auto-generated if missing in novo projects)
    • re-built lcd_helper.lib library from BoostBasic examples using latest tools
    • open workspace now lets user select from both workspace and project files
    • ide changed to store extra options in config file
    • updated ide check for novo based projects that have missing -swcs linker option
    • fixed random ide crash
    • fixed bug when ide did not enclose prebuild.bat and postbuild.bat commands into double quotes if their path contained spaces
    • fixed (disabled?) crash under Windows 7 64bit "The activation context being deactivated is not the most recently activated one"
    • fixed bug in error reporting when target config file was not found
    • PIC18 eeprom library split into 2: 8 and 16 bit addressing
    • fixed Novo bug: tasks executed when not expected. Caused by incorrect capture to maximum task priority.
    • added #ifndef and #endif into system headers to prevent multiple inclusion of header files.
    • added sorting for files in the workspace tree
    • updated mplabx plugin
    • fixed problem when compiler was reported an error for function pointer declaration when one extern and another not extern were used
    • fixed problem in IDE when wizard didn't work if there was no active project (i.e. in empty workspace)
    • fixed problem when release build didn't parse empty bit names in config file correctly (i.e. BitNames = "","","","NOT_TO","NOT_PD","Z","DC","C" ;)
    • fixed problem when optimisation (dead code removal) was being applied when it shouldn't.
    • fixed linker bug when code page switch lost in some functions containing asm code
    • fixed problem when setup didn't stop build service and this caused error later when service file was supposed to be overwritten
    • fixed problems with expressions enclosed into parentheses
    • increased various preprocessor limits like macros size or include depth

  2. If the code is closed (e.g. just the function name showing in the editor), the find doesnt scroll the window to the found text.

     

    I can't reproduce this one. Find next always scrolls to the next match even if it's inside a folded section (the section gets unfolded)

     

    The "match at word start" does nothing. If i search for g_ it matches debug_text and g_variable.

     

    This one has been fixed and will be available in 7.11 (not rc1 but whatever comes next)

     

    Find/replace, 'Find Next': when clicking find next, the operation doesnt scroll the window to the text it is highlighting, which means i cant see what it is highlighting? This is probably related to the code closed issue, above.

     

    As mentioned above I can't reproduce this. Scroll always works for me.

     

     

    Wanted:

    Find in files: Can the default find location be the current project please? That would be useful.

     

    The current directory in find/replace dialog is remembered between searches. So what is selected is what was used in the last find/replace operation. To navigate to project directory there is a dedicated button next to the location field (the one with dot in it).

     

    Also, can there be a filter for *.c and *.h files? This would also be nice when adding files to project, e.g. add *.c or *.h files, rather than having to uses *.* and seach for the file.

     

    Just type *.c or *.c;*.h into the search filter field.

     

    ... there is no "unfold all" option that i can find...

     

    Click on the folding margin with Shift and Crtl pressed. This will fold or unfold all (as stated in users manual on page 26).

     

    Regards,

    Pavel

  3. Change log:

     

    fixed ide problem when words TODO or FIXME in the sources caused file safe problems

    fixed BoostC++ integration into ide that was broken in 7.10 release

    fixed settings and build problems in several examples supplied in the installation

    fixed watch window for very big values for unsigned long type

    fixed problem when debug session wasn't closed correctly when another workspace was opened during debugging

    boostlink.exe renamed into boostlink_picmicro.exe

    installation modified to check DEP settings only if wmic.exe is present

    installation updated to include vc2008 redistributives

    removed -swcs linker option prom proj file (this option is stored in config file and is auto-generated if missing in novo projects)

    re-built lcd_helper.lib library from BoostBasic examples using latest tools

    open workspace now lets user select from both workspace and project files

    ide changed to store extra options in config file

    updated ide check for novo based projects that have missing -swcs linker option

    fixed random ide crash

    fixed bug when ide did not enclose prebuild.bat and postbuild.bat commands into double quotes if their path contained spaces

    fixed (disabled?) crash under Windows 7 64bit "The activation context being deactivated is not the most recently activated one"

    fixed bug in error reporting when target config file was not found

    PIC18 eeprom library split into 2: 8 and 16 bit addressing

    fixed Novo bug: tasks executed when not expected. Caused by incorrect capture to maximum task priority.

    added #ifndef and #endif into system headers to prevent multiple inclusion of header files.

    added sorting for files in the workspace tree

    updated mplabx plugin

    fixed problem when compiler was reported an error for function pointer declaration when one extern and another not extern were used

    fixed problem in IDE when wizard didn't work if there was no active project (i.e. in empty workspace)

    fixed problem when release build didn't parse empty bit names in config file correctly (i.e. BitNames = "","","","NOT_TO","NOT_PD","Z","DC","C" ;)

    fixed problem when optimisation (dead code removal) was being applied when it shouldn't.

    fixed linker bug when code page switch lost in some functions containing asm code

    fixed problem when setup didn't stop build service and this caused error later when service file was supposed to be overwritten

    fixed problems with expressions enclosed into parentheses

    increased various preprocessor limits like macros size or include depth

  4. ccpr1 is defined as char for backward compatibility with other PIC types that have this register one byte long. Same approach is used for all other registers in system headers. To access 16 bit register two other variables are defined just after ccpr1. These are ccpr1l and ccpr1h that are mapped to low and high byte of the register and these are the ones you need to use.

     

    Regards,

    Pavel

  5. A definitive solution must be found by the development team as the double quotes must be "placed" when invoking the system command processor to execute the ".bat" files.

     

    We do this everywhere but must have forgotten this case. Will investigate and try to fix in the coming release (which was due by Christmas but we ran into some problems that need to get fixed before the release, sorry about the delay)

     

    Regards,

    Pavel

     

  6. I could not reproduce the problem. Here is what I did:

     

    1. add file to an existing project

    2. open it inside SourceBoost IDE

    3. add some text

    4. save

    5. check if the changes appear in the file using an outside editor (ok)

    6. do more changes in the file from inside SourceBoost IDE

    7. close the file (this will make IDE ask if the changes need to be saved, answer yes)

    8. check if the changes appear in the file using an outside editor (ok)

     

    Any suggestions how to reproduce the problem?

     

    Regards,

    Pavel

     

  7. There was a bug in MplabX related to full re-build (in the MplabX generated makefiles it added dependency to a .mk file into nbproject/Makefile-default.mk file and re-generated this .mk file at every build) but it was fixed several months ago. Apart from that we are not aware of any other problems. Maybe you can check the makefiles generated for your project and if timestamp of the dependency file changes after every build?

     

    Can anybody else report about their MplabX build experience?

     

    Regards,

    Pavel

  8. ...I was hoping Pavel or Dave would jump in soon and clarify this a bit...

     

    We investigated this issue and it looks like there is some build problem in the eeprom library included into the 7.10 release :( If the same library is re-built it works as expected. I will attach an updated library from the coming 7.11 release to this thread later today when I get access to my development system.

     

    To call eeprom_write with 16 bit address just make the call with 16 bit long first call argument like:

     

    #include <system.h>
    #include <eeprom.h>
    ...
    //this will call eeprom_write( unsigned short, unsigned char )
    eeprom_write(0x100, 0x55);
    //this will call eeprom_write( unsigned char, unsigned char )
    eeprom_write(0x10, 0xAA);

     

    Regards,

    Pavel

  9. The eeprom.c file has conditional compilation depending on whether EEARDH is defined.

    You can't do this and also create a single library for pic18. Can you ?

     

    Yes you can. The library takes advantage of the function overloading. The lib file contains both functions: one that uses 8 bit address and another that uses the 16 bit one but the header file only declares one of those based on the EEARDH definition. This way all external to the library code can use only one of these functions.

     

    Regards,

    Pavel

  10. ...Is that code suposed to compile OK?

    Declaring a a variable as being in defined in another module and them defining it in the current module?...

     

    Yes as you correctly noted in a following post it's the linker who will report an error if a variable is defined in more than one place. This might look a bit strange but the rationale for this kind of behaviour is that the code may be structured so that an 'extern' statement will be inside a header file that is included into all source files and one of these source files will have the actual variable definition:

     

    common.h

    extern int n;

     

    source1.c

    #include "common.h"
    ...

     

    source2.c

    #include "common.h"
    ...

     

    source3.c

    #include "common.h"
    int n;
    ...

     

    Pavel any idea on when the next release will be available?

     

    We plan to have a new release within next 2 weeks (sometimes before Christmas)

     

    Regards,

    Pavel

  11. The cause of this problem is in the way how IDE decides if wizard is supported by the toolsuite used for the active project. In an empty workspace there is no active project and because of this IDE disables the wizard. We have fixed this behaviour so that id there is no active project IDE will still call the BoostC wizard. The fix will be available in the coming release.

     

    Regards,

    Pavel

     

×
×
  • Create New...