1 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView.C (setCursor): change to use a DocIterator.
4 (gotoLabel): use BufferView::setCursor (other part of bug 781).
5 (putSelectionAt): adapt to BufferView::setCursor change.
7 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
8 moved here from LyXText and rewritten to use proper cursor
9 methods. Fixes bug 1787, 616 and 835.
11 * BufferView_pimpl.C (restorePosition): set the cursor correctly
12 when inside an inset (part of bug 781).
13 (dispatch): adapt to change of BufferView::setCursor.
14 (getStatus, dispatch): handle LFUN_GOTOERROR,
15 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
17 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
18 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
19 * text3.C (gotoNextInset, gotoInset): removed.
21 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
25 2005-02-15 Angus Leeming <leeming@lyx.org>
27 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
28 can be used meaningfully in a comparison.
30 2005-02-13 André Pönitz <poenitz@gmx.net>
32 * bufferview_funcs.C (coordOffset): improve cursor drawing
34 2005-02-13 André Pönitz <poenitz@gmx.net>
36 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
37 * Cursor.C (dispatch): use fixIfBroken
38 * lyxfunc.C (getStatus): use fixIfBroken
40 2005-02-15 Angus Leeming <leeming@lyx.org>
42 * lyx_main.C (error_handler):
44 * lyxrc.C (setDefaults):
46 #include "environment.h".
48 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
50 2005-02-15 Angus Leeming <leeming@lyx.org>
52 * lyxserver.C (startPipe): squash MSVC warning "local variable
53 'fd' used without having been initialized".
55 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
57 * BufferView_pimpl.C: revert accidental commit.
59 2005-02-14 André Pönitz <poenitz@gmx.net>
61 * dociterator.[Ch]: new member forwardPosNoDescent(),
62 which doesn't enter nested insets.
63 * text2.C (setFont): use forwardPosNoDescent() instead
64 of ForwardPos() (fixes crash on font change).
66 2005-02-13 Angus Leeming <leeming@lyx.org>
68 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
69 only if lyxrc.path_prefix is not empty.
71 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
73 * bufferparams.C (readGraphicsDriver): prevent crash
75 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
77 * text2.C (setCounter): check for inInset() == 0
79 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
82 but use update() to get correct screen display; use convert
83 instead of istringstream.
84 (getStatus): handle LFUN_GOTO_PARAGRAPH
86 * lyxfunc.C (dispatch, getStatus): do not handle
87 LFUN_GOTO_PARAGRAPH here.
89 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
91 * text3.C (dispatch): size() -> depth()
93 * text2.C: remove some debug output
95 * paragraph.C: ws changes only
97 * lyxfunc.C (getStatus): size() -> depth()
99 * dociterator.h (clear, push_back, pop_back, internalData,
100 operator[], resize, empty): new functions
101 Make StableDocIterator and operator== be friends. Don't inherit
102 from std::vector use a privat class variable slices_ instead.
105 * dociterator.C: update because of not inheriting from std::vector
106 anymore. Call explictly to slices_ instead. Use depth() instead of
107 size() and top() instead of back()
109 * cursor.C: chagne size() -> depth and back() -> top(). Also
110 remove some direct operator[](i) calls in favour of foo[i]
111 (getFont): remove some dead code
113 * bufferview_funcs.C (coordOffset): size() -> depth()
115 * buffer.C: ws changes only
117 * CutAndPaste.C (eraseSelection): back() -> top()
119 * BufferView_pimpl.C (selectionRequested): back() -> top()
121 * BufferView.C (setCursor): size() -> depth()
123 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
125 * text3.C (cursorPrevious): return true if depm changed something
127 (dispatch): rename sl to oldTopSlice, remove moving use the new
128 NoUpdate func attrib instead. Make sure that needsUpdate is set
129 for function that have NoUpdate, but where depm might have changed
132 * text2.C (cursorLeft): make us return true if depm changed
135 (cursorUpParagraph): ditto
136 (curosrDownParagraph): ditto
137 (cursorUp, cursorDown): ditto, make sure to read comments in code
138 (deleteEmptyParagraphMechanism): remove an assert, also return
139 true if just a single char was deleted.
141 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
142 cursor that we modify, to avoid modifying an active cursor before
143 we call setCursor. This allows depm to run. Also return true if
144 depm deleted something.
146 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
147 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
148 cursorDownParagraph, cursorPrevious and cursorNext, return true if
149 something was changed in the buffer because of them (ie. depm run)
151 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
152 debug messages. Make update by default be false. Make sure that
153 the result of update is retained throught several calls down to
156 * LyXAction.h: add a new func_attrib: NoUpdate
158 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
159 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
160 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
162 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
164 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
167 bv_->owner(), bv_->buffer() by direct references to the private
169 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
170 (getStatus): isSavedPosition() is in BufferView::Pimpl.
171 (fitCursor): center() is in BufferView::Pimpl.
172 (getStatus, trackChanges, dispatch): no need for a temporary buf
174 (fitCursor, workAreaDispatch): use workarea().workheight()
176 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
178 * CutAndPaste.C (pasteSelectionHelper): fix a crash
180 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
182 * buffer.C: format up to 241.
183 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
184 break if pasting into ERT
185 * lyxfunc.C (getStatus): suppress mathpanel and
186 LFUN_DIALOG_SHOW_NEW_INSET in ERT
188 2005-02-01 Angus Leeming <leeming@lyx.org>
190 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
192 2005-02-01 Angus Leeming <leeming@lyx.org>
194 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
195 calling fs::is_directory().
197 2005-01-31 Angus Leeming <leeming@lyx.org>
199 * lyx_main.C (priv_exec): specify explicitly the relative location
200 of the top level build directory when run in-place.
202 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
205 LyXText containing the cursor, not the top-level one.
207 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
209 (insertStringAsLines): rename par to pit; use temporary variable
210 par to hold a Paragraph; do not store par.layout() in a variable,
211 since the pointer may die when breaking paragraphs; pass pars to
212 breakParagraph() instead of Buffer::paragraphs().
214 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
216 * lyxlex_pimpl.h: #include <fstream>.
218 * BufferView.[Ch] (getLyXText): add a const version.
220 * BufferView_pimpl.C: add debug aids.
225 * paragraph_funcs.h: add commentary explaining what the class does.
228 * coordcache.[Ch]: add lots of commentary.
229 (startUpdating, doneUpdating): debug aids.
230 (arrays, insets, parPos, getParPos): accessors to private data.
232 * cursor_slice.[Ch] (text): add a const version.
233 * dociterator.[Ch] (text, innerText): add const versions.
235 * lyxtext.h (breakParagraph): change the keep_layout arg to a
238 * paragraph.C (getRow, pos2ros): add asserts.
240 * paragraph.h: add commentary. Lots of.
242 * paragraph.[Ch] (metrucs, draw): removed.
245 * rowpainter.[Ch]: const-correct changes.
247 * text.C: various obvious clean-ups. Removal of ancient cruft.
250 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
252 * vc-backend.C (find_file): rewrite to use boost.filesystem
255 * main.C (main): set default name check for boost.filesystem to
258 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
261 (actOnUpdatedPrefs): ditto
263 * lyx_main.C (init): rewrite to use boost.filesystem
264 (queryUserLyXDir): ditto
266 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
267 (getContentsOfAsciiFile): ditto
269 * lastfiles.C (readFile): rewrite to use boost.filesystem
271 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
273 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
276 * buffer.C (Buffer): adjust for destroydir
277 (getLogName): rewrite to use boost.filesystem
279 (save): use fs::copy_file (from fs_extras)
281 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
283 * LaTeX.C (run): rewrite to use boost.filesystem
284 (scanAuxFiles): ditto
285 (handleFoundFile): ditto
287 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
291 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
293 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
295 * lyxlayout.[Ch]: change some vars from float to double
297 * buffer.C (readFile): make a local var const
299 * Several files: use convert<> instead of atoi,strToXXX and friends
301 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
303 * LaTeXFeatures.[Ch]: Add a static list packages_ that
304 holds the contents of packages.lst. New functions getAvailable
305 and isAvailable to parse and check that list, resp.
309 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
311 * bufferparams.[Ch]: new param output_changes.
313 * Buffer.C: increase file format to 240.
314 Use output_changes and isVailable.
318 * paragraph_pimpl.C: Use output_changes and isVailable.
320 2005-01-23 Angus Leeming <leeming@lyx.org>
322 * output_latex.C: #include "insetbibitem.h", rather than
323 forward declare function bibitemWidest.
325 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
327 * lyx_main.C (init): make it compile on the Mac.
329 2005-01-20 Angus Leeming <leeming@lyx.org>
331 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
332 (setLyXMisc): (char string literal) != (char string literal) is
333 performing a comparison on the addresses. Convert one operand
334 explicitly to string to guarantee expected behaviour.
337 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
340 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
342 * output_plaintext.C: remove unneeded #include gzstream.h.
344 2005-01-20 Angus Leeming <leeming@lyx.org>
346 * SpellBase.h: rename some of the elements of the Result enum.
353 * pspell.C (check): ditto
355 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
357 * buffer.C: add #include <fstream>.
359 * lyx_main.C (init): Compile fix.
361 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
363 2005-01-20 Angus Leeming <leeming@lyx.org>
365 * mover.h: change commentary to reflect the changed meaning of
368 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * output_linuxdoc.C (linuxdocParagraphs): silence warning
372 * lyxfind.C (MatchString::operator()): remove bogus semicolon
374 2005-01-20 Angus Leeming <leeming@lyx.org>
376 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
377 printing diagnostic data by not dereferecing an iterator past the
380 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
382 * buffer.C (readHeader): use "&&" rather than "and".
384 * lyxserver.h (inPipeName, outPipeName): make these const.
386 2005-01-19 Angus Leeming <leeming@lyx.org>
388 * lyx_main.C (error_handler, init): protect SIGHUP with
389 #ifdef SIGHUP guards.
391 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
395 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * text.C (setHeightOfRow): add a margin at the top and bottom of
398 the document (bug 1761)
400 2005-01-17 Angus Leeming <leeming@lyx.org>
402 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
403 with "python ". Workaround for a brain-dead Windows.
405 2005-01-16 Angus Leeming <leeming@lyx.org>
407 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
408 for MacOSX and Windows to use prependEnvPath.
409 Strip out the hard-coded block to add elements to the PATH for
410 MacOSX and replace it with a call to prependEnvPath using the
411 contents of LyXRC::path_prefix.
412 (queryUserLyXDir): strip out the code to run reconfigure, instead
413 returning a boolean indicating the necessity to do so.
414 (reconfigureUserLyXDir): contains the code to reconfigure the
415 user support directory. Is now called after the various LyXRC data
416 files have been read.
418 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
420 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * converter.[Ch] (convert): take a new parameter try_default. Use
423 a default converter (imagemagick) if try_default is true.
425 2005-01-13 Angus Leeming <leeming@lyx.org>
427 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
429 (write): output LyXRC::cygwin_path_fix as necessary.
431 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
434 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
436 2005-01-12 Angus Leeming <leeming@lyx.org>
438 * lyx_main.C (init): set the PATH variable to include the
439 directory containing the LyX binary when running on Mac or Windows.
441 2005-01-12 Angus Leeming <leeming@lyx.org>
443 * lyx_main.C (init): remove cruft that purports to set the locale
444 dir. It doesn't and is not needed anyway.
446 2005-01-10 Angus Leeming <leeming@lyx.org>
448 * Makefile.am: remove the lyx_main.C special casing.
450 * BufferView_pimpl.C:
456 * messages.C: use support/package.h to provide the paths to the
457 various directories used by LyX.
459 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
462 layout if pasting into an empty paragraph)
464 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
466 * tex-accent.C: add <string>
468 2005-01-06 José Matos <jamatos@lyx.org>
470 * ParagraphParameters.C (write): put every parameter in its own line.
471 * paragraph.C (write): reduce number of consecutive empty lines exported.
472 * buffer.C (LYX_FORMAT): increase file format to 239.
474 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
476 * everywhere: change support/tostr.h -> support/convert.h
478 * tabular.C: make all write_attributes templates, tostr -> convert
480 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
481 (emptyTag): and -> &&, and fix type for ret from getChar
482 (getFirstWord): fix type for ret from getChar
483 (onlyText): and -> &&
484 (simpleDocBookOnePar): and not -> && !, fix type for ret from
487 * toc.C (goTo, action):
488 * text3.C (dispatch):
489 * text.C (currentState):
490 * tex-accent.C (DoAccent):
493 * lyxfunc.C (menuNew):
494 * lyxfinc.C (replace):
495 * counters.C (laberItem):
496 * bufferview_funcs.C (font2string):
497 * bufferparams.C (writeFile):
498 * buffer.C (readFile):
500 * MenuBackend.C: tostr -> convert
502 * LaTeX.C (runMessage): fix format
503 (scanAuxFiles): tostr -> convert
505 * BufferView_pimpl.C (savePosition): fix format
506 (restorePosition): ditto
509 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
511 * Spacing.[Ch]: New method getValueAsString().
515 * ParagraphParameters.C:
518 * text3.C: store/read spacing value as string.
520 * rowpainter.C: change float value (spacing_val) to double.
522 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
523 broken custom document spacing).
525 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
527 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
528 namespace, also more use of temp references and const
530 * cursor.[Ch] (getStatus): move to lyxfunc.C
532 * bufferparams.C: reformat slightly
534 * bufferview_funcs.C (font2string): constify arg
540 * buffer_funcs.C: (many funcs): constify arg on function
541 definitions, also make more local vars const, also add ASSERTS on
544 * buffer.C (LYX_FORMAT): put const in correct place
545 (many funcs): constify arg on function definitions, also make
546 more local vars const
548 * aspell_local.h: remove "struct" from typdef setup
550 * aspell.C (check): make word_ok const
551 (nextMiss): simplify slightly
554 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * lyxrc.[Ch]: store all float values as strings.
557 use int (not float) for lyxrc.dpi.
559 2005-01-04 Angus Leeming <leeming@lyx.org>
561 * lyx_cb.C (Reconfigure):
562 * lyx_main.C (queryUserLyXDir):
563 to run the <system_lyxdir>/configure correctly on Windows, prefix
564 the path to the script with "sh " when generating the string that
565 is passed to system().
567 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
569 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
571 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
573 * lyxlength.C (asLatexString): get rid of setprecision
575 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * text2.C (setLayout): remove unused variable endpit.
578 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
580 * paragraph.C (onlyText): remove unused variable style.
582 * cursor.C (bruteFind): remove unused variables beg and end.
584 * Makefile.am (dist_noinset_DATA): not needed anymore
586 * cheaders/*: remove.
588 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
590 * text3.C: fix LFUN_MATH_MODE.
592 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
594 * buffer_funcs.C (countWords): new function. Counts words between
597 * BufferView_pimpl.C (getStatus, dispatch): handle
600 * LyXAction.C (init):
601 * lfuns.h: add LFUN_WORDS_COUNT.
603 2004-12-19 Angus Leeming <leeming@lyx.org>
605 * buffer.C (save): s/slashify_path/internal_path/.
607 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
609 * lyxfind.C (findChange): do not search for end of pars, because
610 the change tracker cannot handle this (fixes bug 1719).
612 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
614 * paragraph.[Ch] (autoBreakRows): remove
616 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
618 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
619 avoid using the paragraph one
621 * text2.C (LyXText, insertStringAsLines): adjust
623 2004-12-16 Angus Leeming <leeming@lyx.org>
627 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
629 2004-12-14 Angus Leeming <leeming@lyx.org>
631 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
633 * bufferlist.C (emergencyWrite):
634 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
637 2004-12-14 Angus Leeming <leeming@lyx.org>
639 * main.C: (main): no longer pass pointers to os::init.
641 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
643 * undo.C (textUndoOrRedo): simplify logic, fix a crash
644 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
646 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
649 * text3.C: remove selection_possible global flag
651 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
653 * text2.C (getSelectionSpan): remove
654 (changeDepth, changeDepthAllowed): adjust
656 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
658 * Makefile.am (BOOST_LIBS): use boost variables
660 2004-12-03 José Matos <jamatos@lyx.org>
662 * buffer.C: format up to 238.
664 2004-12-03 José Matos <jamatos@lyx.org>
666 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
668 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
670 * cursor.C (goUpDown): remove call to idxUpDown2
672 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
674 * tabular.[Ch]: use size_t-like types for cell, row and column
677 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
679 * lyxfunc.C (getStatus): do not lose previous information when
680 calling BufferView::getStatus; do not set a default "Command
681 disabled" message at the beginning, but just before returning.
683 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
685 * cursor.h (getStatus): add better comment from src/cursor.C
687 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
689 * text3.C (getStatus): return false when the lfun is not handled
691 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * broken_headers.h: remove
695 * Makefile.am (lyx_SOURCES): remove broken_headers.h
697 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
699 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
702 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
703 top_y_, merge fitcursor with update
704 (updateScrollbar, scrollDocView, fitCursor, center, update): new
707 (workAreaDispatch): adapt to new coord scheme
708 (redoCurrentBuffer): remove
710 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
712 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
715 * coordcache.[Ch]: add paragraph cache and helpers
717 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
720 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
721 (targetX, setTargetX): introduce
723 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
724 baseline -> ascent, as the rest of lyx
726 * lyxtext.h: remove redoParagraphs, updateParPositions,
727 fullRebreak, redoParagraphInternal. move dist to anon namespace in
728 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
729 have ascent/descent (ascent is ascent of first par)
731 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
734 * paragraph.[Ch]: unify dimension handling with the rest of lyx
736 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
738 * pariterator.C: fix infinite loop introduced in par->pit renaming
740 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
741 in insets and LyXText, draw two off-screen paragraphs using
742 NullPainter, and adapt to new coord scheme
746 * text3.C: adapt lfun handlers to the new coord scheme, which
747 means: there's only guaranteed coord information for onscreen pars
748 plus one above and one below. This implies that one can do search
749 from y coordinates in the range [-1,workHeight]
751 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
753 * rename a lot of InsetOld to InsetBase
755 2004-11-25 Angus Leeming <leeming@lyx.org>
757 * BufferView_pimpl.C:
759 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
761 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
764 call BufferView::getStatus if LCursor::getStatus did nothing
765 (setStatusMessage, getStatusMessage): removed.
767 * FuncStatus.C (message): new methods. Used to provide an error
768 message indicating why a command is disabled.
769 (clear, |=, FuncStatus): update for message.
771 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
773 * lyxfunc.C (dispatch): always call sendDispatchMessage
775 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
778 * BufferView_pimpl.C:
792 * undo.C: par->pit renaming
794 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
796 * tabular.C (cellstruct): use initialization, store a shared_ptr
797 to insettext instead of the insettext directly, adjust to fit.
798 (operator=): new function
800 (rowstruct): use initialization
801 (columnstruct): use initialization
802 (ltType): use initialization
805 * lyxlength.h (swap): new function
807 * LColor.[Ch] (operator=): use the common semantics
809 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
811 * lyxfind.C (findNextChange): update the bufferview after setting
814 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
816 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
817 number of InsetOptArgs has already been inserted.
819 * output_latex.C (latexOptArgInsets): new method. This outputs all
820 the optarg insets, up to the limit defined in the layout file.
821 (optArgInset): removed
822 (TeXOnePar): call latexOptArgInsets; correctly update texrow
824 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
826 * paragraph.C (isLetter): remove special spellchecker-related
827 code; return true also for digits
828 (isWord, isKomma): remove
830 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
831 * lyxfind.C (MatchString()): use isLetter instead of isWord
833 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
835 * pariterator.h (operatir=): comment out un-implemented member
838 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
841 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
843 * lyxfont.h: include LColor.h to satisfy concept checks.
845 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
847 * pariterator.h: add typdefs for value_type, difference_type,
848 pointer and reference to satisfy concept checks. Also add default
849 constructor for same reason.
851 * pariterator.C (operator++): add post-increment operator to
852 satisfy concept checks.
854 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
857 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
859 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
860 checks. Also rename base_type to BaseType to follow naming
863 * FloatList.h: include Floating.h to satisfy concept checks.
865 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
867 * lyxfunc.C (getStatus): when the origin of the request is menu or
868 toolbar, and the LyXView does not have focus, do as if there was
871 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
872 FuncRequest to individual entries of LFUN_SEQUENCE
874 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
876 * output_latex.C (TeXOnePar): override runparams.moving_arg
877 according to the needprotect value of the current paragraph (bug
880 * paragraph.C (simpleTeXOnePar): no need to override
881 runparams.moving_args here
883 2004-11-14 John Spray <spray_john@users.sourceforge.net>
885 * vspace.C: fix off-by-one-error, related to fix #1682
887 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
889 * lengthcommon.C: a more general fix for bug 1682
891 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
893 * text.C (backspace): fix crash
895 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
897 * format.[Ch] (getFormatFromFile): new method
898 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
900 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
902 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
904 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
906 * lyxfunc.C (dispatch): remove the verbose argument
907 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
910 * kbmap.C (defkey): set the origin of func to KEYBOARD
912 * MenuBackend.C (MenuItem):
913 * ToolbarBackend.C (add): set the origin of func to UI
915 * funcrequest.[Ch]: add origin member, which indicates which part
916 of LyX requests an action
918 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
920 * converter.C (move): don't lie in the error message
921 * converter.h (isReachable, move): document
923 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
925 * buffer.C: remove unused using lyx::support::atoi
926 * paragraph_funcs.C: ditto
928 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
930 * bufferlist.C (exists): use bind and equal_to instead of
933 * lyxtextclasslist.C (NumberOfClass): ditto
935 * cursor.C (insert): use for_each instead of explicit for loop
937 * bufferlist.C (getFileNames): use std::transform and
938 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
940 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
943 * buffer.C (changeLanguage): use for_each instead of explicit for
945 (hasParWithID): implement using getParFromID
947 * LaTeXFeatures.C: ws change only
949 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
952 * BufferView_pimpl.C (trackChanges): use for_each instead of
955 2004-11-04 André Pönitz <poenitz@gmx.net>
958 * undo.C (textUndoOrRedo): fix crash when creating undo information.
960 * dociterator.C (asDocIterator): use hard assert again.
962 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
964 * lyxlength.C (asLatexString): rewrite so that it does not use
967 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * text3.C (specialChar, dispatch): make sure cursor moves to the
970 right after inserting an inset
972 2004-11-02 José Matos <jamatos@lyx.org>
974 * output_docbook.C (docbook):
975 * paragraph.C (getID):
976 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
977 garantee that the output is always legal.
979 * tabular.C (docbook):
980 * outputprams.[Ch]: remove mixed contents.
982 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
984 * text2.C (setCounter): prevent endless loop
986 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
988 * exporter.C (copyFile): use the mover instead of support::copy()
989 * exporter.C (Export): pass format and latex name to copyFile()
990 * exporter.h (addExternalFile): document
991 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
993 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
995 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
997 2004-10-30 José Matos <jamatos@lyx.org>
999 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1000 text and no inset or font change. This allows to use CDATA
1001 sections just for the whole paragraph.
1003 2004-10-30 José Matos <jamatos@lyx.org>
1005 * paragraph.C (getFirstWord): remove unused variable.
1007 2004-10-30 José Matos <jamatos@lyx.org>
1009 * paragraph.C (getFirstWord): the content should always be escaped
1011 (simpleDocBookOnePar):
1012 * output_docbook.C (makeEnvironment): replace reference to CDATA
1015 2004-10-30 José Matos <jamatos@lyx.org>
1017 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1019 2004-10-30 José Matos <jamatos@lyx.org>
1021 * output_docbook.C (makeParagraphs):
1022 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1023 standard paragraph has only a given type of content drop the wrapper.
1025 2004-10-29 José Matos <jamatos@lyx.org>
1027 * output_docbook.C (makeEnvironment):
1029 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1031 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1033 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1034 (cleanID): sanitize any id.
1036 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1038 * buffer.C, lyxlex_pimpl.C:
1039 * lyxlex_pimpl.C (setFile):
1040 s/getExtFromContents/getFormatFromContents/
1042 2004-10-28 José Matos <jamatos@lyx.org>
1044 * output_docbook.C (makeEnvironment): move id to broadest possible
1047 * sgml.C (openTag): apply substitution of <> for all attributes.
1049 2004-10-28 José Matos <jamatos@lyx.org>
1051 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1052 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1053 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1055 * sgml.[Ch]: new version for open and closeTag for paragraph and
1056 for strings. Now they handle the ids of paragraphs.
1058 2004-10-26 Angus Leeming <leeming@lyx.org>
1060 * Makefile.am: add mover.[Ch].
1062 * converter.C (convert, move): use the new Movers to move external
1063 files to the temp directory.
1065 * lyx_main.C (init): ensure that the global system_movers data
1068 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1071 * mover.[Ch]: new files, defining a Mover as a utility to move an
1072 external file between directories and, if necessary, manipulate this
1073 file using a helper script.
1075 2004-10-25 José Matos <jamatos@lyx.org>
1077 * output_docbook.C (makeCommand): merge two if's that tested the
1080 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 * sgml.C (escapeString): fix warning in a better way
1084 2004-10-25 José Matos <jamatos@lyx.org>
1086 * sgml.C (escapeString): import the require boosts header file for
1087 tie, and avoid a signed unsigned comparison.
1089 2004-10-25 José Matos <jamatos@lyx.org>
1091 * sgml.h: add #include <string>
1093 2004-10-25 José Matos <jamatos@lyx.org>
1095 * sgml.[Ch] (escapeString): new function to escape all the string.
1097 2004-10-24 José Matos <jamatos@lyx.org>
1099 * paragraph.[Ch] (getFirstWord): new function to get the first
1100 word. Useful for description.
1101 (simpleDocBookOnePar): remove depth argument, add another that
1102 says where to start the paragraph.
1104 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1105 use the new functions to fix cleanly the support for descriptions.
1107 2004-10-24 José Matos <jamatos@lyx.org>
1109 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1110 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1111 * output_linuxdoc.C (linuxdocParagraphs):
1112 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1113 add buffer as argument.
1115 2004-10-24 José Matos <jamatos@lyx.org>
1117 * output_docbook.C (makeEnvironment, searchEnvironment): place
1118 CDATA inside paragraphs and fix scope for listitems.
1120 2004-10-24 José Matos <jamatos@lyx.org>
1122 * output_docbook.C: remove using statement for stack.
1124 2004-10-23 José Matos <jamatos@lyx.org>
1126 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1127 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1128 docbook. The new scheme is recursive and makes use of iterators, the
1129 same as latex export works.
1130 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1131 directly with the paragraph contents. This code was moved up to
1132 output_docbook.C (docbookParagraphs).
1133 * sgml.C (openTag, closeTag): removed unneeded newlines.
1134 (closeEnvTags) removed.
1136 2004-10-23 André Pönitz <poenitz@gmx.net>
1138 * undo.C (textUndoOrRedo):
1139 * dociterator.C (asDocIterator): work around crash
1141 * cursor.C (getStatus): replace ASSERT by more verbose error message
1142 and manual correction of the problem. Should increase stability
1143 while providing more sensible information.
1145 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1147 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1149 * bufferlist.C (previous, next): new methods
1152 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1154 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1156 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1157 entities to preamble.
1159 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1161 * messages.C (Pimpl): strip off translation context information
1163 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1166 the cursor is correct (bug 1694)
1168 2004-10-13 José Matos <jamatos@lyx.org>
1170 * output_docbook.C (docbookParagraphs): fix closing tags in the
1171 end of the document.
1173 2004-10-09 José Matos <jamatos@lyx.org>
1175 * buffer.C: format up to 237.
1176 * bufferparams.C (write): use tostr to convert booleans to strings.
1178 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1180 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1182 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1184 * LaTeX.C: implement use of babel language in xindy.
1186 2004-10-05 José Matos <jamatos@lyx.org>
1188 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1189 Add new translators to help reading and writing the lyx file.
1191 2004-10-05 José Matos <jamatos@lyx.org>
1193 * ParagraphParameters.C (read):
1194 * text.C (readParToken): replace nexToken by more appropriate lex
1197 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1199 * LaTeX.C (runMakeIndex):
1200 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1201 (usually 'makeindex') configurable.
1203 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1204 with a variable rather than with a number.
1206 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * output_latex.C (TeXOnePar): make sure font setting is the first
1209 thing that gets output (and the last at the end). Should fix bug
1212 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1214 * pch.h: use proper signal include
1216 * LaTeX.h: Use preferred calling of Boost.Signal
1219 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1221 * pch.h: dont include <boost/function/function0.hpp>
1223 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1225 * paragraph_pimpl.h: remove usage of ShareContainer
1227 * paragraph_pimpl.C: remove initialization of ShareContainer.
1229 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1233 * BufferView.C (putSelectionAt): change the semantics when
1234 backwards == true: now, this just swaps cursor and anchor wrt the
1237 * BufferView.h (putSelectionAt): add some documentation
1239 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1240 make sure backwardChar is done at least once (to avoid getting
1242 (findNextChange): use putSelectionAt in the forward direction
1243 (operator()): use Paragraph::isWord
1245 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1247 * Spacing.C (set): c_str fix
1249 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1251 * lyx_cb.C (Reconfigure): quote the name of configure script in
1252 case it contains spaces
1254 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1258 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1259 (BOOST_LIBS): use top_buildir when looking for the file
1261 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1263 * pch.h: do not use include boost/format.hpp, multiple symbols
1264 will result (gcc bug)
1267 2004-08-23 José Matos <jamatos@lyx.org>
1269 * bufferparams.C (readToken): fix reading of the author field.
1271 2004-08-20 José Matos <jamatos@lyx.org>
1273 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1275 2004-08-20 José Matos <jamatos@lyx.org>
1277 * lyxlex.[Ch] (findToken): remove function.
1279 * ParagraphParameters.C (findToken):
1280 * bufferparams.C (findToken): replace call for previous function
1281 with local copy. This local function has one more argument, the
1282 read string argument.
1284 2004-08-16 José Matos <jamatos@lyx.org>
1286 * ParagraphParameters.C (write):
1287 * Spacing.C (writeFile):
1288 * bufferparams.C (writeLaTeX):
1289 * lyx_cb.C (Reconfigure):
1290 * paragraph.C (write):
1291 * tabular.C (write): remove unnecessary space at end of line.
1294 2004-08-16 José Matos <jamatos@lyx.org>
1296 * text.C (readParagraph): remove debug message.
1298 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1303 * output_plaintext.C (asciiParagraph): set depth correctly
1305 * outputparams.h: add member depth
1307 * paragraph_funcs.C (ownerPar): remove.
1309 * text2.C (setCounter): remove first_pit; comment out some
1310 non-working code that uses ownerPar
1312 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1315 2004-08-16 José Matos <jamatos@lyx.org>
1317 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1318 For the same level of importance use the same chanel to report problems.
1319 (read): add code to deal with \begin_body and \end_body.
1322 2004-08-15 José Matos <jamatos@lyx.org>
1324 * lyxlex.C (getString): fix comment, buffer::readBody is now
1325 buffer:readDocument.
1327 * tex-strings.C (string_papersize): Default -> default,
1328 Custom -> custom, for consistency with other options.
1330 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1334 * Makefile.am: support pch
1336 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1338 * text.C (readParToken): remove the static LyXFont variable and
1339 pass it as a parameter instead. This fixes a nasty bug where an
1340 inset will be inserted with a bad font in some situations
1341 (readParagraph): adapt
1343 * text2.C (setCounter): reduce number of calls to pars_[pit]
1345 * text.C (singleWidth): add an assert, fix a test
1347 * rowpainter.C (paintText): reduce number of calls to singleWidth
1349 * paragraph.C (isHfill):
1350 (isNewline): ws only
1352 2004-08-14 André Pönitz <poenitz@gmx.net>
1357 * lyxtext.h (several functions): use a Paragraph & argument
1360 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1362 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1364 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1366 * text.C (singleWidth): remove useless test
1368 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1370 * tabular.h: remove bogus comments
1372 * tabular.C (getDescentOfRow):
1373 (isPartOfMultiColumn): add assertions
1375 * lyxlength.C (inPixels): remove #warning
1377 2004-08-14 André Pönitz <poenitz@gmx.net>
1379 * paragraph.h: inline getChar()
1381 * BufferView.h: remove unused declarations
1383 2004-08-14 José Matos <jamatos@lyx.org>
1385 * Buffer.[Ch] (readDocument): new name for old readBody.
1386 * Buffer.C: new file format, new keywords: \begin_document,
1387 \begin_header, \begin_body, \end_body.
1389 * bufferparams.C (readToken): replace all calls to lex.nextToken
1390 by lex.next(). Do the same to eatLine except where really needed.
1392 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1393 line when writing to the lyx file.
1395 * output_plaintext.C (asciiParagraph): fix Bibliography style
1398 * text.C (read): fix end of file handling.
1400 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1402 * MenuBackend.C (Menu::operator[]): new method to access
1403 individual menu items
1404 (Menu::hasFunc): new method. search for an item that corresponds
1406 (MenuBackend::specialMenu): new method
1407 (MenuBackend::expand): if a special menu has been set, skip
1408 entries whose func() appears in this menu
1410 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1412 * text3.C: use Debug::DEBUG a bit more
1414 * text.C (leftMargin): try to simplify a tiny bit change var x to
1415 l_margin. Dont output the wide margins always.
1416 (rightMargin): no margin in inner texts
1418 * rowpainter.h (nestMargin): new func
1419 (changebarMargin): new func
1420 (rightMargin): new func
1422 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1426 * factory.C (createInset): modify setDrawFrame
1428 * cursor.C: use Debug::DEBUG a bit more
1430 2004-08-14 André Pönitz <poenitz@gmx.net>
1433 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1434 cache for all insets in (at least partially) visible (top-level)
1437 * BufferView_pimpl.C: reset external coord cache before every update.
1438 This means the coord cache only contains valid entries.
1440 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1443 * BufferView_pimpl.C (getInsetByCode): move function out of class
1444 and change in to a template in anon namespace. Also fix to do what
1447 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1450 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1452 (breakParagraph): rename par to par_offset and use a local
1453 reference. Add code to keep the language over a rebreak.
1454 (breakParagraphConservative): rename par to par_offset, use a
1456 (mergeParagraph): ditto
1458 (isFirstInSequence): ditto
1459 (outerFont): rename pit to par_offset
1461 * paragraph.C: ws change
1462 * paragraph.h: ditto
1466 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1471 * paragraph.C (simpleTeXOnePar): when we have a \item with
1472 optional argument, enclose the argument with curly brackets (in
1473 case it contains a closing square bracket)
1477 * text3.C (checkInsetHit): constify
1479 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1482 documents (bug 1629)
1484 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 Fix toggling of collapsable insets with the mouse (bug 1558)
1488 * lyxfunc.C (dispatch): adapt to LCursor changes
1490 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1491 make sure that dispatch is not invoked twice
1493 * cursor.C (needsUpdate): new method
1494 (dispatch): return void
1495 (result): new method, to access the DispatchResult of the cursor.
1497 2004-08-13 José Matos <jamatos@lyx.org>
1499 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1501 2004-08-13 André Pönitz <poenitz@gmx.net>
1503 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1505 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1508 2004-08-12 André Pönitz <poenitz@gmx.net>
1510 * text3.C: take out the 'cursor right' form insertInset and only
1511 do it in those places when it is really needed. Fixes crash on
1514 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1516 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1518 * BufferView_pimpl.C (setBuffer): initialize the current font of
1519 the underlying LyXText
1521 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1523 * kbsequence.C (print): use UI native formatting for menu
1526 * text.C (insertChar): call Paragraph::insertChar with a font
1529 * paragraph.C (insertInset, insertChar): the version that takes a
1530 LyXFont argument is now a wrapper around the other one (the
1531 opposite used to be true).
1533 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1534 argument. Font setting is done in Paragraph now.
1536 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1538 * outputparams.h: add new members intitle and lang.
1540 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1541 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1543 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1545 * text3.C (dispatch): remove special handling of button 4 and 5,
1546 it is now taken care of in the frontend code.
1548 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1550 * Spacing.h: add <string> (STLPort compile fix)
1552 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1554 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1556 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1558 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1561 * converter.C (showMessage): inherit from unary_function, make
1564 * buffer.C (writeFile): initialize retval
1566 * InsetList.h: rename private variable list to list_
1567 * InsetList.[Ch]: adjust accordingly.
1569 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1571 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1572 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1573 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1574 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1575 * ParagraphParameters.C, LaTeXFeatures.C: replace
1576 "support/std_sstream.h" with <sstream>
1578 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1580 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1581 * lyxsocket.C (LyXServerSocket): ditto
1582 (serverCallback): ditto
1584 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1586 * LaTeXFeatures.C: check release date when loading jurabib.
1588 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1590 * lyxserver.C (startPipe): call register_socket_callback
1591 (endPipe): call unregister_socket_callback
1593 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1595 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1596 (LyXServerSocket): register the callback
1597 (LyXServerSocket): unregister the callback
1598 (fd): delete function
1599 (serverCallback): improve error checking and setup the callbacks.
1600 (dataCallback): change arg to fd.
1601 (writeln): new func (copied fro the client socket) used for server
1603 (LyXDataSocket): simplify
1604 (~LyXDataSocket): close ann unregiser callback
1605 (server): delete function
1606 (fd): delete function
1607 (readln): small changes, improve some std::string usage
1608 (writeln): constify a bit
1610 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1612 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1615 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1617 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1618 after it has been populated
1620 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * text2.C (insertInset): move cursor when inserting inset.
1624 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * kbmap.C (findbindings): a couple of new methods. returns a
1627 container of kb_sequence objects. The real work is done by the
1628 private recursive version
1629 (printbindings): uses findbindings to print out a bracketed list
1630 of bindings (renamed from findbinding).
1632 * MenuBackend.C (binding): use kb_keymap::findbindings
1634 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1636 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1638 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1640 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1642 * paragraph.C (isWord): return true on insets that report
1645 * text.C (getWord): use Paragraph::isWord to decide what is in a
1646 word and what is not; fix bug 1609.
1648 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1650 * tex-strings.C: add "none" to string_paperpackages[], fixes
1651 off-by-one-error in the paperpackage selection.
1654 * tex-strings.[Ch]: char const * string[n]
1655 -> char const * const string[]
1657 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1659 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1660 command, return early.
1662 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1664 * debug.h: add DEBUG to enum and fix size of ANY.
1666 * debug.C: add support for Debug::DEBUG
1667 (showTags): cast errorTags.level to unsigned int
1669 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1670 (redoCurrentBuffer): ditto
1671 (updateScrollbar): ditto
1672 * cursor.C (dispatch): ditto
1673 * text2.C (setLayout): ditto
1675 (updateCounters): ditto
1677 (deleteEmptyParagraphMechanism): ditto
1679 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1681 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1682 annotations to cleanup the Makefile slightly.
1684 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1686 * lyxrc.C: do not set user_email to a default value but use empty
1687 instead. The entry used to be translated, which does not work
1688 since at the point where lyxrc is constructed there is no
1689 translation service available
1691 * messages.C (getLocaleDir): remove and use directly
1692 lyx_localedir() instead
1694 2004-06-02 Angus Leeming <leeming@lyx.org>
1696 Fix crash caused by dereferencing null pointer 'exportdata' in
1697 OutputParams by creating a new ExportData variable on the heap,
1698 storing it in a boost::shared_ptr.
1699 The crash was triggered when generating an Instant Preview
1700 of an external inset.
1702 * Makefile.am: add outputparams.C
1704 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1705 (c-tor): allocate memory to it.
1707 * exporter.C (c-tor): associated changes.
1709 2004-06-01 Angus Leeming <leeming@lyx.org>
1711 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1712 contains data before calling isInset(0). (Bug 1513.)
1714 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1716 * exporter.C (checkOverwrite): new method
1717 * exporter.C (copyFile): new method
1718 * exporter.C (Export): copy referenced files to the document dir
1719 * exporter.[Ch]: new class ExportedFile
1720 * exporter.[Ch]: new class ExportData. Contains currently the
1721 names of referenced external files
1722 * outputparams.h: add exportdata member.
1724 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1726 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1729 2004-05-19 Angus Leeming <leeming@lyx.org>
1734 * lyxfunc.C: small changes due to the introduction of namespace
1735 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1737 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1739 * text3.C (dispatch): supress update when only moving the cursor
1740 * cursor.C (selHandle): remove commented code
1742 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1744 * paragraph.C (startTeXParParams): correct column count
1745 * CutAndPaste.C (pasteSelection): remove const_cast
1746 * output_docbook.C (docbookParagraphs): remove const_cast
1747 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1748 const_cast and return ParagraphList::const_iterator
1749 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1750 * output_plaintext.C (writeFileAscii): remove const_cast
1751 * paragraph.[Ch] (simpleTeXOnePar): make const
1752 * paragraph_funcs.C (outerPar): use const iterators
1753 * paragraph_pimpl.C (validate): use const iterators
1754 * text.C (setHeightOfRow): use const iterators
1756 2004-05-17 Angus Leeming <leeming@lyx.org>
1759 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1761 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1762 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1763 if the citation engine has changed.
1765 2004-05-14 José Matos <jamatos@lyx.org>
1767 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1768 if the textclass does not provide it. Have it different for sgml and
1770 support the language of document.
1771 * output_docbook.C (docbookParagraphs):
1772 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1773 first anchor as the id of the paragraph, remove special case code.
1774 * sgml.C (escapeChar): escape only < & >.
1776 2004-05-14 Angus Leeming <leeming@lyx.org>
1778 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1779 dependencies on src/frontends/controllers/biblio.h. Define a
1780 CiteEngine_enum wrapper class to enable the enum to be forward
1783 2004-05-12 Angus Leeming <leeming@lyx.org>
1785 * buffer.C: up LYX_FORMAT to 234.
1786 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1787 use_numerical_citations with a single biblio::CiteEngine cite_engine
1789 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1791 2004-05-13 José Matos <jamatos@lyx.org>
1794 * converter.C (Converter, readFlags): add xml member.
1795 * outputparams.h: add XML flavor.
1796 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1798 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1800 * lyxfunc.C (dispatch):
1801 (getStatus): fix handling of LFUN_SEQUENCE
1803 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1805 * debug.C (showLevel): do not forget the end-of-line marker
1807 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1809 * kbmap.C (read): do not stop parsing a bind file when an error
1812 2004-04-29 Angus Leeming <leeming@lyx.org>
1817 * text2.C: wrap a bunch of #warning statements
1818 inside #ifdef WITH_WARNINGS blocks.
1820 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1822 * buffer.C: increment format to 233.
1824 2004-04-28 Angus Leeming <leeming@lyx.org>
1826 * BufferView_pimpl.C:
1829 s/updateToolbar()/updateToolbars()/
1830 s/Toolbar.h/Toolbars.h/
1832 2004-04-28 Angus Leeming <leeming@lyx.org>
1834 * BufferView.[Ch] (c-tor):
1835 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1836 No longer passes these data to the WorkArea generator.
1838 2004-04-28 Angus Leeming <leeming@lyx.org>
1840 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1842 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1844 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1846 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1848 * output_latex.C (TeXEnvironment): make sure that there is a line
1849 break before \end{foo} for the last paragraph of a document
1850 (TeXOnePar): if the paragraph is at the end of the document (or
1851 inset) and the language has to be reset, then make sure that the
1852 line break is _before_ the language command, not after (fixes bug
1853 1225); also make sure that the language reset command is the first
1854 thing after the paragraph (to ensure proper nesting of
1855 environments and thus fix bug 1404)
1857 2004-04-21 John Levon <levon@movementarian.org>
1860 * ToolbarBackend.C: make "name" be a programmatic name
1861 and a gui_name field.
1863 * lyxfunc.C: display the minibuffer on M-x
1865 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1867 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1870 2004-04-19 Angus Leeming <leeming@lyx.org>
1872 * BufferView_pimpl.C (setBuffer): changed preview interface.
1874 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1877 2004-04-19 John Levon <levon@movementarian.org>
1879 * BufferView_pimpl.C:
1880 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1882 2004-04-05 Angus Leeming <leeming@lyx.org>
1884 * text.C (redoParagraphs): add call to updateCounters(), thereby
1885 fixing the missing "Figure #:" label from the caption of a
1888 2004-04-13 Angus Leeming <leeming@lyx.org>
1890 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1891 cursor is clicked out of an inset.
1893 2004-04-13 Angus Leeming <leeming@lyx.org>
1895 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1896 than an InsetOld one.
1898 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1900 * format.[Ch]: add editor to Format
1901 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1902 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1904 2004-04-08 André Pönitz <poenitz@gmx.net>
1906 * metricsinfo.h: remove PainterInfo::width member
1908 2004-04-08 Angus Leeming <leeming@lyx.org>
1910 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1911 "\providecommand" rather than "\newcommand", thereby preventing
1912 clashes with packages that define "\boldsymbol" themselves.
1915 2004-04-08 Angus Leeming <leeming@lyx.org>
1917 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1918 thereby squashing an unnecessary warning.
1920 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1922 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1925 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1927 * BufferView.C (setCursor): call redoParagraph (some insets could
1929 (putSelectionAt): remove the 'double update' trick
1931 * BufferView_pimpl.C (fitCursor): call refreshPar
1932 (workAreaDispatch): remove an uneeded update call
1933 (dispatch): remove some manual update calls
1935 * cursor.[Ch]: remove cached_y_, updatePos
1936 (selHandle): set noUpdate when appropriate
1938 * lyxfunc.C (dispatch): track if we need an update
1940 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1942 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1943 (paintSelection): cheap optimization, do not call cursorX when not
1945 (paintPars): change signature
1948 (paintTextInset): adjust
1952 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1954 * lengthcommon.C: compilation fix: remove explicit array size from
1955 unit_name[] and friends
1957 2004-04-05 Angus Leeming <leeming@lyx.org>
1959 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1961 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1962 present only for the preferences dialog.
1963 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1965 2004-04-05 Angus Leeming <leeming@lyx.org>
1967 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1968 to enable the frontends to export changes to lyxrc correctly.
1970 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1972 2004-04-07 André Pönitz <poenitz@gmx.net>
1974 * cursor.[Ch] (selClear, adjust): remove math
1976 * cursor_slice.C: more agressive assert
1979 * BufferView_pimpl.C: rework mouse event dispatch
1986 2004-04-05 André Pönitz <poenitz@gmx.net>
1988 * cursor.[Ch] (valign, halign...): remove unneeded functions
1990 2004-04-05 Angus Leeming <leeming@lyx.org>
1992 * lyxlength.[Ch] (unit_name et al.): const-correct.
1994 2004-04-05 Angus Leeming <leeming@lyx.org>
1996 * BufferView_pimpl.C:
2005 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2007 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2009 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2011 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2013 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2014 * BufferView_pimpl.[Ch] (getStatus)
2015 * BufferView.[Ch] (getStatus): add
2016 * lyxfunc.C (getStatus): move lfuns handled in
2017 BufferView::dispatch to te function above
2018 * Cursor.C (setSelection): set selection() = true
2020 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2022 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2024 2004-03-31 Angus Leeming <leeming@lyx.org>
2026 * lyxfunc.C (dispatch): Fall through to the generic
2027 Dialogs::show("preamble").
2029 2004-03-31 Angus Leeming <leeming@lyx.org>
2031 * lyxfunc.C (dispatch): Fall through to the generic
2032 Dialogs::show("spellchecker").
2034 2004-03-31 Angus Leeming <leeming@lyx.org>
2036 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2039 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2044 * insetiterator.[Ch]:
2049 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2051 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2053 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2054 insets where we are putting the cursor.
2056 2004-03-31 Angus Leeming <leeming@lyx.org>
2059 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2061 * lyxrc.[Ch] (read, write): overloaded member functions taking
2062 a std::[io]stream arguments.
2064 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2066 2004-03-31 Angus Leeming <leeming@lyx.org>
2068 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2069 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2071 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2072 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2074 2004-03-31 Angus Leeming <leeming@lyx.org>
2076 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2077 the LFUN_ALL_INSETS_TOGGLE code.
2079 2004-03-30 Angus Leeming <leeming@lyx.org>
2081 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2082 has died. Fall through to the generic Dialogs::show("document").
2084 2004-03-30 Angus Leeming <leeming@lyx.org>
2087 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2088 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2090 * lyxfunc.C (getStatus, dispatch): define the actions for these
2091 lfuns. Little more than a cut and pste job from ControlDocument.C
2093 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2095 2004-03-30 Angus Leeming <leeming@lyx.org>
2098 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2099 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2101 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2102 open/closed state of ollapsable insets. Usage:
2104 all-inset-toggle <state> <name>, where
2105 <state> == "open" || "closed" || "toggle" and
2106 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2108 * lyxtext.h, text2.C (toggleInset): removed.
2110 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2111 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2112 now passes LFUN_INSET_TOGGLE to the found inset.
2114 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2115 is now invoked as "all-insets-toggle toggle branch".
2117 2004-03-30 Angus Leeming <leeming@lyx.org>
2121 * pariterator.[Ch]: added/corrected header blurb.
2123 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2125 * dociterator.[Ch]: add an inset_ member
2126 (backwardPos): implemented
2127 (backwardPos, forwardPos): use inset_ when the stack is empty.
2128 (doc_iterator_begin, doc_iterator_end): implemented
2129 * pariterator.[Ch]: adjust, add begin, end
2130 * insetiterator.[Ch]: adjust, add begin, end
2134 * BufferView_pimpl.C:
2135 * CutAndPaste.C: adjust
2137 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2139 * buffer.C: increment file format to 232.
2140 * LaTeXFeatures.C: add bibtopic package.
2141 * bufferparams.[Ch]: param \use_bibtopic.
2143 * lyxrc.[Ch]: add lyxrc bibtex_command
2144 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2146 * buffer.C: increment file format to 231.
2148 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2150 * dociterator.C: implement forwardPar
2151 * iterators.[Ch]: remove, replaced by
2152 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2154 * BufferView_pimpl.C:
2157 * bufferview_funcs.C:
2163 * Makefile.am: adjust
2165 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2167 * CutAndPaste.C (pasteSelection): fix 2 crashes
2168 (eraseSelection): fix a crash
2169 * paragraph_funcs.C: remove a warning
2171 2004-03-28 Angus Leeming <leeming@lyx.org>
2174 * LyXAction.C (init): new LFUN_PRINT.
2176 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2178 2004-03-27 Angus Leeming <leeming@lyx.org>
2181 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2183 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2185 2004-03-27 Angus Leeming <leeming@lyx.org>
2187 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2188 insetlist always contains non-null pointers to insets.
2190 2004-03-26 Angus Leeming <leeming@lyx.org>
2192 * src/BufferView_pimpl.C:
2193 * src/CutAndPaste.C:
2196 * src/output_plaintext.C:
2197 * src/outputparams.h:
2198 * src/paragraph_funcs.C:
2202 * src/frontends/controllers/ControlErrorList.C:
2203 * src/frontends/gtk/FileDialogPrivate.C:
2204 * src/frontends/gtk/GPainter.C:
2205 * src/frontends/gtk/GToolbar.C:
2206 * src/frontends/qt2/QRef.C:
2207 * src/mathed/math_scriptinset.C: squash compiler warnings.
2209 2004-03-26 Angus Leeming <leeming@lyx.org>
2211 * ispell.C (LaunchIspell::start):
2212 * lyx_cb.C (AutoSaveBuffer::start):
2213 invoke run(DontWait) rather than runNonBlocking().
2215 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2217 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2219 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2221 * kbsequence.C (print): adjust
2223 * kbmap.C (printKeySym): rename and change signature
2224 (printKey): use LyXKeySym::print()
2226 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2228 * undo.C: add using std::advance to compile for stlport
2230 2004-03-24 Angus Leeming <leeming@lyx.org>
2232 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2233 it leads to a crash when no buffer is present.
2235 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2236 Martin Vermeer <martin.vermeer@hut.fi>
2238 * lyxfunc.C (dispatch):
2239 * bufferparams.C (readToken): use the new LColor::setColor
2241 * LColor.[Ch] (setColor): new version that takes two strings as
2242 argument and creates a new color entry if necessary
2244 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2246 * buffer.C (makeLaTeXFile): if the main latex file that is
2247 processed is usually a subdocument of some master, then pretend
2248 for a while that it is actually the master
2250 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2252 * buffer.C (getLabelList):
2253 (getBibkeyList): use getMasterBuffer()
2254 (getMasterBuffer): new method. Returns the main document in the
2255 case where one is using included documents.
2257 2004-03-25 André Pönitz <poenitz@gmx.net>
2261 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2263 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2265 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2266 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2268 * ParameterStruct.h: merge with ParagraphParameters
2270 * lyxtext.h: remove LyXText::parOffset() and getPar()
2272 * text3.C: Remove all 'manual' update calls. We do now one per user
2273 interaction which is completely sufficient.
2277 * BufferView_pimpl.C:
2278 * FontIterator.[Ch]:
2280 * ParagraphParameters.[Ch]:
2285 * cursor_slice.[Ch]:
2292 * output_docbook.[Ch]:
2293 * output_latex.[Ch]:
2294 * output_linuxdoc.[Ch]:
2295 * output_plaintext.[Ch]:
2297 * paragraph_funcs.[Ch]:
2298 * paragraph_pimpl.[Ch]:
2306 * frontends/controllers/ControlDocument.C:
2307 * frontends/controllers/ControlErrorList.C:
2308 * frontends/controllers/ControlSpellchecker.C:
2311 * insets/insetbase.h:
2312 * insets/insetbibitem.C:
2313 * insets/insetbox.C:
2314 * insets/insetbranch.C:
2315 * insets/insetcaption.C:
2316 * insets/insetcharstyle.C:
2317 * insets/insetcharstyle.h:
2318 * insets/insetcollapsable.C:
2319 * insets/insetcollapsable.h:
2320 * insets/insetert.C:
2321 * insets/insetfloat.C:
2322 * insets/insetfoot.C:
2323 * insets/insetmarginal.C:
2324 * insets/insetnote.C:
2325 * insets/insetoptarg.C:
2326 * insets/insettabular.C:
2327 * insets/insettext.C:
2328 * insets/insettext.h:
2329 * insets/insetwrap.C:
2330 * mathed/math_mboxinset.C:
2331 * mathed/math_nestinset.C:
2332 * mathed/math_scriptinset.C:
2333 * mathed/math_scriptinset.h:
2336 2004-03-24 Angus Leeming <leeming@lyx.org>
2338 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2339 deal with any child processes that have finished but are waiting to
2340 communicate this fact to the rest of LyX.
2342 2004-03-24 Angus Leeming <leeming@lyx.org>
2344 64-bit compile fixes.
2346 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2347 (c-tor): pass lyx::pos_types rather than ints.
2349 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2352 * text.C (Delete): compile fix.
2353 (getPar): ensure that function declaration is the same as that in
2356 2004-03-23 Angus Leeming <leeming@lyx.org>
2358 * ispell.C (LaunchIspell):
2359 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2360 a boost::shred_ptr rather than a std::auto_ptr.
2362 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2364 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2365 handle LFUN_FILE_INSERT_*
2367 * lyxrc.C (setDefaults, getDescription, output, read):
2368 * lyxrc.h: remove ps_command
2370 2004-03-22 Angus Leeming <leeming@lyx.org>
2372 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2373 Ensure that error_handler is processed once only and that all data
2374 is saved before attempting to output any warning messages.
2376 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2378 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2380 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2382 2004-03-19 André Pönitz <poenitz@gmx.net>
2384 * cursor.[Ch] (reset): take main text inset as argument
2386 * BufferView: adjust
2387 * BufferView_pimpl.C: adjust
2389 * paragraph.[Ch]: fix completely broken operator=()
2391 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2393 * LColor.C (getFromLyXName): make sure that the color name is used
2396 2004-03-17 Angus Leeming <leeming@lyx.org>
2399 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2401 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2402 dialog and to kill a forked process.
2404 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2406 * text2.C (setCursorFromCoordinates): fix font problem
2408 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2410 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2411 bogus "rebuild cursor" code
2413 2004-03-11 André Pönitz <poenitz@gmx.net>
2415 * buffer.[Ch]: use InsetText instead of LyXText as container for
2418 * dociterator.[Ch]: drop the BufferView * member which is not needed
2419 anymore after the change to buffer.C
2421 * paragraph_funcs.C:
2425 * BufferView_pimpl.[Ch]:
2427 * cursor_slice.[Ch]: adjust
2429 * text3.C: fix bug in mathDispatch
2431 2004-03-08 André Pönitz <poenitz@gmx.net>
2433 * undo.[Ch]: use 'StableDocumentIterator' as base for
2436 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2439 * bufferparams.[Ch]: add jurabib support and param.
2441 * LaTeX.C: add FIXME/comment.
2443 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2445 * buffer.C: increment file format to 230.
2447 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2449 * cursor.C (dispatch): avoid infinite loops
2451 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2453 * rowpainter.C (paintSelection): fix x coordinates
2455 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2457 * text.C (rowBreakPoint): fix breaking before displayed insets
2459 2004-03-01 André Pönitz <poenitz@gmx.net>
2461 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2463 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2467 * BufferView_pimpl.C:
2475 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2481 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2482 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2484 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2486 * Bidi.[Ch] (computeTables): const correctness
2487 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2488 fill_hfill, fill_label_hfill and x from Row
2489 * lyxtext.h: prepareToPrint returns a RowMetrics
2490 * rowPainter.C: adjust
2491 * text.C (prepareToPrint): use width, not textWidth. adjust
2492 (redoParagraphInternal, cursorX): adjust
2493 * text2.C (getColumnNearX): adjust
2494 (init): put a default value to the top LyXText::width
2496 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2498 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2500 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2502 * lyxtext.h: add FontIterator class
2504 * text.C (FontIterator, operator*, operator->, operator++): add
2505 (rowBreakPoint, setRowWidth): adjust (fixing a
2508 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2510 * BufferView_pimpl.C (workAreaDispatch): allow also
2511 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2513 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2515 * text.C (rowBreakPoint): fix a bug showing with very large insets
2517 2004-02-25 André Pönitz <poenitz@gmx.net>
2520 * cursor.[Ch]: move some mathed specific code to mathed
2522 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2524 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2525 use_tempdir in preferences
2526 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2528 * lyx_main.C: ensure that tempdir is valid
2529 * lyxlex.h: correct typo
2530 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2531 * paragraph.[Ch] (isMultiLingual): make const
2532 * cursor.[Ch] (openable): make const
2534 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2536 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2538 2004-02-20 André Pönitz <poenitz@gmx.net>
2540 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2542 * cursor.[Ch]: prepare for localized getStatus()
2548 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2550 2004-02-20 André Pönitz <poenitz@gmx.net>
2552 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2554 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2556 * text2.C (setCursorFromCoordinates): switch to absolute coords
2558 (cursorDown): adjust
2559 * text3.C (dispatch): adjust
2561 2004-02-16 André Pönitz <poenitz@gmx.net>
2563 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2566 * cursor_slice.[Ch]: remove unneeded acessor function
2568 * lyxtext.h: rename rtl() to isRTL()
2576 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2578 * rowpainter.C (paintSelection): coord fix
2580 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2582 * Spacing.C: compile fix
2584 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2586 * cursor.C (dispatch): restore current_ before returning
2588 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2590 * text2.C (cursorUp, cursorDown): fix coords
2593 2004-02-12 André Pönitz <poenitz@gmx.net>
2598 * text3.C: add LCursor & parameter to most cursor movement functions
2599 remove usage of LyXText::cursorRow() and cursorPar()
2601 * cursor.[Ch]: add textRow() needed members
2604 * BufferView_pimpl.C:
2607 * BufferView_pimpl.C: adjust
2609 2004-02-11 André Pönitz <poenitz@gmx.net>
2613 * BufferView_pimpl.C: shift undo/redo handling
2615 * cursor.[Ch]: fix mathed crash
2618 * lyxtext.h: move selectionAsText to LCursor
2626 * rowpainter.C: fix excessive drawing
2628 2004-02-06 André Pönitz <poenitz@gmx.net>
2631 * BufferView_pimpl.[Ch]:
2632 * text3.C: move some text specific LFUN handling
2634 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2636 * text3.C (checkInsetHit): adjust coords
2637 * text2.C (getColumnNearX): adjust coords
2638 (edit): adjust coords
2639 * text.C (getRowNearY): add two asserts
2641 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2644 * format.C: add using std::distance to compile on gcc 2.95/stlport
2646 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2648 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2650 2004-02-04 André Pönitz <poenitz@gmx.net>
2652 * BufferView.[Ch] (insertInset):
2653 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2658 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2660 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2661 on the default clause of the switch
2662 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2663 wasn't catched by LCursor::dispatch
2665 2004-02-03 André Pönitz <poenitz@gmx.net>
2668 * cursor.[Ch]: some additional asserts
2670 * undo.[Ch]: remove LyXText dependency in interface
2674 * lyxtext.h (firstPar, lastPar): remove dead functions
2679 * paragraph.[Ch]: adjust
2681 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2683 * lyxfind.C (find): fix argument order in call to ::find
2685 2004-02-02 André Pönitz <poenitz@gmx.net>
2687 * cursor.[Ch]: remove direct access to anchor
2689 * text.C: remove findText() hack
2691 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2693 * iterators.[Ch] (lockPath): remove in favour of...
2694 * BufferView.[Ch] (setCursor): this addition
2695 * BufferView.C (putSelectionAt): adjust
2696 * undo.C (performUndoOrRedo): adjust
2697 * lyxfunc.C (dispatch): adjust
2699 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2701 * iterators.C (lockPath): add a missing slice
2702 * undo.C (performUndoOrRedo): remove redundant positioning code
2704 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2706 * vc-backend.C (scanMaster): ";" -> ';'
2708 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2710 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2711 std::binary_function
2713 * lyxtextclass.C (compare_name): rename to...
2714 (LayoutNamesEqual): ...this
2716 * lyxlex_pimpl.C (compare_tags): inherit from
2717 std::binary_function, put back into anon namespace
2719 * lyxfind.C (MatchString): inherig from std::binary_function
2720 (findChange): use empty() istead of !size()
2722 * format.C (FormatNamesEqual): new functor
2729 * converter.C (compare_Converter): rename to...
2730 (ConverterEqual): ...this, and fixup a bit.
2731 (getConverter): use it, and make function const
2732 (getNumber): use it, and make function const
2736 * bufferlist.C: add using boost::bind
2738 * MenuBackend.C (MenuNamesEqual): new functor
2739 (hasMenu): use it, and make function const
2740 (hasSubmenu): use nested bind to get rid of compare_memfun.
2742 2004-01-30 André Pönitz <poenitz@gmx.net>
2744 * BufferView_pimpl.C:
2747 * cursor_slice.[Ch]:
2750 * paragraph_funcs.C:
2751 * paragraph_funcs.h:
2755 * text3.C: move some of the edit(x,y) handling to the insets
2756 some coordinate changes.
2758 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2760 * text.C: add using statements for std::advance and std::distance
2762 * paragraph.C: add using statement for std::distance
2764 * lyxfind.C: add using statement for std::advance
2766 * cursor.C (region): remove std:: from swap
2767 (openable): use nucleus in stead of operator->
2769 * BufferView.C: add using statements for std::distance and std::swap
2771 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2773 * iterators.C: Remove the pimple, move the needed structures to
2774 the header file. Create accessor for the positions stack.
2775 (asPosIterator): remove function
2777 * PosIterator.C (PosIterator): move constructors to top of file
2778 (PosIterator): reimplement the constructor taking a ParIterator in
2780 (setFrom): new function
2781 (operator!=): inline it
2783 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2785 * lyxfind.C (replaceAll): use std::advance
2787 * iterators.h: inherit from std::iterator.
2789 * PosIterator.C (advance, distance): remove
2790 * PosIterator.h: interit from std::iterator.
2792 2004-01-26 André Pönitz <poenitz@gmx.net>
2795 * BufferView_pimpl.[Ch]:
2799 * bufferview_funcs.C:
2809 * output_linuxdoc.C:
2810 * output_plaintext.C:
2812 * paragraph_funcs.[Ch]:
2813 * paragraph_pimpl.[Ch]:
2819 * text3.C: more IU: dumps most of the rest of the mathcursor
2820 implementation into cursor.[Ch]; "globalize" a bit of it.
2822 2004-01-25 Angus Leeming <leeming@lyx.org>
2824 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2826 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2828 * LaTeXFeatures.h: add nice_ and nice() const
2829 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2831 2004-01-20 André Pönitz <poenitz@gmx.net>
2834 * BufferView_pimpl.C:
2836 * bufferview_funcs.C:
2838 * cursor_slice.[Ch]:
2849 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2850 LCursor and mathcursor parts to LCursor and InsetBase.
2852 2004-01-15 André Pönitz <poenitz@gmx.net>
2854 * cursor_slice.[Ch]: add a few covienience functions
2856 * funcrequest.[Ch]: remove BufferView * member
2858 * BufferView_pimpl.C:
2865 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2867 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2869 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2870 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2872 2004-01-13 André Pönitz <poenitz@gmx.net>
2875 * lyxtext.h: hide cursor and selection anchor behind accessor function
2878 * BufferView_pimpl.[Ch]:
2880 * bufferview_funcs.C:
2890 * cursor_slice.[Ch]: some integer type changes for inset unification
2892 * lyxcursor.[hC]: remove, it's CursorSlice now.
2895 * BufferView_pimpl.[Ch]:
2896 * bufferview_funcs.C:
2902 * textcursor.[Ch]: adjust
2904 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2906 * text2.C (undoSpan): add and use
2907 * text.C (breakParagraph): use undoSpan (fix bug 578)
2910 2004-01-08 Angus Leeming <leeming@lyx.org>
2912 * BufferView_pimpl.C (MenuInsertLyXFile):
2913 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2914 * lyxfunc.C (menuNew, open, doImport):
2915 FileFilterList change to the FileDialog open and save functions.
2917 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2919 * ShareContainer.h: make isEqual and isUnique adaptable
2921 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2923 2004-01-07 Angus Leeming <leeming@lyx.org>
2926 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2928 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2930 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2931 functions replacing find, replace and replaceAll.
2933 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2934 LFUN_WORDFIND(FORWARD|BACKWARD).
2936 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2938 * text.C (breakParagraph): remove an outdated #warning
2940 2004-01-07 André Pönitz <poenitz@gmx.net>
2942 * lyxfind.C: somewhat clearer logic
2944 * text.C: prevent crash in cursorX on unitialized row cache
2946 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2948 * lyxcursor.[Ch] (operator>): add
2949 * textcursor.C (selStart, selEnd): use std::min and std::max
2951 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2953 * Chktex.C: include boost/format.hpp
2955 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2957 * InsetList.C: replace functor MathcIt with adaptable functor
2959 (insetIterator): modify accordingly
2961 * BranchList.h: move the BranchNamesEqual functor here from...
2962 * BranchList.C: ... to here
2964 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2966 (add): replace a finding loop with std::find_if.
2968 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2970 * output_docbook.C: moving LatexParam functionality into
2973 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2975 * buffer.C: increment format to 229.
2977 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2980 * lyx_sty.[Ch]: remove minipageindent_def
2986 * text3.C: remove LFUN_INSET_MINIPAGE
2988 2003-12-28 Angus Leeming <leeming@lyx.org>
2990 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2992 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2994 * text2.C (setParagraph): fix off-by-one crash
2996 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2998 * output_docbook.C: header stuff for AGU
3000 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3002 * text2.C (redoCursor): remove
3005 * BufferView_pimpl.C: remove calls to redoCursor and
3006 setCursor(cursor.par(), cursor.pos()) all around
3008 2003-12-15 Angus Leeming <leeming@lyx.org>
3010 * buffer.C: up the format to 228.
3012 2003-12-15 André Pönitz <poenitz@gmx.net>
3014 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3019 * BufferView_pimpl.C:
3028 2003-12-15 Angus Leeming <leeming@lyx.org>
3030 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3031 than getFromGUIName to manipulate the color.
3033 2003-12-14 Angus Leeming <leeming@lyx.org>
3035 * BranchList.[Ch]: minimize the API.
3036 (Branch::getBranch, getColor): now return a 'const &'.
3037 (Branch::setSelected) now returns a bool set to true if the
3038 selection status changes.
3039 (BranchList::clear, size, getColor, setColor, setSelected,
3040 allBranches, allSelected, separator): removed.
3041 (BranchList::find): new functions, returning the Branch with
3043 (BranchList::add, remove): return a bool indicating that
3044 the operation was successful.
3046 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3047 new InsetBranch::isBranchSlected member function.
3049 * LColor.[Ch]: mimimize the API.
3050 (fill): renamed as addColor and made private.
3051 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3052 versions of these functions taking a string arg have been removed.
3054 * bufferparams.C (readToken):
3055 * lyxfunc.C (dispatch):
3056 * lyxrc.C (read): changes due to the altered BranchList and
3059 * factory.C (createInset, readInset): changes due to altered
3062 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3065 * lyxfunc.C: remove insetminipage. "minipage-insert"
3066 now produces a frameless minipage box inset.
3068 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3070 * textcursor.[Ch] (selStart,selEnd): add new methods
3071 remove selection::start, end, use LyXCursor::operator<
3072 * lyxcursor.[Ch] (operator<): add
3073 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3074 * BufferView.[Ch] (unsetXSel): add
3075 * text2.C (clearSelection): use unsetXSel,adjust
3078 * rowpainter.C: adjust
3079 * bufferview_funcs.C (put_selection_at): adjust
3081 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3083 * BufferView_pimpl.C: small coord. correction
3085 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3087 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3088 dragging over the splash screen.
3090 2003-12-11 Angus Leeming <leeming@lyx.org>
3092 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3093 as it is now handled in LyXText::dispatch.
3095 * text3.C (doInsertInset): remove a level of nesting.
3097 2003-12-11 Angus Leeming <leeming@lyx.org>
3099 * factory.C (createInset): changes due to the changed interface to
3100 InsetCommandMailer::string2params.
3102 2003-12-10 Angus Leeming <leeming@lyx.org>
3104 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3105 'dialog-show-new-inset <inset name>'
3107 2003-12-10 Angus Leeming <leeming@lyx.org>
3109 * buffer.C: up the format to 227.
3111 * factory.C: the box inset is now identified simply by 'Box'.
3113 2003-12-10 Angus Leeming <leeming@lyx.org>
3115 * buffer.C: up the format to 226.
3117 * factory.C: the note inset is now identified simply by 'Note'.
3119 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3121 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3122 when a pit is enough. Standarize a couple of loops.
3124 2003-12-05 Angus Leeming <leeming@lyx.org>
3126 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3127 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3128 data to the re-worked "log" dialog.
3130 2003-12-03 André Pönitz <poenitz@gmx.net>
3136 * paragraph_funcs.C:
3138 * text2.C: use Inset::getText instead of Inset::getParagraph
3140 2003-12-03 André Pönitz <poenitz@gmx.net>
3144 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3145 InsetText::read() as LyXText::read()
3147 2003-12-02 Angus Leeming <leeming@lyx.org>
3149 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3150 type. Add a comment in the implementation that the function uses
3151 the stream's bad() function rather than fail() as the std::streams
3154 2003-12-02 André Pönitz <poenitz@gmx.net>
3156 * lyxlex.[Ch]: make interface more similar to std::stream
3158 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3160 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3162 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3164 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3166 * vspace.[Ch]: remove VSpace::NONE
3168 2003-12-01 André Pönitz <poenitz@gmx.net>
3171 * lyxtext.h: move ParagraphList member to LyXText
3172 rename LyXText::ownerParagraphs to LyXText::paragraph
3175 * bufferview_funcs.C:
3185 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3187 * undo.C: fix cursor positioning
3189 2003-12-01 John Levon <levon@movementarian.org>
3191 * BufferView_pimpl.C: fix a crash on exit with
3194 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3196 * BranchList.C: fix setSelected() method.
3198 2003-11-28 André Pönitz <poenitz@gmx.net>
3200 * ParagraphParameters.[Ch]:
3201 * ParameterStruct.h: remove space above/below from Paragraph to
3204 * BufferView_pimpl.C:
3210 * paragraph_funcs.C:
3216 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3218 * factory.C: Syntax change for CharStyles
3220 2003-11-28 André Pönitz <poenitz@gmx.net>
3225 * buffer.[Ch]: move LyXText member
3227 2003-11-28 André Pönitz <poenitz@gmx.net>
3229 * BufferView.[Ch]: make LyXText * text a private member
3231 * BufferView_pimpl.C:
3242 * output_plaintext.C: cleanup
3244 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3247 * lyxtextclass.[Ch]: parametrize SGML document header
3249 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3252 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3255 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3257 * text2.C (setFont): rework using PosIterator (no more recursive)
3258 (setCharFont): no more needed
3259 (setLayout): no more selection cursors fiddling (done by redoCursor)
3260 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3261 destroy remaining ones)
3263 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3265 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3267 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3270 * text3.C: adjust + re-allow multi par depth changes
3271 * textcursor.C: simplify a bit
3273 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3279 * src/output_docbook.C:
3280 * src/output_latex.C:
3285 * src/text2.C: Introducing a number of tags parametrizing various
3286 XML formats that we may want to support
3288 2003-11-25 André Pönitz <poenitz@gmx.net>
3290 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3292 * lyxtext.h (leftMargin/rightMargin): simplify interface
3299 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3301 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3302 master file to any child files. Fixes bug 546.
3304 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3306 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3308 2003-11-24 André Pönitz <poenitz@gmx.net>
3310 * rowpainter.C: simplification
3312 * text2.C (updateCounters): remove call to redoParagraph on
3313 changed labels as this is far too expensive.
3315 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3317 * converter.C (convert): fix a crash: this function gets
3318 called with buffer == 0 from importer code.
3320 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3322 * text3.C (cursorPrevious): make sure that we do not compare
3323 iterators form different containers.
3326 * rowpainter.C (paintSelection): make sure that we do not compare
3327 iterators from different containers.
3329 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3330 iterators from different ParagraphList containers.
3333 * text2.C (LyXText): change order of initialization slightly
3334 (operator=): new function. copy all variables except cache_par_
3335 (moveUp): make sure that we do not compare iterators from
3336 different ParagraphList constainers.
3339 * text.C (firstPar): new function
3340 (lastPar): new function
3341 (endPar): new function
3343 * lyxtext.h: move things around and group public functions, public
3344 variables, private functions, private variables
3346 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3348 * factory.C: change call to InsetERT constructor to avoid
3349 additional invocation of method status
3350 * text2.C (toggleInset): remove redundant update() call
3351 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3352 instead of a Bufferview pointer
3354 2003-11-21 André Pönitz <poenitz@gmx.net>
3356 * rowpainter.C: simplification
3358 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3360 * text3.C (dispatch): make possible to extend a word/row selection
3363 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3365 * lyxtext.h: x0_,y0_ -> xo_,yo_
3366 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3367 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3368 * rowpainter.C (paintRows): paint full paragraphs
3370 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3372 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3375 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3377 * lyxtext.h: add x0_, y0_
3378 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3379 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3381 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3383 * text2.C (setCursorIntern): move the x_target update here *
3384 * text3.C: change some bv() to true/false in calls to
3385 cursorUp/Down/Right/Left
3386 * cursor.C: use helper function.
3388 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3390 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3391 * paragraph_funcs.[Ch]: correct comment
3392 * rowpainter.C: do not paint selections away from bv->cursor()
3393 Fix a long standing selection painting bug.
3394 * text3.C: generalize mouse-selection code to LyXTexts other that
3396 * textcursor.C: do not use y coords if we can use par offsets
3398 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3400 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3401 cursor position after e.g. inset insert)
3403 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3405 * lyxfind.C (replace): adjust to locking removal + some
3408 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3410 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3413 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3416 * output_docbook.C: XML sanitation: new layout
3417 parameters InnerTag and CommandDepth
3419 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3421 * BufferView_pimpl.C:
3423 * text3.C: Fix the insertion and modification of button-style
3426 2003-11-13 André Pönitz <poenitz@gmx.net>
3428 * InsetList.[Ch]: remove deleteLyXText
3430 * paragraph.[Ch]: cache beginOfBody position
3435 * text3.C: remove superfluous update() calls
3439 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3441 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3442 * BufferView.C (fitLockedInsetCursor): remove
3443 * cursor.[Ch] (getDim): add
3444 * text.C (getRowNearY): add faster version
3445 * text3.C: remove some update calls
3447 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3459 * text3.C: The Character Style /XML short element patch.
3461 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3464 * factory.C: Small step to solving 'unable to insert some insets'
3467 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3469 * cursor.[Ch] (updatePos): new function for updating the y
3470 position of the tip inset
3471 * bufferview_funcs.C (put_selection_at):
3472 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3474 2003-11-11 André Pönitz <poenitz@gmx.net>
3476 * text.C: remove big comment on invalid Paragraph pointers as it is
3479 2003-11-11 André Pönitz <poenitz@gmx.net>
3481 * text_funcs.[Ch]: merge with ...
3489 * Makefile.am: remove text_funcs.[Ch]
3491 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3493 * cursor.C (getPos): return absolute cached y coord
3495 * BufferView_pimpl.C (fitCursor): new simplistic code
3496 (workAreaDispatch): add a fitCursor call
3498 2003-11-10 André Pönitz <poenitz@gmx.net>
3501 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3503 2003-11-10 André Pönitz <poenitz@gmx.net>
3505 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3506 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3507 indicate that the cursor needs to leave an inset
3509 * lyxtext.h: remove inset locking
3511 * cursor.[Ch]: re-implement functionality provided by inset locking
3514 * BufferView_pimpl.[Ch]:
3516 * bufferview_funcs.[Ch]:
3528 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3530 * PosIterator.[Ch]: replace the stack with a vector, add inset
3532 * iterators.[C]: adjust
3534 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3536 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3538 * paragraph_funcs.C (readParToken): put the correct id in the
3539 error item, not the id of the top paragraph
3541 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3543 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3544 * bufferview_funcs.C (put_selection_at): use the above
3546 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3548 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3550 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3552 * output_linuxdoc.h:
3553 * output_plaintext.h:
3555 * output_docbook.h: add #include statements
3557 2003-11-05 José Matos <jamatos@lyx.org>
3559 * output_docbook.[Ch]:
3560 * output_latex.[Ch]:
3561 * output_linuxdoc.[Ch]:
3562 * output_plaintext.[Ch]: New files for output formats.
3563 * output.[Ch]: New file for helper functions.
3566 * paragraph_funcs.[Ch]: output functions moved to new files.
3568 * outputparams.h: rename of latexrunparams.h
3576 * paragraph_funcs.[Ch]:
3577 * paragraph_pimpl.[Ch]:
3578 * tabular.[Ch]: rename ascii to plaintext
3579 and LatexRunParams to OutputParams.
3581 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3583 * iterators.[Ch] (text): require bv argument
3584 * undo.C (recordUndo):
3585 * lyxfunc.C (dispatch):
3586 * bufferview_funcs.C (put_selection_at): adjust
3588 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3590 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3592 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3594 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3597 2003-11-04 André Pönitz <poenitz@gmx.net>
3599 * cursor.[Ch]: restructure
3602 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3604 * iterators.[Ch] (asCursor): remove
3606 * lfuns.h: remove LFUN_INSET_EDIT
3612 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3614 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3616 * lyxfind.[Ch]: complete overhaul
3617 * BufferView_pimpl.C:
3619 * paragraph.[Ch] (insert): add
3621 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3625 * text.C: remove dead spellcheck code
3627 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3629 * dispatchresult.h: add a val setter
3631 * cursor.C (dispatch): use a tempvar for data_[i]
3633 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3635 * PosIterator.[Ch]: compile fix
3637 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3639 * text.C (cursorPar): deactivate the cursor cache
3641 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3643 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3645 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * text3.C (dispatch): adjust for new DisptchResult semantics.
3649 * lyxfunc.C (dispatch): handle update when return from
3650 Cursor::dispatch, adjust for new DispatchResult semantics.
3652 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3653 DispatchResult(true) mean to not update. Add class functions for
3654 setting dispatched and update, as well as reading.
3656 * cursor.C (dispatch): don't handle update here
3658 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3661 * trans_mgr.C: adjust
3663 * paragraph_funcs.C (readParToken): exception safety
3665 * lyxvc.h: store the vcs pointer in a scoped_ptr
3668 * lyxsocket.C (serverCallback): exception safety
3670 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3672 * ispell.C (clone): make it return a auto_ptr
3674 * factory.C (createInset): exception safety
3675 (readInset): exception safety
3677 * bufferlist.C (newBuffer): exception safety
3679 * Thesaurus.C (Thesaurus): use initialization for aik_
3681 * MenuBackend.C (expandToc): exception safety.
3683 2003-11-03 André Pönitz <poenitz@gmx.net>
3687 * bufferview_funcs.C: remove getInsetFromId()
3690 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3696 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3698 * PosIterator.C (distance, advance): new
3699 * bufferview_funcs.[Ch] (put_selection_at): new
3700 * iterators.[Ch] (lockPath): new
3702 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3704 * iterators.[Ch] (asPosIterator): added
3705 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3706 * PosIterator.[Ch]: added
3708 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * cursor.C (dispatch):
3713 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3715 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3716 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3717 contructor, add a class function dispatched. Remove operator>=
3719 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3721 * debug.C: only use the default constructor for debugstream
3724 * main.C (main): include debug.h and setup the lyxerr streambuf
3727 2003-10-31 José Matos <jamatos@lyx.org>
3729 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3731 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3732 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3733 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3734 * paragraph_pimpl.C (simpleTeXSpecialC):
3735 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3736 add LatexRunParams argument.
3738 * exporter.C (Export): change call accordingly.
3740 * latexrunparams.h: add new member to take care of the other backends.
3741 2003-10-30 José Matos <jamatos@lyx.org>
3743 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3744 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3745 factorise code for paragraph output.
3747 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3750 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * text3.C (dispatch):
3753 * lyxfunc.C (dispatch):
3754 * cursor.C (dispatch):
3755 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3757 * dispatchresult.h: make the dispatch_result_t ctor explicit
3759 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3762 * buffer.C: small refactoring of docbook stuff
3764 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3766 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3769 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3771 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3772 operator dispatch_result_t, and operators for == != and >=
3774 * cursor.C (dispatch): adjust for operator dispatch_result_t
3775 removal. comment out call to update
3777 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3779 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3790 * dispatchresult.h: new file, DispatchResult broken out of
3793 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3795 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3797 * text.C (rowBreakPoint): put a hack inside #if 0
3799 2003-10-28 André Pönitz <poenitz@gmx.net>
3803 * paragraph_funcs.C:
3806 * text2.C: general cleanup (lots of small stuff)
3808 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3810 * text2.C (cursorEnd): simple fix to the "end key goes to one
3811 before the end on last row" bug
3813 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3815 * text.C (backspace): fix the "zombie characters"
3817 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3819 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3821 2003-10-27 André Pönitz <poenitz@gmx.net>
3823 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3825 * factory.C: handle new InsetPagebreak, InsetLine
3827 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3828 and move handling into new InsetPagebreak, InsetLine
3830 * BufferView_pimpl.C:
3832 * ParagraphParameters.C:
3833 * ParameterStruct.h:
3838 * paragraph_funcs.C:
3839 * paragraph_pimpl.C:
3845 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3848 * lyxrow_funcs.[Ch]:
3854 * text3.C: remove lastPos uses in favour of Row::endpos
3856 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3858 * undo.C (performUndoOrRedo): fix two crashes by setting a
3859 cursor by hand and reordering some calls. Use bv->lockInset instead
3860 of inset->edit because the latter loses cursor information
3862 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3864 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3866 (rowBreakPoint): fix width. change point to point + 1.
3867 Add a missing check.
3869 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3872 * lyxfunc.C: fix (at least partly) the problems
3873 with the Nav menu and headers inside branch insets
3876 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3878 * paragraph.C (getChar): add strong asserts
3880 * lyxrow_funcs.C (lastPos): remove hideous hack
3882 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3883 (fill): adjust to that (avoid an infinite loop)
3885 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3887 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3889 2003-10-23 André Pönitz <poenitz@gmx.net>
3891 * RowList_fwd.h: change list<> to vector<> to gain speed
3892 after suggestion from Alfredo
3894 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3896 * lyxtext.h: move the bidi stuff from here...
3899 * Bidi.[Ch]: ... to here
3901 2003-10-23 André Pönitz <poenitz@gmx.net>
3904 * text.C (isLastRow, isFirstRow): new functions
3906 * paragraph.h: new width cache member
3908 * rowpainter.C: replace RowList::iterator with Row & where possible
3910 * lyxfunc.C: replace several view()->text with a single call
3912 * toc.C: fix 'unused' warning
3914 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3917 when woring with stream::pos_type
3918 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3920 2003-10-22 André Pönitz <poenitz@gmx.net>
3923 * text.C: use Row & instead of RowList::iterator
3925 * lyxrow.h: rename end() to endpos()
3931 2003-10-22 Angus Leeming <leeming@lyx.org>
3933 * buffer.[Ch] (fully_loaded): new member function, returning true
3934 only when the file has been loaded fully.
3935 Used to prevent the premature generation of previews and by the
3936 citation inset to prevent computation of the natbib-style label.
3938 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3939 templates are all set up.
3941 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3943 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3945 * text.C: fixed an "oops" in the "is a bit silly"
3948 2003-10-21 André Pönitz <poenitz@gmx.net>
3950 * FuncStatus.[Ch]: small stuff, whitespace
3952 * lyxfont.[Ch]: operator<<() for debug reasons
3956 * lyxtext.h: whitespace, spelling
3958 * paragraph.C: naming of variables
3961 * text2.C: small stuff
3964 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3966 * text.C: (1) finish off the inset display() work;
3967 (2) fix the "is a bit silly" bug (accessing char
3970 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3972 * text.C: re-introduce display() for insets, fixing the
3973 various bugs (stretch of line above, math inset
3976 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3978 * text.C (rightMargin): remove spurious semicolon
3980 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3983 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3985 * text3.C: fix one crash due to wrong cursor def
3987 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * vc-backend.C (scanMaster): make the regex static
3991 * LaTeX.C (scanAuxFile): make the regexs static
3993 * text3.C (doInsertInset, dispatch, dispatch):
3994 * text2.C (cursorUp, cursorDown):
3995 * text.C (selectNextWordToSpellcheck):
3996 * BufferView_pimpl.C (dispatch):
3997 * lyxfunc.C (dispatch): localDispatch -> dispatch
3999 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4001 * lyxsocket.C: include <cerrno>
4003 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4005 * lyxfunc.C (dispatch): remove textcache stuff
4007 * bufferlist.C (release): remove textcache stuff
4010 * TextCache.C: delete file
4011 * TextCache.h: delete file
4013 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4015 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4016 delete of the bv_->text.
4017 (resizeCurrentBuffer): remove texcache stuff
4018 (workAreaResize): ditto
4020 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4022 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4025 2003-10-16 André Pönitz <poenitz@gmx.net>
4032 * text3.C: speed up by storing y positions per paragraph plus per-row
4033 offset instead of having a 'full' y position in the row.
4035 2003-10-15 André Pönitz <poenitz@gmx.net>
4039 * undo.[Ch]: make undo aware of inner insets
4041 2003-10-14 Angus Leeming <leeming@lyx.org>
4043 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4044 static member functions LyX::ref() and LyX::cref.
4045 (lastfiles): new accessor functions for the new lastfiles_ member var.
4046 (addLyXView, views_): add a new LyXView to the list of views_.
4047 (updateInset): loop over all LyXViews to call their own updateInset
4048 member function, returning a pointer to the Buffer owning the inset.
4050 * BufferView_pimpl.C (loadLyXFile):
4051 * MenuBackend.C (expandLastfiles):
4052 * bufferlist.C (MenuWrite, QuitLyX):
4053 lastfiles is no longer a global variable.
4054 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4056 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4057 static function. Access through LyX::cref().emergencyCleanup().
4059 2003-10-14 André Pönitz <poenitz@gmx.net>
4061 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4063 * undo.[Ch]: restoring part of 'undo in insets'
4066 * undo_funcs.[Ch]: merge with undo.[Ch]
4068 * tabular.C: small cleansing stuff
4070 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4072 * paragraph_funcs.C (readParToken): report unknown insets as error
4073 boxes. Use the outer paragraph as location (also for unknown
4076 * factory.C (readInset): do not abort on reading an unknown inset.
4077 Eat it and return 0.
4079 2003-10-13 Angus Leeming <leeming@lyx.org>
4081 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4083 * lyxrc.C: displayTranslator is now a function,
4084 declared in GraphicsTypes.h.
4086 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4088 * format.C: new placeholder $$a to pass the socket address.
4090 * bufferlist.[Ch]: new function getBufferFromTmp.
4092 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4093 files in the temporary dir.
4095 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4097 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4099 * Makefile.am: add lyxsocket.[Ch].
4101 * lyx_main.C (error_handler): handle SIGPIPE.
4103 2003-10-13 André Pönitz <poenitz@gmx.net>
4105 * BufferView_pimpl.C:
4110 * undo_funcs.[Ch]: use paroffset_type instead of
4111 ParagraphList::iterators to prevent multiple conversion
4112 (and get a more robust interface)
4114 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4118 * text3.C (dispatch): ditto
4120 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4122 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4123 move the onlyfile, use onlyfile instead of foundfile in a couple
4126 * DepTable.C (update): flush the error stream a bit more
4128 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * lyxserver.C (callback): adjust
4132 * lyxfunc.C (getStatus): add a missing brace in commented code
4133 (ensureBufferClean): reindent
4134 (dispatch): delete version taking a string
4136 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * LaTeX.C (deplog): move found file handlig from here...
4139 (handleFoundFile): .. to new function here.
4140 (deplog): make sure to discover several files mentioned on the
4143 2003-10-10 André Pönitz <poenitz@gmx.net>
4150 * text3.C: fix some of the tabular crashes
4152 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4154 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4156 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4158 2003-10-09 André Pönitz <poenitz@gmx.net>
4160 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4163 * BufferView_pimpl.C:
4164 * bufferview_funcs.C:
4175 * undo_funcs.C: adjust
4177 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * text2.C (incrementItemDepth): new function, use a backtracking
4180 algorithm to discover the correct item depth.
4181 (resetEnumCounterIfNeeded): new function, use a backtracking
4182 algorithm to discover if counter reset is needed.
4183 (setCounter): use them. Simplify a bit. Add different labels for
4184 different item depths for itemize.
4186 * paragraph.C (Paragraph): remove initialization of enumdepth
4189 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4190 enumerate and itemize. Change the type of itemdepth to signed char.
4192 2003-10-08 André Pönitz <poenitz@gmx.net>
4194 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4199 * tabular.[Ch]: fix crash after 'row-insert'
4201 2003-10-08 Angus Leeming <leeming@lyx.org>
4203 Fix doxygen warnings.
4205 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4206 Remove CutAndPaste:: prefix from header file declaration.
4208 * LColor.h (fill): remove LColor:: prefix from declaration.
4210 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4211 use lyx::depth_type rather than Paragraph::depth_type so that
4212 header file and .C file match.
4214 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4216 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4217 * aspell.C: \file aspell_local.C -> \file aspell.C
4218 * gettext.C: \file gettext.C -> \file src/gettext.C
4219 * gettext.h: \file gettext.h -> \file src/gettext.h
4220 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4221 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4222 * text.C: \file text.C -> \file src/text.C
4224 * toc.C: move comment so that doxygen is not confused.
4226 2003-10-07 Angus Leeming <leeming@lyx.org>
4228 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4230 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4233 * aspell_local.h: add forgotten std::string's.
4235 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4242 * text3.C: The Box patch. Fancybox support, minipage, parbox
4244 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4250 * ParagraphParameters.h:
4260 * lyxtextclasslist.h:
4263 * paragraph_pimpl.C:
4264 * textcursor.h: add <string> and other small fixes to make Lars'
4265 std::string patch compile with STLport.
4267 2003-10-06 Angus Leeming <leeming@lyx.org>
4269 * LColor.h: Add missing #include <string>.
4271 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * All most all file in all subdirs: Make <string> be the prefered
4274 way of getting to std::string, add using declarations.
4276 2003-10-06 André Pönitz <poenitz@gmx.net>
4278 * metricsinfo.C: initialize LyXFont before changing attribute.
4279 (fixes the 'math in \emph is upright' bug)
4281 2003-10-06 André Pönitz <poenitz@gmx.net>
4283 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4285 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4288 * paragraph_pimpl.C: Small fixes to build using STLport
4290 2003-10-02 André Pönitz <poenitz@gmx.net>
4293 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4295 2003-10-01 André Pönitz <poenitz@gmx.net>
4297 * factory.C: assert early
4299 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * lyx_main.C: remove the global debug object
4303 * debug.h: adjust for new debugstream
4305 * debug.C: adjust for new debugstream and keep the global debug
4308 2003-09-22 Angus Leeming <leeming@lyx.org>
4310 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4311 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4312 an incomplete class LyXFont.
4314 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4316 * factory.C: bug fix in branches
4318 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * lyxfunc.C (processKeySym): adjust
4322 (dispatch): change arg name from ev to func, adjust
4323 (sendDispatchMessage): ditto
4325 * lyx_main.C (defaultKeyBindings): adjust keybindings
4326 (deadKeyBindings): ditto
4328 * kbsequence.C (addkey): return a FuncRequest
4330 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4332 * kbmap.C (bind): take a FuncRequest as arg, adjust
4335 (defkey): change to take a FuncRequest as arg, adjust
4336 (findbinding): take a FuncRequest as arg, adjust.
4338 * funcrequest.h (operator=): added
4340 * funcrequest.C (FuncRequest): default kb_action changed from
4341 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4343 * buffer.C (dispatch): simplify
4344 (dispatch): adjust to take a FuncRequest as arg, adjust
4346 * boost.C (assertion_failed): change assertion message slightly
4348 * ToolbarBackend.C (read): simplify
4350 * MenuBackend.C (binding): adjust call to findbinding, add a
4351 message if no binding is found.
4353 (expandToc): correct by adding a empty FuncRequest
4355 * LyXAction.C: include <boost/assert.hpp>
4356 (isPseudoAction): delete function
4357 (LookupFunc): change name to...
4358 (lookupFunc): this. change return type to FuncRequest.
4359 (getActionName): take kb_action as arg, simplify
4360 (funcHasFlag): add an assert, simplify.
4362 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * toc.C (action): return a FuncRequest, simplify
4366 * lyxfunc.C (processKeySym): adjust
4367 (getStatus): delete version that takes an int.
4369 (dispatch): delete version that takes action as int
4371 (sendDispatchMessage): simplify and adjust
4373 * funcrequest.C (getArg): take unsigned int as arg
4375 * ToolbarBackend.C (read): adjust
4376 (add): delete version that takes func as a string.
4377 (getIton): take a FuncRequest as arg
4379 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4382 * MenuBackend.C (MenuItem): add a new construct that only takes a
4383 Kind, simplify the constructor use for submenus.
4385 (expandLastfiles): adjust
4386 (expandDocuments): adjust
4387 (expandFormats): adjust
4388 (expandFloatListInsert): adjust
4389 (expandFloatInsert): adjust
4390 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4392 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4393 Remove class variables lyx_pseudo_map and lyx_arg_map
4395 * LyXAction.C (searchActionArg): delete function
4396 (getPseudoAction): delete function
4397 (retrieveActionArg): delete function
4398 (LookupFunc): make it return kb_action, simplify.
4399 (getActionName): simplify
4401 * factory.C (createInset): fix new bug
4403 2003-09-19 Angus Leeming <leeming@lyx.org>
4405 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4406 masterFilename_ parameter in the include inset.
4408 * factory.C (createInset): changes due to the changes to InsetInclude.
4410 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4412 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4414 2003-09-18 Angus Leeming <leeming@lyx.org>
4417 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4418 Inset::fillWithBibKeys.
4419 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4421 2003-09-18 Angus Leeming <leeming@lyx.org>
4423 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4425 (ctor): pass and store a 'Buffer const &'
4426 (buffer): new member function.
4428 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4429 '*this' to the LaTeXFeatures ctor.
4431 2003-09-18 Angus Leeming <leeming@lyx.org>
4437 * text.C: rename EnumLColor as LColor_color.
4439 2003-09-18 Angus Leeming <leeming@lyx.org>
4441 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4442 remove #include "insets/insetbase.h" from cursor.h.
4444 2003-09-18 Angus Leeming <leeming@lyx.org>
4446 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4447 InsetOld_code to remove #include "inset.h".
4449 * iterators.C: add #include "insets/inset.h"
4451 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4453 * BufferView.C: remove more locking stuff that apparently doesn't
4454 do anything sensible.
4456 2003-09-16 André Pönitz <poenitz@gmx.net>
4459 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4462 2003-09-16 Angus Leeming <leeming@lyx.org>
4464 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4466 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4469 * paragraph.h: remove #include "lyxfont.h". Forward declare
4472 2003-09-16 Angus Leeming <leeming@lyx.org>
4474 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4475 of support/textutils.h.
4476 (isWord): move the contents of support/textutils.h's IsWordChar here.
4482 * text2.C: add #include "paragraph.h".
4485 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4487 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * LaTeX.C: use namespace alias for lyx::support::os
4495 2003-09-16 Angus Leeming <leeming@lyx.org>
4498 * bufferview_funcs.C:
4501 * paragraph_pimpl.C:
4503 * text.C: add #include "LColor.h".
4505 2003-09-16 Angus Leeming <leeming@lyx.org>
4507 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4508 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4510 Store the FontBits::color variable as an int rather than as an
4511 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4514 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4515 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4516 string calls together.
4518 * lyxrc.C: add #include "LColor.h".
4520 2003-09-15 Angus Leeming <leeming@lyx.org>
4522 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4525 2003-09-15 Angus Leeming <leeming@lyx.org>
4527 * LColor.h: add an EnumLColor wrapper for LColor::color.
4529 * lyxfont.[Ch] (color, setColor, realColor):
4530 * lyxtext.h, text.C (backgroundColor):
4531 pass EnumLColor args to/from the functions, rather than LColor::color
4535 * lyxtext.h: forward declare EnumLColor.
4537 * lyx_main.C: add #include "LColor.h".
4539 2003-09-15 Angus Leeming <leeming@lyx.org>
4541 * .cvsignore: add lyx-gtk.
4543 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * ParagraphParameters.C
4552 * bufferview_funcs.C
4562 * vc-backend.C: remove usage of STRCONV
4564 2003-09-15 Angus Leeming <leeming@lyx.org>
4566 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4567 explicitly define the color passed to the painter.
4569 2003-09-15 Angus Leeming <leeming@lyx.org>
4571 * bufferparams.C (BufferParams): reorder member initializers to avoid
4574 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4576 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4577 * text.C (updateRowPositions): remove an unusual nop
4579 2003-09-12 André Pönitz <poenitz@gmx.net>
4581 * BufferView_pimpl.C:
4590 * Counters.[Ch]: finish the 'automatic counters' job
4592 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4594 * aspell.C: include <boost/assert.cpp> (compile fix)
4596 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4598 * boost.C (assertion_failed): use lyx::support::abort instead of
4601 2003-09-10 Angus Leeming <leeming@lyx.org>
4603 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4604 with their _fwd progeny.
4606 2003-09-09 Angus Leeming <leeming@lyx.org>
4608 134 files throughtout the source tree: replace 'using namespace abc;'
4609 directives with the appropriate 'using abc::xyz;' declarations.
4611 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4613 * boost.C (emergencyCleanup): moved here from LAssert.c
4614 (assertion_failed): new function, called by BOOST_ASSERT
4616 * several files: change Assert to BOOST_ASSERT
4618 2003-09-09 Angus Leeming <leeming@lyx.org>
4620 * buffer.[Ch]: Add an Impl class and move Buffer's member
4621 variables into it. As a result move several header files out of
4624 Add header files to lots of .C files all over the tree as a result.
4626 2003-09-09 Angus Leeming <leeming@lyx.org>
4628 * buffer.[Ch]: make Buffer's member variables private. Add
4631 Lots of changes all over the tree as a result.
4633 2003-09-08 Angus Leeming <leeming@lyx.org>
4635 * graph.C: #include <config.h>.
4637 2003-09-08 Angus Leeming <leeming@lyx.org>
4641 * BufferView_pimpl.C:
4670 * toc.C: remove redundant using directives.
4672 2003-09-07 Angus Leeming <leeming@lyx.org>
4674 * LaTeXFeatures.h: remove #include "support/types.h".
4675 * ToolbarBackend.h: remove #include <algorithm>.
4676 * changes.h: remove #include <ctime>.
4677 * debug.h: remove #include <iosfwd>.
4678 * graph.h: remove #include "support/std_string.h".
4679 * lyx_main.h: remove #include <csignal>.
4680 * lyxlex_pimpl.h: remove #include <fstream>.
4681 * sgml.h: remove #include <algorithm>, <utility>.
4682 * toc.h: remove #include "support/std_ostream.h".
4683 Add #include <iosfwd>.
4685 2003-09-07 Angus Leeming <leeming@lyx.org>
4687 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4689 * converter.h: forward declare LatexRunParams.
4690 * encoding.h: remove #include "lyxrc.h".
4691 * lyxtext.h: remove #include "LColor.h".
4692 * lyxtextclass.h: remove #include "support/types.h".
4693 * trans.h: remove #include "tex-accent.h".
4694 * trans_mgr.h: remove #include "tex-accent.h".
4695 * insets/inset.h: remove #include "support/types.h", <vector>.
4696 * insets/insetcollapsable.h: remove #include "LColor.h".
4697 * insets/insetinclude.h: remove #include "dimension.h".
4698 * insets/insetlatexaccent.h: remove #include "dimension.h".
4699 * insets/insetoptarg.h:: remove #include "insettext.h".
4700 * insets/insettext.h: remove #include "dimension.h",
4701 <boost/shared_ptr.hpp>
4703 * insets/renderers.h: add #include "dimension.h".
4704 * insets/updatableinset.h: add #include "support/types.h".
4706 * many .C files: Associated changes.
4708 2003-09-06 Angus Leeming <leeming@lyx.org>
4710 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4711 one, inside testInvariant.
4713 * PrinterParams.C: new file.
4714 * PrinterParams.[Ch]: move the function bodies out of line.
4716 2003-09-06 Angus Leeming <leeming@lyx.org>
4718 * ParagraphParameters.h: forward declare ParameterStruct rather than
4719 including its header file.
4720 (depth): moved out-of-line.
4722 2003-09-06 Angus Leeming <leeming@lyx.org>
4724 * BufferView_pimpl.h:
4727 * lyxfunc.h: forward declare LyXKeySym rather than
4728 #include "frontends/LyXKeySym.h".
4730 * BufferView_pimpl.C:
4733 * lyxfunc.C: associated changes.
4735 2003-09-06 Angus Leeming <leeming@lyx.org>
4737 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4738 As a result, can remove the #include "insets/inset.h" from BufferView.h
4740 2003-09-06 Angus Leeming <leeming@lyx.org>
4742 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4743 As a result, can remove the #include "insets/inset.h" from BufferView.h
4745 2003-09-06 Angus Leeming <leeming@lyx.org>
4751 * bufferview_funcs.C:
4752 * BufferView_pimpl.C:
4757 * ParagraphParameters.C:
4762 * frontends/controllers/ControlDocument.C:
4763 * insets/insetcaption.C: rearrange the #includes into some sort of
4766 * buffer.h: remove #includes ErrorList.h, undo.h
4768 2003-09-06 Angus Leeming <leeming@lyx.org>
4770 * support/types.h: add a 'depth_type' typedef, used to store the
4771 nesting depth of a paragraph.
4774 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4775 defining explicitly.
4778 * paragraph_funcs.h:
4779 * ParagraphParameters.h:
4780 * sgml.h: use lyx::depth_type rather than Paragraph or
4781 ParameterStruct's depth_type.
4784 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4787 * BufferView_pimpl.C:
4789 * ParagraphParameters.C:
4792 * bufferview_funcs.C:
4799 * frontends/LyXView.C:
4800 * frontends/controllers/ControlDocument.C:
4801 * frontends/controllers/ControlErrorList.C:
4802 * insets/insetbibitem.C:
4803 * insets/insetbranch.C:
4804 * insets/insetcaption.C:
4805 * insets/insetcollapsable.C:
4806 * insets/insetenv.C:
4807 * insets/insetert.C:
4808 * insets/insetfloat.C:
4809 * insets/insetfoot.C:
4810 * insets/insetfootlike.C:
4811 * insets/insetnewline.C:
4812 * insets/insetquotes.C:
4813 * insets/insettabular.C:
4814 * insets/insettext.C:
4815 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4817 * frontends/controllers/ControlChanges.C: #include "changes.h".
4819 2003-09-06 Angus Leeming <leeming@lyx.org>
4821 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4822 than #including paragraph.h.
4825 * RowList.h: deleted. Superfluous.
4835 * insets/insettext.h: use ParagraphList_fwd.h rather than
4838 * paragraph.h: don't forward declare ParagraphList.
4841 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4842 rather than ParagraphList.h. paragraph.h is still needed for the
4843 Paragraph::depth_type parameters.
4845 * textcursor.h: enable it to compile stand-alone in light of the
4848 * bufferview_funcs.C:
4860 * frontends/controllers/ControlParagraph.C:
4861 * frontends/controllers/ControlTabular.C:
4862 * insets/insetmarginal.C:
4863 * insets/insetminipage.C:
4864 * insets/insetnote.C:
4865 * insets/insetoptarg.C: add header files needed to compile again.
4867 2003-09-06 Angus Leeming <leeming@lyx.org>
4869 * RowList_fwd.h: new file, forward-declaring Row rather than
4870 #including lyxrow.h.
4875 * insets/insettext.h: use it instead of RowList.h
4877 * bufferview_funcs.C:
4884 * text3.C: #include "RowList.h".
4886 2003-09-05 Angus Leeming <leeming@lyx.org>
4888 * factory.C (createInset):
4889 * vspace.C (c-tor): replace sscanf call with an istringstream.
4890 * ispell.C: re-add missing HP/UX headers.
4891 * lyxserver.C: re-add missing os2 headers.
4893 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4902 * text3.C: re-add missing system headers, needed for 2.95.2.
4904 2003-09-05 Angus Leeming <leeming@lyx.org>
4906 Changes most place everywhere due to the removal of using directives
4907 from support/std_sstream.h.
4909 2003-09-05 Angus Leeming <leeming@lyx.org>
4911 Replace LString.h with support/std_string.h,
4912 Lsstream.h with support/std_sstream.h,
4913 support/LIstream.h with support/std_istream.h,
4914 support/LOstream.h with support/std_ostream.h.
4916 Changes resulting throughout the tree.
4918 2003-09-05 Angus Leeming <leeming@lyx.org>
4920 * sgml.h: ensure that the header file can be compiled stand-alone.
4921 * *.C: strip out redundant #includes. (320 in total.)
4923 2003-09-04 Angus Leeming <leeming@lyx.org>
4925 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4926 here (from getPackages).
4928 * debug.[Ch]: add a new EXTERNAL tag.
4930 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4932 * text2.C (cursorEnd): simplify
4934 (getColumnNearX): adjust
4936 * text.C (computeBidiTables): adjust
4939 * rowpainter.C (paintChars): adjust
4940 (paintSelection): adjust
4941 (paintChangeBar): adjust
4944 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4946 (numberOfSeparators): adjust
4948 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4954 * text3.C: Restricts the mouse click functionality
4955 of insets like bibtex, include, toc and floatlist to the visible
4956 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4957 up the dialogs. Cursor has to be in front of the inset (i.e.
4958 start of row) for this to function.
4960 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4962 * bufferview_funcs.C (currentState): output row information
4964 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4966 * bufferview_funcs.C (currentState): output paragraph position
4968 2003-09-04 Angus Leeming <leeming@lyx.org>
4970 * FloatList.h: move out #include "Floating.h".
4971 * LaTeX.h: move out #include "DepTable.h".
4972 * LyXAction.h: move out #include "funcrequest.h".
4973 * buffer.h: move out #include "author.h", "iterators.h".
4974 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4975 * lyx_main.h: move out #include "errorlist.h".
4976 * lyxfunc.h: move out #include "FuncStatus.h".
4977 * lyxtext: move out #include "lyxcursor.h".
4978 * paragraph_pimpl.h: move out #include "counters.h".
4980 2003-09-03 Angus Leeming <leeming@lyx.org>
4982 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4983 preamble_snippets list, enabling us to add snippets to the preamble
4984 only if the snippet was not there already.
4986 2003-09-04 Angus Leeming <leeming@lyx.org>
4988 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4990 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4995 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4997 * BranchList.C: point fix, earlier forgotten
4999 2003-09-02 Angus Leeming <leeming@lyx.org>
5001 * box.C (contains): renamed from 'contained' after a fantastic
5004 2003-09-02 John Levon <levon@movementarian.org>
5010 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5012 2003-09-02 John Levon <levon@movementarian.org>
5014 * text2.C: simplification of cursorEnd(), including partial
5017 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * buffer.C (readFile): add a space
5021 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5023 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5025 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5027 * buffer.C (readFile): new function, take a filename and a
5028 ParagraphList::iterator
5030 (readFile): adjust, make it private. don't use setStream, make
5031 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5032 always contain the filename.
5034 * BufferView.C (insertLyXFile): simplify and make it work for
5037 2003-08-30 John Levon <levon@movementarian.org>
5039 * Makefile.am: fix dist (from Kayvan)
5041 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5043 * most files: change to use const Buffer refs
5045 2003-08-27 André Pönitz <poenitz@gmx.net>
5047 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5048 on top of ownerPar().
5050 2003-08-27 John Levon <levon@movementarian.org>
5052 * funcrequest.C: properly initialise POD members
5054 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5056 * lyxtext.h (top_y): move top_y from here
5061 * BufferView_pimpl.[Ch]: to here
5062 * frontends/screen.C:
5063 * insets/insettabular.C:
5064 * insets/insettext.C: adjust
5065 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5067 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5070 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5072 2003-08-26 André Pönitz <poenitz@gmx.net>
5074 * paragraph_func.[Ch] (outerPar): new function
5077 * paragraph_funcs.C:
5078 * paragraph_funcs.h:
5079 * paragraph_pimpl.C:
5080 * text2.C: remove Inset::par_owner
5082 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5087 * text2.C: eliminates the needFullRow/display() stuff
5088 altogether, putting the logic in metrics/draw in the insets.
5090 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5092 * text2.C (redoParagraphInternal, redoParagraphs):
5093 * text.C (redoParagraph): add a call to updateRowPositions at the
5094 end of each 'metrics-like' call. Remove all others.
5095 (getRow): remove the 'y-computing' version.
5096 (getRowNearY): do not compute nor return the real y. Solve the
5097 'y < 0' problem and simplify.
5099 2003-08-22 Angus Leeming <leeming@lyx.org>
5101 * *.[Ch]: clean-up of licence and author blurbs.
5102 Also move config.h out of a few .h files and into a few .C files.
5104 2003-08-22 André Pönitz <poenitz@gmx.net>
5106 * lyxrow.[Ch]: add x_ and *fill_ members
5111 * text2.C: adjust/remove prepareToPrint() calls
5113 2003-08-22 André Pönitz <poenitz@gmx.net>
5115 * lyxrow.[Ch]: add end_ member
5117 * lyxrow_funcs.C: use LyXRow::end_
5119 * lyxtext.h (singleWidth): add LyXFont parameter
5122 * text2.C: adjust LyXText::singleWidth() calls
5124 * text.C (redoParagraph): simplify row breaking logic
5127 2003-08-19 André Pönitz <poenitz@gmx.net>
5129 * funcrequest.C: initialize button_ member
5132 * rowpainter.[Ch]: interface consolidation
5134 2003-08-18 André Pönitz <poenitz@gmx.net>
5137 * BufferView_pimpl.C:
5139 * paragraph_funcs.C:
5141 * text3.C: remove LyXScreen::draw() and fitCursor calls
5143 * BranchList.h: remove spurious semicolons
5145 * MenuBackend.C: fix branchlist related crash
5147 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5155 * bufferparams.[Ch]:
5159 * text3.C: implements the 'branch inset'
5160 idea. This allows the output of various versions of a document
5161 from a single source version, selectively outputing or suppressing
5162 output of parts of the text.
5163 This implementation contains a 'branch list editor' in a separate
5164 tab of the document settings dialog. Branches are user definable
5165 and have a "display colour" to distinguish them on-screen.
5167 ColorHandler was somewhat cleaned up.
5168 (1) make possible a dynamically growing LColor list by allowing
5169 the graphic context cache to grow along (vector);
5170 (2) eliminate an IMHO unnecessary step in colour allocation.
5172 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5174 * BufferView_pimpl.C: compile fix
5176 2003-08-15 André Pönitz <poenitz@gmx.net>
5178 * rowpainter.C: remove extra metrics calls
5180 * lyxtext.h: merge the two constructors into a single one,
5181 pass reference to owner's par list
5183 * BufferView_pimpl.C:
5187 2003-08-15 André Pönitz <poenitz@gmx.net>
5189 * lyxrow_funcs.[Ch]:
5192 * paragraph_funcs.C:
5197 * text_funcs.C: split LyXText::rowlist_ into individual
5198 Paragraph::rows_ chunks
5201 * BufferView_pimpl.[Ch]:
5204 * text3.C: remove toggleSelection()
5206 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5208 * bufferlist.C: beautify two alerts (shorter text of buttons)
5209 * buffer.C: Remove redundant ' ' from message
5211 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5212 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5213 rename VALIGN_CENTER to VALIGN_MIDDLE
5215 2003-08-11 André Pönitz <poenitz@gmx.net>
5217 * lyxtext.h (getPar):
5218 * text.C: new function
5220 2003-08-11 André Pönitz <poenitz@gmx.net>
5223 * tracer.[Ch]: remove unneeded files
5225 * InsetList.[Ch]: remove resizeInsetsLyXText()
5230 * text3.C: merge insertParagraphs() and appendParagraph()
5231 remove breakAgain(), update()
5233 * BufferView_pimpl.[Ch]:
5234 * bufferview_funcs.[Ch]:
5238 * tabular.C: adjust after text & InsetList changes.
5240 2003-08-08 André Pönitz <poenitz@gmx.net>
5242 * text.C (insertChar, backspace): replace rowlist fiddling
5243 with rebreak of full par
5246 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5247 checkParagraph, updateInset): removed
5249 2003-08-07 André Pönitz <poenitz@gmx.net>
5252 * text3.C: merge some LFUN handlers, remove dead code
5254 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5256 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5258 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5260 * text2.C (DEPM): fix part of bug 1255 and 1256
5262 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5264 * BufferView_pimpl.C (workAreaDispatch): change to use
5265 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5266 that are no mouse related.
5268 2003-08-05 André Pönitz <poenitz@gmx.net>
5271 * BufferView_pimpl.[Ch]:
5272 * bufferview_funcs.C:
5274 * text3.C: rip out "deep update"
5276 * textcursor.[Ch] (last_sel_cursor): remove unused member
5278 2003-08-04 André Pönitz <poenitz@gmx.net>
5281 * BufferView_pimpl.[Ch]:
5282 * ParagraphParameters.C:
5283 * bufferview_funcs.C:
5289 * text3.C: replace "complicated" BufferView::update(...) calls with
5292 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5294 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5296 * Makefile.am (lyx_SOURCES): add paper.h
5298 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5300 * Makefile.am: move things around so that both lyx-qt and
5301 lyx-xforms can be built (according to --with-frontend). Then lyx
5302 is a symbolic link to lyx-[firstfrontend]
5304 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5306 * Always use std::endl with lyxerr
5308 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5310 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5312 2003-08-01 André Pönitz <poenitz@gmx.net>
5315 * BufferView_pimpl.[Ch]:
5317 * text3.C: merge BufferView::repaint() and BufferView::update()
5319 2003-08-01 José Matos <jamatos@lyx.org>
5321 * buffer.[Ch]: file_format is no longer a buffer data element.
5323 2003-08-01 André Pönitz <poenitz@gmx.net>
5328 * text2.C: make redoParagraph more independent of current cursor
5330 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5332 * text2.C: remove unneeded members
5334 2003-07-30 André Pönitz <poenitz@gmx.net>
5336 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5338 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5339 create a single function...
5341 * paragraph_funcs.C (moveItem): ... here.
5344 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5346 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5348 * LColor.[Ch]: Add comment and greyedout logical colors.
5350 2003-07-30 André Pönitz <poenitz@gmx.net>
5352 * tabular.C: don't use Assert too heavily. This crashes where it
5355 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5357 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5358 is disabled (bug 1232)
5360 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5362 * factory.C: limited 'arg' scope
5364 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5366 * factory.C: fixed Note submenu issues
5368 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5370 * factory.C: submenu for Note/Comment/Greyedout
5372 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5375 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5377 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5380 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5381 greyedout. Patch provided by Jürgen Spitzmüller.
5383 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5385 * kbmap.C (read): fix error message when reading bind files
5387 2003-07-29 Angus Leeming <leeming@lyx.org>
5389 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5390 certainly does not do what it purports to do. I am doing it, and
5391 us, a favour by killing it.
5393 2003-07-28 José Matos <jamatos@lyx.org>
5395 * buffer.C (readBody, do_writeFile):
5396 * paragraph.C(readParagraph): \end_document replaces \the_end.
5398 2003-07-29 André Pönitz <poenitz@gmx.net>
5401 * BufferView_pimpl.[Ch]:
5405 * textcursor.[Ch]: remove toggleToggle & Co
5407 2003-07-28 José Matos <jamatos@fep.up.pt>
5409 * buffer.C (readParagraph):
5410 * params_func (readParToken, readParagraph):
5411 * paragraph.C (write): \layout -> \begin_layout.
5413 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * lyxlex_pimpl.C (setFile): clean up slightly.
5417 * bufferparams.h: add compressed var
5419 * buffer_funcs.C (readFile): adjust for LyXLex change
5420 (newFile): ditto + simplify
5422 * buffer.C (writeFile): handle writing of compressed files
5424 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5425 Check if the file is compressed and set a bufferparm if so.
5427 * Makefile.am (lyx_LDADD): remove explicit -lz
5429 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5431 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5432 makeDocBookFile): put the real LyX version in the first line of
5436 * version.C.in: remove lyx_docversion
5438 * tabular.C (write_attribute): add a template-based version to
5439 write enums properly
5441 2003-07-28 André Pönitz <poenitz@gmx.net>
5446 * text3.C: use doubles again for x-coordinates. They are needed.
5448 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * messages.C (getLocaleDir): use lyx_localedir()
5452 * lyxlex_pimpl.C (setFile): compress stuff
5454 * buffer.C (writeFile): add some compression stuff
5455 (do_writeFile): new func, dont call expliti close... will this
5458 * Makefile.am (lyx_LDADD): add -lz
5460 2003-07-28 José Matos <jamatos@fep.up.pt>
5462 * buffer.C: increment file format.
5463 * paragraph_funcs (readParagraph, readParToken):
5464 * paragraph.C (readParagraph): add \end_layout.
5466 2003-07-27 Angus Leeming <leeming@lyx.org>
5468 * Makefile.am: remove special casing for configure-time setting of
5469 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5471 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5472 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5474 2003-07-26 André Pönitz <poenitz@gmx.net>
5476 * paragraph_func.[Ch]:
5477 * paragraph.C (realizeFont): inline it whereever it is used
5482 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5485 2003-07-26 André Pönitz <poenitz@gmx.net>
5489 * text2.C: get rid of LyXText::need_break_row
5491 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * toc.[Ch]: put namespace toc inside namespace lyx
5495 * MenuBackend.C (expandToc2): adjust for lyx::toc
5498 * lyxfunc.C (dispatch): adjust for lyx::find
5500 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5501 lyx::find instead. Reorganize a bit.
5502 (LyXReplace): rename to replace
5503 (LyXFind): rename to find
5505 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5508 2003-07-26 André Pönitz <poenitz@gmx.net>
5510 * text.C (setHeightOfRow): restrict scope of temporary variable
5512 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5513 code (never has been used?)
5515 2003-07-27 Asger Alstrup <alstrup@local>
5517 * text.C (fill): Optimise algorithm to exploit that we can reuse
5518 the LyXFont for many characters.
5519 (setHeightOfRow): Same thing.
5520 (rowBreakPoint): Same thing.
5522 2003-07-26 Asger Alstrup <alstrup@local>
5524 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5526 * text.C (singleWidth): Spurious font copying in hot-spot
5527 singleWidth avoided. Reorder tests for arabic for efficiency.
5529 * text.C (fill): handle empty paragraphs better.
5531 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5534 * encoding.h: add includes
5536 * lyxrc.C: remove reading of bind files
5538 * lyx_main.C (init): setup bindings and menus only if we have a
5541 * kbmap.C (read): new method. Do the actual reading of bind
5544 * converter.C (dvipdfm_options):
5547 (output): adapt PAPER_* enums.
5549 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5551 * bufferparams.h: remove paper-related enums from there
5553 * paper.h: New file. A trivial header file to hold paper-related
5554 enums. It should later expand to contain many paper-related
5557 * lyxrc.C: declare extern displayTranslator
5559 2003-07-27 José Matos <jamatos@fep.up.pt>
5561 * tabular.[Ch] (linuxdoc): add support for tables and figures
5564 2003-07-27 José Matos <jamatos@fep.up.pt>
5566 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5567 consistency in both functions.
5568 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5570 2003-07-26 Asger Alstrup <alstrup@local>
5572 * rowpainter.C (paintRows): Change algorithm to work directly on
5573 the insets rather than asking every character in the document
5574 whether its an inset.
5576 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5578 * buffer.C (openFileWrite): factorize some code
5580 2003-07-26 Angus Leeming <leeming@lyx.org>
5583 * lyx_main.[Ch]: replace occurances of system_tempdir with
5586 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5588 * rename Inset to InsetOld
5590 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5592 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5593 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5594 which I think is a bit clearer. EDIT is gone, since it was
5595 premature optimisation, and broken for mathed anyway.
5596 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5597 with cursor positioning in insets as well (math insets still do not
5598 work, but that's a different story anyway.) It mysteriously
5599 crashes sometimes with undo in the first paragraph, but I'm fairly
5600 confident that this is a compiler bug.
5602 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * paragraph.C (Paragraph): adjust for new clone return type
5606 (copyIntoMinibuffer): ditto
5608 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5610 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5611 by not having a special case, and always doing a full rebreak of
5612 the document after undo.
5614 2003-07-23 Angus Leeming <leeming@lyx.org>
5616 * factory.C (createInset): InsetExternal::setParams now takes a
5619 2003-07-23 Angus Leeming <leeming@lyx.org>
5621 * factory.C (createInset): changed interface to the external and
5622 graphics mailers' string2params functions.
5624 2003-07-23 Angus Leeming <leeming@lyx.org>
5626 * factory.C (createInset): pass a
5627 Buffer const * parameter to InsetExternalMailer's string2params.
5629 2003-07-22 John Levon <levon@movementarian.org>
5631 * Thesaurus.h: include the right aiksaurus header
5633 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5635 * MenuBackend.C (expand): check menu shortcuts unconditionally
5637 2003-07-21 Angus Leeming <leeming@lyx.org>
5639 * factory.C (createInset): pass a
5640 buffer_path parameter to InsetGraphicsMailer's string2params.
5642 2003-07-21 Angus Leeming <leeming@lyx.org>
5644 * BufferView_pimpl.C (buffer):
5647 * lyxfunc.C (dispatch):
5648 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5649 rather than the grfx shortcut.
5651 2003-07-21 André Pönitz <poenitz@gmx.net>
5653 * rowpainter.C: remove unused variables
5656 * tabular_funcs.h: move to tabular.C
5657 * Makefile.am: adjust
5659 * tabular.[Ch]: basic optical cleaning
5661 * author.h: pass references, not values
5663 2003-07-18 André Pönitz <poenitz@gmx.net>
5671 * text3.C: two-phase drawing for InsetText and InsetTabular
5672 some float -> int changes.
5674 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5676 * lyx_main.C: fix the fix
5678 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5680 * lyx_main.C: fix a crash in batch mode if no files specified
5683 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5685 * format.[Ch] (papersize): moved to BufferParams
5686 * converter.[Ch] (dvips_options): moved to BufferParams
5687 (dvipdfm_options): moved to anon namespace
5688 * bufferparams.[Ch]: added above functions.
5690 2003-07-17 André Pönitz <poenitz@gmx.net>
5694 * text2.C: don't call inset->update() anymore
5696 * metricsinfo.[Ch]: add convenience constructor
5698 2003-07-16 André Pönitz <poenitz@gmx.net>
5703 * text2.C: replace the LyXCursor::irow_ member with
5704 on-demand computation of the value
5706 2003-07-16 John Levon <levon@movementarian.org>
5708 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5710 2003-07-15 André Pönitz <poenitz@gmx.net>
5713 * text2.C: remove no more needed refresh_row
5715 2003-07-15 André Pönitz <poenitz@gmx.net>
5720 * text3.C: refresh_status tristate -> need_update bool
5722 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5724 * lyxtext.h (init): remove reinit argument (act as if always true)
5725 * text2.C: adjust to that
5727 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5729 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5730 * text3.C: use it to delete selections in some cases
5731 (bugs 441, 673, 702, 954).
5733 2003-07-14 André Pönitz <poenitz@gmx.net>
5735 * rowpainter.[Ch]: reduce interface
5737 2003-07-14 André Pönitz <poenitz@gmx.net>
5739 * BufferView_pimpl.C:
5740 * text2.C: adjust after removing unused BufferView * argument
5742 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5744 * text2.C (init): fix a crash fired on resize
5746 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5748 * buffer.[Ch]: added new closing signal
5749 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5750 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5751 BufferView::Pimpl via the closing the signal
5753 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5755 * buffer.[Ch]: take out all bv-related from buffer
5757 * BufferView_pimpl.[Ch]: connect to new signals
5758 * CutAndPaste.C: removed useless asserts
5759 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5762 * lyxfunc.C: moved view-related funciontality from vc here
5763 * paragraph.C: removed outdated comments
5766 2003-07-10 André Pönitz <poenitz@gmx.net>
5768 * BufferView_pimpl.C:
5772 * text2.C: remove InsetText::InnerCache, clean up consequences
5774 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5776 * ispell.C: fix two typos in error messages
5778 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5780 * Extend Note inset to other forms of annotation like Comment
5781 and Greyedout. Right button click gives dialog.
5783 Files modified or added (+):
5787 * ControlNote.[Ch] +
5789 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5790 frontends/controllers
5794 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5796 * aspell.C: add missing namespace lyx::support
5798 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5800 * BufferView.[Ch] (newFile): Add
5801 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5802 * LaTeX.[Ch] (message): added this signal and use it
5803 * buffer.[Ch] (busy, message): added these signals and use them
5804 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5808 * importer.C: use buffer signals instead of direct bv calling
5809 * lyx_cb.[Ch] (ShowMessage): removed
5812 * paragraph_funcs.C:
5813 * text2.C: use buffer signals
5815 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * introduce namespace lyx::graphics
5819 2003-07-02 André Pönitz <poenitz@gmx.net>
5821 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5823 2003-07-01 André Pönitz <poenitz@gmx.net>
5830 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5831 text*.C to text_func.C
5833 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * introduce namespace lyx::support
5837 2003-06-30 André Pönitz <poenitz@gmx.net>
5842 * text.C: re-enable --with-included-string
5844 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * textcursor.C: add <config.h>
5848 * text.C (getWord): remove const from word_location arg
5850 * lyxvc.C (getLogFile): fix const type order
5852 * lyxtext.h: remove const from word_location arg, add arg name
5854 * lyxlayout.h: currect type on labeltype.
5856 * importer.C: correct \file
5858 * converter.C (intToFormat): use std:: on ret val, ws changes
5860 * bufferlist.h: correct \file
5862 * buffer.C (makeLinuxDocFile): fix const type order
5863 (makeDocBookFile): ditto
5864 (fillWithBibKeys): use std:: on stdlib args.
5866 * CutAndPaste.C: fix authors.
5867 (availableSelections): use std:: on return vector
5869 2003-06-27 André Pönitz <poenitz@gmx.net>
5871 * BufferView_pimpl.C:
5872 * bufferview_funcs.C:
5880 * text3.C: remove LyXCursor::row_ member
5883 * text.C: rename fullRebreak() to partialRebreak() and implement
5884 a fullRebreak() that really bereks fully
5886 * textcursor.h: new struct for cursor-related data
5888 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5890 * lyx_main.C (LyX): get full path of document loaded on the
5893 2003-06-26 André Pönitz <poenitz@gmx.net>
5895 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5896 remove unused/broken operator>,<,>=.
5898 * text.C: remove only use of broken operator<= in an Assert().
5900 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5902 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5903 moved errorlist_.clear to showErrorList
5905 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5907 * converter.C (scanLog, runLaTeX):
5908 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5909 move the bv->showErrorList call to the callers
5910 * lyxfunc.C: i.e. here...
5912 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5913 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5914 namespace, the second to...
5915 * buffer_funcs (BufferFormat, parseErrors): added
5916 * errorlist.C (ErrorList(TeXErrors const &)): removed
5918 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5920 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5922 2003-06-24 "Garst R. Reese" <reese@isn.net>
5926 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5928 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5930 * version.C.in: change docversion to 1.4
5932 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5934 * buffer.C: fix a bug just introduced
5936 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5938 * buffer.[Ch]: added the parseError signal and use it, removed
5940 * BufferView.[Ch] (addError): moved to ...
5941 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5942 to the Buffer::parseError signal to catch (guess what) parse errors
5943 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5945 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5947 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5948 ability to create a buffer and to return an existing one from
5949 the list. Moved these functions to...
5950 * buffer_funcs.[Ch]: added
5951 * BufferView.[Ch] (loadLyXFile): added
5952 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5953 job removed from bufferlist::loadLyXFile.
5954 * buffer.C (setReadOnly): make it work without view
5955 (i.e added an if (users))
5957 2003-06-19 Angus Leeming <leeming@lyx.org>
5960 * LyXAction.C (init):
5961 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5962 with LFUN_DIALOG_SHOW <name> <data>.
5964 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5966 * CutAndPaste.C (availableSelections): small compilation fix for
5967 ancient (gcc 2.9x) compilers
5969 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5971 * text3.C (cursorNext): add tmp var
5973 * text2.C (updateCounters): for function calling out of for clause
5974 (replaceSelectionWithString): ditto
5975 (insertStringAsParagraphs): ditto
5976 (getColumnNearX): add tmp var
5977 (setCursorFromCoordinates): add tmp var
5978 (cursorDownParagraph): add tmp var
5979 (deleteEmptyParagraphMechanism): add tmp var
5981 * text.C (insertChar): add tmp var
5983 * rowpainter.C (paintDepthBar): add tmp var
5985 * CutAndPaste.C (availableSelections): potentially check all
5986 paragraphs in a cut to fill the shown strings.
5988 2003-06-18 André Pönitz <poenitz@gmx.net>
5990 * kbmap.[Ch]: use vector<> instead of list<>
5992 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5994 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5995 pasteSelection with index
5997 * text2.C (pasteSelection): modify, call pasteSelection with index
5999 * paragraph.C (asString): reimplement version with no interval to
6000 call the one with interval.
6002 * lyxtext.h: add index arg to pasteSelection
6004 * MenuBackend.C (MenuItem): handle PasteRecent
6005 (Menu::read::Menutags): add md_pasterecent
6007 (expandPasteRecent): new function
6010 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6012 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6014 (availableSelections): new function
6016 2003-06-17 Angus Leeming <leeming@lyx.org>
6018 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6020 2003-06-17 Angus Leeming <leeming@lyx.org>
6023 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6025 * lyxfunc.C (dispatch): invoke it.
6027 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6029 * iterators.C (operator++, ParPosition): reintroduce some
6030 const_cast for the benefit of older compilers.
6032 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6034 * text3.C (dispatch): do not modify clipboard when doing
6035 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6036 LFUN_DELETE_SKIP on a selection selection
6038 2003-06-16 André Pönitz <poenitz@gmx.net>
6044 * tabular.[Ch]: IU of clone() and getLabelList();
6046 2003-06-13 André Pönitz <poenitz@gmx.net>
6048 * tabular.h: compactification
6050 2003-06-12 André Pönitz <poenitz@gmx.net>
6054 * tabular_funcs.h: some renaming plus whitespace
6056 2003-06-12 André Pönitz <poenitz@gmx.net>
6059 * BufferView_pimpl.C:
6065 * toc.C: Return a Paragraph & for ParIterator::operator*()
6067 2003-06-11 John Levon <levon@movementarian.org>
6071 * ToolbarBackend.C: add "Toolbars" section and
6074 2003-06-10 Angus Leeming <leeming@lyx.org>
6077 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6079 * lyxfunc.C (dispatch): invoke it.
6081 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * main.C: protect <ios> with HAVE_IOS
6084 (main): protect sync_with_stdio with HAVE_IOS
6086 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6088 * text2.C (cutSelection): adjust
6089 (pasteSelection): adjust
6091 * messages.C: handle get of empty string
6093 * main.C (main): use sync_with_stdio(false)
6095 * lyxfunc.C (dispatch): adjust
6097 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6098 (WriteAs): remove unneeded BufferView arg.
6100 * bufferparams.h: use correct types on papersize, papersize2 and
6103 * bufferparams.C (readToken): adjust for type
6104 (writeLaTeX): add missing cases to switch.
6106 * bufferlist.C (quitWriteBuffer): adjust
6109 * buffer.C (asciiParagraph): remove some commented code.
6111 * CutAndPaste.C: remove current_view extern variable.
6112 (cutSelection): add BufferParams arg.
6113 (eraseSelection): add BufferParams arg.
6114 (pasteSelection): add Buffer const & arg
6116 2003-06-07 John Levon <levon@movementarian.org>
6119 * paragraph_funcs.C:
6120 * paragraph_pimpl.C:
6124 * paragraph.C: allow InsetERT to freely space lines,
6125 and some consolidation of code
6127 2003-06-06 José Matos <jamatos@fep.up.pt>
6129 * buffer.C (makeDocBookFile): fix bug #821
6131 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6133 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6135 2003-06-04 Angus Leeming <leeming@lyx.org>
6137 * buffer.C: bump format to 224.
6139 2003-06-05 André Pönitz <poenitz@gmx.net>
6141 * text2.C (redoParagraphs): remove two const_cast<>
6143 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6145 * ParagraphList.h: remove last remnants of NO_STD_LIST
6147 2003-06-03 Angus Leeming <leeming@lyx.org>
6149 * factory.C (createInset): small change to the way InsetExternal's params
6152 2003-06-04 André Pönitz <poenitz@gmx.net>
6154 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6156 * paragraph_pimpl.h:
6157 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6159 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6161 * undo_funcs.C: make some simple cases of undo work again
6163 2003-06-03 John Levon <levon@movementarian.org>
6165 * ispell.C: HPUX doesn't have sys/select.h
6168 2003-06-03 John Levon <levon@movementarian.org>
6170 * CutAndPaste.C: update tabular and include inset
6175 * paragraph.C: remove owningBuffer(), don't pass Buffer
6178 * factory.C: insetGraphicsParams changed
6180 2003-06-02 John Levon <levon@movementarian.org>
6186 * text3.C: remove insetparent
6188 2003-06-02 John Levon <levon@movementarian.org>
6191 * buffer.C: fix inset_iterator.end(), move out of line
6194 2003-06-01 John Levon <levon@movementarian.org>
6196 * text3.C: use a proper cut/paste when doing inset
6197 insert (from Jürgen Spitzmüller)
6199 2003-06-01 John Levon <levon@movementarian.org>
6201 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6203 2003-05-30 André Pönitz <poenitz@gmx.net>
6205 * rowpainter.C: unify second drawing phase
6207 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * trans_mgr.C: remove one case of current_view
6211 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6213 * paragraph_funcs.h: remove paragraph.h include
6215 * paragraph.h: delete NO_STD_LIST stuff
6217 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6219 * buffer.h: remove paragraph.h include
6221 * ParagraphList.C: delete file
6223 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6225 * toc.C (getTocList): adjust
6227 * paragraph_pimpl.C (validate): adjust
6229 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6231 * paragraph.C (Paragraph): adjust
6232 (getPositionOfInset): use const_iterator, adjust
6233 (bibitem): use const_iterator, adjust
6234 (setInsetOwner): adjust
6236 * iterators.C (operator++): adjust
6238 * InsetList.[Ch]: Replace selfmade iterator with standard
6239 vector::iterator also introduce const_iterator. Remove getPos,
6240 getInset and setInset from InsetTable. Adjust accordingly.
6242 * BufferView.C (lockInset): adjust
6243 (ChangeInsets): adjust
6245 * tabular.[Ch]: delete commented same_id functions
6247 2003-05-28 John Levon <levon@movementarian.org>
6249 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6251 2003-05-28 André Pönitz <poenitz@gmx.net>
6253 * metricsinfo.[Ch]: remove 'fullredraw' member
6255 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6257 * lyxtextclass.C (operator): remove caching.
6259 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * text2.C (cursorBottom): adjust
6264 (setCounter): use ParagraphList::find, adjust
6266 * text.C (workWidth): use ParagraphList::find, adjust
6268 * lyxcursor.C (LyXCursor): adjust
6270 * buffer.C (inset_iterator): adjust
6272 * ParagraphList.h: make iterator(value_type) private, make
6273 ParagraphList a friend of iterator.
6275 * ParagraphList.C (find): new function
6277 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6279 2003-05-27 André Pönitz <poenitz@gmx.net>
6281 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6283 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6285 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6287 2003-05-26 John Levon <levon@movementarian.org>
6289 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6291 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * remove same_id from function signatures, adjust.
6295 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6297 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6299 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6301 * paragraph.C (Paragraph): get rid of same_ids parameter
6303 * ParagraphList.C (insert): adjust
6306 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * paragraph_funcs.C (breakParagraph): adjust
6309 (breakParagraphConservative): adjust
6311 * buffer.C (readParagraph): adjust
6313 * ParagraphList.C (insert): take a reference instead of a pointer
6316 * paragraph.[Ch] (id): new function
6318 * bufferlist.C (newFile): adjust
6320 * ParagraphList.C (ParagraphList): adjust
6322 (push_back): take a reference instead of a pointer.
6324 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6326 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6329 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6330 set else use old code.
6332 * ParagraphList.C: remove all NO_NEXT code and only compile this
6333 code of NO_STD_LIST is set.
6335 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6337 * BufferView_pimpl.C:
6347 * graphics/GraphicsConverter.C:
6348 * graphics/PreviewLoader.C: header adjustment
6350 2003-05-23 Angus Leeming <leeming@lyx.org>
6352 * LaTeXFeatures.[Ch] (useBabel): new method.
6353 * bufferparams.C (writeLaTeX): use it.
6355 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * ParagraphList.h (set): remove unused function.
6359 2003-05-23 André Pönitz <poenitz@gmx.net>
6362 * BufferView_pimpl.C:
6366 * undo_funcs.C: setUndo reworked
6368 * iterators.[Ch]: add access to topmost ParagraphList
6370 * lyxtext.[Ch] (workWidth): add a const
6372 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6374 * texrow.[Ch] (increasePos): remove function
6375 * exporter.C (export): removed unused var and outdated comment
6377 2003-05-23 Angus Leeming <leeming@lyx.org>
6379 * latexrunparams.h: rename fragile as moving_arg.
6380 * paragraph.C (simpleTeXOnePar): ditto.
6381 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6383 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6387 (textUndoOrRedo): comment out a currently unused var.
6389 * paragraph.h (NO_NEXT): enable NO_NEXT
6391 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6393 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6395 * exporter.C (Export): adjust for removeAutoInsets removal.
6397 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6399 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6401 * BufferView.[Ch] (removeAutoInsets): delete function
6403 2003-05-22 Angus Leeming <leeming@lyx.org>
6405 * latexrunparams.h: add a free_spacing variable.
6407 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6408 to pass moving_arg, as the data is stored in runparams.fragile.
6410 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6411 to Inset::latexOptional or to simpleTeXOnePar.
6413 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6414 free_spacing arg to Inset::latexOptional.
6416 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6419 2003-05-22 Angus Leeming <leeming@lyx.org>
6421 * latexrunparams.h: add fragile and use_babel variables.
6423 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6424 * buffer.C (makeLaTeXFile): store this returned value in
6425 runparams.use_babel, thus passing it to the inset::latex methods.
6427 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6428 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6430 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6431 longer has a fragile arg, as it is stored in runparams.fragile.
6433 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6434 moving_arg parameter as the data is stored in runparams.fragile.
6436 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6437 a fragile parameter as the data is stored in runparams.fragile.
6439 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6443 2003-05-22 Angus Leeming <leeming@lyx.org>
6445 * latexrunparams.h: add a 'bool nice' which defaults to false.
6447 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6448 now encapsulated within runparams.
6450 * bufferlist.C (updateIncludedTeXfiles):
6451 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6453 2003-05-22 Angus Leeming <leeming@lyx.org>
6455 * latexrunparams.h: new file containing struct LatexRunParams.
6456 * Makefile.am: add new file.
6458 * LaTeX.[Ch] (c-tor, run):
6459 * buffer.[Ch] (makeLaTeXFile):
6460 * bufferlist.[Ch] (updateIncludedTeXfiles):
6461 * converter.C (convert, scanLog):
6462 * converter.[Ch] (runLaTeX):
6463 * exporter.C (Export):
6464 * paragraph.[Ch] (simpleTeXOnePar):
6465 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6466 * paragraph_funcs.[Ch] (latexParagraphs):
6467 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6468 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6469 pass around a LatexRunParams parameter.
6471 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * paragraph.[Ch]: remove unused constructor
6475 * ParagraphList.C (erase): new function, taking two iterators
6477 2003-05-22 André Pönitz <poenitz@gmx.net>
6479 * undo_funcs.C: remove duplicated code
6481 * iterator.[Ch]: operator=
6483 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * tabular.C (SetMultiColumn): ws changes
6487 * rowpainter.C (paintFirst): get rid of a ->previous
6489 * lyx_cb.C (getPossibleLabel): parlist simplification
6491 * BufferView.C (ChangeInsets): simplify slightly.
6493 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6495 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6496 * lfuns.h: new LFUN_SPACE
6497 * lyxfunc.C: protected space has a new lfun
6498 * paragraph_funcs.C: read new space insets
6500 * factory.C: handle new space insets
6502 2003-05-22 André Pönitz <poenitz@gmx.net>
6505 * BufferView_pimpl.C:
6508 * undo_funcs.C: return a ParIterator from getParFromID.
6510 * iterators.[Ch]: add two const's
6512 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * toc.C (getTocList): adjust
6516 * iterators.[Ch]: rework for parlist
6518 * buffer.C (par_iterator_begin): adjust
6519 (par_iterator_end): adjust
6521 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6523 * BufferView.C (removeAutoInsets): adjust
6524 (ChangeInsets): adjust
6526 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6528 * text.C (top_y): fix bug 1110
6530 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6532 * errorlist.[Ch]: added
6535 * BufferView_pimpl.C:
6536 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6539 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * Makefile.am: ensure that lyx is relinked upon changes to the
6542 various "convenience" libs.
6544 2003-05-20 Angus Leeming <leeming@lyx.org>
6546 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6547 files are compiled in alphabetical order again.
6549 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6551 2003-05-19 Angus Leeming <leeming@lyx.org>
6553 * gettext.[Ch]: remove "char const * _(char const *)".
6555 2003-05-19 André Pönitz <poenitz@gmx.net>
6557 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6566 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6568 2003-05-19 André Pönitz <poenitz@gmx.net>
6572 * lyxtextclass.[Ch]:
6574 * paragraph_funcs.[Ch]:
6576 * text3.C: more insetenv work
6578 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6580 * ParagraphParameters.C (params2string): small bug fixed
6582 2003-05-16 André Pönitz <poenitz@gmx.net>
6585 * bufferview_funcs.C: patch from Kornel Benko to prevent
6586 crash when _(...) is called twice in a statement
6588 2003-05-16 André Pönitz <poenitz@gmx.net>
6595 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6597 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6599 * lyx_main.C (init): remove spurious static_cast
6601 2003-05-14 André Pönitz <poenitz@gmx.net>
6603 * BufferView.C: fix format string
6605 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6607 * BufferView.[Ch] (insertErrors): removed
6608 * BufferView.[Ch] (showErrorList): added
6609 * buffer.C (runChkTeX):
6610 * converter.C (scanLog): call showErrorList instead of inserterrors
6612 2003-05-13 André Pönitz <poenitz@gmx.net>
6614 * BufferView_pimpl.C:
6616 * bufferview_func.C:
6623 * tabular_funcs.h: tostr() from its own header
6625 * ParagraphParameters.C:
6630 * text3.C: STRCONV()
6632 2003-05-12 André Pönitz <poenitz@gmx.net>
6635 * BufferView_pimpl.C:
6639 * ParagraphParameters.C:
6643 * bufferview_funcs.C:
6656 * paragraph_funcs.C:
6660 * text3.C: boost::format -> bformat all over the place
6663 2003-05-09 André Pönitz <poenitz@gmx.net>
6665 * LColor.[Ch]: Pimpl the #include <map> away
6667 2003-05-09 John Levon <levon@movementarian.org>
6669 * bufferlist.C: never remove emergency saves
6671 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * Makefile.am: better lib building
6675 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6679 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6680 (simpleTeXSpecialChars): adjust
6681 (simpleTeXSpecialChars): adjust
6682 * paragraph.C (simpleTeXOnePar): adjust
6683 * buffer.C (makeLaTeXFile): adjust
6685 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6687 * text2.C (changeDepth): parlist cleanup
6688 (getColumnNearX): ditto
6690 * rowpainter.C (getLabelFont): parlist cleanup
6692 * bufferlist.C (newFile): parlist cleanup
6694 * CutAndPaste.C (eraseSelection): parlist cleanup
6696 * BufferView_pimpl.C (trackChanges): parlist cleanup
6699 * BufferView.C (lockInset): parlist cleanup.
6700 (ChangeInsets): ditto
6702 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6704 * CutAndPaste.h: Update file header.
6706 * CutAndPaste.C: Update file header.
6707 Store the parts cut out of the Document in a limited_stack.
6708 (copySelection): adjust
6709 (pasteSelection): new function, takes the index in the limited stack.
6710 (nrOfParagraphs): adjust
6711 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6712 simplify error inset insertion.
6713 (checkPastePossible): adjust
6715 2003-05-06 John Levon <levon@movementarian.org>
6717 * text2.C: don't cast wrap inset to float
6719 2003-05-05 André Pönitz <poenitz@gmx.net>
6722 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6724 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6725 few naked Paragraph *.
6727 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6729 * bufferparams.C: Output warning if a document with missing
6730 TeX document class is loaded
6731 * exporter.C: Disable TeX exports if the document class is missing
6734 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6735 isTeXClassAvailable()
6737 2003-05-03 John Levon <levon@movementarian.org>
6740 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6741 explicit cursor show/hide
6743 * BufferView_pimpl.h:
6744 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6745 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6747 * lyxfunc.C: hide cursor before dispatching.
6752 * text3.C: remove explicit cursor hides
6754 2003-05-02 André Pönitz <poenitz@gmx.net>
6756 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6759 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6762 * text2.C: tiny whitespace
6764 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * undo_funcs.C: almost only ws changes.
6768 * ParagraphList.C (splice): just return if pl is empty.
6770 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6772 * ParagraphList.C (splice): new function.
6774 * CutAndPaste.C (pasteSelection): use it
6776 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * CutAndPaste.C (pasteSelection): remove the last next and
6779 previous from this file.
6781 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6783 * CutAndPaste.C (pasteSelection): more clean up, user proper
6784 ParagraphList functions for pasteing.
6786 * ParagraphList.C (insert): new function, three arg insert
6788 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6790 * ParagraphList.C (insert): new function, three arg insert
6792 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6795 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6799 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6801 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6803 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6806 (copySelection): clean up a bit.
6807 (pasteSelection): use make_pair
6809 * ParagraphList.C (ParagraphList): implement copy constructor
6810 (operator=): implement, base on copy constructor.
6813 * paragraph.C (erase): return a bool
6815 * paragraph_pimpl.C (erasePos): remove function, move contents...
6816 (erase): ... here. Return a bool.
6817 (erase): call erase instead of erasePos.
6819 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6821 * ParagraphList.h: define PitPosPair
6822 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6823 ParagraphList, fix a bug on pasting multiple pars
6824 * text2.C: change interface to C&P
6826 2003-04-30 André Pönitz <poenitz@gmx.net>
6828 * undo_func.C: revert part of yesterday's patch 2
6830 2003-04-30 John Levon <levon@movementarian.org>
6832 * LColor.C: s/tabular/table/
6834 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * text3.C (dispatch): do not convert iterator -> pointer
6837 * undo_funcs.C (setCursorParUndo): ditto
6838 * text_funcs.C (transposeChars): ditto
6840 * text2.C (setLayout): ws changes only
6842 * text.C (breakParagraph): do not convert iterator -> pointer
6844 (acceptChange): ditto
6845 (rejectChange): ditto
6850 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6853 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6855 * text3.C (gotoInset): YABG (yet another bad getChar)
6857 2003-04-29 André Pönitz <poenitz@gmx.net>
6859 * paragraph.h: make operator= private unimplemented as long as
6862 * ParagraphList.C: whitespace
6865 * paragraph_pimpl.[Ch]:
6866 * paragraph_funcs.C:
6868 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6871 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6873 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6875 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6876 * paragraph.[Ch] (erase):
6877 * paragraph_pimpl.[Ch] (erase): change return type and value
6878 * text2.C (cutSelection): some rework
6880 2003-04-28 John Levon <levon@movementarian.org>
6882 * bufferlist.C: changes for unsaved changes dialog
6884 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * bufferlist.C (newFile): set language (messages_) for new
6889 * buffer.C (readFile): ws changes only.
6891 2003-04-28 André Pönitz <poenitz@gmx.net>
6896 * BufferView_pimpl.C:
6897 * BufferView.C: getParFromID related ParagraphList::iterator changes
6899 2003-04-28 André Pönitz <poenitz@gmx.net>
6901 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6904 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6906 * messages.C: remove one more localedir class variable.
6908 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * messages.C (getLocaleDir): singleton generation function
6912 (Messages): add a default constructor.
6914 * main.C (main): do not setup localedir here, do not call
6917 * gettext.C (_): use it.
6918 (gettext_init): delete funciton
6920 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * gettext.C (getLyXMessages): new singleton generating function.
6924 * buffer.C (updateDocLang): adjust
6926 * Makefile.am (messages.o): add target
6927 (main.o): remove target
6929 2003-04-27 John Levon <levon@movementarian.org>
6934 * lyxvc.C: specify cancel button in Alert::prompt
6936 2003-04-26 John Levon <levon@movementarian.org>
6941 * LyXAction.C: add LFUN_INSET_SETTINGS
6943 * lyxfunc.C: don't enable tabular-feature when there's
6944 just any locking inset
6946 2003-04-26 John Levon <levon@movementarian.org>
6948 * bufferlist.C: re-add Cancel to buffer close question
6950 * lyxfunc.C: fix import UI a bit
6952 2003-04-25 John Levon <levon@movementarian.org>
6954 * gettext.C: remove the broken asserts for now
6956 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * messages.C: make case where setlocale cannot comply work better.
6960 * buffer.C (updateDocLang): new function
6961 (changeLanguage): use it
6964 * text2.C (setCounter): use B_ a bit.
6966 * lyxlayout.C (Read): be sure to trim the label strings.
6968 * messages.C (Messages): fix typo in comment
6970 * buffer.C (readFile): set message_ after file is loaded.
6971 (makeDocBookFile): remove double return
6972 (changeLanguage): reset message_ upon language change.
6973 (B_): new func, use this to get translated buffer strings.
6975 * main.C: add myself and Jean Marc as authors.
6977 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * messages.[hC]: pimplify Messages, and three different pimpls to be
6980 used in different circumstances.
6982 * gettext.[Ch]: change for use with new message code.
6984 2003-04-24 André Pönitz <poenitz@gmx.net>
6986 * factory.C: support for eqref
6988 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * messages.[Ch]: add missing char
6992 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6994 * messages.[Ch]: New files
6996 2003-04-18 John Levon <levon@movementarian.org>
7000 * BufferView_pimpl.C:
7004 * text2.C: remove layout-copy/paste (bug 778)
7006 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7008 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7010 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7012 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7013 if they succeed. Act accordingly.
7015 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * text2.C (setCharFont): adjust
7018 (setCounter): adjust
7019 (insertStringAsLines): adjust
7021 * text.C (leftMargin): adjust
7022 (setHeightOfRow): adjust
7024 * rowpainter.C (paintFirst): adjust
7027 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7029 (isFirstInSequence): ditto
7030 (getEndLabel): ditto
7033 * paragraph.C (getParLanguage): comment out some hard stuff.
7035 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7037 (simpleDocBookOnePar): ditto
7038 (makeDocBookFile): use ParagraphList::iterator
7040 * CutAndPaste.C (pasteSelection): adjust
7042 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * text2.C (getFont): adjust
7045 (getLayoutFont): adjust
7046 (getLabelFont): adjust
7048 * paragraph_funcs.C (TeXOnePar): adjust
7050 * buffer.C (simpleLinuxDocOnePar): adjust
7051 (simpleDocBookOnePar): adjust
7053 * CutAndPaste.C (pasteSelection): adjust
7055 * BufferView.C (getEncoding): adjust
7057 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7059 2003-04-16 John Levon <levon@movementarian.org>
7061 * lyxfind.C: use parlist stuff for search/changes
7063 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7065 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7067 * text2.C (deleteEmptyParagraphMechanism): adjust
7069 * text2.[Ch] (ownerParagraph): delete func (both of them
7071 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7075 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * ParagraphList.C: prepare for NO_NEXT
7079 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * text2.C (getFont): adjust
7082 (getLayoutFont): adjust
7083 (getLabelFont): adjust
7085 * paragraph.C (getFont): adjust
7086 (getLabelFont): adjust
7087 (getLayoutFont): adjust
7089 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7091 2003-04-15 John Levon <levon@movementarian.org>
7095 * lyx_main.C: handle Include in .ui files
7097 2003-04-15 John Levon <levon@movementarian.org>
7099 * MenuBackend.C: make the doc files length shorter
7102 * ToolbarBackend.C: handle toolbar placement flags,
7105 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7110 * paragraph_funcs.C (TeXOnePar): adjust
7112 * paragraph.C (getLabelFont): add outerfont arg, adjust
7113 (getLayoutFont): ditto
7114 (simpleTeXOnePar): adjust
7116 * paragraph_pimpl.C (realizeFont): delete func
7118 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7120 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7121 row argument, constify cur argument.
7123 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * text2.C (getFont): adjust
7126 (getLayoutFont): adjust
7127 (getLabelFont): adjust
7129 * paragraph_funcs.C (TeXOnePar): adjust
7130 (outerFont): new func...
7131 (realizeFont): ...moved out from here, changed this to facilitate
7134 * paragraph.C (getFont): take outerfont as arg, adjust
7135 (simpleTeXOnePar): add outerfont arg, adjust
7137 * buffer.C (simpleLinuxDocOnePar): adjust
7138 (simpleDocBookOnePar): adjust
7140 * CutAndPaste.C (pasteSelection): adjust
7142 * BufferView.C (getEncoding): adjust
7144 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7146 * text2.C (setCharFont): adjust
7147 (setCounter): adjust
7149 * text.C (leftMargin): adjust
7150 (setHeightOfRow): adjust
7152 * rowpainter.C (paintFirst): adjust
7155 * paragraph_pimpl.C (realizeFont): adjust
7157 * paragraph.C (isFirstInSequence): move from here...
7158 * paragraph_funcs.C (isFirstInSequence): ...to here
7160 * paragraph.C (outerHook): move from here...
7161 * paragraph_funcs.C (outerHook): ...to here
7163 * paragraph.C (depthHook): move from here...
7164 * paragraph_funcs.C (depthHook): ...to here
7166 * paragraph.C (getEndLabel): move from here...
7167 * paragraph_funcs.C (getEndLabel): ...to here
7169 * text2.C (realizeFont): move from here...
7170 * paragraph_funcs.C (realizeFont): ...to here
7172 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7176 2003-04-14 Angus Leeming <leeming@lyx.org>
7178 * LColor.[Ch]: scrap LColor mathcursor.
7180 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7182 * lyxlex.[Ch] (text): delete function
7183 * trans.C (Load): adjust
7184 * paragraph_funcs.C (readParToken): adjust
7186 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7189 vector<char> instead of a char[].
7191 * lyxlex_pimpl.C (getString): adjust
7193 (lex): use getString
7197 * lyxlex.C (text): use pimpl_->getString()
7201 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7203 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7204 (makeFontEntriesLayoutSpecific): temp var for par.size()
7205 (setLayout): temp var for ownerParagraphs().end()
7206 (fullRebreak): temp var for rows().end()
7207 (selectionAsString): temp var for boost::next(startpit), realize
7208 that the while really is a regular for loop.
7209 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7210 setCursor in one place.
7211 (setParagraph): temp vr for ownerParagraphs().end()
7212 (updateCounters): make the while loop a for loop
7213 (cutSelection): temp var for ownerParagraphs().end()
7214 (updateInset): make the do {} while() a regular for loop
7215 (getCursorX): use temp vars
7216 (setCurrentFont): use temp vars
7217 (getColumnNearX): use temp vars
7219 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * text.C (transformChar): use temp var for getChar
7222 (computeBidiTables): use temp var for row->par()
7223 (fill): move temp vars for row->par() and pit->layout() earlier in
7225 (labelFill): use temp var for row->par()
7226 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7227 asc and desc, realize that pit never changes and that firstpit is
7228 just a duplicate and not needed. Exchange rit->par() with pit in a
7230 (breakAgain): use a temp var for boost::next(rit)
7231 (breakAgainOneRow): ditto
7232 (breakParagraph): use a temp var for rows().begin()
7233 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7234 (cursorRightOneWord): use temp var for cursor.par() and
7235 cursor.pos(), remove usage of tmpcursor.
7236 (cursorLeftOneWord): use temp var for cursor.par() and
7237 cursor.pos() only set cur at end of function.
7239 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * text.C, text2.C: exchange all usage of Paragraph::next with
7242 boost::next(ParagraphList::iterator)
7244 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7246 * text2.C (cursorTop): simplify implementation
7247 (cursorBottom): ditto
7248 (setParagraph): use ParagraphList::iterator
7249 (setCurrentFont): adjust
7250 (getColumnNearX): adjust
7251 (cursorRight): adjust
7252 (cursorLeft): remove usage of Paragraph::previous
7253 (cursorUpParagraph): ditto
7254 (deleteEmptyParagraphMechanism): slight cleanup
7256 * text.C (isBoundary): take a Paragraph const & instead of a
7258 (addressBreakPoint): ditto
7259 (leftMargin): remove usage of Paragraph::previous.
7260 (setHeightOfRow): ditto
7261 (cursorLeftOneWord): ditto
7262 (selectNextWordToSpellcheck): ditto
7265 (breakParagraph): remove one usage of Paragraph::next
7266 (redoParagraph): ditto
7267 (acceptChange): ditto
7268 (insertChar): adjust
7269 (rowBreakPoint): adjust
7271 * bufferview_funcs.C (toggleAndShow): adjust
7273 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7275 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7276 methods to access it.
7278 * text.C: Added updateRowPositions to compute all row positions.
7279 Make top_y and getRowNearY() to use the cached y position
7281 2003-04-11 John Levon <levon@movementarian.org>
7283 * text.C (rowBreakPoint): reintroduce the labelEnd
7284 checks, code copied from the row fill stuff. Deep voodoo.
7286 * text.C (fill): add a comment and debugging for the
7289 2003-04-11 John Levon <levon@movementarian.org>
7291 * text.C: make sure fullrow insets get wrapped to the next line,
7292 even when they're in a manual label
7294 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * text2.C (insertParagraph): make it take ParagraphList::iterator
7298 (setLayout): make it return ParagraphList::iterator
7299 (redoParagraphs): ditto
7301 (checkParagraph): ditto
7303 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7305 * text2.C: adjust several funcs.
7306 (realizeFont): take a ParagraphList::iterator as arg.
7307 (getLayoutFont): ditto
7308 (getLabelFont): ditto
7309 (setCharFont): ditto
7311 * text.C: adjust several funcs.
7313 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7315 * text.C (selectNextWordToSpellcheck): don't accidentally
7318 2003-04-10 John Levon <levon@movementarian.org>
7320 * ToolbarBackend.C (getIcon): special handling for
7323 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7325 * text2.C (cursorRight): a getChar assert fixed
7327 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * text2.C (getFont): change to take a ParagraphList::iterator
7330 instead of Paragraph*
7331 Adjust several functions.
7333 * text.C (transformChar): change to take a ParagraphList::iterator
7334 instead of Paragraph*
7335 (singleWidth): ditto
7336 Adjust several functions.
7338 * rowpainter.C: adjust several functions
7339 * rowpainter.h:store a ParagraphList::iterator and not a
7343 2003-04-09 John Levon <levon@movementarian.org>
7348 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7349 and the "help" bits as well
7351 2003-04-09 John Levon <levon@movementarian.org>
7354 * ToolbarBackend.C: allow multiple toolbars
7356 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7358 * undo_funcs.C (setCursorParUndo): adjust
7360 * text_funcs.C (transposeChars): adjust
7362 * text3.C (gotoNextInset): adjust
7365 * text2.C (setLayout): adjust
7366 (changeDepth): adjust
7368 (redoParagraphs): adjust
7369 (selectionAsString): adjust
7370 (setParagraph): adjust
7371 (insertInset): adjust
7372 (cutSelection): adjust
7373 (copySelection): adjust
7374 (pasteSelection): adjust
7375 (insertStringAsLines): adjust
7376 (updateInset): adjust
7377 (setCursor): change to take a ParagraphList::iterator parameter
7378 (setCursorIntern): change to take a ParagraphList::iterator parameter
7379 (setCurrentFont): adjust
7380 (cursorLeft): adjust
7381 (cursorRight): adjust
7382 (deleteEmptyParagraphMechanism): adjust
7384 * text.C (breakParagraph): adjust
7385 (insertChar): adjust
7386 (acceptChange): adjust
7387 (rejectChange): adjust
7388 (selectNextWordToSpellcheck): adjust
7389 (changeCase): adjust
7393 * lyxfind.C (SearchForward): adjust
7394 (SearchBackward): adjust
7395 (nextChange): adjust
7397 * lyxcursor.C (par): adjust
7399 * lyxcursor.h: store a ParagraphList::iterator instead of a
7402 * lyx_cb.C (getPossibleLabel): adjust
7404 * bufferview_funcs.C (toggleAndShow): adjust
7406 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7409 * BufferView.C (removeAutoInsets): adjust
7410 (lockedInsetStoreUndo): adjust
7412 2003-04-09 John Levon <levon@movementarian.org>
7414 * ToolbarBackend.C: try icon without argument
7415 if with argument fails
7417 2003-04-08 John Levon <levon@movementarian.org>
7420 * ToolbarBackend.C: add getIcon(), handle tooltip,
7421 and change from "Icon" to "Item".
7423 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7425 * BufferView.C (lockInset): another bad getchar crunched
7427 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7429 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7432 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7434 * lyxfind.C (searchForward, searchBackwards): bug 782
7436 2003-04-07 John Levon <levon@movementarian.org>
7438 * paragraph.C: remove dead comment
7440 * text.C: remove troublesome depth-fiddling code
7441 in leftMargin() and rightMargin() (bug 1017)
7443 * text.C: fix breaking of rows in nested lists
7446 * text2.C (updateCounters): fix up depth values
7449 2003-04-07 John Levon <levon@movementarian.org>
7451 * BufferView_pimpl.C: clear message when doc finishes resizing,
7452 and after a mouse event
7454 * lyxfunc.C: clear message after exiting inset
7456 2003-04-07 John Levon <levon@movementarian.org>
7458 * bufferview_funcs.C: show math status not outside
7459 status in the statusbar
7461 2003-04-07 John Levon <levon@movementarian.org>
7463 * lyxfunc.C: note status changed after a depth change
7465 2003-04-04 Angus Leeming <leeming@lyx.org>
7467 * LaTeX.h: move AuxInfo operator==, != out of line.
7468 Remove LaTeX virtual destructor; nothing derives from it.
7469 Move operator()() out of public area and rename it startscript().
7470 Change protected for private.
7472 2003-04-04 Angus Leeming <leeming@lyx.org>
7475 * text2.C: remove unneeded #includes.
7477 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7479 * text2.C (dEPM): fix the heigth of the next row
7481 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7483 * text.C: squashed an invalid getChar requester + some ws changes
7485 2003-04-03 John Levon <levon@movementarian.org>
7487 * bufferview_funcs.h:
7488 * bufferview_funcs.C:
7491 * text2.C: make getStatus work for the env depth lfuns
7493 2003-04-03 John Levon <levon@movementarian.org>
7495 * bufferview_funcs.h:
7496 * bufferview_funcs.C:
7499 * text2.C: parlistize decDepth(), by merging it with incDepth()
7501 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7503 * lyxrow.h: store a ParagraphList::iterator instead of a
7504 Paragraph* and adjust other class functions to suit.
7506 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7509 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7511 * text2.C (setCursor): do not anchor to cursor row for the time being
7513 2003-04-02 John Levon <levon@movementarian.org>
7520 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7522 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7524 * paragraph.h: make ParagraphList and ParagraphList::iterator
7525 friends of Paragraph.
7527 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7529 * ParagraphList.C: Use the private next_ and previous_ from
7532 2003-04-01 John Levon <levon@movementarian.org>
7536 * Makefile.am: rename, remove defaults gunk
7539 * MenuBackend.C: remove defaults gunk
7542 * Languages.C: remove defaults gunk
7545 * lyx_main.C: error out if files couldn't be found.
7547 2003-04-02 John Levon <levon@movementarian.org>
7549 * text2.C: make incDepth() use parlist
7551 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7553 * undo_funcs.C (firstUndoParagraph): adjust
7555 * text3.C (gotoInset): adjust
7556 (dispatch): adjust, and rewrite loop.
7558 * text2.C (init): adjust, and rewrite loop.
7559 (redoParagraphs): adjust
7560 (updateInset): adjust, and rewrite loop.
7561 (deleteEmptyParagraphMechanism): adjust
7563 * tabular.C (LyXTabular): adjust
7564 (SetMultiColumn): adjust
7567 * lyxtext.[Ch] (ownerParagraph): delete function
7568 (ownerParagraphs): new function returns a ParagraphList.
7570 * BufferView.C (removeAutoInsets): adjust
7571 (insertErrors): adjust
7572 (setCursorFromRow): adjust
7574 2003-04-01 Angus Leeming <leeming@lyx.org>
7576 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7579 2003-04-02 John Levon <levon@movementarian.org>
7585 * text_funcs.C: make transposeChars a free function
7587 * lyxrow_funcs.C: remove wrong comment
7589 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7592 * rowpainter.C: adjust
7597 * lyxrow_funcs. [Ch]: new files
7599 * lyxrow.[Ch]: remove next and previous pointers
7600 (next,previous): remove accessor functions
7601 (isParEnd): move to lyxrow_funcs
7602 (lastPos): move to lyxrow_funcs
7603 (nextRowIsAllInset): move to lyxrow_funcs
7604 (lastPrintablePos): move to lyxrow_funcs
7605 (numberOfSeparators): move to lyxrow_funcs
7606 (numberOfHfills): move to lyxrow_funcs
7607 (numberOfLabelHfills): move to lyxrow_funcs
7608 (hfillExpansion): move to lyxrow_funcs
7612 * bufferview_funcs.C (toggleAndShow): adjust
7614 * RowList.h: Remove class RowList from file leave just a
7617 * RowList.C: delete file
7619 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7622 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7624 * text3.C (cursorPrevious): adjust
7625 (cursorNext): adjust
7628 * text2.C (redoHeightOfParagraph): adjust
7629 (redoDrawingOfParagraph): adjust
7632 * text.C (breakParagraph): adjust
7633 (insertChar): adjust
7636 * rowpainter.C (RowPainter): adjust
7637 (leftMargin): simplify and adjust
7638 (most rowpainter functions): adjust.
7640 * rowpainter.h: store the row as RowList::iterator not as Row*
7642 * lyxcursor.C (row): taka RowList::iterator as arg
7645 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7648 2003-04-01 Angus Leeming <leeming@lyx.org>
7650 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7651 stuff like bool Bool.
7653 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7655 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7658 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7660 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7663 * lyxtext.h (rows): drop one version and leve a const variant that
7664 returns a RowList::iterator.
7666 2003-03-31 Angus Leeming <leeming@lyx.org>
7668 * text.C (fill): ensure that the signature is the same as that in the
7671 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * text2.C (redoParagraphs): adjust
7674 (updateCounters): adjust
7675 (checkParagraph): adjust
7676 (getColumnNearX): adjust and reformat a bit.
7678 * text.C (top_y): adjust
7680 (leftMargin): adjust
7681 (prepareToPrint): adjust
7683 (getRowNearY): adjust
7685 * lyxtext.h: make rowlist_ mutable.
7687 * RowList.h: add const_iterator
7688 * RowList.C: adjust for RowList::const_iterator.
7690 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7693 2003-03-31 John Levon <levon@movementarian.org>
7696 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7698 * lyx_main.C: set default fonts from using lyx_gui funcs
7700 * exporter.C: pdf_mode moved from lyxrc
7703 * lyxfunc.C: changes from above
7705 2003-03-31 John Levon <levon@movementarian.org>
7707 * lyx_main.C: fix to the last fix
7709 2003-03-31 John Levon <levon@movementarian.org>
7711 * bufferlist.C: "Load original" -> "Load Original"
7717 * format.C: more Alert cleanups
7719 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * text2.C (removeParagraph): make it take a RowList::iterator as
7723 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7724 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7726 * text.C (anchor_row): make it take a RowList::iterator as arg,
7728 (computeBidiTables): make it take a const reference to Row instead
7729 of Row pointer, adjust.
7730 (leftMargin): make it take a RowList::iterator as arg, adjust.
7731 (rowBreakPoint): adjust
7732 (breakAgainOneRow): make it take a RowList::iterator as arg,
7734 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7736 * bufferview_funcs.C (toggleAndShow): adjust
7738 2003-03-30 John Levon <levon@movementarian.org>
7742 * boost-inst.C: moved to support
7744 * several files: changes as a result
7746 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7748 * text2.C (LyXText): adjust.
7750 (removeRow): make it take a RowList::iterator as arg, adjust.
7751 (fullRebreak): adjust
7752 (deleteEmptyParagraphMechanism): adjust
7753 (clearPaint): adjust
7756 * text.C (top_y): adjust
7757 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7758 (breakAgain): make it take a RowList::iterator as arg, adjust.
7759 (breakParagraph): adjust
7760 (insertChar): adjust
7763 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7764 need_break_row, and refresh_row.
7766 * text3.C (dispatch): adjust
7768 * text2.C (checkParagraph): adjust
7770 (setCursorFromCoordinates): adjust
7772 * text.C (top_y): adjust
7774 (getRow): make it return a RowList::iterator, adjust
7775 (getRowNearY): make it return a RowList::iterator, adjust
7777 * text2.C (init): adjust
7778 (insertRow): remove function
7779 (insertParagraph): adjust
7780 (redoParagraphs): adjust
7781 (fullRebreak): adjust
7782 (updateCounters): adjust
7784 * text.C (top_y): rewrite to use RowList iterators.
7786 (setHeightOfRow): rewrite to sue RowList iterators.
7787 (appendParagraph): adjust
7788 (breakAgain): adjust
7789 (breakAgainOneRow): adjust
7790 (breakParagraph): adjust
7792 (getRowNearY): adjust, and remove commented code.
7794 * lyxtext.h (firstRow): delete function
7795 (lastRow): delete function
7796 (rows): new function (const and non-const versions.)
7797 (insertRow): delete function
7799 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7801 2003-03-29 John Levon <levon@movementarian.org>
7803 * BufferView_pimpl.C: always update scrollbar top
7804 because pasting text when we're anchored could mean we
7805 miss an update altogether
7807 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * text2.C (init): use rowlist_.end() and not 0.
7810 (insertRow): change to take a RowList::iterator as arg, adjust
7812 (insertParagraph): change to take a RowList::iterator as arg,
7814 (redoParagraphs): remove some debug msgs.
7816 * text.C (appendParagraph): change to take a RowList::iterator
7817 arg, adjust for this.
7818 (breakAgain): add an assert
7819 (breakAgainOneRow): ditto
7821 2003-03-29 John Levon <levon@movementarian.org>
7823 * text2.C: do not clear selection after inc/decDepth
7826 2003-03-29 John Levon <levon@movementarian.org>
7829 * buffer.C: fix broken strerrors according to Lars
7831 2003-03-29 John Levon <levon@movementarian.org>
7833 * converters.C: more Alert cleanups
7835 2003-03-29 John Levon <levon@movementarian.org>
7837 * bufferview_funcs.C: remove pointless Alert
7839 * buffer.C: fix confusing error message when
7840 a template is chmoded 000
7842 2003-03-29 John Levon <levon@movementarian.org>
7846 * BufferView_pimpl.C: Alert fixes
7850 * tabular-old.C: remove unused table compat reading
7852 2003-03-29 John Levon <levon@movementarian.org>
7857 * lyx_cb.C: more Alert cleanups
7859 * lyxfunc.C: don't allow chktex if not latex document
7861 2003-03-29 John Levon <levon@movementarian.org>
7865 * buffer.C: warnings pushed down from support/,
7868 2003-03-29 John Levon <levon@movementarian.org>
7870 * lyxfunc.C: safety check for C-r (revert)
7872 2003-03-29 John Levon <levon@movementarian.org>
7875 * bufferlist.C: several UI fixes using Alert::prompt.
7876 Fix the pointless looping quit code. Fix stupid revert
7881 * lyx_cb.C: use Alert::prompt
7883 * lyx_main.C: remove a silly question
7885 * lyxfunc.C: remove a couple of silly questions,
7888 2003-03-28 John Levon <levon@movementarian.org>
7890 * text2.C: fix bug 974 (End on empty par)
7892 2003-03-28 John Levon <levon@movementarian.org>
7894 * BufferView_pimpl.C:
7896 * lfuns.h: remove do-nothing math greek lfuns
7898 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7900 * lyxgluelength.h (isValidGlueLength): add default arg on
7901 parameter 2. Remove default arg from friend in class.
7903 * lyxlength.h (isValidLength): add default arg on parameter 2.
7904 Remove default arg from friend in class.
7906 * text2.C (LyXText): adjust, initialize refresh_row.
7910 (insertParagraph): adjst
7911 (redoParagraphs): adjust
7912 (fullRebreak): adjust
7913 (updateCounters): adjust
7914 (deleteEmptyParagraphMechanism): first attempt at fixing a
7917 * text.C (top_y): adjust
7918 (setHeightOfRow): adjust
7920 (getRowNearY): adjust
7922 * lyxtext.h: include RowList.h
7923 (~LyXText): not needed anymore, deleted.
7924 (firstRow): modify for RowList
7925 (lastRow): new function
7926 Delete firstrow and lastrow class variables, add a Rowlist
7927 rowlist_ class variable.
7929 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7932 * RowList.C (insert): fix case where it == begin().
7934 2003-03-26 Angus Leeming <leeming@lyx.org>
7936 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7937 the thesaurus dialog.
7939 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7941 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7943 * RowList.[Ch]: new files
7945 * ParagraphList.C (erase): handle the case where it == begin
7948 2003-03-25 John Levon <levon@movementarian.org>
7952 * aspell.C: add new aspell support
7955 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7958 2003-03-25 Angus Leeming <leeming@lyx.org>
7961 * LyXAction.C (init): new LFUN_INSET_INSERT.
7963 * BufferView_pimpl.C (dispatch): split out part of the
7964 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7966 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7969 2003-03-25 Angus Leeming <leeming@lyx.org>
7971 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7973 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7976 * text3.C: remove useless row->height(0)
7978 2003-03-25 John Levon <levon@movementarian.org>
7982 * text3.C: rename the refreshing stuff to better names
7984 2003-03-24 John Levon <levon@movementarian.org>
7986 * BufferView_pimpl.h:
7987 * BufferView_pimpl.C: update layout choice on a mouse
7990 2003-03-23 John Levon <levon@movementarian.org>
7992 * Makefile.am: fix commandtags.h reference
7994 2003-03-22 John Levon <levon@movementarian.org>
7996 * BufferView_pimpl.C:
8001 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8003 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8006 * text.C: take the rtl methods out of line
8008 2003-03-21 André Pönitz <poenitz@gmx.net>
8010 * metricsinfo.[Ch]: new files containing structures to be passed around
8011 during the two-phase-drawing...
8013 2003-03-21 André Pönitz <poenitz@gmx.net>
8015 * lyxtextclass.C: read 'environment' tag.
8017 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8019 * text2.C (removeRow): fix bug 964
8021 2003-03-20 John Levon <levon@movementarian.org>
8025 * text2.C: paint cleanups. Inset::update() dropped font
8028 2003-03-19 John Levon <levon@movementarian.org>
8030 * lyxfunc.C: only fitcursor/markDirty if available()
8032 2003-03-19 John Levon <levon@movementarian.org>
8034 * commandtags.h: rename to ...
8036 * lfuns.h: ... this, and renumber / cleanup
8038 2003-03-19 John Levon <levon@movementarian.org>
8040 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8041 fit the cursor after an lfun
8045 * BufferView_pimpl.h:
8046 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8048 * LyXAction.C: layout-character should have ReadOnly
8050 * ParagraphParameters.C:
8052 * bufferview_funcs.C:
8059 * undo_funcs.C: changes from above
8061 2003-03-18 John Levon <levon@movementarian.org>
8063 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8064 remove it from update()
8066 * lyxfunc.C: update layout choice after an lfun
8068 * text3.C: remove extra updateLayoutChoice()s
8070 2003-03-18 John Levon <levon@movementarian.org>
8072 * text.C: top_y change means full repaint, fix
8073 a drawing bug with cursor movement
8075 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8079 * text2.C: anchor row on setCursor
8081 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8083 * lyxtext.h: remove almost all mutable keywords
8086 * text3.C: remove const keywords accordingly
8088 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8092 (TeXEnvironment): ditto
8095 2003-03-17 John Levon <levon@movementarian.org>
8097 * text.C (rowBreakPoint): remove attempt to fix displayed
8098 math insets inside a manual label
8100 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * lyxtext.h: remove BufferView* as first arg from almost all class
8104 * other files: adjust.
8106 2003-03-17 John Levon <levon@movementarian.org>
8110 * text2.C: more paint cleanups
8112 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8115 * rowpainter.C: remove "smart" background painting code
8117 2003-03-16 John Levon <levon@movementarian.org>
8122 * text3.C: add helper functions for setting refresh_row/y
8124 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8126 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8127 newline inset which *can* get inserted in the pass_thru layouts.
8128 This is primarily for literate documents.
8130 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8132 * buffer.C: increment LYX_FORMAT to 223
8134 2003-03-14 André Pönitz <poenitz@gmx.net>
8136 * textclass.h: prepare for environment handling, ws changes
8137 * lyxlayout.C: read latexheader and latexfooter tags
8139 2003-03-14 John Levon <levon@movementarian.org>
8141 * text2.C: rewrite ::status() a bit
8143 2003-03-13 John Levon <levon@movementarian.org>
8145 * lyxtext.h: add some docs
8147 2003-03-13 John Levon <levon@movementarian.org>
8152 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8154 2003-03-13 John Levon <levon@movementarian.org>
8156 * text3.C: fix appendix redrawing
8158 2003-03-13 John Levon <levon@movementarian.org>
8160 * text.C (setHeightOfRow):
8162 * rowpainter.C: make appendix mark have the text
8163 "Appendix" so the user knows what it is
8166 * LColor.C: s/appendixline/appendix/ from above
8168 2003-03-13 John Levon <levon@movementarian.org>
8170 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8172 * text.C: fix a getChar(pos) bug properly
8174 2003-03-13 Angus Leeming <leeming@lyx.org>
8177 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8178 Probably only temporary. Let's see how things pan out.
8180 * BufferView.C (unlockInset):
8181 * BufferView_pimpl.C (fitCursor):
8182 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8184 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8185 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8187 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8188 new functions that convert ParagraphParameters to and from a string.
8190 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8191 BufferView::Pimpl's dispatch.
8192 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8194 2003-03-13 André Pönitz <poenitz@gmx.net>
8198 * factory.C: make it aware of InsetEnv
8200 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * text2.C (setCursor): never ask for one past last
8203 (setCursor): add some debugging messages.
8205 * text.C (singleWidth): never ask for one past last
8206 (singleWidth): ditto
8208 (rightMargin): ditto
8209 (rowBreakPoint): ditto
8210 (setHeightOfRow): ditto
8211 (prepareToPrint): ditto
8213 * rowpainter.C (paintBackground): never ask for one past last
8214 (paintText): never ask for one past last
8216 * paragraph_pimpl.C (getChar): make the assert stricter, never
8217 allow the one past last pos to be taken
8219 * paragraph.C (getChar): ws changes only
8221 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8222 (numberOfSeparators): ditto
8223 (numberOfHfills): ditto
8225 2003-03-12 John Levon <levon@movementarian.org>
8231 * paragraph_funcs.C: fix per-buffer authorlists
8233 2003-03-12 John Levon <levon@movementarian.org>
8235 * text.C: fix newline in right address
8237 2003-03-12 Angus Leeming <leeming@lyx.org>
8239 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8240 duplicate those in LyXFunc::dispatch.
8244 * ToolbarDefaults.C:
8245 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8246 Add LFUN_FONTFREE_UPDATE.
8248 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8249 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8251 * bufferview_func.[Ch]: several new functions to facilliate
8252 transfer of data to and from the character dialog.
8254 2003-03-12 John Levon <levon@movementarian.org>
8259 * paragraph_funcs.C:
8260 * paragraph_pimpl.C:
8264 * text3.C: remove META_NEWLINE in favour of an inset
8267 * rowpainter.C: remove paintNewline (done by inset)
8269 2003-03-12 John Levon <levon@movementarian.org>
8271 * paragraph_pimpl.C: complain about bad getChar()s
8272 for a while at least
8274 2003-03-12 John Levon <levon@movementarian.org>
8277 * buffer.C: move paragraph read into a separate function,
8278 a little renaming to reflect that.
8281 * bufferparams.C: remove the author_ids map, not necessary now
8284 * factory.C: moved Buffer::readInset to here
8286 * paragraph_funcs.h:
8287 * paragraph_funcs.C: readParagraph free function moved from
8290 * tabular.C: name change
8292 2003-03-12 John Levon <levon@movementarian.org>
8295 * ParagraphParameters.C: move par params input to
8298 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8299 behave like a normal read from the stream wrt reading
8300 a line vs. a \\token
8302 2003-03-12 John Levon <levon@movementarian.org>
8305 * ParagraphParameters.h:
8306 * ParagraphParameters.C: move output code to a
8309 2003-03-12 John Levon <levon@movementarian.org>
8311 * BufferView.C (insertLyXFile):
8314 * tabular.C: use a parlist iterator for creating the
8317 2003-03-12 John Levon <levon@movementarian.org>
8319 * buffer.C: make current_change static local not
8322 2003-03-12 John Levon <levon@movementarian.org>
8324 * buffer.C: fix insertStringAsLines for change tracking
8326 2003-03-12 John Levon <levon@movementarian.org>
8333 * bufferparams.C: move author list into params. Rename some
8334 functions. Move the header reading into a separate token
8335 loop. Move the header token reading into BufferParams.
8337 2003-03-12 John Levon <levon@movementarian.org>
8339 * changes.C: put debug inside lyxerr.debugging() checks
8341 2003-03-11 André Pönitz <poenitz@gmx.net>
8343 * factory.C: make it aware of InsetHFill
8345 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8347 * buffer.C (latexParagraphs): move function from here...
8348 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8351 2003-03-10 Angus Leeming <leeming@lyx.org>
8353 * LyXAction.C (init): fix bug in poplating array with multiple entries
8354 with the same LFUN (spotted by JMarc).
8356 2003-03-10 John Levon <levon@movementarian.org>
8359 * text2.C: move getColumnNearX() near its
8362 2003-03-10 John Levon <levon@movementarian.org>
8364 * text.C: fix break before a minipage
8366 2003-03-10 John Levon <levon@movementarian.org>
8368 * text.C: fix the last commit
8370 2003-03-09 John Levon <levon@movementarian.org>
8374 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8375 bug 365 (don't break before insets unless needed). Don't
8376 return a value > last under any circumstances.
8378 2003-03-09 Angus Leeming <leeming@lyx.org>
8380 * BufferView_pimpl.C (trackChanges, dispatch): call
8381 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8383 2003-03-09 Angus Leeming <leeming@lyx.org>
8385 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8386 than Dialogs::showAboutlyx().
8388 2003-03-09 Angus Leeming <leeming@lyx.org>
8390 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8391 than Dialogs::showTabularCreate().
8393 2003-03-09 John Levon <levon@movementarian.org>
8397 * text2.C: 3rd arg to nextBreakPoint was always the same.
8400 2003-03-08 John Levon <levon@movementarian.org>
8407 * text2.C: Remove the "main" bit from the "main body"
8410 2003-03-08 John Levon <levon@movementarian.org>
8412 * text.C (leftMargin): The left margin of an empty
8413 manual label paragraph should not include the label width
8416 * text.C (prepareToPrint): don't attempt to measure hfills
8417 for empty manual label paragraphs - the answer should be 0
8419 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * CutAndPaste.C: remove commented code and reindent.
8423 2003-03-08 John Levon <levon@movementarian.org>
8426 * lyxfunc.C: move reloadBuffer()
8429 * BufferView.C: to here
8431 * lyxvc.C: add comment
8434 * vc-backend.C: call bv->reload() to avoid
8435 getStatus() check on MENURELOAD
8437 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8439 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8440 to an old format .dep file.
8442 2003-03-07 Angus Leeming <leeming@lyx.org>
8444 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8445 when the LFUN_MOUSE_RELEASE should have been handled by
8446 inset->localDispatch.
8448 2003-03-07 Angus Leeming <leeming@lyx.org>
8450 * BufferView_pimpl.C (dispatch):
8451 * LyXAction.C (init):
8452 * ToolbarDefaults.C (init):
8454 * lyxfunc.C (getStatus):
8455 remove LFUN_INSET_GRAPHICS.
8457 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8459 2003-03-07 Angus Leeming <leeming@lyx.org>
8462 * LyXAction.C (init):
8463 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8465 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8468 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8470 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8471 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8473 2003-03-07 Angus Leeming <leeming@lyx.org>
8475 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8478 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * ParagraphList.C (front): new function
8483 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8485 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8486 and top_row_offset_. removed var first_y.
8488 * text2.C (LyXText, removeRow):
8490 * BufferView_pimpl.C:
8491 use these methods instead of using first_y
8493 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * text2.C (pasteSelection): adjust for checkPastePossible
8497 * CutAndPaste.C: remove Paragraph * buf and replace with
8498 ParagraphList paragraphs.
8499 (DeleteBuffer): delete
8500 (cutSelection): change the tc type to textclass_type
8501 (copySelection): change the tc type to textclass_type
8502 (copySelection): adjust for ParagraphList
8503 (pasteSelection): change the tc type to textclass_type
8504 (pasteSelection): adjust for Paragraphlist
8505 (nrOfParagraphs): simplify for ParagraphList
8506 (checkPastePossible): simplify for ParagraphList
8507 (checkPastePossible): remove unused arg
8509 * ParagraphList.C (insert): handle the case where there are no
8512 * CutAndPaste.h: make CutAndPaste a namespace.
8514 * text3.C (dispatch): adjust
8516 * text.C (breakParagraph): add a ParagraphList as arg
8518 * paragraph_funcs.C (breakParagraph): change to take a
8519 BufferParams and a ParagraphList as args.
8520 (breakParagraphConservative): ditto
8521 (mergeParagraph): ditto
8522 (TeXDeeper): add a ParagraphList arg
8523 (TeXEnvironment): ditto
8526 * buffer.C (readLyXformat2): adjust
8527 (insertStringAsLines): adjust
8528 (latexParagraphs): adjust
8530 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8531 (cutSelection): adjust
8532 (pasteSelection): adjust
8534 * BufferView_pimpl.C (insertInset): adjust
8536 2003-03-05 Angus Leeming <leeming@lyx.org>
8539 * LyXAction.C (init):
8540 * BufferView_pimpl.C (dispatch):
8541 * lyxfunc.C (getStatus):
8542 remove LFUN_CHILD_INSERT.
8544 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8546 2003-03-05 Angus Leeming <leeming@lyx.org>
8549 * LyXAction.C (init):
8550 * src/factory.C (createInset):
8551 * lyxfunc.C (getStatus):
8552 * text3.C (dispatch):
8553 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8555 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8557 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8559 * ParagraphList.C (insert): handle insert right before end()
8560 (erase): fix cases where it can be first or last paragraph.
8562 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8564 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8565 Paragraph::next and Paragraph::previous
8568 * text.C (breakParagraph): adjust
8570 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8571 BufferParams& as arg.
8572 (breakParagraph): use ParagraphList::insert
8573 (breakParagraphConservative): take a Buffer* instead of a
8574 BufferParams& as arg.
8575 (breakParagraphConservative): use ParagraphList::insert.
8577 * buffer.C (insertStringAsLines): un-const it
8578 (insertStringAsLines): adjust
8580 * ParagraphList.C (insert): new function
8582 * CutAndPaste.C (pasteSelection): adjust
8584 * text.C (backspace): adjust
8586 * tabular.C (SetMultiColumn): adjust
8588 * CutAndPaste.C (cutSelection): adjust
8589 (pasteSelection): adjust
8591 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8592 Buffer const * as arg
8594 * ParagraphList.C (erase): new function
8595 * paragraph_funcs.C (mergeParagraph): use it
8596 (mergeParagraph): make it take a Buffer* instead of a
8597 BufferParams* as arg
8599 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8601 (breakParagraphConservative): ditto
8603 * paragraph.h: remove the breakParagraph friend
8605 * paragraph.C (eraseIntern): new function
8606 (setChange): new function
8608 * paragraph_funcs.C (mergeParagraph): make it take a
8609 ParagraphList::iterator instead of a Paragraph *, adjust
8612 * paragraph.h: move an #endif so that the change tracking stuff
8613 also works in the NO_NEXT case.
8615 2003-03-04 Angus Leeming <leeming@lyx.org>
8618 * LyXAction.C: new LFUN_INSET_MODIFY.
8620 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8621 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8623 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8625 * several files: ws changes only
8627 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8628 (TeXEnvironment): ditto
8631 * buffer.C (makeLaTeXFile): adjust
8632 (latexParagraphs): make it take ParagraphList::iterator as args
8634 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * buffer.C (latexParagraphs): adjust
8638 * paragraph.C (TeXOnePar): move function...
8639 (optArgInset): move function...
8640 (TeXEnvironment): move function...
8641 * paragraph_pimpl.C (TeXDeeper): move function...
8642 * paragraph_funcs.C: ...here
8644 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8646 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * buffer.C (readInset): remove compability code for old Figure and
8651 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8653 * buffer.C: ws changes
8656 * BufferView_pimpl.C: ditto
8659 * bufferlist.h: ditto
8663 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8665 * converter.[Ch]: split into itself +
8668 * Makefile.am: += graph.[Ch] + format.[Ch]
8675 * lyxrc.C: added #include "format.h"
8677 2003-02-27 Angus Leeming <leeming@lyx.org>
8679 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8682 * factory.C (createInset): add "label" to the factory.
8684 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8685 string and do no more.
8687 2003-02-27 Angus Leeming <leeming@lyx.org>
8690 * LyXAction.C (init):
8691 * factory.C (createInset):
8692 * BufferView_pimpl.C (dispatch):
8693 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8695 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8697 * lyxfunc.C (dispatch):
8698 * text3.C (dispatch): pass name to params2string.
8700 2003-02-26 Angus Leeming <leeming@lyx.org>
8702 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8704 Rearrange the ~includes. Strip out the unnecessary ones.
8706 * factory.C (createInset): reformat.
8707 create new insets for the various LFUN_XYZ_APPLY lfuns.
8709 2003-02-26 John Levon <levon@movementarian.org>
8712 * lyxrow.C: add isParStart,isParEnd helpers
8714 * paragraph.h: make isInserted/DeletedText take refs
8716 * paragraph_funcs.h:
8717 * paragraph_funcs.C: remove #if 0'd code
8722 * text.C: use lyxrow helpers above.
8723 Move draw and paint routines to RowPainter.
8724 Make several methods use refs not pointers.
8725 Make backgroundColor() const.
8726 Add markChangeInDraw(), isInInset().
8727 Merge changeRegionCase into changeCase.
8728 Make workWidth() shouldn't-happen code into an Assert.
8731 * rowpainter.C: new class for painting a row.
8734 * vspace.C: make inPixels take a ref
8736 2003-02-26 Angus Leeming <leeming@lyx.org>
8738 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8741 2003-02-25 John Levon <levon@movementarian.org>
8743 * ispell.C: give the forked command a more accurate name
8745 2003-02-22 John Levon <levon@movementarian.org>
8748 * toc.C: make TocItem store an id not a Paragraph *
8751 2003-02-21 Angus Leeming <leeming@lyx.org>
8753 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8754 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8755 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8756 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8757 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8758 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8760 * BufferView_pimpl.C (dispatch):
8761 * LyXAction.C (init):
8762 * factory.C (createInset):
8763 * lyxfunc.C (getStatus, dispatch):
8764 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8766 2003-02-21 Angus Leeming <leeming@lyx.org>
8768 * BufferView_pimpl.C (MenuInsertLyXFile):
8769 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8770 * lyxfunc.C (menuNew, open, doImport):
8771 no longer pass a LyXView & to fileDlg.
8773 2003-02-21 Angus Leeming <leeming@lyx.org>
8775 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8776 * LyXAction.C: change, BIBKEY to BIBITEM.
8777 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8778 Change InsetBibKey to InsetBibitem.
8779 Change BIBKEY_CODE to BIBITEM_CODE.
8780 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8781 * factory.C: replace insetbib.h with insetbibitem.h.
8782 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8783 * paragraph.C: replace insetbib.h with insetbibitem.h.
8784 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8785 Change bibkey() to bibitem().
8786 * text.C: remove insetbib.h.
8787 * text2.C: replace insetbib.h with insetbibitem.h.
8788 change bibkey() to bibitem().
8789 * text3.C: remove insetbib.h.
8790 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8792 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8794 * lyxrc.C (output): enclose user email in quotes (in case there are
8797 2003-02-18 John Levon <levon@movementarian.org>
8799 * buffer.h: add std::
8801 2003-02-17 John Levon <levon@movementarian.org>
8807 * pspell.C: reworking. Especially in ispell, a large
8808 number of clean ups and bug fixes.
8810 * lyxfunc.C: fix revert to behave sensibly
8812 2003-02-17 André Pönitz <poenitz@gmx.net>
8815 * commandtags.h: new LFUN_INSERT_BIBKEY
8825 * paragraph_func.C: remove special bibkey handling
8827 2003-02-17 John Levon <levon@movementarian.org>
8829 * text.C (Delete): fix case where delete at the end of
8830 the very first paragraph would not merge the pars
8832 2003-02-17 John Levon <levon@movementarian.org>
8834 * lyxrow.C: fix lastPrintablePos()
8836 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * bufferparams.C (writeLaTeX): add a std:here
8840 * buffer.C: and remove a using directive there
8842 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * buffer.C (makeLaTeXFile): move the code that generates the
8847 * bufferparams.C (writeLaTeX): ... in this new method
8849 * LaTeXFeatures.C (getEncodingSet): make const
8850 (getLanguages): make const
8852 * MenuBackend.C (binding): returns the binding associated to this
8854 (add): sets the status of each item by calling getStatus. Adds
8856 (read): add support for OptSubMenu
8857 (expand): remove extra separator at the end of expanded menu
8859 2003-02-15 John Levon <levon@movementarian.org>
8862 * BufferView_pimpl.C:
8864 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8865 inset code that had no actual effect. Remove unneeded status
8868 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8870 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8873 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8875 * text.C (drawLengthMarker): also draw an arrow marker for
8876 symbolic lengths (medskip...)
8878 2003-02-14 John Levon <levon@movementarian.org>
8881 * tabular.C: better method names
8883 2003-02-14 John Levon <levon@movementarian.org>
8885 * BufferView_pimpl.C:
8890 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8891 it's a more accurate name. Remove some pointless uses.
8893 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8895 * text2.C (LyXText): change order of initilizers to shut off
8898 2003-02-14 John Levon <levon@movementarian.org>
8900 * buffer.C: use ParIterator for getParFromID()
8904 * paragraph_pimpl.h:
8905 * paragraph_pimpl.C: remove unused getParFromID()
8907 2003-02-14 John Levon <levon@movementarian.org>
8909 * buffer.C: remove some very old #if 0'd parse code
8911 2003-02-13 John Levon <levon@movementarian.org>
8915 * text2.C: move hfillExpansion(), numberOfSeparators(),
8916 rowLast(), rowLastPrintable(), numberofHfills(),
8917 numberOfLabelHfills() ...
8920 * lyxrow.C: ... to member functions here.
8925 * text.C: remove LyXText::beginningOfMainBody(), and call
8926 p->beginningOfMainBody() directly. Move the check for
8927 LABEL_MANUAL into the latter.
8934 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8940 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8941 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8943 2003-02-13 John Levon <levon@movementarian.org>
8945 * CutAndPaste.C: remove debug
8947 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8949 * paragraph.C (asString): remove two unused variables
8951 * lyxtextclass.C (readTitleType):
8953 (LyXTextClass): handle new members titletype_ and titlename_
8955 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8957 2003-02-09 John Levon <levon@movementarian.org>
8960 * buffer.C: replace hand-coded list with a map for the dep clean
8962 2003-02-08 John Levon <levon@movementarian.org>
8964 * LaTeX.C: consolidate code into showRunMessage() helper
8966 2003-02-08 John Levon <levon@movementarian.org>
8971 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8972 and pass the size in explicitly
8974 * BufferView_pimpl.h:
8975 * BufferView_pimpl.C:
8977 * BufferView.C: add getCurrentChange()
8979 * BufferView_pimpl.h:
8980 * BufferView_pimpl.C: handle change lfuns
8982 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8983 for changes. Mark pasted paragraphs as new.
8985 * support/lyxtime.h:
8986 * support/lyxtime.C:
8987 * DepTable.C: abstract time_t as lyx::time_type
8990 * LColor.C: add colours for new text, deleted text, changebars
8992 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8993 package use "usenames" option.
8997 * LyXAction.C: add change lfuns
9001 * author.C: author handling
9004 * buffer.C: add a per-buffer author list, with first entry as
9005 current author. Handle new .lyx tokens for change tracking. Output
9006 author list to .lyx file. Output dvipost stuff to .tex preamble.
9007 Bump lyx format to 222.
9010 * bufferlist.C: add setCurrentAuthor() to reset current author details
9014 * bufferparams.C: add param for tracking
9016 * bufferview_funcs.C: output change info in minibuffer
9020 * changes.C: add change-tracking structure
9023 * debug.C: add CHANGES debug flag
9026 * lyxfind.C: add code for finding the next change piece
9029 * lyxrc.C: add user_name and user_email
9032 * lyxrow.C: add a metric for the top of the text line
9035 * text.C: implement accept/rejectChange()
9038 * text.C: paint changebars. Paint new/deleted text in the chosen
9039 colours. Strike through deleted text.
9043 * paragraph_pimpl.h:
9044 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9045 in the current change to the insert functions. Rework erase to
9046 mark text as deleted, adding an eraseIntern() and a range-based
9047 erase(). Implement per-paragraph change lookup and
9050 * paragraph_funcs.C: Fixup paste for change tracking.
9052 * tabular.C: mark added row/columns as new.
9054 * text.C: fix rowLast() to never return -1. Don't allow
9055 spellchecking of deleted text. Track transpose changes. Don't
9056 allow paragraph break or merge where appropriate.
9058 * text2.C: leave cursor at end of selection after a cut.
9060 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9062 * text.C (getLengthMarkerHeight):
9063 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9064 visible on screen too.
9066 2003-02-07 John Levon <levon@movementarian.org>
9068 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9070 2003-02-05 Angus Leeming <leeming@lyx.org>
9072 * lyxserver.C (read_ready): revert my patch of 11 September last year
9073 as it sends PC cpu through the roof. Presumably this means that
9074 the lyxserver will no longer run on an Alpha...
9076 2003-01-30 Angus Leeming <leeming@lyx.org>
9078 * factory.C (createInset): create an InsetCommandParam of type "index"
9079 and use it to 'do the right thing'.
9081 * text2.C (getStringToIndex): ensure that cursor position is always
9082 reset to the reset_cursor position.
9084 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9086 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9089 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9093 * lyxfunc.C: Output messages with identical spelling, punctuation,
9096 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9098 * MenuBackend.C (expandFormats): List only viewable export formats
9101 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9104 * lyxfunc.C (getStatus): Make sure that formats other than
9105 "fax" can also be disabled
9107 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9109 * text3.C (dispatch): put the lfuns that insert insets in 3
9110 groups, and call doInsertInset with appropriate arguments.
9111 (doInsertInset): new function, that creates an inset and inserts
9112 it according to some boolean parameters.
9114 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9116 * buffer.C (readFile): remember to pass on 'par' when calling
9117 readFile recursively.
9119 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * MenuBackend.C (expandFormats): add "..." to import formats.
9123 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9125 * paragraph.C (asString): Remove XForms RTL hacks.
9127 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9128 * buffer.C: fix typo
9130 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9132 * Makefile.am (LIBS): delete var
9133 (lyx_LDADD): add @LIBS@ here instead.
9135 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9137 * Clarify the meaning of "wheel mouse jump"
9139 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9141 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9144 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9146 * importer.C (Loaders): do not preallocate 3 elements in the
9147 vector, since one ends up with 6 elements otherwise
9149 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9151 * DepTable.C (write): write the file name as last element of the
9152 .dep file (because it may contain spaces)
9153 (read): read info in the right order
9155 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9157 * paragraph_pimpl.C (simpleTeXBlanks):
9158 (simpleTeXSpecialChars):
9159 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9161 * tabular.C (latex): add some missing case statements. Reindent.
9163 * MenuBackend.C (expandToc): remove unused variable.
9165 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9174 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9177 2003-01-05 John Levon <levon@movementarian.org>
9180 * BufferView.C: add getEncoding()
9183 * kbsequence.C: do not store last keypress
9186 * lyxfunc.C: store last keypress here instead. Pass encoding
9189 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9191 * lyx_main.C (init): remove annoying error message when following
9192 symbolic links (bug #780)
9194 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9196 * text.C (insertChar):
9197 * lyxrc.C (getDescription): remove extra spaces
9199 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9201 * lyxrc.C (getDescription): remove extra spaces
9203 2002-12-20 John Levon <levon@movementarian.org>
9205 * text3.C: hack fix for page up/down across tall rows
9207 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9209 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9212 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9214 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9215 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9216 thesaurus is not compiled in
9218 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9220 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9222 2002-12-16 Angus Leeming <leeming@lyx.org>
9225 * lyx_main.C (init): remove override_x_deadkeys stuff.
9227 2002-12-12 John Levon <levon@movementarian.org>
9229 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9230 insert. Only remove shift modifier under strict
9233 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9235 * MenuBackend.C (expandToc): fix crash.
9237 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9239 * MenuBackend.C (expandToc): gettext on float names.
9241 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9243 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9244 implement bool empty() [bug 490]
9246 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9248 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9250 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9252 * several files: ws changes
9254 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9256 * text2.C (setCounter): clean up a bit, use boost.format.
9257 (updateCounters): initialize par upon declaration.
9259 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9260 if the layout exists. We do not just store the layout any more.
9261 (SwitchLayoutsBetweenClasses): use boost.format
9263 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9265 * converter.C (convert): if from and to files are the same, use a
9266 temporary files as intermediary
9268 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9271 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9273 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9275 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9277 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9279 * tabular.C (asciiPrintCell): use string(size, char) instead of
9282 * sgml.C (openTag): fix order of arguments to string constructor
9285 * lyxfunc.C (dispatch): use boost.format
9287 * lots of files: change "c" -> 'c'
9289 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9291 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9293 2002-11-25 Angus Leeming <leeming@lyx.org>
9295 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9297 * lyx_main.C (init): compile fix.
9299 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9301 * lyx_cb.C (start): boost.formatify
9302 do not include <iostream>
9304 * lengthcommon.C: ws only
9306 * boost-inst.C,BoostFormat.h: add more explict instantations
9308 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9310 * lots of files: handle USE_BOOST_FORMAT
9312 2002-11-21 John Levon <levon@movementarian.org>
9314 * pspell.C: fix compile
9316 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9318 * lyxfunc.C (dispatch): use boost::format
9322 * lyxfont.C (stateText): use boost::format
9324 * lyx_main.C (LyX): use boost::format
9326 (queryUserLyXDir): ditto
9329 (typedef boost::function): use the recommened syntax.
9331 * importer.C (Import): use boost::format
9333 * debug.C (showLevel): use boost::format
9335 * converter.C (view): use boost::format
9340 * bufferview_funcs.C (currentState): use boost::format
9342 * bufferlist.C (emergencyWrite): use boost::format
9344 * buffer.C (readLyXformat2): use boost::format
9345 (parseSingleLyXformat2Token): ditto
9347 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9349 * LaTeX.C (run): use boost::format
9351 * Chktex.C (scanLogFile): use boost::format
9353 * BufferView_pimpl.C (savePosition): use boost::format
9354 (restorePosition): ditto
9355 (MenuInsertLyXFile): ditto
9357 * BoostFormat.h: help file for explicit instation.
9359 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9361 * tabular.C (latex): Support for block alignment in fixed width
9364 2002-11-17 John Levon <levon@movementarian.org>
9366 * BufferView_pimpl.C:
9368 * lyxfunc.C: split filedialog into open/save
9370 2002-11-08 Juergen Vigna <jug@sad.it>
9372 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9373 by my last patch (hopefully).
9375 2002-11-08 John Levon <levon@movementarian.org>
9384 * toc.C: ParConstIterator, and use it (from Lars)
9386 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9388 * lyxtextclass.[Ch]: revise and add doxygen comments
9390 2002-11-07 John Levon <levon@movementarian.org>
9392 * text.C: fix progress value for spellchecker
9394 * toc.C: fix navigate menu for insetwrap inside minipage
9396 * paragraph_funcs.C: added FIXME for suspect code
9398 2002-11-07 John Levon <levon@movementarian.org>
9400 * BufferView_pimpl.C: fix redrawing of insets
9403 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * text2.C (updateCounters): fix bug 668
9407 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9409 * text3.C (dispatch): Do not make the buffer dirty when moving the
9412 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9414 * vc-backend.C: STRCONV
9417 * text2.C (setCounter): STRCONV
9419 * paragraph.C (asString): STRCONV
9421 * lyxlength.C (asString): STRCONV
9422 (asLatexString): ditto
9424 * lyxgluelength.C (asString): STRCONV
9425 (asLatexString): ditto
9427 * lyxfunc.C (dispatch): STRCONV
9430 * lyxfont.C (stateText): STRCONV
9432 * importer.C (Import): STRCONV
9434 * counters.C (labelItem): STRCONV
9435 (numberLabel): ditto
9436 (numberLabel): remove unused ostringstream o
9441 * bufferview_funcs.C (currentState): STRCONV
9443 * buffer.C (readFile): STRCONV
9444 (asciiParagraph): ditto
9445 (makeLaTeXFile): ditto
9447 * Spacing.C (writeEnvirBegin): STRCONV
9449 * LaTeXFeatures.C (getLanguages): STRCONV
9450 (getPackages): ditto
9452 (getBabelOptions): ditto
9453 (getTClassPreamble): ditto
9454 (getLyXSGMLEntities): ditto
9455 (getIncludedFiles): ditto
9459 (scanAuxFile): ditto
9462 * LString.h: add the STRCONV macros
9464 * BufferView_pimpl.C (savePosition): STRCONV
9465 (restorePosition): ditto
9466 (MenuInsertLyXFile): ditto
9468 * vc-backend.C (scanMaster): change from submatch[...] to
9471 * funcrequest.C: include config.h
9473 * factory.C: include config.h
9475 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9477 * box.C: include config.h
9479 * LaTeX.C (scanAuxFile): change from submatch[...] to
9483 2002-10-25 Angus Leeming <leeming@lyx.org>
9485 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9487 * ispell.[Ch] (setError): new method.
9488 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9489 Use setError() insetead of goto END.
9491 * lyx_cb.C (AutoSave): move out child process into new class
9494 2002-10-30 John Levon <levon@movementarian.org>
9496 * text3.C: make start appendix undoable
9498 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9500 * lyxlength.C (inPixels): Fix returned value.
9502 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9505 2002-10-24 Angus Leeming <leeming@lyx.org>
9507 * lyxgluelength.h: no need to forward declare BufferParams
9508 or BufferView, so don't.
9510 2002-10-21 John Levon <levon@movementarian.org>
9512 * BufferView.C: menuUndo ->undo, redo
9514 * BufferView.h: document, remove dead, make some methods private
9516 * paragraph_funcs.h:
9517 * paragraph_funcs.C:
9518 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9523 * sgml.C: move sgml open/close tag into sgml.C
9525 * bufferview_funcs.h: unused prototype
9528 * lyxfunc.C: remove unused
9531 * text.C: remove unused
9533 2002-10-21 John Levon <levon@movementarian.org>
9537 * BufferView_pimpl.h:
9538 * BufferView_pimpl.C: fix mouse wheel handling based on
9539 patch from Darren Freeman
9541 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9543 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9545 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9547 * lyxlength.C (inPixels): Fix hanfling of negative length.
9548 Fix LyXLength::MU case.
9550 2002-10-16 John Levon <levon@movementarian.org>
9552 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9554 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9556 * converter.C (view): add support for $$i (file name) and $$p
9557 (file path) for the viewer command. If $$i is not specified, then
9558 it is appended to the command (for compatibility with old syntax)
9560 2002-10-14 Juergen Vigna <jug@sad.it>
9562 * undo_funcs.C (textHandleUndo): alter the order in which the
9563 new undopar is added to the LyXText, as we have to set first
9564 the right prev/next and then add it as otherwise the rebuild of
9565 LyXText is not correct. Also reset the cursor to the right paragraph,
9566 with this IMO we could remove the hack in "redoParagraphs()".
9568 2002-10-09 Angus Leeming <leeming@lyx.org>
9570 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9571 to turn off an optimisation if a new inset is to be inserted.
9573 2002-10-11 André Pönitz <poenitz@gmx.net>
9575 * lyxtext.h: make some functions public to allow access
9576 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9578 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9580 * text3.C (dispatch): when changing layout, avoid an infinite loop
9583 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * lyxrc.C (read): treat a viewer or converter command of "none" as
9588 * MenuBackend.C (expandFormats): for an update, also allow the
9589 formats that are not viewable
9591 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9592 script if it is newer than the lyxrc.defaults in user directory
9594 2002-10-07 André Pönitz <poenitz@gmx.net>
9596 * text.C: Vitaly Lipatov's small i18n fix
9598 2002-09-25 Angus Leeming <leeming@lyx.org>
9600 * ispell.h: doxygen fix.
9602 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9604 * buffer.h (readFile): Add a new argument to the method, to allow
9605 reading of old-format templates.
9607 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9609 * toc.C (getTocList): Get TOC from InsetWrap.
9611 2002-09-16 John Levon <levon@movementarian.org>
9613 * lyxfunc.C: check tabular for cut/copy too
9615 2002-09-12 John Levon <levon@movementarian.org>
9620 * factory.C: add header
9622 * paragraph_funcs.h:
9623 * paragraph_funcs.C: cleanup
9625 2002-09-11 John Levon <levon@movementarian.org>
9627 * PrinterParams.h: odd/even default to true
9629 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9631 * PrinterParams.h: update printer parameters for new xforms dialog
9633 2002-09-11 Angus Leeming <leeming@lyx.org>
9635 * lyxserver.C (read_ready): re-write to make it more transparent
9636 and to make it work in coherent fashion under Tru64 Unix.
9638 2002-09-11 André Pönitz <poenitz@gmx.net>
9642 * text3.C: implement LFUN_WORDSEL
9644 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9646 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9647 make floatlist_ a boost::shared_ptr<FloatList>
9649 * lyxtextclass.C: include FloatList.h
9650 (LyXTextClass): initialize floatlist_
9651 (TextClassTags): add TC_NOFLOAT
9652 (Read): match "nofloat" to TC_NOFLOAT and use it.
9653 (readFloat): modify call to floatlist_
9657 * FloatList.[Ch] (FloatList): remove commented out float
9659 (erase): new function
9661 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9663 * MenuBackend.C (expandToc): fix crash when there is no document
9666 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9668 * many files: Add insetwrap.
9670 2002-09-09 John Levon <levon@movementarian.org>
9672 * text2.C: remove confusing and awkward depth wraparound
9674 2002-09-09 John Levon <levon@movementarian.org>
9676 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9679 * buffer.C: remove getIncludeonlyList()
9682 * lyxfunc.C: remove headers
9684 2002-09-09 Juergen Vigna <jug@sad.it>
9686 * text.C (getColumnNearX): fix form Michael this is most
9687 probably a cut&paste bug.
9689 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9691 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9693 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9694 references, ws changes.
9696 * text2.C (init): update counters after init
9697 (insertParagraph): no need to set counter on idividual paragraphs.
9698 (setCounter): access the counters object in the textclass object
9699 on in the buffer object.
9700 (updateCounters): ditto
9702 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9703 shared_ptr<Counters> to avoid loading counters.h in all
9705 (LyXTextClass): initialize ctrs_
9706 (TextClassTags): add TC_COUNTER, and ...
9707 (Read): use it here.
9708 (CounterTags): new tags
9709 (readCounter): new function
9710 (counters): new funtion
9711 (defaultLayoutName): return a const reference
9713 * counters.C (Counters): remove contructor
9714 (newCounter): remove a couple of unneeded statements.
9715 (newCounter): simplify a bit.
9716 (numberLabel): some small formatting changes.
9718 * buffer.[Ch]: remove all traces of counters, move the Counters
9719 object to the LyXTextClass.
9721 2002-09-06 Alain Castera <castera@in2p3.fr>
9723 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9724 package to set the horizontal alignment on fixed width columns.
9727 * lyx_sty.h: added tabularnewline macro def.
9729 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9731 2002-09-06 John Levon <levon@movementarian.org>
9733 * LyXAction.C: tooltips for sub/superscript
9735 * MenuBackend.C: a bit more verbose
9737 * lyxfunc.C: tiny clean
9739 * undo_funcs.C: document undo_frozen
9741 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9743 * counters.C (Counters): add missing algorithm counter.
9745 * text2.C (setCounter): lookup the counter with layouts latexname
9746 instead of by section number.
9747 (setCounter): use a hackish way to lookup the correct enum
9749 a float name->type change
9750 reset enum couners with counter name directly instead of depth value.
9752 * counters.C (Counters): remove the push_backs, change to use the
9753 float type not the float name.
9754 (labelItem): remove unused string, float name->type change
9756 * counters.h: don't include vector, loose the enums and sects vectors
9758 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9760 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9761 (Read): add float->TC_FLOAT to textclassTags
9762 (Read): and handle it in the switch
9763 (readFloat): new function
9765 * FloatList.C (FloatList): comment out the hardcoded float
9768 * lyxlayout.h: ws change.
9770 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9772 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9774 2002-09-03 Angus Leeming <leeming@lyx.org>
9776 * BufferView_pimpl.h: qualified name is not allowed in member
9777 declaration: WorkArea & Pimpl::workarea() const;
9779 * factory.C: added using std::endl directive.
9781 * text3.C: added using std::find and std::vector directives.
9783 2002-08-29 André Pönitz <poenitz@gmx.net>
9786 * text2.C: remove unused member number_of_rows
9789 * BufferView2.C: remove file, move contents to...
9790 * BufferView.C: ... here
9792 * BufferView_pimpl.C:
9793 * factory.C: move more inset creation to factory
9795 * vspace.C: avoid direct usage of LyXText, ws changes
9798 don't provide direct access to WorkArea, use two simple
9799 acessors haveSelction() and workHeight() instead
9802 2002-08-29 John Levon <levon@movementarian.org>
9804 * BufferView_pimpl.C (dispatch): do not continue when
9807 2002-08-28 André Pönitz <poenitz@gmx.net>
9809 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9812 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9814 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9816 * buffer.C: increment LYX_FORMAT to 221
9818 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9819 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9821 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9823 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9825 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9827 * factory.C (createInset): use LyXTextClass::floats
9829 * MenuBackend.C (expandFloatListInsert):
9830 (expandFloatInsert):
9833 * text2.C (setCounter):
9835 * LaTeXFeatures.C (useFloat):
9836 (getFloatDefinitions):
9838 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9840 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9841 floatlist_, with accessor floats().
9843 * FloatList.h: remove global FloatList
9845 2002-08-26 André Pönitz <poenitz@gmx.net>
9847 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9851 * BufferView_pimpl.C:
9852 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9854 2002-08-25 John Levon <levon@movementarian.org>
9856 * LyXAction.C: fix margin note description
9858 2002-08-24 John Levon <levon@movementarian.org>
9862 * bufferview_funcs.C:
9864 * undo_funcs.C: cleanups
9866 * lyxfunc.C: disable CUT/COPY when no selection
9868 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9870 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9871 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9873 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9874 Add backward compatibility to "mono", "gray" and "no".
9876 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9878 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9879 (and file_format >= 200).
9881 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9883 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9885 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9889 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9891 * BufferView_pimpl.C:
9898 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9899 inset and code to make it work with the paragraph code. The inset
9900 can be anywhere in the paragraph, but will only do the expected
9901 thing in LaTeX if the layout file contains the parameter line
9903 (or more generally, a nonzero value) for that layout.
9905 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9907 * paragraph.h: remove the declaration of undefined counters class
9910 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9912 * text2.C (setCounter): fixed enumeration mis-count as reported by
9913 Dr. Richard Hawkins.
9915 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9917 * paragraph_funcs.h: remove some unneeded includes
9919 * text.C (backspace): pasteParagraph now in global scipe
9921 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9922 (pasteSelection): ditto
9924 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9925 * paragraph_funcs.C (pasteParagraph): ... here
9927 2002-08-20 André Pönitz <poenitz@gmx.net>
9929 * commandtags.h: new LFUNs for swapping/copying table row/colums
9932 * lyxfunc.C: support for new lfuns
9934 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9937 * buffer.[Ch]: remove NO_COMPABILITY stuff
9939 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9941 * boost.C (throw_exception): new file, with helper function for
9942 boost compiled without exceptions.
9947 * ParameterStruct.h:
9948 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9950 * bufferlist.C (emergencyWriteAll): use boost bind
9952 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9954 * text.C: include paragraph_funcs.h
9955 (breakParagraph): breakParagraph is now in global scope
9957 * paragraph_funcs.[Ch]: new files
9959 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9962 * buffer.C: include paragraph_funcs.h
9963 (insertStringAsLines): breakParagraph is now in global scope
9965 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9968 * CutAndPaste.C: include paragraph_funcs.h
9969 (cutSelection): breakParagraphConservative is now in global scope
9970 (pasteSelection): ditto
9972 * buffer.h: declare oprator== and operator!= for
9973 Buffer::inset_iterator
9975 * bufferlist.C (emergencyWrite): don't use fmt(...)
9977 * text3.C: add using std::endl
9979 * BufferView.C (moveCursorUpdate): remove default arg
9981 2002-08-20 André Pönitz <poenitz@gmx.net>
9983 * buffer.[Ch]: move inline functions to .C
9986 * BufferView_pimpl.C:
9988 * buffer.[Ch]: use improved inset_iterator
9991 * paragraph.[Ch]: write one paragraph at a time
9993 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9995 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9996 style if style is not specified.
9998 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10000 * text2.C (setCounter): when searching for right label for a
10001 caption, make sure to recurse to parent insets (so that a caption
10002 in a minipage in a figure float works) (bug #568)
10004 2002-08-20 André Pönitz <poenitz@gmx.net>
10006 * text3.C: new file for LyXText::dispatch() and helpers
10008 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10010 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10012 2002-08-19 André Pönitz <poenitz@gmx.net>
10015 * text.C: new LyXText::dispatch()
10017 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10019 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10021 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10023 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10026 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10028 * Makefile.am: use $(variables) instead of @substitutions@
10030 2002-08-15 André Pönitz <poenitz@gmx.net>
10033 * BufferView_pimpl.C: streamlining mathed <-> outer world
10037 * LyXAction.C: remove unused LFUN_MATH
10039 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10041 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10043 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10045 * paragraph.C (Paragraph): reformat a bit
10046 (cutIntoMinibuffer): use builtin InsetList function instad of
10050 * buffer.C: include boost/bind.hpp, add using std::for_each
10051 (writeFileAscii): use ParagraphList iterators
10052 (validate): use for_each for validate traversal of paragraphs
10053 (getBibkeyList): use ParagraphList iterators
10054 (resizeInsets): use for_each to resizeInsetsLyXText for all
10056 (getParFromID): use ParagraphList iterators
10058 * BufferView2.C (lockInset): use paragraph list and iterators
10060 2002-08-14 John Levon <levon@movementarian.org>
10062 * lyxserver.C: remove spurious xforms include
10064 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10068 2002-08-13 André Pönitz <poenitz@gmx.net>
10071 * lyxfunc.C: further cleaning
10073 2002-08-13 André Pönitz <poenitz@gmx.net>
10075 * funcrequest.h: new constructor
10077 * funcrequest.C: move stuff here from .h
10080 * BufferView_pimpl.C:
10083 * lyxfunc.C: subsequent changes
10085 * lyxfunc.h: new view() member function
10087 * lyxfunc.C: subsequent changes
10089 2002-08-13 Angus Leeming <leeming@lyx.org>
10092 * BufferView_pimpl.C:
10100 changes due to the changed LyXView interface that now returns references
10101 to member variables not pointers.
10103 2002-08-13 Angus Leeming <leeming@lyx.org>
10105 * WordLangTuple (word, lang_code): return references to strings,
10110 * lyxtext.h: forward-declare WordLangTuple.
10115 * text.C: #include "WordLangTuple.h".
10118 * text.C: (selectNextWordToSpellcheck): constify return type.
10120 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10126 * paragraph_pimpl.h:
10129 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10130 suggested by Angus.
10131 Made updateCounter always count from start of buffer, and removed
10132 second argument (par).
10133 Reverted floats number display to '#'. Perhaps I'll try again when the
10134 code base is sanitized a bit.
10136 2002-08-12 Angus Leeming <leeming@lyx.org>
10138 * buffer.[Ch] (getLabelList): constify.
10140 2002-08-07 André Pönitz <poenitz@gmx.net>
10142 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10144 * funcrequest.h: extension to keep mouse (x,y) position
10146 2002-08-12 Juergen Vigna <jug@sad.it>
10148 * BufferView2.C (insertErrors): forbid undo when inserting error
10151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10153 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10155 * ParagraphList.[Ch]: new files
10157 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10159 * BufferView2.C (lockInset): ParagraphList changes
10162 * bufferlist.C: ditto
10166 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10168 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10169 unused class variable counter_,
10171 * paragraph.[Ch] (getFirstCounter): delete unused function
10173 * counters.C: include LAssert.h
10174 (reset): add a new function with no arg, change other version to
10175 not have def. arg and to not allow empty arg.
10177 * text2.C (setCounter): remove empty arg from call to Counters::reset
10179 2002-08-11 John Levon <levon@movementarian.org>
10181 * Makefile.am: add WordLangTuple.h
10183 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10185 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10186 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10188 * insets/insettext.C: InsetList changes
10190 * graphics/GraphicsSupport.C (operator()): InsetList changes
10192 * toc.C (getTocList): InsetList changes
10194 * paragraph_pimpl.[Ch]: InsetList changes
10196 * paragraph.[Ch]: InsetList changes
10198 * buffer.C (inset_iterator): InsetList changes
10199 (setParagraph): ditto
10200 * buffer.h (inset_iterator): ditto
10201 * iterators.C (operator++): ditto
10202 * iterators.h: ditto
10204 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10206 * InsetList.[Ch]: new files, most InsetList handling moved out of
10209 * BufferView2.C (removeAutoInsets): InsetList changes
10211 (ChangeInsets): ditto
10213 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10215 * paragraph_pimpl.h (empty): new function
10217 * paragraph.[Ch] (empty): new function
10219 * other files: use the new Paragraph::empty function
10221 2002-08-09 John Levon <levon@movementarian.org>
10223 * lyxtext.h: remove unused refresh_height
10225 2002-08-09 John Levon <levon@movementarian.org>
10232 * paragraph.C: move sgml char escaping out of paragraph
10235 * paragraph.C: remove id setter
10239 * paragraph_pimpl.C: remove dead tex_code_break_column
10241 * bufferview_funcs.C: small cleanup
10243 * lyxfunc.C: remove dead proto
10245 * lyxtext.h: make some stuff private. Remove some dead stuff.
10247 * lyxgluelength.C: make as[LyX]String() readable
10249 2002-08-08 John Levon <levon@movementarian.org>
10254 * ToolbarDefaults.C:
10257 * toc.C: lyxaction cleanup
10259 2002-08-08 John Levon <levon@movementarian.org>
10261 * BufferView2.C: small cleanup
10264 * lyxfind.C: move unnecessary header into the .C
10266 2002-08-08 John Levon <levon@movementarian.org>
10268 * funcrequest.h: just tedious nonsense
10271 * lyx_main.C: cleanups
10274 * vspace.C: remove dead header lyx_main.h
10276 2002-08-07 Angus Leeming <leeming@lyx.org>
10279 * paragraph_pimpl.h:
10280 Forward declare class Counters in paragraph.h by moving the ctrs member
10281 variable into Paragraph::Pimpl.
10282 (counters): new method, returning a reference to pimpl_->ctrs.
10284 * text2.C: ensuing changes.
10286 2002-08-07 John Levon <levon@movementarian.org>
10288 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10290 * BufferView_pimpl.C: announce X selection on double/triple
10293 * lyx_main.C: use correct bool in batch dispatch
10295 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10297 2002-08-07 André Pönitz <poenitz@gmx.net>
10299 * funcrequest.h: new class to wrap a kb_action and its argument
10302 * BufferView_pimpl[Ch]:
10306 * lyxrc.C: subsequent changes
10309 2002-08-07 John Levon <levon@movementarian.org>
10311 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10312 document options change.
10314 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10319 * makefile.am: move counters functionality over from
10320 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10322 2002-08-06 John Levon <levon@movementarian.org>
10324 * WordLangTuple.h: new file for word + language code tuple
10335 * BufferView2.C: use WordLangTuple
10338 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10340 2002-08-06 John Levon <levon@movementarian.org>
10342 * lyx_main.C: fix cmdline batch handling
10344 2002-08-06 André Pönitz <poenitz@gmx.net>
10346 * lyxrc.C: set default for show_banner to true
10348 2002-08-06 John Levon <levon@movementarian.org>
10350 * pspell.C: fix a crash, and allow new aspell to work
10352 2002-08-06 John Levon <levon@movementarian.org>
10355 * kbmap.C: small cleanup
10358 * vspace.C: add const
10360 2002-08-05 John Levon <levon@movementarian.org>
10362 * LyXAction.C: back to tabular-insert
10364 2002-08-04 John Levon <levon@movementarian.org>
10367 * BufferView.C: cosmetic change
10369 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10379 * BufferView2.C: purge all "Lyx" not "LyX" strings
10382 * lyxcursor.C: attempt to add some documentation
10387 * ToolbarDefaults.C:
10388 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10389 merge with LFUN_TABULAR_INSERT
10396 * pspell.C: split up i/pspell implementations into separate
10397 files, many cleanups
10399 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10401 * text2.C: some cleanup
10403 * lyxfunc.C: don't check for isp_command == "none" any more, it
10404 didn't make any sense
10406 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10411 * makefile.am: move counters functionality over
10412 from text2.C/paragraph.[Ch] to counters.[Ch], and
10414 2002-08-02 John Levon <levon@movementarian.org>
10416 * buffer.C: s/lyxconvert/lyx2lyx/
10418 2002-08-02 Angus Leeming <leeming@lyx.org>
10420 * lyxlex.C: revert John's change as it breaks reading of the user
10423 2002-08-02 Angus Leeming <leeming@lyx.org>
10425 * importer.C (Import):
10426 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10427 changes due to LyXView::view() now returning a boost::shared_ptr.
10429 2002-08-02 John Levon <levon@movementarian.org>
10431 * lyxlex.C: small cleanup
10433 2002-08-02 John Levon <levon@movementarian.org>
10435 * text2.C (status): small cleanup, no logic change
10437 2002-08-01 John Levon <levon@movementarian.org>
10440 * buffer.C (writeFile): don't output alerts, caller
10444 * lyx_cb.C: from above
10446 * lyxfunc.C: allow to open non-existent files
10448 2002-07-31 John Levon <levon@movementarian.org>
10450 * lyxserver.C: don't let incidental errors get
10453 2002-07-30 John Levon <levon@movementarian.org>
10455 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10457 2002-07-30 John Levon <levon@movementarian.org>
10460 * lyxserver.C: remove I/O callback too
10462 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10464 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10467 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10469 * many files: strip,frontStrip -> trim,ltrim,rtrim
10471 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * PrinterParams.h: remove extern containsOnly, and include
10474 support/lstrings.h instead.
10476 * LaTeX.C (scanAuxFile): modify because of strip changes
10478 * buffer.C (makeLaTeXFile): ditto
10479 * bufferparams.C (writeFile): ditt
10480 * lyxfont.C (stateText): ditto
10481 * lyxserver.C (read_ready): ditto
10482 * vc-backend.C (scanMaster): ditto
10484 * BufferView_pimpl.h: ws changes
10486 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10488 2002-07-26 André Pönitz <poenitz@gmx.net>
10490 * kb_sequence.C: remove unnedred usings
10492 2002-07-26 Juergen Vigna <jug@sad.it>
10494 * lyxfind.C (LyXReplace): we have to check better if the returned
10495 text is not of theLockingInset()->getLockingInset().
10497 2002-07-25 Juergen Vigna <jug@sad.it>
10499 * lyxfind.C (LyXReplace): don't replace if we don't get the
10502 * undo_funcs.C (createUndo): remove debugging code.
10504 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10506 * buffer.C (parseSingleLyXformat2Token): Use default placement
10507 when reading old floats.
10509 * FloatList.C (FloatList): Change the default placement of figure
10510 and tables to "tbp".
10512 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10514 * MenuBackend.C: using std::max
10516 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * MenuBackend.C (expandToc):
10519 (expandToc2): code moved from xforms menu frontend. It is now
10520 generic and TOCs are transparent to menu frontends.
10522 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * toc.C (getTocList): protect against buf=0
10526 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10527 Menu as first parameter. Now, this calls itself recursively to
10528 expand a whole tree (this will be useful for TOC handling)
10529 (expandFloatInsert): remove 'wide' version of floats
10531 * MenuBackend.h (submenuname): returns the name of the submenu.
10532 (submenu): returns the submenu itself, provided it has been
10533 created by MenuBackend::expand
10535 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10538 insets which have noFontChange == true. (bug #172)
10540 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10542 * BufferView_pimpl.C: add connection objects and use them...
10545 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10547 * MenuBackend.C (expandLastfiles):
10550 (expandFloatListInsert):
10551 (expandFloatInsert):
10552 (expand): split expand in parts
10554 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10556 * lyx_gui.C: use lyx_gui::exit()
10558 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10560 * LyXAction.C: show the failing pseudo action
10562 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10564 * buffer.C (readFile): Run the lyxconvert script in order to read
10567 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10571 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10573 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10577 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10579 2002-07-22 Herbert Voss <voss@lyx.org>
10582 * lyxlength.[Ch]: add support for the vertical lengths
10584 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10586 * toc.[Ch]: std:: fixes
10588 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10590 * lyxrc.C: do not include lyx_main.h
10592 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10598 * BufferView2.C: include "lyxlex.h"
10601 * bufferparams.h: do not #include "lyxlex.h"
10603 * lyxtextclasslist.C (Add): remove method
10604 (classlist): renamed to classlist_
10606 * paragraph_pimpl.C:
10610 * bufferview_funcs.C:
10615 * toc.C (getTocList): use BufferParams::getLyXTextClass
10617 * toc.C (getTocList): use InsetFloat::addToToc
10619 * toc.[Ch]: new files, containing helper functions to handle table
10622 * lyxfunc.C (dispatch): no need to remove spaces around command
10624 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10625 first command of the sequence; it is not very clever, but I do not
10626 have a better idea, actually
10628 * LyXAction.C (LookupFunc): make sure to remove space at the
10629 beginning and end of the command
10631 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * MenuBackend.C (getMenubar): new method: return the menubar of
10635 (read): treat differently reading of menu and menubar (in
10636 particular, the menubar has no name now)
10637 (Menu::menubar): remove
10639 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10642 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10644 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10645 a bibitem inset in a RTL paragraph.
10647 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10649 * paragraph_pimpl.C: constify
10651 * BufferView_pimpl.C:
10653 * lyxfunc.C: fix dispatch in a nicer way
10655 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10657 * lyxfunc.C (dispatch):
10658 * BufferView_pimpl.C:
10659 * BufferView_pimpl.h:
10661 * BufferView.h: rename Dispatch() to dispatch()
10663 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10665 * lyxlayout.C (Read): honor DependsOn tag
10667 * lyxlayout.[Ch] (depends_on): new method
10669 * version.C.in: update lyx_docversion
10671 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10673 * paragraph.C (validate): remove from here...
10674 * paragraph_pimpl.C (validate): ... and move here
10675 (isTextAt): make it const
10677 * buffer.C (getLists): ws cleanup
10679 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10681 * language.C (read): Use iso8859-1 encoding in latex_lang
10682 (this prevents LyX from crashing when using iso10646-1 encoding).
10684 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * text2.C (toggleInset): if cursor is inside an inset, close the
10687 inset and leave cursor _after_ it
10689 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10691 * lyxfunc.C: move minibuffer completion handling out of here
10693 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10695 * BufferView_pimpl.C:
10696 * LaTeX.C: fix dispatch calls
10698 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10700 * text.C (drawChars): Fix Arabic text rendering.
10702 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10706 * lyxfunc.C: remove message-push/pop
10710 * lyxfunc.C: rationalise some code by removing verboseDispatch
10711 in favour of a bool argument to dispatch()
10713 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10715 * lyx_main.C (init): make sure to read symlinks as absolute paths
10717 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10720 * lyxfunc.C: no need for commandshortcut to be a member
10722 2002-07-15 André Pönitz <poenitz@gmx.net>
10724 * converter.C: add support for $$s (scripts from lib/scripts dir)
10725 * lyx_main.C: white space
10727 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10731 * lyxrc.C: remove second exit confirmation
10733 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10738 * BufferView_pimpl.h:
10739 * BufferView_pimpl.C:
10740 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10742 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10744 * MenuBackend.C (expand): add numeric shortcuts to document menu
10746 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10748 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10750 * lyxfont.C (setLyXFamily):
10757 * buffer.C (asciiParagraph): use ascii_lowercase
10759 2002-07-15 Mike Fabian <mfabian@suse.de>
10761 * lyxlex_pimpl.C (search_kw):
10762 * lyxlex.C (getLongString):
10763 * converter.h (operator<):
10764 * converter.C (operator<):
10765 * buffer.C (parseSingleLyXformat2Token):
10767 * ToolbarDefaults.C (read):
10768 * MenuBackend.C (checkShortcuts):
10770 * LColor.C (getFromGUIName):
10771 (getFromLyXName): use the compare_ascii_no_case instead of
10772 compare_no_case, because in turkish, 'i' is not the lowercase
10773 version of 'I', and thus turkish locale breaks parsing of tags.
10775 2002-07-16 Angus Leeming <leeming@lyx.org>
10777 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10778 now takes a Buffer const & argument.
10780 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10782 * BufferView.C (resize): check there's a buffer to resize
10784 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10786 * lyxfunc.C: remove dead code
10789 * lyxserver.C: use lyx_guii::set_read_callback
10791 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10793 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10794 an inset in a RTL paragraph.
10796 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10798 * lyxfunc.C: repaint after a font size update
10800 2002-07-15 André Pönitz <poenitz@gmx.net>
10802 * lyxlength.C: inBP should be able to return negative values
10804 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10806 * lyxfunc.C: use lyx_gui::update_fonts()
10808 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10810 * lyxfunc.C: use lyx_gui::update_color()
10812 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10818 * lyxrc.C: remove file->new asks for name option, and let
10819 buffer-new take an argument
10821 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10823 * BufferView_pimpl.C: remove unneeded extra repaint()
10825 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10827 * LyXAction.C: allow command-sequence with NoBuffer
10829 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10831 2002-07-10 Angus Leeming <leeming@lyx.org>
10833 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10835 2002-07-09 Angus Leeming <leeming@lyx.org>
10837 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10839 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10841 * lengthcommon.h: whitespace
10843 * lyxfunc.C: update scrollbar after goto paragraph
10845 * lyxtext.h: factor out page break drawing, and fix it so
10846 page break/added space paints as selected nicely
10848 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10850 * BufferView_pimpl.C: add FIXMEs, clean up a little
10852 2002-07-09 André Pönitz <poenitz@gmx.net>
10854 * lyxfont.[Ch]: support for wasy symbols
10856 2002-07-08 André Pönitz <poenitz@gmx.net>
10858 * BufferView_pimpl.C: apply John's patch for #93.
10860 2002-07-05 Angus Leeming <leeming@lyx.org>
10862 * BufferView_pimpl.C (buffer): generate previews if desired.
10864 * LColor.h: add "preview" to the color enum.
10866 * LColor.C (LColor): add a corresponding entry to the items array.
10868 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10871 2002-07-05 Angus Leeming <leeming@lyx.org>
10873 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10874 The body of the code is now in the method that is passed an ostream &
10875 rather than a file name.
10876 Pass an additional only_preamble parameter, useful for the forthcoming
10879 2002-07-03 André Pönitz <poenitz@gmx.net>
10881 * lyxfunc.C: simplify getStatus() a bit for math stuff
10883 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10887 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10889 * text.C (changeRegionCase): do not change case of all the
10890 document when region ends at paragraph end (bug #461)
10892 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10894 * paragraph.C (startTeXParParams):
10895 (endTeXParParams): add \protect when necessary
10897 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10899 * BufferView_pimpl.C (workAreaExpose): remove warning
10901 2002-06-27 Angus Leeming <leeming@lyx.org>
10903 * Makefile.am: add lyxlayout_ptr_fwd.h.
10905 2002-06-26 André Pönitz <poenitz@gmx.net>
10907 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10909 2002-06-25 Angus Leeming <leeming@lyx.org>
10911 * lyxfunc.C (dispatch): Comment out the call to
10912 grfx::GCache::changeDisplay. The method no longer exists now that the
10913 pixmap generation part of the graphics loader has been moved into
10916 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10918 * text2.C: layout as layout
10920 * text.C: layout as layout
10922 * tabular.C (OldFormatRead): layout as layout
10924 * paragraph_pimpl.C (TeXDeeper): layout as layout
10925 (realizeFont): layout as layout
10927 * paragraph.C (writeFile): layout as layout
10928 (validate): layout as layout
10929 (getFont): layout as layout
10930 (getLabelFont): layout as layout
10931 (getLayoutFont): layout as layout
10932 (breakParagraph): layout as layout
10933 (stripLeadingSpaces): layout as layout
10934 (getEndLabel): layout as layout
10935 (getMaxDepthAfter): layout as layout
10936 (applyLayout): layout as layout
10937 (TeXOnePar): layout as layout
10938 (simpleTeXOnePar): layout as layout
10939 (TeXEnvironment): layout as layout
10940 (layout): layout as layout
10941 (layout): layout as layout
10943 * lyxtextclass.C (compare_name): new functor to work with
10944 shared_ptr, layout as layout
10945 (Read): layout as layout
10946 (hasLayout): layout as layout
10947 (operator): layout as layout
10948 (delete_layout): layout as layout
10949 (defaultLayout): layout as layout
10951 * lyxlayout_ptr_fwd.h: new file
10953 * lyxlayout.C (Read): layout as layout
10955 * lyx_cb.C (MenuInsertLabel): layout as layout
10957 * bufferlist.C (newFile): layout as layout
10959 * buffer.C (readLyXformat2): layout as layout
10960 (parseSingleLyXformat2Token): layout as layout
10961 (insertStringAsLines): layout as layout
10962 (asciiParagraph): layout as layout
10963 (latexParagraphs): layout as layout
10964 (makeLinuxDocFile): layout as layout
10965 (simpleLinuxDocOnePar): layout as layout
10966 (makeDocBookFile): layout as layout
10967 (simpleDocBookOnePar): layout as layout
10968 (getLists): layout as layout
10970 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10972 * CutAndPaste.C (cutSelection): layout as layout
10973 (pasteSelection): layout as layout
10974 (SwitchLayoutsBetweenClasses): layout as layout
10976 * BufferView_pimpl.C (Dispatch): layout as layout
10977 (smartQuote): layout as layout
10979 * BufferView2.C (unlockInset): layout as layout
10981 2002-06-24 André Pönitz <poenitz@gmx.net>
10983 * lyxfunc.C: fix #487
10985 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10989 * lyxfunc.C: remove display_shortcuts, show_banner
10991 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10993 * Buffer_pimpl.C: oops, update on resize
10995 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11002 * BufferView.C: use repaint()
11004 * BufferView_pimpl.h:
11005 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11006 as it's a clearer description. Remove superfluous
11009 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11011 * text.C: fix bug 488. Not ideal, but getting
11012 getWord() to work properly for the insets that
11013 matter is more difficult ...
11015 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11017 * BufferView_pimpl.C:
11020 * lyxfunc.C: remove the six million index lyxfuncs to just
11021 one, and DTRT (bug 458)
11023 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11027 * BufferView_pimpl.h:
11028 * BufferView_pimpl.C: clean up resize() stuff,
11029 and unnecessary updateScreen()s
11031 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11035 * BufferView_pimpl.h:
11036 * BufferView_pimpl.C:
11039 * minibuffer.C: remove focus management of workarea,
11040 not needed. Use screen's greyOut()
11042 2002-06-17 Herbert Voss <voss@lyx.org>
11044 * converter.C: (convert) do not post a message, when converting
11045 fails, let the calling function decide what to do in this case
11047 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11049 * lyxfunc.C: tidy up a little
11051 2002-06-16 <alstrup@diku.dk>
11053 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11054 Got rid of FORMS_H_LOCATION include. Now we are
11057 2002-06-15 LyX Development team <lyx@rilke>
11059 * buffer.[Ch] (sgmlOpenTag):
11060 (sgmlCloseTag): Added support for avoiding pernicious mixed
11061 content. Return number of lines written.
11063 (makeLinuxDocFile):
11064 (makeDocBookFile): Fixed calls to sgml*Tag.
11065 Simple white space clean.
11067 (simpleDocBookOnePar): Simple white space clean.
11069 * tabular.[Ch] (docBook): Renamed to docbook and got another
11070 argument to related with the pernicious mixed content.
11072 (docbookRow): Fixed calls for docbook inset method.
11074 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11076 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11077 so it's X11 independent.
11081 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11083 2002-06-15 Lyx Development team <lyx@electronia>
11085 * intl.h: Renamed getTrans to getTransManager.
11087 2002-06-14 Angus Leeming <leeming@lyx.org>
11089 * Makefile.am: nuke forgotten stl_string_fwd.h.
11091 2002-06-12 Angus Leeming <leeming@lyx.org>
11093 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11095 2002-06-13 Angus Leeming <leeming@lyx.org>
11098 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11100 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11102 * kbmap.C (getiso): add support for cyrillic and greek
11104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11108 * BufferView_pimpl.h:
11109 * BufferView_pimpl.C: move bogus scrolling logic
11112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11115 * BufferView_pimpl.C: view->resize() change
11117 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11119 * BufferView_pimpl.C: topCursorVisible
11122 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11126 * lyx_gui.C: move to frontends/
11130 * lyx_main.C: changes from above
11132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11139 * lyx_main.C: minor tidy
11141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11143 * BufferView_pimpl.h:
11144 * BufferView_pimpl.C:
11146 * BufferView.C: make painter() const,
11149 * BufferView2.C: use screen() accessor
11152 * lyx_main.C: some minor cleanup
11154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11156 * BufferView_pimpl.h:
11157 * BufferView_pimpl.C: remove enter/leaveView,
11160 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11165 * BufferView_pimpl.h:
11166 * BufferView_pimpl.C: only construct screen once,
11169 * lyxrc.C: remove pointless comment
11171 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11174 * BufferView.C: remove active() and belowMouse()
11176 * BufferView_pimpl.h:
11177 * BufferView_pimpl.C: use workarea() not workarea_,
11178 and make it use a scoped_ptr instead
11180 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11182 * lyx_gui.C: add debug message on BadWindow
11184 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * sp_spell.C: fdopen is not part of the C++ standard.
11188 * paragraph.C (InsetIterator): use >= instead of ==
11190 2002-06-07 Angus Leeming <leeming@lyx.org>
11192 Fixes needed to compile with Compaq cxx 6.5.
11193 * BufferView_pimpl.C:
11200 * lyxtextclasslist.C:
11205 all c-library variables have been moved into namespace std. Wrap
11206 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11211 Add a using std::abs declaration.
11213 * kbmap.h (modifier_pair):
11214 * paragraph.h (InsetTable, InsetList):
11215 * lyxfont.h (FontBits):
11216 type definition made public.
11218 * bufferlist.C (emergencyWriteAll): the compiler complains that
11219 there is more than one possible lyx::class_fun template to choose from.
11220 I re-named the void specialisation as lyx::void_class_fun.
11222 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11224 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11225 the compiler is is unable to find tostr in write_attribute.
11227 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11229 * buffer.C (sgmlError): hide #warning
11231 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11233 * xtl/*: get rid of xtl, which is not in use anyway
11235 * LyXAction.C (init):
11236 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11237 were unimplemented xtl experimentation
11239 2002-06-04 André Pönitz <poenitz@gmx.net>
11241 * lyxfunc.C: disable array operation on simple formulae
11243 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11245 * converter.C: constify a bit
11247 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11249 * lyx_gui.C: check xforms version correctly
11251 2002-04-30 Herbert Voss <voss@lyx.org>
11253 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11256 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11258 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11259 attempt to register it with a VCS)
11261 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11263 * lyx_main.C (init): honor variables LYX_DIR_13x and
11266 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11270 * lyx_main.C: fix a crash on bad command line,
11271 and give a useful exit status on error
11273 * lyxfunc.C (doImport): allow -i lyx to work
11275 2002-03-30 André Pönitz <poenitz@gmx.net>
11277 * lyxfunc.C: mathed font changes
11279 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11294 * trans_mgr.h: srcdocs, and some minor cleanups
11296 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11298 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11299 call getFont all the time)
11301 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11303 * switch from SigC signals to boost::signals
11305 2002-05-29 André Pönitz <poenitz@gmx.net>
11307 * paragraph_pimpl.C (getChar): don't call size() too often...
11309 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * paragraph_pimpl.C (insertChar): do not try to update tables when
11312 appending (pos == size())
11314 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11315 in order to reduce drastically the number of comparisons needed to
11316 parse a large document
11318 2002-05-29 André Pönitz <poenitz@gmx.net>
11324 * textclasslist.[Ch]:
11325 * sp_ispell.h: whitespace change
11327 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11330 lyxaction directly now.
11332 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11336 * lyxvc.C: remove unused headers
11338 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11345 * undo_funcs.C: some cleanups. Use shared_ptr
11346 and a template for the undo stacks.
11348 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11350 * BufferView_pimpl.h:
11351 * BufferView_pimpl.C:
11358 * text2.C: use key_state/mouse_state
11360 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11365 * chset.C: change include order
11366 (loadFile): use boost regex and get rid of LRegex and LSubstring
11368 * Makefile.am (BOOST_LIBS): new variable
11369 (lyx_LDADD): use it
11371 * LaTeX.C: change include order.
11372 (scanAuxFile): use boost regex and get rid of LRegex and
11376 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11381 * FontInfo.C: moved to frontends/xforms/
11384 * FontLoader.C: moved into frontends for GUIIzation
11389 * lyxfunc.C: changes from above
11391 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11393 * LColor.C: remove spurious X include
11395 * BufferView_pimpl.C:
11400 * text2.C: move font metrics to frontends/
11402 2002-05-24 Juergen Vigna <jug@sad.it>
11404 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11405 setting the undo_cursor.
11407 * ParagraphParameters.h: include local includes first.
11409 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11411 * BufferView_pimpl.C:
11412 * BufferView_pimpl.h:
11416 * screen.C: move WorkArea into frontends/
11422 * BufferView2.C: move LyXScreen into frontends/
11426 * lyx_gui.C: move lyxlookup into frontends/xforms/
11428 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11431 * BufferView_pimpl.C:
11441 * bufferview_funcs.C:
11454 * vc-backend.C: move LyX/XFormsView into frontends/
11456 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11468 * text2.C: move Painter to frontends/
11470 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11472 * buffer.C: comment out some some code that depend upon lyx_format
11475 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11476 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11478 * buffer.h (NO_COMPABILITY): turn off compability
11480 * ColorHandler.C: include scoped_array.hpp
11482 * font.C: Use more specific smart_ptr header.
11485 * ShareContainer.h: ditto
11486 * lyx_main.h: ditto
11488 * FontInfo.h: ditto
11489 * BufferView_pimpl.h: ditto
11490 * ColorHandler.h: ditto
11492 * kbmap.C (defkey): change call to shared_ptr::reset
11494 2002-05-21 Juergen Vigna <jug@sad.it>
11496 * buffer.C (insertErtContents): fix to insert ert asis if it is
11497 non empty. Skip it completely if it contains only whitespaces.
11499 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11501 * BufferView_pimpl.C:
11502 * BufferView2.C: clear selection on paste (bug 393)
11504 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11506 * DepTable.C: include ctime
11508 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11510 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11512 2002-05-14 Juergen Vigna <jug@sad.it>
11514 * text.C (breakParagraph): fixed function to honor the keepempty
11515 layout in the right maner and also to permit the right breaking
11516 algorithm on empty or non empyt keepempty paragraphs.
11518 * paragraph.C (breakParagraph): we have to check also if the par
11519 is really empty (!size()) for isempty otherwise we do the wrong
11522 2002-05-10 Juergen Vigna <jug@sad.it>
11524 * buffer.[Ch] : The following are only changes to the ert
11525 compatibility read reading old LaTeX layout and font stuff and
11526 convert it to ERTInsets.
11528 * buffer.h: added isErtInset().
11530 * buffer.C (struct ErtComp): add a fromlayout bool to check
11531 if we're inside a LaTeX layout.
11532 (isErtInset): new helper function.
11533 (insertErtContents): look for other ert insets before this one
11534 and insert the contents there, so that we don't have subsequent
11535 ERT insets with nothing between them. This way we create only one
11536 inset with multiple paragraphs. Also check if we don't insert only
11537 spaces ' ' as they are ignored anyway afterwards in the .tex file
11538 so if we have only spaces we will ignore this latex part in the
11540 (parseSingleLyXformat2Token \\layout): better compatibility when
11541 reading layout-latex stuff.
11542 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11544 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11545 stuff after reading the inset only get the information back from
11548 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11550 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11552 * LaTeXFeatures.C (getBabelOptions): New method.
11554 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11556 * BufferView_pimpl.C (Dispatch): work around missing argument for
11559 2002-05-08 Juergen Vigna <jug@sad.it>
11561 * text.C (leftMargin): handle paragraph leftindent.
11563 * paragraph.C (writeFile): write the new \\leftindent tag.
11564 (validate): handle leftindent code.
11565 (TeXEnvironment): handle paragraphleftindent code again.
11567 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11569 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11570 for paragrap_extra indent code and new token \\leftindent.
11571 (latexParagraphs): handle the leftindent as environment.
11573 * ParameterStruct.h: added leftindent support.
11575 * ParagraphParameters.C (leftIndent): added support functions for
11576 the paragraph left indent.
11578 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11581 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11583 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11586 * text.C (computeBidiTables): No bidi in insetERT.
11588 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11591 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11593 * version.C.in: pre 5
11595 2002-05-02 José Matos <jamatos@fep.up.pt>
11596 * buffer.C (makeDocBookFile): white space changes, add newline to
11598 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11600 * tabular.C (docBook): fix typo.
11602 2002-05-03 Juergen Vigna <jug@sad.it>
11604 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11605 change in LyXText as we can not be sure it was not freed.
11606 (drawOneRow): remove unused code.
11608 * text.C (drawInset): redo the calculation of the need_break_row as
11609 it could have a row which was already freed.
11610 (draw): look at the return value of drawInset and return false if
11611 it also returned false.
11612 (paintRowText): look at the return value of draw and return false if
11613 it also returned false.
11615 * lyxtext.h: added bool return type to drawInset() and draw() so that
11616 if we have a change in the row so that the rowbreak has to be redone
11617 we abort drawing as it will be called again.
11619 2002-05-02 Juergen Vigna <jug@sad.it>
11621 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11622 a change in the maintext also if we're inside an inset.
11623 (Dispatch): set the cursor again after a break line and after the
11624 screen has been updated as it could be we're in a different row.
11626 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11627 to set the cursor behind the pargraph with > size().
11628 (setCursor): check also for the same paragraph when checking where
11629 to put the cursor if we have a NFR inset.
11631 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11632 parts of layout read further up as it still was in the wrong
11635 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11637 * screen.C (drawFromTo): change sine fullRebreak always return
11640 * buffer.C (parseSingleLyXformat2Token): reindent some
11642 * BufferView_pimpl.C (update): change since fullRebreak always
11644 (Dispatch): git rid of the last hardcoded "Standard"s.
11646 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11648 * text2.[Ch] (fullRebreak): make it return void now that we always
11651 2002-04-30 Juergen Vigna <jug@sad.it>
11653 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11654 ert compatibility check for "latex" layout.
11656 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11658 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11659 minipages: use col% instead of p%, and also use the current font.
11660 (makeLaTeXFile): Fix use babel condition.
11661 (parseSingleLyXformat2Token): Correct font when reading old floats.
11663 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11665 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11666 inserting list of floats.
11668 2002-04-25 Herbert Voss <voss@lyx.org>
11670 * MenuBackend.C (expand): don't add the graphics extensions to the
11673 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11675 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11676 non-existing layout, do not complain if it was the default layout
11677 of the original class (bug #342)
11679 2002-04-24 Juergen Vigna <jug@sad.it>
11681 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11682 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11684 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11686 * buffer.C (getBibkeyList): If using \bibliography, return the
11687 option field with the reference itself. Enables us to provide natbib
11688 support when using \bibliography.
11690 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11692 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11694 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11695 natbib is provided by the LaTeX class.
11697 2002-04-23 Juergen Vigna <jug@sad.it>
11699 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11702 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11704 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11708 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11709 ensuremath around textordmasculine, textordfeminine and
11712 2002-04-19 Juergen Vigna <jug@sad.it>
11714 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11715 reinitializing the buffer otherwise row-dimensions may be wrong.
11716 (update): reset also the selection cursors if they do exits otherwise
11717 their x/y positions may be wrong.
11719 * text2.C (cursorDown): don't enter the inset if we came from a row
11720 above and are one row over the inset.
11722 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11723 really leaving an inset.
11725 2002-04-18 Juergen Vigna <jug@sad.it>
11727 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11728 of the selected paragraph does not have the selected layout also if
11731 * text2.C (setLayout): fixed bug which did not change last selected
11734 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11735 changed the read and substituted \\end_float with \\end_inset!
11737 * BufferView_pimpl.C (cursorPrevious):
11738 (cursorNext): fixed to make it work with rows heigher than the work
11739 area without moving the cursor only the draw of the row.
11740 (workAreaMotionNotify): fix jumping over high rows.
11742 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11744 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11747 2002-04-16 Juergen Vigna <jug@sad.it>
11749 * text2.C (setCursor): set also the irow().
11750 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11752 (cursorDown): support for locking an inset if the x_fix value goes
11753 inside it. That way I can transverse insets too with cursor up/down.
11755 * lyxrow.h: added irow helper function same as other (i) functions.
11757 * BufferView_pimpl.C (cursorPrevious):
11758 (cursorNext): fixed for insets!
11760 2002-04-15 Juergen Vigna <jug@sad.it>
11762 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11763 position otherwise it is wrong in some cases.
11765 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11766 inside the inset before the call.
11768 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11770 * buffer.[Ch] (getBibkeyList): make it const.
11772 2002-04-12 Juergen Vigna <jug@sad.it>
11774 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11776 * text2.C (getCursorX): new helper function
11777 (setCursor): compute also ix_
11778 (setCursorFromCoordinates): set also ix.
11780 * lyxcursor.h: added ix_ and helper functions.
11782 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11784 * buffer.C (insertStringAsLines): dont break paragraph if the this
11785 paragraph is inside an inset which does not permit it!
11787 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11788 also with no chars on this paragraph.
11789 (paintRowText): only paint stuff if it's inside the workarea!
11791 * paragraph.C (breakParagraph): honor keepempty flag and break the
11792 paragraph always below not above.
11794 * BufferView2.C (unlockInset): update the paragraph layout on inset
11795 unlock as we changed paragraph in such a case.
11797 * lyxfind.C (LyXFind): clear the former selection if not found!
11799 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11800 again called in insertChar().
11802 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11803 an inset which uses the whole row!
11804 (rightMargin): ditto.
11805 (insertChar): force a rebreak if we inserted an inset!
11807 2002-03-28 Herbert Voss <voss@lyx.org>
11809 * lyxlength.[Ch]: add inBP() to get the right PS-point
11810 units (BigPoint). With inPixels we have rounding errors
11812 2002-04-11 Juergen Vigna <jug@sad.it>
11814 * text2.C (setCursorFromCoordinates): set iy to the right value.
11815 (setCursor): add check if row->previous exists!
11817 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11818 an old float_type as this was the case in the old code!
11820 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11822 * BufferView2.C (showLockedInsetCursor): use iy
11823 (fitLockedInsetCursor): ditto
11825 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11826 locked insets as there we have the right value now.
11828 * lyxcursor.C: added iy_ variable and iy functions to set to the
11829 baseline of cursor-y of the locked inset.
11831 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11832 (setCursor): fixed for insets which need a full row.
11834 * text.C (rowLastPrintable): don't ignore the last space when before
11835 an inset which needs a full row.
11836 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11837 as last character of a row when before a inset which needs a full row.
11839 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11841 * version.C.in: update date
11843 * text2.C (fullRebreak): try to always return true and see what
11846 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11848 * MenuBackend.C (expand): use Floating::listName
11850 * FloatList.C (FloatList): add listName argument to the built-in
11853 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11854 text associated with the float.
11856 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11860 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * ShareContainer.h: add a couple of missing typenames.
11864 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11866 * lyxrc.C (getDescription): use _() correctly rather than N_().
11868 2002-03-28 Herbert Voss <voss@lyx.org>
11870 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11871 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11873 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11875 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11876 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11878 2002-03-29 Juergen Vigna <jug@sad.it>
11880 * lyxfunc.C (dispatch): add a missing fitCursor call.
11882 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11883 it was scrolled by a cursor move, so return the bool status.
11885 * BufferView.C (fitCursor): return the bool flag also to the outside
11886 world as this is needed.
11888 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11890 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11891 call the edit() as it is not needed (and wrong) IMO.
11892 (workAreaButtonPress): set the screen_first variable before evt.
11893 unlock the inset as this may change screen_first and then we have
11894 a wrong y position for the click!
11896 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11898 * MenuBackend.C (expand): another translation that I missed
11900 2002-03-28 Juergen Vigna <jug@sad.it>
11902 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11904 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11906 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11908 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11910 * MenuBackend.C (expand): fix export/view/update when there is no
11913 2002-03-27 Herbert Voss <voss@lyx.org>
11915 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11918 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * bufferview_funcs.C (currentState): only show paragraph number
11921 for is DEVEL_VERSION is set.
11923 * lyxfunc.C (dispatch): put warning in INFO channel
11925 * MenuBackend.C (expand): translate the name of floats
11927 * FloatList.C (FloatList): mark the float names for translation
11929 * converter.C (convert): use LibScriptSearch
11931 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11933 * MenuBackend.C (defaults): fix default menu (we might as well get
11936 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11941 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * lyxvc.C: reorder includes.
11945 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11947 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11950 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11952 * CutAndPaste.C: change layouts earlier on paste
11953 to avoid crashing when calling getFont()
11955 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11957 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11960 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11962 * WorkArea.C: remove 'Pending' debug message.
11964 * most files: ws cleanup
11966 * buffer.[Ch]: ws changes
11968 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11970 2002-03-21 Juergen Vigna <jug@sad.it>
11972 * tabular.C (SetMultiColumn): collapse also the contents of the
11973 cells and set the last border right. Added a Buffer const * param.
11975 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11980 2002-03-19 Juergen Vigna <jug@sad.it>
11982 * text2.C (clearSelection): reset also xsel_cache.
11984 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11985 where it needs to be called (John tells us to do so too :)
11986 (selectionLost): reset sel_cache.
11988 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11990 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11992 * text2.C (setCursorIntern): put debuging code in INSETS channel
11994 2002-03-19 André Pönitz <poenitz@gmx.net>
11996 * lyxfunc.C: tiny whitespace change
11998 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * ToolbarDefaults.C (init):
12001 * LyXAction.C (init):
12003 * BufferView_pimpl.C (Dispatch):
12004 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12006 2002-03-19 Allan Rae <rae@lyx.org>
12008 * exporter.C (Export): removeAutoInsets before doing anything else.
12009 While I've just introduced a dependency on BufferView this really is
12010 the best place to clean the buffer otherwise you need to cleanup in
12011 a dozen places before calling export or cleanup in a dozen functions
12014 * converter.C (runLaTeX):
12015 (scanLog): Better handling of removeAutoInsets and screen updates.
12017 * lyxfunc.C (dispatch): small whitespace changes
12019 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12021 * WorkArea.C (C_WorkAreaEvent): return a value.
12022 (event_cb): return 1 if we handled the event, 0 otherwise.
12024 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12026 2002-03-18 Juergen Vigna <jug@sad.it>
12028 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12029 (GetAdditionalWidth): ditto.
12030 (RightLine): ditto.
12033 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12034 inset if we're there actually (probably not used right now but this
12035 is the direction to go for unifying code).
12036 (paste): disable code to clear the selection.
12038 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12039 inside an InsetText and move the check further up as it is in the
12042 * text2.C (pasteSelection): set a selection over the pasted text.
12044 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12046 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12047 and libgraphics to build on Cygwin.
12049 2002-03-15 Juergen Vigna <jug@sad.it>
12051 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12052 inserting an Inset into the paragraph. I know this is not the best
12053 fix but we already use current_view in CutAndPaste so we will remove
12054 all of it's using at the same time.
12056 * buffer.C (sgmlError): deactivated function till it is rewritten in
12057 the right mode, now it can create problems.
12059 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12060 before accessing it.
12062 2002-03-14 Juergen Vigna <jug@sad.it>
12064 * undo_funcs.C (textHandleUndo): do the right thing when updating
12065 the inset after the undo/redo.
12067 * text2.C (setCursor): just some testcode for #44 not ready yet.
12069 * undo_funcs.C (textHandleUndo): set the next() and previous()
12070 pointers of the paragraph to 0 before deleting otherwise we have
12071 problems with the Paragraph::[destructor].
12073 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12074 on a paragraph insertion.
12076 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12078 * buffer.C (asciiParagraph): use += operator for char append to
12081 * paragraph.C (getFontSettings): compare >= not just >
12082 (highestFontInRange): ditto
12085 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12087 * paragraph.C: change several algorithm to be more appripriate for
12088 the problem domain. This is lookip in FontList and in the InsetList.
12090 2002-03-13 André Pönitz <poenitz@gmx.net>
12093 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12095 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12100 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12102 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * Painter.C (display): anon helper function, adjust code for this
12106 (pixmap): remove function.
12108 * Painter.h: remove private display variable.
12110 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12112 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12114 * WorkArea.[Ch]: remove figinset_canvas cruft.
12116 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * lyxtextclass.C (operator): add one item cache optimization.
12120 * bufferlist.h: doxy changes
12122 * bufferlist.C: ws changes
12124 * DepTable.[Ch] (ext_exist): place const in the right spot.
12126 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12128 (workAreaExpose): call resizeInsets when the with BufferView changes.
12129 (Dispatch): adjust for protectedBlank removal
12130 (specialChar): call updateInset if the insert went ok.
12132 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12133 specialChar instead.
12135 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12137 * BufferView.h: doxy change
12139 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12141 * lyxtextclass.C (operator[]): remove non-const version
12142 (defaultLayout): remove non-const version
12144 2002-03-12 Juergen Vigna <jug@sad.it>
12146 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12147 did resize the LyXText too.
12149 * buffer.C (readLyXformat2): set layout information on newly allocated
12152 * tabular.C (OldFormatRead): set layout information on the paragraph.
12154 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12156 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12158 2002-03-11 Juergen Vigna <jug@sad.it>
12160 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12162 (resizeCurrentBuffer): force also the insets to resize themselfes.
12163 (moveCursorUpdate): fixed up for InsetText.
12165 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12168 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12169 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12170 value of Dialogs::tooltipsEnabled().
12171 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12173 2002-03-08 Juergen Vigna <jug@sad.it>
12175 * BufferView_pimpl.C (updateInset): update inset inside inset also
12176 if it isn't inside theLockingInset().
12178 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * buffer.C (asciiParagraph): redo some of the word and line length
12182 (getLists): look for Caption instead of caption.
12184 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * buffer.C (Buffer): initialize niceFile to true
12188 (makeLinuxDocFile):
12189 (makeDocBookFile): make sure niceFile is true on exit
12191 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12193 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12195 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12197 * LyXSendto.C: remove.
12198 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12199 * lyx_gui.C: remove now-redundant comment.
12200 * ColorHandler.h: remove forward declaration of class WorkArea.
12201 * lyxfunc.C: remove #include "WorkArea.h".
12203 2002-03-07 Juergen Vigna <jug@sad.it>
12205 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12206 got moved away with the DEPM and also set the inset_owner always
12207 right which before could have been omitted.
12209 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12212 wanted layout is not found.
12214 2002-03-07 Juergen Vigna <jug@sad.it>
12216 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12218 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * paragraph.C (breakParagraph): use default layout not layout of
12222 (Paragraph): clear ParagraphParameters.
12224 2002-03-06 Juergen Vigna <jug@sad.it>
12226 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12227 otherwise it would not be a valid lenght. Fixed a special case in
12228 the minipage compatibility read where we end the document with a
12231 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12232 was set as it could be 0 for InsetTexts first entry.
12234 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12236 * paragraph.C (writeFile): if layout is empty write out
12237 defaultLayoutName().
12239 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12240 file without named layout we set layout to defaultLayoutName().
12242 2002-03-06 Juergen Vigna <jug@sad.it>
12244 * CutAndPaste.C (copySelection): set layout for new paragraph.
12246 * text.C (prepareToPrint): leave ERT inset left aligned
12247 (leftMargin): don't indent paragraphs inside ERT insets
12249 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * paragraph.C (breakParagraph): dont call clear do the work manually
12253 * paragraph.[Ch] (clear): remove function
12255 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12257 * paragraph.C (Paragraph): dont call clear, the work has already
12260 * lyxtextclass.C (operator): assert if n is empty
12262 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12263 work manually instead.
12265 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12267 * BufferView_pimpl.C: protect selectionLost against text == 0
12269 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12271 * text.C (breakParagraph): fix a setting layout to '0' problem.
12273 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12275 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12276 final location of file, for the included files, and graphics.
12278 2002-03-05 Juergen Vigna <jug@sad.it>
12280 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12282 2002-03-04 Juergen Vigna <jug@sad.it>
12284 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12286 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12287 last column of multicolumn cells.
12288 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12290 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12292 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12293 file if it doesn't go to a temporary file.
12295 * buffer.C (sgmlOpenTag):
12296 (sgmlCloseTag): remove extra newline insertion.
12298 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12300 * text.C (getRowNearY): comment out debug msg
12302 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * text2.C: first -> first_y
12306 * text.C (getRowNearY): add some attemts at a possible
12307 optimization, not working.
12309 * tabular.[Ch]: add BufferParams to several function so that newly
12310 created paragraph can be initialized to he default layotu for the
12313 * tabular-old.C (ReadOld): add buf->params to call of Init
12315 * screen.C: rename text->first to text->first_y
12317 * paragraph.C (breakParagraph): always set layout in the broken
12320 * lyxtextclass.C (Read): remove lowercase
12323 (delete_layout): ditto
12325 * lyxtext.h: rename first -> first_y
12327 * lyxlayout.C (Read): remove lowercase
12330 (obsoleted_by): ditto
12332 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12334 * buffer.C (insertErtContents): add params are to InsetERT
12335 (parseSingleLyXformat2Token): add code to check if a paragraphs
12336 layout really exist.
12337 (parseSingleLyXformat2Token): add params to several inset
12339 (asciiParagraph): remove lowercase, do the layout comparisons with
12342 * BufferView_pimpl.C (cursorNext): first -> first_y
12343 (resizeCurrentBuffer): first -> first_y
12344 (updateScrollbar): first -> first_y
12345 (scrollCB): first -> first_y
12346 (workAreaMotionNotify): first -> first_y
12347 (workAreaButtonPress): first -> first_y
12348 (checkInsetHit): first -> first_y
12349 (cursorPrevious): first -> first_y
12350 (cursorNext): first -> first_y
12351 (Dispatch): add buffer_->params to severl inset contructors
12353 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12355 * lyxlayout.C (Read): remove some debug info that I forgot.
12357 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12358 clean up the code slightly.
12359 (makeLinuxDocFile): ditto
12360 (makeDocBookFile): ditto
12362 * text2.C: layout as string
12364 * text.C: layout as string
12366 * paragraph_pimpl.C: layout as string
12368 * paragraph.[Ch]: layout as string
12370 * lyxtextclasslist.[Ch]: layout as string
12372 * lyxtextclass.[Ch]: layout as string
12374 * lyxtext.h: layout as string
12376 * lyxlayout.[Ch]: layout as string
12378 * lyx_cb.C: layout as string
12380 * bufferview_funcs.C: layout as string
12382 * bufferparams.C: layout as string
12384 * buffer.C: layout as string
12386 * LyXView.[Ch]: layout as string
12388 * LaTeXFeatures.[Ch]: layout as string
12390 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12392 * BufferView_pimpl.C: change current_layout to string, remove
12397 (workAreaButtonRelease): layout as string
12399 * BufferView2.C (unlockInset): adjust
12401 * vspace.C (asLatexCommand): use an explict temp variable.
12403 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12405 * Makefile.am: use FRONTEND_*
12407 2002-03-01 Juergen Vigna <jug@sad.it>
12409 * tabular.C (SetWidthOfMulticolCell): changed to something better
12410 I hope but still work in progress.
12411 (recalculateMulticolumnsOfColumn): renamed function from
12412 recalculateMulticolCells as it is more appropriate now.
12413 (SetWidthOfCell): calculate multicols better.
12415 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12417 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12419 * lyxfunc.C (processKeySym): print sequence also if it is
12420 `deleted' (complete)
12422 * kbsequence.C (print): print sequence even if it is deleted
12423 (complete would be a better word, actually).
12425 * lyxfunc.C (dispatch): print complete options after a prefix key
12427 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12429 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12431 * text2.C (setCharFont): eliminate setCharFont code duplication.
12433 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12435 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12436 LFUN_TABULAR_FEATURE (bug #177)
12438 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12440 * Makefile.am: remove figure.h
12442 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12444 * Bufferview_pimpl.C:
12456 * text2.C: remove #include "lyx_gui_misc.h".
12458 * LaTeX.C: added #include <cstdio>
12460 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12462 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12463 that the paragraph following this one can have.
12465 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12467 * vspace.C (asLatexCommand): fix bogus gcc warning
12469 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12471 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12473 * text2.C (setLayout): get rid of redundant code
12475 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12477 * text2.C (incDepth): make sure depth cannot be increased beyond
12480 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12482 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12483 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12485 * PainterBase.h (image):
12486 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12487 a LyXImage const *.
12489 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12493 * BufferView_pimpl.C:
12494 * BufferView_pimpl.h:
12514 * sp_spell.C: remove fig inset, and the crap house of
12515 cards that follows it
12517 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12522 * os2_errortable.h:
12523 * nt_defines.h: move .h into support/
12525 * vms_defines.h: remove
12527 * WorkArea.C: add space in debug output
12531 * buffer.C: add WITH_WARNINGS
12535 * bufferlist.C: s/retrive/retrieve/, add docs
12544 * chset.C: add docs
12546 * lyxgui.C: add ID to X error handler
12548 * lyxtestclass.c: fix typo
12550 2002-02-26 Juergen Vigna <jug@sad.it>
12552 * tabular_funcs.C (write_attribute): changed so that some default
12553 attributes are not written at all.
12554 (getTokenValue): set default values before trying to read the
12555 value so we have the return value always set as default if we don't
12556 find the token we search for.
12558 * tabular.C (Write): write bools as bools not as strings!
12560 2002-02-22 Juergen Vigna <jug@sad.it>
12562 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12563 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12565 * text.C (leftMargin): don't add an indent for paragraphs inside
12566 tabular cells (fix #208).
12568 2002-02-21 José Matos <jamatos@fep.up.pt>
12570 * tabular.C (docBook): fixed support for long tables.
12572 2002-02-20 Juergen Vigna <jug@sad.it>
12574 * text2.C (getFont): get the drawing font of the Inset if this
12575 paragraph is inside an inset (only important for InsetERT for now).
12577 * buffer.C (insertErtContents): use new lanugage params in ERT
12580 * CutAndPaste.C: commenting out seemingly uneeded code.
12582 2002-02-19 Allan Rae <rae@lyx.org>
12584 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12585 Iterators might be simple to use but they also get invalidated.
12586 (removeAutoInsets): renamed saved cursor tracking variables and added
12587 some comments to clarify what everything does.
12589 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12596 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12597 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12600 * vc-backend.h: remove #include "support/syscall.h"
12604 * converter.C: rearrange #includes in Lars' approved fashion.
12606 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12607 forward declare class Timeout in the header file.
12609 * XFormsView.C: changes due to the above.
12611 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12612 similar to LyXView.
12614 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12615 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12617 2002-02-18 José Matos <jamatos@fep.up.pt>
12619 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12622 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12624 * a lot of small ws changes
12625 * add a lot of using std::XXX
12626 * use std construcs some places where approp.
12627 * use some exisint stuff from lyxfunctional where approp.
12628 * Make file changes to use partial linking (lets test this now...)
12630 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12634 remove #include "support/syscontr.h" as it's redundant. Always has been.
12642 change Systemcalls::System to Systemcalls::Wait and
12643 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12644 No change of functionality, just reflects the stripped down Systemcalls
12647 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12649 * debug.[Ch]: add a GRAPHICS type to the enum.
12651 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12653 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12655 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12658 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12660 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12661 match the changes below.
12663 * text2.C (toggleInset): if there is not editable inset at cursor
12664 position, try to see if cursor is _inside_ a collapsable inset
12667 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12669 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12670 document menu has a nice checkbox
12672 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12674 * lyxlength.C (asLatexString): change PW to output as percent of
12677 * lengthcommon.C: change '%' to 't%'
12679 * lyxfunc.C (dispatch): a few comments from Martin
12681 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12685 * BufferView_pimpl.h:
12686 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12689 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12691 * vspace.C (inPixels): fix compiler warning
12693 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12695 * lyxfunc.C (getStatus): fix status message for disabled commands.
12697 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12699 * BufferView_pimpl.C: fix crash on close buffer
12700 during selection (#227)
12702 2002-01-27 Herbert Voss <voss@lyx.org>
12704 * buffer.C: link old Figure to new graphic inset
12706 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12708 * FontLoader.C (getFontinfo): Change the latex font names in order
12709 to match the names of type1inst.
12711 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12715 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12716 (extchanged): ditto
12718 (remove_files_with_extension): ditto
12719 (remove_file): ditto
12722 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12723 document is smaller than the work area height. Do not initialize
12724 static variables to 0.
12726 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12730 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12731 LFUN_LAYOUT_PARAGRAPHS.
12733 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12734 tabular. It is possible to provide a possible cell, which will
12735 typically be the actcell from the corresponding insettabular
12737 * lyxfunc.C (getStatus): small cleanup; disable
12738 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12741 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12743 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12745 * paragraph.C (startTeXParParams):
12746 (endTeXParParams): new methods. The LaTeX code to
12747 start/end paragraph formatting
12748 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12749 empty (fixes bug #200)
12751 * vspace.C (inPixels): adapt to the change below
12752 (inPixels): [later] more cleanups (remove unused variables)
12754 * lyxlength.C (inPixels): change to use a width and a height as
12757 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12759 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12760 Replaced with \paperwidth
12762 * DepTable.C (insert): add std:: qualifier
12764 2002-01-18 Allan Rae <rae@lyx.org>
12766 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12769 * text.C (drawInset): Turned out I didn't know enough about how
12770 rebreaking worked. This fixes most of the redraw problems. I see
12771 an occasional cursor trail when a line is broken now and the cursor
12772 placement can seem out by a few pixels also after a rebreak.
12774 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * buffer.C (parseSingleLyXformat2Token): update because minipage
12777 width is now a LyXLength
12779 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12781 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12784 2002-01-17 Juergen Vigna <jug@sad.it>
12786 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12788 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12789 is set correctly and the inset is updated correctly.
12791 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12793 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12794 the beginning of the loop.
12796 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12798 * lyxrc.C: improve help for use_scalable_fonts
12800 2002-01-17 Allan Rae <rae@lyx.org>
12802 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12804 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12806 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12807 make sure to set their inset_owner to the right value (bug #171)
12809 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12812 * DepTable.C: Implement mtime checking to reduce time spent doing
12815 2002-01-16 Juergen Vigna <jug@sad.it>
12817 * tabular.C (GetAdditionalHeight): one of error fixed.
12819 * lyxrc.C (output): small fix in writing use_pspell.
12821 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12823 * sp_base.h: #include LString.h
12825 2002-01-16 Allan Rae <rae@lyx.org>
12827 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12828 Can someone check this please?
12830 * text.C (drawInset): It was possible that p.row would be removed by
12831 breakAgainOneRow upsetting a few other settings. There may be another
12832 small tweak possible by setting need_break_row = 0 when p.row has been
12833 removed but I don't know enough about the logic here.
12835 2002-01-15 Allan Rae <rae@lyx.org>
12837 * text.C (insertChar): removed conditional truism.
12839 * BufferView2.C (removeAutoInsets): More tweaks.
12840 cur_par_prev could be a stray pointer. Check for trailing empty line
12841 in case last line was cur_par and only had an error inset on it.
12843 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12845 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12848 * vc-backend.C (most methods):
12849 * exporter.C (Export):
12850 * converter.C (convert):
12852 * LyXSendto.C (SendtoApplyCB):
12853 * lyxfunc.C (dispatch):
12857 * lyx_cb.C (AutoSave):
12859 * BufferView_pimpl.C (MenuInsertLyXFile):
12860 * buffer.C (runChktex): use Buffer::filePath().
12862 * buffer.h: rename filename to filename_; rename filepath to
12863 filepath_ and make it private
12864 (filePath): new method
12866 * buffer.C (writeFile): use fileName()
12869 * lyx_main.C (init): fix starting of LyX when the binary is a
12870 link from so,ewhere else.
12872 * minibuffer.C: include <cctype> for isprint
12874 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12876 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12877 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12878 name clash with InsetCollapsable's width function.
12880 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * lastfiles.C: include <iterator>
12884 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12886 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12889 * buffer.C (makeLaTeXFile): ditto.
12890 Also make loop operation more transparent.
12892 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12894 * ToolbarDefaults.C: remove trailing comma closing namespace.
12896 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12898 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12901 * trans.C (Load): comment out unused variable, allowed.
12903 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12905 * minibuffer.[Ch] (append_char): new method to recieve input from the
12906 drop-down completion browser. If a key was pressed, then recieve this
12907 char and append it to the existing string.
12908 (peek_event): modify the positioning data passed to the completion
12909 browser so that it can be placed above the minibuffer rather than below.
12910 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12912 * LyXAction.C (init): alloe error-next for readonly documents.
12914 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12917 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12919 * bufferlist.C (readFile): create the buffer _after_ checking that
12922 * lyxfunc.C (verboseDispatch): fix handling of arguments
12924 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12926 * lyxrc.C: use string::erase() instead of initializing to "".
12929 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12931 * BufferView_pimpl.h:
12932 * BufferView_pimpl.C:
12935 * text2.C: tell X when we have made a selection for copying
12937 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12939 * BufferView_pimpl.C (MenuInsertLyXFile):
12940 * lyxfunc.C (menuNew):
12942 (doImport): add shortcuts to directory buttons
12944 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12947 * lyxfunc.C (setStatusMessage):
12948 (getStatusMessage): new methods
12949 (getStatus):use setStatusMessage instead of setErrorMessage
12950 (dispatch): when function is disabled, set error message here
12951 [instead of in getStatus previously]
12953 * BufferView_pimpl.C (workAreaButtonRelease): update
12954 toolbar/menubar here too.
12956 2002-01-13 Allan Rae <rae@lyx.org>
12958 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12959 Now seems indestructible. Remaining task is to audit all other
12960 code affected by deleteEmptyParagraphMechanism. One small quirk
12961 left is that an empty document with an error in the preamble can
12962 be made to report an error but no error box appears. I don't know
12964 (removeAutoInsets): Improved comments.
12966 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12969 * Thesaurus.C: update for Aiksaurus 0.14
12971 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12973 * text2.C (firstParagraph): removed member function, all uses
12974 replaces with ownerParagraph
12975 (redoParagraphs): here
12976 (updateInset): here
12977 (toggleAppendix): here
12978 * BufferView2.C (insertErrors): here
12979 (setCursorFromRow): here
12981 2002-01-13 Allan Rae <rae@lyx.org>
12983 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12984 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12985 There is still a way to segfault this although you may have to do this
12986 multiple times: Have an InsetERT with an unknown command in it.
12987 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12988 <down-arrow>, <Enter> again, View->DVI, BANG!
12990 * text2.C (setCursor):
12991 (deleteEmptyParagraphMechanism):
12992 * lyxtext.h (setCursor):
12993 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12994 Making use of the return value may help fix other bugs.
12996 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12998 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13000 * LyXView.C (updateMenubar): call MenuBar::update here
13001 (updateToolbar): but not here
13002 (showState): do not update toolbar/menubar
13004 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13005 should need to care about that.
13007 * lyxfunc.C (verboseDispatch): simplify a bit
13008 (getStatus): have a version which takes a pseudoaction, and
13009 another which requires a (kb_action,string).
13011 * LyXAction.C (retrieveActionArg): make it work also when action
13012 is not a pseudo-action.
13013 (getActionName): simplify a bit
13016 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13018 * lyxfunc.C (verboseDispatch): new families of methods with
13019 several ways to specify a command and a bool to indicate whether
13020 the command name and shortcut should be displayed in minibuffer
13021 (eventually, we could extend that to a finer bitmask like
13022 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13023 (dispatch): the pristine dispatch command which just, well,
13024 dispatchs! Note it still sets its result to minibuffer; I'm not
13027 * lyxfunc.h: remove setHintMessage
13029 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13031 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13033 * BufferView_pimpl.C (specialChar): delete new inset if we have
13034 not been able to insert it.
13036 * kbmap.C: revert to using int instead of kb_action, since all we
13037 are dealing with is pseudo-actions.
13039 * LyXAction.C (searchActionArg): change to return int instead of
13040 kb_action, since the result is a pseudoaction.
13042 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13044 * buffer.C (insertErtContents): Fix (partially) the font bug.
13046 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13048 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13049 as the other one is broken on my machine!
13051 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13054 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13056 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13058 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13059 reflect their actual use. Provide compatibility code for older lyxrc
13062 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13064 change names of popup font variables in line with the changes to lyxrc.C
13066 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13068 * buffer.C (asciiParagraph): avoid outputing a word twice after
13071 * lyxrc.C (getDescription): document that document_path and
13072 template_path can be empty.
13074 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13076 * LaTeXFeatures.C (getMacros):
13077 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13079 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13081 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13083 (getPackages): rename feature "floats" to "float". Use an array to
13084 iterate over 'simple' features (i.e. just a \usepackage). Add
13085 handling of "amsmath" (renamed from "amsstyle").
13087 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13089 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13092 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13094 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13095 FuncStaus::FuncStatus & FuncStaus::some_method().
13097 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13099 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13100 of the func_satus stuff. Edited and massaged in various ways by
13103 * lyxfunc.C (getStatus): use FuncStatus
13105 2002-01-08 Juergen Vigna <jug@sad.it>
13107 * text.C (nextBreakPoint): use function Inset::isChar().
13109 * paragraph.C (TeXOnePar): use function
13110 Inset::forceDefaultParagraphs.
13112 * buffer.C (latexParagraphs): use function
13113 Inset::forceDefaultParagraphs.
13115 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13117 * lyx_gui.C (init): set the style of the menu popups to
13118 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13120 2002-01-07 Juergen Vigna <jug@sad.it>
13122 * text.C (setHeightOfRow): small fix
13123 (prepareToPrint): don't look at alignment if we don't have the place
13126 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13128 * box.C: New file. Move the Box methods and functions out of box.h,
13129 following Lars' suggestion.
13131 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13133 * box.h: #include "support/LOstream.h", needed for inlined function.
13136 * lyxtextclasslist.C: added some using std declarations.
13138 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13140 * box.h: make signed dimensions to allow insets wider than
13141 the screen (bug #162)
13143 * BufferView_pimpl.C: add some insetHit debug
13145 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13147 * vc-backend.C: add FIXME
13149 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13151 * lyxfunc.C (getStatus): enable code for showing math font status
13154 2002-01-07 Juergen Vigna <jug@sad.it>
13156 * text.C (nextBreakPoint): removed debug output not needed anymore.
13158 2002-01-06 Juergen Vigna <jug@sad.it>
13160 * text.C (nextBreakPoint): fixed up this function we had this bug
13161 since ever but now hopefully we break row better.
13162 (insertChar): we have to check if an inset is the next char as it
13163 could now happen that a large inset is causing a break.
13165 2002-01-05 Juergen Vigna <jug@sad.it>
13167 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13168 if it doesn't like to be drawed.
13170 2002-01-04 Juergen Vigna <jug@sad.it>
13172 * BufferView2.C (lockInset): forgot to set a cursor.
13174 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13176 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13178 * FormMathsPanel.C:
13181 * form_maths_panel.C:
13182 * form_maths_panel.h:
13183 * form_maths_panel.fd: implemented sub- and super- buttons in math
13186 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13187 (or ^ space) to be used as in TeX (req'd by André).
13189 * lyxfunc.C: Allow ^ and _ again to be used both as
13190 super/subscript (mathed) and as themselves (in text).
13192 2002-01-03 Allan Rae <rae@lyx.org>
13194 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13195 "LyX" or the filename of the current buffer if it has one. This is a
13196 modified form of John Levon's patch.
13198 * XFormsView.C (setWindowTitle): also set icon title.
13200 * LyXView.h (setWindowTitle): signature changed.
13201 * XFormsView.h (setWindowTitle): ditto.
13203 2002-01-02 Juergen Vigna <jug@sad.it>
13205 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13207 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * screen.C (topCursorVisible): introduce a temp var for
13210 text->cursor.row(), handle the case where this row is null. (kindo
13213 * text2.C (setCursor): add a couple of asserts.
13215 * paragraph.h (inset_iterator): add -> operator
13217 * paragraph.[Ch] (autoDeleteInsets): remove member function
13219 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13220 cursor pos correctly and handle inset deletion by itself.
13221 (insertErrors): move iterator declaration out of for expression
13223 * lyxtextclass.C: add <algorithm>
13225 * Makefile.am: added the new files to sources, removed layout.C
13227 * layout.C: removed file
13229 * layout.h: remove LYX_DUMMY_LAYOUT
13231 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13235 * lyxtextclass.[Ch]:
13236 * lyxtextclasslist.[Ch]: new files
13238 * include order changes to a lot of files, also changes because of
13241 2001-12-27 Juergen Vigna <jug@sad.it>
13243 * buffer.C (asciiParagraph): more fixes.
13245 * tabular.C (ascii): make ascii export support export of only the
13246 data separated by a column-delimiter.
13247 (ascii): better support for ascii export.
13249 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13251 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * tabular_funcs.C: use a "using std::getline" instead of the
13254 previous fix from Angus (necessary for cxx + lyxstring)
13256 2001-12-24 Juergen Vigna <jug@sad.it>
13258 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13260 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13261 problems. First check a minipage also if we have some ert-contents
13262 (not only on par->size(), second set the right depth of the paragraph
13263 on the relink to the root-paragraph-list!
13265 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13266 which then did not anymore update the main paragraphs on undo/redo!
13268 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13270 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13271 code. Support all font-changing funcs (even those which are not in
13272 menu currently). Support for reporting font settings in
13273 mathed (disabled until Andre provides a function on mathed's side).
13275 * func_status.h (toggle): small helper function to set toggle
13278 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13280 * tabular_funcs.C: getline -> std::getline
13282 2001-12-21 Juergen Vigna <jug@sad.it>
13284 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13285 accessed and could be 0 (I couldn't generate this but it seems
13288 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13291 * tabular_funcs.h: here and include iosfwd
13293 2001-12-20 Juergen Vigna <jug@sad.it>
13295 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13296 inside inset but undo_par was.
13298 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13300 * Thesaurus.C: always include <config.h> in sources.
13304 * box.h: do not include <config.h> in header files
13306 * text.C (paintLastRow): remove unused variable
13308 * text.C (transformChar):
13310 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13312 * Painter.C (text):
13313 * font.C (width): rewrite to use uppercase() instead of
13316 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13318 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13320 * lyxfind.C: clean up of find failure position change
13322 2001-12-20 Juergen Vigna <jug@sad.it>
13324 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13326 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13327 (TeXRow): added to LaTeX a single tabular row.
13328 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13329 (Latex): simplified and finally good LT-h/f support.
13330 (various_functions): just small adaptions for LT-h/f support.
13332 * tabular_funcs.[hC]: added and moved here all not classfunctions
13335 2001-12-19 Juergen Vigna <jug@sad.it>
13337 * tabular.[Ch]: better support for longtabular options (not finished
13340 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * text.C (paintLastRow): use the label font instead of the font of
13343 the last character to compute the size of *_BOX. This makes more
13344 sense and avoids a crash with empty paragraphs.
13345 Use Painter::rectangle to draw EMPTY_BOX.
13347 2001-12-19 Juergen Vigna <jug@sad.it>
13349 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13350 the paragraphs if the replaced paragraph is not the first one!
13351 Tried to delete not used paragraphs but does not work yet so for
13352 now it's inside #ifdef's and by default off!
13354 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13356 * MenuBackend.C: include "lyx_main.h" instead of declaring
13357 lastfiles (actually was declared as LastFiles* instead of a
13360 2001-12-17 Juergen Vigna <jug@sad.it>
13362 * tabular.C (AppendColumn): applied John's fix
13364 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13368 * BufferView_pimpl.h:
13369 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13372 * box.h: new start of class for above
13374 * lyxfunc.C: ignore space-only minibuffer dispatches.
13375 Show the command name when it doesn't exist
13377 * minibuffer.C: don't add empty lines to the history
13379 * minibuffer.C: add a space on dropdown completion
13381 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13383 * text.C: fix line above/below drawing in insets
13385 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13387 * lyxlength.C (LyXLength): Initialize private variables.
13389 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13391 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13392 when inserting error insets.
13394 2001-12-13 Juergen Vigna <jug@sad.it>
13396 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13397 actually sometimes the before-paragraph.
13398 (setUndo): don't clear the redostack if we're not actually undoing!
13400 2001-12-06 Juergen Vigna <jug@sad.it>
13402 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13403 and fixed redoing of main paragraph, so we can use it now ;)
13405 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13407 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13409 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13412 2001-12-13 André Pönitz <poenitz@gmx.net>
13415 * undo_func.C: minor cleanup
13417 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13419 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13420 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13421 font in urw-fonts package which is marked as -urw-fontspecific and
13422 does not work (incidentally, changing the encoding in the
13423 fonts.dir of this package to -adobe-fontspecific fixes the
13426 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13427 is a crash when undoing first paragraph (Juergen, please take a
13428 look). THis does not mean the undo fix is wrong, just that it
13431 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13432 the (Paragraph*) version when needed instead of duplicating the
13435 * text.C (workWidth): use Inset::parOwner to find out where the
13436 inset has been inserted. This is a huge performance gain for large
13437 documents with lots of insets. If Inset::parOwner is not set, fall
13438 back on the brute force method
13440 * paragraph_pimpl.C (insertInset):
13441 * paragraph.C (Paragraph):
13442 (cutIntoMinibuffer): set parOwner of insets when
13443 inserting/removing them
13445 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13447 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13453 * mathed/formulabase.C:
13454 * mathed/math_cursor.[Ch]:
13455 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13458 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * lyxlength.[Ch] (operator!=): new function
13462 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13464 * text.C (workWidth): use Inset::parOwner to find out where the
13465 inset has been inserted. This is a huge performance gain for large
13466 documents with lots of insets. If Inset::parOwner is not set, fall
13467 back on the brute force method
13469 * paragraph_pimpl.C (insertInset):
13470 * paragraph.C (Paragraph):
13471 (cutIntoMinibuffer): set parOwner of insets when
13472 inserting/removing them
13474 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13476 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13478 * tabular-old.C (getTokenValue):
13479 * tabular.C (getTokenValue):
13480 (write_attribute): new versions for LyXLength
13481 (everywhere): adjust the use of widths
13483 * tabular.h: change the type of widths from string to LyXLength
13485 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13487 * paragraph.C: fixed missing line number count when exporting
13488 Environments to LaTeX file
13490 * buffer.C: added informational message for checking line numbers.
13492 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13494 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13495 paragraph, do the 'double space' part, but not the 'empty
13498 * text.C (workWidth): small optimization
13499 (getLengthMarkerHeight): use minimal size for negative lengths.
13501 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13503 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13505 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13507 2001-12-11 André Pönitz <poenitz@gmx.net>
13510 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13512 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13514 * text2.C: keep selection on a setFont()
13516 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13518 * lyx_cb.C: another bv->text misuse, from insert label
13520 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13523 * kbsequence.C: re-instate nmodifier mask
13525 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13527 * lyx_main.h: make lyxGUI private.
13529 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13531 * lyxfind.C: place the cursor correctly on failed search
13533 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13535 * text.C (getLengthMarkerHeight): for small heights, the arrows
13536 are not always on top/bottom of the text
13537 (drawLengthMarker): smaller arrows; take the left margin in
13538 account; draw also vfills.
13540 (paintLastRow): remove special code for vfill and standard spaces,
13541 since everything is handled in drawLengthMarker now.
13543 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13545 * buffer.C (insertErtContents): try to handle font and language
13546 interaction a bit better.g
13548 * ColorHandler.C (updateColor): change the hash to cover the whole
13549 LColor enum, ws cleanup
13550 (getGCLinepars): ditto
13551 (getGCLinepars): only lookup in the linecache once.
13553 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13555 * iterators.C (operator++): Make the iterator more robust
13557 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13559 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13561 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13564 * text.C: better added space drawing
13566 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13569 * BufferView2.C: fix layout combo update on inset unlock
13571 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13573 * Makefile.am: don't compile unused files
13575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13579 * LyXAction.C: remove old LFUN_LAYOUTNO
13581 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13583 * paragraph_pimpl.h:
13584 * paragraph_pimpl.C: isTextAt() doesn't need font param
13586 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13589 * lyxlex.C: little cleanup
13591 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13593 * BufferView_pimpl.C: fix insertAscii for insets
13595 2001-12-05 Juergen Vigna <jug@sad.it>
13597 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13598 set the right font on the "multi" paragraph paste!
13600 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * lyxlength.C: remove out-commented code.
13608 * BufferView_pimpl:
13622 * vc-backend.C: change "while(" to "while ("
13624 * lyxlength.[Ch]: add zero function to check if length is zero or
13626 * lyxgluelength.C: use it
13628 2001-12-05 Allan Rae <rae@lyx.org>
13630 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13631 Works for 2.95.3, from what I understand of Garst's reports this should
13632 work for other g++ versions. We're screwed if the abs(int) definition
13633 changed between bugfix releases of gcc.
13635 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13637 * text.C: fix chapter label offset !
13639 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13642 * text.C: fix hfill at end of line, clean up
13644 2001-12-04 Juergen Vigna <jug@sad.it>
13646 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13647 that we force an update of the inset and it's owners if neccessary.
13649 2001-12-03 Juergen Vigna <jug@sad.it>
13651 * text.C (rowLast): simplified code
13653 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13655 * lyxfunc.C: fix show options on timeout
13657 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * screen.C (topCursorVisible): scroll half a page when the cursor
13660 reached top of bottom of screen
13662 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13664 * minibuffer.C: deactivate on loss of focus
13666 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * vspace.[Ch] (operator!=): add operator.
13670 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13672 * BufferView_pimpl.C: refuse to open an inset when
13673 there's a selection.
13675 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13677 * BufferView_pimpl.C: allow to click on RHS of full row insets
13679 2001-11-30 Juergen Vigna <jug@sad.it>
13681 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13682 insets for undo reasons.
13684 2001-11-28 André Pönitz <poenitz@gmx.net>
13686 * vspace.[Ch]: cosmetical changes
13688 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13698 * kbsequence.C: part re-write of old kb code
13701 * WorkArea.C: remove Lgb_bug_find_hack
13703 2001-11-30 José Matos <jamatos@fep.up.pt>
13705 * buffer.C (makeDocBookFile): add a comment to point a hack.
13706 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13707 Fixed a double write of labels.
13709 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13712 * LaTeX.h Fixed bug in LaTeX class where it would not
13713 re-run latex if no depfiles were changed, but the .dvi was removed.
13715 2001-11-28 André Pönitz <poenitz@gmx.net>
13717 * all the files from the change on 2001/11/26:
13718 use lyx::layout_type instead of LyXTextClass::size_type
13719 use lyx::textclass_type instead of LyXTextClassList::size_type
13721 2001-11-29 Juergen Vigna <jug@sad.it>
13723 * text.C: added support for paragraph::isFreeSpacing()
13725 * buffer.C: same as above
13727 * paragraph.h: inserted isFreeSpacing() function to enable
13728 FreeSpacing inside InsetERT.
13730 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13731 of the paragraph's in the cut/copy buffer to 0!
13733 * text2.C (removeRow): remove the assert as it can!
13735 * lyxtext.h: added helper function firstRow returning firstrow and
13736 made firstrow private again.
13738 * BufferView2.C (lockInset): don't relock if we're already locked!
13740 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13741 the only paragraph.
13742 (removeRow): added Assert::(firstrow)
13744 * debug.C: forgot to add INSETTEXT here.
13746 2001-11-28 Juergen Vigna <jug@sad.it>
13748 * sp_spell.C (initialize): changed error text to more general
13749 spellchecker command use (not only ispell!)
13751 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13753 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13755 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13757 * vspace.C: initialise lyxgluelength on failure
13759 2001-11-28 Allan Rae <rae@lyx.org>
13761 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13762 declaration & definition that looks like a function declaration.
13764 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13766 * BufferView2.C (copy):
13767 (copyEnvironment): do not clear the selection when doing a copy.
13769 * text.C (paintFirstRow): compilation fix
13771 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13773 * tabular.C (Latex): correct line count when writing latex.
13775 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13777 * paragraph_pimpl.h:
13778 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13781 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13785 * LColor.C: change vfillline->added_space
13787 * text.C: add markers and text for added space
13789 * vspace.C: fix comment
13791 2001-11-28 André Pönitz <poenitz@gmx.net>
13793 * paragraph.C: whitespace changes
13794 * all the other files from the change on 2001/11/26:
13795 change *::pos_type into lyx::pos_type
13797 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13799 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13800 language of the document when inserting error insets.
13802 2001-11-26 André Pönitz <poenitz@gmx.net>
13804 * BufferView_pimpl.[Ch]:
13812 * paragraph_pimpl.[Ch]:
13815 * text2.C: reduce header dependencies, introduce type for positions
13817 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13819 * <various>: change to use Alert.h
13821 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13823 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13824 when encountering an unknown token.
13825 (readLyXformat2): Show an error message if there were unknown tokens.
13827 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13830 * BufferView_pimpl.C:
13834 * text2.C: use par->isInset()
13836 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13838 * paragraph_pimpl.h:
13839 * paragraph_pimpl.C: cleanup
13841 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13843 * text2.C (removeRow):
13844 * text.C (setHeightOfRow): remove useless (and costly) call to
13847 2001-11-20 Allan Rae <rae@lyx.org>
13849 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13850 Now need Inset*::checkInsertChar() to return true for appropriate
13851 cases so that the characters in the minibuffer will actually be
13854 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * text.C: change the order of the includes.
13857 (workWidth): initialize it at once.
13858 (workWidth): make maxw unsigned
13859 (setHeightOfRow): remove unused variable (inset)
13860 (selectSelectedWord): remove unused variable (inset)
13861 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13863 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13865 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13866 server is not running.
13868 (closeConnection): add debug info when server is disabled.
13870 * ColorHandler.C (getGCForeground): send debug message to GUI
13873 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13875 * kbmap.C (bind): modify because return conventions of
13876 kb_sequence::parse have changed.
13878 * kbsequence.C (parse): only ignore spaces and not any stupid
13879 control character. This avoids tests like s[i] <= ' ', which are
13880 guaranteed to fail with 8bit characters and signed chars.
13881 Change return code to string::npos when there have been no error
13882 (0 was a bad idea when error is at first character)
13884 2001-11-14 José Matos <jamatos@fep.up.pt>
13887 * buffer.C (simpleDocBookOnePar): removed unused argument.
13889 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13892 insets which are part of a word. Paragraph::isLetter takes care of
13893 that now. Use Paragraph::isInset to identify insets.
13894 (selectSelectedWord): do not test for hyphenation break.
13896 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13897 that protected spaces are considered as spaces.
13899 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13902 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13905 * lyxserver.C: fix it. and small cleanup.
13907 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13909 * BufferView_pimpl.C: use inline helpers
13912 * LaTeXFeatures.C: fix typos
13915 * Spacing.C: move spacing_string into class
13917 * ToolbarDefaults.C: move stuff into namespace anon
13919 * layout.h: update enum
13921 * lyxfunc.C: use better debug
13923 * minibuffer.h: fix typo
13927 * WorkArea.C: add and use Debug::WORKAREA
13931 * text2.C: code re-organisation, inline helpers
13933 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13935 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13936 std::vector.empty().
13938 2001-11-09 Allan Rae <rae@lyx.org>
13940 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13941 '\n's after tables. Tabular and ERT inset work now makes this no
13944 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13947 * minibuffer.C: fix crash, improve drop-down completion
13949 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13952 * lyxserver.C: invalidate fd's when doing endPipe()
13954 2001-11-08 José Matos <jamatos@fep.up.pt>
13956 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13957 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13960 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13962 2001-11-07 José Matos <jamatos@fep.up.pt>
13965 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13968 * buffer.C (sgmlOpenTag):
13969 * buffer.C (sgmlCloseTag): removed debug info.
13971 * buffer.h (sgmlOpenTag):
13972 * buffer.h (sgmlCloseTag): made public.
13974 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13976 * buffer.C (saveParamsAsDefaults):
13977 * lyx_cb.C (MenuLayoutSave): remove
13979 * LyXAction.C (init):
13981 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13983 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13985 * buffer.C (setPaperStuff): removed from here...
13987 * bufferparams.C (setPaperStuff): ... and moved there.
13989 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13993 * XFormsView.C: add support for drop-down completion
13995 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13997 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14000 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14002 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14005 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14007 * lyx_main.C: change ref to known bugs
14009 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14011 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14012 to work around older babel problems.
14014 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14016 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14018 2001-10-24 Juergen Vigna <jug@sad.it>
14020 * tabular-old.C (ReadOld): below variable changes reflected.
14022 * tabular.[Ch]: added ltType struct for longtable header/footer
14023 defines and changed all instances where they are used. Added
14024 future support for double top/bottom rows.
14026 2001-10-24 José Matos <jamatos@fep.up.pt>
14028 * buffer.h (docbookHandleCaption):
14029 * buffer.C (docbookHandleCaption): removed unused function.
14030 (makeDocBookFile): moved docbook supported version to v4.1.
14032 2001-10-24 José Matos <jamatos@fep.up.pt>
14035 * tabular.C (docbookRow): new function to export docbook code of a row.
14036 (DocBook): now honors the longtable flags.
14038 2001-10-23 José Matos <jamatos@fep.up.pt>
14041 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14042 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14044 * buffer.C (makeLinuxDocFile):
14045 (makeDocBookFile): reworked the preamble, more clean, and with
14046 support for lyx defined entities. Changed the document declaration
14047 to be more XML friendly.
14049 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14050 if we need to output XML that should be done with a filter.
14052 2001-10-22 Juergen Vigna <jug@sad.it>
14054 * sp_pspell.h (class PSpell): add alive function needed in the
14055 controller to see if the spellchecker could be started.
14057 2001-10-22 Juergen Vigna <jug@sad.it>
14059 * buffer.C (insertStringAsLines): modify the font for inserting
14060 chars in certain conditions by calling checkInsertChar(font).
14062 2001-10-19 Juergen Vigna <jug@sad.it>
14064 * text.C (workWidth): use getRow instead of wrong algorithm.
14065 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14067 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14072 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14074 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14076 * text.C (workWidth): do not search for the exact row when
14077 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14078 optimization for big documents.
14080 2001-10-18 Juergen Vigna <jug@sad.it>
14082 * text.C (workWidth): new function with added Inset * parameter.
14084 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14086 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14088 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14089 change return type of getColumnNearX.
14092 * text.C (changeRegionCase): use uppercase/lowercase instead of
14095 (rightMargin): simplify code by factoring out the uses of
14100 (appendParagraph): use Paragraph::size_type
14102 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14104 * vspace.C (asLatexString): add a missing break
14106 2001-10-15 Herbert Voss <voss@perce.de>
14108 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14110 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14112 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14115 2001-10-10 André Pönitz <poenitz@gmx.net>
14117 * lyxfunc.C: removed greek_kb_flag.
14119 2001-10-10 Herbert Voss <voss@perce.de>
14121 * lyx_main.C: delete global string help_lyxdir.
14123 2001-10-09 Herbert Voss <voss@perce.de>
14125 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14127 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14129 * lyx_main.C: added global string help_lyxdir.
14131 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14133 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14135 * lyxrc.C (set_font_norm_type): support iso8859-4
14137 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14139 * LaTeX.C (deplog): add another regex for MikTeX
14141 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14143 * lyxrc.C (set_font_norm_type): support iso8859-3
14145 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14147 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14149 * LaTeXFeatures.C: remove special case of french and index
14151 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14152 before \begin{document}). This solves several incompatibilities.
14154 2001-10-03 Garst Reese <reese@isn.net>
14156 * lyx_cb.C: change CheckTex error msg.
14158 2001-10-03 José Matos <jamatos@fep.up.pt>
14160 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14162 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14164 * .cvsignore: update
14166 * lyx_main.C (commandLineVersionInfo): use new style version info.
14168 * buffer.C (writeFile):
14170 (makeLinuxDocFile):
14171 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14173 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14175 * version.h: update to use stuff in version.C
14177 * version.C.in: new file. Contains version information determined
14178 at compile time. This is a merging of version.h and
14181 2001-10-03 Juergen Vigna <jug@sad.it>
14183 * BufferView_pimpl.C (update): don't change "dirty" status in
14186 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14188 * WorkArea.C (c-tor): re-position version string slightly.
14190 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14192 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14193 revert to previous code.
14195 WorkArea.[Ch]: (show, destroySplash): methods removed.
14197 WorkArea.C: rework code so that it's an amalgam of the codes before and
14198 after the splash screen was moved to WorkArea.
14200 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14203 * vspace.C (inPixels):
14206 * buffer.C (insertStringAsLines):
14207 (asciiParagraph): fix types to be large enough
14209 * lyxlex_pimpl.h: change member status from short to int
14211 * layout.h: fix type of endlabeltype
14214 * kbsequence.C (parse): change return type to string::size_type
14216 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14219 * Bullet.C (bulletSize):
14220 (bulletEntry): do not use short ints as parameters
14222 * BufferView2.C (insertLyXFile): change a char to an int.
14224 * WorkArea.C (WorkArea): remove unneeded floats in computation
14226 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14228 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14230 * paragraph.C (asString): Do not ignore newline/hfill chars when
14231 copying to the clipboard.
14233 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14235 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14236 after a multi-line inset.
14238 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14240 * paragraph.C (validate): Set NeedLyXFootnoteCode
14242 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14244 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14245 and decrease-error to decrease.
14247 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14249 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14250 it more readable (should be equivalent)
14252 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14254 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14256 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14258 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14259 of a cursor (row, etc.) after a character has been deleted
14260 (deleteEmptyParagraphMechanism): call the method above on _all_
14261 cursors held by the LyXText when a double space has been
14264 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14266 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14268 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14270 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14271 background. Use greyOut() and the new show() methods to toggle between
14272 the foreground and background. Add code to remove the splash after
14273 its initial showing.
14275 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14276 (create_forms): no longer call Dialogs::showSplash.
14278 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14280 * .cvsignore: add version_info.h
14282 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14284 * version_info.h.in: new file
14286 * Makefile.am: add version_info.h.in
14288 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14289 version_info.h instead of VERSION_INFO
14291 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14293 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14294 The ERT inset now returns string().
14296 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14298 * lyxtext.h, text.C (selectNextWord): renamed as
14299 selectNextWordToSpellcheck.
14301 * text.C (selectNextWordToSpellcheck): Modified to not select
14302 words inside an ERT inset.
14304 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14306 * lyx_cb.C (MenuLayoutSave): change a bit the question
14308 * sp_base.h: include <sys/types.h>
14310 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14312 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14314 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14316 * several files: fix typos in user-visible strings
14318 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14320 * text2.C (pasteSelection): do not set the selection, since it
14321 will be cleared later. Actually, the intent was to fix the way the
14322 selection was set, but I figured rmoving the code was just as good.
14324 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14326 * FontLoader.C (available): Check if font is available without
14329 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14331 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14333 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14335 * lyxrc.[Ch]: added display_graphics variable and associated code.
14337 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14339 * bufferparams.C (hasClassDefaults): new method. Returns true if
14340 the buffer parameters correspond to known class defaults
14342 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14344 * XFormsView.C (show): set minimum size to the main window.
14346 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * text2.C (copySelection):
14350 * lyxfind.C (LyXReplace):
14351 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14352 LyXText::selectionAsString.
14354 * paragraph.C (asString): add "label" argument to the second form
14356 * text2.C (selectionAsString): add "label" argument and pass it to
14357 Paragraph::asString.
14359 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14361 * lyx_main.C (commandLineHelp): remove version information
14363 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14365 * lyx_main.C: add -version commandline option
14367 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * paragraph.h: make the optional constructor arg required instead.
14370 some modifications to other files because of this.
14372 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14374 * lyxserver.C (C_LyXComm_callback): make it static
14376 * lyx_main.C (error_handler): make it static
14378 * lyx_gui.C (LyX_XErrHandler): make it static
14380 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14382 * WorkArea.C: make the extern "C" methods static.
14384 * Makefile.am (lyx_LDADD): simplify
14386 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14388 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14389 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14391 * LyXAction.C (init):
14392 * lyxfunc.C (dispatch): associated code removal.
14394 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14396 * lyxfont.h (isSymbolFont): shut off warning
14398 * text.C (setHeightOfRow):
14399 (getVisibleRow): fix crash with empty paragraphs which have a
14402 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14404 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14407 2001-09-04 José Matos <jamatos@fep.up.pt>
14410 * tabular.C (docbook): rename docBook method to docbook.
14412 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14414 * Makefile.am: add dependencies to main.o.
14416 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14418 * FontLoader.C (available): Return false if !lyxrc.use_gui
14420 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14422 * FontInfo.C (query):
14423 * converter.C (view):
14424 * importer.C (Import):
14425 * exporter.C (Export): Can not -> cannot.
14427 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14429 * BufferView_pimpl.C: allow to create index inset even if
14432 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14434 * buffer.C (getLists): replace boost::tie code with an explicit pair
14435 as boost::tie can break some compilers.
14437 * iterators.h: Added a std:: declaration to the return type of
14440 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14442 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14445 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14447 * iterators.[Ch]: New files. Provide paragraph iterators.
14449 * buffer.C (changeLanguage): Use paragraph iterators.
14450 (isMultiLingual): ditto
14452 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14454 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14456 * FontLoader.C: Support for cmr font.
14458 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14460 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14461 (available): New method.
14463 * FontInfo.C (getFontname): Use scalable fonts even when
14464 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14467 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14469 * converter.C (Formats::view): reverted! Incorrect fix.
14471 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14473 * converter.C (Formats::view): only output the -paper option
14474 if the dvi viewer is xdvi, thereby fixing bug #233429.
14476 2001-08-23 Herbert Voss <voss@perce>
14478 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14480 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14482 * Spacing.h (Spacing): Set space to Default on in the default
14485 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * vc-backend.h (RCS::versionString): add RCS to version
14488 (CVS::versionString): add CVS to version
14490 * vc-backend.C (scanMaster): do not add CVS to version.
14491 (scanMaster): do not add RCS to version
14493 * lyxvc.C (versionString): new method
14495 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14497 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14499 * Spacing.C (set): initialize fval
14501 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14503 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14506 2001-08-16 Juergen Vigna <jug@sad.it>
14508 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14510 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14512 * BufferView_pimpl.C:
14515 * text2.C: setParagraph takes linespacing now
14517 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14519 * LyxAction.C: add internal LFUN_CITATION_INSERT
14521 * LyXView.C: actually apply fix
14523 * bufferlist.C: fix open non-existent file
14525 * lyxfind.C: fix indentation
14527 * lyxfunc.C: remove unneeded assert, fix typo
14529 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14531 * MenuBackend.C: use "Floatname List"
14533 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14535 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14536 when converting LaTeX layout to insetERT.
14537 Generate a non-collapsed float when reading old float
14539 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14541 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14544 2001-08-13 Juergen Vigna <jug@sad.it>
14546 * text.C (fill): return 0 instead of 20 as this seems to be the more
14549 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14551 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14554 2001-08-13 Juergen Vigna <jug@sad.it>
14556 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14558 (SearchBackward): comment out the unlocking of the inset_owner this
14559 should not be needed!
14561 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14563 * Many files: Remove inherit_language, and add latex_language
14565 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14566 collapsible insets.
14568 2001-08-10 Juergen Vigna <jug@sad.it>
14570 * text.C (prepareToPrint): fixed hfill-width in draw!
14572 * BufferView2.C (selectLastWord): save the selection cursor as this
14573 now is cleared in the function LyXText::clearSelection!
14575 2001-08-08 Juergen Vigna <jug@sad.it>
14577 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14578 BACKSPACE type functions.
14580 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14581 is only cutted from the document but not put in the cut-buffer, where
14582 still the old stuff should be.
14584 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14586 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14588 * tabular.C (SetWidthOfCell): fixed special case where the width
14590 (LeftLine): handle '|' in align_special.
14592 (LeftAlreadyDrawed): ditto
14593 (SetWidthOfCell): ditto
14595 2001-08-07 Juergen Vigna <jug@sad.it>
14597 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14599 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14601 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14602 * lyxlex.[hC]: ditto
14604 2001-08-06 Juergen Vigna <jug@sad.it>
14606 * text.C (getVisibleRow): fix up row clearing a bit.
14608 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14610 * minibuffer.C: make sure the X server sees the changes in the input.
14612 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14614 * paragraph.C (getFont): split into...
14615 (getLabelFont): this
14616 (getLayoutFont): and this
14617 * paragraph_pimpl.C (realizeFont): calling this
14619 * text2.C (getFont): split into...
14620 (getLayoutFont): this
14621 (getLabelFont): and this
14622 (realizeFont): all three calling this
14624 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14627 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14629 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14631 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14633 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14634 layouts from the Quote inset insertion.
14636 2001-08-03 Juergen Vigna <jug@sad.it>
14638 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14640 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14641 only if status not is already CHANGED_IN_DRAW (second level).
14643 * text.C (draw): don't set the need_break_row when inside an
14646 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14648 * buffer.C (parseSingleLyXformat2Token): handle more latex
14651 * bufferview_funcs.[hC]: change function names to
14652 begin with small char, adjust other files.
14654 2001-08-02 André Pönitz <poenitz@gmx.net>
14657 BufferView_pimpl.C: remove broken special code for math-greek
14659 2001-08-02 Juergen Vigna <jug@sad.it>
14661 * BufferView_pimpl.C (update): redone this function so that we
14662 update the text again if there was a CHANGE_IN_DRAW.
14664 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14665 (drawFromTo): added a new internal bool which is used by draw() and
14667 (general): some cursor drawing problems fixed.
14669 2001-08-01 Juergen Vigna <jug@sad.it>
14671 * lyxfind.C (LyXFind): fixed
14672 (SearchForward): ditto
14673 (SearchBackward): ditto
14675 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14676 spurius drawing of the cursor in the main area.
14678 * text2.C (status): small fix which could lead to a segfault!
14679 (clearSelection): remove unneeded BufferView param.
14681 2001-08-01 André Pönitz <poenitz@gmx.net>
14683 * lyxfunc.C: small change due to changed mathed interface
14685 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14687 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14689 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14691 * lyxfunc.c: fail gracefully if file doesn't exist
14696 * BufferView_pimpl.C: IsDirWriteable() proto changed
14698 * LyXView.C: fix updateWindowTitle() to store the last title
14700 2001-07-31 Juergen Vigna <jug@sad.it>
14702 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14703 the font (wrong since using of Paragraph::highestFontInRange).
14705 * paragraph.C (highestFontInRange): added a default_size parameter.
14707 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14708 (setHeightOfRow): reformat
14710 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14712 * converter.[hC] + affected files: move to (inital-char)lowercase
14715 * ParagraphParameters.C (ParagraphParameters): remove commented code
14717 * PainterBase.[Ch]: remove commented code
14719 * LaTeXFeatures.h: add "bool floats" for float.sty
14721 * LaTeXFeatures.C (LaTeXFeatures): init floats
14722 (require): handle float
14723 (getPackages): do it with floats
14725 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14727 * BufferView_pimpl.C (Dispatch): improve handling of
14728 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14730 * commandtags.h: #include lyxfont.h here temporarily to avoid
14733 * bufferlist.h: include LString.h here.
14735 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14737 * text2.C (getStringToIndex): new method.
14739 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14741 * *: Reduced header file dependencies all over.
14743 2001-07-30 Baruch Even <baruch@lyx.org>
14745 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14747 2001-07-29 Baruch Even <baruch@lyx.org>
14749 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14751 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * ParameterStruct.h (endif): add a default constructor to make
14754 sure that all variables is initialized.
14756 * ParagraphParameters.C (ParagraphParameters): adjust
14758 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14760 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14761 index; also, check that there is something to index, and that it
14762 does not span over several paragraphs.
14763 (doubleClick): use WHOLE_WORD_STRICT for double click.
14765 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14767 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14770 2001-07-26 Baruch Even <baruch@lyx.org>
14772 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14773 an InsetFig figure, backwards compatible reading of old figure code.
14775 2001-07-27 Juergen Vigna <jug@sad.it>
14777 * text2.C: font.realize function adaption.
14779 * text.C (draw): add a warnings lyxerr text if needed.
14781 * layout.C: font.realize function adaption.
14783 * language.C: add inherit_language and implement it's handlings
14785 * bufferview_funcs.C (StyleReset): remove language parameter from
14786 font creation (should be language_inherit now).
14788 * bufferparams.C (writeFile): handle ignore_language.
14790 * paragraph.C (getFontSettings): the language has to be resolved
14791 otherwise we have problems in LyXFont!
14793 * lyxfont.C (lyxWriteChanges): added document_language parameter
14794 (update): removed unneeded language parameter
14796 * paragraph.C (validate): fixed wrong output of color-package when
14797 using interface colors for certain fonts in certain environments,
14798 which should not seen as that on the final output.
14800 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14802 * BufferView_pimpl.C:
14807 * LyXAction.C: add thesaurus support
14810 * lyxfind.C: add "once" parameter, for thesaurus, to not
14811 move to the next match
14813 2001-07-26 Juergen Vigna <jug@sad.it>
14815 * lyxfont.C (realize): honor ignore_language too!
14818 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14820 * text.C (draw): one place more for ignore_language to not draw
14823 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14825 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14827 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14830 the minipage conversion problem.
14832 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14834 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14837 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14839 * BufferView.h: don't forward declare WorkArea
14841 * BufferView.C: don't include WorkArea.h
14843 2001-07-25 André Pönitz <poenitz@gmx.net>
14847 * lyxfunc.C: new LFUN 'math-space'
14849 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14851 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * text2.C (toggleInset): call open/close
14855 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14857 * lyxfunc.C (dispatch): add debug for the disabled case
14859 * font.C (buttonText): make similar to rectText
14861 * buffer.C (readInset): comment out parsing of insetlist and
14864 * PainterBase.C (rectText): small correction
14866 * BufferView_pimpl.C: comment out insettheorem and insetlist
14867 * LyXAction.C: ditto
14868 * commandtags.h: ditto
14870 2001-07-24 Juergen Vigna <jug@sad.it>
14872 * text.C (draw): honor the ignore_language.
14874 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14876 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14881 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14883 * lyxtext.h: remove unused (and unimplemented) methods
14885 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14887 * text.C (getVisibleRow): honor background color
14890 * Painter.h: remove default color argument for fillRectangle
14892 * text.C (backgroundColor): new method
14894 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14896 * text.C (getVisibleRow): adjust
14898 * font.[Ch] (rectText): new method, metrics
14899 (buttonText): new method, metrics
14901 * PainterBase.[hC]: make rectText and buttonText always draw and take
14904 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14906 * ToolbarDefaults.C (read):
14907 * MenuBackend.C (read): allow escaping in all strings
14909 * BufferView_pimpl.C (insertAndEditInset): new method.
14910 (Dispatch): use insertAndEditInset whenever appropriate.
14912 * BufferView_pimpl.C (insertNote): removed
14914 * BufferView_pimpl.C (smartQuote): new method, moved from
14915 BufferView; if an insetquote cannot be inserted, insert a '"'
14918 * BufferView2.C: remove insertCorrectQuote();
14920 * lyxfunc.C (getStatus): Add support for all remaingin
14921 inset-insert lfuns.
14923 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14925 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14926 command (necessary to pass " as parameter of self-insert.
14928 * text.C (selectWordWhenUnderCursor):
14929 (selectWord): add word_location parameter
14930 (selectWordWhenUnderCursor): same + remove special code for word
14932 (selectNextWord): use kind() to guess type of insetspecialchar,
14935 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14936 (insertErtContents): create ert insets as collapsed.
14937 (readInset): better compatibility code for Info inset.
14939 2001-07-20 Juergen Vigna <jug@sad.it>
14941 * lyxfunc.C (dispatch): use always LyXFind now!
14943 * text2.C (init): add a reinit flag so that the LyXText can be
14944 reinited instead of deleted and reallocated (used in InsetText).
14946 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14952 2001-07-18 Juergen Vigna <jug@sad.it>
14954 * text.C (selectNextWord): handle insets inside inset by calling
14955 always the bv->text functions so that we can go up the_locking_inset!
14957 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14958 in strange locations when inside an inset!
14960 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14961 handling to include insets.
14963 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14965 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14967 * LyXAction.C (init):
14969 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14970 LIGATURE_BREAK, since the name is so stupid.
14972 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14974 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14977 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14979 * sp_form.[Ch]: remove.
14981 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14983 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14986 * src/buffer.C (readInset): ditto.
14988 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14990 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14991 menuSeparator(), endOfSentenceDot(), ldots() and
14992 hyphenationPoint(), which are therefore removed.
14993 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14995 * LyXAction.C (init):
14996 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14998 * paragraph.C (getWord): removed.
15000 * BufferView_pimpl.C (Dispatch): use last word or selection for
15001 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15003 * lyx_main.C (queryUserLyXDir): do not ask before creating
15004 user_dir, except if it has been named explicitely.
15006 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15008 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15009 a document of zero size.
15011 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15013 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15014 approriately in the c-tor and in require().
15015 (getPackages): output the appropriate LaTeX for natbib support.
15017 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15018 variables "use_natbib" and "use_numerical_citations" when reading the
15020 (readInset): read the various natbib cite commands.
15021 (validate): white-space change.
15023 * bufferparams.[Ch]: new variables "bool use_natbib" and
15024 "bool use_numerical_citations".
15025 (writeFile): output them in the LyX file.
15027 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15029 * lyxfunc.C (getStatus): add support for all the inset insertion
15032 * text2.C (insertInset):
15033 * paragraph.C (insetAllowed):
15034 * BufferView_pimpl.C (insertInset): update to take in account the
15035 renaming of insertInsetAllowed
15037 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15039 * text2.C (getInset): new method. returns inset at cursor position.
15041 * BufferView_pimpl.C (Dispatch): changes because of this.
15043 * LyXAction.C (init): rename open-stuff to inset-toggle.
15045 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15047 * text2.C (toggleInset): renamed from openStuff; use
15050 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15052 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15054 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15056 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15058 * buffer.C (readLyXformat2): Add filename to the error dialog
15060 2001-07-18 Juergen Vigna <jug@sad.it>
15062 * tabular.C (GetCellNumber): put an assert here instead of the check!
15064 2001-07-17 Juergen Vigna <jug@sad.it>
15066 * BufferView_pimpl.C (toggleSelection): adapted too.
15068 * text.C (selectNextWord): adapted for use with insets.
15069 (selectSelectedWord): ditto
15071 2001-07-17 Juergen Vigna <jug@sad.it>
15073 * sp_spell.C (PSpell): fix initialitation order.
15075 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * paragraph.C: spacing
15079 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15081 * sp_spell.C: repair language selection for pspell
15083 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15085 * lyxfunc.h: change more methods to begin with lower char.
15087 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15089 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15090 for unknown layouts.
15092 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15094 * buffer.C (readLyXformat2): Generate an error dialog if there are
15097 2001-07-16 Juergen Vigna <jug@sad.it>
15099 * sp_spell.C: always compile ISpell part.
15101 * lyxrc.C: added use_pspell entry and it's handling.
15103 2001-07-13 Juergen Vigna <jug@sad.it>
15105 * sp_spell.C: removed double includes.
15107 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15109 Consistent use of Lsstream.h:
15110 * Lsstream.h: added using std::stringstream for consistencies sake.
15112 * buffer.C: removed using std::stringstream
15114 * lyxfont.C (stateText):
15115 * paragraph.C (asString):
15116 * text.C (selectNextWord, selectSelectedWord):
15117 * text2.C (setCounter):
15118 * vspace.C (asString, asLatexString):
15119 std::ostringstream -> ostringstream.
15121 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15123 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15124 * commandtags.h: add LFUN_HELP_ABOUTLYX
15125 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15127 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15129 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15131 * lyx_gui_misc.C: remove spellchecker
15132 * lyxfunc.C: showSpellchecker
15134 * sp_ispell.h: added
15135 * sp_pspell.h: added
15136 * sp_spell.C: added
15137 * sp_form.[Ch]: removed
15138 * spellchecker.[Ch]: removed
15140 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15142 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15144 (simpleTeXSpecialChars): Simply print the input character without
15145 any special translation if pass_thru is set.
15147 * layout.h: Added bool pass_thru to layout class for being able to
15148 implement pass through of a paragraph for Literate Programming.
15150 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15151 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15152 * layout.C (Read): add "passthru" to list of layout tags and add
15153 code to set the pass_thru boolean when it is read.
15155 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * trans_decl.h: remove allowed from KmodInfo
15159 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15160 remove allowed code
15163 * paragraph_pimpl.C (erase): use boost::prior
15165 * Painter.C (text): use data() instead of c_str() when length is
15167 * WorkArea.C (putClipboard): ditto
15168 * font.h (width): ditto
15170 * BufferView2.C: use it-> instead of (*it). for iterators
15172 * paragraph_pimpl.C: ditto
15173 * paragraph.C: ditto
15174 * minibuffer.C: ditto
15175 * language.C: ditto
15177 * encoding.C: ditto
15178 * counters.C: ditto
15179 * converter.C: ditto
15181 * Variables.C: ditto
15182 * TextCache.C: ditto
15183 * MenuBackend.C: ditto
15184 * LyXAction.C: ditto
15186 * FloatList.C: ditto
15187 * DepTable.C: ditto
15188 * ColorHandler.C (LyXColorHandler): ditto
15190 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15192 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15194 * text2.C (openStuff): reintroduce this method (which had been
15195 nuked in NEW_INSETS frenzy).
15197 * lyxfunc.C (Dispatch): when an action has not been handled, use
15198 its name in the error message, not its number.
15200 * paragraph.C (inInset): change method name to begin with lowercase.
15203 * text2.C: updates because of this.
15205 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * ToolbarDefaults.C (add): add spaces in error message
15209 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15211 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15212 (readLyXformat2): rename return_par to first_par, use lyxlex's
15213 pushToken and remove the manual push handling.
15214 (parseSingleLyXformat2Token): add another ert comp. variable:
15215 in_tabular, rename return_par to first_par. handle newlines better
15217 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15219 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15221 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * text2.C (getParFromID): removed
15225 * buffer.C (getParFromID): new method moved form lyxtext.
15226 * BufferView2.C (insertErrors): adjust
15227 (setCursorFromRow): adjust
15228 * BufferView_pimpl.C (restorePosition): adjust
15229 * lyxfunc.C (Dispatch): adjust
15230 * undo_funcs.C (textUndo): adjust
15232 (textHandleUndo): adjust
15233 (textHandleUndo): adjust
15235 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15237 * buffer.C: up' the LYX_FORMAT
15239 * lyxfont.h: turn NO_LATEX on as default
15241 * buffer.C (insertErtContents): new methods of tex style compability.
15242 (parseSingleLyXformat2Token): use it several places.
15243 * tabular.C (OldFormatRead): and here
15245 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * text2.C: remove some commented code.
15250 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15251 * trans.C: changes because of the above.
15253 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15255 * text2.C (setCounter): Fix counters bug with bibliography layout.
15257 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15260 own member functions
15261 (simpleTeXSpecialChars): ditto
15263 2001-07-06 Juergen Vigna <jug@sad.it>
15265 * a lot of files: changed the access to LyXText::status and the
15266 call of undo-functions.
15268 * undo.[Ch]: added a inset_id to the undo informations.
15270 * undo_funcs.[Ch]: added and moved here all undo functions.
15272 * lyxtext.h: give the status enum a weight, made status_ a private
15273 variable and made accessor functions for it, removed the whole bunch
15274 of undo-functions as they are now in their own file, make some
15275 functions publically available. Added function ownerParagraph with
15278 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15279 made InInset() a const function, added getParFromID() function.
15281 * buffer.[Ch]: added const version for inset_iterator functions,
15282 added getInsetFromID() function.
15284 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15285 changed undo functions for new version.
15287 2001-07-05 Juergen Vigna <jug@sad.it>
15289 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15290 unknow mechanism does not call the proper constructor but only this
15291 one also if I request the other!?
15293 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15295 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15297 * text2.C (LyXText): use initialization lists.
15299 * lyxtext.h (Selection): initialize set_ and mark_
15300 (init): remove method
15302 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15304 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15306 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15308 * screen.[Ch]: change method names to begin with lowercase
15310 * BufferView_pimpl.C (updateScrollbar): simplify further and
15311 hopefully make it a bit faster.
15313 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15315 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15316 calling directly xforms functions.
15318 * Painter.C (Painter):
15319 * lyx_cb.C (MenuWrite):
15320 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15323 * lyx_gui.C: remove bogus guiruntime extern declaration.
15325 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15327 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15329 (redoDrawingOfParagraph): ditto
15330 (redoParagraphs): ditto
15331 (cutSelection): don't create a object for CutAndPaste use the
15332 static method directly
15333 (pasteSelection): ditto
15335 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15338 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15340 * modifications to some other files because of this.
15342 * Makefile.am (lyx_SOURCES): add XFormsView
15344 * XFormsView.[Ch]: new files
15346 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15347 the main window. Move the gui dependent stuff to XFormsView
15349 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15351 * tabular.C (GetCellInset): update cur_cell also in the row/col
15352 version of this function.
15354 * lyxfunc.C: no need to include figure_form.h here.
15360 * lyxvc.C: no need to include forms.h here.
15362 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15364 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15366 * lyxfunc.C (Dispatch):
15368 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15369 constructor argument.
15371 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15373 * paragraph.C (Paragraph): dont't clear, and just set layout.
15374 (makeSameLayout): use params's copy contructor.
15376 * ParagraphParameters.[Ch] (makeSame): delete method
15378 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15380 * Variables.[Ch]: fix indentation, rename set to isSet
15382 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15384 * lyxfunc.C (Dispatch): fix typo
15386 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15388 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15391 * bufferlist.C: include assert.h for emergencyWrite().
15393 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15395 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15396 give up at last (bug #425202) !
15398 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15404 * spellchecker.C: strip spellchecker options and bring up
15405 preferences tab instead
15407 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15409 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15410 the istringstream constructor
15412 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * paragraph.C (getLayout): fix return value
15416 * paragraph.h: do not declare getLayout as inline.
15418 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15420 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15422 * lyxcursor.h (operator<): new func
15423 (operator>): new func
15424 (operator>=): new func
15425 (operator<=): new func
15427 * text.C (changeCase): use selection.start and selection.end
15428 (changeRegionCase): require from to be <= to. Require par to be a
15431 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15433 2001-06-27 Juergen Vigna <jug@sad.it>
15435 * text.C (cursorLeftOneWord): changed to return the cursor and added
15436 overlay with BufferView * parameter which calls this one.
15438 (selectWord): use new getWord function.
15439 (changeCase): renamed from changeWordCase as and extended to work
15440 also on selections.
15442 * lyxtext.h: added enum word_location
15444 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15445 changeCase as this operates now also on selections.
15447 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15449 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15451 * many files: send debug output to Debug::INFO instead of
15454 * converter.C (View):
15456 (Move): send debug output to Debug::FILES instead of console.
15458 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15460 * lyxfunc.C (getStatus): use func_status
15462 * func_status.h: new header, describing the results of
15463 LyXFunc::getStatus;
15465 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15468 2001-06-25 The LyX Project <jug@sad.it>
15470 * buffer.C (sgmlOpenTag):
15472 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15474 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * text2.C: remove some dead code
15478 * tabular.C (GetCellInset): store the last cell checked (gotten)
15480 * tabular.h: add the helper for the speedup
15482 * lyxtext.h: remove some dead code
15484 2001-06-26 The LyX Project <Asger>
15486 * paragraph.C: Change export to LaTeX of alignment to
15487 \begin{center} and family for better roundtrip work with reLyX.
15489 * Tune the math drawing a bit.
15491 2001-06-25 The LyX Project <Asger>
15493 * LColor.C (LColor): New color for math background. New color
15496 2001-06-25 The LyX Project <jug@sad.it>
15498 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15500 * lyxfunc.C (Open):
15501 * bufferlist.C (newFile): do not restrict to files ending with
15504 * BufferView_pimpl.C (MenuInsertLyXFile):
15506 2001-06-24 The LyX Project <jug@sad.it>
15508 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15511 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15513 * lyxtext.h: rename most methods to begin with a small char.
15514 Lots of changes because of this.
15516 * paragraph.C (Paragraph): do not call fitToSize
15517 (erase): call Pimpl::erase
15518 (insertChar): call Pimpl::insertChar
15519 (insertInset): call Pipl::insertInset
15520 (breakParagraph): do not call fitToSize
15521 (breakParagraphConservative): do not call fitToSize
15522 (fitToSize): remove method
15524 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15526 2001-06-24 The LyX Project <Asger>
15528 * Fix Qt compilation^2
15530 2001-06-24 The LyX Project <jug@sad.it>
15532 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15533 depthHook(getDepth()-1).
15536 * ParagraphParameters.h:
15537 * ParameterStruct.h: change type of depth to unsigned int ==
15538 depth_type. Many adaptations to other files before of that.
15540 2001-06-24 The LyX Project <Asger>
15542 * Fix Qt compilation.
15544 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15546 * paragraph.h: renamed several methods to begin with small letter.
15547 several changes to many parts of the code because of this.
15549 2001-06-23 The LyX Project <jug@sad.it>
15551 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15552 rewritten to discard all double spaces when KeepEmpty is off
15553 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15554 to only handle newlines but not fiddle with spaces and friends.
15556 * lyxfunc.C (MenuNew): when doing 'new from template', use
15557 template_path as default directory
15559 2001-06-23 The LyX Project <Asger>
15561 * Clean-up of header file includes all over
15562 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15564 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15566 * paragraph.h: renamed from lyxparagraph.h
15568 2001-06-23 Asger <lyx@violet.home.sad.it>
15570 * Buffer.h: Removed Buffer::resize
15571 * BufferList.h: Removed BufferList::resize
15572 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15573 the document lazily when we change the width, or the font settings.
15575 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15577 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15579 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15581 * buffer.h: remove out of date comment
15583 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15586 * screen.C: fix "theoretical" GC leak
15588 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15590 * LaTeX.C (scanAuxFile):
15591 (deplog): remove trailing \r when reading stream (useful under
15594 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15596 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15597 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15598 and BufferView::theLockingInset(Inset*), so should use them and not
15599 access bv_->text->the_locking_inset directly.
15601 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15603 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15606 * tex-defs.h: remove old unused file
15608 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15610 * BufferView_pimpl.C: fix typo, remove minibuffer message
15611 when buffer has loaded
15613 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15615 * lyxfunc.C (Dispatch): use stringstream
15616 (MenuNew): use stringstream
15617 (Open): use stringstream
15619 * importer.C (Import): use stringstream
15621 * bufferview_funcs.C (CurrentState): use stringstream
15623 * LaTeX.C (run): use stringstream
15625 * BufferView_pimpl.C (savePosition): use stringstream
15626 (restorePosition): use stringstream
15627 (MenuInsertLyXFile): use stringstream
15629 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15642 * vspace.C: removed // -*- C++ -*- as first line.
15645 * version.h: added // -*- C++ -*- as first line.
15647 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15649 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15651 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15654 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15656 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15659 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15661 * gettext.C: include LString.h even when --disable-nls is on.
15663 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15665 * converter.h (Get): changed argument type from int to
15666 FormatList::size_type to avoid unnecessary conversion.
15668 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15671 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15673 * gettext.h: include LString.h even when --disable-nls is on.
15675 2001-06-07 Juergen Vigna <jug@sad.it>
15677 * text.C (BreakAgain): subst spaces with tabs.
15679 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15680 (resizeInsetsLyXText): set force on resizeLyXText.
15682 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15684 * gettext.h (gettext_init):
15685 (locale_init): use a real definition instead of a macro
15687 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15689 * Bufferview_pimpl.C:
15691 * LColor.C: further lcolor tidies
15693 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15695 * BufferView_pimpl.C (updateScrollbar): simplify.
15697 * BufferView2.C: don't include insets/insetinfo.h, change
15698 prototype for insertInset and call the Pimpl version. let
15699 updateInset call Pimpl version.
15701 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15702 gotoInset to BufferView::Pimpl
15704 2001-06-01 Juergen Vigna <jug@sad.it>
15706 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15707 inside a LockingInset (is the update needed at all?).
15709 2001-05-31 Juergen Vigna <jug@sad.it>
15711 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15712 here not the old one otherwise how should we compare it afterwards
15715 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15720 * FontInfo.C: bring C functions into global namespace when
15723 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15725 * LString.h: make sure config.h has been loaded before LString.h.
15727 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15728 (one for each char read by EatLine!).
15730 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15733 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15736 to the same as the par we break from
15738 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15740 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15742 * MenuBackend.C (expand): also create menu entries for wide
15743 versions of the floats.
15745 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15747 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15749 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15750 frontends/Makefile.am
15756 * tabular.C (getTokenValue): add std::
15758 * tabular-old.C (getTokenValue): add std::
15759 (getTokenValue): ditto
15760 (getTokenValue): ditto
15762 * screen.C (ToggleSelection): adjust
15764 * lyxtext.h: put selection cursors inside a Selection struct.
15766 * lyxfunc.C (moveCursorUpdate): adjust
15768 * lyxfont.C (latexWriteStartChanges): add std::
15770 * lyxfind.C: adjust
15772 * font.h: delete with(char const *, LyXFont const &)
15774 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15776 * FontInfo.C (getFontname): add std::
15778 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15779 (workAreaButtonPress): adjust
15780 (tripleClick): adjust
15782 (moveCursorUpdate): adjust
15785 * BufferView2.C (gotoInset): adjust
15787 2001-05-30 Juergen Vigna <jug@sad.it>
15789 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15790 to check pspell I add this as default as I now have new pspell
15791 libraries and they seem to use this.
15793 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15795 * text2.C (CutSelection): make the cursor valid before the call to
15798 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15800 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15801 relied on 0 terminated strings and other horrors. Bug found due to
15802 the new assert in lyxstring!
15804 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15807 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15809 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15812 * lyxfunc.C (processKeySym): change method of getting to the
15815 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15816 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15817 * BufferView_pimpl.[Ch]: here as private methods.
15819 2001-05-28 Juergen Vigna <jug@sad.it>
15821 * text.C (SetHeightOfRow): added the update() call again as it is
15822 needed to initialize inset dimensions!
15824 2001-05-16 Juergen Vigna <jug@sad.it>
15826 * text2.C (SetCharFont): Add new function with BufferView * and
15827 bool toggleall parameters for setting insets internal fonts.
15828 (SetFont): Freeze the undo as we may change fonts in Insets and
15829 all this change should be inside only one Undo!
15831 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15832 setting font's in insets as for them we have the SetFont function!
15834 2001-05-15 Juergen Vigna <jug@sad.it>
15836 * text2.C (ClearSelection): to be sure we REALLY don't have any
15839 * tabular.C (TeXCellPreamble): fixed the left border problem for
15842 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15844 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15847 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15849 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15850 LFUN_BREAKPARAGRAPH.
15852 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15853 help test to "internal only", similar for LFUN_INSERT_URL
15855 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15856 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15857 auto_region_delete and deadkeys.
15859 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15862 * LColor.C: remove some dead entries, tidy a little
15864 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15866 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15868 (Dispatch): implement LFUN_ESCAPE
15870 * commandtags.h: add LFUN_ESCAPE
15872 * LyXAction.C (init): add entry for LFUN_ESCAPE
15874 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15875 Remove commented code.
15876 (insertNote): moved here
15877 (open_new_inset): moved here
15879 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15882 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * kbmap.C (findbinding): clean it up and make it work correctly.
15886 * lyx_main.C (init): do not pass argc and argv as parameters
15888 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15890 * buffer.C: fix path for OS/2 & Win32
15894 * lyx_main.C: Added os:: class.
15896 * os2_defines.h: update
15898 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15901 better by trying again with reduced state.
15903 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15905 * lyxrc.C (read): print error about invalid key sequence only when
15906 debugging (because not all latinX keysyms are known to some X
15909 * kbsequence.C (getiso): add a few std:: qualifiers
15910 (getiso): comment out extra return statement.
15912 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15914 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15916 (Dispatch): enhance the accent inset a bit. (not perfect)
15918 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15920 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15922 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15924 * bufferlist.C (emergencyWrite): fix assert() call
15926 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15928 * text.C (InsertChar): Added trivial patch to only send the "you
15929 can not do multiple spaces this way" message once during a
15932 2001-05-08 Baruch Even <baruch@lyx.org>
15934 * Makefile.am: Changed order of libraries to get LyX to link properly
15935 with the gnome frontend.
15937 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15939 * LaTeXFeatures.h: add a std:: qualifier
15941 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15943 * paragraph.C (String): use stringstream
15945 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15947 * paragraph.C (writeFile): remove footflag arg
15949 * buffer.C (makeLaTeXFile): use stringstream
15950 (latexParagraphs): remove footnot gurba
15952 * LaTeXFeatures.C (getPackages): use stringstream
15953 (getMacros): likewise
15954 (getTClassPreamble): likewise
15955 (getFloatDefinitions): new method
15957 * paragraph.C (writeFile): reindent
15960 * WorkArea.h: revert the xpos + etc changes.
15962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15964 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15966 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15967 (pasteSelection): likewise
15968 * text2.C (CreateUndo): likewise
15970 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15972 * minibuffer.C (peek_event): temporarily reduce the functionality
15973 of the minibuffer (to allow args on lfuns)
15975 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15976 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15978 * buffer.C (readInset): add compability reading of old float
15979 lists, add reading of new style float list.
15980 (readInset): avoid reevaluation of inscmd.getCmdName()
15981 (getLists): reindent
15983 * MenuBackend.C (MenuItem): implement parsing of
15984 md_floatlistinsert and md_floatinsert.
15985 (expand::LastFiles): move initalizaton of iterators out of loop,
15986 avoid reevaluation.
15987 (expand::Documents): introduce typdedef vector<string> Strings,
15989 (expand::ExportFormats): introduce typedef vector<Format const *>
15990 Formats, and use it.
15991 (expand): implement FloatListInsert and FloatInsert.
15993 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15994 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15995 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15997 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15999 (Dispatch::LFUN_FLOAT_LIST): implement
16001 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16003 * LaTeX.C (run): Fix problem with --export code.
16005 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16007 * BufferView.[Ch] (workarea): removed.
16008 (getClipboard) new method; wrapper for workarea()->getClipboard()
16010 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16013 * WorkArea.h (width, height, xpos, ypos): These methods all
16014 returned the dimensions of the work_area sub-area of WorkArea,
16015 resulting in a position error if the WorkArea were resized. Now
16016 return the dimensions of the entire WorkArea.
16018 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16020 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16022 * LaTeX.C (deplog): correct the syntax of regex reg1
16024 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * undo.C: remove !NEW_INSETS cruft
16028 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * text2.C: remove !NEW_INSETS cruft
16032 * text.C: remove !NEW_INSETS cruft
16034 * tabular.C: remove !NEW_INSETS cruft
16036 * spellchecker.C: remove !NEW_INSETS cruft
16038 * lyxtext.h: remove !NEW_INSETS cruft
16040 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16042 * lyxfunc.C: remove !NEW_INSETS cruft
16044 * lyxfind.C: remove !NEW_INSETS cruft
16046 * lyx_cb.C: remove !NEW_INSETS cruft
16048 * figureForm.C: remove !NEW_INSETS cruft
16050 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16052 * buffer.[Ch]: remove !NEW_INSETS cruft
16054 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16056 * CutAndPaste.C: remove !NEW_INSETS cruft
16058 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16060 * BufferView2.C: remove !NEW_INSETS cruft
16062 * BufferView.h: remove !NEW_INSETS cruft
16064 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * Lsstream.h: include LString.h before the sstream headers to
16067 fix problem with gcc 2.95.3 and lyxstring
16069 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16071 * lyx_main.C: add using directives when needed for C functions
16072 declared in std:: namespace.
16074 2001-04-27 Juergen Vigna <jug@sad.it>
16076 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16077 (SetHeightOfRow): comment out the update call should not be needed!
16079 2001-04-13 Juergen Vigna <jug@sad.it>
16081 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16082 (LyXTabular): tried to minimize operator= operations (and realized
16083 hopfully Lars wish).
16085 2001-04-27 Juergen Vigna <jug@sad.it>
16087 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16089 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16091 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16093 * buffer.C (readInset): hack to make listof algorithm work
16095 * BufferView_pimpl.C: hack to make listof algorithm work
16097 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16099 * LyXAction.C: removed all !NEW_INSETS cruft
16100 (init): moved lfun_item in method
16102 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16104 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16106 * BufferView2.C (theLockingInset): white space.
16108 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16110 * minibuffer.C: include <iostream>
16112 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16114 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16116 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16118 * text.[Ch] (TransposeChars): new method
16120 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16122 * call message directly through LyXView instead of through LyXFunc
16123 * BufferView2.C: adjust
16124 * BufferView_pimpl.C: adjust
16125 * FontLoader.C: adjust
16127 * bufferview_funcs.C: adjust
16128 * converter.C: adjust
16129 * figureForm.C: adjust
16130 * importer.C: adjust
16132 * lyx_gui_misc.C: adjust
16133 * lyxfunc.C: adjust
16136 + more files in subdirs
16138 * lyxparagraph.h (size): move up int file
16141 * adjust all uses of Assert to lyx::Assert.
16143 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16144 lyxfunctional in namespace lyx
16145 * layout.C (hasLayout): ditto
16148 (delete_layout): ditto
16149 (NumberOfClass): ditto
16150 * converter.C (GetFormat): ditto
16155 * bufferlist.C (getFileNames): ditto
16156 (emergencyWriteAll): ditto
16159 * MenuBackend.C (hasSubmenu): ditto
16162 * BufferView_pimpl.C (getInsetByCode): ditto
16164 2001-04-18 Juergen Vigna <jug@sad.it>
16166 * vspace.C (asLatexString): fixed the 100% problem.
16168 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16170 * lyxfunc.C (Dispatch):
16172 * minibuffer.h: add a few std:: qualifiers
16174 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16176 * minibuffer.[Ch]: reimplement so that commands is initiated and
16177 run from lyxfunc, simplified som handling, and made the completion
16178 and history code for complete. wip.
16180 * lyxfunc.C (processKeySym): call message
16181 (miniDispatch): new temporary method
16182 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16183 (LFUN_MESSAGE): implement
16184 (LFUN_MESSAGE_PUSH): implement
16185 (LFUN_MESSAGE_POP): implement
16186 (initMiniBuffer): the initial/defualt minibuffer message.
16188 * lyxfont.[Ch]: inline some more getters
16190 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16192 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16194 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16195 (AutoSave): use LFUN_MESSAGE
16196 (Reconfigure): ditto
16198 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16200 * figureForm.C: use LFUN_MESSAGE
16202 * converter.C (runLaTeX): use LFUN_MESSAGE
16204 * bufferview_funcs.C: use LFUN_MESSAGE
16206 (changeDepth): ditto
16208 * bufferparams.h: use boost::
16210 * bufferlist.h: inherit privately from noncopyable
16212 * bufferlist.C (loadLyXFile): remove some commented code.
16214 * buffer.C (runChktex): use LFUN_MESSAGE
16216 * ShareContainer.h: inherit privately from noncopyable
16218 * ParagraphParameters.[hC] (depth): inline it.
16220 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16222 (message): new method
16223 (messagePush): ditto
16224 (messagePop): ditto
16225 (show): init minibuffer
16226 (showState): direct call
16228 * LaTeX.[Ch]: inherit privately from noncopyable
16229 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16230 instead of WriteStatus.
16232 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16234 * BufferView_pimpl.C (buffer): don't init minibuffer
16235 (workAreaButtonPress): use LFUN_MESSAGE
16236 (workAreaButtonRelease): ditto
16237 (savePosition): ditto
16238 (restorePosition): ditto
16239 (MenuInsertLyXFile): ditto
16240 (workAreaExpose): don't init minibuffer
16241 (update): remove commented code, simplify
16243 * BufferView2.C (openStuff): use LFUN_MESSAGE
16244 (toggleFloat): ditto
16247 (copyEnvironment): ditto
16248 (pasteEnvironment): ditto
16253 (updateInset): remove some commented code
16255 * lastfiles.h: inherit privately from noncopyable
16258 * lyx_main.h: ditto
16260 * lyxlex_pimpl.h: ditto
16262 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16263 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16264 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16266 * LyXAction.h: inherit privately from noncopyable, add methods
16267 func_begin, func_end, returning iterators to the func map.
16269 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16270 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16271 (func_begin): new method
16272 (func_end): new method
16274 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16276 (copySelection): ditto
16277 (pasteSelection): ditto
16279 * BufferView.C: whitespace change
16280 * BufferView.h: inherit privately from noncopyable
16282 2001-04-16 Allan Rae <rae@lyx.org>
16284 * tabular-old.C (l_getline):
16285 * spellchecker.C (sc_check_word):
16286 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16287 an unrecognised preprocessor directive. So ensure they're wrapped.
16289 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16291 * src/exporter.C (Export): Give an error message when path to file
16294 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16296 * LaTeX.C (deplog): Always check that foundfile exists.
16298 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16303 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16305 * tabular.[Ch] (getLabelList): implement new method
16307 * minibuffer.h: comment ouf setTiimer
16309 * minibuffer.C (ExecutingCB): constify res
16310 (peek_event): constify s
16311 (Set): constify ntext
16312 (Init): constify nicename
16314 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16316 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16317 (savePosition): use two params to Minibuffer::Set
16318 (restorePosition): ditto
16320 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16322 * lyx_main.C: include language.h
16324 * Makefile.am (lyx_main.o): add language.h
16326 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16332 * CutAndPaste.C: include gettext.h
16334 * lyxfont.h: remove old hack with ON and OFF.
16337 * lyxfont.h: do not include language.h...
16342 * bufferview_funcs.C:
16348 * paragraph.C: ... but do it here instead
16350 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16352 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16354 * tabular.C: small reformat
16356 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16359 (BreakParagraph): ditto
16360 (SetOnlyLayout): ditto
16363 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16366 * lastfiles.C: removed most using decl, add std:: where needed
16368 * buffer.C: ws changes
16370 * MenuBackend.C (class compare_format): put into anon namespace
16371 (expand): constify label, names, action, action2
16374 * text.C (SingleWidth): constify font
16375 (IsBoundary): constify rtl2
16376 (GetVisibleRow): constify ww
16378 * LaTeX.C (deplog): constify logfile
16380 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16382 (workAreaExpose): constify widthChange, heightChange
16384 * lyxrow.C (par): moved
16387 * lyxrow.h: as inlines here
16389 * lyxfont.h (shape): moved from lyxfont.C
16390 (emph): moved from lyxfont.C
16392 * lyxfont.C (LyXFont): use initialization list for all
16394 (shape): move to lyxfont.h as inline
16395 (emph): move to lyxfont.h as inline
16398 2001-04-04 Juergen Vigna <jug@sad.it>
16400 * vspace.C: had to include stdio.h for use of sscanf
16402 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16405 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16406 independent of xforms.
16408 2001-04-02 Juergen Vigna <jug@sad.it>
16410 * spellchecker.C: fixed namespace placing!
16412 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16414 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16415 the LyXParagraph * is 0.
16417 2001-03-29 Juergen Vigna <jug@sad.it>
16419 * vspace.C: added support for %, c%, p%, l%.
16420 (stringFromUnit): added helper function.
16421 (asLatexString): changed to give right results for the %-values.
16423 * buffer.C: convert the widthp in a width%.
16425 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16427 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16430 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16431 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16433 * lyx_cb.[Ch]: see above.
16435 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16439 * lyx.[Ch]: replaced by figure_form.[Ch].
16443 * lyxfunc.C: changed headers associated with above changes.
16445 2001-03-27 Juergen Vigna <jug@sad.it>
16447 * BufferView_pimpl.C: set the temporary cursor right!
16449 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16451 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16453 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16455 * LString.h: removed "using std::getline"!
16457 * BufferView_pimpl.C (Dispatch): changes due to changes in
16458 InsetInclude::Params.
16460 * buffer.C (tag_name): removed redundant break statements as they were
16461 producing lots of warnings with my compiler.
16463 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16465 * LString.h: add "using std::getline" when using the real <string>.
16467 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16469 * buffer.C: removed bitset usage.
16470 PAR_TAG moved to an anonymous name space.
16471 (tag_name): new funtion, also in the anonymous namespace.
16472 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16473 (makeDocBookFile): clean code. Completed transition from string arrays
16475 (SimpleDocBookOnePar): code clean.
16477 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16479 * tabular.C: add some comments.
16481 2001-03-22 Juergen Vigna <jug@sad.it>
16483 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16484 compatibility read a bit and fixed bug with minipage in different
16487 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16489 * buffer.C (pop_tag): removed.
16490 (push_tag): removed.
16491 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16492 array replaced with vector. Added support for CDATA sections.
16493 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16495 (makeDocBookFile): XML conformant declaration of CDATA section,
16496 fixed bug related to <emphasis> in the first paragraph char.
16497 (sgmlOpenTag): exclude empty tags.
16498 (sgmlCloseTag): ditto.
16500 * buffer.h (pop_tag): removed.
16501 (push_tag): removed.
16503 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16505 * language.h (Languages): added size_type and size().
16507 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16509 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16510 response on compability reading of minipages. One probliem is that
16511 the old usage of minipages was «flertydig»
16513 * several files here and in subdirs: don't use static at file
16514 scope use anon namespaces instead.
16516 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16518 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16519 LaTeX output. This is necessary for Literate document
16522 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16524 * buffer.C: insert hfill when needed.
16526 * tabular.C (l_getline): use string::erase, small whitespace change.
16528 * BufferView_pimpl.C: try the anon namespace.
16529 * WorkArea.C: ditto
16531 2001-03-16 Juergen Vigna <jug@sad.it>
16533 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16534 otherwise it won't open options-dialogs.
16536 * buffer.C: honor pextraWidth(p) on converting minipages.
16538 * tabular.C (l_getline): changed the functions to strip trailing \r.
16540 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16542 * BufferView_pimpl.C:
16543 * minibuffer..C: added "using SigC::slot" declaration.
16545 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16547 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16553 * paragraph.C: ditto
16555 * lyxtext.h: NO_PEXTRA
16557 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16559 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16560 * ParameterStruct.h: ditto
16561 * ParagraphParameters.h: ditto
16562 * lyxparagraph.h: ditto
16564 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16566 * buffer.C: add compability for minipage alignment.
16567 (latexParagraphs): remove unwanted pextra check.
16569 * several files: remove CXX_WORKING_NAMESPACES
16571 * buffer.C (pop_tag): tie is in namespace boost
16573 * BufferView.h: noncopyable is in namespace boost
16575 * lyx_main.h: ditto
16578 * lastfiles.h: ditto
16579 * bufferlist.h: ditto
16580 * ShareContainer.h: ditto
16582 * LyXAction.h: ditto
16585 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16587 * Merging changes from BRANCH_MVC back into HEAD.
16589 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16591 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16593 * BufferView_pimpl.C: change from intl.C
16597 * Makefile.am: move combox.*
16603 * intl.C: remove dialog (covered by prefs)
16605 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16607 * lyxfunc.C (Dispatch): removed redundant break statement.
16609 2001-03-14 Juergen Vigna <jug@sad.it>
16611 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16613 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16615 * buffer.C: add hack to fix compability reading of minipages.
16617 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16619 * buffer.C (getLists): Cleanup.
16621 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16623 * lyxfont.C (update): don't honor toggleall on font size.
16625 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16629 * Makefile.am: moved to frontends/xforms/
16633 * BufferView_pimpl.C: changes for moved mathpanel
16635 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16637 * gettext.h: fix gettext_init() in --disable-nls
16639 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16641 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16643 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16646 * lyx.h: strip external form
16648 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16650 * BufferView_pimpl.C: add comment, destroySplash()
16652 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16654 * BufferView_pimpl.C:
16658 * lyxfunc.C: use re-worked insetinclude
16660 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16662 * buffer.C: add using std::stringstream.
16664 * lyx_cb.C: readd using std::ios.
16666 * buffer.C: add using std::map.
16668 * BufferView_pimpl.C: add using std::vector.
16670 * ShareContainer.h: add std:: to swap.
16672 * buffer.h: add some typedefs
16673 * buffer.C (getLists): use them
16674 (getLists): renamed from getTocList.
16675 add a counter for the different float types and use it in the
16677 (getLists): use the same counter for the NEW_INSETS and the "non"
16680 * lyx_cb.h: remove unused items, includes, using etc.
16682 * ShareContainer.h: remove some commented code, add more comments
16683 and "documentation".
16685 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16687 * buffer.C (getTocList): make the list also when NEW_INSETS is
16690 * buffer.h: remove TocType
16692 * buffer.C (getTocList): change to return a map<string,
16693 vector<TocItem> >, implement for dynamic number of list.
16695 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16696 * text2.C (PasteSelection): adjust
16697 * CutAndPaste.C (pasteSelection): adjust
16699 * FloatList.C (FloatList): update from the new_insets branch.
16700 * Floating.[Ch]: ditto
16701 * LaTeXFeatures.C: ditto
16703 * lyxlex_pimpl.C: ditto
16705 * paragraph.C (Last): remove when NEW_INSETS is defined.
16707 * other file: changes because of the above.
16709 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16711 * lyxparagraph.h: rename next to next_, previous to previous_,
16712 make them private for NEW_INSETS. Rename Next() to next(),
16713 Previous() to previous().
16715 * other files: changes because of the above.
16717 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16720 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16723 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16725 * main.C (main): pass lyx_localedir to gettext_init().
16727 * gettext.h: remove locale_init and gettext_init macros
16729 * gettext.C (locale_init): new function
16730 (gettext_init): new function
16732 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16735 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16737 * Moved credits to frontends:
16738 * credits.[Ch]: removed
16739 * credits_form.[Ch]: removed
16740 * lyx_gui_misc.C: remove credits stuff
16743 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16745 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16747 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16748 unneeded destructor.
16750 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16751 a standalone pointer again.
16753 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16755 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16761 * ToolbarDefaults.C:
16770 * BufferView_pimpl.C: use new file dialog in GUII
16773 * lyx_cb.C: remove LayoutsCB to Toolbar
16775 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16777 * ShareContainer.h (get): add std:: qualifier
16779 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * ShareContainer.h: define a proper ShareContainer::value_type
16782 type (and use typename to please compaq cxx)
16784 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16786 * lyxparagraph.h: move serveral local vars to
16787 ParameterStruct/ParagraphParameters., use ShareContainer in
16788 FontTable., make vars in FontTable private and add getter and
16791 * paragraph.C: changes because of the above.
16793 * lyxfont.h: remove copy constructor and copy assignment. (the
16794 default ones is ok), move number inside FontBits. move inlines to
16797 * lyxfont.C: add number to initializaton of statics, move several
16798 inlines here. constify several local vars. some whitespace
16799 cleanup. Dont hide outerscope variables.
16801 * Spacing.h: add two new constructors to match the set methods.
16803 * ShareContainer.h: new file, will perhaps be moved to support
16805 * ParameterStruct.h: new file
16807 * ParagraphParameters.h: new file
16809 * ParagraphParameters.C: new file
16811 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16812 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16814 * BufferView_pimpl.C: ParagraphParameter changes.
16815 * buffer.C: Likewise.
16816 * bufferview_funcs.C: Likewise.
16817 * text.C: Likewise.
16818 * text2.C: Likewise.
16820 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16822 * lyxfind.C (LyXReplace): do not redefine default argument in
16824 (IsStringInText): ditto
16825 (SearchForward): ditto
16826 (SearchBackward): ditto
16828 2001-03-06 Juergen Vigna <jug@sad.it>
16830 * lyxfind.C (IsStringInText): put parentes around expressions.
16832 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16834 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16836 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16838 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16840 * stl_string_fwd.h: add comment
16842 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16845 * tabular.C: remove unused DocBook methods
16851 killed DO_USE_DEFAULT_LANGUAGE
16853 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16855 * lyx_gui.C: do not include language.h.
16857 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16858 arguments in function implementation.
16860 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16862 * BufferView_pimpl.C: add <ctime>
16864 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16866 * BufferView_pimpl.C: add using std::find_if
16868 2001-02-27 José Matos <jamatos@fep.up.pt>
16870 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16873 2001-02-11 José Matos <jamatos@fep.up.pt>
16875 * buffer.C (makeDocBookFile): command styles now have a parameter as
16876 "title" by default.
16878 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16880 * layout_forms.[Ch]: removed
16881 * lyx_cb.[Ch]: out character
16882 * lyx_gui.C: out character
16883 * lyx_gui_misc.C: out character
16884 * bufferview_funcs.C: : out character,
16885 added toggleall as parameter in ToggleAndShow
16887 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16889 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16891 * text2.C (SetCurrentFont): Disable number property at boundary.
16893 2001-02-26 Juergen Vigna <jug@sad.it>
16895 * lyxfunc.C (getStatus): added a string argument override function so
16896 that this is correctly called from LyXFunc::Dispatch if it contains a
16897 do_not_use_argument which is used!
16898 (Dispatch): added check for "custom" export and call appropriate func.
16900 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16902 * lyxrc.C: Add language_command_local, language_use_babel and
16903 language_global_options.
16905 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16907 * buffer.C (makeLaTeXFile): Use language_use_babel and
16908 language_global_options.
16910 2001-02-23 Juergen Vigna <jug@sad.it>
16912 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16913 which works with LyXText and putted it inside BufferView. Here now we
16914 only call for that part the BufferView::Dispatch() function.
16916 * BufferView.C (Dispatch): added.
16918 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16919 functions which needs to use a LyXText over from LyXFunc.
16920 (MenuInsertLyXFile): added
16921 (getInsetByCode): added
16922 (moveCursorUpdate): added
16923 (static TEXT): added
16925 2001-02-22 Juergen Vigna <jug@sad.it>
16927 * BufferView_pimpl.C (update): call a status update to see if LyXText
16930 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16932 * vc-backend.C (revert): implement for CVS
16933 (getLog): implement for CVS
16935 2001-02-20 Juergen Vigna <jug@sad.it>
16937 * text2.C (ClearSelection): added BufferView param for inset_owner call
16939 * lyxfunc.C (TEXT): added this function and use it instead of
16940 directly owner->view()-text of getLyXText().
16942 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16944 * src/layout_forms.C: out preamble
16945 * src/layout_forms.h: out preamble
16946 * src/lyx_cb.C: out preamble
16947 * src/lyx_cb.h: out preamble
16948 * src/lyx_gui.C: out preamble
16949 * src/lyx_gui_misc.C: out preamble
16950 * src/lyxfunc.C: connect with guii preamble
16952 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16954 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16956 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16958 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16959 whether to run bibtex.
16961 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16963 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16965 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16967 * Makefile.am (lyx_SOURCES): removed bibforms.h
16969 * vspace.h: doxygen
16971 * text.C (GetVisibleRow): make several local vars const
16973 * tabular.C: small cleanup.
16975 * lyxserver.C (callback): use compare instead of strncmp
16977 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16978 inlines to after class or to paragraph.C
16980 * lyxfont.h: remove friend operator!=
16982 * converter.h: move friend bool operator< to non friend and after
16985 * combox.h: small cleanup
16987 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16988 to inlines after class def.
16990 * buffer.C (pop_tag): use string operations instead of strcmp
16992 * bmtable.c: doxygen, small cleanup
16994 * LaTeX.h: remove friend operator==
16996 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17008 * BufferView_pimpl.C:
17009 * BufferView.[Ch]: remove cruft
17011 2001-02-14 Juergen Vigna <jug@sad.it>
17013 * lyxfunc.C: removed #if 0 unused code
17015 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17017 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17019 * text2.C (SetSelection): added a BufferView * parameter
17021 2001-02-13 Juergen Vigna <jug@sad.it>
17023 * lyxfunc.C (Dispatch): fixed protected blank problem.
17024 * BufferView2.C (protectedBlank): added LyxText * parameter.
17026 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17027 (AppendColumn): same as above for column_info.
17029 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17030 (moveCursorUpdate): use a LyXText param for support of InsetText.
17032 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17033 (tripleClick): ditto
17035 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17037 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17039 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17041 * text2.C (SetSelection): set correct update status if inset_owner
17042 (ToggleFree): ditto
17044 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17046 * tabular.C: remove some commented code.
17048 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17050 * BufferView_pimpl.C: call hideSplash()
17052 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17055 * bibforms.h: remove
17058 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17059 add LFUN_CHILD_CREATE
17061 * counters.h: fix tiny typo
17066 * lyx.C: move splash to frontends/xforms/
17068 * lyx_gui_misc.C: move Include and Bibform to frontends
17070 * lyxvc.h: clarify comment
17072 * vspace.C: tiny housekeeping
17074 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17076 * text.C (PrepareToPrint): RTL Fix.
17078 * paragraph.C (GetUChar): New method.
17079 (String): Use GetUChar.
17081 * buffer.C (asciiParagraph): Use GetUChar.
17083 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17085 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17087 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17090 * buffer.C: rename to getLogName(), handle
17091 build log / latex log nicely
17093 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17096 * MenuBackend.h: remove support for reference menuitem type.
17098 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17100 * BufferView_pimpl.C: housekeeping
17101 * BufferView_pimpl.h:
17106 * minibuffer.h: move Timeout GUI-I
17108 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17110 * lyxrc.C (read): Update converters data-structures.
17112 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17114 * LaTeX.h (operator!=): add operator != for Aux_Info
17116 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17118 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17120 * LaTeXLog.C: deleted, useful code moved to Buffer
17123 * buffer.C: new function getLatexLogName()
17129 * lyxfunc.C: use frontends for LaTeX and VC logs
17131 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17133 * LaTeX.h: yet another std:: that Allan forgot.
17135 * Variables.C (set): renamed from isset(), because this clashes
17136 with some HP-UX macros (grr).
17138 2001-02-06 Allan Rae <rae@lyx.org>
17140 * LaTeX.h: Another bug fix. Missing std:: this time.
17142 2001-02-04 Allan Rae <rae@lyx.org>
17144 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17145 floats problem. I've left it commented out because it's not quite
17146 correct. It should also test that the current object is a table or
17147 figure inset. But I haven't gotten around to figuring out how to do
17148 that. I *think* it'll be something like: "table" == inset.type()
17150 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17153 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17155 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17156 all the citation/databases/styles in the auxilary file.
17157 (run): Rerun latex if there was a babel language error.
17159 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17161 * text.C (Backspace): Preserve the font when changing newline char
17163 (BreakParagraph): If the cursor is before a space, delete the space.
17165 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17167 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17169 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17170 new argument (code).
17171 (ChangeCitationsIfUnique): New method.
17173 * paragraph.C (GetPositionOfInset): Handle bibkey.
17175 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17177 * BufferView_pimpl.h: change type of Position::par_pos to
17178 LyXParagraph::size_type.
17180 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17182 * BufferView_pimpl.C (savePosition, restorePosition): Write
17183 messages to minibuffer.
17185 2001-01-28 José Matos <jamatos@fep.up.pt>
17187 * buffer.C (makeDocBookFile): adds support for document language.
17188 A silly restriction on the name of LatexCommand types where removed.
17189 Added support for CDATA sections, allows to chars unescaped, used
17190 among others in code, to avoid escape < and >.
17192 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17194 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17195 saved positions instrad of a stack. Furthermore, a position is
17196 stored using paragraph id/paragraph position.
17198 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17199 Remove LFUN_REF_BACK.
17201 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17203 * converter.C (dvipdfm_options): New method.
17205 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17207 * vspace.C (isValidLength): Fix for empty input string.
17209 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17211 * LyXAction.C (init): change description of LFUN_FIGURE to
17214 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17216 * LaTeX.C: add using directive
17218 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17220 * MenuBackend.C (expand): Fix the sorting of the formats.
17222 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17224 * lyx_main.C: tiny error message fix
17226 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17228 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17229 calling fl_initialize(). This fixes the problem with ',' as
17230 decimal separator in text files.
17232 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17234 * trans.C (process): Fix the keymap bug.
17236 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17238 * LaTeX.C (scanAuxFiles): New method. Provides support for
17239 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17240 (scanLogFile) Scan for "run BibTeX" messages.
17242 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17243 OT1 font encoding. Also, load the aecompl package if the ae
17246 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17248 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17250 * texrow.C (increasePos): turn two error messages into debug
17253 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17255 * LaTeX.C (scanAux): Handle the \@input macro.
17256 (runBibTeX): Use scanAux().
17258 * language.C (latex_options_): New field.
17260 * LaTeXFeatures.C (getMacros): Add language macros.
17262 * buffer.C (makeLaTeXFile): Small fix.
17264 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17266 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17268 * text2.C: add a using directive.
17270 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17275 * lyxfunc.C: kill LyXBell.
17277 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17279 * text.C (IsBoundary): Remove the error message
17281 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17283 * lyxrc.C (setDefaults): Correct initialization value for
17286 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17288 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17291 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17292 and GotoNextNote().
17294 * src/LyXAction.C: Added reference-next.
17296 * text.C (InsertChar): Use contains instead of strchr.
17298 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17300 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17302 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17303 alignment commands (when needed).
17305 * text.C (InsertChar): Add ':' to number separator chars.