1 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3 * gettext.h: fix gettext_init() in --disable-nls
5 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12 * lyx.h: strip external form
14 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16 * BufferView_pimpl.C: add comment, destroySplash()
18 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
20 * buffer.C: add using std::stringstream.
22 * lyx_cb.C: readd using std::ios.
24 * buffer.C: add using std::map.
26 * BufferView_pimpl.C: add using std::vector.
28 * ShareContainer.h: add std:: to swap.
30 * buffer.h: add some typedefs
31 * buffer.C (getLists): use them
32 (getLists): renamed from getTocList.
33 add a counter for the different float types and use it in the
35 (getLists): use the same counter for the NEW_INSETS and the "non"
38 * lyx_cb.h: remove unused items, includes, using etc.
40 * ShareContainer.h: remove some commented code, add more comments
43 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
45 * buffer.C (getTocList): make the list also when NEW_INSETS is
48 * buffer.h: remove TocType
50 * buffer.C (getTocList): change to return a map<string,
51 vector<TocItem> >, implement for dynamic number of list.
53 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
54 * text2.C (PasteSelection): adjust
55 * CutAndPaste.C (pasteSelection): adjust
57 * FloatList.C (FloatList): update from the new_insets branch.
58 * Floating.[Ch]: ditto
59 * LaTeXFeatures.C: ditto
61 * lyxlex_pimpl.C: ditto
63 * paragraph.C (Last): remove when NEW_INSETS is defined.
65 * other file: changes because of the above.
67 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
69 * lyxparagraph.h: rename next to next_, previous to previous_,
70 make them private for NEW_INSETS. Rename Next() to next(),
71 Previous() to previous().
73 * other files: changes because of the above.
75 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
78 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
81 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
83 * main.C (main): pass lyx_localedir to gettext_init().
85 * gettext.h: remove locale_init and gettext_init macros
87 * gettext.C (locale_init): new function
88 (gettext_init): new function
90 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
93 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
95 * Moved credits to frontends:
96 * credits.[Ch]: removed
97 * credits_form.[Ch]: removed
98 * lyx_gui_misc.C: remove credits stuff
101 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
103 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
105 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
108 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
109 a standalone pointer again.
111 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
113 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
128 * BufferView_pimpl.C: use new file dialog in GUII
131 * lyx_cb.C: remove LayoutsCB to Toolbar
133 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
135 * ShareContainer.h (get): add std:: qualifier
137 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
139 * ShareContainer.h: define a proper ShareContainer::value_type
140 type (and use typename to please compaq cxx)
142 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
144 * lyxparagraph.h: move serveral local vars to
145 ParameterStruct/ParagraphParameters., use ShareContainer in
146 FontTable., make vars in FontTable private and add getter and
149 * paragraph.C: changes because of the above.
151 * lyxfont.h: remove copy constructor and copy assignment. (the
152 default ones is ok), move number inside FontBits. move inlines to
155 * lyxfont.C: add number to initializaton of statics, move several
156 inlines here. constify several local vars. some whitespace
157 cleanup. Dont hide outerscope variables.
159 * Spacing.h: add two new constructors to match the set methods.
161 * ShareContainer.h: new file, will perhaps be moved to support
163 * ParameterStruct.h: new file
165 * ParagraphParameters.h: new file
167 * ParagraphParameters.C: new file
169 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
170 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
172 * BufferView_pimpl.C: ParagraphParameter changes.
173 * buffer.C: Likewise.
174 * bufferview_funcs.C: Likewise.
178 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
180 * lyxfind.C (LyXReplace): do not redefine default argument in
182 (IsStringInText): ditto
183 (SearchForward): ditto
184 (SearchBackward): ditto
186 2001-03-06 Juergen Vigna <jug@sad.it>
188 * lyxfind.C (IsStringInText): put parentes around expressions.
190 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
192 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
194 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
196 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
198 * stl_string_fwd.h: add comment
200 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
203 * tabular.C: remove unused DocBook methods
209 killed DO_USE_DEFAULT_LANGUAGE
211 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
213 * lyx_gui.C: do not include language.h.
215 * bufferview_funcs.C (ToggleAndShow): do not provide optional
216 arguments in function implementation.
218 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
220 * BufferView_pimpl.C: add <ctime>
222 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
224 * BufferView_pimpl.C: add using std::find_if
226 2001-02-27 José Matos <jamatos@fep.up.pt>
228 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
231 2001-02-11 José Matos <jamatos@fep.up.pt>
233 * buffer.C (makeDocBookFile): command styles now have a parameter as
236 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
238 * layout_forms.[Ch]: removed
239 * lyx_cb.[Ch]: out character
240 * lyx_gui.C: out character
241 * lyx_gui_misc.C: out character
242 * bufferview_funcs.C: : out character,
243 added toggleall as parameter in ToggleAndShow
245 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
247 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
249 * text2.C (SetCurrentFont): Disable number property at boundary.
251 2001-02-26 Juergen Vigna <jug@sad.it>
253 * lyxfunc.C (getStatus): added a string argument override function so
254 that this is correctly called from LyXFunc::Dispatch if it contains a
255 do_not_use_argument which is used!
256 (Dispatch): added check for "custom" export and call appropriate func.
258 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
260 * lyxrc.C: Add language_command_local, language_use_babel and
261 language_global_options.
263 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
265 * buffer.C (makeLaTeXFile): Use language_use_babel and
266 language_global_options.
268 2001-02-23 Juergen Vigna <jug@sad.it>
270 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
271 which works with LyXText and putted it inside BufferView. Here now we
272 only call for that part the BufferView::Dispatch() function.
274 * BufferView.C (Dispatch): added.
276 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
277 functions which needs to use a LyXText over from LyXFunc.
278 (MenuInsertLyXFile): added
279 (getInsetByCode): added
280 (moveCursorUpdate): added
283 2001-02-22 Juergen Vigna <jug@sad.it>
285 * BufferView_pimpl.C (update): call a status update to see if LyXText
288 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
290 * vc-backend.C (revert): implement for CVS
291 (getLog): implement for CVS
293 2001-02-20 Juergen Vigna <jug@sad.it>
295 * text2.C (ClearSelection): added BufferView param for inset_owner call
297 * lyxfunc.C (TEXT): added this function and use it instead of
298 directly owner->view()-text of getLyXText().
300 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
302 * src/layout_forms.C: out preamble
303 * src/layout_forms.h: out preamble
304 * src/lyx_cb.C: out preamble
305 * src/lyx_cb.h: out preamble
306 * src/lyx_gui.C: out preamble
307 * src/lyx_gui_misc.C: out preamble
308 * src/lyxfunc.C: connect with guii preamble
310 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
312 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
314 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
316 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
317 whether to run bibtex.
319 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
321 * Makefile.am (lyx_SOURCES): Remove BackStack.h
323 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
325 * Makefile.am (lyx_SOURCES): removed bibforms.h
329 * text.C (GetVisibleRow): make several local vars const
331 * tabular.C: small cleanup.
333 * lyxserver.C (callback): use compare instead of strncmp
335 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
336 inlines to after class or to paragraph.C
338 * lyxfont.h: remove friend operator!=
340 * converter.h: move friend bool operator< to non friend and after
343 * combox.h: small cleanup
345 * buffer.h: doxygen, remove unused constructor, move inclas inlies
346 to inlines after class def.
348 * buffer.C (pop_tag): use string operations instead of strcmp
350 * bmtable.c: doxygen, small cleanup
352 * LaTeX.h: remove friend operator==
354 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
366 * BufferView_pimpl.C:
367 * BufferView.[Ch]: remove cruft
369 2001-02-14 Juergen Vigna <jug@sad.it>
371 * lyxfunc.C: removed #if 0 unused code
373 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
375 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
377 * text2.C (SetSelection): added a BufferView * parameter
379 2001-02-13 Juergen Vigna <jug@sad.it>
381 * lyxfunc.C (Dispatch): fixed protected blank problem.
382 * BufferView2.C (protectedBlank): added LyxText * parameter.
384 * tabular.C (AppendRow): forgot to set row_info of newly added row.
385 (AppendColumn): same as above for column_info.
387 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
388 (moveCursorUpdate): use a LyXText param for support of InsetText.
390 * BufferView_pimpl.C (doubleClick): added support for InsetText.
393 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
395 * BufferView_pimpl.C (update): added LyXText param to honor insets.
397 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
399 * text2.C (SetSelection): set correct update status if inset_owner
402 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
404 * tabular.C: remove some commented code.
406 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
408 * BufferView_pimpl.C: call hideSplash()
410 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
416 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
417 add LFUN_CHILD_CREATE
419 * counters.h: fix tiny typo
424 * lyx.C: move splash to frontends/xforms/
426 * lyx_gui_misc.C: move Include and Bibform to frontends
428 * lyxvc.h: clarify comment
430 * vspace.C: tiny housekeeping
432 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
434 * text.C (PrepareToPrint): RTL Fix.
436 * paragraph.C (GetUChar): New method.
437 (String): Use GetUChar.
439 * buffer.C (asciiParagraph): Use GetUChar.
441 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
443 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
445 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
448 * buffer.C: rename to getLogName(), handle
449 build log / latex log nicely
451 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
454 * MenuBackend.h: remove support for reference menuitem type.
456 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
458 * BufferView_pimpl.C: housekeeping
459 * BufferView_pimpl.h:
464 * minibuffer.h: move Timeout GUI-I
466 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
468 * lyxrc.C (read): Update converters data-structures.
470 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
472 * LaTeX.h (operator!=): add operator != for Aux_Info
474 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
476 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
478 * LaTeXLog.C: deleted, useful code moved to Buffer
481 * buffer.C: new function getLatexLogName()
487 * lyxfunc.C: use frontends for LaTeX and VC logs
489 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
491 * LaTeX.h: yet another std:: that Allan forgot.
493 * Variables.C (set): renamed from isset(), because this clashes
494 with some HP-UX macros (grr).
496 2001-02-06 Allan Rae <rae@lyx.org>
498 * LaTeX.h: Another bug fix. Missing std:: this time.
500 2001-02-04 Allan Rae <rae@lyx.org>
502 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
503 floats problem. I've left it commented out because it's not quite
504 correct. It should also test that the current object is a table or
505 figure inset. But I haven't gotten around to figuring out how to do
506 that. I *think* it'll be something like: "table" == inset.type()
508 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
511 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
513 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
514 all the citation/databases/styles in the auxilary file.
515 (run): Rerun latex if there was a babel language error.
517 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
519 * text.C (Backspace): Preserve the font when changing newline char
521 (BreakParagraph): If the cursor is before a space, delete the space.
523 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
525 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
527 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
529 (ChangeCitationsIfUnique): New method.
531 * paragraph.C (GetPositionOfInset): Handle bibkey.
533 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
535 * BufferView_pimpl.h: change type of Position::par_pos to
536 LyXParagraph::size_type.
538 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
540 * BufferView_pimpl.C (savePosition, restorePosition): Write
541 messages to minibuffer.
543 2001-01-28 José Matos <jamatos@fep.up.pt>
545 * buffer.C (makeDocBookFile): adds support for document language.
546 A silly restriction on the name of LatexCommand types where removed.
547 Added support for CDATA sections, allows to chars unescaped, used
548 among others in code, to avoid escape < and >.
550 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
552 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
553 saved positions instrad of a stack. Furthermore, a position is
554 stored using paragraph id/paragraph position.
556 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
557 Remove LFUN_REF_BACK.
559 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
561 * converter.C (dvipdfm_options): New method.
563 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
565 * vspace.C (isValidLength): Fix for empty input string.
567 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
569 * LyXAction.C (init): change description of LFUN_FIGURE to
572 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
574 * LaTeX.C: add using directive
576 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
578 * MenuBackend.C (expand): Fix the sorting of the formats.
580 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
582 * lyx_main.C: tiny error message fix
584 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
587 calling fl_initialize(). This fixes the problem with ',' as
588 decimal separator in text files.
590 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
592 * trans.C (process): Fix the keymap bug.
594 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
596 * LaTeX.C (scanAuxFiles): New method. Provides support for
597 multiple bibliographies (when using the bibtopic/bibunits pacakges).
598 (scanLogFile) Scan for "run BibTeX" messages.
600 * buffer.C (makeLaTeXFile): Do not load the ae package when using
601 OT1 font encoding. Also, load the aecompl package if the ae
604 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
606 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
608 * texrow.C (increasePos): turn two error messages into debug
611 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
613 * LaTeX.C (scanAux): Handle the \@input macro.
614 (runBibTeX): Use scanAux().
616 * language.C (latex_options_): New field.
618 * LaTeXFeatures.C (getMacros): Add language macros.
620 * buffer.C (makeLaTeXFile): Small fix.
622 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
624 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
626 * text2.C: add a using directive.
628 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
633 * lyxfunc.C: kill LyXBell.
635 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
637 * text.C (IsBoundary): Remove the error message
639 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
641 * lyxrc.C (setDefaults): Correct initialization value for
644 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
646 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
649 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
652 * src/LyXAction.C: Added reference-next.
654 * text.C (InsertChar): Use contains instead of strchr.
656 * lyx_cb.C (MenuInsertLabel): Enable default value code.
658 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
660 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
661 alignment commands (when needed).
663 * text.C (InsertChar): Add ':' to number separator chars.