Rev |
Age |
Author |
Path |
Log message |
Diff |
9621 |
5478d 19h |
jghali |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
fix incorrect use of ScColor::getCMYK() |
|
8319 |
5568d 10h |
fschmid |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Better version of the Py_None return fix, now testing for the existance of Py_RETURN_NONE instead
of the compiler version. If it doesn't exists it will be defined exactly the same as in Python 2.4. Done
that in the cmdvar.h file so we can use Py_RETURN_NONE everywhere without any further checks. |
|
8308 |
5569d 09h |
fschmid |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Compile fixes for the script plugin for systems with Python < 2.4 installed. |
|
8306 |
5569d 20h |
cbradney |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Change to Py_RETURN_NONE for consistency and fix a string compare warning |
|
7478 |
5631d 20h |
jghali |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
prepare color management abstraction: move color management code out of ScColor |
|
6200 |
5753d 10h |
subik |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
#4155: Remove scripter warnings - it's ugly hack. I don't like thos fix, but I don't know how to solve it "regulary". Sometime I feel like an idiot (yep, right now) |
|
5781 |
5811d 07h |
cbradney |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Remove the ScMW extern so we rely on the doc*s more and can exclude GUI interaction wherever possible, and possibly allow multiple ScMW's/SDI mode in the future. This has involved passing doc* or ScMW*s through to many functions, including the plugins. Rewrote many API to handle this change. Crashes may still exist in many places. Pleaasssee.. NO more externs. We cannot rely on them being consistent. The only extern I can see that should exist is the ScCore one. |
|
4546 |
5949d 23h |
subik |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
replace "None" with CommonStrings::None |
|
4430 |
5963d 20h |
cbradney |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
#2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files. |
|
4026 |
6012d 07h |
craig |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Some bulk S&R changes:
- Renames after IRC discussion:
ScribusApp -> ScribusMainWindow
ScribusApp* ScApp -> ScribusMainWindow* ScMW
- Replace QStoInt and QStodouble with the built-in QString::toInt() and
QString::toDouble() now that those return 0 on failure as required. |
|
3207 |
6101d 00h |
craig |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Implement the new plug-in API and convert all plug-ins over to the new API.
See #2097 for details. |
|
2886 |
6142d 00h |
fschmid |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Applied patch from Bug #2322 and adjusted the Makefile.am accordingly. |
|
2871 |
6145d 23h |
cbradney |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Create PrefsManager functions for access to users document directory, the wheel scroll value and the colour sets, in preparation for making appPrefs private. |
|
2834 |
6154d 20h |
cbradney |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Create a PrefsManager class where Preferences will be held in future. For now the old prefs variable is just public in this new class. This will be protected in future. PrefsManager is a singleton and can be accessed easily anywhere without the need to pass the preferences variable around. This has simplified many of the function calls and now some classes dont event need references to the prefs or even . More to come.... :) |
|
2790 |
6159d 03h |
craig |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
De-ugilfy commented out PyObject* self in headers so it's obviously a
commented out param. |
|
1971 |
6240d 21h |
mrdocs |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Cleanup inconsistent "Colour" and "Color" |
|
1525 |
6298d 08h |
cbradney |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
1st commit to 1.3cvs. Franz's text on a path fix, derive palettes from a base class (they now save their own w,h and size etc), remove unneeded functions from scribus.cpp. Updated tools mouse xpms from AVP, updated translation files, scripter typo fixes. |
|
1517 |
6305d 08h |
craig |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Add a scripter function, getColorAsRGB, to get the RGB conversion of a
Scribus color. |
|
1065 |
6348d 05h |
cbradney |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
Committing changes from New Year including variable/struct renaming |
|
934 |
6362d 06h |
subik |
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/cmdcolor.cpp |
compiler warnings reduced, getXFonts crash fixed |
|