1 2001-03-16 Juergen Vigna <jug@sad.it>
3 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
4 otherwise it won't open options-dialogs.
6 * buffer.C: honor pextraWidth(p) on converting minipages.
8 * tabular.C (l_getline): changed the functions to strip trailing \r.
10 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13 * minibuffer..C: added "using SigC::slot" declaration.
15 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17 * lyxlex_pimpl.h: noncopyable is in namespace boost.
25 * lyxtext.h: NO_PEXTRA
27 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
29 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
30 * ParameterStruct.h: ditto
31 * ParagraphParameters.h: ditto
32 * lyxparagraph.h: ditto
34 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
36 * buffer.C: add compability for minipage alignment.
37 (latexParagraphs): remove unwanted pextra check.
39 * several files: remove CXX_WORKING_NAMESPACES
41 * buffer.C (pop_tag): tie is in namespace boost
43 * BufferView.h: noncopyable is in namespace boost
50 * ShareContainer.h: ditto
55 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
57 * Merging changes from BRANCH_MVC back into HEAD.
59 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
61 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
63 * BufferView_pimpl.C: change from intl.C
67 * Makefile.am: move combox.*
73 * intl.C: remove dialog (covered by prefs)
75 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
77 * lyxfunc.C (Dispatch): removed redundant break statement.
79 2001-03-14 Juergen Vigna <jug@sad.it>
81 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
83 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
85 * buffer.C: add hack to fix compability reading of minipages.
87 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
89 * buffer.C (getLists): Cleanup.
91 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
93 * lyxfont.C (update): don't honor toggleall on font size.
95 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
99 * Makefile.am: moved to frontends/xforms/
103 * BufferView_pimpl.C: changes for moved mathpanel
105 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
107 * gettext.h: fix gettext_init() in --disable-nls
109 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
111 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
113 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
116 * lyx.h: strip external form
118 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
120 * BufferView_pimpl.C: add comment, destroySplash()
122 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
124 * BufferView_pimpl.C:
128 * lyxfunc.C: use re-worked insetinclude
130 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
132 * buffer.C: add using std::stringstream.
134 * lyx_cb.C: readd using std::ios.
136 * buffer.C: add using std::map.
138 * BufferView_pimpl.C: add using std::vector.
140 * ShareContainer.h: add std:: to swap.
142 * buffer.h: add some typedefs
143 * buffer.C (getLists): use them
144 (getLists): renamed from getTocList.
145 add a counter for the different float types and use it in the
147 (getLists): use the same counter for the NEW_INSETS and the "non"
150 * lyx_cb.h: remove unused items, includes, using etc.
152 * ShareContainer.h: remove some commented code, add more comments
155 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
157 * buffer.C (getTocList): make the list also when NEW_INSETS is
160 * buffer.h: remove TocType
162 * buffer.C (getTocList): change to return a map<string,
163 vector<TocItem> >, implement for dynamic number of list.
165 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
166 * text2.C (PasteSelection): adjust
167 * CutAndPaste.C (pasteSelection): adjust
169 * FloatList.C (FloatList): update from the new_insets branch.
170 * Floating.[Ch]: ditto
171 * LaTeXFeatures.C: ditto
173 * lyxlex_pimpl.C: ditto
175 * paragraph.C (Last): remove when NEW_INSETS is defined.
177 * other file: changes because of the above.
179 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
181 * lyxparagraph.h: rename next to next_, previous to previous_,
182 make them private for NEW_INSETS. Rename Next() to next(),
183 Previous() to previous().
185 * other files: changes because of the above.
187 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
190 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
193 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
195 * main.C (main): pass lyx_localedir to gettext_init().
197 * gettext.h: remove locale_init and gettext_init macros
199 * gettext.C (locale_init): new function
200 (gettext_init): new function
202 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
205 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
207 * Moved credits to frontends:
208 * credits.[Ch]: removed
209 * credits_form.[Ch]: removed
210 * lyx_gui_misc.C: remove credits stuff
213 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
215 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
217 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
220 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
221 a standalone pointer again.
223 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
225 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
240 * BufferView_pimpl.C: use new file dialog in GUII
243 * lyx_cb.C: remove LayoutsCB to Toolbar
245 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
247 * ShareContainer.h (get): add std:: qualifier
249 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
251 * ShareContainer.h: define a proper ShareContainer::value_type
252 type (and use typename to please compaq cxx)
254 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
256 * lyxparagraph.h: move serveral local vars to
257 ParameterStruct/ParagraphParameters., use ShareContainer in
258 FontTable., make vars in FontTable private and add getter and
261 * paragraph.C: changes because of the above.
263 * lyxfont.h: remove copy constructor and copy assignment. (the
264 default ones is ok), move number inside FontBits. move inlines to
267 * lyxfont.C: add number to initializaton of statics, move several
268 inlines here. constify several local vars. some whitespace
269 cleanup. Dont hide outerscope variables.
271 * Spacing.h: add two new constructors to match the set methods.
273 * ShareContainer.h: new file, will perhaps be moved to support
275 * ParameterStruct.h: new file
277 * ParagraphParameters.h: new file
279 * ParagraphParameters.C: new file
281 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
282 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
284 * BufferView_pimpl.C: ParagraphParameter changes.
285 * buffer.C: Likewise.
286 * bufferview_funcs.C: Likewise.
290 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
292 * lyxfind.C (LyXReplace): do not redefine default argument in
294 (IsStringInText): ditto
295 (SearchForward): ditto
296 (SearchBackward): ditto
298 2001-03-06 Juergen Vigna <jug@sad.it>
300 * lyxfind.C (IsStringInText): put parentes around expressions.
302 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
304 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
306 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
308 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
310 * stl_string_fwd.h: add comment
312 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
315 * tabular.C: remove unused DocBook methods
321 killed DO_USE_DEFAULT_LANGUAGE
323 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
325 * lyx_gui.C: do not include language.h.
327 * bufferview_funcs.C (ToggleAndShow): do not provide optional
328 arguments in function implementation.
330 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
332 * BufferView_pimpl.C: add <ctime>
334 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
336 * BufferView_pimpl.C: add using std::find_if
338 2001-02-27 José Matos <jamatos@fep.up.pt>
340 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
343 2001-02-11 José Matos <jamatos@fep.up.pt>
345 * buffer.C (makeDocBookFile): command styles now have a parameter as
348 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
350 * layout_forms.[Ch]: removed
351 * lyx_cb.[Ch]: out character
352 * lyx_gui.C: out character
353 * lyx_gui_misc.C: out character
354 * bufferview_funcs.C: : out character,
355 added toggleall as parameter in ToggleAndShow
357 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
359 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
361 * text2.C (SetCurrentFont): Disable number property at boundary.
363 2001-02-26 Juergen Vigna <jug@sad.it>
365 * lyxfunc.C (getStatus): added a string argument override function so
366 that this is correctly called from LyXFunc::Dispatch if it contains a
367 do_not_use_argument which is used!
368 (Dispatch): added check for "custom" export and call appropriate func.
370 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
372 * lyxrc.C: Add language_command_local, language_use_babel and
373 language_global_options.
375 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
377 * buffer.C (makeLaTeXFile): Use language_use_babel and
378 language_global_options.
380 2001-02-23 Juergen Vigna <jug@sad.it>
382 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
383 which works with LyXText and putted it inside BufferView. Here now we
384 only call for that part the BufferView::Dispatch() function.
386 * BufferView.C (Dispatch): added.
388 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
389 functions which needs to use a LyXText over from LyXFunc.
390 (MenuInsertLyXFile): added
391 (getInsetByCode): added
392 (moveCursorUpdate): added
395 2001-02-22 Juergen Vigna <jug@sad.it>
397 * BufferView_pimpl.C (update): call a status update to see if LyXText
400 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
402 * vc-backend.C (revert): implement for CVS
403 (getLog): implement for CVS
405 2001-02-20 Juergen Vigna <jug@sad.it>
407 * text2.C (ClearSelection): added BufferView param for inset_owner call
409 * lyxfunc.C (TEXT): added this function and use it instead of
410 directly owner->view()-text of getLyXText().
412 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
414 * src/layout_forms.C: out preamble
415 * src/layout_forms.h: out preamble
416 * src/lyx_cb.C: out preamble
417 * src/lyx_cb.h: out preamble
418 * src/lyx_gui.C: out preamble
419 * src/lyx_gui_misc.C: out preamble
420 * src/lyxfunc.C: connect with guii preamble
422 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
424 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
426 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
428 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
429 whether to run bibtex.
431 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
433 * Makefile.am (lyx_SOURCES): Remove BackStack.h
435 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
437 * Makefile.am (lyx_SOURCES): removed bibforms.h
441 * text.C (GetVisibleRow): make several local vars const
443 * tabular.C: small cleanup.
445 * lyxserver.C (callback): use compare instead of strncmp
447 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
448 inlines to after class or to paragraph.C
450 * lyxfont.h: remove friend operator!=
452 * converter.h: move friend bool operator< to non friend and after
455 * combox.h: small cleanup
457 * buffer.h: doxygen, remove unused constructor, move inclas inlies
458 to inlines after class def.
460 * buffer.C (pop_tag): use string operations instead of strcmp
462 * bmtable.c: doxygen, small cleanup
464 * LaTeX.h: remove friend operator==
466 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
478 * BufferView_pimpl.C:
479 * BufferView.[Ch]: remove cruft
481 2001-02-14 Juergen Vigna <jug@sad.it>
483 * lyxfunc.C: removed #if 0 unused code
485 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
487 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
489 * text2.C (SetSelection): added a BufferView * parameter
491 2001-02-13 Juergen Vigna <jug@sad.it>
493 * lyxfunc.C (Dispatch): fixed protected blank problem.
494 * BufferView2.C (protectedBlank): added LyxText * parameter.
496 * tabular.C (AppendRow): forgot to set row_info of newly added row.
497 (AppendColumn): same as above for column_info.
499 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
500 (moveCursorUpdate): use a LyXText param for support of InsetText.
502 * BufferView_pimpl.C (doubleClick): added support for InsetText.
505 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
507 * BufferView_pimpl.C (update): added LyXText param to honor insets.
509 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
511 * text2.C (SetSelection): set correct update status if inset_owner
514 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
516 * tabular.C: remove some commented code.
518 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
520 * BufferView_pimpl.C: call hideSplash()
522 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
528 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
529 add LFUN_CHILD_CREATE
531 * counters.h: fix tiny typo
536 * lyx.C: move splash to frontends/xforms/
538 * lyx_gui_misc.C: move Include and Bibform to frontends
540 * lyxvc.h: clarify comment
542 * vspace.C: tiny housekeeping
544 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
546 * text.C (PrepareToPrint): RTL Fix.
548 * paragraph.C (GetUChar): New method.
549 (String): Use GetUChar.
551 * buffer.C (asciiParagraph): Use GetUChar.
553 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
555 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
557 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
560 * buffer.C: rename to getLogName(), handle
561 build log / latex log nicely
563 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
566 * MenuBackend.h: remove support for reference menuitem type.
568 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
570 * BufferView_pimpl.C: housekeeping
571 * BufferView_pimpl.h:
576 * minibuffer.h: move Timeout GUI-I
578 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
580 * lyxrc.C (read): Update converters data-structures.
582 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
584 * LaTeX.h (operator!=): add operator != for Aux_Info
586 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
588 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
590 * LaTeXLog.C: deleted, useful code moved to Buffer
593 * buffer.C: new function getLatexLogName()
599 * lyxfunc.C: use frontends for LaTeX and VC logs
601 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
603 * LaTeX.h: yet another std:: that Allan forgot.
605 * Variables.C (set): renamed from isset(), because this clashes
606 with some HP-UX macros (grr).
608 2001-02-06 Allan Rae <rae@lyx.org>
610 * LaTeX.h: Another bug fix. Missing std:: this time.
612 2001-02-04 Allan Rae <rae@lyx.org>
614 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
615 floats problem. I've left it commented out because it's not quite
616 correct. It should also test that the current object is a table or
617 figure inset. But I haven't gotten around to figuring out how to do
618 that. I *think* it'll be something like: "table" == inset.type()
620 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
623 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
625 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
626 all the citation/databases/styles in the auxilary file.
627 (run): Rerun latex if there was a babel language error.
629 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
631 * text.C (Backspace): Preserve the font when changing newline char
633 (BreakParagraph): If the cursor is before a space, delete the space.
635 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
637 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
639 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
641 (ChangeCitationsIfUnique): New method.
643 * paragraph.C (GetPositionOfInset): Handle bibkey.
645 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
647 * BufferView_pimpl.h: change type of Position::par_pos to
648 LyXParagraph::size_type.
650 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
652 * BufferView_pimpl.C (savePosition, restorePosition): Write
653 messages to minibuffer.
655 2001-01-28 José Matos <jamatos@fep.up.pt>
657 * buffer.C (makeDocBookFile): adds support for document language.
658 A silly restriction on the name of LatexCommand types where removed.
659 Added support for CDATA sections, allows to chars unescaped, used
660 among others in code, to avoid escape < and >.
662 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
664 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
665 saved positions instrad of a stack. Furthermore, a position is
666 stored using paragraph id/paragraph position.
668 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
669 Remove LFUN_REF_BACK.
671 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
673 * converter.C (dvipdfm_options): New method.
675 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
677 * vspace.C (isValidLength): Fix for empty input string.
679 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
681 * LyXAction.C (init): change description of LFUN_FIGURE to
684 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
686 * LaTeX.C: add using directive
688 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
690 * MenuBackend.C (expand): Fix the sorting of the formats.
692 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
694 * lyx_main.C: tiny error message fix
696 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
698 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
699 calling fl_initialize(). This fixes the problem with ',' as
700 decimal separator in text files.
702 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
704 * trans.C (process): Fix the keymap bug.
706 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
708 * LaTeX.C (scanAuxFiles): New method. Provides support for
709 multiple bibliographies (when using the bibtopic/bibunits pacakges).
710 (scanLogFile) Scan for "run BibTeX" messages.
712 * buffer.C (makeLaTeXFile): Do not load the ae package when using
713 OT1 font encoding. Also, load the aecompl package if the ae
716 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
718 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
720 * texrow.C (increasePos): turn two error messages into debug
723 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
725 * LaTeX.C (scanAux): Handle the \@input macro.
726 (runBibTeX): Use scanAux().
728 * language.C (latex_options_): New field.
730 * LaTeXFeatures.C (getMacros): Add language macros.
732 * buffer.C (makeLaTeXFile): Small fix.
734 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
736 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
738 * text2.C: add a using directive.
740 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
745 * lyxfunc.C: kill LyXBell.
747 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
749 * text.C (IsBoundary): Remove the error message
751 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
753 * lyxrc.C (setDefaults): Correct initialization value for
756 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
758 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
761 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
764 * src/LyXAction.C: Added reference-next.
766 * text.C (InsertChar): Use contains instead of strchr.
768 * lyx_cb.C (MenuInsertLabel): Enable default value code.
770 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
772 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
773 alignment commands (when needed).
775 * text.C (InsertChar): Add ':' to number separator chars.