]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0955a935158fd7de776aa689d63a4132a8fef133
[lyx.git] / src / ChangeLog
1 2004-10-29  José Matos  <jamatos@lyx.org>
2
3         * output_docbook.C (makeEnvironment):
4         * sgml.C (openTag):
5         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
6
7 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
8
9         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
10         (cleanID): sanitize any id.
11
12 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
13
14         * buffer.C, lyxlex_pimpl.C:
15         * lyxlex_pimpl.C (setFile):
16         s/getExtFromContents/getFormatFromContents/
17
18 2004-10-28  José Matos  <jamatos@lyx.org>
19
20         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
21
22         * sgml.C (openTag): apply substitution of <> for all attribuites.
23
24 2004-10-28  José Matos  <jamatos@lyx.org>
25
26         * buffer.C (makeLinuxDocFile, makeDocBookFile):
27         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
28         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
29
30         * sgml.[Ch]: new version for open and closeTag for paragraph and
31         for strings. Now they handle the ids of paragraphs.
32
33 2004-10-26  Angus Leeming  <leeming@lyx.org>
34
35         * Makefile.am: add mover.[Ch].
36
37         * converter.C (convert, move): use the new Movers to move external
38         files to the temp directory.
39
40         * lyx_main.C (init): ensure that the global system_movers data
41         is initialised.
42
43         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
44         preferences file.
45
46         * mover.[Ch]: new files, defining a Mover as a utility to move an
47         external file between directories and, if necessary, manipulate this
48         file using a helper script.
49
50 2004-10-25  José Matos  <jamatos@lyx.org>
51
52         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
53
54 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * sgml.C (escapeString): fix warning in a better way
57
58 2004-10-25  José Matos  <jamatos@lyx.org>
59
60         * sgml.C (escapeString): import the require boosts header file for
61         tie, and avoid a signed unsigned comparison.
62
63 2004-10-25  José Matos  <jamatos@lyx.org>
64
65         * sgml.h: add #include <string>
66
67 2004-10-25  José Matos  <jamatos@lyx.org>
68
69         * sgml.[Ch] (escapeString): new function to escape all the string.
70
71 2004-10-24  José Matos  <jamatos@lyx.org>
72
73         * paragraph.[Ch] (getFirstWord): new function to get the first
74         word. Useful for description.
75         (simpleDocBookOnePar): remove depth argument, add another that
76         says where to start the paragraph.
77
78         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
79         use the new functions to fix cleanly the support for descriptions.
80
81 2004-10-24  José Matos  <jamatos@lyx.org>
82
83         * buffer.C (makeLinuxDocFile, makeDocBookFile):
84         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
85         * output_linuxdoc.C (linuxdocParagraphs):
86         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
87         add buffer as argument.
88
89 2004-10-24  José Matos  <jamatos@lyx.org>
90
91         * output_docbook.C (makeEnvironment, searchEnvironment): place
92         CDATA inside paragraphs and fix scope for listitems.
93
94 2004-10-24  José Matos  <jamatos@lyx.org>
95
96         * output_docbook.C: remove using statement for stack.
97
98 2004-10-23  José Matos  <jamatos@lyx.org>
99
100         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
101         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
102         docbook. The new scheme is recursive and makes use of iterators, the
103         same as latex export works.
104         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
105         directly with the paragraph contents. This code was moved up to
106         output_docbook.C (docbookParagraphs).
107         * sgml.C (openTag, closeTag): removed unneeded newlines.
108         (closeEnvTags) removed.
109
110 2003-10-23  André Pönitz  <poenitz@gmx.net>
111
112         * undo.C (textUndoOrRedo):
113         * dociterator.C (asDocIterator): work around crash
114
115         * cursor.C (getStatus): replace ASSERT by more verbose error message
116           and manual correction of the problem. Should increase stability
117           while providing more sensible information.
118
119 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
122
123         * bufferlist.C (previous, next): new methods
124
125         * lfuns.h:
126         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
127
128 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
129
130         * buffer.C (makeDocBookFile): add dsssl stylesheet control
131         entities to preamble.
132
133 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * messages.C (Pimpl): strip off translation context information
136
137 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
140         the cursor is correct (bug 1694)
141
142 2004-10-13  José Matos  <jamatos@lyx.org>
143
144         * output_docbook.C (docbookParagraphs): fix closing tags in the
145         end of the document.
146
147 2004-10-09  José Matos  <jamatos@lyx.org>
148
149         * buffer.C: format up to 237.
150         * bufferparams.C (write): use tostr to convert booleans to strings.
151
152 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
155
156 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * LaTeX.C: implement use of babel language in xindy.
159
160 2004-10-05  José Matos  <jamatos@lyx.org>
161
162         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
163         Add new translators to help reading and writing the lyx file.
164
165 2004-10-05  José Matos  <jamatos@lyx.org>
166
167         * ParagraphParameters.C (read):
168         * text.C (readParToken): replace nexToken by more appropriate lex
169         methods.
170
171 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
172
173         * LaTeX.C (runMakeIndex):
174         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
175         (usually 'makeindex') configurable.
176
177         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
178         with a variable rather than with a number.
179
180 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
181
182         * output_latex.C (TeXOnePar): make sure font setting is the first
183         thing that gets output (and the last at the end). Should fix bug
184         1404.
185
186 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
187
188         * pch.h: use proper signal include
189
190         * LaTeX.h: Use preferred calling of Boost.Signal
191         * buffer.h: ditto
192
193 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
194
195         * pch.h: dont include <boost/function/function0.hpp>
196
197         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
198
199         * paragraph_pimpl.h: remove usage of ShareContainer
200
201         * paragraph_pimpl.C: remove initialization of ShareContainer.
202
203 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         Fix bug #1666
206
207         * BufferView.C (putSelectionAt): change the semantics when
208         backwards == true: now, this just swaps cursor and anchor wrt the
209         forward case
210
211         * BufferView.h (putSelectionAt): add some documentation
212
213         * lyxfind.C (findBackwards): rewrite using while(). In particular,
214         make sure backwardChar is done at least once (to avoid getting
215         stuck)
216         (findNextChange): use putSelectionAt in the forward direction
217         (operator()): use Paragraph::isWord
218
219 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
220
221         * Spacing.C (set): c_str fix
222
223 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * lyx_cb.C (Reconfigure): quote the name of configure script in
226         case it contains spaces
227
228 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
229
230         * client: new dir
231
232         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
233         (BOOST_LIBS): use top_buildir when looking for the file
234
235 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
236
237         * pch.h: do not use include boost/format.hpp, multiple symbols
238                 will result (gcc bug)
239
240
241 2004-08-23  José Matos  <jamatos@lyx.org>
242
243         * bufferparams.C (readToken): fix reading of the author field.
244
245 2004-08-20  José Matos  <jamatos@lyx.org>
246
247         * lyxrc.C: remove support/translator.h inclusion since it is not used.
248
249 2004-08-20  José Matos  <jamatos@lyx.org>
250
251         * lyxlex.[Ch] (findToken): remove function.
252
253         * ParagraphParameters.C (findToken):
254         * bufferparams.C (findToken): replace call for previous function
255         with local copy. This local function has one more argument, the
256         read string argument.
257
258 2004-08-16  José Matos  <jamatos@lyx.org>
259
260         * ParagraphParameters.C (write):
261         * Spacing.C (writeFile):
262         * bufferparams.C (writeLaTeX):
263         * lyx_cb.C (Reconfigure):
264         * paragraph.C (write):
265         * tabular.C (write): remove unnecessary space at end of line.
266
267
268 2004-08-16  José Matos  <jamatos@lyx.org>
269
270         * text.C (readParagraph): remove debug message.
271
272 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
275         crash
276
277         * output_plaintext.C (asciiParagraph): set depth correctly
278
279         * outputparams.h: add member depth
280
281         * paragraph_funcs.C (ownerPar): remove.
282
283         * text2.C (setCounter): remove first_pit; comment out some
284         non-working code that uses ownerPar
285
286         * BufferView.C (getParentLanguage): remove. Not used anymore, and
287         uses ownerPar
288
289 2004-08-16  José Matos  <jamatos@lyx.org>
290
291         * text.C (readParToken, readParagraph, read): report all unknown tokens.
292         For the same level of importance use the same chanel to report problems.
293         (read): add code to deal with \begin_body and \end_body.
294
295
296 2004-08-15  José Matos  <jamatos@lyx.org>
297
298         * lyxlex.C (getString): fix comment, buffer::readBody is now
299         buffer:readDocument.
300
301         * tex-strings.C (string_papersize): Default -> default,
302         Custom -> custom, for consistency with other options.
303
304 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
305
306         * pch.h: new file
307
308         * Makefile.am: support pch
309
310 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * text.C (readParToken): remove the static LyXFont variable and
313         pass it as a parameter instead. This fixes a nasty bug where an
314         inset will be inserted with a bad font in some situations
315         (readParagraph): adapt
316
317         * text2.C (setCounter): reduce number of calls to pars_[pit]
318
319         * text.C (singleWidth): add an assert, fix a test
320
321         * rowpainter.C (paintText): reduce number of calls to singleWidth
322
323         * paragraph.C (isHfill):
324         (isNewline): ws only
325
326 2004-08-14  André Pönitz  <poenitz@gmx.net>
327
328         * text.C:
329         * text2.C:
330         * rowpainter.C:
331         * lyxtext.h (several functions): use a Paragraph & argument
332         instead of par_type
333
334 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * metricsinfo.h: add a new field ltr_pos to PainterInfo
337
338         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
339
340         * text.C (singleWidth): remove useless test
341
342 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * tabular.h: remove bogus comments
345
346         * tabular.C (getDescentOfRow):
347         (isPartOfMultiColumn): add assertions
348
349         * lyxlength.C (inPixels): remove #warning
350
351 2004-08-14  André Pönitz  <poenitz@gmx.net>
352
353         * paragraph.h: inline getChar()
354
355         * BufferView.h: remove unused declarations
356
357 2004-08-14  José Matos  <jamatos@lyx.org>
358
359         * Buffer.[Ch] (readDocument): new name for old readBody.
360         * Buffer.C: new file format, new keywords: \begin_document,
361         \begin_header, \begin_body, \end_body.
362
363         * bufferparams.C (readToken): replace all calls to lex.nextToken
364         by lex.next(). Do the same to eatLine except where really needed.
365
366         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
367         line when writing to the lyx file.
368
369         * output_plaintext.C (asciiParagraph): fix Bibliography style
370         handling.
371
372         * text.C (read): fix end of file handling.
373
374 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * MenuBackend.C (Menu::operator[]): new method to access
377         individual menu items
378         (Menu::hasFunc): new method. search for an item that corresponds
379         to a given func
380         (MenuBackend::specialMenu): new method
381         (MenuBackend::expand): if a special menu has been set, skip
382         entries whose func() appears in this menu
383
384 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
385
386         * text3.C: use Debug::DEBUG a bit more
387
388         * text.C (leftMargin): try to simplify a tiny bit change var x to
389         l_margin. Dont output the wide margins always.
390         (rightMargin): no margin in inner texts
391
392         * rowpainter.h (nestMargin): new func
393         (changebarMargin): new func
394         (rightMargin): new func
395
396         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
397         now functions.
398         (paintLast): ditto
399
400         * factory.C (createInset): modify setDrawFrame
401
402         * cursor.C: use Debug::DEBUG a bit more
403
404 2004-08-14  André Pönitz  <poenitz@gmx.net>
405
406         * coordcache.[Ch]:
407         * Makefile.am: new files to accomodate an 'external' (x,y)-position
408         cache for all insets in (at least partially) visible (top-level)
409         paragraphs.
410
411         * BufferView_pimpl.C: reset external coord cache before every update.
412         This means the coord cache only contains valid entries.
413
414 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
415
416         bug 1096
417         * BufferView_pimpl.C (getInsetByCode): move function out of class
418         and change in to a template in anon namespace. Also fix to do what
419         suits us better.
420
421 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
422
423         bug 1305
424         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
425         of char
426         (breakParagraph): rename par to par_offset and use a local
427         reference. Add code to keep the language over a rebreak.
428         (breakParagraphConservative): rename par to par_offset, use a
429         local reference
430         (mergeParagraph): ditto
431         (outerHook): ditto
432         (isFirstInSequence): ditto
433         (outerFont): rename pit to par_offset
434
435         * paragraph.C: ws change
436         * paragraph.h: ditto
437         * text3.C: ditto
438         * text.C: ditto
439
440 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
443         treatment for ']'
444
445         * paragraph.C (simpleTeXOnePar): when we have a \item with
446         optional argument, enclose the argument with curly brackets (in
447         case it contains a closing square bracket)
448
449         * text2.C (editXY):
450         * text2.C (editXY):
451         * text3.C (checkInsetHit): constify
452
453 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
456         documents (bug 1629)
457
458 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         Fix toggling of collapsable insets with the mouse (bug 1558)
461
462         * lyxfunc.C (dispatch): adapt to LCursor changes
463
464         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
465         make sure that dispatch is not invoked twice
466
467         * cursor.C (needsUpdate): new method
468         (dispatch): return void
469         (result): new method, to access the DispatchResult of the cursor.
470
471 2004-08-13  José Matos  <jamatos@lyx.org>
472
473         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
474
475 2004-08-13  André Pönitz  <poenitz@gmx.net>
476
477         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
478
479         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
480           multiple cells
481
482 2004-08-12  André Pönitz  <poenitz@gmx.net>
483
484         * text3.C: take out the 'cursor right' form insertInset and only
485         do it in those places when it is really needed. Fixes crash on
486         C-m...
487
488 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
491
492         * BufferView_pimpl.C (setBuffer): initialize the current font of
493         the underlying LyXText
494
495 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * kbsequence.C (print): use UI native formatting for menu
498         shortcuts
499
500         * text.C (insertChar): call Paragraph::insertChar with a font
501         argument (cosmetic)
502
503         * paragraph.C (insertInset, insertChar): the version that takes a
504         LyXFont argument is now a wrapper around the other one (the
505         opposite used to be true).
506
507         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
508         argument. Font setting is done in Paragraph now.
509
510 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * outputparams.h: add new members intitle and lang.
513
514         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
515         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
516
517 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
518
519         * text3.C (dispatch): remove special handling of button 4 and 5,
520         it is now taken care of in the frontend code.
521
522 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * Spacing.h: add <string> (STLPort compile fix)
525
526 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
527
528         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
529
530 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
531
532         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
533         to bool.
534
535         * converter.C (showMessage): inherit from unary_function, make
536         operator() const.
537
538         * buffer.C (writeFile): initialize retval
539
540         * InsetList.h: rename private variable list to list_
541         * InsetList.[Ch]: adjust accordingly.
542
543 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
544
545         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
546         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
547         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
548         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
549         * ParagraphParameters.C, LaTeXFeatures.C: replace
550         "support/std_sstream.h" with <sstream>
551
552 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
553
554         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
555         * lyxsocket.C (LyXServerSocket): ditto
556         (serverCallback): ditto
557
558 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
559
560         * LaTeXFeatures.C: check release date when loading jurabib.
561
562 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
563
564         * lyxserver.C (startPipe): call register_socket_callback
565         (endPipe): call unregister_socket_callback
566
567 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
568
569         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
570         (LyXServerSocket): register the callback
571         (LyXServerSocket): unregister the callback
572         (fd): delete function
573         (serverCallback): improve error checking and setup the callbacks.
574         (dataCallback): change arg to fd.
575         (writeln): new func (copied fro the client socket) used for server
576         write to client.
577         (LyXDataSocket): simplify
578         (~LyXDataSocket): close ann unregiser callback
579         (server): delete function
580         (fd): delete function
581         (readln): small changes, improve some std::string usage
582         (writeln): constify a bit
583
584 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
587         Qt frontend
588
589 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * BufferView_pimpl.C (setBuffer): set the layout combox value only
592         after it has been populated
593
594 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
595
596         * text2.C (insertInset): move cursor when inserting inset.
597
598 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * kbmap.C (findbindings): a couple of new methods. returns a
601         container of kb_sequence objects. The real work is done by the
602         private recursive version
603         (printbindings): uses findbindings to print out a bracketed list
604         of bindings (renamed from findbinding).
605
606         * MenuBackend.C (binding): use kb_keymap::findbindings
607
608         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
609
610 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
611
612         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
613
614 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * paragraph.C (isWord): return true on insets that report
617         isLetter().
618
619         * text.C (getWord): use Paragraph::isWord to decide what is in a
620         word and what is not; fix bug 1609.
621
622 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
623
624         * tex-strings.C: add "none" to string_paperpackages[], fixes
625         off-by-one-error in the paperpackage selection.
626
627         * lyxlex.[Ch]:
628         * tex-strings.[Ch]: char const * string[n]
629         -> char const * const string[]
630
631 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
632
633         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
634         command, return early.
635
636 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
637
638         * debug.h: add DEBUG to enum and fix size of ANY.
639
640         * debug.C: add support for Debug::DEBUG
641         (showTags): cast errorTags.level to unsigned int
642
643         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
644         (redoCurrentBuffer): ditto
645         (updateScrollbar): ditto
646         * cursor.C (dispatch): ditto
647         * text2.C (setLayout): ditto
648         (setFont): ditto
649         (updateCounters): ditto
650         (editXY): ditto
651         (deleteEmptyParagraphMechanism): ditto
652
653 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
654
655         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
656         annotations to cleanup the Makefile slightly.
657
658 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659
660         * lyxrc.C: do not set user_email to a default value but use empty
661         instead. The entry used to be translated, which does not work
662         since at the point where lyxrc is constructed there is no
663         translation service available
664
665         * messages.C (getLocaleDir): remove and use directly
666         lyx_localedir() instead
667
668 2004-06-02  Angus Leeming  <leeming@lyx.org>
669
670         Fix crash caused by dereferencing null pointer 'exportdata' in
671         OutputParams by creating a new ExportData variable on the heap,
672         storing it in a boost::shared_ptr.
673         The crash was triggered when generating an Instant Preview
674         of an external inset.
675
676         * Makefile.am: add outputparams.C
677
678         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
679         (c-tor): allocate memory to it.
680
681         * exporter.C (c-tor): associated changes.
682
683 2004-06-01  Angus Leeming  <leeming@lyx.org>
684
685         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
686         contains data before calling isInset(0). (Bug 1513.)
687
688 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
689
690         * exporter.C (checkOverwrite): new method
691         * exporter.C (copyFile): new method
692         * exporter.C (Export): copy referenced files to the document dir
693         * exporter.[Ch]: new class ExportedFile
694         * exporter.[Ch]: new class ExportData. Contains currently the
695         names of referenced external files
696         * outputparams.h: add exportdata member.
697
698 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
699
700         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
701         version.C-tmp
702
703 2004-05-19  Angus Leeming  <leeming@lyx.org>
704
705         * LaTeXFeatures.C:
706         * ToolbarBackend.C:
707         * bufferparams.C:
708         * lyxfunc.C: small changes due to the introduction of namespace
709         lyx::frontend and the moving of namespace biblio to lyx::biblio.
710
711 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
712
713         * text3.C (dispatch): supress update when only moving the cursor
714         * cursor.C (selHandle): remove commented code
715
716 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * paragraph.C (startTeXParParams): correct column count
719         * CutAndPaste.C (pasteSelection): remove const_cast
720         * output_docbook.C (docbookParagraphs): remove const_cast
721         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
722         const_cast and return ParagraphList::const_iterator
723         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
724         * output_plaintext.C (writeFileAscii): remove const_cast
725         * paragraph.[Ch] (simpleTeXOnePar): make const
726         * paragraph_funcs.C (outerPar): use const iterators
727         * paragraph_pimpl.C (validate): use const iterators
728         * text.C (setHeightOfRow): use const iterators
729
730 2004-05-17  Angus Leeming  <leeming@lyx.org>
731
732         * lfuns.h:
733         * LyXAction.C (init): new LFUN_INSET_REFRESH.
734
735         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
736         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
737         if the citation engine has changed.
738
739 2004-05-14  José Matos  <jamatos@lyx.org>
740
741         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
742         if the textclass does not provide it. Have it different for sgml and
743         xml.
744         support the language of document.
745         * output_docbook.C (docbookParagraphs):
746         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
747         first anchor as the id of the paragraph, remove special case code.
748         * sgml.C (escapeChar): escape only < & >.
749
750 2004-05-14  Angus Leeming  <leeming@lyx.org>
751
752         * bufferparams.h: move biblio::CiteEngine enum here to minimize
753         dependencies on src/frontends/controllers/biblio.h. Define a
754         CiteEngine_enum wrapper class to enable the enum to be forward
755         declared.
756
757 2004-05-12  Angus Leeming  <leeming@lyx.org>
758
759         * buffer.C: up LYX_FORMAT to 234.
760         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
761         use_numerical_citations with a single biblio::CiteEngine cite_engine
762         variable.
763         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
764
765 2004-05-13  José Matos  <jamatos@lyx.org>
766
767         * converter.h:
768         * converter.C (Converter, readFlags): add xml member.
769         * outputparams.h: add XML flavor.
770         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
771
772 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * lyxfunc.C (dispatch):
775         (getStatus): fix handling of LFUN_SEQUENCE
776
777 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * debug.C (showLevel): do not forget the end-of-line marker
780
781 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * kbmap.C (read): do not stop parsing a bind file when an error
784         occurs (bug 1575)
785
786 2004-04-29  Angus Leeming  <leeming@lyx.org>
787
788         * cursor.C:
789         * factory.C:
790         * pariterator.C:
791         * text2.C: wrap a bunch of #warning statements
792         inside #ifdef WITH_WARNINGS blocks.
793
794 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
795
796         * buffer.C: increment format to 233.
797
798 2004-04-28  Angus Leeming  <leeming@lyx.org>
799
800         * BufferView_pimpl.C:
801         * lyxfunc.C:
802         * text3.C:
803         s/updateToolbar()/updateToolbars()/
804         s/Toolbar.h/Toolbars.h/
805
806 2004-04-28  Angus Leeming  <leeming@lyx.org>
807
808         * BufferView.[Ch] (c-tor):
809         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
810         No longer passes these data to the WorkArea generator.
811
812 2004-04-28  Angus Leeming  <leeming@lyx.org>
813
814         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
815
816 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
817
818         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
819
820 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * output_latex.C (TeXEnvironment): make sure that there is a line
823         break before \end{foo} for the last paragraph of a document
824         (TeXOnePar): if the paragraph is at the end of the document (or
825         inset) and the language has to be reset, then make sure that the
826         line break is _before_ the language command, not after (fixes bug
827         1225); also make sure that the language reset command is the first
828         thing after the paragraph (to ensure proper nesting of
829         environments and thus fix bug 1404)
830
831 2004-04-21  John Levon  <levon@movementarian.org>
832
833         * ToolbarBackend.h:
834         * ToolbarBackend.C: make "name" be a programmatic name
835         and a gui_name field.
836
837         * lyxfunc.C: display the minibuffer on M-x
838
839 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
840
841         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
842         (bug 1526)
843
844 2004-04-19  Angus Leeming  <leeming@lyx.org>
845
846         * BufferView_pimpl.C (setBuffer): changed preview interface.
847
848         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
849         possible values.
850
851 2004-04-19  John Levon  <levon@movementarian.org>
852
853         * BufferView_pimpl.C:
854         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
855
856 2004-04-05  Angus Leeming  <leeming@lyx.org>
857
858         * text.C (redoParagraphs): add call to updateCounters(), thereby
859         fixing the missing "Figure #:" label from the caption of a
860         figure float.
861
862 2004-04-13  Angus Leeming  <leeming@lyx.org>
863
864         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
865         cursor is clicked out of an inset.
866
867 2004-04-13  Angus Leeming  <leeming@lyx.org>
868
869         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
870         than an InsetOld one.
871
872 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
873
874         * format.[Ch]: add editor to Format
875         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
876         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
877
878 2004-04-08  André Pönitz  <poenitz@gmx.net>
879
880         * metricsinfo.h: remove PainterInfo::width member
881
882 2004-04-08  Angus Leeming  <leeming@lyx.org>
883
884         * lyx_sty.C (boldsymbol_def): modify so that it outputs
885         "\providecommand" rather than "\newcommand", thereby preventing
886         clashes with packages that define "\boldsymbol" themselves.
887         Eg, beamer.
888
889 2004-04-08  Angus Leeming  <leeming@lyx.org>
890
891         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
892         thereby squashing an unnecessary warning.
893
894 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
895
896         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
897         setBuffer()
898
899 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
900
901         * BufferView.C (setCursor): call redoParagraph (some insets could
902         have been opened)
903         (putSelectionAt): remove the 'double update' trick
904
905         * BufferView_pimpl.C (fitCursor): call refreshPar
906         (workAreaDispatch): remove an uneeded update call
907         (dispatch): remove some manual update calls
908
909         * cursor.[Ch]: remove cached_y_, updatePos
910         (selHandle): set noUpdate when appropriate
911
912         * lyxfunc.C (dispatch): track if we need an update
913
914         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
915
916         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
917         (paintSelection): cheap optimization, do not call cursorX when not
918         needed
919         (paintPars): change signature
920         (refreshPar): add
921         (paintText): adjust
922         (paintTextInset): adjust
923
924         * text.C: adjust
925
926 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * lengthcommon.C: compilation fix: remove explicit array size from
929         unit_name[] and friends
930
931 2004-04-05  Angus Leeming  <leeming@lyx.org>
932
933         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
934
935         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
936         present only for the preferences dialog.
937         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
938
939 2004-04-05  Angus Leeming  <leeming@lyx.org>
940
941         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
942         to enable the frontends to export changes to lyxrc correctly.
943
944         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
945
946 2004-04-07  André Pönitz  <poenitz@gmx.net>
947
948         * cursor.[Ch] (selClear, adjust): remove math
949
950         * cursor_slice.C: more agressive assert
951
952         * lyxfunc.C:
953         * BufferView_pimpl.C: rework mouse event dispatch
954
955         * dociterator.C:
956         * paragraph.C:
957         * text2.C:
958         * text3.C: adjust
959
960 2004-04-05  André Pönitz  <poenitz@gmx.net>
961
962         * cursor.[Ch] (valign, halign...): remove unneeded functions
963
964 2004-04-05  Angus Leeming  <leeming@lyx.org>
965
966         * lyxlength.[Ch] (unit_name et al.): const-correct.
967
968 2004-04-05  Angus Leeming  <leeming@lyx.org>
969
970         * BufferView_pimpl.C:
971         * buffer.C:
972         * counters.C:
973         * cursor.C:
974         * lyxfunc.C
975         * paragraph.C:
976         * pariterator.C:
977         * text.C:
978         * text2.C:
979         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
980
981 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
982
983         * text3.C (getStatus): add LFUN_BEGINNINGBUF
984
985 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
986
987         * lyxfind.C: add a couple of inTexted() tests + other small fixes
988         * BufferView_pimpl.[Ch] (getStatus)
989         * BufferView.[Ch] (getStatus): add
990         * lyxfunc.C (getStatus): move lfuns handled in
991         BufferView::dispatch to te function above
992         * Cursor.C (setSelection): set selection() = true
993
994 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
995
996         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
997
998 2004-03-31  Angus Leeming  <leeming@lyx.org>
999
1000         * lyxfunc.C (dispatch): Fall through to the generic
1001         Dialogs::show("preamble").
1002
1003 2004-03-31  Angus Leeming  <leeming@lyx.org>
1004
1005         * lyxfunc.C (dispatch): Fall through to the generic
1006         Dialogs::show("spellchecker").
1007
1008 2004-03-31  Angus Leeming  <leeming@lyx.org>
1009
1010         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1011         preferences dialog.
1012
1013 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1014
1015         * BufferView.C
1016         * cursor.[Ch]
1017         * dociterator.[Ch]:
1018         * insetiterator.[Ch]:
1019         * lyxfind.C:
1020         * lyxfunc.C:
1021         * pariterator.[Ch]:
1022         * text2.C:
1023         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1024
1025 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1026
1027         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1028         insets where we are putting the cursor.
1029
1030 2004-03-31  Angus Leeming  <leeming@lyx.org>
1031
1032         * lfuns.h:
1033         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1034
1035         * lyxrc.[Ch] (read, write): overloaded member functions taking
1036         a std::[io]stream arguments.
1037
1038         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1039
1040 2004-03-31  Angus Leeming  <leeming@lyx.org>
1041
1042         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1043         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1044
1045         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1046         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1047
1048 2004-03-31  Angus Leeming  <leeming@lyx.org>
1049
1050         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1051         the LFUN_ALL_INSETS_TOGGLE code.
1052
1053 2004-03-30  Angus Leeming  <leeming@lyx.org>
1054
1055         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1056         has died. Fall through to the generic Dialogs::show("document").
1057
1058 2004-03-30  Angus Leeming  <leeming@lyx.org>
1059
1060         * lfuns.h:
1061         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1062         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1063
1064         * lyxfunc.C (getStatus, dispatch): define the actions for these
1065         lfuns. Little more than a cut and pste job from ControlDocument.C
1066
1067         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1068
1069 2004-03-30  Angus Leeming  <leeming@lyx.org>
1070
1071         * lfuns.h:
1072         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1073         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1074
1075         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1076         open/closed state of ollapsable insets. Usage:
1077
1078         all-inset-toggle <state> <name>, where
1079         <state> == "open" || "closed" || "toggle" and
1080         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1081
1082         * lyxtext.h, text2.C (toggleInset): removed.
1083
1084         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1085         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1086         now passes LFUN_INSET_TOGGLE to the found inset.
1087
1088         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1089         is now invoked as "all-insets-toggle toggle branch".
1090
1091 2004-03-30  Angus Leeming  <leeming@lyx.org>
1092
1093         * dociterator.C:
1094         * insetiterator.C:
1095         * pariterator.[Ch]: added/corrected header blurb.
1096
1097 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1098
1099         * dociterator.[Ch]: add an inset_ member
1100         (backwardPos): implemented
1101         (backwardPos, forwardPos): use inset_ when the stack is empty.
1102         (doc_iterator_begin, doc_iterator_end): implemented
1103         * pariterator.[Ch]: adjust, add begin, end
1104         * insetiterator.[Ch]: adjust, add begin, end
1105         * cursor.C:
1106         * document.C:
1107         * BufferView.C:
1108         * BufferView_pimpl.C:
1109         * CutAndPaste.C: adjust
1110
1111 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1112
1113         * buffer.C: increment file format to 232.
1114         * LaTeXFeatures.C: add bibtopic package.
1115         * bufferparams.[Ch]: param \use_bibtopic.
1116
1117         * lyxrc.[Ch]: add lyxrc bibtex_command
1118         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1119
1120         * buffer.C: increment file format to 231.
1121
1122 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * dociterator.C: implement forwardPar
1125         * iterators.[Ch]: remove, replaced by
1126         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1127         * BufferView.C:
1128         * BufferView_pimpl.C:
1129         * CutAndPaste.C:
1130         * buffer.C:
1131         * bufferview_funcs.C:
1132         * cursor.C:
1133         * lyxfind.C
1134         * lyxfunc.C
1135         * paragraph_funcs.C
1136         * toc.C:
1137         * Makefile.am: adjust
1138
1139 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1140
1141         * CutAndPaste.C (pasteSelection): fix 2 crashes
1142         (eraseSelection): fix a crash
1143         * paragraph_funcs.C: remove a warning
1144
1145 2004-03-28  Angus Leeming  <leeming@lyx.org>
1146
1147         * lfuns.h:
1148         * LyXAction.C (init): new LFUN_PRINT.
1149
1150         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1151
1152 2004-03-27  Angus Leeming  <leeming@lyx.org>
1153
1154         * lfuns.h:
1155         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1156
1157         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1158
1159 2004-03-27  Angus Leeming  <leeming@lyx.org>
1160
1161         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1162         insetlist always contains non-null pointers to insets.
1163
1164 2004-03-26  Angus Leeming  <leeming@lyx.org>
1165
1166         * src/BufferView_pimpl.C:
1167         * src/CutAndPaste.C:
1168         * src/buffer.C:
1169         * src/iterators.C:
1170         * src/output_plaintext.C:
1171         * src/outputparams.h:
1172         * src/paragraph_funcs.C:
1173         * src/rowpainter.C:
1174         * src/text.C:
1175         * src/text2.C:
1176         * src/frontends/controllers/ControlErrorList.C:
1177         * src/frontends/gtk/FileDialogPrivate.C:
1178         * src/frontends/gtk/GPainter.C:
1179         * src/frontends/gtk/GToolbar.C:
1180         * src/frontends/qt2/QRef.C:
1181         * src/mathed/math_scriptinset.C: squash compiler warnings.
1182
1183 2004-03-26  Angus Leeming  <leeming@lyx.org>
1184
1185         * ispell.C (LaunchIspell::start):
1186         * lyx_cb.C (AutoSaveBuffer::start):
1187         invoke run(DontWait) rather than runNonBlocking().
1188
1189 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1190
1191         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1192
1193 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * kbsequence.C (print): adjust
1196
1197         * kbmap.C (printKeySym): rename and change signature
1198         (printKey): use LyXKeySym::print()
1199
1200 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1201
1202         * undo.C: add using std::advance to compile for stlport
1203
1204 2004-03-24  Angus Leeming  <leeming@lyx.org>
1205
1206         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1207         it leads to a crash when no buffer is present.
1208
1209 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210             Martin Vermeer  <martin.vermeer@hut.fi>
1211
1212         * lyxfunc.C (dispatch):
1213         * bufferparams.C (readToken): use the new LColor::setColor
1214
1215         * LColor.[Ch] (setColor): new version that takes two strings as
1216         argument and creates a new color entry if necessary
1217
1218 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1219
1220         * buffer.C (makeLaTeXFile): if the main latex file that is
1221         processed is usually a subdocument of some master, then pretend
1222         for a while that it is actually the master
1223
1224 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1225
1226         * buffer.C (getLabelList):
1227         (getBibkeyList): use getMasterBuffer()
1228         (getMasterBuffer): new method. Returns the main document in the
1229         case where one is using included documents.
1230
1231 2004-03-25  André Pönitz  <poenitz@gmx.net>
1232
1233         * Makefile.am:
1234         * iterators.[Ch]:
1235         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1236
1237         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1238
1239         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1240         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1241
1242         * ParameterStruct.h: merge with ParagraphParameters
1243
1244         * lyxtext.h: remove LyXText::parOffset() and getPar()
1245
1246         * text3.C: Remove all 'manual' update calls. We do now one per user
1247         interaction which is completely sufficient.
1248
1249         * Bidi.C:
1250         * BufferView.[Ch]:
1251         * BufferView_pimpl.C:
1252         * FontIterator.[Ch]:
1253         * MenuBackend.C:
1254         * ParagraphParameters.[Ch]:
1255         * buffer.C:
1256         * buffer.h:
1257         * bufferlist.C:
1258         * cursor.[Ch]:
1259         * cursor_slice.[Ch]:
1260         * dociterator.[Ch]:
1261         * errorlist.[Ch]:
1262         * factory.C:
1263         * lfuns.h:
1264         * lyxfind.C:
1265         * lyxfunc.C:
1266         * output_docbook.[Ch]:
1267         * output_latex.[Ch]:
1268         * output_linuxdoc.[Ch]:
1269         * output_plaintext.[Ch]:
1270         * paragraph.[Ch]:
1271         * paragraph_funcs.[Ch]:
1272         * paragraph_pimpl.[Ch]:
1273         * rowpainter.C:
1274         * tabular.[Ch]:
1275         * text.C:
1276         * text2.C:
1277         * toc.C:
1278         * undo.[Ch]: adjust
1279
1280         * frontends/controllers/ControlDocument.C:
1281         * frontends/controllers/ControlErrorList.C:
1282         * frontends/controllers/ControlSpellchecker.C:
1283         * insets/inset.C:
1284         * insets/inset.h:
1285         * insets/insetbase.h:
1286         * insets/insetbibitem.C:
1287         * insets/insetbox.C:
1288         * insets/insetbranch.C:
1289         * insets/insetcaption.C:
1290         * insets/insetcharstyle.C:
1291         * insets/insetcharstyle.h:
1292         * insets/insetcollapsable.C:
1293         * insets/insetcollapsable.h:
1294         * insets/insetert.C:
1295         * insets/insetfloat.C:
1296         * insets/insetfoot.C:
1297         * insets/insetmarginal.C:
1298         * insets/insetnote.C:
1299         * insets/insetoptarg.C:
1300         * insets/insettabular.C:
1301         * insets/insettext.C:
1302         * insets/insettext.h:
1303         * insets/insetwrap.C:
1304         * mathed/math_mboxinset.C:
1305         * mathed/math_nestinset.C:
1306         * mathed/math_scriptinset.C:
1307         * mathed/math_scriptinset.h:
1308         * support/types.h:
1309
1310 2004-03-24  Angus Leeming  <leeming@lyx.org>
1311
1312         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1313         deal with any child processes that have finished but are waiting to
1314         communicate this fact to the rest of LyX.
1315
1316 2004-03-24  Angus Leeming  <leeming@lyx.org>
1317
1318         64-bit compile fixes.
1319
1320         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1321         (c-tor): pass lyx::pos_types rather than ints.
1322
1323         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1324         lyx::pos_type.
1325
1326         * text.C (Delete): compile fix.
1327         (getPar): ensure that function declaration is the same as that in
1328         the header file.
1329
1330 2004-03-23  Angus Leeming  <leeming@lyx.org>
1331
1332         * ispell.C (LaunchIspell):
1333         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1334         a boost::shred_ptr rather than a std::auto_ptr.
1335
1336 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337
1338         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1339         handle LFUN_FILE_INSERT_*
1340
1341         * lyxrc.C (setDefaults, getDescription, output, read):
1342         * lyxrc.h: remove ps_command
1343
1344 2004-03-22  Angus Leeming  <leeming@lyx.org>
1345
1346         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1347         Ensure that error_handler is processed once only and that all data
1348         is saved before attempting to output any warning messages.
1349
1350         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1351
1352 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1355
1356 2004-03-19  André Pönitz  <poenitz@gmx.net>
1357
1358         * cursor.[Ch] (reset): take main text inset as argument
1359
1360         * BufferView: adjust
1361         * BufferView_pimpl.C: adjust
1362
1363         * paragraph.[Ch]: fix completely broken operator=()
1364
1365 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * LColor.C (getFromLyXName): make sure that the color name is used
1368         as lowercase.
1369
1370 2004-03-17  Angus Leeming  <leeming@lyx.org>
1371
1372         * lfuns.h:
1373         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1374
1375         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1376         dialog and to kill a forked process.
1377
1378 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1379
1380         * text2.C (setCursorFromCoordinates): fix font problem
1381
1382 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1383
1384         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1385         bogus "rebuild cursor" code
1386
1387 2004-03-11  André Pönitz  <poenitz@gmx.net>
1388
1389         * buffer.[Ch]: use InsetText instead of LyXText as container for
1390         the main lyx text.
1391
1392         * dociterator.[Ch]: drop the BufferView * member which is not needed
1393         anymore after the change to buffer.C
1394
1395         * paragraph_funcs.C:
1396         * text.C:
1397         * text2.C:
1398         * BufferView.[Ch]:
1399         * BufferView_pimpl.[Ch]:
1400         * cursor.[Ch]:
1401         * cursor_slice.[Ch]: adjust
1402
1403         * text3.C: fix bug in mathDispatch
1404
1405 2004-03-08  André Pönitz  <poenitz@gmx.net>
1406
1407         * undo.[Ch]: use 'StableDocumentIterator' as base for
1408         the Undo struct.
1409
1410 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1411
1412         * LaTeXFeatures.C:
1413         * bufferparams.[Ch]: add jurabib support and param.
1414
1415         * LaTeX.C: add FIXME/comment.
1416
1417 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1418
1419         * buffer.C: increment file format to 230.
1420
1421 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * cursor.C (dispatch): avoid infinite loops
1424
1425 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * rowpainter.C (paintSelection): fix x coordinates
1428
1429 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1430
1431         * text.C (rowBreakPoint): fix breaking before displayed insets
1432
1433 2004-03-01  André Pönitz  <poenitz@gmx.net>
1434
1435         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1436
1437         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1438
1439         * Makefile.am:
1440         * BufferView.C:
1441         * BufferView_pimpl.C:
1442         * buffer.C:
1443         * lyxfind.C:
1444         * lyxfunc.C:
1445         * text.C:
1446         * text2.C:
1447         * text3.C: adjust
1448
1449 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * lyxtext.h:
1452         * text.C:
1453         * text2.C:
1454         * rowpainter.C:
1455         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1456         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1457
1458 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * Bidi.[Ch] (computeTables): const correctness
1461         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1462         fill_hfill, fill_label_hfill and x from Row
1463         * lyxtext.h: prepareToPrint returns a RowMetrics
1464         * rowPainter.C: adjust
1465         * text.C (prepareToPrint): use width, not textWidth. adjust
1466         (redoParagraphInternal, cursorX): adjust
1467         * text2.C (getColumnNearX): adjust
1468         (init): put a default value to the top LyXText::width
1469
1470 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1473
1474 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1475
1476         * lyxtext.h: add FontIterator class
1477
1478         * text.C (FontIterator, operator*, operator->, operator++): add
1479         (rowBreakPoint, setRowWidth): adjust (fixing a
1480         rebreaking bug)
1481
1482 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * BufferView_pimpl.C (workAreaDispatch): allow also
1485         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1486
1487 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1488
1489         * text.C (rowBreakPoint): fix a bug showing with very large insets
1490
1491 2004-02-25  André Pönitz  <poenitz@gmx.net>
1492
1493         * text3.C:
1494         * cursor.[Ch]: move some mathed specific code to mathed
1495
1496 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1497
1498         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1499         use_tempdir in preferences
1500         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1501         tempfile creation
1502         * lyx_main.C: ensure that tempdir is valid
1503         * lyxlex.h: correct typo
1504         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1505         * paragraph.[Ch] (isMultiLingual): make const
1506         * cursor.[Ch] (openable): make const
1507
1508 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1509
1510         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1511
1512 2004-02-20  André Pönitz  <poenitz@gmx.net>
1513
1514         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1515
1516         * cursor.[Ch]: prepare for localized getStatus()
1517
1518         * lyxtext.h:
1519         * tabular.C:
1520         * text.C:
1521         * text2.C:
1522         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1523
1524 2004-02-20  André Pönitz  <poenitz@gmx.net>
1525
1526         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1527
1528 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1529
1530         * text2.C (setCursorFromCoordinates): switch to absolute coords
1531         (cursorUp): adjust
1532         (cursorDown): adjust
1533         * text3.C (dispatch): adjust
1534
1535 2004-02-16  André Pönitz  <poenitz@gmx.net>
1536
1537         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1538           insets/ChangeLog)
1539
1540         * cursor_slice.[Ch]: remove unneeded acessor function
1541
1542         * lyxtext.h: rename rtl() to isRTL()
1543
1544         * rowpainter.C:
1545         * tabular.C:
1546         * text.C:
1547         * text2.C:
1548         * text3.C: adjust
1549
1550 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1551
1552         * rowpainter.C (paintSelection): coord fix
1553
1554 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1555
1556         * Spacing.C: compile fix
1557
1558 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * cursor.C (dispatch): restore current_ before returning
1561
1562 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * text2.C (cursorUp, cursorDown): fix coords
1565         (moveUp): fix crash
1566
1567 2004-02-12  André Pönitz  <poenitz@gmx.net>
1568
1569         * lyxtext.h:
1570         * text.C:
1571         * text2.C:
1572         * text3.C: add LCursor & parameter to most cursor movement functions
1573           remove usage of LyXText::cursorRow() and cursorPar()
1574
1575         * cursor.[Ch]: add textRow() needed members
1576
1577         * BufferView.C:
1578         * BufferView_pimpl.C:
1579         * paragraph.[Ch]:
1580         * BufferView.C:
1581         * BufferView_pimpl.C: adjust
1582
1583 2004-02-11  André Pönitz  <poenitz@gmx.net>
1584
1585         * lyxfunc.C:
1586         * BufferView.[Ch]:
1587         * BufferView_pimpl.C: shift undo/redo handling
1588
1589         * cursor.[Ch]: fix mathed crash
1590
1591         * lyxfind.C:
1592         * lyxtext.h: move selectionAsText to LCursor
1593
1594         * output_latex.C:
1595         * paragraph.C:
1596         * text.C:
1597         * text2.C:
1598         * text3.C: adjust
1599
1600         * rowpainter.C: fix excessive drawing
1601
1602 2004-02-06  André Pönitz  <poenitz@gmx.net>
1603
1604         * BufferView.[Ch]:
1605         * BufferView_pimpl.[Ch]:
1606         * text3.C: move some text specific LFUN handling
1607
1608 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1609
1610         * text3.C (checkInsetHit): adjust coords
1611         * text2.C (getColumnNearX): adjust coords
1612         (edit): adjust coords
1613         * text.C (getRowNearY): add two asserts
1614
1615 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1616
1617         * converter.C:
1618         * format.C: add using std::distance to compile on gcc 2.95/stlport
1619
1620 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1621
1622         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1623
1624 2004-02-04  André Pönitz  <poenitz@gmx.net>
1625
1626         * BufferView.[Ch] (insertInset):
1627         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1628
1629         * text2.C:
1630         * text3.C: adjust
1631
1632 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1635         on the default clause of the switch
1636         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1637         wasn't catched by LCursor::dispatch
1638
1639 2004-02-03  André Pönitz  <poenitz@gmx.net>
1640
1641         * BufferView.C:
1642         * cursor.[Ch]: some additional asserts
1643
1644         * undo.[Ch]: remove LyXText dependency in interface
1645
1646         * lyxfunc.C: adjust
1647
1648         * lyxtext.h (firstPar, lastPar): remove dead functions
1649
1650         * text.C:
1651         * text2.C:
1652         * text3.C:
1653         * paragraph.[Ch]: adjust
1654
1655 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1656
1657         * lyxfind.C (find): fix argument order in call to ::find
1658
1659 2004-02-02  André Pönitz  <poenitz@gmx.net>
1660
1661         * cursor.[Ch]: remove direct access to anchor
1662
1663         * text.C: remove findText() hack
1664
1665 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1666
1667         * iterators.[Ch] (lockPath): remove in favour of...
1668         * BufferView.[Ch] (setCursor): this addition
1669         * BufferView.C (putSelectionAt): adjust
1670         * undo.C (performUndoOrRedo): adjust
1671         * lyxfunc.C (dispatch): adjust
1672
1673 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1674
1675         * iterators.C (lockPath): add a missing slice
1676         * undo.C (performUndoOrRedo): remove redundant positioning code
1677
1678 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1679
1680         * vc-backend.C (scanMaster): ";" -> ';'
1681
1682 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1683
1684         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1685         std::binary_function
1686
1687         * lyxtextclass.C (compare_name): rename to...
1688         (LayoutNamesEqual): ...this
1689
1690         * lyxlex_pimpl.C (compare_tags): inherit from
1691         std::binary_function, put back into anon namespace
1692
1693         * lyxfind.C (MatchString): inherig from std::binary_function
1694         (findChange): use empty() istead of !size()
1695
1696         * format.C (FormatNamesEqual): new functor
1697         (getFormat): use it
1698         (getNumber): use it
1699         (add): use it
1700         (erase): use it
1701         (setViewer): use it
1702
1703         * converter.C (compare_Converter): rename to...
1704         (ConverterEqual): ...this, and fixup a bit.
1705         (getConverter): use it, and make function const
1706         (getNumber): use it, and make function const
1707         (add): use it
1708         (erase): use it:
1709
1710         * bufferlist.C: add using boost::bind
1711
1712         * MenuBackend.C (MenuNamesEqual): new functor
1713         (hasMenu): use it, and make function const
1714         (hasSubmenu): use nested bind to get rid of compare_memfun.
1715
1716 2004-01-30  André Pönitz  <poenitz@gmx.net>
1717
1718         * BufferView_pimpl.C:
1719         * cursor.C:
1720         * cursor.h:
1721         * cursor_slice.[Ch]:
1722         * lyxfunc.C:
1723         * lyxtext.h:
1724         * paragraph_funcs.C:
1725         * paragraph_funcs.h:
1726         * rowpainter.C:
1727         * text.C:
1728         * text2.C:
1729         * text3.C: move some of the edit(x,y) handling to the insets
1730         some coordinate changes.
1731
1732 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1733
1734         * text.C: add using statements for std::advance and std::distance
1735
1736         * paragraph.C: add using statement for std::distance
1737
1738         * lyxfind.C: add using statement for std::advance
1739
1740         * cursor.C (region): remove std:: from swap
1741         (openable): use nucleus in stead of operator->
1742
1743         * BufferView.C: add using statements for std::distance and std::swap
1744
1745 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1746
1747         * iterators.C: Remove the pimple, move the needed structures to
1748         the header file. Create accessor for the positions stack.
1749         (asPosIterator): remove function
1750
1751         * PosIterator.C (PosIterator): move constructors to top of file
1752         (PosIterator): reimplement the constructor taking a ParIterator in
1753         terms of setFrom.
1754         (setFrom): new function
1755         (operator!=): inline it
1756
1757 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1758
1759         * lyxfind.C (replaceAll): use std::advance
1760
1761         * iterators.h: inherit from std::iterator.
1762
1763         * PosIterator.C (advance, distance): remove
1764         * PosIterator.h: interit from std::iterator.
1765
1766 2004-01-26  André Pönitz  <poenitz@gmx.net>
1767
1768         * BufferView.[Ch]:
1769         * BufferView_pimpl.[Ch]:
1770         * InsetList.[Ch]:
1771         * PosIterator.[Ch]:
1772         * buffer.h:
1773         * bufferview_funcs.C:
1774         * cursor.[Ch]:
1775         * cursor_slice.h:
1776         * factory.[Ch]:
1777         * iterators.[Ch]:
1778         * lyxfind.C:
1779         * lyxfunc.C:
1780         * lyxtext.h:
1781         * output_docbook.C:
1782         * output_latex.C:
1783         * output_linuxdoc.C:
1784         * output_plaintext.C:
1785         * paragraph.[Ch]:
1786         * paragraph_funcs.[Ch]:
1787         * paragraph_pimpl.[Ch]:
1788         * rowpainter.C:
1789         * tabular.C:
1790         * tabular.h:
1791         * text.C:
1792         * text2.C:
1793         * text3.C: more IU:  dumps most of the rest of the mathcursor
1794     implementation into cursor.[Ch]; "globalize" a bit of it.
1795
1796 2004-01-25  Angus Leeming  <leeming@lyx.org>
1797
1798         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1799
1800 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1801
1802         * LaTeXFeatures.h: add nice_ and nice() const
1803         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1804
1805 2004-01-20  André Pönitz  <poenitz@gmx.net>
1806
1807         * BufferView.[Ch]:
1808         * BufferView_pimpl.C:
1809         * PosIterator.C:
1810         * bufferview_funcs.C:
1811         * cursor.[Ch]:
1812         * cursor_slice.[Ch]:
1813         * factory.C:
1814         * iterators.C:
1815         * lyx_cb.C:
1816         * lyxfind.C:
1817         * lyxfunc.C:
1818         * lyxtext.h:
1819         * rowpainter.C:
1820         * text.C:
1821         * text2.C:
1822         * text3.C:
1823         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1824           LCursor and mathcursor parts to LCursor and InsetBase.
1825
1826 2004-01-15  André Pönitz  <poenitz@gmx.net>
1827
1828         * cursor_slice.[Ch]: add a few covienience functions
1829
1830         * funcrequest.[Ch]: remove BufferView * member
1831
1832         * BufferView_pimpl.C:
1833         * cursor.C:
1834         * factory.[Ch]:
1835         * lyxfind.[Ch]:
1836         * lyxfunc.C:
1837         * lyxtext.h:
1838         * text3.C:
1839         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1840
1841 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1844         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1845
1846 2004-01-13  André Pönitz  <poenitz@gmx.net>
1847
1848         * textcursor.[Ch]:
1849         * lyxtext.h: hide cursor and selection anchor behind accessor function
1850
1851         * BufferView.C:
1852         * BufferView_pimpl.[Ch]:
1853         * PosIterator.C:
1854         * bufferview_funcs.C:
1855         * cursor.h:
1856         * lyxfind.C:
1857         * lyxfunc.C:
1858         * text.C:
1859         * text2.C:
1860         * text3.C:
1861         * undo.C: adjust
1862
1863         * cursor.h:
1864         * cursor_slice.[Ch]: some integer type changes for inset unification
1865
1866         * lyxcursor.[hC]: remove, it's CursorSlice now.
1867
1868         * Makefile.am:
1869         * BufferView_pimpl.[Ch]:
1870         * bufferview_funcs.C:
1871         * cursor_slice.C:
1872         * lyxtext.h:
1873         * text.C:
1874         * text2.C:
1875         * text3.C:
1876         * textcursor.[Ch]: adjust
1877
1878 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * text2.C (undoSpan): add and use
1881         * text.C (breakParagraph): use undoSpan (fix bug 578)
1882         * lyxtext.h: adjust
1883
1884 2004-01-08  Angus Leeming  <leeming@lyx.org>
1885
1886         * BufferView_pimpl.C (MenuInsertLyXFile):
1887         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1888         * lyxfunc.C (menuNew, open, doImport):
1889         FileFilterList change to the FileDialog open and save functions.
1890
1891 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1892
1893         * ShareContainer.h: make isEqual and isUnique adaptable
1894
1895         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1896
1897 2004-01-07  Angus Leeming  <leeming@lyx.org>
1898
1899         * LyXAction.C:
1900         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1901
1902         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1903
1904         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1905         functions replacing find, replace and replaceAll.
1906
1907         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1908         LFUN_WORDFIND(FORWARD|BACKWARD).
1909
1910 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1911
1912         * text.C (breakParagraph): remove an outdated #warning
1913
1914 2004-01-07  André Pönitz  <poenitz@gmx.net>
1915
1916         * lyxfind.C: somewhat clearer logic
1917
1918         * text.C: prevent crash in cursorX on unitialized row cache
1919
1920 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1921
1922         * lyxcursor.[Ch] (operator>): add
1923         * textcursor.C (selStart, selEnd): use std::min and std::max
1924
1925 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1926
1927         * Chktex.C: include boost/format.hpp
1928
1929 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1930
1931         * InsetList.C: replace functor MathcIt with adaptable functor
1932         InsetTablePosLess
1933         (insetIterator): modify accordingly
1934
1935         * BranchList.h: move the BranchNamesEqual functor here from...
1936         * BranchList.C: ... to here
1937
1938         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1939         SameName and match.
1940         (add): replace a finding loop with std::find_if.
1941
1942 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1943
1944         * output_docbook.C: moving LatexParam functionality into
1945         .layout files
1946
1947 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1948
1949         * buffer.C: increment format to 229.
1950
1951 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1952
1953         * LaTeXFeatures.C:
1954         * lyx_sty.[Ch]: remove minipageindent_def
1955
1956         * LyXAction.C:
1957         * factory.C:
1958         * lfuns.h:
1959         * lyxfunc.C:
1960         * text3.C: remove LFUN_INSET_MINIPAGE
1961
1962 2003-12-28  Angus Leeming  <leeming@lyx.org>
1963
1964         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1965
1966 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1967
1968         * text2.C (setParagraph): fix off-by-one crash
1969
1970 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1971
1972         * output_docbook.C: header stuff for AGU
1973
1974 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * text2.C (redoCursor): remove
1977         * text.C:
1978         * text3.C:
1979         * BufferView_pimpl.C: remove calls to redoCursor and
1980         setCursor(cursor.par(), cursor.pos()) all around
1981
1982 2003-12-15  Angus Leeming  <leeming@lyx.org>
1983
1984         * buffer.C: up the format to 228.
1985
1986 2003-12-15  André Pönitz  <poenitz@gmx.net>
1987
1988         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1989         slices
1990
1991         * Makefile.am:
1992
1993         * BufferView_pimpl.C:
1994         * cursor.[Ch]:
1995         * lyxcursor.[Ch]:
1996         * rowpainter.[Ch]:
1997         * lyxtext.h:
1998         * text.C:
1999         * text2.C:
2000         * text3.C: adjust
2001
2002 2003-12-15  Angus Leeming  <leeming@lyx.org>
2003
2004         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2005         than getFromGUIName to manipulate the color.
2006
2007 2003-12-14  Angus Leeming  <leeming@lyx.org>
2008
2009         * BranchList.[Ch]: minimize the API.
2010         (Branch::getBranch, getColor): now return a 'const &'.
2011         (Branch::setSelected) now returns a bool set to true if the
2012         selection status changes.
2013         (BranchList::clear, size, getColor, setColor, setSelected,
2014         allBranches, allSelected, separator): removed.
2015         (BranchList::find): new functions, returning the Branch with
2016         the given name.
2017         (BranchList::add, remove): return a bool indicating that
2018         the operation was successful.
2019
2020         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2021         new InsetBranch::isBranchSlected member function.
2022
2023         * LColor.[Ch]: mimimize the API.
2024         (fill): renamed as addColor and made private.
2025         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2026         versions of these functions taking a string arg have been removed.
2027
2028         * bufferparams.C (readToken):
2029         * lyxfunc.C (dispatch):
2030         * lyxrc.C (read): changes due to the altered BranchList and
2031         LColor APIs.
2032
2033         * factory.C (createInset, readInset): changes due to altered
2034         InsetBranch c-tor.
2035
2036 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2037
2038         * factory.C:
2039         * lyxfunc.C: remove insetminipage. "minipage-insert"
2040         now produces a frameless minipage box inset.
2041
2042 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * textcursor.[Ch] (selStart,selEnd): add new methods
2045         remove selection::start, end, use LyXCursor::operator<
2046         * lyxcursor.[Ch] (operator<): add
2047         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2048         * BufferView.[Ch] (unsetXSel): add
2049         * text2.C (clearSelection): use unsetXSel,adjust
2050         * text.C: adjust
2051         * text3.C: adjust
2052         * rowpainter.C: adjust
2053         * bufferview_funcs.C (put_selection_at): adjust
2054
2055 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * BufferView_pimpl.C: small coord. correction
2058
2059 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2060
2061         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2062         dragging over the splash screen.
2063
2064 2003-12-11  Angus Leeming  <leeming@lyx.org>
2065
2066         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2067         as it is now handled in LyXText::dispatch.
2068
2069         * text3.C (doInsertInset): remove a level of nesting.
2070
2071 2003-12-11  Angus Leeming  <leeming@lyx.org>
2072
2073         * factory.C (createInset): changes due to the changed interface to
2074         InsetCommandMailer::string2params.
2075
2076 2003-12-10  Angus Leeming  <leeming@lyx.org>
2077
2078         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2079         'dialog-show-new-inset <inset name>'
2080
2081 2003-12-10  Angus Leeming  <leeming@lyx.org>
2082
2083         * buffer.C: up the format to 227.
2084
2085         * factory.C: the box inset is now identified simply by 'Box'.
2086
2087 2003-12-10  Angus Leeming  <leeming@lyx.org>
2088
2089         * buffer.C: up the format to 226.
2090
2091         * factory.C: the note inset is now identified simply by 'Note'.
2092
2093 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2094
2095         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2096         when a pit is enough. Standarize a couple of loops.
2097
2098 2003-12-05  Angus Leeming  <leeming@lyx.org>
2099
2100         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2101         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2102         data to the re-worked "log" dialog.
2103
2104 2003-12-03  André Pönitz  <poenitz@gmx.net>
2105
2106         * PosIterator.C:
2107         * iterators.C:
2108         * lyxtext.h:
2109         * output_latex.C:
2110         * paragraph_funcs.C:
2111         * text.C:
2112         * text2.C: use Inset::getText instead of Inset::getParagraph
2113
2114 2003-12-03  André Pönitz  <poenitz@gmx.net>
2115
2116         * buffer.[Ch]:
2117         * lyxtext.h:
2118         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2119         InsetText::read() as LyXText::read()
2120
2121 2003-12-02  Angus Leeming  <leeming@lyx.org>
2122
2123         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2124         type. Add a comment in the implementation that the function uses
2125         the stream's bad() function rather than fail() as the std::streams
2126         would do.
2127
2128 2003-12-02  André Pönitz  <poenitz@gmx.net>
2129
2130         * lyxlex.[Ch]: make interface more similar to std::stream
2131
2132         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2133
2134 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2135
2136         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2137
2138 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2139
2140         * vspace.[Ch]: remove VSpace::NONE
2141
2142 2003-12-01  André Pönitz  <poenitz@gmx.net>
2143
2144         * buffer.[Ch]:
2145         * lyxtext.h: move ParagraphList member to LyXText
2146         rename LyXText::ownerParagraphs to LyXText::paragraph
2147
2148         * CutAndPaste.C:
2149         * bufferview_funcs.C:
2150         * iterators.[Ch]:
2151         * lyx_cb.C:
2152         * paragraph.C:
2153         * rowpainter.C:
2154         * tabular.C:
2155         * text.C:
2156         * text2.C:
2157         * text3.C: adjust
2158
2159         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2160
2161         * undo.C: fix cursor positioning
2162
2163 2003-12-01  John Levon  <levon@movementarian.org>
2164
2165         * BufferView_pimpl.C: fix a crash on exit with
2166         a buffer open
2167
2168 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * BranchList.C: fix setSelected() method.
2171
2172 2003-11-28  André Pönitz  <poenitz@gmx.net>
2173
2174         * ParagraphParameters.[Ch]:
2175         * ParameterStruct.h: remove space above/below from Paragraph to
2176          InsetVSpace
2177
2178         * BufferView_pimpl.C:
2179         * factory.C:
2180         * lyxfunc.C:
2181         * lyxtext.h:
2182         * output_latex.C:
2183         * paragraph.C:
2184         * paragraph_funcs.C:
2185         * rowpainter.[Ch]:
2186         * text.C:
2187         * text2.C:
2188         * text3.C: adjust
2189
2190 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2191
2192         * factory.C: Syntax change for CharStyles
2193
2194 2003-11-28  André Pönitz  <poenitz@gmx.net>
2195
2196         * BufferView.[Ch]:
2197         * BufferView.[Ch]:
2198         * buffer.[Ch]:
2199         * buffer.[Ch]: move LyXText member
2200
2201 2003-11-28  André Pönitz  <poenitz@gmx.net>
2202
2203         * BufferView.[Ch]: make LyXText * text a private member
2204
2205         * BufferView_pimpl.C:
2206         * cursor.C:
2207         * iterators.C:
2208         * lyx_cb.C:
2209         * lyxfind.C:
2210         * lyxtext.h:
2211         * rowpainter.[Ch]:
2212         * text.C:
2213         * text2.C:
2214         * undo.C: adjust
2215
2216         * output_plaintext.C: cleanup
2217
2218 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2219
2220         * buffer.C:
2221         * lyxtextclass.[Ch]: parametrize SGML document header
2222
2223 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2224
2225         * converter.[Ch]:
2226         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2227         getFlavor().
2228
2229 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2230
2231         * text2.C (setFont): rework using PosIterator (no more recursive)
2232         (setCharFont): no more needed
2233         (setLayout): no more selection cursors fiddling (done by redoCursor)
2234         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2235         destroy remaining ones)
2236
2237 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2240         * lyxtext.h: ditto
2241         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2242         selection cursors
2243         * lyxfunc.C: adjust
2244         * text3.C: adjust + re-allow multi par depth changes
2245         * textcursor.C: simplify a bit
2246
2247 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2248
2249         * src/buffer.C:
2250         * src/lyxlayout.C:
2251         * src/lyxlayout.h:
2252         * src/lyxtext.h:
2253         * src/output_docbook.C:
2254         * src/output_latex.C:
2255         * src/paragraph.C:
2256         * src/paragraph.h:
2257         * src/sgml.C:
2258         * src/sgml.h:
2259         * src/text2.C: Introducing a number of tags parametrizing various
2260         XML formats that we may want to support
2261
2262 2003-11-25  André Pönitz  <poenitz@gmx.net>
2263
2264         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2265
2266         * lyxtext.h (leftMargin/rightMargin): simplify interface
2267
2268         * rowpainter.C:
2269         * text.C:
2270         * text2.C:
2271         * text3.C: adjust
2272
2273 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2274
2275         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2276         master file to any child files. Fixes bug 546.
2277
2278 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2279
2280         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2281
2282 2003-11-24  André Pönitz  <poenitz@gmx.net>
2283
2284         * rowpainter.C: simplification
2285
2286         * text2.C (updateCounters): remove call to redoParagraph on
2287         changed labels as this is far too expensive.
2288
2289 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2290
2291         * converter.C (convert): fix a crash: this function gets
2292         called with buffer == 0 from importer code.
2293
2294 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2295
2296         * text3.C (cursorPrevious): make sure that we do not compare
2297         iterators form different containers.
2298         (cursorNext): ditto
2299
2300         * rowpainter.C (paintSelection): make sure that we do not compare
2301         iterators from different containers.
2302
2303         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2304         iterators from different ParagraphList containers.
2305         [NEXT] ditto
2306
2307         * text2.C (LyXText): change order of initialization slightly
2308         (operator=): new function. copy all variables except cache_par_
2309         (moveUp): make sure that we do not compare iterators from
2310         different ParagraphList constainers.
2311         (moveDown): ditto
2312
2313         * text.C (firstPar): new function
2314         (lastPar): new function
2315         (endPar): new function
2316
2317         * lyxtext.h: move things around and group public functions, public
2318         variables, private functions, private variables
2319
2320 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2321
2322         * factory.C: change call to InsetERT constructor to avoid
2323         additional invocation of method status
2324         * text2.C (toggleInset): remove redundant update() call
2325         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2326         instead of a Bufferview pointer
2327
2328 2003-11-21  André Pönitz  <poenitz@gmx.net>
2329
2330         * rowpainter.C: simplification
2331
2332 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2333
2334         * text3.C (dispatch): make possible to extend a word/row selection
2335         with the mouse
2336
2337 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2338
2339         * lyxtext.h: x0_,y0_ -> xo_,yo_
2340         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2341         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2342         * rowpainter.C (paintRows): paint full paragraphs
2343
2344 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2345
2346         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2347         screen coordinates)
2348
2349 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2350
2351         * lyxtext.h: add x0_, y0_
2352         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2353         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2354
2355 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2356
2357         * text2.C (setCursorIntern): move the x_target update here *
2358         * text3.C: change some bv() to true/false in calls to
2359         cursorUp/Down/Right/Left
2360         * cursor.C: use helper function.
2361
2362 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2365         * paragraph_funcs.[Ch]: correct comment
2366         * rowpainter.C: do not paint selections away from bv->cursor()
2367         Fix a long standing selection painting bug.
2368         * text3.C: generalize mouse-selection code to LyXTexts other that
2369         top one
2370         * textcursor.C: do not use y coords if we can use par offsets
2371
2372 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2373
2374         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2375         cursor position after e.g. inset insert)
2376
2377 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2378
2379         * lyxfind.C (replace): adjust to locking removal + some
2380         code simplification
2381
2382 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2383
2384         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2385         of the path
2386
2387 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2388
2389         * lyxlayout.[Ch]:
2390         * output_docbook.C: XML sanitation: new layout
2391         parameters InnerTag and CommandDepth
2392
2393 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2394
2395         * BufferView_pimpl.C:
2396         * factory.C:
2397         * text3.C: Fix the insertion and modification of button-style
2398         insets
2399
2400 2003-11-13  André Pönitz  <poenitz@gmx.net>
2401
2402         * InsetList.[Ch]: remove deleteLyXText
2403
2404         * paragraph.[Ch]: cache beginOfBody position
2405
2406         * Bidi.C:
2407         * text.C:
2408         * text2.C:
2409         * text3.C: remove superfluous update() calls
2410
2411         * vspace.C: cleanup
2412
2413 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2416         * BufferView.C (fitLockedInsetCursor): remove
2417         * cursor.[Ch] (getDim): add
2418         * text.C (getRowNearY): add faster version
2419         * text3.C: remove some update calls
2420
2421 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2422
2423         * LaTeXFeatures.C:
2424         * LyXAction.C:
2425         * MenuBackend.C:
2426         * MenuBackend.h:
2427         * dispatchresult.h:
2428         * factory.C:
2429         * lfuns.h:
2430         * lyxfunc.C:
2431         * lyxtextclass.C:
2432         * lyxtextclass.h:
2433         * text3.C: The Character Style /XML short element patch.
2434
2435 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2436
2437         * text3.C:
2438         * factory.C: Small step to solving 'unable to insert some insets'
2439         problem
2440
2441 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * cursor.[Ch] (updatePos): new function for updating the y
2444         position of the tip inset
2445         * bufferview_funcs.C (put_selection_at):
2446         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2447
2448 2003-11-11  André Pönitz  <poenitz@gmx.net>
2449
2450         * text.C: remove big comment on invalid Paragraph pointers as it is
2451         not valid anymore
2452
2453 2003-11-11  André Pönitz  <poenitz@gmx.net>
2454
2455         * text_funcs.[Ch]: merge with ...
2456
2457         * text.C: ... this
2458
2459         * lyxtext.h:
2460         * text2.C:
2461         * text3.C: adjust
2462
2463         * Makefile.am: remove text_funcs.[Ch]
2464
2465 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2466
2467         * cursor.C (getPos): return absolute cached y coord
2468
2469         * BufferView_pimpl.C (fitCursor): new simplistic code
2470         (workAreaDispatch): add a fitCursor call
2471
2472 2003-11-10  André Pönitz  <poenitz@gmx.net>
2473
2474         * BufferView.[Ch]:
2475         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2476
2477 2003-11-10  André Pönitz  <poenitz@gmx.net>
2478
2479         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2480         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2481         indicate that the cursor needs to leave an inset
2482
2483         * lyxtext.h: remove inset locking
2484
2485         * cursor.[Ch]: re-implement functionality provided by inset locking
2486
2487         * BufferView.[Ch]:
2488         * BufferView_pimpl.[Ch]:
2489         * LyXAction.C:
2490         * bufferview_funcs.[Ch]:
2491         * factory.C:
2492         * funcrequest.[Ch]:
2493         * iterators.C:
2494         * lyx_cb.C:
2495         * lyxfind.C:
2496         * lyxfunc.C:
2497         * text.C:
2498         * text2.C:
2499         * text3.C:
2500         * undo.C: adjust
2501
2502 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2503
2504         * PosIterator.[Ch]: replace the stack with a vector, add inset
2505         accesor
2506         * iterators.[C]: adjust
2507
2508 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2511         replaced
2512         * paragraph_funcs.C (readParToken): put the correct id in the
2513         error item, not the id of the top paragraph
2514
2515 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2516
2517         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2518         * bufferview_funcs.C (put_selection_at): use the above
2519
2520 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2521
2522         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2523
2524 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2525
2526         * output_linuxdoc.h:
2527         * output_plaintext.h:
2528         * output.h:
2529         * output_docbook.h: add #include statements
2530
2531 2003-11-05  José Matos  <jamatos@lyx.org>
2532
2533         * output_docbook.[Ch]:
2534         * output_latex.[Ch]:
2535         * output_linuxdoc.[Ch]:
2536         * output_plaintext.[Ch]: New files for output formats.
2537         * output.[Ch]: New file for helper functions.
2538
2539         * buffer.[Ch]:
2540         * paragraph_funcs.[Ch]: output functions moved to new files.
2541
2542         * outputparams.h: rename of latexrunparams.h
2543
2544         * LaTeX.[Ch]:
2545         * buffer.[Ch]:
2546         * bufferlist.[Ch]:
2547         * converter.[Ch]:
2548         * exporter.C:
2549         * paragraph.[Ch]:
2550         * paragraph_funcs.[Ch]:
2551         * paragraph_pimpl.[Ch]:
2552         * tabular.[Ch]: rename ascii to plaintext
2553         and LatexRunParams to OutputParams.
2554
2555 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * iterators.[Ch] (text): require bv argument
2558         * undo.C (recordUndo):
2559         * lyxfunc.C (dispatch):
2560         * bufferview_funcs.C (put_selection_at): adjust
2561
2562 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2563
2564         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2565
2566 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2567
2568         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2569         nestings
2570
2571 2003-11-04  André Pönitz  <poenitz@gmx.net>
2572
2573         * cursor.[Ch]: restructure
2574
2575         * BufferView.[Ch]:
2576         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2577
2578         * iterators.[Ch] (asCursor): remove
2579
2580         * lfuns.h: remove LFUN_INSET_EDIT
2581
2582         * lyxfunc.C:
2583         * tabular.C:
2584         * text.C:
2585         * text2.C:
2586         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2587
2588 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2589
2590         * lyxfind.[Ch]: complete overhaul
2591         * BufferView_pimpl.C:
2592         * lyxfunc.C: adjust
2593         * paragraph.[Ch] (insert): add
2594
2595 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2596
2597         * BufferView.[Ch]:
2598         * lyxtext.h:
2599         * text.C: remove dead spellcheck code
2600
2601 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * dispatchresult.h: add a val setter
2604
2605         * cursor.C (dispatch): use a tempvar for data_[i]
2606
2607 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * PosIterator.[Ch]: compile fix
2610
2611 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2612
2613         * text.C (cursorPar): deactivate the cursor cache
2614
2615 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2616
2617         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2618
2619 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * text3.C (dispatch): adjust for new DisptchResult semantics.
2622
2623         * lyxfunc.C (dispatch): handle update when return from
2624         Cursor::dispatch, adjust for new DispatchResult semantics.
2625
2626         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2627         DispatchResult(true) mean to not update. Add class functions for
2628         setting dispatched and update, as well as reading.
2629
2630         * cursor.C (dispatch): don't handle update here
2631
2632 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2633
2634         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2635         * trans_mgr.C: adjust
2636
2637         * paragraph_funcs.C (readParToken): exception safety
2638
2639         * lyxvc.h: store the vcs pointer in a scoped_ptr
2640         * lyxvc.C: adjust
2641
2642         * lyxsocket.C (serverCallback): exception safety
2643
2644         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2645
2646         * ispell.C (clone): make it return a auto_ptr
2647
2648         * factory.C (createInset): exception safety
2649         (readInset): exception safety
2650
2651         * bufferlist.C (newBuffer): exception safety
2652
2653         * Thesaurus.C (Thesaurus): use initialization for aik_
2654
2655         * MenuBackend.C (expandToc): exception safety.
2656
2657 2003-11-03  André Pönitz  <poenitz@gmx.net>
2658
2659         * buffer.C:
2660         * buffer.h:
2661         * bufferview_funcs.C: remove getInsetFromId()
2662
2663         * lyxcursor.[Ch]:
2664         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2665
2666         * lyxfunc.C:
2667         * text2.C:
2668         * text3.C: adjust
2669
2670 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2671
2672         * PosIterator.C (distance, advance): new
2673         * bufferview_funcs.[Ch] (put_selection_at): new
2674         * iterators.[Ch] (lockPath): new
2675
2676 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2677
2678         * iterators.[Ch] (asPosIterator): added
2679         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2680         * PosIterator.[Ch]: added
2681
2682 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * text3.C:
2685         * lyxfunc.C:
2686         * cursor.C (dispatch):
2687         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2688
2689         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2690         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2691         contructor, add a class function dispatched. Remove operator>=
2692
2693 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2694
2695         * debug.C: only use the default constructor for debugstream
2696         (lyxerr) here.
2697
2698         * main.C (main): include debug.h and setup the lyxerr streambuf
2699         here.
2700
2701 2003-10-31  José Matos  <jamatos@lyx.org>
2702
2703         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2704
2705         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2706         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2707         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2708         * paragraph_pimpl.C (simpleTeXSpecialC):
2709         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2710         add LatexRunParams argument.
2711
2712         * exporter.C (Export): change call accordingly.
2713
2714         * latexrunparams.h: add new member to take care of the other backends.
2715 2003-10-30  José Matos  <jamatos@lyx.org>
2716
2717         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2718         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2719         factorise code for paragraph output.
2720         * buffer.[Ch]:
2721         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2722         move functions.
2723
2724 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * text3.C (dispatch):
2727         * lyxfunc.C (dispatch):
2728         * cursor.C (dispatch):
2729         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2730
2731         * dispatchresult.h: make the dispatch_result_t ctor explicit
2732
2733 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2734
2735         * sgml.[Ch]:
2736         * buffer.C: small refactoring of docbook stuff
2737
2738 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2739
2740         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2741         meaning.
2742
2743 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2744
2745         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2746         operator dispatch_result_t, and operators for == != and >=
2747
2748         * cursor.C (dispatch): adjust for operator dispatch_result_t
2749         removal. comment out call to update
2750
2751         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2752
2753 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * text3.C:
2756         * text2.C:
2757         * text.C:
2758         * lyxtext.h:
2759         * lyxfunc.C:
2760         * cursor.C:
2761         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2762         (dispatch):
2763
2764         * dispatchresult.h: new file, DispatchResult broken out of
2765         insets/insetbase.h
2766
2767         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2768
2769 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2770
2771         * text.C (rowBreakPoint): put a hack inside #if 0
2772
2773 2003-10-28  André Pönitz  <poenitz@gmx.net>
2774
2775         * lyxtext.h:
2776         * metricsinfo.C:
2777         * paragraph_funcs.C:
2778         * rowpainter.C:
2779         * text.C:
2780         * text2.C: general cleanup (lots of small stuff)
2781
2782 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2783
2784         * text2.C (cursorEnd): simple fix to the "end key goes to one
2785         before the end on last row" bug
2786
2787 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * text.C (backspace): fix the "zombie characters"
2790
2791 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2792
2793         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2794
2795 2003-10-27  André Pönitz  <poenitz@gmx.net>
2796
2797         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2798
2799         * factory.C: handle new InsetPagebreak, InsetLine
2800
2801         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2802         and move handling into new InsetPagebreak, InsetLine
2803
2804         * BufferView_pimpl.C:
2805         * LyXAction.C:
2806         * ParagraphParameters.C:
2807         * ParameterStruct.h:
2808         * lyxfunc.C:
2809         * lyxtext.h:
2810         * paragraph.C:
2811         * paragraph.h:
2812         * paragraph_funcs.C:
2813         * paragraph_pimpl.C:
2814         * rowpainter.C:
2815         * text.C:
2816         * text2.C:
2817         * text3.C: adjust
2818
2819 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2820
2821         * text.C:
2822         * lyxrow_funcs.[Ch]:
2823         * Bidi.C:
2824         * paragraph.C:
2825         * lyxtext.h:
2826         * rowpainter.C:
2827         * text2.C:
2828         * text3.C: remove lastPos uses in favour of Row::endpos
2829
2830 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2831
2832         * undo.C (performUndoOrRedo): fix two crashes by setting a
2833         cursor by hand and reordering some calls. Use bv->lockInset instead
2834         of inset->edit because the latter loses cursor information
2835
2836 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2837
2838         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2839         by Martin
2840         (rowBreakPoint): fix width. change point to point + 1.
2841         Add a missing check.
2842
2843 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2844
2845         * MenuBackend.C:
2846         * lyxfunc.C: fix (at least partly) the problems
2847         with the Nav menu and headers inside branch insets
2848         reported by Kayvan
2849
2850 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2851
2852         * paragraph.C (getChar): add strong asserts
2853
2854         * lyxrow_funcs.C (lastPos): remove hideous hack
2855
2856         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2857         (fill): adjust to that (avoid an infinite loop)
2858
2859 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2860
2861         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2862
2863 2003-10-23  André Pönitz  <poenitz@gmx.net>
2864
2865         * RowList_fwd.h: change list<> to vector<> to gain speed
2866         after suggestion from Alfredo
2867
2868 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2869
2870         * lyxtext.h: move the bidi stuff from here...
2871         * text.C: and here
2872         * text2.C: and here
2873         * Bidi.[Ch]: ... to here
2874
2875 2003-10-23  André Pönitz  <poenitz@gmx.net>
2876
2877         * lyxtext.h:
2878         * text.C (isLastRow, isFirstRow): new functions
2879
2880         * paragraph.h: new width cache member
2881
2882         * rowpainter.C: replace RowList::iterator with Row & where possible
2883
2884         * lyxfunc.C: replace several view()->text with a single call
2885
2886         * toc.C: fix 'unused' warning
2887
2888 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2891         when woring with stream::pos_type
2892         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2893
2894 2003-10-22  André Pönitz  <poenitz@gmx.net>
2895
2896         * lyxtext.h:
2897         * text.C: use Row & instead of RowList::iterator
2898
2899         * lyxrow.h: rename end() to endpos()
2900
2901         * rowpainter.C:
2902         * text.C:
2903         * text2.C: adjust
2904
2905 2003-10-22  Angus Leeming  <leeming@lyx.org>
2906
2907         * buffer.[Ch] (fully_loaded): new member function, returning true
2908         only when the file has been loaded fully.
2909         Used to prevent the premature generation of previews and by the
2910         citation inset to prevent computation of the natbib-style label.
2911
2912         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2913         templates are all set up.
2914
2915         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2916
2917 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2918
2919         * text.C: fixed an "oops" in the "is a bit silly"
2920         bug fix
2921
2922 2003-10-21  André Pönitz  <poenitz@gmx.net>
2923
2924         * FuncStatus.[Ch]: small stuff, whitespace
2925
2926         * lyxfont.[Ch]: operator<<() for debug reasons
2927
2928         * lyxfunc.C:
2929         * lyxrow_funcs.C:
2930         * lyxtext.h: whitespace, spelling
2931
2932         * paragraph.C: naming of variables
2933
2934         * text.C:
2935         * text2.C: small stuff
2936
2937
2938 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2939
2940         * text.C: (1) finish off the inset display() work;
2941         (2) fix the "is a bit silly" bug (accessing char
2942         past end of par).
2943
2944 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2945
2946         * text.C: re-introduce display() for insets, fixing the
2947         various bugs (stretch of line above, math inset
2948         positioning, ...)
2949
2950 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2951
2952         * text.C (rightMargin): remove spurious semicolon
2953
2954         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2955         1415)
2956
2957 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * text3.C: fix one crash due to wrong cursor def
2960
2961 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2962
2963         * vc-backend.C (scanMaster): make the regex static
2964
2965         * LaTeX.C (scanAuxFile): make the regexs static
2966
2967         * text3.C (doInsertInset, dispatch, dispatch):
2968         * text2.C (cursorUp, cursorDown):
2969         * text.C (selectNextWordToSpellcheck):
2970         * BufferView_pimpl.C (dispatch):
2971         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2972
2973 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2974
2975         * lyxsocket.C: include <cerrno>
2976
2977 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * lyxfunc.C (dispatch): remove textcache stuff
2980
2981         * bufferlist.C (release): remove textcache stuff
2982         (closeAll): ditto
2983
2984         * TextCache.C: delete file
2985         * TextCache.h: delete file
2986
2987         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2988
2989         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2990         delete of the bv_->text.
2991         (resizeCurrentBuffer): remove texcache stuff
2992         (workAreaResize): ditto
2993
2994 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2997         action.
2998
2999 2003-10-16  André Pönitz  <poenitz@gmx.net>
3000
3001         * lyxrow.[Ch]:
3002         * paragraph.h:
3003         * rowpainter.C:
3004         * text.C:
3005         * text2.C:
3006         * text3.C: speed up by storing y positions per paragraph plus per-row
3007         offset instead of having a 'full' y position in the row.
3008
3009 2003-10-15  André Pönitz  <poenitz@gmx.net>
3010
3011         * iterators.[Ch]:
3012         * iterators.[Ch]:
3013         * undo.[Ch]: make undo aware of inner insets
3014
3015 2003-10-14  Angus Leeming  <leeming@lyx.org>
3016
3017         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3018         static member functions LyX::ref() and LyX::cref.
3019         (lastfiles): new accessor functions for the new lastfiles_ member var.
3020         (addLyXView, views_): add a new LyXView to the list of views_.
3021         (updateInset): loop over all LyXViews to call their own updateInset
3022         member function, returning a pointer to the Buffer owning the inset.
3023
3024         * BufferView_pimpl.C (loadLyXFile):
3025         * MenuBackend.C (expandLastfiles):
3026         * bufferlist.C (MenuWrite, QuitLyX):
3027         lastfiles is no longer a global variable.
3028         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3029
3030         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3031         static function. Access through LyX::cref().emergencyCleanup().
3032
3033 2003-10-14  André Pönitz  <poenitz@gmx.net>
3034
3035         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3036
3037         * undo.[Ch]: restoring part of 'undo in insets'
3038
3039         * Makefile.am:
3040         * undo_funcs.[Ch]: merge with undo.[Ch]
3041
3042         * tabular.C: small cleansing stuff
3043
3044 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3045
3046         * paragraph_funcs.C (readParToken): report unknown insets as error
3047         boxes. Use the outer paragraph as location (also for unknown
3048         tokens).
3049
3050         * factory.C (readInset): do not abort on reading an unknown inset.
3051         Eat it and return 0.
3052
3053 2003-10-13  Angus Leeming  <leeming@lyx.org>
3054
3055         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3056
3057         * lyxrc.C: displayTranslator is now a function,
3058         declared in GraphicsTypes.h.
3059
3060 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3061
3062         * format.C: new placeholder $$a to pass the socket address.
3063
3064         * bufferlist.[Ch]: new function getBufferFromTmp.
3065
3066         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3067           files in the temporary dir.
3068
3069 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3070
3071         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3072
3073         * Makefile.am: add lyxsocket.[Ch].
3074
3075         * lyx_main.C (error_handler): handle SIGPIPE.
3076
3077 2003-10-13  André Pönitz  <poenitz@gmx.net>
3078
3079         * BufferView_pimpl.C:
3080         * lyxtext.h:
3081         * text.C:
3082         * text2.C:
3083         * text3.C:
3084         * undo_funcs.[Ch]: use paroffset_type instead of
3085           ParagraphList::iterators to prevent multiple conversion
3086           (and get a more robust interface)
3087
3088 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3091         * lyxtext.h: ditto
3092         * text3.C (dispatch): ditto
3093
3094 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3097         move the onlyfile, use onlyfile instead of foundfile in a couple
3098         of places.
3099
3100         * DepTable.C (update): flush the error stream a bit more
3101
3102 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * lyxserver.C (callback): adjust
3105
3106         * lyxfunc.C (getStatus): add a missing brace in commented code
3107         (ensureBufferClean): reindent
3108         (dispatch): delete version taking a string
3109
3110 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3111
3112         * LaTeX.C (deplog): move found file handlig from here...
3113         (handleFoundFile): .. to new function here.
3114         (deplog): make sure to discover several files mentioned on the
3115         same log line.
3116
3117 2003-10-10  André Pönitz  <poenitz@gmx.net>
3118
3119         * lyxfunc.C:
3120         * lyxtext.h:
3121         * tabular.C:
3122         * text.C:
3123         * text2.C:
3124         * text3.C: fix some of the tabular crashes
3125
3126 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3127
3128         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3129
3130         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3131
3132 2003-10-09  André Pönitz  <poenitz@gmx.net>
3133
3134         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3135
3136         * BufferView.C:
3137         * BufferView_pimpl.C:
3138         * bufferview_funcs.C:
3139         * lyx_cb.C:
3140         * lyxcursor.C:
3141         * lyxfind.C:
3142         * lyxfunc.C:
3143         * lyxtext.h:
3144         * text.C:
3145         * text2.C:
3146         * text3.C:
3147         * text_funcs.[Ch]:
3148         * textcursor.[Ch]:
3149         * undo_funcs.C: adjust
3150
3151 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3152
3153         * text2.C (incrementItemDepth): new function, use a backtracking
3154         algorithm to discover the correct item depth.
3155         (resetEnumCounterIfNeeded): new function, use a backtracking
3156         algorithm to discover if counter reset is needed.
3157         (setCounter): use them. Simplify a bit. Add different labels for
3158         different item depths for itemize.
3159
3160         * paragraph.C (Paragraph): remove initialization of enumdepth
3161         (operator=): ditto
3162
3163         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3164         enumerate and itemize. Change the type of itemdepth to signed char.
3165
3166 2003-10-08  André Pönitz  <poenitz@gmx.net>
3167
3168         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3169           thing assignable.
3170         * text.C:
3171         * text2.C: adjust
3172
3173         * tabular.[Ch]: fix crash after 'row-insert'
3174
3175 2003-10-08  Angus Leeming  <leeming@lyx.org>
3176
3177         Fix doxygen warnings.
3178
3179         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3180         Remove CutAndPaste:: prefix from header file declaration.
3181
3182         * LColor.h (fill): remove LColor:: prefix from declaration.
3183
3184         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3185         use lyx::depth_type rather than Paragraph::depth_type so that
3186         header file and .C file match.
3187
3188         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3189
3190         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3191         * aspell.C: \file aspell_local.C -> \file aspell.C
3192         * gettext.C: \file gettext.C -> \file src/gettext.C
3193         * gettext.h: \file gettext.h -> \file src/gettext.h
3194         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3195         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3196         * text.C: \file text.C -> \file src/text.C
3197
3198         * toc.C: move comment so that doxygen is not confused.
3199
3200 2003-10-07  Angus Leeming  <leeming@lyx.org>
3201
3202         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3203
3204 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3205
3206         * aspell.C:
3207         * aspell_local.h: add forgotten std::string's.
3208
3209 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3210
3211         * LaTeXFeatures.C:
3212         * LyXAction.C:
3213         * factory.C:
3214         * lfuns.h:
3215         * lyxfunc.C:
3216         * text3.C: The Box patch. Fancybox support, minipage, parbox
3217
3218 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3219
3220         * CutAndPaste.h:
3221         * DepTable.h:
3222         * FloatList.h:
3223         * LaTeXFeatures.h:
3224         * ParagraphParameters.h:
3225         * TextCache.h:
3226         * Thesaurus.h:
3227         * bufferlist.h:
3228         * exporter.h:
3229         * importer.h:
3230         * lastfiles.h:
3231         * lyxfind.h:
3232         * lyxfont.h:
3233         * lyxlex.h:
3234         * lyxtextclasslist.h:
3235         * messages.h:
3236         * paragraph.h:
3237         * paragraph_pimpl.C:
3238         * textcursor.h: add <string> and other small fixes to make Lars'
3239         std::string patch compile with STLport.
3240
3241 2003-10-06  Angus Leeming  <leeming@lyx.org>
3242
3243         * LColor.h: Add missing #include <string>.
3244
3245 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * All most all file in all subdirs: Make <string> be the prefered
3248         way of getting to std::string, add using declarations.
3249
3250 2003-10-06  André Pönitz  <poenitz@gmx.net>
3251
3252         * metricsinfo.C: initialize LyXFont before changing attribute.
3253         (fixes the 'math in \emph is upright' bug)
3254
3255 2003-10-06  André Pönitz  <poenitz@gmx.net>
3256
3257         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3258
3259 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3260
3261         * graph.C:
3262         * paragraph_pimpl.C: Small fixes to build using STLport
3263
3264 2003-10-02  André Pönitz  <poenitz@gmx.net>
3265
3266         * lyxfunc.C:
3267         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3268
3269 2003-10-01  André Pönitz  <poenitz@gmx.net>
3270
3271         * factory.C: assert early
3272
3273 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * lyx_main.C: remove the global debug object
3276
3277         * debug.h: adjust for new debugstream
3278
3279         * debug.C: adjust for new debugstream and keep the global debug
3280         object here.
3281
3282 2003-09-22  Angus Leeming  <leeming@lyx.org>
3283
3284         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3285         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3286         an incomplete class LyXFont.
3287
3288 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3289
3290         * factory.C: bug fix in branches
3291
3292 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * lyxfunc.C (processKeySym): adjust
3295         (dispatch): adjust
3296         (dispatch): change arg name from ev to func, adjust
3297         (sendDispatchMessage): ditto
3298
3299         * lyx_main.C (defaultKeyBindings): adjust keybindings
3300         (deadKeyBindings): ditto
3301
3302         * kbsequence.C (addkey): return a FuncRequest
3303
3304         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3305
3306         * kbmap.C (bind): take a FuncRequest as arg, adjust
3307         (read): adjust
3308         (lookup): adjust
3309         (defkey): change to take a FuncRequest as arg, adjust
3310         (findbinding): take a FuncRequest as arg, adjust.
3311
3312         * funcrequest.h (operator=): added
3313
3314         * funcrequest.C (FuncRequest): default kb_action changed from
3315         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3316
3317         * buffer.C (dispatch): simplify
3318         (dispatch): adjust to take a FuncRequest as arg, adjust
3319
3320         * boost.C (assertion_failed): change assertion message slightly
3321
3322         * ToolbarBackend.C (read): simplify
3323
3324         * MenuBackend.C (binding): adjust call to findbinding, add a
3325         message if no binding is found.
3326         (read): simplify
3327         (expandToc): correct by adding a empty FuncRequest
3328
3329         * LyXAction.C: include <boost/assert.hpp>
3330         (isPseudoAction): delete function
3331         (LookupFunc): change name to...
3332         (lookupFunc): this. change return type to FuncRequest.
3333         (getActionName): take kb_action as arg, simplify
3334         (funcHasFlag): add an assert, simplify.
3335
3336 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3337
3338         * toc.C (action): return a FuncRequest, simplify
3339
3340         * lyxfunc.C (processKeySym): adjust
3341         (getStatus): delete version that takes an int.
3342         (getStatus): adjust
3343         (dispatch): delete version that takes action as int
3344         (dispatch): adjust
3345         (sendDispatchMessage): simplify and adjust
3346
3347         * funcrequest.C (getArg): take unsigned int as arg
3348
3349         * ToolbarBackend.C (read): adjust
3350         (add): delete version that takes func as a string.
3351         (getIton): take a FuncRequest as arg
3352
3353         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3354         action.
3355
3356         * MenuBackend.C (MenuItem): add a new construct that only takes a
3357         Kind, simplify the constructor use for submenus.
3358         (add): adjust
3359         (expandLastfiles): adjust
3360         (expandDocuments): adjust
3361         (expandFormats): adjust
3362         (expandFloatListInsert): adjust
3363         (expandFloatInsert): adjust
3364         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3365
3366         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3367         Remove class variables lyx_pseudo_map and lyx_arg_map
3368
3369         * LyXAction.C (searchActionArg): delete function
3370         (getPseudoAction): delete function
3371         (retrieveActionArg): delete function
3372         (LookupFunc): make it return kb_action, simplify.
3373         (getActionName): simplify
3374
3375         * factory.C (createInset): fix new bug
3376
3377 2003-09-19  Angus Leeming  <leeming@lyx.org>
3378
3379         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3380         masterFilename_ parameter in the include inset.
3381
3382         * factory.C (createInset): changes due to the changes to InsetInclude.
3383
3384 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3385
3386         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3387
3388 2003-09-18  Angus Leeming  <leeming@lyx.org>
3389
3390         * buffer.C:
3391         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3392         Inset::fillWithBibKeys.
3393         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3394
3395 2003-09-18  Angus Leeming  <leeming@lyx.org>
3396
3397         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3398         variables.
3399         (ctor): pass and store a 'Buffer const &'
3400         (buffer): new member function.
3401
3402         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3403         '*this' to the LaTeXFeatures ctor.
3404
3405 2003-09-18  Angus Leeming  <leeming@lyx.org>
3406
3407         * LColor.h:
3408         * lyxfont.C:
3409         * lyxfont.h:
3410         * lyxtext.h:
3411         * text.C: rename EnumLColor as LColor_color.
3412
3413 2003-09-18  Angus Leeming  <leeming@lyx.org>
3414
3415         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3416         remove #include "insets/insetbase.h" from cursor.h.
3417
3418 2003-09-18  Angus Leeming  <leeming@lyx.org>
3419
3420         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3421         InsetOld_code to remove #include "inset.h".
3422
3423         * iterators.C: add #include "insets/inset.h"
3424
3425 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3426
3427         * BufferView.C: remove more locking stuff that apparently doesn't
3428         do anything sensible.
3429
3430 2003-09-16  André Pönitz  <poenitz@gmx.net>
3431
3432         * paragraph.[Ch]:
3433         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3434           performance boost.
3435
3436 2003-09-16  Angus Leeming  <leeming@lyx.org>
3437
3438         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3439
3440         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3441         arg/return type.
3442
3443         * paragraph.h: remove #include "lyxfont.h". Forward declare
3444         LyXFont_size.
3445
3446 2003-09-16  Angus Leeming  <leeming@lyx.org>
3447
3448         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3449         of support/textutils.h.
3450         (isWord): move the contents of support/textutils.h's IsWordChar here.
3451
3452         * buffer.C:
3453         * lyxfind.C:
3454         * rowpainter.C:
3455         * text.C:
3456         * text2.C: add #include "paragraph.h".
3457
3458         * rowpainter.C:
3459         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3460
3461 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * main.C:
3464         * lyx_main.C:
3465         * lyx_cb.C:
3466         * buffer.C:
3467         * LaTeX.C: use namespace alias for lyx::support::os
3468
3469 2003-09-16  Angus Leeming  <leeming@lyx.org>
3470
3471         * bufferparams.C:
3472         * bufferview_funcs.C:
3473         * factory.C:
3474         * lyxfunc.C:
3475         * paragraph_pimpl.C:
3476         * rowpainter.C:
3477         * text.C: add #include "LColor.h".
3478
3479 2003-09-16  Angus Leeming  <leeming@lyx.org>
3480
3481         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3482         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3483         return LyXFont &.
3484         Store the FontBits::color variable as an int rather than as an
3485         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3486         file.
3487
3488         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3489         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3490         string calls together.
3491
3492         * lyxrc.C: add #include "LColor.h".
3493
3494 2003-09-15  Angus Leeming  <leeming@lyx.org>
3495
3496         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3497         a cow_ptr.
3498
3499 2003-09-15  Angus Leeming  <leeming@lyx.org>
3500
3501         * LColor.h: add an EnumLColor wrapper for LColor::color.
3502
3503         * lyxfont.[Ch] (color, setColor, realColor):
3504         * lyxtext.h, text.C (backgroundColor):
3505         pass EnumLColor args to/from the functions, rather than LColor::color
3506         ones.
3507
3508         * lyxfont.h:
3509         * lyxtext.h: forward declare EnumLColor.
3510
3511         * lyx_main.C: add #include "LColor.h".
3512
3513 2003-09-15  Angus Leeming  <leeming@lyx.org>
3514
3515         * .cvsignore: add lyx-gtk.
3516
3517 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * Chktex.C
3520         * LaTeX.C
3521         * LaTeXFeatures.C
3522         * ParagraphParameters.C
3523         * Spacing.C
3524         * buffer.C
3525         * bufferparams.C
3526         * bufferview_funcs.C
3527         * chset.C
3528         * counters.C
3529         * funcrequest.C
3530         * lyxfont.C
3531         * lyxgluelength.C
3532         * lyxlength.C
3533         * paragraph.C
3534         * paragraph_funcs.C
3535         * text3.C
3536         * vc-backend.C: remove usage of STRCONV
3537
3538 2003-09-15  Angus Leeming  <leeming@lyx.org>
3539
3540         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3541         explicitly define the color passed to the painter.
3542
3543 2003-09-15  Angus Leeming  <leeming@lyx.org>
3544
3545         * bufferparams.C (BufferParams): reorder member initializers to avoid
3546         compiler warning.
3547
3548 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3551         * text.C (updateRowPositions): remove an unusual nop
3552
3553 2003-09-12  André Pönitz  <poenitz@gmx.net>
3554
3555         * BufferView_pimpl.C:
3556         * Bullet.C:
3557         * layout.h:
3558         * lyxfunc.C:
3559         * lyxlayout.[Ch]:
3560         * lyxtextclass.C:
3561         * rowpainter.C:
3562         * text.C:
3563         * text2.C:
3564         * Counters.[Ch]: finish the 'automatic counters' job
3565
3566 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3567
3568         * aspell.C: include <boost/assert.cpp> (compile fix)
3569
3570 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3571
3572         * boost.C (assertion_failed): use lyx::support::abort instead of
3573         assert.
3574
3575 2003-09-10  Angus Leeming  <leeming@lyx.org>
3576
3577         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3578         with their _fwd progeny.
3579
3580 2003-09-09  Angus Leeming  <leeming@lyx.org>
3581
3582         134 files throughtout the source tree: replace 'using namespace abc;'
3583         directives with the appropriate 'using abc::xyz;' declarations.
3584
3585 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3586
3587         * boost.C (emergencyCleanup): moved here from LAssert.c
3588         (assertion_failed): new function, called by BOOST_ASSERT
3589
3590         * several files: change Assert to BOOST_ASSERT
3591
3592 2003-09-09  Angus Leeming  <leeming@lyx.org>
3593
3594         * buffer.[Ch]: Add an Impl class and move Buffer's member
3595         variables into it. As a result move several header files out of
3596         buffer.h.
3597
3598         Add header files to lots of .C files all over the tree as a result.
3599
3600 2003-09-09  Angus Leeming  <leeming@lyx.org>
3601
3602         * buffer.[Ch]: make Buffer's member variables private. Add
3603         accessor functions.
3604
3605         Lots of changes all over the tree as a result.
3606
3607 2003-09-08  Angus Leeming  <leeming@lyx.org>
3608
3609         * graph.C: #include <config.h>.
3610
3611 2003-09-08  Angus Leeming  <leeming@lyx.org>
3612
3613         * BranchList.C:
3614         * BufferView.C:
3615         * BufferView_pimpl.C:
3616         * CutAndPaste.C:
3617         * DepTable.C:
3618         * LaTeX.C:
3619         * LaTeXFeatures.C:
3620         * LyXAction.C:
3621         * MenuBackend.C:
3622         * TextCache.C:
3623         * aspell.C:
3624         * buffer.C:
3625         * bufferlist.C:
3626         * changes.C:
3627         * chset.C:
3628         * converter.C:
3629         * counters.C:
3630         * debug.C:
3631         * graph.C:
3632         * ispell.C:
3633         * lyx_cb.C:
3634         * lyxfind.C:
3635         * lyxfunc.C:
3636         * lyxlex_pimpl.C:
3637         * lyxrc.C:
3638         * lyxrow.C:
3639         * paragraph.C:
3640         * rowpainter.C:
3641         * texrow.C:
3642         * text.C:
3643         * text2.C:
3644         * toc.C: remove redundant using directives.
3645
3646 2003-09-07  Angus Leeming  <leeming@lyx.org>
3647
3648         * LaTeXFeatures.h: remove #include "support/types.h".
3649         * ToolbarBackend.h: remove #include <algorithm>.
3650         * changes.h: remove #include <ctime>.
3651         * debug.h: remove #include <iosfwd>.
3652         * graph.h: remove #include "support/std_string.h".
3653         * lyx_main.h: remove #include <csignal>.
3654         * lyxlex_pimpl.h: remove #include <fstream>.
3655         * sgml.h: remove #include <algorithm>, <utility>.
3656         * toc.h: remove #include "support/std_ostream.h".
3657         Add #include <iosfwd>.
3658
3659 2003-09-07  Angus Leeming  <leeming@lyx.org>
3660
3661         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3662
3663         * converter.h: forward declare LatexRunParams.
3664         * encoding.h: remove #include "lyxrc.h".
3665         * lyxtext.h: remove #include "LColor.h".
3666         * lyxtextclass.h: remove #include "support/types.h".
3667         * trans.h: remove #include "tex-accent.h".
3668         * trans_mgr.h: remove #include "tex-accent.h".
3669         * insets/inset.h: remove #include "support/types.h", <vector>.
3670         * insets/insetcollapsable.h: remove #include "LColor.h".
3671         * insets/insetinclude.h: remove #include "dimension.h".
3672         * insets/insetlatexaccent.h: remove #include "dimension.h".
3673         * insets/insetoptarg.h:: remove #include "insettext.h".
3674         * insets/insettext.h: remove #include "dimension.h",
3675         <boost/shared_ptr.hpp>
3676
3677         * insets/renderers.h: add #include "dimension.h".
3678         * insets/updatableinset.h: add #include "support/types.h".
3679
3680         * many .C files: Associated changes.
3681
3682 2003-09-06  Angus Leeming  <leeming@lyx.org>
3683
3684         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3685         one, inside testInvariant.
3686
3687         * PrinterParams.C: new file.
3688         * PrinterParams.[Ch]: move the function bodies out of line.
3689
3690 2003-09-06  Angus Leeming  <leeming@lyx.org>
3691
3692         * ParagraphParameters.h: forward declare ParameterStruct rather than
3693         including its header file.
3694         (depth): moved out-of-line.
3695
3696 2003-09-06  Angus Leeming  <leeming@lyx.org>
3697
3698         * BufferView_pimpl.h:
3699         * kbmap.h:
3700         * kbsequence.h:
3701         * lyxfunc.h: forward declare LyXKeySym rather than
3702         #include "frontends/LyXKeySym.h".
3703
3704         * BufferView_pimpl.C:
3705         * kbmap.C:
3706         * kbsequence.C:
3707         * lyxfunc.C: associated changes.
3708
3709 2003-09-06  Angus Leeming  <leeming@lyx.org>
3710
3711         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3712         As a result, can remove the #include "insets/inset.h" from BufferView.h
3713
3714 2003-09-06  Angus Leeming  <leeming@lyx.org>
3715
3716         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3717         As a result, can remove the #include "insets/inset.h" from BufferView.h
3718
3719 2003-09-06  Angus Leeming  <leeming@lyx.org>
3720
3721         * buffer_funcs.C:
3722         * buffer.h:
3723         * bufferlist.C:
3724         * BufferView.C:
3725         * bufferview_funcs.C:
3726         * BufferView_pimpl.C:
3727         * CutAndPaste.C:
3728         * lyx_cb.C:
3729         * lyxfunc.C:
3730         * paragraph.h:
3731         * ParagraphParameters.C:
3732         * tabular.C:
3733         * text3.C:
3734         * toc.C:
3735         * undo_funcs.C:
3736         * frontends/controllers/ControlDocument.C:
3737         * insets/insetcaption.C: rearrange the #includes into some sort of
3738         coherent order.
3739
3740         * buffer.h: remove #includes ErrorList.h, undo.h
3741
3742 2003-09-06  Angus Leeming  <leeming@lyx.org>
3743
3744         * support/types.h: add a 'depth_type' typedef, used to store the
3745         nesting depth of a paragraph.
3746
3747         * paragraph.h:
3748         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3749         defining explicitly.
3750
3751         * buffer.h:
3752         * paragraph_funcs.h:
3753         * ParagraphParameters.h:
3754         * sgml.h: use lyx::depth_type rather than Paragraph or
3755         ParameterStruct's depth_type.
3756
3757         * buffer.h
3758         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3759
3760         * BufferView.C:
3761         * BufferView_pimpl.C:
3762         * CutAndPaste.C:
3763         * ParagraphParameters.C:
3764         * buffer_funcs.C:
3765         * bufferlist.C:
3766         * bufferview_funcs.C:
3767         * lyx_cb.C:
3768         * lyxfunc.C:
3769         * tabular.C:
3770         * text3.C:
3771         * toc.C:
3772         * undo_funcs.C:
3773         * frontends/LyXView.C:
3774         * frontends/controllers/ControlDocument.C:
3775         * frontends/controllers/ControlErrorList.C:
3776         * insets/insetbibitem.C:
3777         * insets/insetbranch.C:
3778         * insets/insetcaption.C:
3779         * insets/insetcollapsable.C:
3780         * insets/insetenv.C:
3781         * insets/insetert.C:
3782         * insets/insetfloat.C:
3783         * insets/insetfoot.C:
3784         * insets/insetfootlike.C:
3785         * insets/insetnewline.C:
3786         * insets/insetquotes.C:
3787         * insets/insettabular.C:
3788         * insets/insettext.C:
3789         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3790
3791         * frontends/controllers/ControlChanges.C: #include "changes.h".
3792
3793 2003-09-06  Angus Leeming  <leeming@lyx.org>
3794
3795         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3796         than #including paragraph.h.
3797
3798         * ParagraphList.h:
3799         * RowList.h: deleted. Superfluous.
3800
3801         * CutAndPaste.h:
3802         * iterators.h:
3803         * lyxcursor.h:
3804         * lyxtext.h:
3805         * text_funcs.h:
3806         * undo.h:
3807         * undo_funcs.h:
3808         * insets/inset.h:
3809         * insets/insettext.h: use ParagraphList_fwd.h rather than
3810         ParagraphList.h.
3811
3812         * paragraph.h: don't forward declare ParagraphList.
3813
3814         * buffer.h:
3815         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3816         rather than ParagraphList.h. paragraph.h is still needed for the
3817         Paragraph::depth_type parameters.
3818
3819         * textcursor.h: enable it to compile stand-alone in light of the
3820         above changes.
3821
3822         * bufferview_funcs.C:
3823         * iterators.C:
3824         * lyxfunc.C:
3825         * lyxrow_funcs.C:
3826         * paragraph.C:
3827         * rowpainter.C:
3828         * text.C:
3829         * text2.C:
3830         * text3.C:
3831         * text_funcs.C:
3832         * textcursor.C:
3833         * undo.C:
3834         * frontends/controllers/ControlParagraph.C:
3835         * frontends/controllers/ControlTabular.C:
3836         * insets/insetmarginal.C:
3837         * insets/insetminipage.C:
3838         * insets/insetnote.C:
3839         * insets/insetoptarg.C: add header files needed to compile again.
3840
3841 2003-09-06  Angus Leeming  <leeming@lyx.org>
3842
3843         * RowList_fwd.h: new file, forward-declaring Row rather than
3844         #including lyxrow.h.
3845
3846         * lyxrow_funcs.h:
3847         * lyxtext.h:
3848         * paragraph.h:
3849         * insets/insettext.h: use it instead of RowList.h
3850
3851         * bufferview_funcs.C:
3852         * lyxfunc.C:
3853         * lyxrow_funcs.C:
3854         * paragraph.C:
3855         * rowpainter.C:
3856         * text.C:
3857         * text2.C:
3858         * text3.C: #include "RowList.h".
3859
3860 2003-09-05  Angus Leeming  <leeming@lyx.org>
3861
3862         * factory.C (createInset):
3863         * vspace.C (c-tor): replace sscanf call with an istringstream.
3864         * ispell.C: re-add missing HP/UX headers.
3865         * lyxserver.C: re-add missing  os2 headers.
3866
3867 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3868
3869         * BranchList.C:
3870         * graph.C:
3871         * ispell.C:
3872         * lastfiles.C:
3873         * lyx_cb.C:
3874         * lyxserver.C:
3875         * texrow.C:
3876         * text3.C: re-add missing system headers, needed for 2.95.2.
3877
3878 2003-09-05  Angus Leeming  <leeming@lyx.org>
3879
3880         Changes most place everywhere due to the removal of using directives
3881         from support/std_sstream.h.
3882
3883 2003-09-05  Angus Leeming  <leeming@lyx.org>
3884
3885         Replace LString.h with support/std_string.h,
3886         Lsstream.h with support/std_sstream.h,
3887         support/LIstream.h with support/std_istream.h,
3888         support/LOstream.h with support/std_ostream.h.
3889
3890         Changes resulting throughout the tree.
3891
3892 2003-09-05  Angus Leeming  <leeming@lyx.org>
3893
3894         * sgml.h: ensure that the header file can be compiled stand-alone.
3895         * *.C: strip out redundant #includes. (320 in total.)
3896
3897 2003-09-04  Angus Leeming  <leeming@lyx.org>
3898
3899         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3900         here (from getPackages).
3901
3902         * debug.[Ch]: add a new EXTERNAL tag.
3903
3904 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3905
3906         * text2.C (cursorEnd): simplify
3907         (setCursor): adjust
3908         (getColumnNearX): adjust
3909
3910         * text.C (computeBidiTables): adjust
3911         (fill): adjust
3912
3913         * rowpainter.C (paintChars): adjust
3914         (paintSelection): adjust
3915         (paintChangeBar): adjust
3916         (paintText): adjust
3917
3918         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3919         lastPos instead.
3920         (numberOfSeparators): adjust
3921
3922 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3923
3924         * LyXAction.C:
3925         * box.[Ch]:
3926         * lfuns.h:
3927         * lyxfunc.C:
3928         * text3.C: Restricts the mouse click functionality
3929         of insets like bibtex, include, toc and floatlist to the visible
3930         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3931         up the dialogs. Cursor has to be in front of the inset (i.e.
3932         start of row) for this to function.
3933
3934 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3935
3936         * bufferview_funcs.C (currentState): output row information
3937
3938 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3939
3940         * bufferview_funcs.C (currentState): output paragraph position
3941
3942 2003-09-04  Angus Leeming  <leeming@lyx.org>
3943
3944         * FloatList.h: move out #include "Floating.h".
3945         * LaTeX.h: move out #include "DepTable.h".
3946         * LyXAction.h: move out #include "funcrequest.h".
3947         * buffer.h: move out #include "author.h", "iterators.h".
3948         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3949         * lyx_main.h: move out #include "errorlist.h".
3950         * lyxfunc.h: move out #include "FuncStatus.h".
3951         * lyxtext: move out #include "lyxcursor.h".
3952         * paragraph_pimpl.h: move out #include "counters.h".
3953
3954 2003-09-03  Angus Leeming  <leeming@lyx.org>
3955
3956         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3957         preamble_snippets list, enabling us to add snippets to the preamble
3958         only if the snippet was not there already.
3959
3960 2003-09-04  Angus Leeming  <leeming@lyx.org>
3961
3962         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3963
3964 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3967         update
3968
3969 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3970
3971         * BranchList.C: point fix, earlier forgotten
3972
3973 2003-09-02  Angus Leeming  <leeming@lyx.org>
3974
3975         * box.C (contains): renamed from 'contained' after a fantastic
3976         amount of hot air.
3977
3978 2003-09-02  John Levon  <levon@movementarian.org>
3979
3980         * BufferView.C:
3981         * lyxcursor.h:
3982         * lyxcursor.C:
3983         * lyxfunc.C:
3984         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3985
3986 2003-09-02  John Levon  <levon@movementarian.org>
3987
3988         * text2.C: simplification of cursorEnd(), including partial
3989         fix for bug 1376
3990
3991 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * buffer.C (readFile): add a space
3994
3995 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3998
3999 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * buffer.C (readFile): new function, take a filename and a
4002         ParagraphList::iterator
4003         (readFile): adjust
4004         (readFile): adjust, make it private. don't use setStream, make
4005         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4006         always contain the filename.
4007
4008         * BufferView.C (insertLyXFile): simplify and make it work for
4009         gzipped files.
4010
4011 2003-08-30  John Levon  <levon@movementarian.org>
4012
4013         * Makefile.am: fix dist (from Kayvan)
4014
4015 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4016
4017         * most files: change to use const Buffer refs
4018
4019 2003-08-27  André Pönitz  <poenitz@gmx.net>
4020
4021         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4022         on top of ownerPar().
4023
4024 2003-08-27  John Levon  <levon@movementarian.org>
4025
4026         * funcrequest.C: properly initialise POD members
4027
4028 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4029
4030         * lyxtext.h (top_y): move top_y from here
4031         * text.C:
4032         * text2.C:
4033         * text3.C:
4034         * BufferView.[Ch]:
4035         * BufferView_pimpl.[Ch]: to here
4036         * frontends/screen.C:
4037         * insets/insettabular.C:
4038         * insets/insettext.C: adjust
4039         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4040
4041 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4042
4043         * BufferView.[Ch]:
4044         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4045
4046 2003-08-26  André Pönitz  <poenitz@gmx.net>
4047
4048         * paragraph_func.[Ch] (outerPar): new function
4049
4050         * paragraph.C:
4051         * paragraph_funcs.C:
4052         * paragraph_funcs.h:
4053         * paragraph_pimpl.C:
4054         * text2.C: remove Inset::par_owner
4055
4056 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4057
4058         * lyxrow_funcs.C:
4059         * lyxtext.h:
4060         * text.C:
4061         * text2.C: eliminates the needFullRow/display() stuff
4062         altogether, putting the logic in metrics/draw in the insets.
4063
4064 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4065
4066         * text2.C (redoParagraphInternal, redoParagraphs):
4067         * text.C (redoParagraph): add a call to updateRowPositions at the
4068         end of each 'metrics-like' call. Remove all others.
4069         (getRow): remove the 'y-computing' version.
4070         (getRowNearY): do not compute nor return the real y. Solve the
4071         'y < 0' problem and simplify.
4072
4073 2003-08-22  Angus Leeming  <leeming@lyx.org>
4074
4075         * *.[Ch]: clean-up of licence and author blurbs.
4076         Also move config.h out of a few .h files and into a few .C files.
4077
4078 2003-08-22  André Pönitz  <poenitz@gmx.net>
4079
4080         * lyxrow.[Ch]: add x_ and *fill_ members
4081
4082         * lyxtext.h:
4083         * text.C:
4084         * rowpainter.C:
4085         * text2.C: adjust/remove prepareToPrint() calls
4086
4087 2003-08-22  André Pönitz  <poenitz@gmx.net>
4088
4089         * lyxrow.[Ch]: add  end_ member
4090
4091         * lyxrow_funcs.C: use LyXRow::end_
4092
4093         * lyxtext.h (singleWidth): add LyXFont parameter
4094
4095         * rowpainter.C:
4096         * text2.C: adjust LyXText::singleWidth() calls
4097
4098         * text.C (redoParagraph): simplify row breaking logic
4099
4100
4101 2003-08-19  André Pönitz  <poenitz@gmx.net>
4102
4103         * funcrequest.C: initialize button_ member
4104
4105         * text3.C:
4106         * rowpainter.[Ch]: interface consolidation
4107
4108 2003-08-18  André Pönitz  <poenitz@gmx.net>
4109
4110         * BufferView.C:
4111         * BufferView_pimpl.C:
4112         * lyxfind.C:
4113         * paragraph_funcs.C:
4114         * rowpainter.C:
4115         * text3.C: remove LyXScreen::draw() and fitCursor calls
4116
4117         * BranchList.h: remove spurious semicolons
4118
4119         * MenuBackend.C: fix branchlist related crash
4120
4121 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4122
4123         * BranchList.[Ch]:
4124         * InsetList.[Ch]:
4125         * LColor.[Ch]:
4126         * LyXAction.C:
4127         * Makefile.am:
4128         * MenuBackend.[Ch]:
4129         * bufferparams.[Ch]:
4130         * factory.C:
4131         * lfuns.h:
4132         * lyxfunc.C:
4133         * text3.C: implements the 'branch inset'
4134         idea. This allows the output of various versions of a document
4135         from a single source version, selectively outputing or suppressing
4136         output of parts of the text.
4137         This implementation contains a 'branch list editor' in a separate
4138         tab of the document settings dialog. Branches are user definable
4139         and have a "display colour" to distinguish them on-screen.
4140
4141         ColorHandler was somewhat cleaned up.
4142         (1) make possible a dynamically growing LColor list by allowing
4143         the graphic context cache to grow along (vector);
4144         (2) eliminate an IMHO unnecessary step in colour allocation.
4145
4146 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4147
4148         * BufferView_pimpl.C: compile fix
4149
4150 2003-08-15  André Pönitz  <poenitz@gmx.net>
4151
4152         * rowpainter.C: remove extra metrics calls
4153
4154         * lyxtext.h: merge the two constructors into a single one,
4155           pass reference to owner's par list
4156
4157         * BufferView_pimpl.C:
4158         * text.C:
4159         * text2.C: adjust
4160
4161 2003-08-15  André Pönitz  <poenitz@gmx.net>
4162
4163         * lyxrow_funcs.[Ch]:
4164         * lyxtext.h:
4165         * paragraph.h:
4166         * paragraph_funcs.C:
4167         * rowpainter.C:
4168         * text.C:
4169         * text2.C:
4170         * text3.C:
4171         * text_funcs.C: split LyXText::rowlist_ into individual
4172         Paragraph::rows_ chunks
4173
4174         * BufferView.[Ch]:
4175         * BufferView_pimpl.[Ch]:
4176         * lyxfind.C:
4177         * lyxtext.h:
4178         * text3.C: remove toggleSelection()
4179
4180 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4181
4182         * bufferlist.C: beautify two alerts (shorter text of buttons)
4183         * buffer.C: Remove redundant ' ' from message
4184         * tabular.h:
4185         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4186         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4187         rename VALIGN_CENTER to VALIGN_MIDDLE
4188
4189 2003-08-11  André Pönitz  <poenitz@gmx.net>
4190
4191         * lyxtext.h (getPar):
4192         * text.C: new function
4193
4194 2003-08-11  André Pönitz  <poenitz@gmx.net>
4195
4196         * Makefile.am:
4197         * tracer.[Ch]: remove unneeded files
4198
4199         * InsetList.[Ch]: remove resizeInsetsLyXText()
4200
4201         * lyxtext.h:
4202         * text.C:
4203         * text2.C:
4204         * text3.C: merge insertParagraphs() and appendParagraph()
4205         remove breakAgain(), update()
4206
4207         * BufferView_pimpl.[Ch]:
4208         * bufferview_funcs.[Ch]:
4209         * lyxfunc.C:
4210         * paragraph.[Ch]:
4211         * rowpainter.C:
4212         * tabular.C: adjust after text & InsetList changes.
4213
4214 2003-08-08  André Pönitz  <poenitz@gmx.net>
4215
4216         * text.C (insertChar, backspace): replace rowlist fiddling
4217         with rebreak of full par
4218
4219         * lyxtext.h:
4220         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4221         checkParagraph, updateInset): removed
4222
4223 2003-08-07  André Pönitz  <poenitz@gmx.net>
4224
4225         * paragraph.C:
4226         * text3.C: merge some LFUN handlers, remove dead code
4227
4228 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4229
4230         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4231
4232 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4233
4234         * text2.C (DEPM): fix part of bug 1255 and 1256
4235
4236 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4237
4238         * BufferView_pimpl.C (workAreaDispatch): change to use
4239         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4240         that are no mouse related.
4241
4242 2003-08-05  André Pönitz  <poenitz@gmx.net>
4243
4244         * BufferView.[Ch]:
4245         * BufferView_pimpl.[Ch]:
4246         * bufferview_funcs.C:
4247         * text2.C:
4248         * text3.C: rip out "deep update"
4249
4250         * textcursor.[Ch] (last_sel_cursor): remove unused member
4251
4252 2003-08-04  André Pönitz  <poenitz@gmx.net>
4253
4254         * BufferView.[Ch]:
4255         * BufferView_pimpl.[Ch]:
4256         * ParagraphParameters.C:
4257         * bufferview_funcs.C:
4258         * lyx_cb.C:
4259         * lyxfind.C:
4260         * lyxfunc.C:
4261         * text.C:
4262         * text2.C:
4263         * text3.C: replace "complicated" BufferView::update(...) calls with
4264         simpler ones.
4265
4266         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4267
4268 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4269
4270         * Makefile.am (lyx_SOURCES): add paper.h
4271
4272 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4273
4274         * Makefile.am: move things around so that both lyx-qt and
4275         lyx-xforms can be built (according to --with-frontend). Then lyx
4276         is a symbolic link to lyx-[firstfrontend]
4277
4278 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4279
4280         * Always use std::endl with lyxerr
4281
4282 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4283
4284         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4285
4286 2003-08-01  André Pönitz  <poenitz@gmx.net>
4287
4288         * BufferView.[Ch]:
4289         * BufferView_pimpl.[Ch]:
4290         * lyxfunc.C:
4291         * text3.C: merge BufferView::repaint() and BufferView::update()
4292
4293 2003-08-01  José Matos  <jamatos@lyx.org>
4294
4295         * buffer.[Ch]: file_format is no longer a buffer data element.
4296
4297 2003-08-01  André Pönitz  <poenitz@gmx.net>
4298
4299         * BufferView.C:
4300         * lyxtext.h:
4301         * text.C:
4302         * text2.C: make redoParagraph more independent of current cursor
4303
4304         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4305         * text.C:
4306         * text2.C: remove unneeded members
4307
4308 2003-07-30  André Pönitz  <poenitz@gmx.net>
4309
4310         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4311
4312         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4313           create a single function...
4314
4315         * paragraph_funcs.C (moveItem): ... here.
4316
4317         * text.C:
4318           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4319
4320 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4321
4322         * LColor.[Ch]: Add comment and greyedout logical colors.
4323
4324 2003-07-30  André Pönitz  <poenitz@gmx.net>
4325
4326         * tabular.C: don't use Assert too heavily. This crashes where it
4327           shouldn't
4328
4329 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4332         is disabled (bug 1232)
4333
4334 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4335
4336         * factory.C: limited 'arg' scope
4337
4338 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4339
4340         * factory.C: fixed Note submenu issues
4341
4342 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4343
4344         * factory.C: submenu for Note/Comment/Greyedout
4345
4346 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * lyx_main.C (LyX):
4349         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4350
4351 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4352
4353         * LaTeXFeatures.C:
4354         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4355         greyedout. Patch provided by Jürgen Spitzmüller.
4356
4357 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4358
4359         * kbmap.C (read): fix error message when reading bind files
4360
4361 2003-07-29  Angus Leeming  <leeming@lyx.org>
4362
4363         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4364         certainly does not do what it purports to do. I am doing it, and
4365         us, a favour by killing it.
4366
4367 2003-07-28  José Matos  <jamatos@lyx.org>
4368
4369         * buffer.C (readBody, do_writeFile):
4370         * paragraph.C(readParagraph): \end_document replaces \the_end.
4371
4372 2003-07-29  André Pönitz  <poenitz@gmx.net>
4373
4374         * BufferView.[Ch]:
4375         * BufferView_pimpl.[Ch]:
4376         * lyxfunc.C:
4377         * text2.C:
4378         * text3.C:
4379         * textcursor.[Ch]: remove toggleToggle & Co
4380
4381 2003-07-28  José Matos  <jamatos@fep.up.pt>
4382
4383         * buffer.C (readParagraph):
4384         * params_func (readParToken, readParagraph):
4385         * paragraph.C (write): \layout -> \begin_layout.
4386
4387 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4388
4389         * lyxlex_pimpl.C (setFile): clean up slightly.
4390
4391         * bufferparams.h: add compressed var
4392
4393         * buffer_funcs.C (readFile): adjust for LyXLex change
4394         (newFile): ditto + simplify
4395
4396         * buffer.C (writeFile): handle writing of compressed files
4397
4398         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4399         Check if the file is compressed and set a bufferparm if so.
4400
4401         * Makefile.am (lyx_LDADD): remove explicit -lz
4402
4403 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4404
4405         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4406         makeDocBookFile): put the real LyX version in the first line of
4407         the file
4408
4409         * version.h:
4410         * version.C.in: remove lyx_docversion
4411
4412         * tabular.C (write_attribute): add a template-based version to
4413         write enums properly
4414
4415 2003-07-28  André Pönitz  <poenitz@gmx.net>
4416
4417         * lyxtext.h:
4418         * text.C:
4419         * text2.C:
4420         * text3.C: use doubles again for x-coordinates. They are needed.
4421
4422 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * messages.C (getLocaleDir): use lyx_localedir()
4425
4426         * lyxlex_pimpl.C (setFile): compress stuff
4427
4428         * buffer.C (writeFile): add some compression stuff
4429         (do_writeFile): new func, dont call expliti close... will this
4430         breake anything?
4431
4432         * Makefile.am (lyx_LDADD): add -lz
4433
4434 2003-07-28  José Matos  <jamatos@fep.up.pt>
4435
4436         * buffer.C: increment file format.
4437         * paragraph_funcs (readParagraph, readParToken):
4438         * paragraph.C (readParagraph): add \end_layout.
4439
4440 2003-07-27  Angus Leeming  <leeming@lyx.org>
4441
4442         * Makefile.am: remove special casing for configure-time setting of
4443         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4444
4445         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4446         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4447
4448 2003-07-26  André Pönitz  <poenitz@gmx.net>
4449
4450         * paragraph_func.[Ch]:
4451         * paragraph.C (realizeFont): inline it whereever it is used
4452
4453         * rowpainter.C:
4454         * text.C:
4455         * text2.C:
4456         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4457
4458
4459 2003-07-26  André Pönitz  <poenitz@gmx.net>
4460
4461         *       lyxtext.h:
4462         * text.C:
4463         * text2.C: get rid of LyXText::need_break_row
4464
4465 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * toc.[Ch]: put namespace toc inside namespace lyx
4468
4469         * MenuBackend.C (expandToc2): adjust for lyx::toc
4470         (expandToc): ditto
4471
4472         * lyxfunc.C (dispatch): adjust for lyx::find
4473
4474         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4475         lyx::find instead. Reorganize a bit.
4476         (LyXReplace): rename to replace
4477         (LyXFind): rename to find
4478
4479         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4480         (dispatch): ditto
4481
4482 2003-07-26  André Pönitz  <poenitz@gmx.net>
4483
4484         * text.C (setHeightOfRow): restrict scope of temporary variable
4485
4486         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4487           code (never has been used?)
4488
4489 2003-07-27  Asger Alstrup  <alstrup@local>
4490
4491         * text.C (fill): Optimise algorithm to exploit that we can reuse
4492         the LyXFont for many characters.
4493         (setHeightOfRow): Same thing.
4494         (rowBreakPoint): Same thing.
4495
4496 2003-07-26  Asger Alstrup  <alstrup@local>
4497
4498         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4499
4500         * text.C (singleWidth): Spurious font copying in hot-spot
4501         singleWidth avoided. Reorder tests for arabic for efficiency.
4502
4503         * text.C (fill): handle empty paragraphs better.
4504
4505 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4506
4507         * ispell.C:
4508         * encoding.h: add includes
4509
4510         * lyxrc.C: remove reading of bind files
4511
4512         * lyx_main.C (init): setup bindings and menus only if we have a
4513         gui.
4514
4515         * kbmap.C (read): new method. Do the actual reading of bind
4516         files.
4517
4518         * converter.C (dvipdfm_options):
4519         * bufferparams.C:
4520         * lyxrc.C (read):
4521         (output): adapt PAPER_* enums.
4522
4523         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4524
4525         * bufferparams.h: remove paper-related enums from there
4526
4527         * paper.h: New file. A trivial header file to hold paper-related
4528         enums. It should later expand to contain many paper-related
4529         horrors access.
4530
4531         * lyxrc.C: declare extern displayTranslator
4532
4533 2003-07-27  José Matos  <jamatos@fep.up.pt>
4534
4535         * tabular.[Ch] (linuxdoc): add support for tables and figures
4536         (linuxdoc).
4537
4538 2003-07-27  José Matos  <jamatos@fep.up.pt>
4539
4540         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4541         consistency in both functions.
4542         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4543
4544 2003-07-26  Asger Alstrup  <alstrup@local>
4545
4546         * rowpainter.C (paintRows): Change algorithm to work directly on
4547         the insets rather than asking every character in the document
4548         whether its an inset.
4549
4550 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * buffer.C (openFileWrite): factorize some code
4553
4554 2003-07-26  Angus Leeming  <leeming@lyx.org>
4555
4556         * lyx_cb.C:
4557         * lyx_main.[Ch]: replace occurances of system_tempdir with
4558         os::getTmpDir().
4559
4560 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * rename Inset to InsetOld
4563
4564 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4565
4566         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4567         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4568         which I think is a bit clearer. EDIT is gone, since it was
4569         premature optimisation, and broken for mathed anyway.
4570         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4571         with cursor positioning in insets as well (math insets still do not
4572         work, but that's a different story anyway.) It mysteriously
4573         crashes sometimes with undo in the first paragraph, but I'm fairly
4574         confident that this is a compiler bug.
4575
4576 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * paragraph.C (Paragraph): adjust for new clone return type
4579         (operator==): ditto
4580         (copyIntoMinibuffer): ditto
4581
4582 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4583
4584         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4585         by not having a special case, and always doing a full rebreak of
4586         the document after undo.
4587
4588 2003-07-23  Angus Leeming  <leeming@lyx.org>
4589
4590         * factory.C (createInset): InsetExternal::setParams now takes a
4591         Buffer const * arg.
4592
4593 2003-07-23  Angus Leeming  <leeming@lyx.org>
4594
4595         * factory.C (createInset): changed interface to the external and
4596         graphics mailers' string2params functions.
4597
4598 2003-07-23  Angus Leeming  <leeming@lyx.org>
4599
4600         * factory.C (createInset): pass a
4601         Buffer const * parameter to InsetExternalMailer's string2params.
4602
4603 2003-07-22  John Levon  <levon@movementarian.org>
4604
4605         * Thesaurus.h: include the right aiksaurus header
4606
4607 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4608
4609         * MenuBackend.C (expand): check menu shortcuts unconditionally
4610
4611 2003-07-21  Angus Leeming  <leeming@lyx.org>
4612
4613         * factory.C (createInset): pass a
4614         buffer_path parameter to InsetGraphicsMailer's string2params.
4615
4616 2003-07-21  Angus Leeming  <leeming@lyx.org>
4617
4618         * BufferView_pimpl.C (buffer):
4619         * buffer.C (d-tor):
4620         * lyx_main.C (LyX):
4621         * lyxfunc.C (dispatch):
4622         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4623         rather than the grfx shortcut.
4624
4625 2003-07-21  André Pönitz  <poenitz@gmx.net>
4626
4627         * rowpainter.C: remove unused variables
4628
4629         * tabular_funcs.C:
4630         * tabular_funcs.h: move to tabular.C
4631         * Makefile.am: adjust
4632
4633         * tabular.[Ch]: basic optical cleaning
4634
4635         * author.h: pass references, not values
4636
4637 2003-07-18  André Pönitz  <poenitz@gmx.net>
4638
4639         * lyxtext.h:
4640         * metricsinfo.C:
4641         * metricsinfo.h:
4642         * rowpainter.C:
4643         * text.C:
4644         * text2.C:
4645         * text3.C: two-phase drawing for InsetText and InsetTabular
4646         some float -> int changes.
4647
4648 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * lyx_main.C: fix the fix
4651
4652 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4653
4654         * lyx_main.C: fix a crash in batch mode if no files specified
4655         * converter.C: ws
4656
4657 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4658
4659         * format.[Ch] (papersize): moved to BufferParams
4660         * converter.[Ch] (dvips_options): moved to BufferParams
4661         (dvipdfm_options): moved to anon namespace
4662         * bufferparams.[Ch]: added above functions.
4663
4664 2003-07-17  André Pönitz  <poenitz@gmx.net>
4665
4666         * lyxtext.h:
4667         * rowpainter.C:
4668         * text2.C: don't call inset->update() anymore
4669
4670         * metricsinfo.[Ch]: add convenience constructor
4671
4672 2003-07-16  André Pönitz  <poenitz@gmx.net>
4673
4674         * lyxcursor.[Ch]:
4675         * lyxfunc.[Ch]:
4676         * text.C:
4677         * text2.C: replace the LyXCursor::irow_ member with
4678          on-demand computation of the value
4679
4680 2003-07-16  John Levon  <levon@movementarian.org>
4681
4682         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4683
4684 2003-07-15  André Pönitz  <poenitz@gmx.net>
4685
4686         * text.C:
4687         * text2.C: remove no more needed refresh_row
4688
4689 2003-07-15  André Pönitz  <poenitz@gmx.net>
4690
4691         * lyxtext.h:
4692         * rowpainter.C:
4693         * text2.C:
4694         * text3.C: refresh_status tristate -> need_update bool
4695
4696 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4697
4698         * lyxtext.h (init): remove reinit argument (act as if always true)
4699         * text2.C: adjust to that
4700
4701 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4702
4703         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4704         * text3.C: use it to delete selections in some cases
4705         (bugs 441, 673, 702, 954).
4706
4707 2003-07-14  André Pönitz  <poenitz@gmx.net>
4708
4709         * rowpainter.[Ch]: reduce interface
4710
4711 2003-07-14  André Pönitz  <poenitz@gmx.net>
4712
4713         * BufferView_pimpl.C:
4714         * text2.C: adjust after removing unused BufferView * argument
4715
4716 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * text2.C (init): fix a crash fired on resize
4719
4720 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * buffer.[Ch]: added new closing signal
4723         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4724         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4725         BufferView::Pimpl via the closing the signal
4726
4727 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4728
4729         * buffer.[Ch]: take out all bv-related from buffer
4730         * BufferView.C:
4731         * BufferView_pimpl.[Ch]: connect to new signals
4732         * CutAndPaste.C: removed useless asserts
4733         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4734         * lyxvc.[Ch]:
4735         * vc-backend.[Ch]:
4736         * lyxfunc.C: moved view-related funciontality from vc here
4737         * paragraph.C: removed outdated comments
4738         * text.C: ws
4739
4740 2003-07-10  André Pönitz  <poenitz@gmx.net>
4741
4742         * BufferView_pimpl.C:
4743         * tabular.h:
4744         * tabular_funcs.C:
4745         * text.C:
4746         * text2.C: remove InsetText::InnerCache, clean up consequences
4747
4748 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4749
4750         * ispell.C: fix two typos in error messages
4751
4752 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4753
4754         * Extend Note inset to other forms of annotation like Comment
4755         and Greyedout. Right button click gives dialog.
4756
4757         Files modified or added (+):
4758
4759         * insetnote.[Ch]
4760         * FormNote.[Ch]      +
4761         * ControlNote.[Ch]   +
4762         * form_note.fd       +
4763         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4764         frontends/controllers
4765         * xforms/Dialogs.C
4766         * factory.C
4767
4768 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4769
4770         * aspell.C: add missing namespace lyx::support
4771
4772 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4773
4774         * BufferView.[Ch] (newFile): Add
4775         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4776         * LaTeX.[Ch] (message): added this signal and use it
4777         * buffer.[Ch] (busy, message): added these signals and use them
4778         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4779         * converter.C:
4780         * exporter.C:
4781         * format.C:
4782         * importer.C: use buffer signals instead of direct bv calling
4783         * lyx_cb.[Ch] (ShowMessage): removed
4784         * lyx_main.C:
4785         * lyxfunc.C:
4786         * paragraph_funcs.C:
4787         * text2.C: use buffer signals
4788
4789 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * introduce namespace lyx::graphics
4792
4793 2003-07-02  André Pönitz  <poenitz@gmx.net>
4794
4795         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4796
4797 2003-07-01  André Pönitz  <poenitz@gmx.net>
4798
4799         * text.C:
4800         * text2.C:
4801         * text3.C:
4802         * text_funcs.[Ch]:
4803         * textcursor.h:
4804         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4805           text*.C to text_func.C
4806
4807 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * introduce namespace lyx::support
4810
4811 2003-06-30  André Pönitz  <poenitz@gmx.net>
4812
4813         * Chktex.C:
4814         * funcrequest.C:
4815         * lyxtext.h:
4816         * text.C: re-enable --with-included-string
4817
4818 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * textcursor.C: add <config.h>
4821
4822         * text.C (getWord): remove const from word_location arg
4823
4824         * lyxvc.C (getLogFile): fix const type order
4825
4826         * lyxtext.h: remove const from word_location arg, add arg name
4827
4828         * lyxlayout.h: currect type on labeltype.
4829
4830         * importer.C: correct \file
4831
4832         * converter.C (intToFormat): use std:: on ret val, ws changes
4833
4834         * bufferlist.h: correct \file
4835
4836         * buffer.C (makeLinuxDocFile): fix const type order
4837         (makeDocBookFile): ditto
4838         (fillWithBibKeys): use std:: on stdlib args.
4839
4840         * CutAndPaste.C: fix authors.
4841         (availableSelections): use std:: on return vector
4842
4843 2003-06-27  André Pönitz  <poenitz@gmx.net>
4844
4845         * BufferView_pimpl.C:
4846         * bufferview_funcs.C:
4847         * lyxcursor.C:
4848         * lyxcursor.h:
4849         * lyxfunc.C:
4850         * lyxtext.h:
4851         * rowpainter.C:
4852         * text.C:
4853         * text2.C:
4854         * text3.C: remove LyXCursor::row_ member
4855
4856         * lyxtext.h:
4857         * text.C: rename fullRebreak() to partialRebreak() and implement
4858           a fullRebreak() that really bereks fully
4859
4860         * textcursor.h: new struct for cursor-related data
4861
4862 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4863
4864         * lyx_main.C (LyX): get full path of document loaded on the
4865         command line
4866
4867 2003-06-26  André Pönitz  <poenitz@gmx.net>
4868
4869         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4870           remove unused/broken operator>,<,>=.
4871
4872         *       text.C: remove only use of broken operator<= in an Assert().
4873
4874 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4875
4876         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4877         moved errorlist_.clear to showErrorList
4878
4879 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4880
4881         * converter.C (scanLog, runLaTeX):
4882         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4883         move the bv->showErrorList call to the callers
4884         * lyxfunc.C: i.e. here...
4885         * text2.C: and here
4886         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4887         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4888         namespace, the second to...
4889         * buffer_funcs (BufferFormat, parseErrors): added
4890         * errorlist.C (ErrorList(TeXErrors const &)): removed
4891
4892 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4893
4894         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4895
4896 2003-06-24  "Garst R. Reese" <reese@isn.net>
4897
4898         * debug.C: fix typo
4899
4900 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4901
4902         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4903
4904         * version.C.in: change docversion to 1.4
4905
4906 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * buffer.C: fix a bug just introduced
4909
4910 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * buffer.[Ch]: added the parseError signal and use it, removed
4913         sgmlError
4914         * BufferView.[Ch] (addError): moved to ...
4915         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4916         to the Buffer::parseError signal to catch (guess what) parse errors
4917         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4918
4919 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4922         ability to create a buffer and to return an existing one from
4923         the list. Moved these functions to...
4924         * buffer_funcs.[Ch]: added
4925         * BufferView.[Ch] (loadLyXFile): added
4926         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4927         job removed from bufferlist::loadLyXFile.
4928         * buffer.C (setReadOnly): make it work without view
4929         (i.e added an if (users))
4930
4931 2003-06-19  Angus Leeming  <leeming@lyx.org>
4932
4933         * lfuns.h:
4934         * LyXAction.C (init):
4935         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4936         with LFUN_DIALOG_SHOW <name> <data>.
4937
4938 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4939
4940         * CutAndPaste.C (availableSelections): small compilation fix for
4941         ancient (gcc 2.9x) compilers
4942
4943 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * text3.C (cursorNext): add tmp var
4946
4947         * text2.C (updateCounters): for function calling out of for clause
4948         (replaceSelectionWithString): ditto
4949         (insertStringAsParagraphs): ditto
4950         (getColumnNearX): add tmp var
4951         (setCursorFromCoordinates): add tmp var
4952         (cursorDownParagraph): add tmp var
4953         (deleteEmptyParagraphMechanism): add tmp var
4954
4955         * text.C (insertChar): add tmp var
4956
4957         * rowpainter.C (paintDepthBar): add tmp var
4958
4959         * CutAndPaste.C (availableSelections): potentially check all
4960         paragraphs in a cut to fill the shown strings.
4961
4962 2003-06-18  André Pönitz  <poenitz@gmx.net>
4963
4964         * kbmap.[Ch]: use vector<> instead of list<>
4965
4966 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4967
4968         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4969         pasteSelection with index
4970
4971         * text2.C (pasteSelection): modify, call pasteSelection with index
4972
4973         * paragraph.C (asString): reimplement version with no interval to
4974         call the one with interval.
4975
4976         * lyxtext.h: add index arg to pasteSelection
4977
4978         * MenuBackend.C (MenuItem): handle PasteRecent
4979         (Menu::read::Menutags): add md_pasterecent
4980         (read): handle it
4981         (expandPasteRecent): new function
4982         (expand): use it
4983
4984         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4985
4986         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4987         the limited stack
4988         (availableSelections): new function
4989
4990 2003-06-17  Angus Leeming  <leeming@lyx.org>
4991
4992         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4993
4994 2003-06-17  Angus Leeming  <leeming@lyx.org>
4995
4996         * lfuns.h:
4997         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4998
4999         * lyxfunc.C (dispatch): invoke it.
5000
5001 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5002
5003         * iterators.C (operator++, ParPosition): reintroduce some
5004         const_cast for the benefit of older compilers.
5005
5006 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5007
5008         * text3.C (dispatch): do not modify clipboard when doing
5009         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5010         LFUN_DELETE_SKIP on a selection selection
5011
5012 2003-06-16  André Pönitz  <poenitz@gmx.net>
5013
5014         * BufferView.C:
5015         * buffer.C:
5016         * buffer.h:
5017         * paragraph.C:
5018         * tabular.[Ch]: IU of clone() and getLabelList();
5019
5020 2003-06-13  André Pönitz  <poenitz@gmx.net>
5021
5022         * tabular.h: compactification
5023
5024 2003-06-12  André Pönitz  <poenitz@gmx.net>
5025
5026         * tabular.C:
5027         * tabular.h:
5028         * tabular_funcs.h: some renaming plus whitespace
5029
5030 2003-06-12  André Pönitz  <poenitz@gmx.net>
5031
5032         * BufferView.C:
5033         * BufferView_pimpl.C:
5034         * CutAndPaste.C:
5035         * buffer.C:
5036         * iterators.[Ch]:
5037         * lyxfunc.C:
5038         * text.C:
5039         * toc.C: Return a Paragraph & for ParIterator::operator*()
5040
5041 2003-06-11  John Levon  <levon@movementarian.org>
5042
5043         * lyx_main.C:
5044         * ToolbarBackend.h:
5045         * ToolbarBackend.C: add "Toolbars" section and
5046         put the flags there
5047
5048 2003-06-10  Angus Leeming  <leeming@lyx.org>
5049
5050         * lfuns.h:
5051         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5052
5053         * lyxfunc.C (dispatch): invoke it.
5054
5055 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5056
5057         * main.C: protect <ios> with HAVE_IOS
5058         (main): protect sync_with_stdio with HAVE_IOS
5059
5060 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5061
5062         * text2.C (cutSelection): adjust
5063         (pasteSelection): adjust
5064
5065         * messages.C: handle get of empty string
5066
5067         * main.C (main): use sync_with_stdio(false)
5068
5069         * lyxfunc.C (dispatch): adjust
5070
5071         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5072         (WriteAs): remove unneeded BufferView arg.
5073
5074         * bufferparams.h: use correct types on papersize, papersize2 and
5075         paperpackage.
5076
5077         * bufferparams.C (readToken): adjust for type
5078         (writeLaTeX): add missing cases to switch.
5079
5080         * bufferlist.C (quitWriteBuffer): adjust
5081         (close): adjust
5082
5083         * buffer.C (asciiParagraph): remove some commented code.
5084
5085         * CutAndPaste.C: remove current_view extern variable.
5086         (cutSelection): add BufferParams arg.
5087         (eraseSelection): add BufferParams arg.
5088         (pasteSelection): add Buffer const & arg
5089
5090 2003-06-07  John Levon  <levon@movementarian.org>
5091
5092         * buffer.C:
5093         * paragraph_funcs.C:
5094         * paragraph_pimpl.C:
5095         * text.C:
5096         * text2.C:
5097         * paragraph.h:
5098         * paragraph.C: allow InsetERT to freely space lines,
5099         and some consolidation of code
5100
5101 2003-06-06  José Matos  <jamatos@fep.up.pt>
5102
5103         * buffer.C (makeDocBookFile): fix bug #821
5104
5105 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5108
5109 2003-06-04  Angus Leeming  <leeming@lyx.org>
5110
5111         * buffer.C: bump format to 224.
5112
5113 2003-06-05  André Pönitz  <poenitz@gmx.net>
5114
5115         * text2.C (redoParagraphs): remove two const_cast<>
5116
5117 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5118
5119         * ParagraphList.h: remove last remnants of NO_STD_LIST
5120
5121 2003-06-03  Angus Leeming  <leeming@lyx.org>
5122
5123         * factory.C (createInset): small change to the way InsetExternal's params
5124         are set.
5125
5126 2003-06-04  André Pönitz  <poenitz@gmx.net>
5127
5128         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5129
5130         * paragraph_pimpl.h:
5131         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5132
5133         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5134
5135         * undo_funcs.C: make some simple cases of undo work again
5136
5137 2003-06-03  John Levon  <levon@movementarian.org>
5138
5139         * ispell.C: HPUX doesn't have sys/select.h
5140         (from Albert Chin)
5141
5142 2003-06-03  John Levon  <levon@movementarian.org>
5143
5144         * CutAndPaste.C: update tabular and include inset
5145         buffer references
5146
5147         * buffer.h:
5148         * paragraph.h:
5149         * paragraph.C: remove owningBuffer(), don't pass Buffer
5150         to clone()
5151
5152         * factory.C: insetGraphicsParams changed
5153
5154 2003-06-02  John Levon  <levon@movementarian.org>
5155
5156         * LyXAction.C:
5157         * factory.C:
5158         * lfuns.h:
5159         * lyxfunc.C:
5160         * text3.C: remove insetparent
5161
5162 2003-06-02  John Levon  <levon@movementarian.org>
5163
5164         * buffer.h:
5165         * buffer.C: fix inset_iterator.end(), move out of line
5166         (bug 1149)
5167
5168 2003-06-01  John Levon  <levon@movementarian.org>
5169
5170         * text3.C: use a proper cut/paste when doing inset
5171         insert (from Jürgen Spitzmüller)
5172
5173 2003-06-01  John Levon  <levon@movementarian.org>
5174
5175         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5176
5177 2003-05-30  André Pönitz  <poenitz@gmx.net>
5178
5179         * rowpainter.C: unify second drawing phase
5180
5181 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * trans_mgr.C: remove one case of current_view
5184
5185         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5186
5187         * paragraph_funcs.h: remove paragraph.h include
5188
5189         * paragraph.h: delete NO_STD_LIST stuff
5190
5191         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5192
5193         * buffer.h: remove paragraph.h include
5194
5195         * ParagraphList.C: delete file
5196
5197         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5198
5199         * toc.C (getTocList): adjust
5200
5201         * paragraph_pimpl.C (validate): adjust
5202
5203         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5204
5205         * paragraph.C (Paragraph): adjust
5206         (getPositionOfInset): use const_iterator, adjust
5207         (bibitem): use const_iterator, adjust
5208         (setInsetOwner): adjust
5209
5210         * iterators.C (operator++): adjust
5211
5212         * InsetList.[Ch]: Replace selfmade iterator with standard
5213         vector::iterator also introduce const_iterator. Remove getPos,
5214         getInset and setInset from InsetTable. Adjust accordingly.
5215
5216         * BufferView.C (lockInset): adjust
5217         (ChangeInsets): adjust
5218
5219         * tabular.[Ch]: delete commented same_id functions
5220
5221 2003-05-28  John Levon  <levon@movementarian.org>
5222
5223         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5224
5225 2003-05-28  André Pönitz  <poenitz@gmx.net>
5226
5227         * metricsinfo.[Ch]: remove 'fullredraw' member
5228
5229 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5230
5231         * lyxtextclass.C (operator): remove caching.
5232
5233 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * text3.C: adjust
5236
5237         * text2.C (cursorBottom): adjust
5238         (setCounter): use ParagraphList::find, adjust
5239
5240         * text.C (workWidth): use ParagraphList::find, adjust
5241
5242         * lyxcursor.C (LyXCursor): adjust
5243
5244         * buffer.C (inset_iterator): adjust
5245
5246         * ParagraphList.h: make iterator(value_type) private, make
5247         ParagraphList a friend of iterator.
5248
5249         * ParagraphList.C (find): new function
5250
5251         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5252
5253 2003-05-27  André Pönitz  <poenitz@gmx.net>
5254
5255         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5256
5257 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5258
5259         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5260
5261 2003-05-26  John Levon  <levon@movementarian.org>
5262
5263         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5264
5265 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * remove same_id from function signatures, adjust.
5268
5269 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5272
5273         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5274
5275         * paragraph.C (Paragraph): get rid of same_ids parameter
5276
5277         * ParagraphList.C (insert): adjust
5278         (push_back): adjust
5279
5280 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * paragraph_funcs.C (breakParagraph): adjust
5283         (breakParagraphConservative): adjust
5284
5285         * buffer.C (readParagraph): adjust
5286
5287         * ParagraphList.C (insert): take a reference instead of a pointer
5288         (insert): adjust
5289
5290         * paragraph.[Ch] (id): new function
5291
5292         * bufferlist.C (newFile): adjust
5293
5294         * ParagraphList.C (ParagraphList): adjust
5295         (assign): adjust
5296         (push_back): take a reference instead of a pointer.
5297
5298         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5299
5300         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5301         instead.
5302
5303         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5304         set else use old code.
5305
5306         * ParagraphList.C: remove all NO_NEXT code and only compile this
5307         code of NO_STD_LIST is set.
5308
5309 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5310
5311         * BufferView_pimpl.C:
5312         * TextCache.C:
5313         * TextCache.h:
5314         * bufferlist.C:
5315         * errorlist.h:
5316         * format.C:
5317         * format.h:
5318         * graph.C:
5319         * lyxfunc.C:
5320         * lyxrc.C:
5321         * graphics/GraphicsConverter.C:
5322         * graphics/PreviewLoader.C: header adjustment
5323
5324 2003-05-23  Angus Leeming  <leeming@lyx.org>
5325
5326         * LaTeXFeatures.[Ch] (useBabel): new method.
5327         * bufferparams.C (writeLaTeX): use it.
5328
5329 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * ParagraphList.h (set): remove unused function.
5332
5333 2003-05-23  André Pönitz  <poenitz@gmx.net>
5334
5335         * BufferView.C:
5336         * BufferView_pimpl.C:
5337         * buffer.C:
5338         * buffer.h:
5339         * lyxfunc.C:
5340         * undo_funcs.C: setUndo reworked
5341
5342         * iterators.[Ch]: add access to topmost ParagraphList
5343
5344         * lyxtext.[Ch] (workWidth): add a const
5345
5346 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * texrow.[Ch] (increasePos): remove function
5349         * exporter.C (export): removed unused var and outdated comment
5350
5351 2003-05-23  Angus Leeming  <leeming@lyx.org>
5352
5353         * latexrunparams.h: rename fragile as moving_arg.
5354         * paragraph.C (simpleTeXOnePar): ditto.
5355         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5356
5357 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5360         (createUndo): ditto
5361         (textUndoOrRedo): comment out a currently unused var.
5362
5363         * paragraph.h (NO_NEXT): enable NO_NEXT
5364
5365         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5366
5367         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5368
5369         * exporter.C (Export): adjust for removeAutoInsets removal.
5370
5371         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5372
5373         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5374
5375         * BufferView.[Ch] (removeAutoInsets): delete function
5376
5377 2003-05-22  Angus Leeming  <leeming@lyx.org>
5378
5379         * latexrunparams.h: add a free_spacing variable.
5380
5381         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5382         to pass moving_arg, as the data is stored in runparams.fragile.
5383
5384         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5385         to Inset::latexOptional or to simpleTeXOnePar.
5386
5387         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5388         free_spacing arg to Inset::latexOptional.
5389
5390         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5391         free_spacing arg.
5392
5393 2003-05-22  Angus Leeming  <leeming@lyx.org>
5394
5395         * latexrunparams.h: add fragile and use_babel variables.
5396
5397         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5398         * buffer.C (makeLaTeXFile): store this returned value in
5399         runparams.use_babel, thus passing it to the inset::latex methods.
5400
5401         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5402         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5403
5404         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5405         longer has a fragile arg, as it is stored in runparams.fragile.
5406
5407         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5408         moving_arg parameter as the data is stored in runparams.fragile.
5409
5410         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5411         a fragile parameter as the data is stored in runparams.fragile.
5412
5413 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5416
5417 2003-05-22  Angus Leeming  <leeming@lyx.org>
5418
5419         * latexrunparams.h: add a 'bool nice' which defaults to false.
5420
5421         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5422         now encapsulated within runparams.
5423
5424         * bufferlist.C (updateIncludedTeXfiles):
5425         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5426
5427 2003-05-22  Angus Leeming  <leeming@lyx.org>
5428
5429         * latexrunparams.h: new file containing struct LatexRunParams.
5430         * Makefile.am: add new file.
5431
5432         * LaTeX.[Ch] (c-tor, run):
5433         * buffer.[Ch] (makeLaTeXFile):
5434         * bufferlist.[Ch] (updateIncludedTeXfiles):
5435         * converter.C (convert, scanLog):
5436         * converter.[Ch] (runLaTeX):
5437         * exporter.C (Export):
5438         * paragraph.[Ch] (simpleTeXOnePar):
5439         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5440         * paragraph_funcs.[Ch] (latexParagraphs):
5441         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5442         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5443         pass around a LatexRunParams parameter.
5444
5445 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * paragraph.[Ch]: remove unused constructor
5448
5449         * ParagraphList.C (erase): new function, taking two iterators
5450
5451 2003-05-22  André Pönitz  <poenitz@gmx.net>
5452
5453         * undo_funcs.C: remove duplicated code
5454
5455         * iterator.[Ch]: operator=
5456
5457 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * tabular.C (SetMultiColumn): ws changes
5460
5461         * rowpainter.C (paintFirst): get rid of a ->previous
5462
5463         * lyx_cb.C (getPossibleLabel): parlist simplification
5464
5465         * BufferView.C (ChangeInsets): simplify slightly.
5466
5467 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5468
5469         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5470         * lfuns.h: new LFUN_SPACE
5471         * lyxfunc.C: protected space has a new lfun
5472         * paragraph_funcs.C: read new space insets
5473         * text3.C:
5474         * factory.C: handle new space insets
5475
5476 2003-05-22  André Pönitz  <poenitz@gmx.net>
5477
5478         * BufferView.C:
5479         * BufferView_pimpl.C:
5480         * buffer.[Ch]:
5481         * lyxfunc.C:
5482         * undo_funcs.C: return a ParIterator from getParFromID.
5483
5484         * iterators.[Ch]: add two const's
5485
5486 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * toc.C (getTocList): adjust
5489
5490         * iterators.[Ch]: rework for parlist
5491
5492         * buffer.C (par_iterator_begin): adjust
5493         (par_iterator_end): adjust
5494
5495         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5496
5497         * BufferView.C (removeAutoInsets): adjust
5498         (ChangeInsets): adjust
5499
5500 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5501
5502         * text.C (top_y): fix bug 1110
5503
5504 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5505
5506         * errorlist.[Ch]: added
5507         * buffer.C:
5508         * BufferView.[Ch]:
5509         * BufferView_pimpl.C:
5510         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5511         instead
5512
5513 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * Makefile.am: ensure that lyx is relinked upon changes to the
5516         various "convenience" libs.
5517
5518 2003-05-20  Angus Leeming  <leeming@lyx.org>
5519
5520         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5521         files are compiled in alphabetical order again.
5522
5523         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5524
5525 2003-05-19  Angus Leeming  <leeming@lyx.org>
5526
5527         * gettext.[Ch]: remove "char const * _(char const *)".
5528
5529 2003-05-19  André Pönitz  <poenitz@gmx.net>
5530
5531         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5532
5533         * Makefile.am:
5534         * BufferView.C:
5535         * DepTable.h:
5536         * LaTeXFeatures.C:
5537         * buffer.C:
5538         * lyxfont.C:
5539         * lyxlex.h:
5540         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5541
5542 2003-05-19  André Pönitz  <poenitz@gmx.net>
5543
5544         * buffer.C:
5545         * lyxlayout.[Ch]:
5546         * lyxtextclass.[Ch]:
5547         * paragraph.C:
5548         * paragraph_funcs.[Ch]:
5549         * text2.C:
5550         * text3.C: more insetenv work
5551
5552 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5553
5554         * ParagraphParameters.C (params2string): small bug fixed
5555
5556 2003-05-16  André Pönitz  <poenitz@gmx.net>
5557
5558         * debug.C:
5559         * bufferview_funcs.C: patch from Kornel Benko to prevent
5560           crash when _(...) is called twice in a statement
5561
5562 2003-05-16  André Pönitz  <poenitz@gmx.net>
5563
5564         * BufferView.C:
5565         * lyxfunc.C:
5566         * text.C:
5567         * text2.C:
5568         * text3.C:
5569         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5570
5571 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5572
5573         * lyx_main.C (init): remove spurious static_cast
5574
5575 2003-05-14  André Pönitz  <poenitz@gmx.net>
5576
5577         * BufferView.C: fix format string
5578
5579 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5580
5581         * BufferView.[Ch] (insertErrors): removed
5582         * BufferView.[Ch] (showErrorList): added
5583         * buffer.C (runChkTeX):
5584         * converter.C (scanLog): call showErrorList instead of inserterrors
5585
5586 2003-05-13  André Pönitz  <poenitz@gmx.net>
5587
5588         * BufferView_pimpl.C:
5589         * buffer.C:
5590         * bufferview_func.C:
5591         * MenuBackend.C:
5592         * lyxfunc.C:
5593         * lyxrc.C:
5594         * tex-accent.C:
5595         * text3.C:
5596         * toc.C:
5597         * tabular_funcs.h: tostr() from its own header
5598
5599         * ParagraphParameters.C:
5600         * ToolbarBackend.C:
5601         * bufferparams.C:
5602         * format.C:
5603         * lyxlex_pimpl.C:
5604         * text3.C: STRCONV()
5605
5606 2003-05-12  André Pönitz  <poenitz@gmx.net>
5607
5608         * BufferView.C:
5609         * BufferView_pimpl.C:
5610         * CutAndPaste.C:
5611         * LaTeX.C:
5612         * LaTeXFeatures.C:
5613         * ParagraphParameters.C:
5614         * buffer.C:
5615         * bufferlist.C:
5616         * bufferparams.C:
5617         * bufferview_funcs.C:
5618         * converter.C:
5619         * counters.C:
5620         * debug.C:
5621         * exporter.C:
5622         * format.C:
5623         * importer.C:
5624         * lyx_cb.C:
5625         * lyx_main.C:
5626         * lyxfont.C:
5627         * lyxfunc.C:
5628         * lyxvc.C:
5629         * paragraph.C:
5630         * paragraph_funcs.C:
5631         * tabular.C:
5632         * tabular_funcs.C:
5633         * text2.C:
5634         * text3.C:  boost::format -> bformat  all over the place
5635
5636
5637 2003-05-09  André Pönitz  <poenitz@gmx.net>
5638
5639         * LColor.[Ch]: Pimpl the #include <map> away
5640
5641 2003-05-09  John Levon  <levon@movementarian.org>
5642
5643         * bufferlist.C: never remove emergency saves
5644
5645 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5646
5647         * Makefile.am: better lib building
5648
5649 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5652         instead.
5653         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5654         (simpleTeXSpecialChars): adjust
5655         (simpleTeXSpecialChars): adjust
5656         * paragraph.C (simpleTeXOnePar): adjust
5657         * buffer.C (makeLaTeXFile): adjust
5658
5659         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5660
5661         * text2.C (changeDepth): parlist cleanup
5662         (getColumnNearX): ditto
5663
5664         * rowpainter.C (getLabelFont): parlist cleanup
5665
5666         * bufferlist.C (newFile): parlist cleanup
5667
5668         * CutAndPaste.C (eraseSelection): parlist cleanup
5669
5670         * BufferView_pimpl.C (trackChanges): parlist cleanup
5671         (dispatch): ditto
5672
5673         * BufferView.C (lockInset): parlist cleanup.
5674         (ChangeInsets): ditto
5675
5676 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * CutAndPaste.h: Update file header.
5679
5680         * CutAndPaste.C: Update file header.
5681         Store the parts cut out of the Document in a limited_stack.
5682         (copySelection): adjust
5683         (pasteSelection): new function, takes the index in the limited stack.
5684         (nrOfParagraphs): adjust
5685         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5686         simplify error inset insertion.
5687         (checkPastePossible): adjust
5688
5689 2003-05-06  John Levon  <levon@movementarian.org>
5690
5691         * text2.C: don't cast wrap inset to float
5692
5693 2003-05-05  André Pönitz  <poenitz@gmx.net>
5694
5695         * iterator.C:
5696         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5697
5698         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5699           few naked Paragraph *.
5700
5701 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5702
5703         * bufferparams.C: Output warning if a document with missing
5704         TeX document class is loaded
5705         * exporter.C: Disable TeX exports if the document class is missing
5706         * lyxtextclass.C:
5707         * lyxtextclass.h:
5708         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5709         isTeXClassAvailable()
5710
5711 2003-05-03  John Levon  <levon@movementarian.org>
5712
5713         * BufferView.h:
5714         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5715         explicit cursor show/hide
5716
5717         * BufferView_pimpl.h:
5718         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5719         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5720
5721         * lyxfunc.C: hide cursor before dispatching.
5722
5723         * lyx_cb.C:
5724         * lyxfind.C:
5725         * text.C:
5726         * text3.C: remove explicit cursor hides
5727
5728 2003-05-02  André Pönitz  <poenitz@gmx.net>
5729
5730         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5731
5732         * undo_funcs.C:
5733         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5734           linked lists
5735
5736         * text2.C: tiny whitespace
5737
5738 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * undo_funcs.C: almost only ws changes.
5741
5742         * ParagraphList.C (splice): just return if pl is empty.
5743
5744 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * ParagraphList.C (splice): new function.
5747
5748         * CutAndPaste.C (pasteSelection): use it
5749
5750 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * CutAndPaste.C (pasteSelection): remove the last next and
5753         previous from this file.
5754
5755 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * CutAndPaste.C (pasteSelection): more clean up, user proper
5758         ParagraphList functions for pasteing.
5759
5760         * ParagraphList.C (insert): new function, three arg insert
5761
5762 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * ParagraphList.C (insert): new function, three arg insert
5765
5766         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5767         not on paragraphs.
5768
5769 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5770
5771         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5772
5773 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5776
5777 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5780         (copySelection): clean up a bit.
5781         (pasteSelection): use make_pair
5782
5783         * ParagraphList.C (ParagraphList): implement copy constructor
5784         (operator=): implement, base on copy constructor.
5785         (assign): new func
5786
5787         * paragraph.C (erase): return a bool
5788
5789         * paragraph_pimpl.C (erasePos): remove function, move contents...
5790         (erase): ... here. Return a bool.
5791         (erase): call erase instead of erasePos.
5792
5793 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5794
5795         * ParagraphList.h: define PitPosPair
5796         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5797         ParagraphList, fix a bug on pasting multiple pars
5798         * text2.C: change interface to C&P
5799
5800 2003-04-30  André Pönitz  <poenitz@gmx.net>
5801
5802         * undo_func.C: revert part of yesterday's patch 2
5803
5804 2003-04-30  John Levon  <levon@movementarian.org>
5805
5806         * LColor.C: s/tabular/table/
5807
5808 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * text3.C (dispatch): do not convert iterator -> pointer
5811         * undo_funcs.C (setCursorParUndo): ditto
5812         * text_funcs.C (transposeChars): ditto
5813
5814         * text2.C (setLayout): ws changes only
5815
5816         * text.C (breakParagraph): do not convert iterator -> pointer
5817         (insertChar): ditto
5818         (acceptChange): ditto
5819         (rejectChange): ditto
5820         (changeCase): ditto
5821         (Delete): ditto
5822         (backspace): ditto
5823
5824         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5825         pointer
5826
5827 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5828
5829         * text3.C (gotoInset): YABG (yet another bad getChar)
5830
5831 2003-04-29  André Pönitz  <poenitz@gmx.net>
5832
5833         * paragraph.h: make operator= private unimplemented as long as
5834           it is unusable
5835
5836         * ParagraphList.C: whitespace
5837
5838         * paragraph.[Ch]:
5839         * paragraph_pimpl.[Ch]:
5840         * paragraph_funcs.C:
5841         * CutAndPaste.C:
5842         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5843
5844         * text2.C:
5845           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5846
5847 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5848
5849         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5850         * paragraph.[Ch] (erase):
5851         * paragraph_pimpl.[Ch] (erase): change return type and value
5852         * text2.C (cutSelection): some rework
5853
5854 2003-04-28  John Levon  <levon@movementarian.org>
5855
5856         * bufferlist.C: changes for unsaved changes dialog
5857
5858 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * bufferlist.C (newFile): set language (messages_) for new
5861         documents also.
5862
5863         * buffer.C (readFile): ws changes only.
5864
5865 2003-04-28  André Pönitz  <poenitz@gmx.net>
5866
5867         * undo_funcs.C:
5868         * lyxfunc.C:
5869         * buffer.[Ch]:
5870         * BufferView_pimpl.C:
5871         * BufferView.C: getParFromID related ParagraphList::iterator changes
5872
5873 2003-04-28  André Pönitz  <poenitz@gmx.net>
5874
5875         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5876           Changes
5877
5878 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * messages.C: remove one more localedir class variable.
5881
5882 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * messages.C (getLocaleDir): singleton generation function
5885         (Pimpl): use it.
5886         (Messages): add a default constructor.
5887
5888         * main.C (main): do not setup localedir here, do not call
5889         gettext_init.
5890
5891         * gettext.C (_): use it.
5892         (gettext_init): delete funciton
5893
5894 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * gettext.C (getLyXMessages): new singleton generating function.
5897
5898         * buffer.C (updateDocLang): adjust
5899
5900         * Makefile.am (messages.o): add target
5901         (main.o): remove target
5902
5903 2003-04-27  John Levon  <levon@movementarian.org>
5904
5905         * bufferlist.C:
5906         * lyx_cb.C:
5907         * lyxfunc.C:
5908         * lyxvc.C: specify cancel button in Alert::prompt
5909
5910 2003-04-26  John Levon  <levon@movementarian.org>
5911
5912         * text3.C:
5913         * lyxfunc.C:
5914         * lfuns.h:
5915         * LyXAction.C: add LFUN_INSET_SETTINGS
5916
5917         * lyxfunc.C: don't enable tabular-feature when there's
5918         just any locking inset
5919
5920 2003-04-26  John Levon  <levon@movementarian.org>
5921
5922         * bufferlist.C: re-add Cancel to buffer close question
5923
5924         * lyxfunc.C: fix import UI a bit
5925
5926 2003-04-25  John Levon  <levon@movementarian.org>
5927
5928         * gettext.C: remove the broken asserts for now
5929
5930 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * messages.C: make case where setlocale cannot comply work better.
5933
5934         * buffer.C (updateDocLang): new function
5935         (changeLanguage): use it
5936         (readFile): use it
5937
5938         * text2.C (setCounter): use B_ a bit.
5939
5940         * lyxlayout.C (Read): be sure to trim the label strings.
5941
5942         * messages.C (Messages): fix typo in comment
5943
5944         * buffer.C (readFile): set message_ after file is loaded.
5945         (makeDocBookFile): remove double return
5946         (changeLanguage): reset message_ upon language change.
5947         (B_): new func, use this to get translated buffer strings.
5948
5949         * main.C: add myself and Jean Marc as authors.
5950
5951 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * messages.[hC]: pimplify Messages, and three different pimpls to be
5954         used in different circumstances.
5955
5956         * gettext.[Ch]: change for use with new message code.
5957
5958 2003-04-24 André Pönitz <poenitz@gmx.net>
5959
5960         * factory.C: support for eqref
5961
5962 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * messages.[Ch]: add missing char
5965
5966         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5967
5968         * messages.[Ch]: New files
5969
5970 2003-04-18  John Levon  <levon@movementarian.org>
5971
5972         * BufferView.h:
5973         * BufferView.C:
5974         * BufferView_pimpl.C:
5975         * lfuns.h:
5976         * LyXAction.C:
5977         * lyxtext.h:
5978         * text2.C: remove layout-copy/paste (bug 778)
5979
5980 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5983
5984 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5987         if they succeed. Act accordingly.
5988
5989 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5990
5991         * text2.C (setCharFont): adjust
5992         (setCounter): adjust
5993         (insertStringAsLines): adjust
5994
5995         * text.C (leftMargin): adjust
5996         (setHeightOfRow): adjust
5997
5998         * rowpainter.C (paintFirst): adjust
5999         (paintLast): adjust
6000
6001         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6002         (outerHook): ditto
6003         (isFirstInSequence): ditto
6004         (getEndLabel): ditto
6005         (outerFont): adjust
6006
6007         * paragraph.C (getParLanguage): comment out some hard stuff.
6008
6009         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6010         (sgmlError): ditto
6011         (simpleDocBookOnePar): ditto
6012         (makeDocBookFile): use ParagraphList::iterator
6013
6014         * CutAndPaste.C (pasteSelection): adjust
6015
6016 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * text2.C (getFont): adjust
6019         (getLayoutFont): adjust
6020         (getLabelFont): adjust
6021
6022         * paragraph_funcs.C (TeXOnePar): adjust
6023
6024         * buffer.C (simpleLinuxDocOnePar): adjust
6025         (simpleDocBookOnePar): adjust
6026
6027         * CutAndPaste.C (pasteSelection): adjust
6028
6029         * BufferView.C (getEncoding): adjust
6030
6031         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6032
6033 2003-04-16  John Levon  <levon@movementarian.org>
6034
6035         * lyxfind.C: use parlist stuff for search/changes
6036
6037 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6040
6041         * text2.C (deleteEmptyParagraphMechanism): adjust
6042
6043         * text2.[Ch] (ownerParagraph): delete func (both of them
6044
6045 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6048
6049 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6050
6051         * ParagraphList.C: prepare for NO_NEXT
6052
6053 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * text2.C (getFont): adjust
6056         (getLayoutFont): adjust
6057         (getLabelFont): adjust
6058
6059         * paragraph.C (getFont): adjust
6060         (getLabelFont): adjust
6061         (getLayoutFont): adjust
6062
6063         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6064
6065 2003-04-15  John Levon  <levon@movementarian.org>
6066
6067         From Angus Leeming
6068
6069         * lyx_main.C: handle Include in .ui files
6070
6071 2003-04-15  John Levon  <levon@movementarian.org>
6072
6073         * MenuBackend.C: make the doc files length shorter
6074
6075         * ToolbarBackend.h:
6076         * ToolbarBackend.C: handle toolbar placement flags,
6077         Minibuffer
6078
6079 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6082         adjust
6083
6084         * paragraph_funcs.C (TeXOnePar): adjust
6085
6086         * paragraph.C (getLabelFont): add outerfont arg, adjust
6087         (getLayoutFont): ditto
6088         (simpleTeXOnePar): adjust
6089
6090         * paragraph_pimpl.C (realizeFont): delete func
6091
6092 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6093
6094         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6095         row argument, constify cur argument.
6096
6097 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * text2.C (getFont): adjust
6100         (getLayoutFont): adjust
6101         (getLabelFont): adjust
6102
6103         * paragraph_funcs.C (TeXOnePar): adjust
6104         (outerFont): new func...
6105         (realizeFont): ...moved out from here, changed this to facilitate
6106         transition
6107
6108         * paragraph.C (getFont): take outerfont as arg, adjust
6109         (simpleTeXOnePar): add outerfont arg, adjust
6110
6111         * buffer.C (simpleLinuxDocOnePar): adjust
6112         (simpleDocBookOnePar): adjust
6113
6114         * CutAndPaste.C (pasteSelection): adjust
6115
6116         * BufferView.C (getEncoding): adjust
6117
6118 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * text2.C (setCharFont): adjust
6121         (setCounter): adjust
6122
6123         * text.C (leftMargin): adjust
6124         (setHeightOfRow): adjust
6125
6126         * rowpainter.C (paintFirst): adjust
6127         (paintLast): adjust
6128
6129         * paragraph_pimpl.C (realizeFont): adjust
6130
6131         * paragraph.C (isFirstInSequence): move from here...
6132         * paragraph_funcs.C (isFirstInSequence): ...to here
6133
6134         * paragraph.C (outerHook): move from here...
6135         * paragraph_funcs.C (outerHook): ...to here
6136
6137         * paragraph.C (depthHook): move from here...
6138         * paragraph_funcs.C (depthHook): ...to here
6139
6140         * paragraph.C (getEndLabel): move from here...
6141         * paragraph_funcs.C (getEndLabel): ...to here
6142
6143         * text2.C (realizeFont): move from here...
6144         * paragraph_funcs.C (realizeFont): ...to here
6145
6146 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6147
6148         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6149
6150 2003-04-14  Angus Leeming  <leeming@lyx.org>
6151
6152         * LColor.[Ch]: scrap LColor mathcursor.
6153
6154 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * lyxlex.[Ch] (text): delete function
6157         * trans.C (Load): adjust
6158         * paragraph_funcs.C (readParToken): adjust
6159
6160 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6163         vector<char> instead of a char[].
6164
6165         * lyxlex_pimpl.C (getString): adjust
6166         (next): adjust
6167         (lex): use getString
6168         (eatLine): adjust
6169         (nextToken): adjust
6170
6171         * lyxlex.C (text): use pimpl_->getString()
6172         (getBool): ditto
6173         (findToken): ditto
6174
6175 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6178         (makeFontEntriesLayoutSpecific): temp var for par.size()
6179         (setLayout): temp var for ownerParagraphs().end()
6180         (fullRebreak): temp var for rows().end()
6181         (selectionAsString): temp var for boost::next(startpit), realize
6182         that the while really is a regular for loop.
6183         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6184         setCursor in one place.
6185         (setParagraph): temp vr for ownerParagraphs().end()
6186         (updateCounters): make the while loop a for loop
6187         (cutSelection): temp var for ownerParagraphs().end()
6188         (updateInset): make the do {} while() a regular for loop
6189         (getCursorX): use temp vars
6190         (setCurrentFont): use temp vars
6191         (getColumnNearX): use temp vars
6192
6193 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * text.C (transformChar): use temp var for getChar
6196         (computeBidiTables): use temp var for row->par()
6197         (fill): move temp vars for row->par() and pit->layout() earlier in
6198         the function.
6199         (labelFill): use temp var for row->par()
6200         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6201         asc and desc, realize that pit never changes and that firstpit is
6202         just a duplicate and not needed. Exchange rit->par() with pit in a
6203         lot of places.
6204         (breakAgain): use a temp var for boost::next(rit)
6205         (breakAgainOneRow): ditto
6206         (breakParagraph): use a temp var for rows().begin()
6207         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6208         (cursorRightOneWord): use temp var for cursor.par() and
6209         cursor.pos(), remove usage of tmpcursor.
6210         (cursorLeftOneWord): use temp var for cursor.par() and
6211         cursor.pos() only set cur at end of function.
6212
6213 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6214
6215         * text.C, text2.C: exchange all usage of Paragraph::next with
6216         boost::next(ParagraphList::iterator)
6217
6218         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6219
6220         * text2.C (cursorTop): simplify implementation
6221         (cursorBottom): ditto
6222         (setParagraph): use ParagraphList::iterator
6223         (setCurrentFont): adjust
6224         (getColumnNearX): adjust
6225         (cursorRight): adjust
6226         (cursorLeft): remove usage of Paragraph::previous
6227         (cursorUpParagraph): ditto
6228         (deleteEmptyParagraphMechanism): slight cleanup
6229
6230         * text.C (isBoundary): take a Paragraph const & instead of a
6231         pointer as arg.
6232         (addressBreakPoint): ditto
6233         (leftMargin): remove usage of Paragraph::previous.
6234         (setHeightOfRow): ditto
6235         (cursorLeftOneWord): ditto
6236         (selectNextWordToSpellcheck): ditto
6237         (Delete): ditto
6238         (backspace): ditto
6239         (breakParagraph): remove one usage of Paragraph::next
6240         (redoParagraph): ditto
6241         (acceptChange): ditto
6242         (insertChar): adjust
6243         (rowBreakPoint): adjust
6244
6245         * bufferview_funcs.C (toggleAndShow): adjust
6246
6247 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6248
6249         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6250         methods to access it.
6251         * lyxtext.h:
6252         * text.C: Added updateRowPositions to compute all row positions.
6253         Make top_y and getRowNearY() to use the cached y position
6254
6255 2003-04-11  John Levon  <levon@movementarian.org>
6256
6257         * text.C (rowBreakPoint): reintroduce the labelEnd
6258         checks, code copied from the row fill stuff. Deep voodoo.
6259
6260         * text.C (fill): add a comment and debugging for the
6261         next poor soul.
6262
6263 2003-04-11  John Levon  <levon@movementarian.org>
6264
6265         * text.C: make sure fullrow insets get wrapped to the next line,
6266         even when they're in a manual label
6267
6268 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * text2.C (insertParagraph): make it take ParagraphList::iterator
6271         as arg.
6272         (setLayout): make it return ParagraphList::iterator
6273         (redoParagraphs): ditto
6274         (setCounter): ditto
6275         (checkParagraph): ditto
6276
6277         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6278
6279         * text2.C: adjust several funcs.
6280         (realizeFont): take a ParagraphList::iterator as arg.
6281         (getLayoutFont): ditto
6282         (getLabelFont): ditto
6283         (setCharFont): ditto
6284
6285         * text.C: adjust several funcs.
6286
6287 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6288
6289         * text.C (selectNextWordToSpellcheck): don't accidentally
6290         skip insets
6291
6292 2003-04-10  John Levon  <levon@movementarian.org>
6293
6294         * ToolbarBackend.C (getIcon): special handling for
6295         LFUN_MATH_DELIM
6296
6297 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6298
6299         * text2.C (cursorRight): a getChar assert fixed
6300
6301 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * text2.C (getFont): change to take a ParagraphList::iterator
6304         instead of Paragraph*
6305         Adjust several functions.
6306
6307         * text.C (transformChar): change to take a ParagraphList::iterator
6308         instead of Paragraph*
6309         (singleWidth): ditto
6310         Adjust several functions.
6311
6312         * rowpainter.C: adjust several functions
6313         * rowpainter.h:store a ParagraphList::iterator and not a
6314         Paragraph&.
6315
6316
6317 2003-04-09  John Levon  <levon@movementarian.org>
6318
6319         * lyxfunc.C:
6320         * lfuns.h:
6321         * LyXAction.h:
6322         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6323         and the "help" bits as well
6324
6325 2003-04-09  John Levon  <levon@movementarian.org>
6326
6327         * ToolbarBackend.h:
6328         * ToolbarBackend.C: allow multiple toolbars
6329
6330 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * undo_funcs.C (setCursorParUndo): adjust
6333
6334         * text_funcs.C (transposeChars): adjust
6335
6336         * text3.C (gotoNextInset): adjust
6337         (dispatch): adjust
6338
6339         * text2.C (setLayout): adjust
6340         (changeDepth): adjust
6341         (setFont): adjust
6342         (redoParagraphs): adjust
6343         (selectionAsString): adjust
6344         (setParagraph): adjust
6345         (insertInset): adjust
6346         (cutSelection): adjust
6347         (copySelection): adjust
6348         (pasteSelection): adjust
6349         (insertStringAsLines): adjust
6350         (updateInset): adjust
6351         (setCursor): change to take a ParagraphList::iterator parameter
6352         (setCursorIntern): change to take a ParagraphList::iterator parameter
6353         (setCurrentFont): adjust
6354         (cursorLeft): adjust
6355         (cursorRight): adjust
6356         (deleteEmptyParagraphMechanism): adjust
6357
6358         * text.C (breakParagraph): adjust
6359         (insertChar): adjust
6360         (acceptChange): adjust
6361         (rejectChange): adjust
6362         (selectNextWordToSpellcheck): adjust
6363         (changeCase): adjust
6364         (Delete): adjust
6365         (backspace): adjust
6366
6367         * lyxfind.C (SearchForward): adjust
6368         (SearchBackward): adjust
6369         (nextChange): adjust
6370
6371         * lyxcursor.C (par): adjust
6372
6373         * lyxcursor.h: store a ParagraphList::iterator instead of a
6374         Paragraph*
6375
6376         * lyx_cb.C (getPossibleLabel): adjust
6377
6378         * bufferview_funcs.C (toggleAndShow): adjust
6379
6380         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6381         (dispatch): adjust
6382
6383         * BufferView.C (removeAutoInsets): adjust
6384         (lockedInsetStoreUndo): adjust
6385
6386 2003-04-09  John Levon  <levon@movementarian.org>
6387
6388         * ToolbarBackend.C: try icon without argument
6389         if with argument fails
6390
6391 2003-04-08  John Levon  <levon@movementarian.org>
6392
6393         * ToolbarBackend.h:
6394         * ToolbarBackend.C: add getIcon(), handle tooltip,
6395         and change from "Icon" to "Item".
6396
6397 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6398
6399         * BufferView.C (lockInset): another bad getchar crunched
6400
6401 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6402
6403         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6404         again)
6405
6406 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6407
6408         * lyxfind.C (searchForward, searchBackwards): bug 782
6409
6410 2003-04-07  John Levon  <levon@movementarian.org>
6411
6412         * paragraph.C: remove dead comment
6413
6414         * text.C: remove troublesome depth-fiddling code
6415         in leftMargin() and rightMargin() (bug 1017)
6416
6417         * text.C: fix breaking of rows in nested lists
6418         (bug 1004)
6419
6420         * text2.C (updateCounters): fix up depth values
6421         (bug 1013)
6422
6423 2003-04-07  John Levon  <levon@movementarian.org>
6424
6425         * BufferView_pimpl.C: clear message when doc finishes resizing,
6426         and after a mouse event
6427
6428         * lyxfunc.C: clear message after exiting inset
6429
6430 2003-04-07  John Levon  <levon@movementarian.org>
6431
6432         * bufferview_funcs.C: show math status not outside
6433         status in the statusbar
6434
6435 2003-04-07  John Levon  <levon@movementarian.org>
6436
6437         * lyxfunc.C: note status changed after a depth change
6438
6439 2003-04-04  Angus Leeming  <leeming@lyx.org>
6440
6441         * LaTeX.h: move AuxInfo operator==, != out of line.
6442         Remove LaTeX virtual destructor; nothing derives from it.
6443         Move operator()() out of public area and rename it startscript().
6444         Change protected for private.
6445
6446 2003-04-04  Angus Leeming  <leeming@lyx.org>
6447
6448         * lyxfunc.C:
6449         * text2.C: remove unneeded #includes.
6450
6451 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6452
6453         * text2.C (dEPM): fix the heigth of the next row
6454
6455 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6456
6457         * text.C: squashed an invalid getChar requester + some ws changes
6458
6459 2003-04-03  John Levon  <levon@movementarian.org>
6460
6461         * bufferview_funcs.h:
6462         * bufferview_funcs.C:
6463         * lyxfunc.C:
6464         * lyxtext.h:
6465         * text2.C: make getStatus work for the env depth lfuns
6466
6467 2003-04-03  John Levon  <levon@movementarian.org>
6468
6469         * bufferview_funcs.h:
6470         * bufferview_funcs.C:
6471         * lyxfunc.C:
6472         * lyxtext.h:
6473         * text2.C: parlistize decDepth(), by merging it with incDepth()
6474
6475 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * lyxrow.h: store a ParagraphList::iterator instead of a
6478         Paragraph* and adjust other class functions to suit.
6479
6480         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6481         above.
6482
6483 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6484
6485         * text2.C (setCursor): do not anchor to cursor row for the time being
6486
6487 2003-04-02  John Levon  <levon@movementarian.org>
6488
6489         * LyXAction.C:
6490         * lfuns.h:
6491         * lyx_main.C:
6492         * lyxtext.h:
6493         * text.C:
6494         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6495
6496 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * paragraph.h: make ParagraphList and ParagraphList::iterator
6499         friends of Paragraph.
6500
6501         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6502
6503         * ParagraphList.C: Use the private next_ and previous_ from
6504         Paragraph.
6505
6506 2003-04-01  John Levon  <levon@movementarian.org>
6507
6508         * ToolbarBackend.h:
6509         * ToolbarBackend.C:
6510         * Makefile.am: rename, remove defaults gunk
6511
6512         * MenuBackend.h:
6513         * MenuBackend.C: remove defaults gunk
6514
6515         * Languages.h:
6516         * Languages.C: remove defaults gunk
6517
6518         * lyx_main.h:
6519         * lyx_main.C: error out if files couldn't be found.
6520
6521 2003-04-02  John Levon  <levon@movementarian.org>
6522
6523         * text2.C: make incDepth() use parlist
6524
6525 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * undo_funcs.C (firstUndoParagraph): adjust
6528
6529         * text3.C (gotoInset): adjust
6530         (dispatch): adjust, and rewrite loop.
6531
6532         * text2.C (init): adjust, and rewrite loop.
6533         (redoParagraphs): adjust
6534         (updateInset): adjust, and rewrite loop.
6535         (deleteEmptyParagraphMechanism): adjust
6536
6537         * tabular.C (LyXTabular): adjust
6538         (SetMultiColumn): adjust
6539         (TeXRow): adjust
6540
6541         * lyxtext.[Ch] (ownerParagraph): delete function
6542         (ownerParagraphs): new function returns a ParagraphList.
6543
6544         * BufferView.C (removeAutoInsets): adjust
6545         (insertErrors): adjust
6546         (setCursorFromRow): adjust
6547
6548 2003-04-01  Angus Leeming  <leeming@lyx.org>
6549
6550         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6551         in the frontends.
6552
6553 2003-04-02  John Levon  <levon@movementarian.org>
6554
6555         * lyxtext.h:
6556         * text.C:
6557         * Makefile.am:
6558         * text_funcs.h:
6559         * text_funcs.C: make transposeChars a free function
6560
6561         * lyxrow_funcs.C: remove wrong comment
6562
6563 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * lyxtext.h: adjust
6566         * rowpainter.C: adjust
6567         * text.C: adjust
6568         * text2.C: adjust
6569         * text3.C: adjust
6570
6571         * lyxrow_funcs. [Ch]: new files
6572
6573         * lyxrow.[Ch]: remove next and previous pointers
6574         (next,previous): remove accessor functions
6575         (isParEnd): move to lyxrow_funcs
6576         (lastPos): move to lyxrow_funcs
6577         (nextRowIsAllInset): move to lyxrow_funcs
6578         (lastPrintablePos): move to lyxrow_funcs
6579         (numberOfSeparators): move to lyxrow_funcs
6580         (numberOfHfills): move to lyxrow_funcs
6581         (numberOfLabelHfills): move to lyxrow_funcs
6582         (hfillExpansion): move to lyxrow_funcs
6583
6584         * lyxfunc.C: adjust
6585
6586         * bufferview_funcs.C (toggleAndShow): adjust
6587
6588         * RowList.h: Remove class RowList from file leave just a
6589         std::list<Row>.
6590
6591         * RowList.C: delete file
6592
6593         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6594         and lyxrow_funcs.h
6595
6596 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * text3.C (cursorPrevious): adjust
6599         (cursorNext): adjust
6600         (dispatch): adjust
6601
6602         * text2.C (redoHeightOfParagraph): adjust
6603         (redoDrawingOfParagraph): adjust
6604         (setCursor): adjust
6605
6606         * text.C (breakParagraph): adjust
6607         (insertChar): adjust
6608         (backspace): adjust
6609
6610         * rowpainter.C (RowPainter): adjust
6611         (leftMargin): simplify and adjust
6612         (most rowpainter functions): adjust.
6613
6614         * rowpainter.h: store the row as RowList::iterator not as Row*
6615
6616         * lyxcursor.C (row): taka RowList::iterator as arg
6617         (irow): ditto
6618
6619         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6620         of Row*.
6621
6622 2003-04-01  Angus Leeming  <leeming@lyx.org>
6623
6624         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6625         stuff like bool Bool.
6626
6627 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6628
6629         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6630         rewrite a loop
6631
6632 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6635         RowList::iterator.
6636
6637         * lyxtext.h (rows): drop one version and leve a const variant that
6638         returns a RowList::iterator.
6639
6640 2003-03-31  Angus Leeming  <leeming@lyx.org>
6641
6642         * text.C (fill): ensure that the signature is the same as that in the
6643         header file.
6644
6645 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * text2.C (redoParagraphs): adjust
6648         (updateCounters): adjust
6649         (checkParagraph): adjust
6650         (getColumnNearX): adjust and reformat a bit.
6651
6652         * text.C (top_y): adjust
6653         (workWidth): adjust
6654         (leftMargin): adjust
6655         (prepareToPrint): adjust
6656         (getRow): adjust
6657         (getRowNearY): adjust
6658
6659         * lyxtext.h: make rowlist_ mutable.
6660
6661         * RowList.h: add const_iterator
6662         * RowList.C: adjust for RowList::const_iterator.
6663
6664         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6665         adjust.
6666
6667 2003-03-31  John Levon  <levon@movementarian.org>
6668
6669         * lyxrc.h:
6670         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6671
6672         * lyx_main.C: set default fonts from using lyx_gui funcs
6673
6674         * exporter.C: pdf_mode moved from lyxrc
6675
6676         * lyx_cb.C:
6677         * lyxfunc.C: changes from above
6678
6679 2003-03-31  John Levon  <levon@movementarian.org>
6680
6681         * lyx_main.C: fix to the last fix
6682
6683 2003-03-31  John Levon  <levon@movementarian.org>
6684
6685         * bufferlist.C: "Load original" -> "Load Original"
6686
6687         * converter.C:
6688         * exporter.C:
6689         * importer.C:
6690         * lyx_main.C:
6691         * format.C: more Alert cleanups
6692
6693 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * text2.C (removeParagraph): make it take a RowList::iterator as
6696         arg, adjust.
6697         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6698         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6699
6700         * text.C (anchor_row): make it take a RowList::iterator as arg,
6701         adjust.
6702         (computeBidiTables): make it take a const reference to Row instead
6703         of Row pointer, adjust.
6704         (leftMargin): make it take a RowList::iterator as arg, adjust.
6705         (rowBreakPoint): adjust
6706         (breakAgainOneRow): make it take a RowList::iterator as arg,
6707         adjust.
6708         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6709
6710         * bufferview_funcs.C (toggleAndShow): adjust
6711
6712 2003-03-30  John Levon  <levon@movementarian.org>
6713
6714         * Makefile.am:
6715         * BoostFormat.h:
6716         * boost-inst.C: moved to support
6717
6718         * several files: changes as a result
6719
6720 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * text2.C (LyXText): adjust.
6723         (init): adjust
6724         (removeRow): make it take a RowList::iterator as arg, adjust.
6725         (fullRebreak): adjust
6726         (deleteEmptyParagraphMechanism): adjust
6727         (clearPaint): adjust
6728         (postPaint): adjust
6729
6730         * text.C (top_y): adjust
6731         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6732         (breakAgain): make it take a RowList::iterator as arg, adjust.
6733         (breakParagraph): adjust
6734         (insertChar): adjust
6735         (backspace): adjust
6736
6737         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6738         need_break_row, and refresh_row.
6739
6740         * text3.C (dispatch): adjust
6741
6742         * text2.C (checkParagraph): adjust
6743         (setCursor): adjust
6744         (setCursorFromCoordinates): adjust
6745
6746         * text.C (top_y): adjust
6747         (workWidth): adjust
6748         (getRow): make it return a RowList::iterator, adjust
6749         (getRowNearY): make it return a RowList::iterator, adjust
6750
6751         * text2.C (init): adjust
6752         (insertRow): remove function
6753         (insertParagraph): adjust
6754         (redoParagraphs): adjust
6755         (fullRebreak): adjust
6756         (updateCounters): adjust
6757
6758         * text.C (top_y): rewrite to use RowList iterators.
6759         (top_y): adjust
6760         (setHeightOfRow): rewrite to sue RowList iterators.
6761         (appendParagraph): adjust
6762         (breakAgain): adjust
6763         (breakAgainOneRow): adjust
6764         (breakParagraph): adjust
6765         (getRow): adjust
6766         (getRowNearY): adjust, and remove commented code.
6767
6768         * lyxtext.h (firstRow): delete function
6769         (lastRow): delete function
6770         (rows): new function (const and non-const versions.)
6771         (insertRow): delete function
6772
6773         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6774
6775 2003-03-29  John Levon  <levon@movementarian.org>
6776
6777         * BufferView_pimpl.C: always update scrollbar top
6778         because pasting text when we're anchored could mean we
6779         miss an update altogether
6780
6781 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * text2.C (init): use rowlist_.end() and not 0.
6784         (insertRow): change to take a RowList::iterator as arg, adjust
6785         for this.
6786         (insertParagraph): change to take a RowList::iterator as arg,
6787         adjust for this.
6788         (redoParagraphs): remove some debug msgs.
6789
6790         * text.C (appendParagraph): change to take a RowList::iterator
6791         arg, adjust for this.
6792         (breakAgain): add an assert
6793         (breakAgainOneRow): ditto
6794
6795 2003-03-29  John Levon  <levon@movementarian.org>
6796
6797         * text2.C: do not clear selection after inc/decDepth
6798         (bug 550)
6799
6800 2003-03-29  John Levon  <levon@movementarian.org>
6801
6802         * BufferView.C:
6803         * buffer.C: fix broken strerrors according to Lars
6804
6805 2003-03-29  John Levon  <levon@movementarian.org>
6806
6807         * converters.C: more Alert cleanups
6808
6809 2003-03-29  John Levon  <levon@movementarian.org>
6810
6811         * bufferview_funcs.C: remove pointless Alert
6812
6813         * buffer.C: fix confusing error message when
6814         a template is chmoded 000
6815
6816 2003-03-29  John Levon  <levon@movementarian.org>
6817
6818         * BufferView.C:
6819         * BufferView.h:
6820         * BufferView_pimpl.C: Alert fixes
6821
6822         * Makefile.am:
6823         * tabular.C:
6824         * tabular-old.C: remove unused table compat reading
6825
6826 2003-03-29  John Levon  <levon@movementarian.org>
6827
6828         * BufferView.C:
6829         * buffer.C:
6830         * lyx_cb.h:
6831         * lyx_cb.C: more Alert cleanups
6832
6833         * lyxfunc.C: don't allow chktex if not latex document
6834
6835 2003-03-29  John Levon  <levon@movementarian.org>
6836
6837         * lyx_cb.C:
6838         * BufferView.C:
6839         * buffer.C: warnings pushed down from support/,
6840         kill err_alert
6841
6842 2003-03-29  John Levon  <levon@movementarian.org>
6843
6844         * lyxfunc.C: safety check for C-r (revert)
6845
6846 2003-03-29  John Levon  <levon@movementarian.org>
6847
6848         * bufferlist.h:
6849         * bufferlist.C: several UI fixes using Alert::prompt.
6850         Fix the pointless looping quit code. Fix stupid revert
6851         behaviour (bug 938)
6852
6853         * lyxvc.h:
6854         * lyxvc.C:
6855         * lyx_cb.C: use Alert::prompt
6856
6857         * lyx_main.C: remove a silly question
6858
6859         * lyxfunc.C: remove a couple of silly questions,
6860         use Alert::prompt
6861
6862 2003-03-28  John Levon  <levon@movementarian.org>
6863
6864         * text2.C: fix bug 974 (End on empty par)
6865
6866 2003-03-28  John Levon  <levon@movementarian.org>
6867
6868         * BufferView_pimpl.C:
6869         * LyXAction.C:
6870         * lfuns.h: remove do-nothing math greek lfuns
6871
6872 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * lyxgluelength.h (isValidGlueLength): add default arg on
6875         parameter 2. Remove default arg from friend in class.
6876
6877         * lyxlength.h (isValidLength): add default arg on parameter 2.
6878         Remove default arg from friend in class.
6879
6880         * text2.C (LyXText): adjust, initialize refresh_row.
6881         (init): adjust
6882         (removeRow): adjust
6883         (insertRow): adjust
6884         (insertParagraph): adjst
6885         (redoParagraphs): adjust
6886         (fullRebreak): adjust
6887         (updateCounters): adjust
6888         (deleteEmptyParagraphMechanism): first attempt at fixing a
6889         crashing bug.
6890
6891         * text.C (top_y): adjust
6892         (setHeightOfRow): adjust
6893         (getRow): adjust
6894         (getRowNearY): adjust
6895
6896         * lyxtext.h: include RowList.h
6897         (~LyXText): not needed anymore, deleted.
6898         (firstRow): modify for RowList
6899         (lastRow): new function
6900         Delete firstrow and lastrow class variables, add a Rowlist
6901         rowlist_ class variable.
6902
6903         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6904         paragraph is empty.
6905
6906         * RowList.C (insert): fix case where it == begin().
6907
6908 2003-03-26  Angus Leeming  <leeming@lyx.org>
6909
6910         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6911         the thesaurus dialog.
6912
6913 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6916
6917         * RowList.[Ch]: new files
6918
6919         * ParagraphList.C (erase): handle the case where it == begin
6920         correctly.
6921
6922 2003-03-25  John Levon  <levon@movementarian.org>
6923
6924         * Makefile.am:
6925         * aspell_local.h:
6926         * aspell.C: add new aspell support
6927
6928         * lyxrc.h:
6929         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6930         have it accessible.
6931
6932 2003-03-25  Angus Leeming  <leeming@lyx.org>
6933
6934         * lfuns.h:
6935         * LyXAction.C (init): new LFUN_INSET_INSERT.
6936
6937         * BufferView_pimpl.C (dispatch): split out part of the
6938         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6939
6940         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6941         LFUN_INSET_APPLY.
6942
6943 2003-03-25  Angus Leeming  <leeming@lyx.org>
6944
6945         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6946
6947 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6948
6949         * text2.C:
6950         * text3.C: remove useless row->height(0)
6951
6952 2003-03-25  John Levon  <levon@movementarian.org>
6953
6954         * lyxtext.h:
6955         * text2.C:
6956         * text3.C: rename the refreshing stuff to better names
6957
6958 2003-03-24  John Levon  <levon@movementarian.org>
6959
6960         * BufferView_pimpl.h:
6961         * BufferView_pimpl.C: update layout choice on a mouse
6962         press/release
6963
6964 2003-03-23  John Levon  <levon@movementarian.org>
6965
6966         * Makefile.am: fix commandtags.h reference
6967
6968 2003-03-22  John Levon  <levon@movementarian.org>
6969
6970         * BufferView_pimpl.C:
6971         * lyxtext.h:
6972         * rowpainter.C:
6973         * rowpainter.h:
6974         * text.C:
6975         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6976
6977 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6978
6979         * lyxtext.h:
6980         * text.C: take the rtl methods out of line
6981
6982 2003-03-21 André Pönitz <poenitz@gmx.net>
6983
6984         * metricsinfo.[Ch]: new files containing structures to be passed around
6985         during the two-phase-drawing...
6986
6987 2003-03-21 André Pönitz <poenitz@gmx.net>
6988
6989         * lyxtextclass.C: read 'environment' tag.
6990
6991 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6992
6993         * text2.C (removeRow): fix bug 964
6994
6995 2003-03-20  John Levon  <levon@movementarian.org>
6996
6997         * rowpainter.C:
6998         * text.C:
6999         * text2.C: paint cleanups. Inset::update() dropped font
7000         parameter
7001
7002 2003-03-19  John Levon  <levon@movementarian.org>
7003
7004         * lyxfunc.C: only fitcursor/markDirty if available()
7005
7006 2003-03-19  John Levon  <levon@movementarian.org>
7007
7008         * commandtags.h: rename to ...
7009
7010         * lfuns.h: ... this, and renumber / cleanup
7011
7012 2003-03-19  John Levon  <levon@movementarian.org>
7013
7014         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7015         fit the cursor after an lfun
7016
7017         * BufferView.h:
7018         * BufferView.C:
7019         * BufferView_pimpl.h:
7020         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7021
7022         * LyXAction.C: layout-character should have ReadOnly
7023
7024         * ParagraphParameters.C:
7025         * buffer.C:
7026         * bufferview_funcs.C:
7027         * lyx_cb.C:
7028         * lyxfind.C:
7029         * lyxtext.h:
7030         * text.C:
7031         * text2.C:
7032         * text3.C:
7033         * undo_funcs.C: changes from above
7034
7035 2003-03-18  John Levon  <levon@movementarian.org>
7036
7037         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7038         remove it from update()
7039
7040         * lyxfunc.C: update layout choice after an lfun
7041
7042         * text3.C: remove extra updateLayoutChoice()s
7043
7044 2003-03-18  John Levon  <levon@movementarian.org>
7045
7046         * text.C: top_y change means full repaint, fix
7047         a drawing bug with cursor movement
7048
7049 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7050
7051         * lyxtext.h:
7052         * text.C:
7053         * text2.C: anchor row on setCursor
7054
7055 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7056
7057         * lyxtext.h: remove almost all mutable keywords
7058         * text.C:
7059         * text2.C:
7060         * text3.C: remove const keywords accordingly
7061
7062 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7063
7064         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7065         anon namespace
7066         (TeXEnvironment): ditto
7067         (TeXOnePar): ditto
7068
7069 2003-03-17  John Levon  <levon@movementarian.org>
7070
7071         * text.C (rowBreakPoint): remove attempt to fix displayed
7072         math insets inside a manual label
7073
7074 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * lyxtext.h: remove BufferView* as first arg from almost all class
7077         functions.
7078         * other files: adjust.
7079
7080 2003-03-17  John Levon  <levon@movementarian.org>
7081
7082         * lyxtext.h:
7083         * undo_funcs.C:
7084         * text2.C: more paint cleanups
7085
7086         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7087
7088         * rowpainter.h:
7089         * rowpainter.C: remove "smart" background painting code
7090
7091 2003-03-16  John Levon  <levon@movementarian.org>
7092
7093         * lyxtext.h:
7094         * text.C:
7095         * text2.C:
7096         * text3.C: add helper functions for setting refresh_row/y
7097
7098 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7099
7100         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7101         newline inset which *can* get inserted in the pass_thru layouts.
7102         This is primarily for literate documents.
7103
7104 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7105
7106         * buffer.C: increment LYX_FORMAT to 223
7107
7108 2003-03-14 André Pönitz <poenitz@gmx.net>
7109
7110         * textclass.h: prepare for environment handling, ws changes
7111         * lyxlayout.C: read latexheader and latexfooter tags
7112
7113 2003-03-14  John Levon  <levon@movementarian.org>
7114
7115         * text2.C: rewrite ::status() a bit
7116
7117 2003-03-13  John Levon  <levon@movementarian.org>
7118
7119         * lyxtext.h: add some docs
7120
7121 2003-03-13  John Levon  <levon@movementarian.org>
7122
7123         * lyxtext.h:
7124         * text.C:
7125         * text2.C:
7126         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7127
7128 2003-03-13  John Levon  <levon@movementarian.org>
7129
7130         * text3.C: fix appendix redrawing
7131
7132 2003-03-13  John Levon  <levon@movementarian.org>
7133
7134         * text.C (setHeightOfRow):
7135         * rowpainter.h:
7136         * rowpainter.C: make appendix mark have the text
7137           "Appendix" so the user knows what it is
7138
7139         * LColor.h:
7140         * LColor.C: s/appendixline/appendix/ from above
7141
7142 2003-03-13  John Levon  <levon@movementarian.org>
7143
7144         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7145
7146         * text.C: fix a getChar(pos) bug properly
7147
7148 2003-03-13  Angus Leeming  <leeming@lyx.org>
7149
7150         * commandtags.h:
7151         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7152         Probably only temporary. Let's see how things pan out.
7153
7154         * BufferView.C (unlockInset):
7155         * BufferView_pimpl.C (fitCursor):
7156         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7157
7158         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7159         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7160
7161         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7162         new functions that convert ParagraphParameters to and from a string.
7163
7164         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7165         BufferView::Pimpl's dispatch.
7166         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7167
7168 2003-03-13 André Pönitz <poenitz@gmx.net>
7169
7170         * lyxfunc.C:
7171         * text3.C:
7172         * factory.C: make it aware of InsetEnv
7173
7174 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7175
7176         * text2.C (setCursor): never ask for one past last
7177         (setCursor): add some debugging messages.
7178
7179         * text.C (singleWidth): never ask for one past last
7180         (singleWidth): ditto
7181         (leftMargin): ditto
7182         (rightMargin): ditto
7183         (rowBreakPoint): ditto
7184         (setHeightOfRow): ditto
7185         (prepareToPrint): ditto
7186
7187         * rowpainter.C (paintBackground): never ask for one past last
7188         (paintText): never ask for one past last
7189
7190         * paragraph_pimpl.C (getChar): make the assert stricter, never
7191         allow the one past last pos to be taken
7192
7193         * paragraph.C (getChar): ws changes only
7194
7195         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7196         (numberOfSeparators): ditto
7197         (numberOfHfills): ditto
7198
7199 2003-03-12  John Levon  <levon@movementarian.org>
7200
7201         * author.h:
7202         * author.C:
7203         * bufferparams.h:
7204         * bufferparams.C:
7205         * paragraph_funcs.C: fix per-buffer authorlists
7206
7207 2003-03-12  John Levon  <levon@movementarian.org>
7208
7209         * text.C: fix newline in right address
7210
7211 2003-03-12  Angus Leeming  <leeming@lyx.org>
7212
7213         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7214         duplicate those in LyXFunc::dispatch.
7215
7216         * commandtags.h:
7217         * LyXAction.C:
7218         * ToolbarDefaults.C:
7219         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7220         Add LFUN_FONTFREE_UPDATE.
7221
7222         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7223         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7224
7225         * bufferview_func.[Ch]: several new functions to facilliate
7226         transfer of data to and from the character dialog.
7227
7228 2003-03-12  John Levon  <levon@movementarian.org>
7229
7230         * buffer.C:
7231         * paragraph.h:
7232         * paragraph.C:
7233         * paragraph_funcs.C:
7234         * paragraph_pimpl.C:
7235         * sgml.C:
7236         * tabular.C:
7237         * text.C:
7238         * text3.C: remove META_NEWLINE in favour of an inset
7239
7240         * rowpainter.h:
7241         * rowpainter.C: remove paintNewline (done by inset)
7242
7243 2003-03-12  John Levon  <levon@movementarian.org>
7244
7245         * paragraph_pimpl.C: complain about bad getChar()s
7246         for a while at least
7247
7248 2003-03-12  John Levon  <levon@movementarian.org>
7249
7250         * buffer.h:
7251         * buffer.C: move paragraph read into a separate function,
7252         a little renaming to reflect that.
7253
7254         * bufferparams.h:
7255         * bufferparams.C: remove the author_ids map, not necessary now
7256
7257         * factory.h:
7258         * factory.C: moved Buffer::readInset to here
7259
7260         * paragraph_funcs.h:
7261         * paragraph_funcs.C: readParagraph free function moved from
7262         buffer.C
7263
7264         * tabular.C: name change
7265
7266 2003-03-12  John Levon  <levon@movementarian.org>
7267
7268         * buffer.C:
7269         * ParagraphParameters.C: move par params input to
7270         a read() method
7271
7272         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7273         behave like a normal read from the stream wrt reading
7274         a line vs. a \\token
7275
7276 2003-03-12  John Levon  <levon@movementarian.org>
7277
7278         * paragraph.C:
7279         * ParagraphParameters.h:
7280         * ParagraphParameters.C: move output code to a
7281         ::write() method
7282
7283 2003-03-12  John Levon  <levon@movementarian.org>
7284
7285         * BufferView.C (insertLyXFile):
7286         * buffer.h:
7287         * buffer.C:
7288         * tabular.C: use a parlist iterator for creating the
7289           document.
7290
7291 2003-03-12  John Levon  <levon@movementarian.org>
7292
7293         * buffer.C: make current_change static local not
7294           static file-scope
7295
7296 2003-03-12  John Levon  <levon@movementarian.org>
7297
7298         * buffer.C: fix insertStringAsLines for change tracking
7299
7300 2003-03-12  John Levon  <levon@movementarian.org>
7301
7302         * BufferView.C:
7303         * tabular.C:
7304         * buffer.h:
7305         * buffer.C:
7306         * bufferparams.h:
7307         * bufferparams.C: move author list into params. Rename some
7308           functions. Move the header reading into a separate token
7309           loop. Move the header token reading into BufferParams.
7310
7311 2003-03-12  John Levon  <levon@movementarian.org>
7312
7313         * changes.C: put debug inside lyxerr.debugging() checks
7314
7315 2003-03-11 André Pönitz <poenitz@gmx.net>
7316
7317         * factory.C: make it aware of InsetHFill
7318
7319 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7320
7321         * buffer.C (latexParagraphs): move function from here...
7322         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7323         args.
7324
7325 2003-03-10  Angus Leeming  <leeming@lyx.org>
7326
7327         * LyXAction.C (init): fix bug in poplating array with multiple entries
7328         with the same LFUN (spotted by JMarc).
7329
7330 2003-03-10  John Levon  <levon@movementarian.org>
7331
7332         * text.C:
7333         * text2.C: move getColumnNearX() near its
7334         only call site
7335
7336 2003-03-10  John Levon  <levon@movementarian.org>
7337
7338         * text.C: fix break before a minipage
7339
7340 2003-03-10  John Levon  <levon@movementarian.org>
7341
7342         * text.C: fix the last commit
7343
7344 2003-03-09  John Levon  <levon@movementarian.org>
7345
7346         * lyxtext.h:
7347         * text.C:
7348         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7349         bug 365 (don't break before insets unless needed). Don't
7350         return a value > last under any circumstances.
7351
7352 2003-03-09  Angus Leeming  <leeming@lyx.org>
7353
7354         * BufferView_pimpl.C (trackChanges, dispatch): call
7355         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7356
7357 2003-03-09  Angus Leeming  <leeming@lyx.org>
7358
7359         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7360         than Dialogs::showAboutlyx().
7361
7362 2003-03-09  Angus Leeming  <leeming@lyx.org>
7363
7364         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7365         than Dialogs::showTabularCreate().
7366
7367 2003-03-09  John Levon  <levon@movementarian.org>
7368
7369         * lyxtext.h:
7370         * text.C:
7371         * text2.C: 3rd arg to nextBreakPoint was always the same.
7372           Use references.
7373
7374 2003-03-08  John Levon  <levon@movementarian.org>
7375
7376         * lyxrow.C:
7377         * paragraph.C:
7378         * paragraph.h:
7379         * rowpainter.C:
7380         * text.C:
7381         * text2.C: Remove the "main" bit from the "main body"
7382           notion.
7383
7384 2003-03-08  John Levon  <levon@movementarian.org>
7385
7386         * text.C (leftMargin): The left margin of an empty
7387         manual label paragraph should not include the label width
7388         string length.
7389
7390         * text.C (prepareToPrint): don't attempt to measure hfills
7391         for empty manual label paragraphs - the answer should be 0
7392
7393 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * CutAndPaste.C: remove commented code and reindent.
7396
7397 2003-03-08  John Levon  <levon@movementarian.org>
7398
7399         * lyxfunc.h:
7400         * lyxfunc.C: move reloadBuffer()
7401
7402         * BufferView.h:
7403         * BufferView.C: to here
7404
7405         * lyxvc.C: add comment
7406
7407         * vc-backend.h:
7408         * vc-backend.C: call bv->reload() to avoid
7409           getStatus() check on MENURELOAD
7410
7411 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7412
7413         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7414         to an old format .dep file.
7415
7416 2003-03-07  Angus Leeming  <leeming@lyx.org>
7417
7418         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7419         when the LFUN_MOUSE_RELEASE should have been handled by
7420         inset->localDispatch.
7421
7422 2003-03-07  Angus Leeming  <leeming@lyx.org>
7423
7424         * BufferView_pimpl.C (dispatch):
7425         * LyXAction.C (init):
7426         * ToolbarDefaults.C (init):
7427         * commandtags.h:
7428         * lyxfunc.C (getStatus):
7429         remove LFUN_INSET_GRAPHICS.
7430
7431         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7432
7433 2003-03-07  Angus Leeming  <leeming@lyx.org>
7434
7435         * commandtags.h:
7436         * LyXAction.C (init):
7437         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7438
7439         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7440
7441         * commandtags.h:
7442         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7443
7444         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7445         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7446
7447 2003-03-07  Angus Leeming  <leeming@lyx.org>
7448
7449         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7450         remove "ert".
7451
7452 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * ParagraphList.C (front): new function
7455         (back): implement
7456
7457 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7458
7459         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7460         and top_row_offset_. removed var first_y.
7461         * text.C (top_y):
7462         * text2.C (LyXText, removeRow):
7463         * text3.C:
7464         * BufferView_pimpl.C:
7465         use these methods instead of using first_y
7466
7467 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * text2.C (pasteSelection): adjust for checkPastePossible
7470
7471         * CutAndPaste.C: remove Paragraph * buf and replace with
7472         ParagraphList paragraphs.
7473         (DeleteBuffer): delete
7474         (cutSelection): change the tc type to textclass_type
7475         (copySelection): change the tc type to textclass_type
7476         (copySelection): adjust for ParagraphList
7477         (pasteSelection): change the tc type to textclass_type
7478         (pasteSelection): adjust for Paragraphlist
7479         (nrOfParagraphs): simplify for ParagraphList
7480         (checkPastePossible): simplify for ParagraphList
7481         (checkPastePossible): remove unused arg
7482
7483         * ParagraphList.C (insert): handle the case where there are no
7484         paragraphs yet.
7485
7486         * CutAndPaste.h: make CutAndPaste a namespace.
7487
7488         * text3.C (dispatch): adjust
7489
7490         * text.C (breakParagraph): add a ParagraphList as arg
7491
7492         * paragraph_funcs.C (breakParagraph): change to take a
7493         BufferParams and a ParagraphList as args.
7494         (breakParagraphConservative): ditto
7495         (mergeParagraph): ditto
7496         (TeXDeeper): add a ParagraphList arg
7497         (TeXEnvironment): ditto
7498         (TeXOnePar): ditto
7499
7500         * buffer.C (readLyXformat2): adjust
7501         (insertStringAsLines): adjust
7502         (latexParagraphs): adjust
7503
7504         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7505         (cutSelection): adjust
7506         (pasteSelection): adjust
7507
7508         * BufferView_pimpl.C (insertInset): adjust
7509
7510 2003-03-05  Angus Leeming  <leeming@lyx.org>
7511
7512         * commandtags.h:
7513         * LyXAction.C (init):
7514         * BufferView_pimpl.C (dispatch):
7515         * lyxfunc.C (getStatus):
7516         remove LFUN_CHILD_INSERT.
7517
7518         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7519
7520 2003-03-05  Angus Leeming  <leeming@lyx.org>
7521
7522         * commandtags.h:
7523         * LyXAction.C (init):
7524         * src/factory.C (createInset):
7525         * lyxfunc.C (getStatus):
7526         * text3.C (dispatch):
7527         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7528
7529         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7530
7531 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * ParagraphList.C (insert): handle insert right before end()
7534         (erase): fix cases where it can be first or last paragraph.
7535
7536 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7539         Paragraph::next and Paragraph::previous
7540         (TeXOnePar): ditto
7541
7542         * text.C (breakParagraph): adjust
7543
7544         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7545         BufferParams& as arg.
7546         (breakParagraph): use ParagraphList::insert
7547         (breakParagraphConservative): take a Buffer* instead of a
7548         BufferParams& as arg.
7549         (breakParagraphConservative): use ParagraphList::insert.
7550
7551         * buffer.C (insertStringAsLines): un-const it
7552         (insertStringAsLines): adjust
7553
7554         * ParagraphList.C (insert): new function
7555
7556         * CutAndPaste.C (pasteSelection): adjust
7557
7558         * text.C (backspace): adjust
7559
7560         * tabular.C (SetMultiColumn): adjust
7561
7562         * CutAndPaste.C (cutSelection): adjust
7563         (pasteSelection): adjust
7564
7565         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7566         Buffer const * as arg
7567
7568         * ParagraphList.C (erase): new function
7569         * paragraph_funcs.C (mergeParagraph): use it
7570         (mergeParagraph): make it take a Buffer* instead of a
7571         BufferParams* as arg
7572
7573         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7574         as arg
7575         (breakParagraphConservative): ditto
7576
7577         * paragraph.h: remove the breakParagraph friend
7578
7579         * paragraph.C (eraseIntern): new function
7580         (setChange): new function
7581
7582         * paragraph_funcs.C (mergeParagraph): make it take a
7583         ParagraphList::iterator instead of a Paragraph *, adjust
7584         accordingly.
7585
7586         * paragraph.h: move an #endif so that the change tracking stuff
7587         also works in the NO_NEXT case.
7588
7589 2003-03-04  Angus Leeming  <leeming@lyx.org>
7590
7591         * commandtags.h:
7592         * LyXAction.C: new LFUN_INSET_MODIFY.
7593
7594         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7595         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7596
7597 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * several files: ws changes only
7600
7601         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7602         (TeXEnvironment): ditto
7603         (TeXDeeper): ditto
7604
7605         * buffer.C (makeLaTeXFile): adjust
7606         (latexParagraphs): make it take ParagraphList::iterator as args
7607
7608 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7609
7610         * buffer.C (latexParagraphs): adjust
7611
7612         * paragraph.C (TeXOnePar): move function...
7613         (optArgInset): move function...
7614         (TeXEnvironment): move function...
7615         * paragraph_pimpl.C (TeXDeeper): move function...
7616         * paragraph_funcs.C: ...here
7617
7618         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7619
7620 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * buffer.C (readInset): remove compability code for old Figure and
7623         InsetInfo insets
7624
7625 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7626
7627         * buffer.C: ws changes
7628         (readInset):
7629
7630         * BufferView_pimpl.C: ditto
7631         * author.C: ditto
7632         * buffer.h: ditto
7633         * bufferlist.h: ditto
7634         * changes.h: ditto
7635         * lyxfunc.C: ditto
7636
7637 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7638
7639         * converter.[Ch]: split into itself +
7640         * graph.[Ch]
7641         * format.[Ch]
7642         * Makefile.am: += graph.[Ch] + format.[Ch]
7643         * MenuBackend.C
7644         * buffer.C
7645         * exporter.C
7646         * importer.C
7647         * lyx_main.C
7648         * lyxfunc.C
7649         * lyxrc.C: added #include "format.h"
7650
7651 2003-02-27  Angus Leeming  <leeming@lyx.org>
7652
7653         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7654           a label.
7655
7656         * factory.C (createInset): add "label" to the factory.
7657
7658         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7659           string and do no more.
7660
7661 2003-02-27  Angus Leeming  <leeming@lyx.org>
7662
7663         * commandtags.h:
7664         * LyXAction.C (init):
7665         * factory.C (createInset):
7666         * BufferView_pimpl.C (dispatch):
7667           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7668
7669         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7670
7671         * lyxfunc.C (dispatch):
7672         * text3.C (dispatch): pass name to params2string.
7673
7674 2003-02-26  Angus Leeming  <leeming@lyx.org>
7675
7676         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7677           blocks together.
7678           Rearrange the ~includes. Strip out the unnecessary ones.
7679
7680         * factory.C (createInset): reformat.
7681           create new insets for the various LFUN_XYZ_APPLY lfuns.
7682
7683 2003-02-26  John Levon  <levon@movementarian.org>
7684
7685         * lyxrow.h:
7686         * lyxrow.C: add isParStart,isParEnd helpers
7687
7688         * paragraph.h: make isInserted/DeletedText take refs
7689
7690         * paragraph_funcs.h:
7691         * paragraph_funcs.C: remove #if 0'd code
7692
7693         * lyxtext.h:
7694         * text3.C:
7695         * text2.C:
7696         * text.C: use lyxrow helpers above.
7697           Move draw and paint routines to RowPainter.
7698           Make several methods use refs not pointers.
7699           Make backgroundColor() const.
7700           Add markChangeInDraw(), isInInset().
7701           Merge changeRegionCase into changeCase.
7702           Make workWidth() shouldn't-happen code into an Assert.
7703
7704         * rowpainter.h:
7705         * rowpainter.C: new class for painting a row.
7706
7707         * vspace.h:
7708         * vspace.C: make inPixels take a ref
7709
7710 2003-02-26  Angus Leeming  <leeming@lyx.org>
7711
7712         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7713         LFUN_REF_APPLY.
7714
7715 2003-02-25  John Levon  <levon@movementarian.org>
7716
7717         * ispell.C: give the forked command a more accurate name
7718
7719 2003-02-22  John Levon  <levon@movementarian.org>
7720
7721         * toc.h:
7722         * toc.C: make TocItem store an id not a Paragraph *
7723           (bug #913)
7724
7725 2003-02-21  Angus Leeming  <leeming@lyx.org>
7726
7727         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7728           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7729           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7730           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7731           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7732           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7733
7734         * BufferView_pimpl.C (dispatch):
7735         * LyXAction.C (init):
7736         * factory.C (createInset):
7737         * lyxfunc.C (getStatus, dispatch):
7738         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7739
7740 2003-02-21  Angus Leeming  <leeming@lyx.org>
7741
7742         * BufferView_pimpl.C (MenuInsertLyXFile):
7743         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7744         * lyxfunc.C (menuNew, open, doImport):
7745           no longer pass a LyXView & to fileDlg.
7746
7747 2003-02-21  Angus Leeming  <leeming@lyx.org>
7748
7749         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7750         * LyXAction.C: change, BIBKEY to BIBITEM.
7751         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7752         Change InsetBibKey to InsetBibitem.
7753         Change BIBKEY_CODE to BIBITEM_CODE.
7754         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7755         * factory.C: replace insetbib.h with insetbibitem.h.
7756         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7757         * paragraph.C: replace insetbib.h with insetbibitem.h.
7758         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7759         Change bibkey() to bibitem().
7760         * text.C: remove insetbib.h.
7761         * text2.C: replace insetbib.h with insetbibitem.h.
7762         change bibkey() to bibitem().
7763         * text3.C: remove insetbib.h.
7764         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7765
7766 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7767
7768         * lyxrc.C (output): enclose user email in quotes (in case there are
7769         several words)
7770
7771 2003-02-18  John Levon  <levon@movementarian.org>
7772
7773         * buffer.h: add std::
7774
7775 2003-02-17  John Levon  <levon@movementarian.org>
7776
7777         * SpellBase.h:
7778         * ispell.h:
7779         * ispell.C:
7780         * pspell.h:
7781         * pspell.C: reworking. Especially in ispell, a large
7782           number of clean ups and bug fixes.
7783
7784         * lyxfunc.C: fix revert to behave sensibly
7785
7786 2003-02-17 André Pönitz <poenitz@gmx.net>
7787
7788         * LyXAction.C:
7789         * commandtags.h: new LFUN_INSERT_BIBKEY
7790
7791         * layout.h:
7792         * lyxlayout.C:
7793         * buffer.C:
7794         * factory.C:
7795         * text.C:
7796         * text2.C:
7797         * text3.C:
7798         * paragraph.[Ch]:
7799         * paragraph_func.C: remove special bibkey handling
7800
7801 2003-02-17  John Levon  <levon@movementarian.org>
7802
7803         * text.C (Delete): fix case where delete at the end of
7804           the very first paragraph would not merge the pars
7805
7806 2003-02-17  John Levon  <levon@movementarian.org>
7807
7808         * lyxrow.C: fix lastPrintablePos()
7809
7810 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7811
7812         * bufferparams.C (writeLaTeX): add a std:here
7813
7814         * buffer.C: and remove a using directive there
7815
7816 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7817
7818         * buffer.C (makeLaTeXFile): move the code that generates the
7819           preamble...
7820
7821         * bufferparams.C (writeLaTeX): ... in this new method
7822
7823         * LaTeXFeatures.C (getEncodingSet): make const
7824           (getLanguages): make const
7825
7826         * MenuBackend.C (binding): returns the binding associated to this
7827           action
7828           (add): sets the status of each item by calling getStatus. Adds
7829           some intelligence.
7830           (read): add support for OptSubMenu
7831           (expand): remove extra separator at the end of expanded menu
7832
7833 2003-02-15  John Levon  <levon@movementarian.org>
7834
7835         * BufferView.C:
7836         * BufferView_pimpl.C:
7837         * bufferlist.h:
7838         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7839           inset code that had no actual effect. Remove unneeded status
7840           code.
7841
7842 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7845           in preamble
7846
7847 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7848
7849         * text.C (drawLengthMarker): also draw an arrow marker for
7850           symbolic lengths (medskip...)
7851
7852 2003-02-14  John Levon  <levon@movementarian.org>
7853
7854         * tabular.h:
7855         * tabular.C: better method names
7856
7857 2003-02-14  John Levon  <levon@movementarian.org>
7858
7859         * BufferView_pimpl.C:
7860         * bufferlist.C:
7861         * buffer.C:
7862         * converter.C:
7863         * lyx_cb.C:
7864         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7865           it's a more accurate name. Remove some pointless uses.
7866
7867 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7868
7869         * text2.C (LyXText): change order of initilizers to shut off
7870           warnings
7871
7872 2003-02-14  John Levon  <levon@movementarian.org>
7873
7874         * buffer.C: use ParIterator for getParFromID()
7875
7876         * paragraph.h:
7877         * paragraph.C:
7878         * paragraph_pimpl.h:
7879         * paragraph_pimpl.C: remove unused getParFromID()
7880
7881 2003-02-14  John Levon  <levon@movementarian.org>
7882
7883         * buffer.C: remove some very old #if 0'd parse code
7884
7885 2003-02-13  John Levon  <levon@movementarian.org>
7886
7887         * text.h:
7888         * text.C:
7889         * text2.C: move hfillExpansion(), numberOfSeparators(),
7890           rowLast(), rowLastPrintable(), numberofHfills(),
7891           numberOfLabelHfills() ...
7892
7893         * lyxrow.h:
7894         * lyxrow.C: ... to member functions here.
7895
7896         * paragraph.h:
7897         * paragraph.C:
7898         * lyxtext.h:
7899         * text.C: remove LyXText::beginningOfMainBody(), and call
7900           p->beginningOfMainBody() directly. Move the check for
7901           LABEL_MANUAL into the latter.
7902
7903         * text.h:
7904         * text.C:
7905         * text2.C:
7906         * vspace.C:
7907         * BufferView.h:
7908         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7909
7910         * text.h:
7911         * text.C:
7912         * text2.C:
7913         * text3.C:
7914         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7915           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7916
7917 2003-02-13  John Levon  <levon@movementarian.org>
7918
7919         * CutAndPaste.C: remove debug
7920
7921 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7922
7923         * paragraph.C (asString): remove two unused variables
7924
7925         * lyxtextclass.C (readTitleType):
7926           (Read):
7927           (LyXTextClass): handle new members titletype_ and titlename_
7928
7929         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7930
7931 2003-02-09  John Levon  <levon@movementarian.org>
7932
7933         * buffer.h:
7934         * buffer.C: replace hand-coded list with a map for the dep clean
7935
7936 2003-02-08  John Levon  <levon@movementarian.org>
7937
7938         * LaTeX.C: consolidate code into showRunMessage() helper
7939
7940 2003-02-08  John Levon  <levon@movementarian.org>
7941
7942         * lyxfind.C:
7943         * lyxtext.h:
7944         * text2.C:
7945         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7946           and pass the size in explicitly
7947
7948         * BufferView_pimpl.h:
7949         * BufferView_pimpl.C:
7950         * BufferView.h:
7951         * BufferView.C: add getCurrentChange()
7952
7953         * BufferView_pimpl.h:
7954         * BufferView_pimpl.C: handle change lfuns
7955
7956         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7957           for changes. Mark pasted paragraphs as new.
7958
7959         * support/lyxtime.h:
7960         * support/lyxtime.C:
7961         * DepTable.C: abstract time_t as lyx::time_type
7962
7963         * LColor.h:
7964         * LColor.C: add colours for new text, deleted text, changebars
7965
7966         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7967           package use "usenames" option.
7968
7969         * commandtags.h:
7970         * lyxfunc.C:
7971         * LyXAction.C: add change lfuns
7972
7973         * Makefile.am:
7974         * author.h:
7975         * author.C: author handling
7976
7977         * buffer.h:
7978         * buffer.C: add a per-buffer author list, with first entry as
7979           current author. Handle new .lyx tokens for change tracking. Output
7980           author list to .lyx file. Output dvipost stuff to .tex preamble.
7981           Bump lyx format to 222.
7982
7983         * bufferlist.h:
7984         * bufferlist.C: add setCurrentAuthor() to reset current author details
7985           in all buffers.
7986
7987         * bufferparams.h:
7988         * bufferparams.C: add param for tracking
7989
7990         * bufferview_funcs.C: output change info in minibuffer
7991
7992         * Makefile.am:
7993         * changes.h:
7994         * changes.C: add change-tracking structure
7995
7996         * debug.h:
7997         * debug.C: add CHANGES debug flag
7998
7999         * lyxfind.h:
8000         * lyxfind.C: add code for finding the next change piece
8001
8002         * lyxrc.h:
8003         * lyxrc.C: add user_name and user_email
8004
8005         * lyxrow.h:
8006         * lyxrow.C: add a metric for the top of the text line
8007
8008         * lyxtext.h:
8009         * text.C: implement accept/rejectChange()
8010
8011         * lyxtext.h:
8012         * text.C: paint changebars. Paint new/deleted text in the chosen
8013         colours. Strike through deleted text.
8014
8015         * paragraph.h:
8016         * paragraph.C:
8017         * paragraph_pimpl.h:
8018         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8019           in the current change to the insert functions. Rework erase to
8020           mark text as deleted, adding an eraseIntern() and a range-based
8021           erase(). Implement per-paragraph change lookup and
8022           accept/reject.
8023
8024         * paragraph_funcs.C: Fixup paste for change tracking.
8025
8026         * tabular.C: mark added row/columns as new.
8027
8028         * text.C: fix rowLast() to never return -1. Don't allow
8029           spellchecking of deleted text. Track transpose changes. Don't
8030           allow paragraph break or merge where appropriate.
8031
8032         * text2.C: leave cursor at end of selection after a cut.
8033
8034 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8035
8036         * text.C (getLengthMarkerHeight):
8037         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8038         visible on screen too.
8039
8040 2003-02-07  John Levon  <levon@movementarian.org>
8041
8042         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8043
8044 2003-02-05  Angus Leeming  <leeming@lyx.org>
8045
8046         * lyxserver.C (read_ready): revert my patch of 11 September last year
8047         as it sends PC cpu through the roof. Presumably this means that
8048         the lyxserver will no longer run on an Alpha...
8049
8050 2003-01-30  Angus Leeming  <leeming@lyx.org>
8051
8052         * factory.C (createInset): create an InsetCommandParam of type "index"
8053         and use it to 'do the right thing'.
8054
8055         * text2.C (getStringToIndex): ensure that cursor position is always
8056         reset to the reset_cursor position.
8057
8058 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8059
8060         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8061         disabled.
8062
8063 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8064
8065         * bufferview.C:
8066         * lyxcb.C:
8067         * lyxfunc.C: Output messages with identical spelling, punctuation,
8068         and spaces
8069
8070 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8071
8072         * MenuBackend.C (expandFormats): List only viewable export formats
8073         in "View" menu
8074
8075         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8076         message
8077
8078         * lyxfunc.C (getStatus): Make sure that formats other than
8079         "fax" can also be disabled
8080
8081 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8082
8083         * text3.C (dispatch): put the lfuns that insert insets in 3
8084         groups, and call doInsertInset with appropriate arguments.
8085         (doInsertInset): new function, that creates an inset and inserts
8086         it according to some boolean parameters.
8087
8088 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * buffer.C (readFile): remember to pass on 'par' when calling
8091         readFile recursively.
8092
8093 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8094
8095         * MenuBackend.C (expandFormats): add "..." to import formats.
8096
8097 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8098
8099         * paragraph.C (asString): Remove XForms RTL hacks.
8100
8101 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8102         * buffer.C: fix typo
8103
8104 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8105
8106         * Makefile.am (LIBS): delete var
8107         (lyx_LDADD): add @LIBS@ here instead.
8108
8109 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8110
8111         * Clarify the meaning of "wheel mouse jump"
8112
8113 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8114
8115         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8116         tabular in a float
8117
8118 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8119
8120         * importer.C (Loaders): do not preallocate 3 elements in the
8121         vector, since one ends up with 6 elements otherwise
8122
8123 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8124
8125         * DepTable.C (write): write the file name as last element of the
8126         .dep file (because it may contain spaces)
8127         (read): read info in the right order
8128
8129 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8130
8131         * paragraph_pimpl.C (simpleTeXBlanks):
8132         (simpleTeXSpecialChars):
8133         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8134
8135         * tabular.C (latex): add some missing case statements. Reindent.
8136
8137         * MenuBackend.C (expandToc): remove unused variable.
8138
8139 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8140
8141         * LColor.C:
8142         * LaTeX.C:
8143         * LyXAction.C:
8144         * MenuBackend.C:
8145         * buffer.C:
8146         * exporter.C:
8147         * lyxfunc.C:
8148         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8149         and the like.
8150
8151 2003-01-05  John Levon  <levon@movementarian.org>
8152
8153         * BufferView.h:
8154         * BufferView.C: add getEncoding()
8155
8156         * kbsequence.h:
8157         * kbsequence.C: do not store last keypress
8158
8159         * lyxfunc.h:
8160         * lyxfunc.C: store last keypress here instead. Pass encoding
8161           to getISOEncoded()
8162
8163 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8164
8165         * lyx_main.C (init): remove annoying error message when following
8166         symbolic links (bug #780)
8167
8168 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8169
8170         * text.C (insertChar):
8171         * lyxrc.C (getDescription): remove extra spaces
8172
8173 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8174
8175         * lyxrc.C (getDescription): remove extra spaces
8176
8177 2002-12-20  John Levon  <levon@movementarian.org>
8178
8179         * text3.C: hack fix for page up/down across tall rows
8180
8181 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8182
8183         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8184         not been invoked
8185
8186 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8187
8188         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8189         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8190         thesaurus is not compiled in
8191
8192 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8193
8194         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8195
8196 2002-12-16  Angus Leeming  <leeming@lyx.org>
8197
8198         * lyxrc.[Ch]:
8199         * lyx_main.C (init): remove override_x_deadkeys stuff.
8200
8201 2002-12-12  John Levon  <levon@movementarian.org>
8202
8203         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8204           insert. Only remove shift modifier under strict
8205           circumstances.
8206
8207 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * MenuBackend.C (expandToc): fix crash.
8210
8211 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * MenuBackend.C (expandToc): gettext on float names.
8214
8215 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8216
8217         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8218         implement bool empty() [bug 490]
8219
8220 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8223
8224 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * several files: ws changes
8227
8228 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * text2.C (setCounter): clean up a bit, use boost.format.
8231         (updateCounters): initialize par upon declaration.
8232
8233         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8234         if the layout exists. We do not just store the layout any more.
8235         (SwitchLayoutsBetweenClasses): use boost.format
8236
8237 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8238
8239         * converter.C (convert): if from and to files are the same, use a
8240         temporary files as intermediary
8241
8242 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8243
8244         * commandtags.h:
8245         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8246
8247 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8248
8249         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8250
8251 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * tabular.C (asciiPrintCell): use string(size, char) instead of
8254         explicit loop.
8255
8256         * sgml.C (openTag): fix order of arguments to string constructor
8257         (closeTag): ditto
8258
8259         * lyxfunc.C (dispatch): use boost.format
8260
8261         * lots of files: change "c" -> 'c'
8262
8263 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8264
8265         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8266
8267 2002-11-25  Angus Leeming  <leeming@lyx.org>
8268
8269         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8270
8271         * lyx_main.C (init): compile fix.
8272
8273 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * lyx_cb.C (start): boost.formatify
8276         do not include <iostream>
8277
8278         * lengthcommon.C: ws only
8279
8280         * boost-inst.C,BoostFormat.h: add more explict instantations
8281
8282 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * lots of files: handle USE_BOOST_FORMAT
8285
8286 2002-11-21  John Levon  <levon@movementarian.org>
8287
8288         * pspell.C: fix compile
8289
8290 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8291
8292         * lyxfunc.C (dispatch): use boost::format
8293         (open): ditto
8294         (doImport): ditto
8295
8296         * lyxfont.C (stateText): use boost::format
8297
8298         * lyx_main.C (LyX): use boost::format
8299         (init): ditto
8300         (queryUserLyXDir): ditto
8301         (readRcFile): ditto
8302         (parse_dbg): ditto
8303         (typedef boost::function): use the recommened syntax.
8304
8305         * importer.C (Import): use boost::format
8306
8307         * debug.C (showLevel): use boost::format
8308
8309         * converter.C (view): use boost::format
8310         (convert): ditto
8311         (move): ditto
8312         (scanLog): ditto
8313
8314         * bufferview_funcs.C (currentState): use boost::format
8315
8316         * bufferlist.C (emergencyWrite): use boost::format
8317
8318         * buffer.C (readLyXformat2): use boost::format
8319         (parseSingleLyXformat2Token): ditto
8320
8321         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8322
8323         * LaTeX.C (run): use boost::format
8324
8325         * Chktex.C (scanLogFile): use boost::format
8326
8327         * BufferView_pimpl.C (savePosition): use boost::format
8328         (restorePosition): ditto
8329         (MenuInsertLyXFile): ditto
8330
8331         * BoostFormat.h: help file for explicit instation.
8332
8333 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8334
8335         * tabular.C (latex): Support for block alignment in fixed width
8336         columns.
8337
8338 2002-11-17  John Levon  <levon@movementarian.org>
8339
8340         * BufferView_pimpl.C:
8341         * lyx_cb.C:
8342         * lyxfunc.C: split filedialog into open/save
8343
8344 2002-11-08  Juergen Vigna  <jug@sad.it>
8345
8346         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8347         by my last patch (hopefully).
8348
8349 2002-11-08  John Levon  <levon@movementarian.org>
8350
8351         * iterators.h:
8352         * iterators.C:
8353         * buffer.h:
8354         * buffer.C:
8355         * paragraph.h:
8356         * paragraph.C:
8357         * toc.h:
8358         * toc.C: ParConstIterator, and use it (from Lars)
8359
8360 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8361
8362         * lyxtextclass.[Ch]: revise and add doxygen comments
8363
8364 2002-11-07  John Levon  <levon@movementarian.org>
8365
8366         * text.C: fix progress value for spellchecker
8367
8368         * toc.C: fix navigate menu for insetwrap inside minipage
8369
8370         * paragraph_funcs.C: added FIXME for suspect code
8371
8372 2002-11-07  John Levon  <levon@movementarian.org>
8373
8374         * BufferView_pimpl.C: fix redrawing of insets
8375           on buffer switch
8376
8377 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8378
8379         * text2.C (updateCounters): fix bug 668
8380
8381 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8382
8383         * text3.C (dispatch): Do not make the buffer dirty when moving the
8384         cursor.
8385
8386 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * vc-backend.C: STRCONV
8389         (scanMaster): ditto
8390
8391         * text2.C (setCounter): STRCONV
8392
8393         * paragraph.C (asString): STRCONV
8394
8395         * lyxlength.C (asString): STRCONV
8396         (asLatexString): ditto
8397
8398         * lyxgluelength.C (asString): STRCONV
8399         (asLatexString): ditto
8400
8401         * lyxfunc.C (dispatch): STRCONV
8402         (open): ditto
8403
8404         * lyxfont.C (stateText): STRCONV
8405
8406         * importer.C (Import): STRCONV
8407
8408         * counters.C (labelItem): STRCONV
8409         (numberLabel): ditto
8410         (numberLabel): remove unused ostringstream o
8411
8412         * chset.C: STRCONV
8413         (loadFile): ditto
8414
8415         * bufferview_funcs.C (currentState): STRCONV
8416
8417         * buffer.C (readFile): STRCONV
8418         (asciiParagraph): ditto
8419         (makeLaTeXFile): ditto
8420
8421         * Spacing.C (writeEnvirBegin): STRCONV
8422
8423         * LaTeXFeatures.C (getLanguages): STRCONV
8424         (getPackages): ditto
8425         (getMacros): ditto
8426         (getBabelOptions): ditto
8427         (getTClassPreamble): ditto
8428         (getLyXSGMLEntities): ditto
8429         (getIncludedFiles): ditto
8430
8431         * LaTeX.C: STRCONV
8432         (run): ditto
8433         (scanAuxFile): ditto
8434         (deplog): ditto
8435
8436         * LString.h: add the STRCONV macros
8437
8438         * BufferView_pimpl.C (savePosition): STRCONV
8439         (restorePosition): ditto
8440         (MenuInsertLyXFile): ditto
8441
8442         * vc-backend.C (scanMaster): change from submatch[...] to
8443         submatch.str(...)
8444
8445         * funcrequest.C: include config.h
8446
8447         * factory.C: include config.h
8448
8449         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8450
8451         * box.C: include config.h
8452
8453         * LaTeX.C (scanAuxFile): change from submatch[...] to
8454         submatch.str(...)
8455         (deplog): ditto
8456
8457 2002-10-25  Angus Leeming  <leeming@lyx.org>
8458
8459         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8460
8461         * ispell.[Ch] (setError): new method.
8462         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8463         Use setError() insetead of goto END.
8464
8465         * lyx_cb.C (AutoSave): move out child process into new class
8466         AutoSaveBuffer.
8467
8468 2002-10-30  John Levon  <levon@movementarian.org>
8469
8470         * text3.C: make start appendix undoable
8471
8472 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8473
8474         * lyxlength.C (inPixels): Fix returned value.
8475
8476         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8477         environment.
8478
8479 2002-10-24  Angus Leeming  <leeming@lyx.org>
8480
8481         * lyxgluelength.h: no need to forward declare BufferParams
8482         or BufferView, so don't.
8483
8484 2002-10-21  John Levon  <levon@movementarian.org>
8485
8486         * BufferView.C: menuUndo ->undo, redo
8487
8488         * BufferView.h: document, remove dead, make some methods private
8489
8490         * paragraph_funcs.h:
8491         * paragraph_funcs.C:
8492         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8493
8494         * buffer.h:
8495         * buffer.C:
8496         * sgml.h:
8497         * sgml.C: move sgml open/close tag into sgml.C
8498
8499         * bufferview_funcs.h: unused prototype
8500
8501         * lyxfunc.h:
8502         * lyxfunc.C: remove unused
8503
8504         * lyxtext.h:
8505         * text.C: remove unused
8506
8507 2002-10-21  John Levon  <levon@movementarian.org>
8508
8509         * BufferView.h:
8510         * BufferView.C:
8511         * BufferView_pimpl.h:
8512         * BufferView_pimpl.C: fix mouse wheel handling based on
8513           patch from Darren Freeman
8514
8515 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8516
8517         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8518
8519 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8520
8521         * lyxlength.C (inPixels): Fix hanfling of negative length.
8522         Fix LyXLength::MU case.
8523
8524 2002-10-16  John Levon  <levon@movementarian.org>
8525
8526         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8527
8528 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8529
8530         * converter.C (view): add support for $$i (file name) and $$p
8531         (file path) for the viewer command. If $$i is not specified, then
8532         it is appended to the command (for compatibility with old syntax)
8533
8534 2002-10-14  Juergen Vigna  <jug@sad.it>
8535
8536         * undo_funcs.C (textHandleUndo): alter the order in which the
8537         new undopar is added to the LyXText, as we have to set first
8538         the right prev/next and then add it as otherwise the rebuild of
8539         LyXText is not correct. Also reset the cursor to the right paragraph,
8540         with this IMO we could remove the hack in "redoParagraphs()".
8541
8542 2002-10-09  Angus Leeming  <leeming@lyx.org>
8543
8544         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8545         to turn off an optimisation if a new inset is to be inserted.
8546
8547 2002-10-11 André Pönitz <poenitz@gmx.net>
8548
8549         * lyxtext.h: make some functions public to allow access
8550         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8551
8552 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8553
8554         * text3.C (dispatch): when changing layout, avoid an infinite loop
8555         [bug #652]
8556
8557 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8558
8559         * lyxrc.C (read): treat a viewer or converter command of "none" as
8560         if it were empty.
8561
8562         * MenuBackend.C (expandFormats): for an update, also allow the
8563         formats that are not viewable
8564
8565         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8566         script if it is newer than the lyxrc.defaults in user directory
8567
8568 2002-10-07 André Pönitz <poenitz@gmx.net>
8569
8570         * text.C: Vitaly Lipatov's small i18n fix
8571
8572 2002-09-25  Angus Leeming  <leeming@lyx.org>
8573
8574         * ispell.h: doxygen fix.
8575
8576 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8577
8578         * buffer.h (readFile): Add a new argument to the method, to allow
8579         reading of old-format templates.
8580
8581 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8582
8583         * toc.C (getTocList): Get TOC from InsetWrap.
8584
8585 2002-09-16  John Levon  <levon@movementarian.org>
8586
8587         * lyxfunc.C: check tabular for cut/copy too
8588
8589 2002-09-12  John Levon  <levon@movementarian.org>
8590
8591         * LyXAction.C: tidy
8592
8593         * factory.h:
8594         * factory.C: add header
8595
8596         * paragraph_funcs.h:
8597         * paragraph_funcs.C: cleanup
8598
8599 2002-09-11  John Levon  <levon@movementarian.org>
8600
8601         * PrinterParams.h: odd/even default to true
8602
8603 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8604
8605         * PrinterParams.h: update printer parameters for new xforms dialog
8606
8607 2002-09-11  Angus Leeming  <leeming@lyx.org>
8608
8609         * lyxserver.C (read_ready): re-write to make it more transparent
8610         and to make it work in coherent fashion under Tru64 Unix.
8611
8612 2002-09-11  André Pönitz <poenitz@gmx.net>
8613
8614         * commandtags.h:
8615         * LyXAction.C:
8616         * text3.C: implement LFUN_WORDSEL
8617
8618 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8621         make floatlist_ a boost::shared_ptr<FloatList>
8622
8623         * lyxtextclass.C: include FloatList.h
8624         (LyXTextClass): initialize floatlist_
8625         (TextClassTags): add TC_NOFLOAT
8626         (Read): match "nofloat" to TC_NOFLOAT and use it.
8627         (readFloat): modify call to floatlist_
8628         (floats): ditto
8629         (floats): ditto
8630
8631         * FloatList.[Ch] (FloatList): remove commented out float
8632         initialization.
8633         (erase): new function
8634
8635 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8636
8637         * MenuBackend.C (expandToc): fix crash when there is no document
8638         open
8639
8640 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8641
8642         * many files: Add insetwrap.
8643
8644 2002-09-09  John Levon  <levon@movementarian.org>
8645
8646         * text2.C: remove confusing and awkward depth wraparound
8647
8648 2002-09-09  John Levon  <levon@movementarian.org>
8649
8650         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8651
8652         * buffer.h:
8653         * buffer.C: remove getIncludeonlyList()
8654
8655         * paragraph.C:
8656         * lyxfunc.C: remove headers
8657
8658 2002-09-09  Juergen Vigna  <jug@sad.it>
8659
8660         * text.C (getColumnNearX): fix form Michael this is most
8661         probably a cut&paste bug.
8662
8663 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8666
8667         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8668         references, ws changes.
8669
8670         * text2.C (init): update counters after init
8671         (insertParagraph): no need to set counter on idividual paragraphs.
8672         (setCounter): access the counters object in the textclass object
8673         on in the buffer object.
8674         (updateCounters): ditto
8675
8676         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8677         shared_ptr<Counters> to avoid loading counters.h in all
8678         compilation units.
8679         (LyXTextClass): initialize ctrs_
8680         (TextClassTags): add TC_COUNTER, and ...
8681         (Read): use it here.
8682         (CounterTags): new tags
8683         (readCounter): new function
8684         (counters): new funtion
8685         (defaultLayoutName): return a const reference
8686
8687         * counters.C (Counters): remove contructor
8688         (newCounter): remove a couple of unneeded statements.
8689         (newCounter): simplify a bit.
8690         (numberLabel): some small formatting changes.
8691
8692         * buffer.[Ch]: remove all traces of counters, move the Counters
8693         object to the LyXTextClass.
8694
8695 2002-09-06  Alain Castera  <castera@in2p3.fr>
8696
8697         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8698         package to set the horizontal alignment on fixed width columns.
8699
8700         * lyx_sty.C:
8701         * lyx_sty.h: added tabularnewline macro def.
8702
8703         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8704
8705 2002-09-06  John Levon  <levon@movementarian.org>
8706
8707         * LyXAction.C: tooltips for sub/superscript
8708
8709         * MenuBackend.C: a bit more verbose
8710
8711         * lyxfunc.C: tiny clean
8712
8713         * undo_funcs.C: document undo_frozen
8714
8715 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8716
8717         * counters.C (Counters): add missing algorithm counter.
8718
8719         * text2.C (setCounter): lookup the counter with layouts latexname
8720         instead of by section number.
8721         (setCounter): use a hackish way to lookup the correct enum
8722         counter.
8723         a float name->type change
8724         reset enum couners with counter name directly instead of depth value.
8725
8726         * counters.C (Counters): remove the push_backs, change to use the
8727         float type not the float name.
8728         (labelItem): remove unused string, float name->type change
8729
8730         * counters.h: don't include vector, loose the enums and sects vectors
8731
8732 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8735         (Read): add float->TC_FLOAT to textclassTags
8736         (Read): and handle it in the switch
8737         (readFloat): new function
8738
8739         * FloatList.C (FloatList): comment out the hardcoded float
8740         definitions.
8741
8742         * lyxlayout.h: ws change.
8743
8744 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8745
8746         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8747
8748 2002-09-03  Angus Leeming  <leeming@lyx.org>
8749
8750         * BufferView_pimpl.h: qualified name is not allowed in member
8751         declaration: WorkArea & Pimpl::workarea() const;
8752
8753         * factory.C: added using std::endl directive.
8754
8755         * text3.C: added using std::find and std::vector directives.
8756
8757 2002-08-29  André Pönitz <poenitz@gmx.net>
8758
8759         * lyxtext.h:
8760         * text2.C: remove unused member number_of_rows
8761
8762         * Makefile.am:
8763         * BufferView2.C: remove file, move contents to...
8764         * BufferView.C: ... here
8765
8766         * BufferView_pimpl.C:
8767         * factory.C: move more inset creation to factory
8768
8769         * vspace.C: avoid direct usage of LyXText, ws changes
8770
8771         * BufferView.[Ch]:
8772                 don't provide direct access to WorkArea, use two simple
8773                 acessors haveSelction() and workHeight() instead
8774
8775
8776 2002-08-29  John Levon  <levon@movementarian.org>
8777
8778         * BufferView_pimpl.C (dispatch): do not continue when
8779           no buffer
8780
8781 2002-08-28  André Pönitz <poenitz@gmx.net>
8782
8783         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8784
8785         * BufferView.h:
8786         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8787
8788 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8789
8790         * buffer.C: increment LYX_FORMAT to 221
8791
8792         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8793         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8794
8795         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8796
8797         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8798
8799 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8800
8801         * factory.C (createInset): use LyXTextClass::floats
8802
8803         * MenuBackend.C (expandFloatListInsert):
8804         (expandFloatInsert):
8805         (expandToc):
8806
8807         * text2.C (setCounter):
8808
8809         * LaTeXFeatures.C (useFloat):
8810         (getFloatDefinitions):
8811
8812         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8813
8814         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8815         floatlist_, with accessor floats().
8816
8817         * FloatList.h: remove global FloatList
8818
8819 2002-08-26  André Pönitz <poenitz@gmx.net>
8820
8821         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8822
8823         * BufferView.h:
8824         * BufferView2.C:
8825         * BufferView_pimpl.C:
8826         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8827
8828 2002-08-25  John Levon  <levon@movementarian.org>
8829
8830         * LyXAction.C: fix margin note description
8831
8832 2002-08-24  John Levon  <levon@movementarian.org>
8833
8834         * buffer.C:
8835         * bufferlist.C:
8836         * bufferview_funcs.C:
8837         * lyxfont.C:
8838         * undo_funcs.C: cleanups
8839
8840         * lyxfunc.C: disable CUT/COPY when no selection
8841
8842 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8843
8844         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8845         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8846
8847         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8848         Add backward compatibility to "mono", "gray" and "no".
8849
8850 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8851
8852         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8853         (and file_format >= 200).
8854
8855 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8856
8857         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8858
8859 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8862
8863 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8864
8865         * BufferView_pimpl.C:
8866         * LyXAction.C:
8867         * buffer.C:
8868         * commandtags.h:
8869         * lyxfunc.C:
8870         * paragraph.[Ch]:
8871         * text2.C:
8872         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8873         inset and code to make it  work with the paragraph code. The inset
8874         can be anywhere in the paragraph, but will only do the expected
8875         thing in LaTeX if the layout file contains the parameter line
8876                         OptionalArgs    1
8877         (or more generally, a nonzero value) for that layout.
8878
8879 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8880
8881         * paragraph.h: remove the declaration of undefined counters class
8882         function.
8883
8884 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8885
8886         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8887         Dr. Richard Hawkins.
8888
8889 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8890
8891         * paragraph_funcs.h: remove some unneeded includes
8892
8893         * text.C (backspace): pasteParagraph now in global scipe
8894
8895         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8896         (pasteSelection): ditto
8897
8898         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8899         * paragraph_funcs.C (pasteParagraph): ... here
8900
8901 2002-08-20  André Pönitz <poenitz@gmx.net>
8902
8903         * commandtags.h: new LFUNs for swapping/copying table row/colums
8904
8905         * LyXAction.C:
8906         * lyxfunc.C: support for new lfuns
8907
8908 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8909
8910         * tabular.C:
8911         * buffer.[Ch]: remove NO_COMPABILITY stuff
8912
8913 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8914
8915         * boost.C (throw_exception): new file, with helper function for
8916         boost compiled without exceptions.
8917
8918         * paragraph.h:
8919         * lyxlength.C:
8920         * buffer.C:
8921         * ParameterStruct.h:
8922         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8923
8924         * bufferlist.C (emergencyWriteAll): use boost bind
8925
8926         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8927
8928         * text.C: include paragraph_funcs.h
8929         (breakParagraph): breakParagraph is now in global scope
8930
8931         * paragraph_funcs.[Ch]: new files
8932
8933         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8934         global scope
8935
8936         * buffer.C: include paragraph_funcs.h
8937         (insertStringAsLines): breakParagraph is now in global scope
8938
8939         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8940         paragraph_funcs.C
8941
8942         * CutAndPaste.C: include paragraph_funcs.h
8943         (cutSelection): breakParagraphConservative is now in global scope
8944         (pasteSelection): ditto
8945
8946         * buffer.h: declare oprator== and operator!= for
8947         Buffer::inset_iterator
8948
8949         * bufferlist.C (emergencyWrite): don't use fmt(...)
8950
8951         * text3.C: add using std::endl
8952
8953         * BufferView.C (moveCursorUpdate): remove default arg
8954
8955 2002-08-20  André Pönitz <poenitz@gmx.net>
8956
8957         * buffer.[Ch]: move inline functions to .C
8958
8959         * BufferView2.C:
8960         * BufferView_pimpl.C:
8961         * text.C:
8962         * buffer.[Ch]: use improved inset_iterator
8963
8964         * buffer.C:
8965         * paragraph.[Ch]: write one paragraph at a time
8966
8967 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8968
8969         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8970         style if style is not specified.
8971
8972 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8973
8974         * text2.C (setCounter): when searching for right label for a
8975         caption, make sure to recurse to parent insets (so that a caption
8976         in a minipage in a figure float works) (bug #568)
8977
8978 2002-08-20  André Pönitz <poenitz@gmx.net>
8979
8980         * text3.C: new file for LyXText::dispatch() and helpers
8981
8982         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8983
8984         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8985
8986 2002-08-19  André Pönitz <poenitz@gmx.net>
8987
8988         * lyxtext.h:
8989         * text.C: new LyXText::dispatch()
8990
8991         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8992
8993 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8994
8995         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8996
8997         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8998         Hebrew text.
8999
9000 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9001
9002         * Makefile.am: use $(variables) instead of @substitutions@
9003
9004 2002-08-15  André Pönitz <poenitz@gmx.net>
9005
9006         * lyxfunc.C:
9007         * BufferView_pimpl.C: streamlining mathed <-> outer world
9008         interaction
9009
9010         * commandtags.h:
9011         * LyXAction.C: remove unused LFUN_MATH
9012
9013 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9014
9015         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9016
9017 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * paragraph.C (Paragraph): reformat a bit
9020         (cutIntoMinibuffer): use builtin InsetList function instad of
9021         doing it manually.
9022         (getInset): ditto
9023
9024         * buffer.C: include boost/bind.hpp, add using std::for_each
9025         (writeFileAscii): use ParagraphList iterators
9026         (validate): use for_each for validate traversal of paragraphs
9027         (getBibkeyList): use ParagraphList iterators
9028         (resizeInsets): use for_each to resizeInsetsLyXText for all
9029         paragraphs.
9030         (getParFromID): use ParagraphList iterators
9031
9032         * BufferView2.C (lockInset): use paragraph list and iterators
9033
9034 2002-08-14  John Levon  <levon@movementarian.org>
9035
9036         * lyxserver.C: remove spurious xforms include
9037
9038 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9039
9040         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9041
9042 2002-08-13  André Pönitz <poenitz@gmx.net>
9043
9044         * LyXAction.[Ch]:
9045         * lyxfunc.C: further cleaning
9046
9047 2002-08-13  André Pönitz <poenitz@gmx.net>
9048
9049         * funcrequest.h: new constructor
9050
9051         * funcrequest.C: move stuff here from .h
9052
9053         * Makefile.am:
9054         * BufferView_pimpl.C:
9055         * LyXAction.C:
9056         * toc.C:
9057         * lyxfunc.C: subsequent changes
9058
9059         * lyxfunc.h: new view() member function
9060
9061         * lyxfunc.C: subsequent changes
9062
9063 2002-08-13  Angus Leeming  <leeming@lyx.org>
9064
9065         * BufferView2.C:
9066         * BufferView_pimpl.C:
9067         * buffer.C:
9068         * converter.C:
9069         * importer.C:
9070         * lyxfunc.C:
9071         * lyxvc.C:
9072         * toc.C:
9073         * vc-backend.C:
9074         changes due to the changed LyXView interface that now returns references
9075         to member variables not pointers.
9076
9077 2002-08-13  Angus Leeming  <leeming@lyx.org>
9078
9079         * WordLangTuple (word, lang_code): return references to strings,
9080         not strings.
9081
9082         * BufferView.h:
9083         * SpellBase.h:
9084         * lyxtext.h: forward-declare WordLangTuple.
9085
9086         * BufferView2.C:
9087         * ispell.C:
9088         * pspell.C:
9089         * text.C: #include "WordLangTuple.h".
9090
9091         * lyxtext.h:
9092         * text.C: (selectNextWordToSpellcheck): constify return type.
9093
9094 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9095
9096         * buffer.C:
9097         * buffer.h:
9098         * lyxtext.h:
9099         * paragraph.C:
9100         * paragraph_pimpl.h:
9101         * text.C:
9102         * text2.C:
9103         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9104         suggested by Angus.
9105         Made updateCounter always count from start of buffer, and removed
9106         second argument (par).
9107         Reverted floats number display to '#'. Perhaps I'll try again when the
9108         code base is sanitized a bit.
9109
9110 2002-08-12  Angus Leeming  <leeming@lyx.org>
9111
9112         * buffer.[Ch] (getLabelList): constify.
9113
9114 2002-08-07  André Pönitz <poenitz@gmx.net>
9115
9116         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9117
9118         * funcrequest.h: extension to keep mouse (x,y) position
9119
9120 2002-08-12  Juergen Vigna  <jug@sad.it>
9121
9122         * BufferView2.C (insertErrors): forbid undo when inserting error
9123         insets.
9124
9125         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9126
9127 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9128
9129         * ParagraphList.[Ch]: new files
9130
9131         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9132
9133         * BufferView2.C (lockInset): ParagraphList changes
9134         * toc.C: ditto
9135         * text2.C: ditto
9136         * bufferlist.C: ditto
9137         * buffer.h: ditto
9138         * buffer.C: ditto
9139
9140 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9141
9142         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9143         unused class variable counter_,
9144
9145         * paragraph.[Ch] (getFirstCounter): delete unused function
9146
9147         * counters.C: include LAssert.h
9148         (reset): add a new function with no arg, change other version to
9149         not have def. arg and to not allow empty arg.
9150
9151         * text2.C (setCounter): remove empty arg from call to Counters::reset
9152
9153 2002-08-11  John Levon  <levon@movementarian.org>
9154
9155         * Makefile.am: add WordLangTuple.h
9156
9157 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9158
9159         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9160         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9161
9162         * insets/insettext.C: InsetList changes
9163
9164         * graphics/GraphicsSupport.C (operator()): InsetList changes
9165
9166         * toc.C (getTocList): InsetList changes
9167
9168         * paragraph_pimpl.[Ch]: InsetList changes
9169
9170         * paragraph.[Ch]: InsetList changes
9171
9172         * buffer.C (inset_iterator): InsetList changes
9173         (setParagraph): ditto
9174         * buffer.h (inset_iterator): ditto
9175         * iterators.C (operator++): ditto
9176         * iterators.h: ditto
9177
9178         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9179
9180         * InsetList.[Ch]: new files, most InsetList handling moved out of
9181         paragraph.C.
9182
9183         * BufferView2.C (removeAutoInsets): InsetList changes
9184         (lockInset): ditto
9185         (ChangeInsets): ditto
9186
9187 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * paragraph_pimpl.h (empty): new function
9190
9191         * paragraph.[Ch] (empty): new function
9192
9193         * other files: use the new Paragraph::empty function
9194
9195 2002-08-09  John Levon  <levon@movementarian.org>
9196
9197         * lyxtext.h: remove unused refresh_height
9198
9199 2002-08-09  John Levon  <levon@movementarian.org>
9200
9201         * Makefile.am:
9202         * sgml.h:
9203         * sgml.C:
9204         * buffer.C:
9205         * paragraph.h:
9206         * paragraph.C: move sgml char escaping out of paragraph
9207
9208         * paragraph.h:
9209         * paragraph.C: remove id setter
9210
9211         * buffer.C:
9212         * paragraph.C:
9213         * paragraph_pimpl.C: remove dead tex_code_break_column
9214
9215         * bufferview_funcs.C: small cleanup
9216
9217         * lyxfunc.C: remove dead proto
9218
9219         * lyxtext.h: make some stuff private. Remove some dead stuff.
9220
9221         * lyxgluelength.C: make as[LyX]String() readable
9222
9223 2002-08-08  John Levon  <levon@movementarian.org>
9224
9225         * LyXAction.h:
9226         * LyXAction.C:
9227         * MenuBackend.C:
9228         * ToolbarDefaults.C:
9229         * lyxfunc.C:
9230         * lyxrc.C:
9231         * toc.C: lyxaction cleanup
9232
9233 2002-08-08  John Levon  <levon@movementarian.org>
9234
9235         * BufferView2.C: small cleanup
9236
9237         * lyxfind.h:
9238         * lyxfind.C: move unnecessary header into the .C
9239
9240 2002-08-08  John Levon  <levon@movementarian.org>
9241
9242         * funcrequest.h: just tedious nonsense
9243
9244         * lyx_main.h:
9245         * lyx_main.C: cleanups
9246
9247         * buffer.C:
9248         * vspace.C: remove dead header lyx_main.h
9249
9250 2002-08-07  Angus Leeming  <leeming@lyx.org>
9251
9252         * Paragraph.[Ch]:
9253         * paragraph_pimpl.h:
9254         Forward declare class Counters in paragraph.h by moving the ctrs member
9255         variable into Paragraph::Pimpl.
9256         (counters): new method, returning a reference to pimpl_->ctrs.
9257
9258         * text2.C: ensuing changes.
9259
9260 2002-08-07  John Levon  <levon@movementarian.org>
9261
9262         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9263
9264         * BufferView_pimpl.C: announce X selection on double/triple
9265           click
9266
9267         * lyx_main.C: use correct bool in batch dispatch
9268
9269         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9270
9271 2002-08-07  André Pönitz <poenitz@gmx.net>
9272
9273         * funcrequest.h: new class to wrap a kb_action and its argument
9274
9275         * BufferView.[Ch]:
9276         * BufferView_pimpl[Ch]:
9277         * LaTeX.C:
9278         * LyXAction.[Ch]:
9279         * lyxfunc.[Ch]:
9280         * lyxrc.C: subsequent changes
9281
9282
9283 2002-08-07  John Levon  <levon@movementarian.org>
9284
9285         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9286           document options change.
9287
9288 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9289
9290         * counters.[Ch]
9291         * text2.C
9292         * paragraph.[Ch]
9293         * makefile.am: move counters functionality over from
9294         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9295
9296 2002-08-06  John Levon  <levon@movementarian.org>
9297
9298         * WordLangTuple.h: new file for word + language code tuple
9299
9300         * SpellBase.h:
9301         * pspell.h:
9302         * pspell.C:
9303         * ispell.h:
9304         * ispell.C:
9305         * lyxtext.h:
9306         * text.C:
9307         * text2.C:
9308         * BufferView.h:
9309         * BufferView2.C: use WordLangTuple
9310
9311         * layout.h:
9312         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9313
9314 2002-08-06  John Levon  <levon@movementarian.org>
9315
9316         * lyx_main.C: fix cmdline batch handling
9317
9318 2002-08-06  André Pönitz <poenitz@gmx.net>
9319
9320         * lyxrc.C: set default for show_banner to true
9321
9322 2002-08-06  John Levon  <levon@movementarian.org>
9323
9324         * pspell.C: fix a crash, and allow new aspell to work
9325
9326 2002-08-06  John Levon  <levon@movementarian.org>
9327
9328         * lyxfunc.C:
9329         * kbmap.C: small cleanup
9330
9331         * vspace.h:
9332         * vspace.C: add const
9333
9334 2002-08-05  John Levon  <levon@movementarian.org>
9335
9336         * LyXAction.C: back to tabular-insert
9337
9338 2002-08-04  John Levon  <levon@movementarian.org>
9339
9340         * BufferView.h:
9341         * BufferView.C: cosmetic change
9342
9343         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9344
9345         * bufferlist.C:
9346         * buffer.h:
9347         * buffer.C:
9348         * lyxcb.h:
9349         * lyxcb.C:
9350         * lyxserver.C:
9351         * lyxvc.C:
9352         * vc-backend.C:
9353         * BufferView2.C: purge all "Lyx" not "LyX" strings
9354
9355         * lyxcursor.h:
9356         * lyxcursor.C: attempt to add some documentation
9357
9358         * lyxfunc.C:
9359         * commandtags.h:
9360         * LyXAction.C:
9361         * ToolbarDefaults.C:
9362         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9363           merge with LFUN_TABULAR_INSERT
9364
9365         * Makefile.am:
9366         * SpellBase.h:
9367         * ispell.h:
9368         * ispell.C:
9369         * pspell.h:
9370         * pspell.C: split up i/pspell implementations into separate
9371           files, many cleanups
9372
9373         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9374
9375         * text2.C: some cleanup
9376
9377         * lyxfunc.C: don't check for isp_command == "none" any more, it
9378           didn't make any sense
9379
9380 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9381
9382         * counters.[Ch]
9383         * text2.C
9384         * paragraph.[Ch]
9385         * makefile.am: move counters functionality over
9386         from text2.C/paragraph.[Ch] to counters.[Ch], and
9387         make proper C++.
9388 2002-08-02  John Levon  <levon@movementarian.org>
9389
9390         * buffer.C: s/lyxconvert/lyx2lyx/
9391
9392 2002-08-02  Angus Leeming  <leeming@lyx.org>
9393
9394         * lyxlex.C: revert John's change as it breaks reading of the user
9395         preamble.
9396
9397 2002-08-02  Angus Leeming  <leeming@lyx.org>
9398
9399         * importer.C (Import):
9400         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9401         changes due to LyXView::view() now returning a boost::shared_ptr.
9402
9403 2002-08-02  John Levon  <levon@movementarian.org>
9404
9405         * lyxlex.C: small cleanup
9406
9407 2002-08-02  John Levon  <levon@movementarian.org>
9408
9409         * text2.C (status): small cleanup, no logic change
9410
9411 2002-08-01  John Levon  <levon@movementarian.org>
9412
9413         * buffer.h:
9414         * buffer.C (writeFile): don't output alerts, caller
9415           handles this
9416
9417         * bufferlist.C:
9418         * lyx_cb.C: from above
9419
9420         * lyxfunc.C: allow to open non-existent files
9421
9422 2002-07-31  John Levon  <levon@movementarian.org>
9423
9424         * lyxserver.C: don't let incidental errors get
9425           in the way (errno)
9426
9427 2002-07-30  John Levon  <levon@movementarian.org>
9428
9429         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9430
9431 2002-07-30  John Levon  <levon@movementarian.org>
9432
9433         * lyxserver.h:
9434         * lyxserver.C: remove I/O callback too
9435
9436 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9437
9438         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9439         log.
9440
9441 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9442
9443         * many files: strip,frontStrip -> trim,ltrim,rtrim
9444
9445 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9446
9447         * PrinterParams.h: remove extern containsOnly, and include
9448         support/lstrings.h instead.
9449
9450         * LaTeX.C (scanAuxFile): modify because of strip changes
9451         (deplog): ditto
9452         * buffer.C (makeLaTeXFile): ditto
9453         * bufferparams.C (writeFile): ditt
9454         * lyxfont.C (stateText): ditto
9455         * lyxserver.C (read_ready): ditto
9456         * vc-backend.C (scanMaster): ditto
9457
9458         * BufferView_pimpl.h: ws changes
9459
9460         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9461
9462 2002-07-26  André Pönitz <poenitz@gmx.net>
9463
9464         * kb_sequence.C: remove unnedred usings
9465
9466 2002-07-26  Juergen Vigna  <jug@sad.it>
9467
9468         * lyxfind.C (LyXReplace): we have to check better if the returned
9469         text is not of theLockingInset()->getLockingInset().
9470
9471 2002-07-25  Juergen Vigna  <jug@sad.it>
9472
9473         * lyxfind.C (LyXReplace): don't replace if we don't get the
9474         right LyXText.
9475
9476         * undo_funcs.C (createUndo): remove debugging code.
9477
9478 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9479
9480         * buffer.C (parseSingleLyXformat2Token): Use default placement
9481         when reading old floats.
9482
9483         * FloatList.C (FloatList): Change the default placement of figure
9484         and tables to "tbp".
9485
9486 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9487
9488         * MenuBackend.C: using std::max
9489
9490 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * MenuBackend.C (expandToc):
9493         (expandToc2): code moved from xforms menu frontend. It is now
9494         generic and TOCs are transparent to menu frontends.
9495
9496 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * toc.C (getTocList): protect against buf=0
9499
9500         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9501         Menu as first parameter. Now, this calls itself recursively to
9502         expand a whole tree (this will be useful for TOC handling)
9503         (expandFloatInsert): remove 'wide' version of floats
9504
9505         * MenuBackend.h (submenuname): returns the name of the submenu.
9506         (submenu): returns the submenu itself, provided it has been
9507         created by MenuBackend::expand
9508
9509 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9510
9511         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9512         insets which have noFontChange == true. (bug #172)
9513
9514 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9515
9516         * BufferView_pimpl.C: add connection objects and use them...
9517         (Pimpl): here.
9518
9519 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9520
9521         * MenuBackend.C (expandLastfiles):
9522         (expandDocuments):
9523         (expandFormats):
9524         (expandFloatListInsert):
9525         (expandFloatInsert):
9526         (expand): split expand in parts
9527
9528 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * lyx_gui.C: use lyx_gui::exit()
9531
9532 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9533
9534         * LyXAction.C: show the failing pseudo action
9535
9536 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9537
9538         * buffer.C (readFile): Run the lyxconvert script in order to read
9539         old files.
9540
9541 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * LyXAction.C:
9544         * commandtags.h:
9545         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9546
9547 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * LyXAction.C:
9550         * commandtags.h:
9551         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9552
9553 2002-07-22  Herbert Voss  <voss@lyx.org>
9554
9555         * lengthcommon.C:
9556         * lyxlength.[Ch]: add support for the vertical lengths
9557
9558 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * toc.[Ch]: std:: fixes
9561
9562 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9563
9564         * lyxrc.C: do not include lyx_main.h
9565
9566         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9567         for layouts
9568
9569         * lyxrc.C:
9570         * encoding.C:
9571         * bufferlist.C:
9572         * BufferView2.C: include "lyxlex.h"
9573
9574         * tabular.h:
9575         * bufferparams.h: do not #include "lyxlex.h"
9576
9577         * lyxtextclasslist.C (Add): remove method
9578         (classlist): renamed to classlist_
9579
9580         * paragraph_pimpl.C:
9581         * paragraph.C:
9582         * text2.C:
9583         * CutAndPaste.C:
9584         * bufferview_funcs.C:
9585         * bufferlist.C:
9586         * text.C:
9587         * LaTeXFeatures.C:
9588         * buffer.C:
9589         * toc.C (getTocList): use BufferParams::getLyXTextClass
9590
9591         * toc.C (getTocList): use InsetFloat::addToToc
9592
9593         * toc.[Ch]: new files, containing helper functions to handle table
9594         of contents
9595
9596         * lyxfunc.C (dispatch): no need to remove spaces around command
9597         given as a string
9598         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9599         first command of the sequence; it is not very clever, but I do not
9600         have a better idea, actually
9601
9602         * LyXAction.C (LookupFunc): make sure to remove space at the
9603         beginning and end of the command
9604
9605 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * MenuBackend.C (getMenubar): new method: return the menubar of
9608         this menu set
9609         (read): treat differently reading of menu and menubar (in
9610         particular, the menubar has no name now)
9611         (Menu::menubar): remove
9612
9613         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9614         saving is finished
9615
9616 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9617
9618         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9619         a bibitem inset in a RTL paragraph.
9620
9621 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * paragraph_pimpl.C: constify
9624
9625         * BufferView_pimpl.C:
9626         * LaTeX.C:
9627         * lyxfunc.C: fix dispatch in a nicer way
9628
9629 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9630
9631         * lyxfunc.C (dispatch):
9632         * BufferView_pimpl.C:
9633         * BufferView_pimpl.h:
9634         * BufferView.C:
9635         * BufferView.h: rename Dispatch() to dispatch()
9636
9637         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9638
9639         * lyxlayout.C (Read): honor DependsOn tag
9640
9641         * lyxlayout.[Ch] (depends_on): new method
9642
9643         * version.C.in: update lyx_docversion
9644
9645         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9646
9647         * paragraph.C (validate): remove from here...
9648         * paragraph_pimpl.C (validate): ... and move here
9649         (isTextAt): make it const
9650
9651         * buffer.C (getLists): ws cleanup
9652
9653 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9654
9655         * language.C (read): Use iso8859-1 encoding in latex_lang
9656         (this prevents LyX from crashing when using iso10646-1 encoding).
9657
9658 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9659
9660         * text2.C (toggleInset): if cursor is inside an inset, close the
9661         inset and leave cursor _after_ it
9662
9663 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * lyxfunc.C: move minibuffer completion handling out of here
9666
9667 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * BufferView_pimpl.C:
9670         * LaTeX.C: fix dispatch calls
9671
9672 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9673
9674         * text.C (drawChars): Fix Arabic text rendering.
9675
9676 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * LyXAction.C:
9679         * commandtags.h:
9680         * lyxfunc.C: remove message-push/pop
9681
9682         * lyxserver.C:
9683         * lyxfunc.h:
9684         * lyxfunc.C: rationalise some code by removing verboseDispatch
9685           in favour of a bool argument to dispatch()
9686
9687 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9688
9689         * lyx_main.C (init): make sure to read symlinks as absolute paths
9690
9691 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9692
9693         * lyxfunc.h:
9694         * lyxfunc.C: no need for commandshortcut to be a member
9695
9696 2002-07-15  André Pönitz <poenitz@gmx.net>
9697
9698         * converter.C: add support for $$s (scripts from lib/scripts dir)
9699         * lyx_main.C: white space
9700
9701 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9702
9703         * bufferlist.C:
9704         * lyxrc.h:
9705         * lyxrc.C: remove second exit confirmation
9706
9707 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * BufferView.h:
9710         * BufferView.C:
9711         * BufferView2.C:
9712         * BufferView_pimpl.h:
9713         * BufferView_pimpl.C:
9714         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9715
9716 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9717
9718         * MenuBackend.C (expand): add numeric shortcuts to document menu
9719
9720         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9721
9722 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * lyxfont.C (setLyXFamily):
9725         (setLyXSeries):
9726         (setLyXShape):
9727         (setLyXSize):
9728         (setLyXMisc):
9729         (lyxRead):
9730         * debug.C (value):
9731         * buffer.C (asciiParagraph): use ascii_lowercase
9732
9733 2002-07-15  Mike Fabian  <mfabian@suse.de>
9734
9735         * lyxlex_pimpl.C (search_kw):
9736         * lyxlex.C (getLongString):
9737         * converter.h (operator<):
9738         * converter.C (operator<):
9739         * buffer.C (parseSingleLyXformat2Token):
9740         (asciiParagraph):
9741         * ToolbarDefaults.C (read):
9742         * MenuBackend.C (checkShortcuts):
9743         (read):
9744         * LColor.C (getFromGUIName):
9745         (getFromLyXName): use the compare_ascii_no_case instead of
9746         compare_no_case, because in turkish, 'i' is not the lowercase
9747         version of 'I', and thus turkish locale breaks parsing of tags.
9748
9749 2002-07-16  Angus Leeming  <leeming@lyx.org>
9750
9751         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9752         now takes a Buffer const & argument.
9753
9754 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * BufferView.C (resize): check there's a buffer to resize
9757
9758 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9759
9760         * lyxfunc.C: remove dead code
9761
9762         * lyxserver.h:
9763         * lyxserver.C: use lyx_guii::set_read_callback
9764
9765 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9766
9767         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9768         an inset in a RTL paragraph.
9769
9770 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * lyxfunc.C: repaint after a font size update
9773
9774 2002-07-15  André Pönitz <poenitz@gmx.net>
9775
9776         * lyxlength.C: inBP should be able to return negative values
9777
9778 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * lyxfunc.C: use lyx_gui::update_fonts()
9781
9782 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9783
9784         * lyxfunc.C: use lyx_gui::update_color()
9785
9786 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * bufferlist.C:
9789         * lyxfunc.h:
9790         * lyxfunc.C:
9791         * lyxrc.h:
9792         * lyxrc.C: remove file->new asks for name option, and let
9793           buffer-new take an argument
9794
9795 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * BufferView_pimpl.C: remove unneeded extra repaint()
9798
9799 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * LyXAction.C: allow command-sequence with NoBuffer
9802
9803         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9804
9805 2002-07-10  Angus Leeming  <leeming@lyx.org>
9806
9807         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9808
9809 2002-07-09  Angus Leeming  <leeming@lyx.org>
9810
9811         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9812
9813 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * lengthcommon.h: whitespace
9816
9817         * lyxfunc.C: update scrollbar after goto paragraph
9818
9819         * lyxtext.h: factor out page break drawing, and fix it so
9820           page break/added space paints as selected nicely
9821
9822 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9823
9824         * BufferView_pimpl.C: add FIXMEs, clean up a little
9825
9826 2002-07-09  André Pönitz <poenitz@gmx.net>
9827
9828         * lyxfont.[Ch]: support for wasy symbols
9829
9830 2002-07-08  André Pönitz <poenitz@gmx.net>
9831
9832         * BufferView_pimpl.C: apply John's patch for #93.
9833
9834 2002-07-05  Angus Leeming  <leeming@lyx.org>
9835
9836         * BufferView_pimpl.C (buffer): generate previews if desired.
9837
9838         * LColor.h: add "preview" to the color enum.
9839
9840         * LColor.C (LColor): add a corresponding entry to the items array.
9841
9842         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9843         with this buffer.
9844
9845 2002-07-05  Angus Leeming  <leeming@lyx.org>
9846
9847         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9848         The body of the code is now in the method that is passed an ostream &
9849         rather than a file name.
9850         Pass an additional only_preamble parameter, useful for the forthcoming
9851         preview stuff.
9852
9853 2002-07-03  André Pönitz <poenitz@gmx.net>
9854
9855         * lyxfunc.C: simplify getStatus() a bit for math stuff
9856
9857 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9858
9859         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9860
9861 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9862
9863         * text.C (changeRegionCase): do not change case of all the
9864         document when region ends at paragraph end (bug #461)
9865
9866 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9867
9868         * paragraph.C (startTeXParParams):
9869         (endTeXParParams): add \protect when necessary
9870
9871 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * BufferView_pimpl.C (workAreaExpose): remove warning
9874
9875 2002-06-27  Angus Leeming  <leeming@lyx.org>
9876
9877         * Makefile.am: add lyxlayout_ptr_fwd.h.
9878
9879 2002-06-26  André Pönitz <poenitz@gmx.net>
9880
9881         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9882
9883 2002-06-25  Angus Leeming  <leeming@lyx.org>
9884
9885         * lyxfunc.C (dispatch): Comment out the call to
9886         grfx::GCache::changeDisplay. The method no longer exists now that the
9887         pixmap generation part of the graphics loader has been moved into
9888         InsetGraphics.
9889
9890 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9891
9892         * text2.C: layout as layout
9893
9894         * text.C: layout as layout
9895
9896         * tabular.C (OldFormatRead): layout as layout
9897
9898         * paragraph_pimpl.C (TeXDeeper): layout as layout
9899         (realizeFont): layout as layout
9900
9901         * paragraph.C (writeFile): layout as layout
9902         (validate): layout as layout
9903         (getFont): layout as layout
9904         (getLabelFont): layout as layout
9905         (getLayoutFont): layout as layout
9906         (breakParagraph): layout as layout
9907         (stripLeadingSpaces): layout as layout
9908         (getEndLabel): layout as layout
9909         (getMaxDepthAfter): layout as layout
9910         (applyLayout): layout as layout
9911         (TeXOnePar): layout as layout
9912         (simpleTeXOnePar): layout as layout
9913         (TeXEnvironment): layout as layout
9914         (layout): layout as layout
9915         (layout): layout as layout
9916
9917         * lyxtextclass.C (compare_name): new functor to work with
9918         shared_ptr, layout as layout
9919         (Read): layout as layout
9920         (hasLayout): layout as layout
9921         (operator): layout as layout
9922         (delete_layout): layout as layout
9923         (defaultLayout): layout as layout
9924
9925         * lyxlayout_ptr_fwd.h: new file
9926
9927         * lyxlayout.C (Read): layout as layout
9928
9929         * lyx_cb.C (MenuInsertLabel): layout as layout
9930
9931         * bufferlist.C (newFile): layout as layout
9932
9933         * buffer.C (readLyXformat2): layout as layout
9934         (parseSingleLyXformat2Token): layout as layout
9935         (insertStringAsLines): layout as layout
9936         (asciiParagraph): layout as layout
9937         (latexParagraphs): layout as layout
9938         (makeLinuxDocFile): layout as layout
9939         (simpleLinuxDocOnePar): layout as layout
9940         (makeDocBookFile): layout as layout
9941         (simpleDocBookOnePar): layout as layout
9942         (getLists): layout as layout
9943
9944         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9945
9946         * CutAndPaste.C (cutSelection): layout as layout
9947         (pasteSelection): layout as layout
9948         (SwitchLayoutsBetweenClasses): layout as layout
9949
9950         * BufferView_pimpl.C (Dispatch): layout as layout
9951         (smartQuote): layout as layout
9952
9953         * BufferView2.C (unlockInset): layout as layout
9954
9955 2002-06-24  André Pönitz <poenitz@gmx.net>
9956
9957         * lyxfunc.C: fix #487
9958
9959 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * lyxrc.h:
9962         * lyxrc.C:
9963         * lyxfunc.C: remove display_shortcuts, show_banner
9964
9965 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * Buffer_pimpl.C: oops, update on resize
9968
9969 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9970
9971         * buffer.C:
9972         * converter.C:
9973         * exporter.C:
9974         * lyxfunc.C:
9975         * BufferView.h:
9976         * BufferView.C: use repaint()
9977
9978         * BufferView_pimpl.h:
9979         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9980           as it's a clearer description. Remove superfluous
9981           redraws.
9982
9983 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * text.C: fix bug 488. Not ideal, but getting
9986           getWord() to work properly for the insets that
9987           matter is more difficult ...
9988
9989 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * BufferView_pimpl.C:
9992         * LyXAction.C:
9993         * commandtags.h:
9994         * lyxfunc.C: remove the six million index lyxfuncs to just
9995           one, and DTRT (bug 458)
9996
9997 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9998
9999         * BufferView.h:
10000         * BufferView.C:
10001         * BufferView_pimpl.h:
10002         * BufferView_pimpl.C: clean up resize() stuff,
10003           and unnecessary updateScreen()s
10004
10005 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10006
10007         * BufferView.h:
10008         * BufferView.C:
10009         * BufferView_pimpl.h:
10010         * BufferView_pimpl.C:
10011         * lyxfind.h:
10012         * lyxfind.C:
10013         * minibuffer.C: remove focus management of workarea,
10014           not needed. Use screen's greyOut()
10015
10016 2002-06-17  Herbert Voss  <voss@lyx.org>
10017
10018         * converter.C: (convert) do not post a message, when converting
10019         fails, let the calling function decide what to do in this case
10020
10021 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10022
10023         * lyxfunc.C: tidy up a little
10024
10025 2002-06-16    <alstrup@diku.dk>
10026
10027         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10028         Got rid of FORMS_H_LOCATION include. Now we are
10029         GUII.
10030
10031 2002-06-15  LyX Development team  <lyx@rilke>
10032
10033         * buffer.[Ch] (sgmlOpenTag):
10034         (sgmlCloseTag): Added support for avoiding pernicious mixed
10035         content. Return number of lines written.
10036
10037         (makeLinuxDocFile):
10038         (makeDocBookFile): Fixed calls to sgml*Tag.
10039         Simple white space clean.
10040
10041         (simpleDocBookOnePar): Simple white space clean.
10042
10043         * tabular.[Ch] (docBook): Renamed to docbook and got another
10044         argument to related with the pernicious mixed content.
10045
10046         (docbookRow): Fixed calls for docbook inset method.
10047
10048 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10049
10050         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10051         so it's X11 independent.
10052
10053         * kb*.[Ch]: ditto.
10054
10055         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10056
10057 2002-06-15  Lyx Development team  <lyx@electronia>
10058
10059         * intl.h: Renamed getTrans to getTransManager.
10060
10061 2002-06-14  Angus Leeming  <leeming@lyx.org>
10062
10063         * Makefile.am: nuke forgotten stl_string_fwd.h.
10064
10065 2002-06-12  Angus Leeming  <leeming@lyx.org>
10066
10067         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10068
10069 2002-06-13  Angus Leeming  <leeming@lyx.org>
10070
10071         * LaTeX.C:
10072         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10073
10074 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10075
10076         * kbmap.C (getiso): add support for cyrillic and greek
10077
10078 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * BufferView.h:
10081         * BufferView.C:
10082         * BufferView_pimpl.h:
10083         * BufferView_pimpl.C: move bogus scrolling logic
10084           to xforms
10085
10086 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10087
10088         * lyxfunc.C:
10089         * BufferView_pimpl.C: view->resize() change
10090
10091 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10092
10093         * BufferView_pimpl.C: topCursorVisible
10094           prototype change
10095
10096 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * Makefile.am:
10099         * lyx_gui.h:
10100         * lyx_gui.C: move to frontends/
10101
10102         * main.C:
10103         * lyx_main.h:
10104         * lyx_main.C: changes from above
10105
10106 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * intl.C:
10109         * intl.h:
10110         * kbmap.C:
10111         * kbsequence.C:
10112         * lyx_cb.C:
10113         * lyx_main.C: minor tidy
10114
10115 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10116
10117         * BufferView_pimpl.h:
10118         * BufferView_pimpl.C:
10119         * BufferView.h:
10120         * BufferView.C: make painter() const,
10121           remove dead code
10122
10123         * BufferView2.C: use screen() accessor
10124
10125         * lyx_main.h:
10126         * lyx_main.C: some minor cleanup
10127
10128 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * BufferView_pimpl.h:
10131         * BufferView_pimpl.C: remove enter/leaveView,
10132           use workHeight()
10133
10134 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * BufferView.h:
10137         * BufferView.C:
10138         * BufferView2.C:
10139         * BufferView_pimpl.h:
10140         * BufferView_pimpl.C: only construct screen once,
10141           rename
10142
10143         * lyxrc.C: remove pointless comment
10144
10145 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * BufferView.h:
10148         * BufferView.C: remove active() and belowMouse()
10149
10150         * BufferView_pimpl.h:
10151         * BufferView_pimpl.C: use workarea() not workarea_,
10152           and make it use a scoped_ptr instead
10153
10154 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * lyx_gui.C: add debug message on BadWindow
10157
10158 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10159
10160         * sp_spell.C: fdopen is not part of the C++ standard.
10161
10162         * paragraph.C (InsetIterator): use >= instead of ==
10163
10164 2002-06-07  Angus Leeming  <leeming@lyx.org>
10165
10166         Fixes needed to compile with Compaq cxx 6.5.
10167         * BufferView_pimpl.C:
10168         * DepTable.C:
10169         * buffer.C:
10170         * converter.C:
10171         * encoding.C:
10172         * lyx_gui.C:
10173         * lyx_main.C:
10174         * lyxtextclasslist.C:
10175         * minibuffer.C:
10176         * sp_spell.C:
10177         * tabular_funcs.C:
10178         * vc-backend.C:
10179         all c-library variables have been moved into namespace std. Wrap
10180         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10181
10182         * lyxlength.C:
10183         * tabular-old.C:
10184         * tabular.C:
10185         Add a using std::abs declaration.
10186
10187         * kbmap.h (modifier_pair):
10188         * paragraph.h (InsetTable, InsetList):
10189         * lyxfont.h (FontBits):
10190         type definition made public.
10191
10192         * bufferlist.C (emergencyWriteAll): the compiler complains that
10193         there is more than one possible lyx::class_fun template to choose from.
10194         I re-named the void specialisation as lyx::void_class_fun.
10195
10196         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10197
10198         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10199         the compiler is is unable to find tostr in write_attribute.
10200
10201 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10202
10203         * buffer.C (sgmlError): hide #warning
10204
10205 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10206
10207         * xtl/*: get rid of xtl, which is not in use anyway
10208
10209         * LyXAction.C (init):
10210         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10211         were unimplemented xtl experimentation
10212
10213 2002-06-04  André Pönitz <poenitz@gmx.net>
10214
10215         * lyxfunc.C: disable array operation on simple formulae
10216
10217 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * converter.C: constify a bit
10220
10221 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10222
10223         * lyx_gui.C: check xforms version correctly
10224
10225 2002-04-30  Herbert Voss  <voss@lyx.org>
10226
10227         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10228         "keep" option
10229
10230 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10233           attempt to register it with a VCS)
10234
10235 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * lyx_main.C (init): honor variables LYX_DIR_13x and
10238         LYX_USERDIR_13x
10239
10240 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10241
10242         * buffer.h:
10243         * buffer.C:
10244         * lyx_main.C: fix a crash on bad command line,
10245           and give a useful exit status on error
10246
10247         * lyxfunc.C (doImport): allow -i lyx to work
10248
10249 2002-03-30  André Pönitz <poenitz@gmx.net>
10250
10251         * lyxfunc.C: mathed font changes
10252
10253 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * LaTeX.C:
10256         * importer.h:
10257         * importer.C:
10258         * lyx_sty.h:
10259         * lyx_sty.C:
10260         * lyxlex.C:
10261         * lyxrow.h:
10262         * lyxtext.h:
10263         * paragraph.h:
10264         * paragraph.C:
10265         * texrow.h:
10266         * texrow.C:
10267         * text.C:
10268         * trans_mgr.h: srcdocs, and some minor cleanups
10269
10270 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10271
10272         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10273         call getFont all the time)
10274
10275 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10276
10277         * switch from SigC signals to boost::signals
10278
10279 2002-05-29  André Pönitz <poenitz@gmx.net>
10280
10281         * paragraph_pimpl.C (getChar): don't call size() too often...
10282
10283 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * paragraph_pimpl.C (insertChar): do not try to update tables when
10286         appending (pos == size())
10287
10288         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10289         in order to reduce drastically the number of comparisons needed to
10290         parse a large document
10291
10292 2002-05-29  André Pönitz <poenitz@gmx.net>
10293
10294         * text.C:
10295         * text2.C:
10296         * lyxtextclass.C:
10297         * sp_pspell.h:
10298         * textclasslist.[Ch]:
10299         * sp_ispell.h: whitespace change
10300
10301 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10302
10303         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10304         lyxaction directly now.
10305
10306 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10307
10308         * trans.C:
10309         * lyxfont.C:
10310         * lyxvc.C: remove unused headers
10311
10312 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10313
10314         * Makefile.am:
10315         * buffer.h:
10316         * undostack.h:
10317         * undostack.C:
10318         * undo_funcs.h:
10319         * undo_funcs.C: some cleanups. Use shared_ptr
10320           and a template for the undo stacks.
10321
10322 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * BufferView_pimpl.h:
10325         * BufferView_pimpl.C:
10326         * kbmap.h:
10327         * kbmap.C:
10328         * kbsequence.h:
10329         * kbsequence.C:
10330         * lyxfunc.h:
10331         * lyxfunc.C:
10332         * text2.C: use key_state/mouse_state
10333
10334 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10335
10336         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10337         and LSubstring
10338
10339         * chset.C: change include order
10340         (loadFile): use boost regex and get rid of LRegex and LSubstring
10341
10342         * Makefile.am (BOOST_LIBS): new variable
10343         (lyx_LDADD): use it
10344
10345         * LaTeX.C: change include order.
10346         (scanAuxFile): use boost regex and get rid of LRegex and
10347         LSubstring
10348         (deplog): ditto
10349
10350 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * ColorHandler.h:
10353         * ColorHandler.C:
10354         * FontInfo.h:
10355         * FontInfo.C: moved to frontends/xforms/
10356
10357         * FontLoader.h:
10358         * FontLoader.C: moved into frontends for GUIIzation
10359
10360         * Makefile.am:
10361         * lyx_gui.C:
10362         * lyxfont.C:
10363         * lyxfunc.C: changes from above
10364
10365 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * LColor.C: remove spurious X include
10368
10369         * BufferView_pimpl.C:
10370         * Makefile.am:
10371         * font.h:
10372         * font.C:
10373         * text.C:
10374         * text2.C: move font metrics to frontends/
10375
10376 2002-05-24  Juergen Vigna  <jug@sad.it>
10377
10378         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10379         setting the undo_cursor.
10380
10381         * ParagraphParameters.h: include local includes first.
10382
10383 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * BufferView_pimpl.C:
10386         * BufferView_pimpl.h:
10387         * Makefile.am:
10388         * WorkArea.h:
10389         * WorkArea.C:
10390         * screen.C: move WorkArea into frontends/
10391
10392         * lyxscreen.h:
10393         * screen.C:
10394         * text.C:
10395         * BufferView.C:
10396         * BufferView2.C: move LyXScreen into frontends/
10397
10398         * lyxlookup.h:
10399         * lyxlookup.C:
10400         * lyx_gui.C: move lyxlookup into frontends/xforms/
10401
10402 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * BufferView2.C:
10405         * BufferView_pimpl.C:
10406         * FontLoader.C:
10407         * LyXView.h:
10408         * LyXView.C:
10409         * Makefile.am:
10410         * WorkArea.C:
10411         * XFormsView.h:
10412         * XFormsView.C:
10413         * buffer.C:
10414         * bufferlist.C:
10415         * bufferview_funcs.C:
10416         * converter.C:
10417         * importer.C:
10418         * lyx_cb.C:
10419         * lyx_gui.C:
10420         * lyx_main.C:
10421         * lyx_find.C:
10422         * lyxfunc.C:
10423         * lyxvc.C:
10424         * minibuffer.C:
10425         * text.C:
10426         * text2.C:
10427         * trans.C:
10428         * vc-backend.C: move LyX/XFormsView into frontends/
10429
10430 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10431
10432         * Makefile.am:
10433         * PainterBase.C:
10434         * PainterBase.h:
10435         * Painter.C:
10436         * Painter.h:
10437         * WorkArea.C:
10438         * WorkArea.h:
10439         * screen.C:
10440         * tabular.C:
10441         * text.C:
10442         * text2.C: move Painter to frontends/
10443
10444 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10445
10446         * buffer.C: comment out some some code that depend upon lyx_format
10447         < 220
10448
10449         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10450         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10451
10452         * buffer.h (NO_COMPABILITY): turn off compability
10453
10454         * ColorHandler.C: include scoped_array.hpp
10455
10456         * font.C: Use more specific smart_ptr header.
10457         * Painter.C: ditto
10458         * gettext.C: ditto
10459         * ShareContainer.h: ditto
10460         * lyx_main.h: ditto
10461         * kbmap.h: ditto
10462         * FontInfo.h: ditto
10463         * BufferView_pimpl.h: ditto
10464         * ColorHandler.h: ditto
10465
10466         * kbmap.C (defkey): change call to shared_ptr::reset
10467
10468 2002-05-21  Juergen Vigna  <jug@sad.it>
10469
10470         * buffer.C (insertErtContents): fix to insert ert asis if it is
10471         non empty. Skip it completely if it contains only whitespaces.
10472
10473 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * BufferView_pimpl.C:
10476         * BufferView2.C: clear selection on paste (bug 393)
10477
10478 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * DepTable.C: include ctime
10481
10482 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10483
10484         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10485
10486 2002-05-14  Juergen Vigna  <jug@sad.it>
10487
10488         * text.C (breakParagraph): fixed function to honor the keepempty
10489         layout in the right maner and also to permit the right breaking
10490         algorithm on empty or non empyt keepempty paragraphs.
10491
10492         * paragraph.C (breakParagraph): we have to check also if the par
10493         is really empty (!size()) for isempty otherwise we do the wrong
10494         paragraph break.
10495
10496 2002-05-10  Juergen Vigna  <jug@sad.it>
10497
10498         * buffer.[Ch] : The following are only changes to the ert
10499         compatibility read reading old LaTeX layout and font stuff and
10500         convert it to ERTInsets.
10501
10502         * buffer.h: added isErtInset().
10503
10504         * buffer.C (struct ErtComp): add a fromlayout bool to check
10505         if we're inside a LaTeX layout.
10506         (isErtInset): new helper function.
10507         (insertErtContents): look for other ert insets before this one
10508         and insert the contents there, so that we don't have subsequent
10509         ERT insets with nothing between them. This way we create only one
10510         inset with multiple paragraphs. Also check if we don't insert only
10511         spaces ' ' as they are ignored anyway afterwards in the .tex file
10512         so if we have only spaces we will ignore this latex part in the
10513         new file.
10514         (parseSingleLyXformat2Token \\layout): better compatibility when
10515         reading layout-latex stuff.
10516         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10517         language tag.
10518         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10519         stuff after reading the inset only get the information back from
10520         the stack.
10521
10522 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10523
10524         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10525
10526         * LaTeXFeatures.C (getBabelOptions): New method.
10527
10528 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10529
10530         * BufferView_pimpl.C (Dispatch): work around missing argument for
10531         'layout'
10532
10533 2002-05-08  Juergen Vigna  <jug@sad.it>
10534
10535         * text.C (leftMargin): handle paragraph leftindent.
10536
10537         * paragraph.C (writeFile): write the new \\leftindent tag.
10538         (validate): handle leftindent code.
10539         (TeXEnvironment): handle paragraphleftindent code again.
10540
10541         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10542
10543         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10544         for paragrap_extra indent code and new token \\leftindent.
10545         (latexParagraphs): handle the leftindent as environment.
10546
10547         * ParameterStruct.h: added leftindent support.
10548
10549         * ParagraphParameters.C (leftIndent): added support functions for
10550         the paragraph left indent.
10551
10552         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10553         more appropriate.
10554
10555 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10556
10557         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10558         inside insetERT.
10559
10560         * text.C (computeBidiTables): No bidi in insetERT.
10561
10562         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10563         in RTL documents.
10564
10565 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * version.C.in: pre 5
10568
10569 2002-05-02  José Matos  <jamatos@fep.up.pt>
10570         * buffer.C (makeDocBookFile): white space changes, add newline to
10571         command styles.
10572         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10573
10574         * tabular.C (docBook): fix typo.
10575
10576 2002-05-03  Juergen Vigna  <jug@sad.it>
10577
10578         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10579         change in LyXText as we can not be sure it was not freed.
10580         (drawOneRow): remove unused code.
10581
10582         * text.C (drawInset): redo the calculation of the need_break_row as
10583         it could have a row which was already freed.
10584         (draw): look at the return value of drawInset and return false if
10585         it also returned false.
10586         (paintRowText): look at the return value of draw and return false if
10587         it also returned false.
10588
10589         * lyxtext.h: added bool return type to drawInset() and draw() so that
10590         if we have a change in the row so that the rowbreak has to be redone
10591         we abort drawing as it will be called again.
10592
10593 2002-05-02  Juergen Vigna  <jug@sad.it>
10594
10595         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10596         a change in the maintext also if we're inside an inset.
10597         (Dispatch): set the cursor again after a break line and after the
10598         screen has been updated as it could be we're in a different row.
10599
10600         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10601         to set the cursor behind the pargraph with > size().
10602         (setCursor): check also for the same paragraph when checking where
10603         to put the cursor if we have a NFR inset.
10604
10605         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10606         parts of layout read further up as it still was in the wrong
10607         position.
10608
10609 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * screen.C (drawFromTo): change sine fullRebreak always return
10612         true.
10613
10614         * buffer.C (parseSingleLyXformat2Token): reindent some
10615
10616         * BufferView_pimpl.C (update): change since fullRebreak always
10617         return true.
10618         (Dispatch): git rid of the last hardcoded "Standard"s.
10619
10620 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10621
10622         * text2.[Ch] (fullRebreak): make it return void now that we always
10623         returned true.
10624
10625 2002-04-30  Juergen Vigna  <jug@sad.it>
10626
10627         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10628         ert compatibility check for "latex" layout.
10629
10630 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10631
10632         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10633         minipages: use col% instead of p%, and also use the current font.
10634         (makeLaTeXFile): Fix use babel condition.
10635         (parseSingleLyXformat2Token): Correct font when reading old floats.
10636
10637 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10638
10639         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10640         inserting list of floats.
10641
10642 2002-04-25  Herbert Voss  <voss@lyx.org>
10643
10644         * MenuBackend.C (expand): don't add the graphics extensions to the
10645         export menu
10646
10647 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10650         non-existing layout, do not complain if it was the default layout
10651         of the original class (bug #342)
10652
10653 2002-04-24  Juergen Vigna  <jug@sad.it>
10654
10655         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10656         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10657
10658 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10659
10660         * buffer.C (getBibkeyList): If using \bibliography, return the
10661         option field with the reference itself. Enables us to provide natbib
10662         support when using \bibliography.
10663
10664 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10665
10666         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10667
10668         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10669         natbib is provided by the LaTeX class.
10670
10671 2002-04-23  Juergen Vigna  <jug@sad.it>
10672
10673         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10674         Wakeup functions.
10675
10676         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10677
10678 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10681
10682         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10683         ensuremath around textordmasculine, textordfeminine and
10684         textdegree.
10685
10686 2002-04-19  Juergen Vigna  <jug@sad.it>
10687
10688         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10689         reinitializing the buffer otherwise row-dimensions may be wrong.
10690         (update): reset also the selection cursors if they do exits otherwise
10691         their x/y positions may be wrong.
10692
10693         * text2.C (cursorDown): don't enter the inset if we came from a row
10694         above and are one row over the inset.
10695
10696         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10697         really leaving an inset.
10698
10699 2002-04-18  Juergen Vigna  <jug@sad.it>
10700
10701         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10702         of the selected paragraph does not have the selected layout also if
10703         the last one had!
10704
10705         * text2.C (setLayout): fixed bug which did not change last selected
10706         paragraph.
10707
10708         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10709         changed the read and substituted \\end_float with \\end_inset!
10710
10711         * BufferView_pimpl.C (cursorPrevious):
10712         (cursorNext): fixed to make it work with rows heigher than the work
10713         area without moving the cursor only the draw of the row.
10714         (workAreaMotionNotify): fix jumping over high rows.
10715
10716 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10719         Ressler.
10720
10721 2002-04-16  Juergen Vigna  <jug@sad.it>
10722
10723         * text2.C (setCursor): set also the irow().
10724         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10725         (cursorUp):
10726         (cursorDown): support for locking an inset if the x_fix value goes
10727         inside it. That way I can transverse insets too with cursor up/down.
10728
10729         * lyxrow.h: added irow helper function same as other (i) functions.
10730
10731         * BufferView_pimpl.C (cursorPrevious):
10732         (cursorNext): fixed for insets!
10733
10734 2002-04-15  Juergen Vigna  <jug@sad.it>
10735
10736         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10737         position otherwise it is wrong in some cases.
10738
10739         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10740         inside the inset before the call.
10741
10742 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10743
10744         * buffer.[Ch] (getBibkeyList): make it const.
10745
10746 2002-04-12  Juergen Vigna  <jug@sad.it>
10747
10748         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10749
10750         * text2.C (getCursorX): new helper function
10751         (setCursor): compute also ix_
10752         (setCursorFromCoordinates): set also ix.
10753
10754         * lyxcursor.h: added ix_ and helper functions.
10755
10756         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10757
10758         * buffer.C (insertStringAsLines): dont break paragraph if the this
10759         paragraph is inside an inset which does not permit it!
10760
10761         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10762         also with no chars on this paragraph.
10763         (paintRowText): only paint stuff if it's inside the workarea!
10764
10765         * paragraph.C (breakParagraph): honor keepempty flag and break the
10766         paragraph always below not above.
10767
10768         * BufferView2.C (unlockInset): update the paragraph layout on inset
10769         unlock as we changed paragraph in such a case.
10770
10771         * lyxfind.C (LyXFind): clear the former selection if not found!
10772
10773         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10774         again called in insertChar().
10775
10776         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10777         an inset which uses the whole row!
10778         (rightMargin): ditto.
10779         (insertChar): force a rebreak if we inserted an inset!
10780
10781 2002-03-28  Herbert Voss  <voss@lyx.org>
10782
10783         * lyxlength.[Ch]: add inBP() to get the right PS-point
10784         units (BigPoint). With inPixels we have rounding errors
10785
10786 2002-04-11  Juergen Vigna  <jug@sad.it>
10787
10788         * text2.C (setCursorFromCoordinates): set iy to the right value.
10789         (setCursor): add check if row->previous exists!
10790
10791         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10792         an old float_type as this was the case in the old code!
10793
10794         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10795
10796         * BufferView2.C (showLockedInsetCursor): use iy
10797         (fitLockedInsetCursor): ditto
10798
10799         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10800         locked insets as there we have the right value now.
10801
10802         * lyxcursor.C: added iy_ variable and iy functions to set to the
10803         baseline of cursor-y of the locked inset.
10804
10805         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10806         (setCursor): fixed for insets which need a full row.
10807
10808         * text.C (rowLastPrintable): don't ignore the last space when before
10809         an inset which needs a full row.
10810         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10811         as last character of a row when before a inset which needs a full row.
10812
10813 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10814
10815         * version.C.in: update date
10816
10817         * text2.C (fullRebreak): try to always return true and see what
10818         happens...
10819
10820 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10821
10822         * MenuBackend.C (expand): use Floating::listName
10823
10824         * FloatList.C (FloatList): add listName argument to the built-in
10825         floats
10826
10827         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10828         text associated with the float.
10829
10830 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10831
10832         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10833
10834 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10835
10836         * ShareContainer.h: add a couple of missing typenames.
10837
10838 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10839
10840         * lyxrc.C (getDescription): use _() correctly rather than N_().
10841
10842 2002-03-28  Herbert Voss  <voss@lyx.org>
10843
10844         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10845         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10846
10847 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10848
10849         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10850         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10851
10852 2002-03-29  Juergen Vigna  <jug@sad.it>
10853
10854         * lyxfunc.C (dispatch): add a missing fitCursor call.
10855
10856         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10857         it was scrolled by a cursor move, so return the bool status.
10858
10859         * BufferView.C (fitCursor): return the bool flag also to the outside
10860         world as this is needed.
10861
10862         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10863
10864         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10865         call the edit() as it is not needed (and wrong) IMO.
10866         (workAreaButtonPress): set the screen_first variable before evt.
10867         unlock the inset as this may change screen_first and then we have
10868         a wrong y position for the click!
10869
10870 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * MenuBackend.C (expand): another translation that I missed
10873
10874 2002-03-28  Juergen Vigna  <jug@sad.it>
10875
10876         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10877
10878         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10879
10880 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10881
10882         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10883
10884         * MenuBackend.C (expand): fix export/view/update when there is no
10885         document open.
10886
10887 2002-03-27  Herbert Voss  <voss@lyx.org>
10888
10889         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10890         and text%
10891
10892 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * bufferview_funcs.C (currentState): only show paragraph number
10895         for is DEVEL_VERSION is set.
10896
10897         * lyxfunc.C (dispatch): put warning in INFO channel
10898
10899         * MenuBackend.C (expand): translate the name of floats
10900
10901         * FloatList.C (FloatList): mark the float names for translation
10902
10903         * converter.C (convert): use LibScriptSearch
10904
10905 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10906
10907         * MenuBackend.C (defaults): fix default menu (we might as well get
10908         rid of it...)
10909
10910 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10911
10912         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10913         directory.
10914
10915 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10916
10917         * lyxvc.C: reorder includes.
10918
10919 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10922           properly
10923
10924 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * CutAndPaste.C: change layouts earlier on paste
10927           to avoid crashing when calling getFont()
10928
10929 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10930
10931         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10932         irritating #error.
10933
10934 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * WorkArea.C: remove 'Pending' debug message.
10937
10938         * most files: ws cleanup
10939
10940         * buffer.[Ch]: ws changes
10941
10942         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10943
10944 2002-03-21  Juergen Vigna  <jug@sad.it>
10945
10946         * tabular.C (SetMultiColumn): collapse also the contents of the
10947         cells and set the last border right. Added a Buffer const * param.
10948
10949 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10950
10951         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10952         linking or not.
10953
10954 2002-03-19  Juergen Vigna  <jug@sad.it>
10955
10956         * text2.C (clearSelection): reset also xsel_cache.
10957
10958         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10959         where it needs to be called (John tells us to do so too :)
10960         (selectionLost): reset sel_cache.
10961
10962         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10963
10964 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10965
10966         * text2.C (setCursorIntern): put debuging code in INSETS channel
10967
10968 2002-03-19  André Pönitz <poenitz@gmx.net>
10969
10970         * lyxfunc.C: tiny whitespace change
10971
10972 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * ToolbarDefaults.C (init):
10975         * LyXAction.C (init):
10976         * commandtags.h:
10977         * BufferView_pimpl.C (Dispatch):
10978         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10979
10980 2002-03-19  Allan Rae  <rae@lyx.org>
10981
10982         * exporter.C (Export): removeAutoInsets before doing anything else.
10983         While I've just introduced a dependency on BufferView this really is
10984         the best place to clean the buffer otherwise you need to cleanup in
10985         a dozen places before calling export or cleanup in a dozen functions
10986         that export calls.
10987
10988         * converter.C (runLaTeX):
10989         (scanLog): Better handling of removeAutoInsets and screen updates.
10990
10991         * lyxfunc.C (dispatch): small whitespace changes
10992
10993 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * WorkArea.C (C_WorkAreaEvent): return a value.
10996         (event_cb): return 1 if we handled the event, 0 otherwise.
10997
10998         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10999
11000 2002-03-18  Juergen Vigna  <jug@sad.it>
11001
11002         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11003         (GetAdditionalWidth): ditto.
11004         (RightLine): ditto.
11005         (LeftLine): ditto.
11006
11007         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11008         inset if we're there actually (probably not used right now but this
11009         is the direction to go for unifying code).
11010         (paste): disable code to clear the selection.
11011
11012         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11013         inside an InsetText and move the check further up as it is in the
11014         wrong place.
11015
11016         * text2.C (pasteSelection): set a selection over the pasted text.
11017
11018 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11019
11020         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11021         and libgraphics to build on Cygwin.
11022
11023 2002-03-15  Juergen Vigna  <jug@sad.it>
11024
11025         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11026         inserting an Inset into the paragraph. I know this is not the best
11027         fix but we already use current_view in CutAndPaste so we will remove
11028         all of it's using at the same time.
11029
11030         * buffer.C (sgmlError): deactivated function till it is rewritten in
11031         the right mode, now it can create problems.
11032
11033         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11034         before accessing it.
11035
11036 2002-03-14  Juergen Vigna  <jug@sad.it>
11037
11038         * undo_funcs.C (textHandleUndo): do the right thing when updating
11039         the inset after the undo/redo.
11040
11041         * text2.C (setCursor): just some testcode for #44 not ready yet.
11042
11043         * undo_funcs.C (textHandleUndo): set the next() and previous()
11044         pointers of the paragraph to 0 before deleting otherwise we have
11045         problems with the Paragraph::[destructor].
11046
11047         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11048         on a paragraph insertion.
11049
11050 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11051
11052         * buffer.C (asciiParagraph): use += operator for char append to
11053         string.
11054
11055         * paragraph.C (getFontSettings): compare >= not just >
11056         (highestFontInRange): ditto
11057         (setFont): ditto
11058
11059 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * paragraph.C: change several algorithm to be more appripriate for
11062         the problem domain. This is lookip in FontList and in the InsetList.
11063
11064 2002-03-13  André Pönitz <poenitz@gmx.net>
11065
11066         * commandtags.h:
11067         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11068
11069 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11070
11071         * commandtags.h:
11072         * LyXAction.C:
11073         * lyxfunc.C:
11074         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11075
11076 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11077
11078         * Painter.C (display): anon helper function, adjust code for this
11079         change.
11080         (pixmap): remove function.
11081
11082         * Painter.h: remove private display variable.
11083
11084         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11085
11086 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11087
11088         * WorkArea.[Ch]: remove figinset_canvas cruft.
11089
11090 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11091
11092         * lyxtextclass.C (operator): add one item cache optimization.
11093
11094         * bufferlist.h: doxy changes
11095
11096         * bufferlist.C: ws changes
11097
11098         * DepTable.[Ch] (ext_exist): place const in the right spot.
11099
11100         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11101         call resizeInsets.
11102         (workAreaExpose): call resizeInsets when the with BufferView changes.
11103         (Dispatch): adjust for protectedBlank removal
11104         (specialChar): call updateInset if the insert went ok.
11105
11106         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11107         specialChar instead.
11108
11109         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11110
11111         * BufferView.h: doxy change
11112
11113         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11114
11115         * lyxtextclass.C (operator[]): remove non-const version
11116         (defaultLayout): remove non-const version
11117
11118 2002-03-12  Juergen Vigna  <jug@sad.it>
11119
11120         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11121         did resize the LyXText too.
11122
11123         * buffer.C (readLyXformat2): set layout information on newly allocated
11124         paragraphs.
11125
11126         * tabular.C (OldFormatRead): set layout information on the paragraph.
11127
11128 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11129
11130         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11131
11132 2002-03-11  Juergen Vigna  <jug@sad.it>
11133
11134         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11135         plainly wrong.
11136         (resizeCurrentBuffer): force also the insets to resize themselfes.
11137         (moveCursorUpdate): fixed up for InsetText.
11138
11139 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11140
11141         * commandtags.h:
11142         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11143         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11144         value of Dialogs::tooltipsEnabled().
11145         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11146
11147 2002-03-08  Juergen Vigna  <jug@sad.it>
11148
11149         * BufferView_pimpl.C (updateInset): update inset inside inset also
11150         if it isn't inside theLockingInset().
11151
11152 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * buffer.C (asciiParagraph): redo some of the word and line length
11155         handling.
11156         (getLists): look for Caption instead of caption.
11157
11158 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * buffer.C (Buffer): initialize niceFile to true
11161         (makeLaTeXFile):
11162         (makeLinuxDocFile):
11163         (makeDocBookFile): make sure niceFile is true on exit
11164
11165 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11166
11167         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11168
11169 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11170
11171         * LyXSendto.C: remove.
11172         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11173         * lyx_gui.C: remove now-redundant comment.
11174         * ColorHandler.h: remove forward declaration of class WorkArea.
11175         * lyxfunc.C: remove #include "WorkArea.h".
11176
11177 2002-03-07  Juergen Vigna  <jug@sad.it>
11178
11179         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11180         got moved away with the DEPM and also set the inset_owner always
11181         right which before could have been omitted.
11182
11183 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11184
11185         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11186         wanted layout is not found.
11187
11188 2002-03-07  Juergen Vigna  <jug@sad.it>
11189
11190         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11191
11192 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * paragraph.C (breakParagraph): use default layout not layout of
11195         prev paragraph.
11196         (Paragraph): clear ParagraphParameters.
11197
11198 2002-03-06  Juergen Vigna  <jug@sad.it>
11199
11200         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11201         otherwise it would not be a valid lenght. Fixed a special case in
11202         the minipage compatibility read where we end the document with a
11203         minipage.
11204
11205         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11206         was set as it could be 0 for InsetTexts first entry.
11207
11208 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * paragraph.C (writeFile): if layout is empty write out
11211         defaultLayoutName().
11212
11213         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11214         file without named layout we set layout to defaultLayoutName().
11215
11216 2002-03-06  Juergen Vigna  <jug@sad.it>
11217
11218         * CutAndPaste.C (copySelection): set layout for new paragraph.
11219
11220         * text.C (prepareToPrint): leave ERT inset left aligned
11221         (leftMargin): don't indent paragraphs inside ERT insets
11222
11223 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * paragraph.C (breakParagraph): dont call clear do the work manually
11226
11227         * paragraph.[Ch] (clear): remove function
11228
11229 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * paragraph.C (Paragraph): dont call clear, the work has already
11232         been done.
11233
11234         * lyxtextclass.C (operator): assert if n is empty
11235
11236         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11237         work manually instead.
11238
11239 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * BufferView_pimpl.C: protect selectionLost against text == 0
11242
11243 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11244
11245         * text.C (breakParagraph): fix a setting layout to '0' problem.
11246
11247 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11248
11249         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11250         final location of file, for the included files, and graphics.
11251
11252 2002-03-05  Juergen Vigna  <jug@sad.it>
11253
11254         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11255
11256 2002-03-04  Juergen Vigna  <jug@sad.it>
11257
11258         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11259
11260         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11261         last column of multicolumn cells.
11262         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11263
11264 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11265
11266         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11267         file if it doesn't go to a temporary file.
11268
11269         * buffer.C (sgmlOpenTag):
11270         (sgmlCloseTag):  remove extra newline insertion.
11271
11272 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * text.C (getRowNearY): comment out debug msg
11275
11276 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11277
11278         * text2.C: first -> first_y
11279
11280         * text.C (getRowNearY): add some attemts at a possible
11281         optimization, not working.
11282
11283         * tabular.[Ch]: add BufferParams to several function so that newly
11284         created paragraph can be initialized to he default layotu for the
11285         buffers textclass.
11286
11287         * tabular-old.C (ReadOld): add buf->params to call of Init
11288
11289         * screen.C: rename text->first to text->first_y
11290
11291         * paragraph.C (breakParagraph): always set layout in the broken
11292         paragraph
11293
11294         * lyxtextclass.C (Read): remove lowercase
11295         (hasLayout): ditto
11296         (operator): ditto
11297         (delete_layout): ditto
11298
11299         * lyxtext.h: rename first -> first_y
11300
11301         * lyxlayout.C (Read): remove lowercase
11302         (name): ditto
11303         (setName): ditto
11304         (obsoleted_by): ditto
11305
11306         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11307
11308         * buffer.C (insertErtContents): add params are to InsetERT
11309         (parseSingleLyXformat2Token): add code to check if a paragraphs
11310         layout really exist.
11311         (parseSingleLyXformat2Token): add params to several inset
11312         constructors
11313         (asciiParagraph): remove lowercase, do the layout comparisons with
11314         no_case
11315
11316         * BufferView_pimpl.C (cursorNext): first -> first_y
11317         (resizeCurrentBuffer): first -> first_y
11318         (updateScrollbar): first -> first_y
11319         (scrollCB): first -> first_y
11320         (workAreaMotionNotify): first -> first_y
11321         (workAreaButtonPress): first -> first_y
11322         (checkInsetHit): first -> first_y
11323         (cursorPrevious): first -> first_y
11324         (cursorNext): first -> first_y
11325         (Dispatch): add buffer_->params to severl inset contructors
11326
11327 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * lyxlayout.C (Read): remove some debug info that I forgot.
11330
11331         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11332         clean up the code slightly.
11333         (makeLinuxDocFile): ditto
11334         (makeDocBookFile): ditto
11335
11336         * text2.C: layout as string
11337
11338         * text.C: layout as string
11339
11340         * paragraph_pimpl.C: layout as string
11341
11342         * paragraph.[Ch]: layout as string
11343
11344         * lyxtextclasslist.[Ch]: layout as string
11345
11346         * lyxtextclass.[Ch]: layout as string
11347
11348         * lyxtext.h: layout as string
11349
11350         * lyxlayout.[Ch]: layout as string
11351
11352         * lyx_cb.C: layout as string
11353
11354         * bufferview_funcs.C: layout as string
11355
11356         * bufferparams.C: layout as string
11357
11358         * buffer.C: layout as string
11359
11360         * LyXView.[Ch]: layout as string
11361
11362         * LaTeXFeatures.[Ch]: layout as string
11363
11364         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11365
11366         * BufferView_pimpl.C: change current_layout to string, remove
11367         lyx::layout_type.
11368         (Dispatch):
11369         (smartQuote):
11370         (insertInset):
11371         (workAreaButtonRelease): layout as string
11372
11373         * BufferView2.C (unlockInset): adjust
11374
11375         * vspace.C (asLatexCommand): use an explict temp variable.
11376
11377 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * Makefile.am: use FRONTEND_*
11380
11381 2002-03-01  Juergen Vigna  <jug@sad.it>
11382
11383         * tabular.C (SetWidthOfMulticolCell): changed to something better
11384         I hope but still work in progress.
11385         (recalculateMulticolumnsOfColumn): renamed function from
11386         recalculateMulticolCells as it is more appropriate now.
11387         (SetWidthOfCell): calculate multicols better.
11388
11389 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11392
11393         * lyxfunc.C (processKeySym): print sequence also if it is
11394         `deleted' (complete)
11395
11396         * kbsequence.C (print): print sequence even if it is deleted
11397         (complete would be a better word, actually).
11398
11399         * lyxfunc.C (dispatch): print complete options after a prefix key
11400
11401         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11402
11403 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11404
11405         * text2.C (setCharFont): eliminate setCharFont code duplication.
11406
11407 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11410         LFUN_TABULAR_FEATURE (bug #177)
11411
11412 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11413
11414         * Makefile.am: remove figure.h
11415
11416 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11417
11418         * Bufferview_pimpl.C:
11419         * CutAndPasteC:
11420         * LaTeX.C:
11421         * LyXSendto.C:
11422         * buffer.C:
11423         * bufferlist.C:
11424         * converter.C:
11425         * language.C:
11426         * lyxfunc.C:
11427         * lyxvc.C:
11428         * paragraph.C:
11429         * text.C:
11430         * text2.C: remove #include "lyx_gui_misc.h".
11431
11432         * LaTeX.C: added #include <cstdio>
11433
11434 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11437         that the paragraph following this one can have.
11438
11439         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11440
11441         * vspace.C (asLatexCommand): fix bogus gcc warning
11442
11443         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11444
11445 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11446
11447         * text2.C (setLayout): get rid of redundant code
11448
11449 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11450
11451         * text2.C (incDepth): make sure depth cannot be increased beyond
11452         reasonable values.
11453
11454 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11455
11456         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11457         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11458
11459         * PainterBase.h (image):
11460         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11461         a LyXImage const *.
11462
11463 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * BufferView.C:
11466         * BufferView.h:
11467         * BufferView_pimpl.C:
11468         * BufferView_pimpl.h:
11469         * LaTeXFeatures.C:
11470         * LyXAction.C:
11471         * LyXView.C:
11472         * Makefile.am:
11473         * UpdateList.h:
11474         * UpdateList.C:
11475         * buffer.C:
11476         * figure.h:
11477         * figureForm.C:
11478         * figureForm.h:
11479         * figure_form.C:
11480         * figure_form.h:
11481         * lyx_cb.C:
11482         * lyx_gui.C:
11483         * lyx_gui_misc.C:
11484         * lyxfunc.C:
11485         * sp_base.h:
11486         * sp_ispell.h:
11487         * sp_pspell.h:
11488         * sp_spell.C: remove fig inset, and the crap house of
11489           cards that follows it
11490
11491 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * Makefile.am:
11494         * lyxserver.C:
11495         * os2_defines.h:
11496         * os2_errortable.h:
11497         * nt_defines.h: move .h into support/
11498
11499         * vms_defines.h: remove
11500
11501         * WorkArea.C: add space in debug output
11502
11503         * text2.C:
11504         * paragraph.C:
11505         * buffer.C: add WITH_WARNINGS
11506
11507         * vc-backend.h:
11508         * vc-backend.C:
11509         * bufferlist.C: s/retrive/retrieve/, add docs
11510
11511         * vspace.h:
11512         * vspace.C:
11513         * kbmap.h:
11514         * lyxlength.h:
11515         * lyxgluelength.h:
11516         * length_common.h:
11517         * chset.h:
11518         * chset.C: add docs
11519
11520         * lyxgui.C: add ID to X error handler
11521
11522         * lyxtestclass.c: fix typo
11523
11524 2002-02-26  Juergen Vigna  <jug@sad.it>
11525
11526         * tabular_funcs.C (write_attribute): changed so that some default
11527         attributes are not written at all.
11528         (getTokenValue): set default values before trying to read the
11529         value so we have the return value always set as default if we don't
11530         find the token we search for.
11531
11532         * tabular.C (Write): write bools as bools not as strings!
11533
11534 2002-02-22  Juergen Vigna  <jug@sad.it>
11535
11536         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11537         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11538
11539         * text.C (leftMargin): don't add an indent for paragraphs inside
11540         tabular cells (fix #208).
11541
11542 2002-02-21  José Matos  <jamatos@fep.up.pt>
11543
11544         * tabular.C (docBook): fixed support for long tables.
11545
11546 2002-02-20  Juergen Vigna  <jug@sad.it>
11547
11548         * text2.C (getFont): get the drawing font of the Inset if this
11549         paragraph is inside an inset (only important for InsetERT for now).
11550
11551         * buffer.C (insertErtContents): use new lanugage params in ERT
11552         constructor.
11553
11554         * CutAndPaste.C: commenting out seemingly uneeded code.
11555
11556 2002-02-19  Allan Rae  <rae@lyx.org>
11557
11558         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11559         Iterators might be simple to use but they also get invalidated.
11560         (removeAutoInsets): renamed saved cursor tracking variables and added
11561         some comments to clarify what everything does.
11562
11563 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * Chktex.C:
11566         * LaTeX.C:
11567         * LyXSendto.C:
11568         * converter.C:
11569         * lyx_cb.C:
11570         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11571         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11572
11573         * lyxfunc.C:
11574         * vc-backend.h: remove #include "support/syscall.h"
11575
11576         * LaTeX.C:
11577         * LyXSendto.C:
11578         * converter.C: rearrange #includes in Lars' approved fashion.
11579
11580         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11581         forward declare class Timeout in the header file.
11582
11583         * XFormsView.C: changes due to the above.
11584
11585         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11586         similar to LyXView.
11587
11588         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11589         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11590
11591 2002-02-18  José Matos  <jamatos@fep.up.pt>
11592
11593         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11594         insets contents.
11595
11596 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11597
11598         * a lot of small ws changes
11599         * add a lot of using std::XXX
11600         * use std construcs some places where approp.
11601         * use some exisint stuff from lyxfunctional where approp.
11602         * Make file changes to use partial linking (lets test this now...)
11603
11604 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11605
11606         * Chktex.C:
11607         * buffer.C:
11608         remove #include "support/syscontr.h" as it's redundant. Always has been.
11609
11610         * Chktex.C:
11611         * LaTeX.C:
11612         * LyXSendto.C:
11613         * converter.C:
11614         * lyx_cb.C:
11615         * vc-backend.C:
11616         change Systemcalls::System to Systemcalls::Wait and
11617         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11618         No change of functionality, just reflects the stripped down Systemcalls
11619         class.
11620
11621 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11622
11623         * debug.[Ch]: add a GRAPHICS type to the enum.
11624
11625 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11626
11627         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11628
11629         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11630         there is an inset.
11631
11632 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11633
11634         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11635         match the changes below.
11636
11637         * text2.C (toggleInset): if there is not editable inset at cursor
11638         position, try to see if cursor is _inside_ a collapsable inset
11639         and close it.
11640
11641 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11642
11643         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11644         document menu has a nice checkbox
11645
11646 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11647
11648         * lyxlength.C (asLatexString): change PW to output as percent of
11649         \textwidth.
11650
11651         * lengthcommon.C: change '%' to 't%'
11652
11653         * lyxfunc.C (dispatch): a few comments from Martin
11654
11655 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * WorkArea.h:
11658         * WorkArea.C:
11659         * BufferView_pimpl.h:
11660         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11661           the X selection.
11662
11663 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11664
11665         * vspace.C (inPixels): fix compiler warning
11666
11667 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * lyxfunc.C (getStatus): fix status message for disabled commands.
11670
11671 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * BufferView_pimpl.C: fix crash on close buffer
11674         during selection (#227)
11675
11676 2002-01-27  Herbert Voss  <voss@lyx.org>
11677
11678         * buffer.C: link old Figure to new graphic inset
11679
11680 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11681
11682         * FontLoader.C (getFontinfo): Change the latex font names in order
11683         to match the names of type1inst.
11684
11685 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11688
11689         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11690         (extchanged): ditto
11691         (ext_exist): ditto
11692         (remove_files_with_extension): ditto
11693         (remove_file): ditto
11694         (write): ditto
11695
11696         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11697         document is smaller than the work area height. Do not initialize
11698         static variables to 0.
11699
11700 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11701
11702         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11703
11704         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11705         LFUN_LAYOUT_PARAGRAPHS.
11706
11707         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11708         tabular. It is possible to provide a possible cell, which will
11709         typically be the actcell from the corresponding insettabular
11710
11711         * lyxfunc.C (getStatus): small cleanup; disable
11712         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11713         true
11714
11715 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11716
11717         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11718
11719         * paragraph.C (startTeXParParams):
11720         (endTeXParParams): new methods. The LaTeX code to
11721         start/end paragraph formatting
11722         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11723         empty (fixes bug #200)
11724
11725         * vspace.C (inPixels): adapt to the change below
11726         (inPixels): [later] more cleanups (remove unused variables)
11727
11728         * lyxlength.C (inPixels): change to use a width and a height as
11729         parameter.
11730
11731 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11734         Replaced with \paperwidth
11735
11736         * DepTable.C (insert): add std:: qualifier
11737
11738 2002-01-18  Allan Rae  <rae@lyx.org>
11739
11740         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11741         updated also?
11742
11743         * text.C (drawInset): Turned out I didn't know enough about how
11744         rebreaking worked.  This fixes most of the redraw problems.  I see
11745         an occasional cursor trail when a line is broken now and the cursor
11746         placement can seem out by a few pixels also after a rebreak.
11747
11748 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * buffer.C (parseSingleLyXformat2Token): update because minipage
11751         width is now a LyXLength
11752
11753         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11754
11755         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11756         math insets
11757
11758 2002-01-17  Juergen Vigna  <jug@sad.it>
11759
11760         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11761
11762         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11763         is set correctly and the inset is updated correctly.
11764
11765 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11768         the beginning of the loop.
11769
11770 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * lyxrc.C: improve help for use_scalable_fonts
11773
11774 2002-01-17  Allan Rae  <rae@lyx.org>
11775
11776         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11777
11778 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11781         make sure to set their inset_owner to the right value (bug #171)
11782
11783 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11784
11785         * DepTable.h
11786         * DepTable.C: Implement mtime checking to reduce time spent doing
11787         CRCs.
11788
11789 2002-01-16  Juergen Vigna  <jug@sad.it>
11790
11791         * tabular.C (GetAdditionalHeight): one of error fixed.
11792
11793         * lyxrc.C (output): small fix in writing use_pspell.
11794
11795 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11796
11797         * sp_base.h: #include LString.h
11798
11799 2002-01-16  Allan Rae  <rae@lyx.org>
11800
11801         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11802         Can someone check this please?
11803
11804         * text.C (drawInset): It was possible that p.row would be removed by
11805         breakAgainOneRow upsetting a few other settings.  There may be another
11806         small tweak possible by setting need_break_row = 0 when p.row has been
11807         removed but I don't know enough about the logic here.
11808
11809 2002-01-15  Allan Rae  <rae@lyx.org>
11810
11811         * text.C (insertChar): removed conditional truism.
11812
11813         * BufferView2.C (removeAutoInsets): More tweaks.
11814         cur_par_prev could be a stray pointer.  Check for trailing empty line
11815         in case last line was cur_par and only had an error inset on it.
11816
11817 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11818
11819         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11820         absolute
11821
11822         * vc-backend.C (most methods):
11823         * exporter.C (Export):
11824         * converter.C (convert):
11825         (runLaTeX):
11826         * LyXSendto.C (SendtoApplyCB):
11827         * lyxfunc.C (dispatch):
11828         (menuNew):
11829         (open):
11830         (doImport):
11831         * lyx_cb.C (AutoSave):
11832         (InsertAsciiFile):
11833         * BufferView_pimpl.C (MenuInsertLyXFile):
11834         * buffer.C (runChktex): use Buffer::filePath().
11835
11836         * buffer.h: rename filename to filename_; rename filepath to
11837         filepath_ and make it private
11838         (filePath): new method
11839
11840         * buffer.C (writeFile): use fileName()
11841         (getLatexName):
11842
11843         * lyx_main.C (init): fix starting  of LyX when the binary is a
11844         link from so,ewhere else.
11845
11846         * minibuffer.C: include <cctype> for isprint
11847
11848 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11849
11850         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11851         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11852         name clash with InsetCollapsable's width function.
11853
11854 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11855
11856         * lastfiles.C: include <iterator>
11857
11858 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11859
11860         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11861         std::count.
11862
11863         * buffer.C (makeLaTeXFile): ditto.
11864         Also make loop operation more transparent.
11865
11866 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11867
11868         * ToolbarDefaults.C: remove trailing comma closing namespace.
11869
11870         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11871
11872         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11873         as in WorkArea.
11874
11875         * trans.C (Load): comment out unused variable, allowed.
11876
11877 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11878
11879         * minibuffer.[Ch] (append_char): new method to recieve input from the
11880         drop-down completion browser. If a key was pressed, then recieve this
11881         char and append it to the existing string.
11882         (peek_event): modify the positioning data passed to the completion
11883         browser so that it can be placed above the minibuffer rather than below.
11884 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11885
11886         * LyXAction.C (init): alloe error-next for readonly documents.
11887
11888         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11889         count.
11890
11891 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * bufferlist.C (readFile): create the buffer _after_ checking that
11894         the file exists.
11895
11896         * lyxfunc.C (verboseDispatch): fix handling of arguments
11897
11898         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11899
11900         * lyxrc.C: use string::erase() instead of initializing to "".
11901
11902
11903 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * BufferView_pimpl.h:
11906         * BufferView_pimpl.C:
11907         * WorkArea.h:
11908         * WorkArea.C:
11909         * text2.C: tell X when we have made a selection for copying
11910
11911 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11912
11913         * BufferView_pimpl.C (MenuInsertLyXFile):
11914         * lyxfunc.C (menuNew):
11915         (open):
11916         (doImport): add shortcuts to directory buttons
11917
11918         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11919         open a float)
11920
11921         * lyxfunc.C (setStatusMessage):
11922         (getStatusMessage): new methods
11923         (getStatus):use setStatusMessage instead of setErrorMessage
11924         (dispatch): when function is disabled, set error message here
11925         [instead of in getStatus previously]
11926
11927         * BufferView_pimpl.C (workAreaButtonRelease): update
11928         toolbar/menubar here too.
11929
11930 2002-01-13  Allan Rae  <rae@lyx.org>
11931
11932         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11933         Now seems indestructible.  Remaining task is to audit all other
11934         code affected by deleteEmptyParagraphMechanism.  One small quirk
11935         left is that an empty document with an error in the preamble can
11936         be made to report an error but no error box appears.  I don't know
11937         where it goes.
11938         (removeAutoInsets): Improved comments.
11939
11940 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * Thesaurus.h:
11943         * Thesaurus.C: update for Aiksaurus 0.14
11944
11945 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * text2.C (firstParagraph): removed member function, all uses
11948         replaces with ownerParagraph
11949         (redoParagraphs): here
11950         (updateInset): here
11951         (toggleAppendix): here
11952         * BufferView2.C (insertErrors): here
11953         (setCursorFromRow): here
11954
11955 2002-01-13  Allan Rae  <rae@lyx.org>
11956
11957         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11958         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11959         There is still a way to segfault this although you may have to do this
11960         multiple times: Have an InsetERT with an unknown command in it.
11961         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11962         <down-arrow>, <Enter> again, View->DVI, BANG!
11963
11964         * text2.C (setCursor):
11965         (deleteEmptyParagraphMechanism):
11966         * lyxtext.h (setCursor):
11967         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11968         Making use of the return value may help fix other bugs.
11969
11970 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11973
11974         * LyXView.C (updateMenubar): call MenuBar::update here
11975         (updateToolbar): but not here
11976         (showState): do not update toolbar/menubar
11977
11978         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11979         should need to care about that.
11980
11981         * lyxfunc.C (verboseDispatch): simplify a bit
11982         (getStatus): have a version which takes a pseudoaction, and
11983         another which requires a (kb_action,string).
11984
11985         * LyXAction.C (retrieveActionArg): make it work also when action
11986         is not a pseudo-action.
11987         (getActionName): simplify a bit
11988         (helpText):
11989
11990 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11991
11992         * lyxfunc.C (verboseDispatch): new families of methods with
11993         several ways to specify a command and a bool to indicate whether
11994         the command name and shortcut should be displayed in minibuffer
11995         (eventually, we could extend that to a finer bitmask like
11996         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11997         (dispatch): the pristine dispatch command which just, well,
11998         dispatchs! Note it still sets its result to minibuffer; I'm not
11999         sure we want that.
12000
12001         * lyxfunc.h: remove setHintMessage
12002
12003         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12004
12005 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * BufferView_pimpl.C (specialChar): delete new inset if we have
12008         not been able to insert it.
12009
12010         * kbmap.C: revert to using int instead of kb_action, since all we
12011         are dealing with is pseudo-actions.
12012
12013         * LyXAction.C (searchActionArg): change to return int instead of
12014         kb_action, since the result is a pseudoaction.
12015
12016 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12017
12018         * buffer.C (insertErtContents): Fix (partially) the font bug.
12019
12020 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12021
12022         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12023         as the other one is broken on my machine!
12024
12025 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12026
12027         * commandtags.h:
12028         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12029
12030 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12031
12032         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12033         reflect their actual use. Provide compatibility code for older lyxrc
12034         files.
12035
12036         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12037         FL_NORMAL_STYLE.
12038         change names of popup font variables in line with the changes to lyxrc.C
12039
12040 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * buffer.C (asciiParagraph): avoid outputing a word twice after
12043         an inset.
12044
12045         * lyxrc.C (getDescription): document that document_path and
12046         template_path can be empty.
12047
12048 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12049
12050         * LaTeXFeatures.C (getMacros):
12051         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12052
12053         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12054
12055         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12056         getPackages.
12057         (getPackages): rename feature "floats" to "float". Use an array to
12058         iterate over 'simple' features (i.e. just a \usepackage). Add
12059         handling of "amsmath" (renamed from "amsstyle").
12060
12061 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12062
12063         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12064         features list.
12065
12066 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12067
12068         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12069         FuncStaus::FuncStatus & FuncStaus::some_method().
12070
12071 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12072
12073         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12074         of the func_satus stuff. Edited and massaged in various ways by
12075         JMarc.
12076
12077         * lyxfunc.C (getStatus): use FuncStatus
12078
12079 2002-01-08  Juergen Vigna  <jug@sad.it>
12080
12081         * text.C (nextBreakPoint): use function Inset::isChar().
12082
12083         * paragraph.C (TeXOnePar): use function
12084         Inset::forceDefaultParagraphs.
12085
12086         * buffer.C (latexParagraphs): use function
12087         Inset::forceDefaultParagraphs.
12088
12089 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12090
12091         * lyx_gui.C (init): set the style of the menu popups to
12092         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12093
12094 2002-01-07  Juergen Vigna  <jug@sad.it>
12095
12096         * text.C (setHeightOfRow): small fix
12097         (prepareToPrint): don't look at alignment if we don't have the place
12098         for doing it.
12099
12100 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12101
12102         * box.C: New file. Move the Box methods and functions out of box.h,
12103         following Lars' suggestion.
12104
12105 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12106
12107         * box.h: #include "support/LOstream.h", needed for inlined function.
12108
12109         * lyxtextclass.C:
12110         * lyxtextclasslist.C: added some using std declarations.
12111
12112 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * box.h: make signed dimensions to allow insets wider than
12115           the screen (bug #162)
12116
12117         * BufferView_pimpl.C: add some insetHit debug
12118
12119 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * vc-backend.C: add FIXME
12122
12123 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12124
12125         * lyxfunc.C (getStatus): enable code for showing math font status
12126         in toolbar/menu.
12127
12128 2002-01-07  Juergen Vigna  <jug@sad.it>
12129
12130         * text.C (nextBreakPoint): removed debug output not needed anymore.
12131
12132 2002-01-06  Juergen Vigna  <jug@sad.it>
12133
12134         * text.C (nextBreakPoint): fixed up this function we had this bug
12135         since ever but now hopefully we break row better.
12136         (insertChar): we have to check if an inset is the next char as it
12137         could now happen that a large inset is causing a break.
12138
12139 2002-01-05  Juergen Vigna  <jug@sad.it>
12140
12141         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12142         if it doesn't like to be drawed.
12143
12144 2002-01-04  Juergen Vigna  <jug@sad.it>
12145
12146         * BufferView2.C (lockInset): forgot to set a cursor.
12147
12148         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12149
12150 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12151
12152         * FormMathsPanel.C:
12153         * FormMathsPanel.h
12154         * MathsSymbols.C:
12155         * form_maths_panel.C:
12156         * form_maths_panel.h:
12157         * form_maths_panel.fd: implemented sub- and super- buttons in math
12158         panel.
12159
12160         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12161         (or ^ space) to be used as in TeX (req'd by André).
12162
12163         * lyxfunc.C: Allow ^ and _ again to be used both as
12164         super/subscript (mathed) and as themselves (in text).
12165
12166 2002-01-03  Allan Rae  <rae@lyx.org>
12167
12168         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12169         "LyX" or the filename of the current buffer if it has one.  This is a
12170         modified form of John Levon's patch.
12171
12172         * XFormsView.C (setWindowTitle): also set icon title.
12173
12174         * LyXView.h (setWindowTitle): signature changed.
12175         * XFormsView.h (setWindowTitle): ditto.
12176
12177 2002-01-02  Juergen Vigna  <jug@sad.it>
12178
12179         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12180
12181 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12182
12183         * screen.C (topCursorVisible): introduce a temp var for
12184         text->cursor.row(), handle the case where this row is null. (kindo
12185         hachish)
12186
12187         * text2.C (setCursor): add a couple of asserts.
12188
12189         * paragraph.h (inset_iterator): add -> operator
12190
12191         * paragraph.[Ch] (autoDeleteInsets): remove member function
12192
12193         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12194         cursor pos correctly and handle inset deletion by itself.
12195         (insertErrors): move iterator declaration out of for expression
12196
12197         * lyxtextclass.C: add <algorithm>
12198
12199         * Makefile.am: added the new files to sources, removed layout.C
12200
12201         * layout.C: removed file
12202
12203         * layout.h: remove LYX_DUMMY_LAYOUT
12204
12205         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12206         layout.
12207
12208         * lyxlayout.[Ch]:
12209         * lyxtextclass.[Ch]:
12210         * lyxtextclasslist.[Ch]: new files
12211
12212         * include order changes to a lot of files, also changes because of
12213         the six new files.
12214
12215 2001-12-27  Juergen Vigna  <jug@sad.it>
12216
12217         * buffer.C (asciiParagraph): more fixes.
12218
12219         * tabular.C (ascii): make ascii export support export of only the
12220         data separated by a column-delimiter.
12221         (ascii): better support for ascii export.
12222
12223         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12224
12225 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12226
12227         * tabular_funcs.C: use a "using std::getline" instead of the
12228         previous fix from Angus (necessary for cxx + lyxstring)
12229
12230 2001-12-24  Juergen Vigna  <jug@sad.it>
12231
12232         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12233
12234         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12235         problems. First check a minipage also if we have some ert-contents
12236         (not only on par->size(), second set the right depth of the paragraph
12237         on the relink to the root-paragraph-list!
12238
12239         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12240         which then did not anymore update the main paragraphs on undo/redo!
12241
12242 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12243
12244         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12245         code. Support all font-changing funcs (even those which are not in
12246         menu currently). Support for reporting font settings in
12247         mathed (disabled until Andre provides a function on mathed's side).
12248
12249         * func_status.h (toggle): small helper function to set toggle
12250         state on a flag.
12251
12252 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12253
12254         * tabular_funcs.C: getline -> std::getline
12255
12256 2001-12-21  Juergen Vigna  <jug@sad.it>
12257
12258         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12259         accessed and could be 0 (I couldn't generate this but it seems
12260         Michael could!).
12261
12262 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12265         * tabular_funcs.h: here and include iosfwd
12266
12267 2001-12-20  Juergen Vigna  <jug@sad.it>
12268
12269         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12270         inside inset but undo_par was.
12271
12272 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12273
12274         * Thesaurus.C: always include <config.h> in sources.
12275
12276         * Painter.h:
12277         * lyxlookup.h:
12278         * box.h: do not include <config.h> in header files
12279
12280         * text.C (paintLastRow): remove unused variable
12281
12282         * text.C (transformChar):
12283         (insertChar):
12284         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12285
12286         * Painter.C (text):
12287         * font.C (width): rewrite to use uppercase() instead of
12288         islower/toupper.
12289
12290         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12291
12292 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * lyxfind.C: clean up of find failure position change
12295
12296 2001-12-20  Juergen Vigna  <jug@sad.it>
12297
12298         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12299
12300         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12301         (TeXRow): added to LaTeX a single tabular row.
12302         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12303         (Latex): simplified and finally good LT-h/f support.
12304         (various_functions): just small adaptions for LT-h/f support.
12305
12306         * tabular_funcs.[hC]: added and moved here all not classfunctions
12307         of LyXTabular.
12308
12309 2001-12-19  Juergen Vigna  <jug@sad.it>
12310
12311         * tabular.[Ch]: better support for longtabular options (not finished
12312         yet!)
12313
12314 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12315
12316         * text.C (paintLastRow): use the label font instead of the font of
12317         the last character to compute the size of *_BOX. This makes more
12318         sense and avoids a crash with empty paragraphs.
12319         Use Painter::rectangle to draw EMPTY_BOX.
12320
12321 2001-12-19  Juergen Vigna  <jug@sad.it>
12322
12323         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12324         the paragraphs if the replaced paragraph is not the first one!
12325         Tried to delete not used paragraphs but does not work yet so for
12326         now it's inside #ifdef's and by default off!
12327
12328 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12329
12330         * MenuBackend.C: include "lyx_main.h" instead of declaring
12331         lastfiles (actually was declared as LastFiles* instead of a
12332         scoped_ptr).
12333
12334 2001-12-17  Juergen Vigna  <jug@sad.it>
12335
12336         * tabular.C (AppendColumn): applied John's fix
12337
12338 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * BufferView.h:
12341         * BufferView.C:
12342         * BufferView_pimpl.h:
12343         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12344
12345         * Makefile.am:
12346         * box.h: new start of class for above
12347
12348         * lyxfunc.C: ignore space-only minibuffer dispatches.
12349           Show the command name when it doesn't exist
12350
12351         * minibuffer.C: don't add empty lines to the history
12352
12353         * minibuffer.C: add a space on dropdown completion
12354
12355 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * text.C: fix line above/below drawing in insets
12358
12359 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12360
12361         * lyxlength.C (LyXLength): Initialize private variables.
12362
12363 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12364
12365         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12366         when inserting error insets.
12367
12368 2001-12-13  Juergen Vigna  <jug@sad.it>
12369
12370         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12371         actually sometimes the before-paragraph.
12372         (setUndo): don't clear the redostack if we're not actually undoing!
12373
12374 2001-12-06  Juergen Vigna  <jug@sad.it>
12375
12376         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12377         and fixed redoing of main paragraph, so we can use it now ;)
12378
12379         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12380
12381 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12382
12383         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12384         Juergen's request
12385
12386 2001-12-13  André Pönitz <poenitz@gmx.net>
12387
12388         * undostack.[Ch]:
12389         * undo_func.C: minor cleanup
12390
12391 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12392
12393         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12394         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12395         font in urw-fonts package which is marked as -urw-fontspecific and
12396         does not work (incidentally, changing the encoding in the
12397         fonts.dir of this package to -adobe-fontspecific fixes the
12398         problem).
12399
12400         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12401         is a crash when undoing first paragraph (Juergen, please take a
12402         look). THis does not mean the undo fix is wrong, just that it
12403         uncovers problems.
12404
12405         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12406         the (Paragraph*) version when needed instead of duplicating the
12407         code.
12408
12409         * text.C (workWidth): use Inset::parOwner to find out where the
12410         inset has been inserted. This is a huge performance gain for large
12411         documents with lots of insets. If Inset::parOwner is not set, fall
12412         back on the brute force method
12413
12414         * paragraph_pimpl.C (insertInset):
12415         * paragraph.C (Paragraph):
12416         (cutIntoMinibuffer): set parOwner of insets when
12417         inserting/removing them
12418
12419         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12420
12421 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12422
12423         * commandtags.h:
12424         * LyXAction.C:
12425         * lyx_main.C:
12426         * lyxfunc.C:
12427         * mathed/formulabase.C:
12428         * mathed/math_cursor.[Ch]:
12429         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12430
12431
12432 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * lyxlength.[Ch] (operator!=): new function
12435
12436 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12437
12438         * text.C (workWidth): use Inset::parOwner to find out where the
12439         inset has been inserted. This is a huge performance gain for large
12440         documents with lots of insets. If Inset::parOwner is not set, fall
12441         back on the brute force method
12442
12443         * paragraph_pimpl.C (insertInset):
12444         * paragraph.C (Paragraph):
12445         (cutIntoMinibuffer): set parOwner of insets when
12446         inserting/removing them
12447
12448         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12449
12450 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * tabular-old.C (getTokenValue):
12453         * tabular.C (getTokenValue):
12454         (write_attribute): new versions for LyXLength
12455         (everywhere): adjust the use of widths
12456
12457         * tabular.h: change the type of widths from string to LyXLength
12458
12459 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12460
12461         * paragraph.C: fixed missing line number count when exporting
12462         Environments to LaTeX file
12463
12464         * buffer.C: added informational message for checking line numbers.
12465
12466 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12469         paragraph, do the 'double space' part, but not the 'empty
12470         paragraph' one.
12471
12472         * text.C (workWidth): small optimization
12473         (getLengthMarkerHeight): use minimal size for negative lengths.
12474
12475 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12476
12477         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12478
12479         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12480
12481 2001-12-11  André Pönitz <poenitz@gmx.net>
12482
12483         * FontLoader.C:
12484         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12485
12486 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * text2.C: keep selection on a setFont()
12489
12490 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * lyx_cb.C: another bv->text misuse, from insert label
12493
12494 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * kbsequence.h:
12497         * kbsequence.C: re-instate nmodifier mask
12498
12499 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12500
12501         * lyx_main.h: make lyxGUI private.
12502
12503 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * lyxfind.C: place the cursor correctly on failed search
12506
12507 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12508
12509         * text.C (getLengthMarkerHeight): for small heights, the arrows
12510         are not always on top/bottom of the text
12511         (drawLengthMarker): smaller arrows; take the left margin in
12512         account; draw also vfills.
12513         (paintFirstRow):
12514         (paintLastRow): remove special code for vfill and standard spaces,
12515         since everything is handled in drawLengthMarker now.
12516
12517 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * buffer.C (insertErtContents): try to handle font and language
12520         interaction a bit better.g
12521
12522         * ColorHandler.C (updateColor): change the hash to cover the whole
12523         LColor enum, ws cleanup
12524         (getGCLinepars): ditto
12525         (getGCLinepars): only lookup in the linecache once.
12526
12527 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12528
12529         * iterators.C (operator++): Make the iterator more robust
12530
12531         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12532         (John's patch)
12533         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12534
12535 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * lyxtext.h:
12538         * text.C: better added space drawing
12539
12540 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * LyXView.C:
12543         * BufferView2.C: fix layout combo update on inset unlock
12544
12545 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * Makefile.am: don't compile unused files
12548
12549 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * lyxfunc.C:
12552         * commandtags.h:
12553         * LyXAction.C: remove old LFUN_LAYOUTNO
12554
12555 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * paragraph_pimpl.h:
12558         * paragraph_pimpl.C: isTextAt() doesn't need font param
12559
12560 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12561
12562         * lyxlex.h:
12563         * lyxlex.C: little cleanup
12564
12565 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * BufferView_pimpl.C: fix insertAscii for insets
12568
12569 2001-12-05  Juergen Vigna  <jug@sad.it>
12570
12571         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12572         set the right font on the "multi" paragraph paste!
12573
12574 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * trans_decl.h:
12577         * trans_mgr.[Ch]:
12578         * trans.[Ch]:
12579         * lyxgluelength.C:
12580         * lyxlength.C: remove out-commented code.
12581
12582         * BufferView_pimpl:
12583         * CutAndPaste.C:
12584         * DepTable.C:
12585         * buffer.C:
12586         * chset.C:
12587         * lastfiles.C:
12588         * lyxlex.C:
12589         * lyxlex_pimpl.C:
12590         * lyxserver.C:
12591         * screen.C:
12592         * tabular-old.C:
12593         * tabular.C:
12594         * text.C:
12595         * trans_mgr.C:
12596         * vc-backend.C: change "while(" to "while ("
12597
12598         * lyxlength.[Ch]: add zero function to check if length is zero or
12599         not
12600         * lyxgluelength.C: use it
12601
12602 2001-12-05  Allan Rae  <rae@lyx.org>
12603
12604         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12605         Works for 2.95.3, from what I understand of Garst's reports this should
12606         work for other g++ versions.  We're screwed if the abs(int) definition
12607         changed between bugfix releases of gcc.
12608
12609 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * text.C: fix chapter label offset !
12612
12613 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * lyxtext.h:
12616         * text.C: fix hfill at end of line, clean up
12617
12618 2001-12-04  Juergen Vigna  <jug@sad.it>
12619
12620         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12621         that we force an update of the inset and it's owners if neccessary.
12622
12623 2001-12-03  Juergen Vigna  <jug@sad.it>
12624
12625         * text.C (rowLast): simplified code
12626
12627 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * lyxfunc.C: fix show options on timeout
12630
12631 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * screen.C (topCursorVisible): scroll half a page when the cursor
12634         reached top of bottom of screen
12635
12636 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * minibuffer.C: deactivate on loss of focus
12639
12640 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * vspace.[Ch] (operator!=): add operator.
12643
12644 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * BufferView_pimpl.C: refuse to open an inset when
12647         there's a selection.
12648
12649 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * BufferView_pimpl.C: allow to click on RHS of full row insets
12652
12653 2001-11-30  Juergen Vigna  <jug@sad.it>
12654
12655         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12656         insets for undo reasons.
12657
12658 2001-11-28  André Pönitz <poenitz@gmx.net>
12659
12660         * vspace.[Ch]: cosmetical changes
12661
12662 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * LyXAction.h:
12665         * LyXAction.C:
12666         * lyxfunc.h:
12667         * lyxfunc.C:
12668         * kbmap.h:
12669         * kbmap.C:
12670         * lyxrc.C:
12671         * kbsequence.h:
12672         * kbsequence.C: part re-write of old kb code
12673
12674         * Painter.C:
12675         * WorkArea.C: remove Lgb_bug_find_hack
12676
12677 2001-11-30  José Matos <jamatos@fep.up.pt>
12678
12679         * buffer.C (makeDocBookFile): add a comment to point a hack.
12680         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12681         Fixed a double write of labels.
12682
12683 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12684
12685         * LaTeX.C:
12686         * LaTeX.h Fixed bug in LaTeX class where it would not
12687         re-run latex if no depfiles were changed, but the .dvi was removed.
12688
12689 2001-11-28  André Pönitz <poenitz@gmx.net>
12690
12691         * all the files from the change on 2001/11/26:
12692         use lyx::layout_type instead of LyXTextClass::size_type
12693         use lyx::textclass_type instead of LyXTextClassList::size_type
12694
12695 2001-11-29  Juergen Vigna  <jug@sad.it>
12696
12697         * text.C: added support for paragraph::isFreeSpacing()
12698
12699         * buffer.C: same as above
12700
12701         * paragraph.h: inserted isFreeSpacing() function to enable
12702         FreeSpacing inside InsetERT.
12703
12704         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12705         of the paragraph's in the cut/copy buffer to 0!
12706
12707         * text2.C (removeRow): remove the assert as it can!
12708
12709         * lyxtext.h: added helper function firstRow returning firstrow and
12710         made firstrow private again.
12711
12712         * BufferView2.C (lockInset): don't relock if we're already locked!
12713
12714         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12715         the only paragraph.
12716         (removeRow): added Assert::(firstrow)
12717
12718         * debug.C: forgot to add INSETTEXT here.
12719
12720 2001-11-28  Juergen Vigna  <jug@sad.it>
12721
12722         * sp_spell.C (initialize): changed error text to more general
12723         spellchecker command use (not only ispell!)
12724
12725         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12726
12727         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12728
12729 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * vspace.C: initialise lyxgluelength on failure
12732
12733 2001-11-28  Allan Rae  <rae@lyx.org>
12734
12735         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12736         declaration & definition that looks like a function declaration.
12737
12738 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12739
12740         * BufferView2.C (copy):
12741         (copyEnvironment): do not clear the selection when doing a copy.
12742
12743         * text.C (paintFirstRow): compilation fix
12744
12745 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12746
12747         * tabular.C (Latex): correct line count when writing latex.
12748
12749 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * paragraph_pimpl.h:
12752         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12753           bug a bit
12754
12755 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12756
12757         * text.C:
12758         * LColor.h:
12759         * LColor.C: change vfillline->added_space
12760
12761         * text.C: add markers and text for added space
12762
12763         * vspace.C: fix comment
12764
12765 2001-11-28  André Pönitz <poenitz@gmx.net>
12766
12767         * paragraph.C: whitespace changes
12768         * all the other files from the change on 2001/11/26:
12769         change *::pos_type into lyx::pos_type
12770
12771 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12772
12773         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12774         language of the document when inserting error insets.
12775
12776 2001-11-26  André Pönitz <poenitz@gmx.net>
12777
12778         * BufferView_pimpl.[Ch]:
12779         *       CutAndPaste.C:
12780         * buffer.[Ch]:
12781         * lyxcursor.[Ch]:
12782         * lyxfind.C:
12783         * lyxfunc.C:
12784         * lyxrow.[Ch]:
12785         * paragraph.[Ch]:
12786         * paragraph_pimpl.[Ch]:
12787         * sp_spell.C:
12788         * text.C:
12789         * text2.C: reduce header dependencies, introduce type for positions
12790
12791 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * <various>: change to use Alert.h
12794
12795 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12796
12797         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12798         when encountering an unknown token.
12799         (readLyXformat2): Show an error message if there were unknown tokens.
12800
12801 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12802
12803         * BufferView2.C:
12804         * BufferView_pimpl.C:
12805         * buffer.C:
12806         * paragraph.h:
12807         * text.C:
12808         * text2.C: use par->isInset()
12809
12810 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12811
12812         * paragraph_pimpl.h:
12813         * paragraph_pimpl.C: cleanup
12814
12815 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12816
12817         * text2.C (removeRow):
12818         * text.C (setHeightOfRow): remove useless (and costly) call to
12819         getRow.
12820
12821 2001-11-20  Allan Rae  <rae@lyx.org>
12822
12823         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12824         Now need Inset*::checkInsertChar() to return true for appropriate
12825         cases so that the characters in the minibuffer will actually be
12826         inserted.
12827
12828 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * text.C: change the order of the includes.
12831         (workWidth): initialize it at once.
12832         (workWidth): make maxw unsigned
12833         (setHeightOfRow): remove unused variable (inset)
12834         (selectSelectedWord): remove unused variable (inset)
12835         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12836
12837 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12840         server is not running.
12841         (openConnection):
12842         (closeConnection): add debug info when server is disabled.
12843
12844         * ColorHandler.C (getGCForeground): send debug message to GUI
12845         channel.
12846
12847         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12848
12849         * kbmap.C (bind): modify because return conventions of
12850         kb_sequence::parse have changed.
12851
12852         * kbsequence.C (parse): only ignore spaces and not any stupid
12853         control character. This avoids tests like s[i] <= ' ', which are
12854         guaranteed to fail with 8bit characters and signed chars.
12855         Change return code to string::npos when there have been no error
12856         (0 was a bad idea when error is at first character)
12857
12858 2001-11-14  José Matos  <jamatos@fep.up.pt>
12859
12860         * buffer.h:
12861         * buffer.C (simpleDocBookOnePar): removed unused argument.
12862
12863 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12864
12865         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12866         insets which are part of a word. Paragraph::isLetter takes care of
12867         that now. Use Paragraph::isInset to identify insets.
12868         (selectSelectedWord): do not test for hyphenation break.
12869
12870         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12871         that protected spaces are considered as spaces.
12872
12873         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12874         Inset::isLetter.
12875
12876 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * lyxserver.h:
12879         * lyxserver.C: fix it. and small cleanup.
12880
12881 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * BufferView_pimpl.C: use inline helpers
12884
12885         * LaTeXFeatures.h:
12886         * LaTeXFeatures.C: fix typos
12887
12888         * Spacing.h:
12889         * Spacing.C: move spacing_string into class
12890
12891         * ToolbarDefaults.C: move stuff into namespace anon
12892
12893         * layout.h: update enum
12894
12895         * lyxfunc.C: use better debug
12896
12897         * minibuffer.h: fix typo
12898
12899         * debug.h:
12900         * debug.C:
12901         * WorkArea.C: add and use Debug::WORKAREA
12902
12903         * lyxtext.h:
12904         * text.C:
12905         * text2.C: code re-organisation, inline helpers
12906
12907 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12908
12909         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12910         std::vector.empty().
12911
12912 2001-11-09  Allan Rae  <rae@lyx.org>
12913
12914         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12915         '\n's after tables.  Tabular and ERT inset work now makes this no
12916         longer necessary.
12917
12918 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12919
12920         * minibuffer.h:
12921         * minibuffer.C: fix crash, improve drop-down completion
12922
12923 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * lyxserver.h:
12926         * lyxserver.C: invalidate fd's when doing endPipe()
12927
12928 2001-11-08  José Matos  <jamatos@fep.up.pt>
12929
12930         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12931         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12932
12933         * paragraph.h:
12934         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12935
12936 2001-11-07  José Matos  <jamatos@fep.up.pt>
12937
12938         * buffer.h:
12939         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12940         const qualifier.
12941
12942         * buffer.C (sgmlOpenTag):
12943         * buffer.C (sgmlCloseTag): removed debug info.
12944
12945         * buffer.h (sgmlOpenTag):
12946         * buffer.h (sgmlCloseTag): made public.
12947
12948 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12949
12950         * buffer.C (saveParamsAsDefaults):
12951         * lyx_cb.C (MenuLayoutSave): remove
12952
12953         * LyXAction.C (init):
12954         * commandtags.h:
12955         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12956
12957 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * buffer.C (setPaperStuff): removed from here...
12960
12961         * bufferparams.C (setPaperStuff): ... and moved there.
12962
12963 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * minibuffer.h:
12966         * minibuffer.C:
12967         * XFormsView.C: add support for drop-down completion
12968
12969 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12970
12971         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12972         commands.
12973
12974 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12975
12976         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12977         disabled.
12978
12979 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * lyx_main.C: change ref to known bugs
12982
12983 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12984
12985         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12986         to work around older babel problems.
12987
12988 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12989
12990         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12991
12992 2001-10-24  Juergen Vigna  <jug@sad.it>
12993
12994         * tabular-old.C (ReadOld): below variable changes reflected.
12995
12996         * tabular.[Ch]: added ltType struct for longtable header/footer
12997         defines and changed all instances where they are used. Added
12998         future support for double top/bottom rows.
12999
13000 2001-10-24  José Matos  <jamatos@fep.up.pt>
13001
13002         * buffer.h (docbookHandleCaption):
13003         * buffer.C (docbookHandleCaption): removed unused function.
13004         (makeDocBookFile): moved docbook supported version to v4.1.
13005
13006 2001-10-24  José Matos  <jamatos@fep.up.pt>
13007
13008         * tabular.h:
13009         * tabular.C (docbookRow): new function to export docbook code of a row.
13010         (DocBook): now honors the longtable flags.
13011
13012 2001-10-23  José Matos  <jamatos@fep.up.pt>
13013
13014         * LaTeXFeatures.h:
13015         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13016         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13017
13018         * buffer.C (makeLinuxDocFile):
13019         (makeDocBookFile): reworked the preamble, more clean, and with
13020         support for lyx defined entities. Changed the document declaration
13021         to be more XML friendly.
13022
13023         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13024         if we need to output XML that should be done with a filter.
13025
13026 2001-10-22  Juergen Vigna  <jug@sad.it>
13027
13028         * sp_pspell.h (class PSpell): add alive function needed in the
13029         controller to see if the spellchecker could be started.
13030
13031 2001-10-22  Juergen Vigna  <jug@sad.it>
13032
13033         * buffer.C (insertStringAsLines): modify the font for inserting
13034         chars in certain conditions by calling checkInsertChar(font).
13035
13036 2001-10-19  Juergen Vigna  <jug@sad.it>
13037
13038         * text.C (workWidth): use getRow instead of wrong algorithm.
13039         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13040
13041 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13042
13043         * lyxserver.h:
13044         * lyxserver.C:
13045         * lyx_main.h:
13046         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13047
13048 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * text.C (workWidth): do not search for the exact row when
13051         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13052         optimization for big documents.
13053
13054 2001-10-18  Juergen Vigna  <jug@sad.it>
13055
13056         * text.C (workWidth): new function with added Inset * parameter.
13057
13058 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13059
13060         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13061
13062         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13063         change return type of getColumnNearX.
13064
13065
13066         * text.C (changeRegionCase): use uppercase/lowercase instead of
13067         toupper/tolower.
13068         (leftMargin):
13069         (rightMargin): simplify code by factoring out the uses of
13070         textclasslist.
13071         (labelFill):
13072         (numberOfHfills):
13073         (setHeightOfRow):
13074         (appendParagraph): use Paragraph::size_type
13075
13076 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * vspace.C (asLatexString): add a missing break
13079
13080 2001-10-15  Herbert Voss  <voss@perce.de>
13081
13082         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13083
13084 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13085
13086         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13087         is not available.
13088
13089 2001-10-10  André Pönitz <poenitz@gmx.net>
13090
13091         * lyxfunc.C: removed greek_kb_flag.
13092
13093 2001-10-10  Herbert Voss  <voss@perce.de>
13094
13095         * lyx_main.C: delete global string help_lyxdir.
13096
13097 2001-10-09  Herbert Voss  <voss@perce.de>
13098
13099         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13100
13101         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13102
13103         * lyx_main.C: added global string help_lyxdir.
13104
13105         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13106
13107 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13108
13109         * lyxrc.C (set_font_norm_type): support iso8859-4
13110
13111 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13112
13113         * LaTeX.C (deplog): add another regex for MikTeX
13114
13115 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13116
13117         * lyxrc.C (set_font_norm_type): support iso8859-3
13118
13119 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13120
13121         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13122
13123         * LaTeXFeatures.C: remove special case of french and index
13124
13125         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13126         before \begin{document}). This solves several incompatibilities.
13127
13128 2001-10-03  Garst Reese  <reese@isn.net>
13129
13130         * lyx_cb.C: change CheckTex error msg.
13131
13132 2001-10-03  José Matos  <jamatos@fep.up.pt>
13133
13134         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13135
13136 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13137
13138         * .cvsignore: update
13139
13140         * lyx_main.C (commandLineVersionInfo): use new style version info.
13141
13142         * buffer.C (writeFile):
13143         (makeLaTeXFile):
13144         (makeLinuxDocFile):
13145         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13146
13147         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13148
13149         * version.h: update to use stuff in version.C
13150
13151         * version.C.in: new file. Contains version information determined
13152         at compile time. This is a merging of version.h and
13153         version_info.h.in.
13154
13155 2001-10-03  Juergen Vigna  <jug@sad.it>
13156
13157         * BufferView_pimpl.C (update): don't change "dirty" status in
13158         updateInset call.
13159
13160 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13161
13162         * WorkArea.C (c-tor): re-position version string slightly.
13163
13164 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13165
13166         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13167         revert to previous code.
13168
13169         WorkArea.[Ch]: (show, destroySplash): methods removed.
13170
13171         WorkArea.C: rework code so that it's an amalgam of the codes before and
13172         after the splash screen was moved to WorkArea.
13173
13174 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13175
13176         * lyxrc.C (read):
13177         * vspace.C (inPixels):
13178         (lyx_advance):
13179         * kbmap.C (bind):
13180         * buffer.C (insertStringAsLines):
13181         (asciiParagraph): fix types to be large enough
13182
13183         * lyxlex_pimpl.h: change member status from short to int
13184
13185         * layout.h: fix type of endlabeltype
13186
13187         * kbmap.C (bind):
13188         * kbsequence.C (parse): change return type to string::size_type
13189
13190         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13191         variable
13192
13193         * Bullet.C (bulletSize):
13194         (bulletEntry): do not use short ints as parameters
13195
13196         * BufferView2.C (insertLyXFile): change a char to an int.
13197
13198         * WorkArea.C (WorkArea): remove unneeded floats in computation
13199
13200 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13201
13202         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13203
13204         * paragraph.C (asString): Do not ignore newline/hfill chars when
13205         copying to the clipboard.
13206
13207 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13208
13209         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13210         after a multi-line inset.
13211
13212 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13213
13214         * paragraph.C (validate): Set NeedLyXFootnoteCode
13215
13216 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13219         and decrease-error to decrease.
13220
13221 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13222
13223         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13224         it more readable (should be equivalent)
13225
13226 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13227
13228         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13229
13230 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13231
13232         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13233         of a cursor (row, etc.) after a character has been deleted
13234         (deleteEmptyParagraphMechanism): call the method above on _all_
13235         cursors held by the LyXText when a double space has been
13236         detected/deleted.
13237
13238 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13239
13240         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13241         pixmap.
13242         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13243
13244         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13245         background. Use greyOut() and the new show() methods to toggle between
13246         the foreground and background. Add code to remove the splash after
13247         its initial showing.
13248
13249         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13250         (create_forms): no longer call Dialogs::showSplash.
13251
13252 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * .cvsignore: add version_info.h
13255
13256 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13257
13258         * version_info.h.in: new file
13259
13260         * Makefile.am: add version_info.h.in
13261
13262         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13263         version_info.h instead of VERSION_INFO
13264
13265 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13266
13267         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13268         The ERT inset now returns string().
13269
13270 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13271
13272         * lyxtext.h, text.C (selectNextWord): renamed as
13273         selectNextWordToSpellcheck.
13274
13275         * text.C (selectNextWordToSpellcheck): Modified to not select
13276         words inside an ERT inset.
13277
13278 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13279
13280         * lyx_cb.C (MenuLayoutSave): change a bit the question
13281
13282         * sp_base.h: include <sys/types.h>
13283
13284 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13285
13286         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13287
13288 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13289
13290         * several files: fix typos in user-visible strings
13291
13292 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13293
13294         * text2.C (pasteSelection): do not set the selection, since it
13295         will be cleared later. Actually, the intent was to fix the way the
13296         selection was set, but I figured rmoving the code was just as good.
13297
13298 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13299
13300         * FontLoader.C (available): Check if font is available without
13301         loading the font.
13302
13303 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13304
13305         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13306
13307 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * lyxrc.[Ch]: added display_graphics variable and associated code.
13310
13311 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * bufferparams.C (hasClassDefaults): new method. Returns true if
13314         the buffer parameters correspond to known class defaults
13315
13316 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * XFormsView.C (show): set minimum size to the main window.
13319
13320 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * text2.C (copySelection):
13323         (cutSelection):
13324         * lyxfind.C (LyXReplace):
13325         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13326         LyXText::selectionAsString.
13327
13328         * paragraph.C (asString): add "label" argument to the second form
13329
13330         * text2.C (selectionAsString): add "label" argument and pass it to
13331         Paragraph::asString.
13332
13333 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13334
13335         * lyx_main.C (commandLineHelp): remove version information
13336
13337 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13338
13339         * lyx_main.C: add -version commandline option
13340
13341 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13342
13343         * paragraph.h: make the optional constructor arg required instead.
13344         some modifications to other files because of this.
13345
13346         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13347
13348         * lyxserver.C (C_LyXComm_callback): make it static
13349
13350         * lyx_main.C (error_handler): make it static
13351
13352         * lyx_gui.C (LyX_XErrHandler): make it static
13353
13354         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13355
13356         * WorkArea.C: make the extern "C" methods static.
13357
13358         * Makefile.am (lyx_LDADD): simplify
13359
13360 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13361
13362         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13363         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13364
13365         * LyXAction.C (init):
13366         * lyxfunc.C (dispatch): associated code removal.
13367
13368 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * lyxfont.h (isSymbolFont): shut off warning
13371
13372         * text.C (setHeightOfRow):
13373         (getVisibleRow): fix crash with empty paragraphs which have a
13374         bottom line
13375
13376 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13377
13378         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13379         code.
13380
13381 2001-09-04  José Matos  <jamatos@fep.up.pt>
13382         * buffer.C
13383         * buffer.h
13384         * tabular.C (docbook): rename docBook method to docbook.
13385
13386 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13387
13388         * Makefile.am: add dependencies to main.o.
13389
13390 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13391
13392         * FontLoader.C (available): Return false if !lyxrc.use_gui
13393
13394 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13395
13396         * FontInfo.C (query):
13397         * converter.C (view):
13398         * importer.C (Import):
13399         * exporter.C (Export): Can not -> cannot.
13400
13401 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13402
13403         * BufferView_pimpl.C: allow to create index inset even if
13404           string is empty
13405
13406 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13407
13408         * buffer.C (getLists): replace boost::tie code with an explicit pair
13409         as boost::tie can break some compilers.
13410
13411         * iterators.h: Added a std:: declaration to the return type of
13412         ParIterator::size.
13413
13414 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13415
13416         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13417           case.
13418
13419 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13420
13421         * iterators.[Ch]: New files. Provide paragraph iterators.
13422
13423         * buffer.C (changeLanguage): Use paragraph iterators.
13424         (isMultiLingual): ditto
13425
13426         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13427
13428 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13429
13430         * FontLoader.C: Support for cmr font.
13431
13432 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13433
13434         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13435         (available): New method.
13436
13437         * FontInfo.C (getFontname): Use scalable fonts even when
13438         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13439         found.
13440
13441 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * converter.C (Formats::view): reverted! Incorrect fix.
13444
13445 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13446
13447         * converter.C (Formats::view): only output the -paper option
13448         if the dvi viewer is xdvi, thereby fixing bug #233429.
13449
13450 2001-08-23  Herbert Voss  <voss@perce>
13451
13452         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13453
13454 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13455
13456         * Spacing.h (Spacing): Set space to Default on in the default
13457         constructor.
13458
13459 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13460
13461         * vc-backend.h (RCS::versionString): add RCS to version
13462         (CVS::versionString): add CVS to version
13463
13464         * vc-backend.C (scanMaster): do not add CVS to version.
13465         (scanMaster): do not add RCS to version
13466
13467         * lyxvc.C (versionString): new method
13468
13469         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13470
13471 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13472
13473         * Spacing.C (set): initialize fval
13474
13475 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13476
13477         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13478         " or \.
13479
13480 2001-08-16  Juergen Vigna  <jug@sad.it>
13481
13482         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13483
13484 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * BufferView_pimpl.C:
13487         * figureForm.C:
13488         * lyxtext.h:
13489         * text2.C: setParagraph takes linespacing now
13490
13491 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * LyxAction.C: add internal LFUN_CITATION_INSERT
13494
13495         * LyXView.C: actually apply fix
13496
13497         * bufferlist.C: fix open non-existent file
13498
13499         * lyxfind.C: fix indentation
13500
13501         * lyxfunc.C: remove unneeded assert, fix typo
13502
13503 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * MenuBackend.C: use "Floatname List"
13506
13507 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13508
13509         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13510         when converting LaTeX layout to insetERT.
13511         Generate a non-collapsed float when reading old float
13512
13513 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13514
13515         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13516         ERT insets.
13517
13518 2001-08-13  Juergen Vigna  <jug@sad.it>
13519
13520         * text.C (fill): return 0 instead of 20 as this seems to be the more
13521         correct value.
13522
13523 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13524
13525         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13526         lyxrc.font_norm.
13527
13528 2001-08-13  Juergen Vigna  <jug@sad.it>
13529
13530         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13531         casesensitive off.
13532         (SearchBackward): comment out the unlocking of the inset_owner this
13533         should not be needed!
13534
13535 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13536
13537         * Many files: Remove inherit_language, and add latex_language
13538
13539         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13540         collapsible insets.
13541
13542 2001-08-10  Juergen Vigna  <jug@sad.it>
13543
13544         * text.C (prepareToPrint): fixed hfill-width in draw!
13545
13546         * BufferView2.C (selectLastWord): save the selection cursor as this
13547         now is cleared in the function LyXText::clearSelection!
13548
13549 2001-08-08  Juergen Vigna  <jug@sad.it>
13550
13551         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13552         BACKSPACE type functions.
13553
13554         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13555         is only cutted from the document but not put in the cut-buffer, where
13556         still the old stuff should be.
13557
13558         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13559
13560         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13561
13562         * tabular.C (SetWidthOfCell): fixed special case where the width
13563         was not updated!
13564         (LeftLine): handle '|' in align_special.
13565         (RightLine): ditto
13566         (LeftAlreadyDrawed): ditto
13567         (SetWidthOfCell): ditto
13568
13569 2001-08-07  Juergen Vigna  <jug@sad.it>
13570
13571         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13572
13573 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13574
13575         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13576         * lyxlex.[hC]: ditto
13577
13578 2001-08-06  Juergen Vigna  <jug@sad.it>
13579
13580         * text.C (getVisibleRow): fix up row clearing a bit.
13581
13582 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * minibuffer.C: make sure the X server sees the changes in the input.
13585
13586 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * paragraph.C (getFont): split into...
13589         (getLabelFont): this
13590         (getLayoutFont): and this
13591         * paragraph_pimpl.C (realizeFont): calling this
13592
13593         * text2.C (getFont): split into...
13594         (getLayoutFont): this
13595         (getLabelFont): and this
13596         (realizeFont): all three calling this
13597
13598         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13599         files where used.
13600
13601 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13604
13605 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13606
13607         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13608         layouts from the Quote inset insertion.
13609
13610 2001-08-03  Juergen Vigna  <jug@sad.it>
13611
13612         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13613
13614         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13615         only if status not is already CHANGED_IN_DRAW (second level).
13616
13617         * text.C (draw): don't set the need_break_row when inside an
13618         InsetText LyXText.
13619
13620 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13621
13622         * buffer.C (parseSingleLyXformat2Token): handle more latex
13623         conversion cases.
13624
13625         * bufferview_funcs.[hC]: change function names to
13626         begin with small char, adjust other files.
13627
13628 2001-08-02  André Pönitz <poenitz@gmx.net>
13629
13630         * lyxfunc.C:
13631         BufferView_pimpl.C: remove broken special code for math-greek
13632
13633 2001-08-02  Juergen Vigna  <jug@sad.it>
13634
13635         * BufferView_pimpl.C (update): redone this function so that we
13636         update the text again if there was a CHANGE_IN_DRAW.
13637
13638         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13639         (drawFromTo): added a new internal bool which is used by draw() and
13640         redraw() function.
13641         (general): some cursor drawing problems fixed.
13642
13643 2001-08-01  Juergen Vigna  <jug@sad.it>
13644
13645         * lyxfind.C (LyXFind): fixed
13646         (SearchForward): ditto
13647         (SearchBackward): ditto
13648
13649         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13650         spurius drawing of the cursor in the main area.
13651
13652         * text2.C (status): small fix which could lead to a segfault!
13653         (clearSelection): remove unneeded BufferView param.
13654
13655 2001-08-01  André Pönitz <poenitz@gmx.net>
13656
13657         * lyxfunc.C: small change due to changed mathed interface
13658
13659 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13660
13661         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13662
13663 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * lyxfunc.c: fail gracefully if file doesn't exist
13666
13667         * LyXSendto.C:
13668         * buffer.C:
13669         * lyxfunc.C:
13670         * BufferView_pimpl.C: IsDirWriteable() proto changed
13671
13672         * LyXView.C: fix updateWindowTitle() to store the last title
13673
13674 2001-07-31  Juergen Vigna  <jug@sad.it>
13675
13676         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13677         the font (wrong since using of Paragraph::highestFontInRange).
13678
13679         * paragraph.C (highestFontInRange): added a default_size parameter.
13680
13681         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13682         (setHeightOfRow): reformat
13683
13684 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * converter.[hC] + affected files: move to (inital-char)lowercase
13687         function names.
13688
13689         * ParagraphParameters.C (ParagraphParameters): remove commented code
13690
13691         * PainterBase.[Ch]: remove commented code
13692
13693         * LaTeXFeatures.h: add "bool floats" for float.sty
13694
13695         * LaTeXFeatures.C (LaTeXFeatures): init floats
13696         (require): handle float
13697         (getPackages): do it with floats
13698
13699 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * BufferView_pimpl.C (Dispatch): improve handling of
13702         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13703
13704         * commandtags.h: #include lyxfont.h here temporarily to avoid
13705         keybinding bug.
13706
13707         * bufferlist.h: include LString.h here.
13708
13709 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13710
13711         * text2.C (getStringToIndex): new method.
13712
13713 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13714
13715         * *: Reduced header file dependencies all over.
13716
13717 2001-07-30  Baruch Even  <baruch@lyx.org>
13718
13719         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13720
13721 2001-07-29  Baruch Even  <baruch@lyx.org>
13722
13723         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13724
13725 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * ParameterStruct.h (endif): add a default constructor to make
13728         sure that all variables is initialized.
13729
13730         * ParagraphParameters.C (ParagraphParameters): adjust
13731
13732 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13733
13734         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13735         index; also, check that there is something to index, and that it
13736         does not span over several paragraphs.
13737         (doubleClick): use WHOLE_WORD_STRICT for double click.
13738
13739         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13740
13741         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13742         scheme.
13743
13744 2001-07-26  Baruch Even  <baruch@lyx.org>
13745
13746         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13747         an InsetFig figure, backwards compatible reading of old figure code.
13748
13749 2001-07-27  Juergen Vigna  <jug@sad.it>
13750
13751         * text2.C: font.realize function adaption.
13752
13753         * text.C (draw): add a warnings lyxerr text if needed.
13754
13755         * layout.C: font.realize function adaption.
13756
13757         * language.C: add inherit_language and implement it's handlings
13758
13759         * bufferview_funcs.C (StyleReset): remove language parameter from
13760         font creation (should be language_inherit now).
13761
13762         * bufferparams.C (writeFile): handle ignore_language.
13763
13764         * paragraph.C (getFontSettings): the language has to be resolved
13765         otherwise we have problems in LyXFont!
13766
13767         * lyxfont.C (lyxWriteChanges): added document_language parameter
13768         (update): removed unneeded language parameter
13769
13770         * paragraph.C (validate): fixed wrong output of color-package when
13771         using interface colors for certain fonts in certain environments,
13772         which should not seen as that on the final output.
13773
13774 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13775
13776         * BufferView_pimpl.C:
13777         * Thesaurus.h:
13778         * Thesaurus.C:
13779         * Makefile.am:
13780         * commandtags.h:
13781         * LyXAction.C: add thesaurus support
13782
13783         * lyxfind.h:
13784         * lyxfind.C: add "once" parameter, for thesaurus, to not
13785           move to the next match
13786
13787 2001-07-26  Juergen Vigna  <jug@sad.it>
13788
13789         * lyxfont.C (realize): honor ignore_language too!
13790         (resolved): ditto.
13791
13792         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13793
13794         * text.C (draw): one place more for ignore_language to not draw
13795         itself!
13796
13797 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13798
13799         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13800
13801 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13802
13803         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13804         the minipage conversion problem.
13805
13806 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13807
13808         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13809         insert an inset.
13810
13811 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13812
13813         * BufferView.h: don't forward declare WorkArea
13814
13815         * BufferView.C: don't include WorkArea.h
13816
13817 2001-07-25  André Pönitz <poenitz@gmx.net>
13818
13819         * commandtags.h:
13820         * LyXAction.C:
13821         * lyxfunc.C:  new LFUN 'math-space'
13822
13823         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13824
13825 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * text2.C (toggleInset): call open/close
13828
13829 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * lyxfunc.C (dispatch): add debug for the disabled case
13832
13833         * font.C (buttonText): make similar to rectText
13834
13835         * buffer.C (readInset): comment out parsing of insetlist and
13836         insttheorem
13837
13838         * PainterBase.C (rectText): small correction
13839
13840         * BufferView_pimpl.C: comment out insettheorem and insetlist
13841         * LyXAction.C: ditto
13842         * commandtags.h: ditto
13843
13844 2001-07-24  Juergen Vigna  <jug@sad.it>
13845
13846         * text.C (draw): honor the ignore_language.
13847
13848         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13849
13850 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13851
13852         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13853         char inset.
13854
13855 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13856
13857         * lyxtext.h: remove unused (and unimplemented) methods
13858
13859 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13860
13861         * text.C (getVisibleRow): honor background color
13862
13863         * PainterBase.h:
13864         * Painter.h: remove default color argument for fillRectangle
13865
13866         * text.C (backgroundColor): new method
13867
13868 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13869
13870         * text.C (getVisibleRow): adjust
13871
13872         * font.[Ch] (rectText): new method, metrics
13873         (buttonText): new method, metrics
13874
13875         * PainterBase.[hC]: make rectText and buttonText always draw and take
13876         fewer paramteres.
13877
13878 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13879
13880         * ToolbarDefaults.C (read):
13881         * MenuBackend.C (read): allow escaping in all strings
13882
13883         * BufferView_pimpl.C (insertAndEditInset): new method.
13884         (Dispatch): use insertAndEditInset whenever appropriate.
13885
13886         * BufferView_pimpl.C (insertNote): removed
13887
13888         * BufferView_pimpl.C (smartQuote): new method, moved from
13889         BufferView; if an insetquote cannot be inserted, insert a '"'
13890         character instead.
13891
13892         * BufferView2.C: remove insertCorrectQuote();
13893
13894         * lyxfunc.C (getStatus): Add support for all remaingin
13895         inset-insert lfuns.
13896
13897         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13898
13899         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13900         command (necessary to pass " as parameter of self-insert.
13901
13902         * text.C (selectWordWhenUnderCursor):
13903         (selectWord): add word_location parameter
13904         (selectWordWhenUnderCursor): same + remove special code for word
13905         boundary.
13906         (selectNextWord): use kind() to guess type of insetspecialchar,
13907         not latex().
13908
13909         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13910         (insertErtContents): create ert insets as collapsed.
13911         (readInset): better compatibility code for Info inset.
13912
13913 2001-07-20  Juergen Vigna  <jug@sad.it>
13914
13915         * lyxfunc.C (dispatch): use always LyXFind now!
13916
13917         * text2.C (init): add a reinit flag so that the LyXText can be
13918         reinited instead of deleted and reallocated (used in InsetText).
13919
13920         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13921
13922         * text.C: ditto
13923
13924         * text2.C: ditto
13925
13926 2001-07-18  Juergen Vigna  <jug@sad.it>
13927
13928         * text.C (selectNextWord): handle insets inside inset by calling
13929         always the bv->text functions so that we can go up the_locking_inset!
13930
13931         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13932         in strange locations when inside an inset!
13933
13934         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13935         handling to include insets.
13936
13937         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13938
13939 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * LyXAction.C (init):
13942         * commandtags.h:
13943         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13944         LIGATURE_BREAK, since the name is so stupid.
13945
13946 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13947
13948         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13949         InsetInfos.
13950
13951         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13952
13953         * sp_form.[Ch]: remove.
13954
13955         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13956
13957         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13958         InsetInfo.
13959
13960         * src/buffer.C (readInset): ditto.
13961
13962 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13963
13964         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13965         menuSeparator(), endOfSentenceDot(), ldots() and
13966         hyphenationPoint(), which are therefore removed.
13967         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13968
13969         * LyXAction.C (init):
13970         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13971
13972         * paragraph.C (getWord): removed.
13973
13974         * BufferView_pimpl.C (Dispatch): use last word or selection for
13975         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13976
13977         * lyx_main.C (queryUserLyXDir): do not ask before creating
13978         user_dir, except if it has been named explicitely.
13979
13980 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13981
13982         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13983         a document of zero size.
13984
13985 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13986
13987         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13988         approriately in the c-tor and in require().
13989         (getPackages): output the appropriate LaTeX for natbib support.
13990
13991         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13992         variables "use_natbib" and "use_numerical_citations" when reading the
13993         LyX file.
13994         (readInset): read the various natbib cite commands.
13995         (validate): white-space change.
13996
13997         * bufferparams.[Ch]: new variables "bool use_natbib" and
13998         "bool use_numerical_citations".
13999         (writeFile): output them in the LyX file.
14000
14001 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14002
14003         * lyxfunc.C (getStatus): add support for all the inset insertion
14004         commands.
14005
14006         * text2.C (insertInset):
14007         * paragraph.C (insetAllowed):
14008         * BufferView_pimpl.C (insertInset): update to take in account the
14009         renaming of insertInsetAllowed
14010
14011         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14012
14013         * text2.C (getInset): new method. returns inset at cursor position.
14014
14015         * BufferView_pimpl.C (Dispatch): changes because of this.
14016
14017         * LyXAction.C (init): rename open-stuff to inset-toggle.
14018
14019         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14020
14021         * text2.C (toggleInset): renamed from openStuff; use
14022         Inset::open().
14023
14024 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14025
14026         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14027
14028         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14029
14030 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14031
14032         * buffer.C (readLyXformat2): Add filename to the error dialog
14033
14034 2001-07-18  Juergen Vigna  <jug@sad.it>
14035
14036         * tabular.C (GetCellNumber): put an assert here instead of the check!
14037
14038 2001-07-17  Juergen Vigna  <jug@sad.it>
14039
14040         * BufferView_pimpl.C (toggleSelection): adapted too.
14041
14042         * text.C (selectNextWord): adapted for use with insets.
14043         (selectSelectedWord): ditto
14044
14045 2001-07-17  Juergen Vigna  <jug@sad.it>
14046
14047         * sp_spell.C (PSpell): fix initialitation order.
14048
14049 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14050
14051         * paragraph.C: spacing
14052
14053 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14054
14055         * sp_spell.C: repair language selection for pspell
14056
14057 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14058
14059         * lyxfunc.h: change more methods to begin with lower char.
14060
14061 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14062
14063         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14064         for unknown layouts.
14065
14066 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * buffer.C (readLyXformat2): Generate an error dialog if there are
14069         unknown layouts.
14070
14071 2001-07-16  Juergen Vigna  <jug@sad.it>
14072
14073         * sp_spell.C: always compile ISpell part.
14074
14075         * lyxrc.C: added use_pspell entry and it's handling.
14076
14077 2001-07-13  Juergen Vigna  <jug@sad.it>
14078
14079         * sp_spell.C: removed double includes.
14080
14081 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14082
14083         Consistent use of Lsstream.h:
14084         * Lsstream.h: added using std::stringstream for consistencies sake.
14085
14086         * buffer.C: removed using std::stringstream
14087
14088         * lyxfont.C (stateText):
14089         * paragraph.C (asString):
14090         * text.C (selectNextWord, selectSelectedWord):
14091         * text2.C (setCounter):
14092         * vspace.C (asString, asLatexString):
14093         std::ostringstream -> ostringstream.
14094
14095 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14096
14097         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14098         * commandtags.h: add LFUN_HELP_ABOUTLYX
14099         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14100
14101 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14102
14103         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14104         cursorToggle()
14105         * lyx_gui_misc.C: remove spellchecker
14106         * lyxfunc.C: showSpellchecker
14107         * sp_base.h: added
14108         * sp_ispell.h: added
14109         * sp_pspell.h: added
14110         * sp_spell.C: added
14111         * sp_form.[Ch]: removed
14112         * spellchecker.[Ch]: removed
14113
14114 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14115
14116         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14117         is set.
14118         (simpleTeXSpecialChars): Simply print the input character without
14119         any special translation if pass_thru is set.
14120
14121         * layout.h: Added bool pass_thru to layout class for being able to
14122         implement pass through of a paragraph for Literate Programming.
14123
14124         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14125         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14126         * layout.C (Read): add "passthru" to list of layout tags and add
14127         code to set the pass_thru boolean when it is read.
14128
14129 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * trans_decl.h: remove allowed from KmodInfo
14132
14133         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14134         remove allowed code
14135         (Load): adjust
14136
14137         * paragraph_pimpl.C (erase): use boost::prior
14138
14139         * Painter.C (text): use data() instead of c_str() when length is
14140         also provided.
14141         * WorkArea.C (putClipboard): ditto
14142         * font.h (width): ditto
14143
14144         * BufferView2.C: use it-> instead of (*it). for iterators
14145         * texrow.C: ditto
14146         * paragraph_pimpl.C: ditto
14147         * paragraph.C: ditto
14148         * minibuffer.C: ditto
14149         * language.C: ditto
14150         * kbmap.C: ditto
14151         * encoding.C: ditto
14152         * counters.C: ditto
14153         * converter.C: ditto
14154         * chset.C: ditto
14155         * Variables.C: ditto
14156         * TextCache.C: ditto
14157         * MenuBackend.C: ditto
14158         * LyXAction.C: ditto
14159         * LColor.C: ditto
14160         * FloatList.C: ditto
14161         * DepTable.C: ditto
14162         * ColorHandler.C (LyXColorHandler): ditto
14163
14164 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14167
14168         * text2.C (openStuff): reintroduce this method (which had been
14169         nuked in NEW_INSETS frenzy).
14170
14171         * lyxfunc.C (Dispatch): when an action has not been handled, use
14172         its name in the error message, not its number.
14173
14174         * paragraph.C (inInset): change method name to begin with lowercase.
14175
14176         * undo_funcs.C:
14177         * text2.C: updates because of this.
14178
14179 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * ToolbarDefaults.C (add): add spaces in error message
14182
14183 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14186         (readLyXformat2): rename return_par to first_par, use lyxlex's
14187         pushToken and remove the manual push handling.
14188         (parseSingleLyXformat2Token): add another ert comp. variable:
14189         in_tabular, rename return_par to first_par. handle newlines better
14190
14191 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14192
14193         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14194
14195 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14196
14197         * text2.C (getParFromID): removed
14198
14199         * buffer.C (getParFromID): new method moved form lyxtext.
14200         * BufferView2.C (insertErrors): adjust
14201         (setCursorFromRow): adjust
14202         * BufferView_pimpl.C (restorePosition): adjust
14203         * lyxfunc.C (Dispatch): adjust
14204         * undo_funcs.C (textUndo): adjust
14205         (textRedo): adjust
14206         (textHandleUndo): adjust
14207         (textHandleUndo): adjust
14208
14209 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * buffer.C: up' the LYX_FORMAT
14212
14213         * lyxfont.h: turn NO_LATEX on as default
14214
14215         * buffer.C (insertErtContents): new methods of tex style compability.
14216         (parseSingleLyXformat2Token): use it several places.
14217         * tabular.C (OldFormatRead): and here
14218
14219 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14220
14221         * text2.C: remove some commented code.
14222         reindent file.
14223
14224         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14225         * trans.C: changes because of the above.
14226
14227 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14228
14229         * text2.C (setCounter): Fix counters bug with bibliography layout.
14230
14231 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14232
14233         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14234         own member functions
14235         (simpleTeXSpecialChars): ditto
14236
14237 2001-07-06  Juergen Vigna  <jug@sad.it>
14238
14239         * a lot of files: changed the access to LyXText::status and the
14240         call of undo-functions.
14241
14242         * undo.[Ch]: added a inset_id to the undo informations.
14243
14244         * undo_funcs.[Ch]: added and moved here all undo functions.
14245
14246         * lyxtext.h: give the status enum a weight, made status_ a private
14247         variable and made accessor functions for it, removed the whole bunch
14248         of undo-functions as they are now in their own file, make some
14249         functions publically available. Added function ownerParagraph with
14250         int parameter.
14251
14252         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14253         made InInset() a const function, added getParFromID() function.
14254
14255         * buffer.[Ch]: added const version for inset_iterator functions,
14256         added getInsetFromID() function.
14257
14258         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14259         changed undo functions for new version.
14260
14261 2001-07-05  Juergen Vigna  <jug@sad.it>
14262
14263         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14264         unknow mechanism does not call the proper constructor but only this
14265         one also if I request the other!?
14266
14267 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14268
14269         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14270
14271         * text2.C (LyXText): use initialization lists.
14272
14273         * lyxtext.h (Selection): initialize set_ and mark_
14274         (init): remove method
14275
14276 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14277
14278         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14279
14280 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14281
14282         * screen.[Ch]: change method names to begin with lowercase
14283
14284         * BufferView_pimpl.C (updateScrollbar): simplify further and
14285         hopefully make it a bit faster.
14286
14287 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14290         calling directly xforms functions.
14291
14292         * Painter.C (Painter):
14293         * lyx_cb.C (MenuWrite):
14294         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14295         fl_display.
14296
14297         * lyx_gui.C: remove bogus guiruntime extern declaration.
14298
14299 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14302         in NEW_INSETS
14303         (redoDrawingOfParagraph): ditto
14304         (redoParagraphs): ditto
14305         (cutSelection): don't create a object for CutAndPaste use the
14306         static method directly
14307         (pasteSelection): ditto
14308
14309         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14310         LyXview (+ rename)
14311
14312 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14313
14314         * modifications to some other files because of this.
14315
14316         * Makefile.am (lyx_SOURCES): add XFormsView
14317
14318         * XFormsView.[Ch]: new files
14319
14320         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14321         the main window. Move the gui dependent stuff to XFormsView
14322
14323 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * tabular.C (GetCellInset): update cur_cell also in the row/col
14326         version of this function.
14327
14328         * lyxfunc.C: no need to include figure_form.h here.
14329
14330         * FontLoader.h:
14331         * lyxfunc.h:
14332         * lyxscreen.h:
14333         * text2.C:
14334         * lyxvc.C: no need to include forms.h here.
14335
14336 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14337
14338         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14339
14340         * lyxfunc.C (Dispatch):
14341         * Spacing.C (set):
14342         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14343         constructor argument.
14344
14345 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * paragraph.C (Paragraph): dont't clear, and just set layout.
14348         (makeSameLayout): use params's copy contructor.
14349
14350         * ParagraphParameters.[Ch] (makeSame): delete method
14351
14352 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14353
14354         * Variables.[Ch]: fix indentation, rename set to isSet
14355
14356 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14357
14358         * lyxfunc.C (Dispatch): fix typo
14359
14360 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14361
14362         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14363         upper_bound.
14364
14365         * bufferlist.C: include assert.h for emergencyWrite().
14366
14367 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14368
14369         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14370           give up at last (bug #425202) !
14371
14372 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * lyx_gui_misc.C:
14375         * sp_form.h:
14376         * sp_form.C:
14377         * spellchecker.h:
14378         * spellchecker.C: strip spellchecker options and bring up
14379           preferences tab instead
14380
14381 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14382
14383         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14384         the istringstream constructor
14385
14386 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14387
14388         * paragraph.C (getLayout): fix return value
14389
14390         * paragraph.h: do not declare getLayout as inline.
14391
14392         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14393
14394 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14395
14396         * lyxcursor.h (operator<): new func
14397         (operator>): new func
14398         (operator>=): new func
14399         (operator<=): new func
14400
14401         * text.C (changeCase): use selection.start and selection.end
14402         (changeRegionCase): require from to be <= to. Require par to be a
14403         valid paragraph.
14404
14405         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14406
14407 2001-06-27  Juergen Vigna  <jug@sad.it>
14408
14409         * text.C (cursorLeftOneWord): changed to return the cursor and added
14410         overlay with BufferView * parameter which calls this one.
14411         (getWord): added
14412         (selectWord): use new getWord function.
14413         (changeCase): renamed from changeWordCase as and extended to work
14414         also on selections.
14415
14416         * lyxtext.h: added enum word_location
14417
14418         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14419         changeCase as this operates now also on selections.
14420
14421 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14422
14423         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14424
14425         * many files: send debug output to Debug::INFO instead of
14426         Debug::ANY.
14427
14428         * converter.C (View):
14429         (Convert):
14430         (Move): send debug output to Debug::FILES instead of console.
14431
14432 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14433
14434         * lyxfunc.C (getStatus): use func_status
14435
14436         * func_status.h: new header, describing the results of
14437         LyXFunc::getStatus;
14438
14439         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14440         LFUN_MATH_HALIGN.
14441
14442 2001-06-25  The LyX Project  <jug@sad.it>
14443
14444         * buffer.C (sgmlOpenTag):
14445         (sgmlCloseTag):
14446         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14447
14448 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * text2.C: remove some dead code
14451
14452         * tabular.C (GetCellInset): store the last cell checked (gotten)
14453
14454         * tabular.h: add the helper for the speedup
14455
14456         * lyxtext.h: remove some dead code
14457
14458 2001-06-26  The LyX Project  <Asger>
14459
14460         * paragraph.C: Change export to LaTeX of alignment to
14461         \begin{center} and family for better roundtrip work with reLyX.
14462
14463         * Tune the math drawing a bit.
14464
14465 2001-06-25  The LyX Project  <Asger>
14466
14467         * LColor.C (LColor): New color for math background. New color
14468         for buttons.
14469
14470 2001-06-25  The LyX Project  <jug@sad.it>
14471
14472         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14473
14474         * lyxfunc.C (Open):
14475         * bufferlist.C (newFile): do not restrict to files ending with
14476         .lyx
14477
14478         * BufferView_pimpl.C (MenuInsertLyXFile):
14479
14480 2001-06-24  The LyX Project  <jug@sad.it>
14481
14482         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14483         of compare_no_case
14484
14485 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * lyxtext.h: rename most methods to begin with a small char.
14488         Lots of changes because of this.
14489
14490         * paragraph.C (Paragraph): do not call fitToSize
14491         (erase): call Pimpl::erase
14492         (insertChar): call Pimpl::insertChar
14493         (insertInset): call Pipl::insertInset
14494         (breakParagraph): do not call fitToSize
14495         (breakParagraphConservative): do not call fitToSize
14496         (fitToSize): remove method
14497
14498         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14499
14500 2001-06-24  The LyX Project  <Asger>
14501
14502         * Fix Qt compilation^2
14503
14504 2001-06-24  The LyX Project  <jug@sad.it>
14505
14506         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14507         depthHook(getDepth()-1).
14508
14509         * paragraph.h:
14510         * ParagraphParameters.h:
14511         * ParameterStruct.h: change type of depth to unsigned int ==
14512         depth_type. Many adaptations to other files before of that.
14513
14514 2001-06-24  The LyX Project  <Asger>
14515
14516         * Fix Qt compilation.
14517
14518 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14519
14520         * paragraph.h: renamed several methods to begin with small letter.
14521         several changes to many parts of the code because of this.
14522
14523 2001-06-23  The LyX Project  <jug@sad.it>
14524
14525         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14526         rewritten to discard all double spaces when KeepEmpty is off
14527         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14528         to only handle newlines but not fiddle with spaces and friends.
14529
14530         * lyxfunc.C (MenuNew): when doing 'new from template', use
14531         template_path as default directory
14532
14533 2001-06-23  The LyX Project  <Asger>
14534
14535         * Clean-up of header file includes all over
14536         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14537
14538 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * paragraph.h: renamed from lyxparagraph.h
14541
14542 2001-06-23  Asger  <lyx@violet.home.sad.it>
14543
14544         * Buffer.h: Removed Buffer::resize
14545         * BufferList.h: Removed BufferList::resize
14546         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14547         the document lazily when we change the width, or the font settings.
14548
14549 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14552
14553 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14554
14555         * buffer.h: remove out of date comment
14556
14557 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14558
14559         * lyxscreen.h:
14560         * screen.C: fix "theoretical" GC leak
14561
14562 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14563
14564         * LaTeX.C (scanAuxFile):
14565         (deplog): remove trailing \r when reading stream (useful under
14566         win32)
14567
14568 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14569
14570         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14571         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14572         and BufferView::theLockingInset(Inset*), so should use them and not
14573         access bv_->text->the_locking_inset directly.
14574
14575         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14576
14577 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14578
14579         * Makefile.am:
14580         * tex-defs.h: remove old unused file
14581
14582 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * BufferView_pimpl.C: fix typo, remove minibuffer message
14585           when buffer has loaded
14586
14587 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14588
14589         * lyxfunc.C (Dispatch): use stringstream
14590         (MenuNew): use stringstream
14591         (Open): use stringstream
14592
14593         * importer.C (Import): use stringstream
14594
14595         * bufferview_funcs.C (CurrentState): use stringstream
14596
14597         * LaTeX.C (run): use stringstream
14598
14599         * BufferView_pimpl.C (savePosition): use stringstream
14600         (restorePosition): use stringstream
14601         (MenuInsertLyXFile): use stringstream
14602
14603 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14604
14605         * BufferView.C:
14606         * Bullet.C:
14607         * ColorHandler.C:
14608         * FontInfo.C:
14609         * FontLoader.C:
14610         * LColor.C:
14611         * LaTeXFeatures.C:
14612         * Painter.C:
14613         * gettext.C:
14614         * lyx_gui_misc.C:
14615         * lyxserver.C:
14616         * vspace.C: removed // -*- C++ -*- as first line.
14617
14618         * lyxfind.h:
14619         * version.h: added // -*- C++ -*- as first line.
14620
14621 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14622
14623         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14624
14625         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14626         of string
14627
14628 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14629
14630         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14631         of floats.
14632
14633 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * gettext.C: include LString.h even when --disable-nls is on.
14636
14637 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14638
14639         * converter.h (Get): changed argument type from int to
14640         FormatList::size_type to avoid unnecessary conversion.
14641
14642         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14643         before using it.
14644
14645 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14646
14647         * gettext.h: include LString.h even when --disable-nls is on.
14648
14649 2001-06-07  Juergen Vigna  <jug@sad.it>
14650
14651         * text.C (BreakAgain): subst spaces with tabs.
14652
14653         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14654         (resizeInsetsLyXText): set force on resizeLyXText.
14655
14656 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14657
14658         * gettext.h (gettext_init):
14659         (locale_init): use a real definition instead of a macro
14660
14661 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * Bufferview_pimpl.C:
14664         * LColor.h:
14665         * LColor.C: further lcolor tidies
14666
14667 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * BufferView_pimpl.C (updateScrollbar): simplify.
14670
14671         * BufferView2.C: don't include insets/insetinfo.h, change
14672         prototype for insertInset and call the Pimpl version. let
14673         updateInset call Pimpl version.
14674
14675         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14676         gotoInset to BufferView::Pimpl
14677
14678 2001-06-01  Juergen Vigna  <jug@sad.it>
14679
14680         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14681         inside a LockingInset (is the update needed at all?).
14682
14683 2001-05-31  Juergen Vigna  <jug@sad.it>
14684
14685         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14686         here not the old one otherwise how should we compare it afterwards
14687         if it's the same!
14688
14689 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14690
14691         * lyxfont.C:
14692         * tabular.C:
14693         * tabular-old.C:
14694         * FontInfo.C: bring C functions into global namespace when
14695         necessary
14696
14697 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * LString.h: make sure config.h has been loaded before LString.h.
14700
14701         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14702         (one for each char read by EatLine!).
14703
14704         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14705         variables.
14706
14707 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14708
14709         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14710         to the same as the par we break from
14711
14712 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14713
14714         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14715
14716         * MenuBackend.C (expand): also create menu entries for wide
14717         versions of the floats.
14718
14719         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14720
14721         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14722
14723         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14724         frontends/Makefile.am
14725
14726         * text2.C: adjust
14727         * text.C: adjust
14728
14729
14730         * tabular.C (getTokenValue): add std::
14731
14732         * tabular-old.C (getTokenValue): add std::
14733         (getTokenValue): ditto
14734         (getTokenValue): ditto
14735
14736         * screen.C (ToggleSelection): adjust
14737
14738         * lyxtext.h: put selection cursors inside a Selection struct.
14739
14740         * lyxfunc.C (moveCursorUpdate): adjust
14741
14742         * lyxfont.C (latexWriteStartChanges): add std::
14743
14744         * lyxfind.C: adjust
14745
14746         * font.h: delete with(char const *, LyXFont const &)
14747
14748         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14749
14750         * FontInfo.C (getFontname): add std::
14751
14752         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14753         (workAreaButtonPress): adjust
14754         (tripleClick): adjust
14755         (update): adjust
14756         (moveCursorUpdate): adjust
14757         (Dispatch): adjust
14758
14759         * BufferView2.C (gotoInset): adjust
14760
14761 2001-05-30  Juergen Vigna  <jug@sad.it>
14762
14763         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14764         to check pspell I add this as default as I now have new pspell
14765         libraries and they seem to use this.
14766
14767 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * text2.C (CutSelection): make the cursor valid before the call to
14770         ClearSelection.
14771
14772 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14773
14774         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14775         relied on 0 terminated strings and other horrors. Bug found due to
14776         the new assert in lyxstring!
14777
14778         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14779         KP_ keys.
14780
14781 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14782
14783         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14784         to latinkeys.bind.
14785
14786         * lyxfunc.C (processKeySym): change method of getting to the
14787         self-insert char.
14788
14789         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14790         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14791         * BufferView_pimpl.[Ch]: here as private methods.
14792
14793 2001-05-28  Juergen Vigna  <jug@sad.it>
14794
14795         * text.C (SetHeightOfRow): added the update() call again as it is
14796         needed to initialize inset dimensions!
14797
14798 2001-05-16  Juergen Vigna  <jug@sad.it>
14799
14800         * text2.C (SetCharFont): Add new function with BufferView * and
14801         bool toggleall parameters for setting insets internal fonts.
14802         (SetFont): Freeze the undo as we may change fonts in Insets and
14803         all this change should be inside only one Undo!
14804
14805         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14806         setting font's in insets as for them we have the SetFont function!
14807
14808 2001-05-15  Juergen Vigna  <jug@sad.it>
14809
14810         * text2.C (ClearSelection): to be sure we REALLY don't have any
14811         selection anymore!
14812
14813         * tabular.C (TeXCellPreamble): fixed the left border problem for
14814         multicolumn cells.
14815
14816 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14817
14818         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14819         dependancy file
14820
14821 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14824         LFUN_BREAKPARAGRAPH.
14825
14826         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14827         help test to "internal only", similar for LFUN_INSERT_URL
14828
14829         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14830         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14831         auto_region_delete and deadkeys.
14832
14833 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14834
14835         * LColor.h:
14836         * LColor.C: remove some dead entries, tidy a little
14837
14838 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14839
14840         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14841         commented code.
14842         (Dispatch): implement LFUN_ESCAPE
14843
14844         * commandtags.h: add LFUN_ESCAPE
14845
14846         * LyXAction.C (init): add entry for LFUN_ESCAPE
14847
14848         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14849         Remove commented code.
14850         (insertNote): moved here
14851         (open_new_inset): moved here
14852
14853         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14854         BufferView_pimpl
14855
14856 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14857
14858         * kbmap.C (findbinding): clean it up and make it work correctly.
14859
14860         * lyx_main.C (init): do not pass argc and argv as parameters
14861
14862 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14863
14864         * buffer.C: fix path for OS/2 & Win32
14865
14866         * lyx_gui.C:
14867         * lyx_main:
14868         * lyx_main.C: Added os:: class.
14869
14870         * os2_defines.h: update
14871
14872 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14873
14874         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14875         better by trying again with reduced state.
14876
14877 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14878
14879         * lyxrc.C (read): print error about invalid key sequence only when
14880         debugging (because not all latinX keysyms are known to some X
14881         servers)
14882
14883         * kbsequence.C (getiso): add a few std:: qualifiers
14884         (getiso): comment out extra return statement.
14885
14886 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14887
14888         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14889         handling.
14890         (Dispatch): enhance the accent inset a bit. (not perfect)
14891
14892 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14895
14896 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14897
14898         * bufferlist.C (emergencyWrite): fix assert() call
14899
14900 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14901
14902         * text.C (InsertChar): Added trivial patch to only send the "you
14903         can not do multiple spaces this way" message once during a
14904         session.
14905
14906 2001-05-08  Baruch Even  <baruch@lyx.org>
14907
14908         * Makefile.am: Changed order of libraries to get LyX to link properly
14909         with the gnome frontend.
14910
14911 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * LaTeXFeatures.h: add a std:: qualifier
14914
14915 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14916
14917         * paragraph.C (String): use stringstream
14918
14919 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14920
14921         * paragraph.C (writeFile): remove footflag arg
14922
14923         * buffer.C (makeLaTeXFile): use stringstream
14924         (latexParagraphs): remove footnot gurba
14925
14926         * LaTeXFeatures.C (getPackages): use stringstream
14927         (getMacros): likewise
14928         (getTClassPreamble): likewise
14929         (getFloatDefinitions): new method
14930
14931         * paragraph.C (writeFile): reindent
14932         (Erase): reindent
14933
14934         * WorkArea.h: revert the xpos + etc changes.
14935
14936         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14937
14938         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14939
14940         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14941         (pasteSelection): likewise
14942         * text2.C (CreateUndo): likewise
14943
14944 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14945
14946         * minibuffer.C (peek_event): temporarily reduce the functionality
14947         of the minibuffer (to allow args on lfuns)
14948
14949         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14950         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14951
14952         * buffer.C (readInset): add compability reading of old float
14953         lists, add reading of new style float list.
14954         (readInset): avoid reevaluation of inscmd.getCmdName()
14955         (getLists): reindent
14956
14957         * MenuBackend.C (MenuItem): implement parsing of
14958         md_floatlistinsert and md_floatinsert.
14959         (expand::LastFiles): move initalizaton of iterators out of loop,
14960         avoid reevaluation.
14961         (expand::Documents): introduce typdedef vector<string> Strings,
14962         and use it.
14963         (expand::ExportFormats): introduce typedef vector<Format const *>
14964         Formats, and use it.
14965         (expand): implement FloatListInsert and FloatInsert.
14966
14967         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14968         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14969         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14970
14971         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14972         handling.
14973         (Dispatch::LFUN_FLOAT_LIST): implement
14974
14975 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14976
14977         * LaTeX.C (run): Fix problem with --export code.
14978
14979 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14980
14981         * BufferView.[Ch] (workarea): removed.
14982         (getClipboard) new method; wrapper for workarea()->getClipboard()
14983
14984         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14985         bug.
14986
14987         * WorkArea.h (width, height, xpos, ypos): These methods all
14988         returned the dimensions of the work_area sub-area of WorkArea,
14989         resulting in a position error if the WorkArea were resized. Now
14990         return the dimensions of the entire WorkArea.
14991
14992         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14993
14994 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14995
14996         * LaTeX.C (deplog): correct the syntax of regex reg1
14997
14998 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14999
15000         * undo.C: remove !NEW_INSETS cruft
15001
15002 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15003
15004         * text2.C: remove !NEW_INSETS cruft
15005
15006         * text.C: remove !NEW_INSETS cruft
15007
15008         * tabular.C: remove !NEW_INSETS cruft
15009
15010         * spellchecker.C: remove !NEW_INSETS cruft
15011
15012         * lyxtext.h: remove !NEW_INSETS cruft
15013
15014         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15015
15016         * lyxfunc.C: remove !NEW_INSETS cruft
15017
15018         * lyxfind.C: remove !NEW_INSETS cruft
15019
15020         * lyx_cb.C: remove !NEW_INSETS cruft
15021
15022         * figureForm.C: remove  !NEW_INSETS cruft
15023
15024         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15025
15026         * buffer.[Ch]: remove !NEW_INSETS cruft
15027
15028         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15029
15030         * CutAndPaste.C: remove !NEW_INSETS cruft
15031
15032         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15033
15034         * BufferView2.C: remove !NEW_INSETS cruft
15035
15036         * BufferView.h: remove !NEW_INSETS cruft
15037
15038 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * Lsstream.h: include LString.h before the sstream headers to
15041         fix problem with gcc 2.95.3 and lyxstring
15042
15043 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15044
15045         * lyx_main.C: add using directives when needed for C functions
15046         declared in std:: namespace.
15047
15048 2001-04-27  Juergen Vigna  <jug@sad.it>
15049
15050         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15051         (SetHeightOfRow): comment out the update call should not be needed!
15052
15053 2001-04-13  Juergen Vigna  <jug@sad.it>
15054
15055         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15056         (LyXTabular): tried to minimize operator= operations (and realized
15057         hopfully Lars wish).
15058
15059 2001-04-27  Juergen Vigna  <jug@sad.it>
15060
15061         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15062
15063 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15064
15065         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15066
15067         * buffer.C (readInset): hack to make listof algorithm work
15068
15069         * BufferView_pimpl.C: hack to make listof algorithm work
15070
15071 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * LyXAction.C: removed all !NEW_INSETS cruft
15074         (init): moved lfun_item in method
15075
15076         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15077
15078 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15079
15080         * BufferView2.C (theLockingInset): white space.
15081
15082 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * minibuffer.C: include <iostream>
15085
15086         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15087
15088         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15089
15090         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15091
15092         * text.[Ch] (TransposeChars): new method
15093
15094 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15095
15096         * call message directly through LyXView instead of through LyXFunc
15097         * BufferView2.C: adjust
15098         * BufferView_pimpl.C: adjust
15099         * FontLoader.C: adjust
15100         * buffer.C: adjust
15101         * bufferview_funcs.C: adjust
15102         * converter.C: adjust
15103         * figureForm.C: adjust
15104         * importer.C: adjust
15105         * lyx_cb.C: adjust
15106         * lyx_gui_misc.C: adjust
15107         * lyxfunc.C: adjust
15108         * lyxvc.C: adjust
15109         * text2.C: adjust
15110         + more files in subdirs
15111
15112         * lyxparagraph.h (size): move up int file
15113         (GetLayout): ditto
15114
15115         * adjust all uses of Assert to lyx::Assert.
15116
15117         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15118         lyxfunctional in namespace lyx
15119         * layout.C (hasLayout): ditto
15120         (GetLayout): ditto
15121         (GetLayout): ditto
15122         (delete_layout): ditto
15123         (NumberOfClass): ditto
15124         * converter.C (GetFormat): ditto
15125         (GetNumber): ditto
15126         (Add): ditto
15127         (Delete): ditto
15128         (SetViewer): ditto
15129         * bufferlist.C (getFileNames): ditto
15130         (emergencyWriteAll): ditto
15131         (exists): ditto
15132         (getBuffer): ditto
15133         * MenuBackend.C (hasSubmenu): ditto
15134         (hasMenu): ditto
15135         (getMenu): ditto
15136         * BufferView_pimpl.C (getInsetByCode): ditto
15137
15138 2001-04-18  Juergen Vigna  <jug@sad.it>
15139
15140         * vspace.C (asLatexString): fixed the 100% problem.
15141
15142 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15143
15144         * lyxfunc.C (Dispatch):
15145         * minibuffer.C:
15146         * minibuffer.h: add a few std:: qualifiers
15147
15148 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15149
15150         * minibuffer.[Ch]: reimplement so that commands is initiated and
15151         run from lyxfunc, simplified som handling, and made the completion
15152         and history code for complete. wip.
15153
15154         * lyxfunc.C (processKeySym): call message
15155         (miniDispatch): new temporary method
15156         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15157         (LFUN_MESSAGE): implement
15158         (LFUN_MESSAGE_PUSH): implement
15159         (LFUN_MESSAGE_POP): implement
15160         (initMiniBuffer): the initial/defualt minibuffer message.
15161
15162         * lyxfont.[Ch]: inline some more getters
15163
15164         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15165
15166         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15167
15168         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15169         (AutoSave): use LFUN_MESSAGE
15170         (Reconfigure): ditto
15171
15172         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15173
15174         * figureForm.C: use LFUN_MESSAGE
15175
15176         * converter.C (runLaTeX): use LFUN_MESSAGE
15177
15178         * bufferview_funcs.C: use LFUN_MESSAGE
15179         (Melt): ditto
15180         (changeDepth): ditto
15181
15182         * bufferparams.h: use boost::
15183
15184         * bufferlist.h: inherit privately from noncopyable
15185
15186         * bufferlist.C (loadLyXFile): remove some commented code.
15187
15188         * buffer.C (runChktex): use LFUN_MESSAGE
15189
15190         * ShareContainer.h: inherit privately from noncopyable
15191
15192         * ParagraphParameters.[hC] (depth): inline it.
15193
15194         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15195         methods.
15196         (message): new method
15197         (messagePush): ditto
15198         (messagePop): ditto
15199         (show): init minibuffer
15200         (showState): direct call
15201
15202         * LaTeX.[Ch]: inherit privately from noncopyable
15203         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15204         instead of WriteStatus.
15205
15206         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15207
15208         * BufferView_pimpl.C (buffer): don't init minibuffer
15209         (workAreaButtonPress): use LFUN_MESSAGE
15210         (workAreaButtonRelease): ditto
15211         (savePosition): ditto
15212         (restorePosition): ditto
15213         (MenuInsertLyXFile): ditto
15214         (workAreaExpose): don't init minibuffer
15215         (update): remove commented code, simplify
15216
15217         * BufferView2.C (openStuff): use LFUN_MESSAGE
15218         (toggleFloat): ditto
15219         (menuUndo): ditto
15220         (menuRedo): ditto
15221         (copyEnvironment): ditto
15222         (pasteEnvironment): ditto
15223         (copy): ditto
15224         (cut): ditto
15225         (paste): ditto
15226         (gotoInset): ditto
15227         (updateInset): remove some commented code
15228
15229         * lastfiles.h: inherit privately from noncopyable
15230         * layout.h: ditto
15231         * lyx_gui.h: ditto
15232         * lyx_main.h: ditto
15233         * lyxlex.h: ditto
15234         * lyxlex_pimpl.h: ditto
15235
15236         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15237         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15238         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15239
15240         * LyXAction.h: inherit privately from noncopyable, add methods
15241         func_begin, func_end, returning iterators to the func map.
15242
15243         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15244         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15245         (func_begin): new method
15246         (func_end): new method
15247
15248         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15249         and not)
15250         (copySelection): ditto
15251         (pasteSelection): ditto
15252
15253         * BufferView.C: whitespace change
15254         * BufferView.h: inherit privately from noncopyable
15255
15256 2001-04-16  Allan Rae  <rae@lyx.org>
15257
15258         * tabular-old.C (l_getline):
15259         * spellchecker.C (sc_check_word):
15260         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15261         an unrecognised preprocessor directive.  So ensure they're wrapped.
15262
15263 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15264
15265         * src/exporter.C (Export): Give an error message when path to file
15266         contains spaces.
15267
15268 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * LaTeX.C (deplog): Always check that foundfile exists.
15271
15272 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * lyx_main.h:
15275         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15276
15277 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15278
15279         * tabular.[Ch] (getLabelList): implement new method
15280
15281         * minibuffer.h: comment ouf setTiimer
15282
15283         * minibuffer.C (ExecutingCB): constify res
15284         (peek_event): constify s
15285         (Set): constify ntext
15286         (Init): constify nicename
15287
15288         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15289
15290         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15291         (savePosition): use two params to Minibuffer::Set
15292         (restorePosition): ditto
15293
15294 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15295
15296         * lyx_main.C: include language.h
15297
15298         * Makefile.am (lyx_main.o): add language.h
15299
15300 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15301
15302         * exporter.C:
15303         * paragraph.C:
15304         * screen.C:
15305         * tabular.C:
15306         * CutAndPaste.C: include gettext.h
15307
15308         * lyxfont.h: remove old hack with ON and OFF.
15309
15310         * lyxparagraph.h:
15311         * lyxfont.h: do not include language.h...
15312
15313         * BufferView2.C:
15314         * LaTeXFeatures.C:
15315         * Painter.C:
15316         * bufferview_funcs.C:
15317         * font.C:
15318         * lyxfont.C:
15319         * text.C:
15320         * text2.C:
15321         * trans_mgr.C:
15322         * paragraph.C: ... but do it here instead
15323
15324 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15325
15326         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15327
15328         * tabular.C: small reformat
15329
15330         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15331         NEW_INSETS version
15332         (GetChar): ditto
15333         (BreakParagraph): ditto
15334         (SetOnlyLayout): ditto
15335         (SetLayout): ditto
15336
15337         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15338         with one arg less.
15339
15340         * lastfiles.C: removed most using decl, add std:: where needed
15341
15342         * buffer.C: ws changes
15343
15344         * MenuBackend.C (class compare_format): put into anon namespace
15345         (expand): constify label, names, action, action2
15346         (expand):
15347
15348         * text.C (SingleWidth): constify font
15349         (IsBoundary): constify rtl2
15350         (GetVisibleRow): constify ww
15351
15352         * LaTeX.C (deplog): constify logfile
15353
15354         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15355         start_x, end_x
15356         (workAreaExpose): constify widthChange, heightChange
15357
15358         * lyxrow.C (par): moved
15359         (height): moved
15360         (next): moved
15361         * lyxrow.h: as inlines here
15362
15363         * lyxfont.h (shape): moved from lyxfont.C
15364         (emph): moved from lyxfont.C
15365
15366         * lyxfont.C (LyXFont): use initialization list for all
15367         constructors
15368         (shape): move to lyxfont.h as inline
15369         (emph): move to lyxfont.h as inline
15370
15371
15372 2001-04-04  Juergen Vigna  <jug@sad.it>
15373
15374         * vspace.C: had to include stdio.h for use of sscanf
15375
15376 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15377
15378         * BufferView.h:
15379         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15380         independent of xforms.
15381
15382 2001-04-02  Juergen Vigna  <jug@sad.it>
15383
15384         * spellchecker.C: fixed namespace placing!
15385
15386 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15387
15388         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15389         the LyXParagraph * is 0.
15390
15391 2001-03-29  Juergen Vigna  <jug@sad.it>
15392
15393         * vspace.C: added support for %, c%, p%, l%.
15394         (stringFromUnit): added helper function.
15395         (asLatexString): changed to give right results for the %-values.
15396
15397         * buffer.C: convert the widthp in a width%.
15398
15399 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15400
15401         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15402         figureForm.[Ch].
15403
15404         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15405         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15406
15407         * lyx_cb.[Ch]: see above.
15408
15409         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15410         form1.[Ch].
15411
15412         * form1.[Ch]:
15413         * lyx.[Ch]: replaced by figure_form.[Ch].
15414
15415         * lyx_gui.C:
15416         * lyx_gui_misc.C:
15417         * lyxfunc.C: changed headers associated with above changes.
15418
15419 2001-03-27  Juergen Vigna  <jug@sad.it>
15420
15421         * BufferView_pimpl.C: set the temporary cursor right!
15422
15423 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15424
15425         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15426
15427 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15428
15429         * LString.h: removed "using std::getline"!
15430
15431         * BufferView_pimpl.C (Dispatch): changes due to changes in
15432         InsetInclude::Params.
15433
15434         * buffer.C (tag_name): removed redundant break statements as they were
15435         producing lots of warnings with my compiler.
15436
15437 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * LString.h: add "using std::getline" when using the real <string>.
15440
15441 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15442
15443         * buffer.C: removed bitset usage.
15444         PAR_TAG moved to an anonymous name space.
15445         (tag_name): new funtion, also in the anonymous namespace.
15446         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15447         (makeDocBookFile): clean code. Completed transition from string arrays
15448         to string vectors.
15449         (SimpleDocBookOnePar): code clean.
15450
15451 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15452
15453         * tabular.C: add some comments.
15454
15455 2001-03-22  Juergen Vigna  <jug@sad.it>
15456
15457         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15458         compatibility read a bit and fixed bug with minipage in different
15459         depth.
15460
15461 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15462
15463         * buffer.C (pop_tag): removed.
15464         (push_tag): removed.
15465         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15466         array replaced with vector. Added support for CDATA sections.
15467         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15468         at any nest level.
15469         (makeDocBookFile): XML conformant declaration of CDATA section,
15470         fixed bug related to <emphasis> in the first paragraph char.
15471         (sgmlOpenTag): exclude empty tags.
15472         (sgmlCloseTag): ditto.
15473
15474         * buffer.h (pop_tag): removed.
15475         (push_tag): removed.
15476
15477 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15478
15479         * language.h (Languages): added size_type and size().
15480
15481 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15482
15483         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15484         response on compability reading of minipages. One probliem is that
15485         the old usage of minipages was «flertydig»
15486
15487         * several files here and in subdirs: don't use static at file
15488         scope use anon namespaces instead.
15489
15490 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15491
15492         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15493         LaTeX output. This is necessary for Literate document
15494         processing.
15495
15496 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15497
15498         * buffer.C: insert hfill when needed.
15499
15500         * tabular.C (l_getline): use string::erase, small whitespace change.
15501
15502         * BufferView_pimpl.C: try the anon namespace.
15503         * WorkArea.C: ditto
15504
15505 2001-03-16  Juergen Vigna  <jug@sad.it>
15506
15507         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15508         otherwise it won't open options-dialogs.
15509
15510         * buffer.C: honor pextraWidth(p) on converting minipages.
15511
15512         * tabular.C (l_getline): changed the functions to strip trailing \r.
15513
15514 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15515
15516         * BufferView_pimpl.C:
15517         * minibuffer..C: added "using SigC::slot" declaration.
15518
15519 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15520
15521         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15522
15523         * text2.C: ditto
15524
15525         * text.C: ditto
15526
15527         * paragraph.C: ditto
15528
15529         * lyxtext.h: NO_PEXTRA
15530
15531         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15532
15533         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15534         * ParameterStruct.h: ditto
15535         * ParagraphParameters.h: ditto
15536         * lyxparagraph.h: ditto
15537
15538 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15539
15540         * buffer.C: add compability for minipage alignment.
15541         (latexParagraphs): remove unwanted pextra check.
15542
15543         * several files: remove CXX_WORKING_NAMESPACES
15544
15545         * buffer.C (pop_tag): tie is in namespace boost
15546
15547         * BufferView.h: noncopyable is in namespace boost
15548         * lyxlex.h: ditto
15549         * lyx_main.h: ditto
15550         * lyx_gui.h: ditto
15551         * layout.h: ditto
15552         * lastfiles.h: ditto
15553         * bufferlist.h: ditto
15554         * ShareContainer.h: ditto
15555         * LyXView.h: ditto
15556         * LyXAction.h: ditto
15557         * LaTeX.h: ditto
15558
15559 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15560
15561         * Merging changes from BRANCH_MVC back into HEAD.
15562
15563         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15564
15565 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15566
15567         * BufferView_pimpl.C: change from intl.C
15568
15569         * combox.h:
15570         * combox.C:
15571         * Makefile.am: move combox.*
15572
15573         * form1.h:
15574         * form1.C:
15575         * lyx_gui.C:
15576         * intl.h:
15577         * intl.C: remove dialog (covered by prefs)
15578
15579 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15580
15581         * lyxfunc.C (Dispatch): removed redundant break statement.
15582
15583 2001-03-14  Juergen Vigna  <jug@sad.it>
15584
15585         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15586
15587 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15588
15589         * buffer.C: add hack to fix compability reading of minipages.
15590
15591 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15592
15593         * buffer.C (getLists): Cleanup.
15594
15595 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15596
15597         * lyxfont.C (update): don't honor toggleall on font size.
15598
15599 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15600
15601         * bmtable.c:
15602         * bmtable.h:
15603         * Makefile.am: moved to frontends/xforms/
15604
15605         * lyx_gui_misc.C:
15606         * lyxfunc.C:
15607         * BufferView_pimpl.C: changes for moved mathpanel
15608
15609 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15610
15611         * gettext.h: fix gettext_init() in --disable-nls
15612
15613 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15614
15615         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15616
15617 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15618
15619         * lyx.C:
15620         * lyx.h: strip external form
15621
15622 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15623
15624         * BufferView_pimpl.C: add comment, destroySplash()
15625
15626 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15627
15628         * BufferView_pimpl.C:
15629         * LyXAction.C:
15630         * buffer.C:
15631         * commandtags.h:
15632         * lyxfunc.C: use re-worked insetinclude
15633
15634 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15635
15636         * buffer.C: add using std::stringstream.
15637
15638         * lyx_cb.C: readd using std::ios.
15639
15640         * buffer.C: add using std::map.
15641
15642         * BufferView_pimpl.C: add using std::vector.
15643
15644         * ShareContainer.h: add std:: to swap.
15645
15646         * buffer.h: add some typedefs
15647         * buffer.C (getLists): use them
15648         (getLists): renamed from getTocList.
15649         add a counter for the different float types and use it in the
15650         generated string.
15651         (getLists): use the same counter for the NEW_INSETS and the "non"
15652         NEW_INSETS
15653
15654         * lyx_cb.h: remove unused items, includes, using etc.
15655
15656         * ShareContainer.h: remove some commented code, add more comments
15657         and "documentation".
15658
15659 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15660
15661         * buffer.C (getTocList): make the list also when NEW_INSETS is
15662         defined.
15663
15664         * buffer.h: remove TocType
15665
15666         * buffer.C (getTocList): change to return a map<string,
15667         vector<TocItem> >, implement for dynamic number of list.
15668
15669         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15670         * text2.C (PasteSelection): adjust
15671         * CutAndPaste.C (pasteSelection): adjust
15672
15673         * FloatList.C (FloatList): update from the new_insets branch.
15674         * Floating.[Ch]: ditto
15675         * LaTeXFeatures.C: ditto
15676         * buffer.C: ditto
15677         * lyxlex_pimpl.C: ditto
15678
15679         * paragraph.C (Last): remove when NEW_INSETS is defined.
15680
15681         * other file: changes because of the above.
15682
15683 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15684
15685         * lyxparagraph.h: rename next to next_, previous to previous_,
15686         make them private for NEW_INSETS. Rename Next() to next(),
15687         Previous() to previous().
15688
15689         * other files: changes because of the above.
15690
15691 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15692
15693         * BufferView.h:
15694         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15695         problem.
15696
15697 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * main.C (main): pass lyx_localedir to gettext_init().
15700
15701         * gettext.h: remove locale_init and gettext_init macros
15702
15703         * gettext.C (locale_init): new function
15704         (gettext_init): new function
15705
15706         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15707         setlocale().
15708
15709 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15710
15711         * Moved credits to frontends:
15712         * credits.[Ch]: removed
15713         * credits_form.[Ch]: removed
15714         * lyx_gui_misc.C: remove credits stuff
15715         * Makefile.am:
15716
15717 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15718
15719         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15720
15721         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15722         unneeded destructor.
15723
15724         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15725         a standalone pointer again.
15726
15727         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15728
15729 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15730
15731         * Makefile.am:
15732         * filedlg.h:
15733         * filedlg.C:
15734         * LyXAction.C:
15735         * ToolbarDefaults.C:
15736         * bufferlist.C:
15737         * commandtags.h:
15738         * form1.C:
15739         * form1.h:
15740         * lyx_cb.C:
15741         * lyx_cb.h:
15742         * lyxfunc.h:
15743         * lyxfunc.C:
15744         * BufferView_pimpl.C: use new file dialog in GUII
15745
15746         * lyx_cb.h:
15747         * lyx_cb.C: remove LayoutsCB to Toolbar
15748
15749 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15750
15751         * ShareContainer.h (get): add std:: qualifier
15752
15753 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * ShareContainer.h: define a proper ShareContainer::value_type
15756         type (and use typename to please compaq cxx)
15757
15758 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15759
15760         * lyxparagraph.h: move serveral local vars to
15761         ParameterStruct/ParagraphParameters., use ShareContainer in
15762         FontTable., make vars in FontTable private and add getter and
15763         setter.
15764
15765         * paragraph.C: changes because of the above.
15766
15767         * lyxfont.h: remove copy constructor and copy assignment. (the
15768         default ones is ok), move number inside FontBits. move inlines to
15769         lyxfont.C
15770
15771         * lyxfont.C: add number to initializaton of statics, move several
15772         inlines here. constify several local vars. some whitespace
15773         cleanup. Dont hide outerscope variables.
15774
15775         * Spacing.h: add two new constructors to match the set methods.
15776
15777         * ShareContainer.h: new file, will perhaps be moved to support
15778
15779         * ParameterStruct.h: new file
15780
15781         * ParagraphParameters.h: new file
15782
15783         * ParagraphParameters.C: new file
15784
15785         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15786         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15787
15788         * BufferView_pimpl.C: ParagraphParameter changes.
15789         * buffer.C: Likewise.
15790         * bufferview_funcs.C: Likewise.
15791         * text.C: Likewise.
15792         * text2.C: Likewise.
15793
15794 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * lyxfind.C (LyXReplace): do not redefine default argument in
15797         implementation.
15798         (IsStringInText): ditto
15799         (SearchForward): ditto
15800         (SearchBackward): ditto
15801
15802 2001-03-06  Juergen Vigna  <jug@sad.it>
15803
15804         * lyxfind.C (IsStringInText): put parentes around expressions.
15805
15806 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15807
15808         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15809
15810 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15811
15812         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15813
15814         * stl_string_fwd.h: add comment
15815
15816         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15817
15818         * tabular.h:
15819         * tabular.C: remove unused DocBook methods
15820
15821         * intl.C:
15822         * language.C:
15823         * paragraph.C:
15824         * buffer.C:
15825         killed DO_USE_DEFAULT_LANGUAGE
15826
15827 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15828
15829         * lyx_gui.C: do not include language.h.
15830
15831         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15832         arguments in function implementation.
15833
15834 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15835
15836         * BufferView_pimpl.C: add <ctime>
15837
15838 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15839
15840         * BufferView_pimpl.C: add using std::find_if
15841
15842 2001-02-27  José Matos  <jamatos@fep.up.pt>
15843
15844         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15845         by OnlyPath.
15846
15847 2001-02-11  José Matos  <jamatos@fep.up.pt>
15848
15849         * buffer.C (makeDocBookFile): command styles now have a parameter as
15850         "title" by default.
15851
15852 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15853
15854         * layout_forms.[Ch]: removed
15855         * lyx_cb.[Ch]: out character
15856         * lyx_gui.C: out character
15857         * lyx_gui_misc.C: out character
15858         * bufferview_funcs.C: : out character,
15859         added toggleall as parameter in ToggleAndShow
15860
15861 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15862
15863         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15864
15865         * text2.C (SetCurrentFont): Disable number property at boundary.
15866
15867 2001-02-26  Juergen Vigna  <jug@sad.it>
15868
15869         * lyxfunc.C (getStatus): added a string argument override function so
15870         that this is correctly called from LyXFunc::Dispatch if it contains a
15871         do_not_use_argument which is used!
15872         (Dispatch): added check for "custom" export and call appropriate func.
15873
15874 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15875
15876         * lyxrc.C: Add language_command_local, language_use_babel and
15877         language_global_options.
15878
15879         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15880
15881         * buffer.C (makeLaTeXFile): Use language_use_babel and
15882         language_global_options.
15883
15884 2001-02-23  Juergen Vigna  <jug@sad.it>
15885
15886         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15887         which works with LyXText and putted it inside BufferView. Here now we
15888         only call for that part the BufferView::Dispatch() function.
15889
15890         * BufferView.C (Dispatch): added.
15891
15892         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15893         functions which needs to use a LyXText over from LyXFunc.
15894         (MenuInsertLyXFile): added
15895         (getInsetByCode): added
15896         (moveCursorUpdate): added
15897         (static TEXT): added
15898
15899 2001-02-22  Juergen Vigna  <jug@sad.it>
15900
15901         * BufferView_pimpl.C (update): call a status update to see if LyXText
15902         needs it.
15903
15904 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15905
15906         * vc-backend.C (revert): implement for CVS
15907         (getLog): implement for CVS
15908
15909 2001-02-20  Juergen Vigna  <jug@sad.it>
15910
15911         * text2.C (ClearSelection): added BufferView param for inset_owner call
15912
15913         * lyxfunc.C (TEXT): added this function and use it instead of
15914         directly owner->view()-text of getLyXText().
15915
15916 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15917
15918         * src/layout_forms.C: out preamble
15919         * src/layout_forms.h: out preamble
15920         * src/lyx_cb.C: out preamble
15921         * src/lyx_cb.h: out preamble
15922         * src/lyx_gui.C: out preamble
15923         * src/lyx_gui_misc.C: out preamble
15924         * src/lyxfunc.C: connect with guii preamble
15925
15926 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15927
15928         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15929
15930 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15931
15932         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15933         whether to run bibtex.
15934
15935 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15936
15937         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15938
15939 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15940
15941         * Makefile.am (lyx_SOURCES): removed bibforms.h
15942
15943         * vspace.h: doxygen
15944
15945         * text.C (GetVisibleRow): make several local vars const
15946
15947         * tabular.C: small cleanup.
15948
15949         * lyxserver.C (callback): use compare instead of strncmp
15950
15951         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15952         inlines to after class or to paragraph.C
15953
15954         * lyxfont.h: remove friend operator!=
15955
15956         * converter.h: move friend bool operator< to non friend and after
15957         class def.
15958
15959         * combox.h: small cleanup
15960
15961         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15962         to inlines after class def.
15963
15964         * buffer.C (pop_tag): use string operations instead of strcmp
15965
15966         * bmtable.c: doxygen, small cleanup
15967
15968         * LaTeX.h: remove friend operator==
15969
15970 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15971
15972         * screen.C:
15973         * lyxrc.[Ch]:
15974         * lyxfunc.C:
15975         * lyxfont.[Ch]:
15976         * lyx_cb.C:
15977         * intl.[Ch]:
15978         * commandtags.h:
15979         * buffer.C:
15980         * WorkArea.[Ch]:
15981         * LyXAction.C:
15982         * BufferView_pimpl.C:
15983         * BufferView.[Ch]: remove cruft
15984
15985 2001-02-14  Juergen Vigna  <jug@sad.it>
15986
15987         * lyxfunc.C: removed #if 0 unused code
15988
15989         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15990
15991         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15992
15993         * text2.C (SetSelection): added a BufferView * parameter
15994
15995 2001-02-13  Juergen Vigna  <jug@sad.it>
15996
15997         * lyxfunc.C (Dispatch): fixed protected blank problem.
15998         * BufferView2.C (protectedBlank): added LyxText * parameter.
15999
16000         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16001         (AppendColumn): same as above for column_info.
16002
16003         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16004         (moveCursorUpdate): use a LyXText param for support of InsetText.
16005
16006         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16007         (tripleClick): ditto
16008
16009         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16010
16011         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16012
16013         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16014
16015         * text2.C (SetSelection): set correct update status if inset_owner
16016         (ToggleFree): ditto
16017
16018 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16019
16020         * tabular.C: remove some commented code.
16021
16022 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16023
16024         * BufferView_pimpl.C: call hideSplash()
16025
16026         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16027
16028         * include_form.h:
16029         * bibforms.h: remove
16030
16031         * lyxfunc.C:
16032         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16033           add LFUN_CHILD_CREATE
16034
16035         * counters.h: fix tiny typo
16036
16037         * lyx_cb.C:
16038         * lyx.h:
16039         * lyx_gui.C:
16040         * lyx.C: move splash to frontends/xforms/
16041
16042         * lyx_gui_misc.C: move Include and Bibform to frontends
16043
16044         * lyxvc.h: clarify comment
16045
16046         * vspace.C: tiny housekeeping
16047
16048 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16049
16050         * text.C (PrepareToPrint): RTL Fix.
16051
16052         * paragraph.C (GetUChar): New method.
16053         (String):  Use GetUChar.
16054
16055         * buffer.C (asciiParagraph): Use GetUChar.
16056
16057 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16058
16059         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16060
16061 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16062
16063         * buffer.h:
16064         * buffer.C: rename to getLogName(), handle
16065           build log / latex log nicely
16066
16067 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16068
16069         * MenuBackend.C:
16070         * MenuBackend.h: remove support for reference menuitem type.
16071
16072 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16073
16074         * BufferView_pimpl.C: housekeeping
16075         * BufferView_pimpl.h:
16076         * LyXView.h:
16077         * Makefile.am:
16078         * Timeout.C:
16079         * Timeout.h:
16080         * minibuffer.h: move Timeout GUI-I
16081
16082 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16083
16084         * lyxrc.C (read): Update converters data-structures.
16085
16086 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16087
16088         * LaTeX.h (operator!=): add operator != for Aux_Info
16089
16090 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16091
16092         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16093
16094         * LaTeXLog.C: deleted, useful code moved to Buffer
16095
16096         * buffer.h:
16097         * buffer.C: new function getLatexLogName()
16098
16099         * lyx_gui_misc.C:
16100         * lyx_gui.C:
16101         * lyxvc.C:
16102         * lyxvc.h:
16103         * lyxfunc.C: use frontends for LaTeX and VC logs
16104
16105 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16106
16107         * LaTeX.h: yet another std:: that Allan forgot.
16108
16109         * Variables.C (set): renamed from isset(), because this clashes
16110         with some HP-UX macros (grr).
16111
16112 2001-02-06  Allan Rae  <rae@lyx.org>
16113
16114         * LaTeX.h: Another bug fix.  Missing std:: this time.
16115
16116 2001-02-04  Allan Rae  <rae@lyx.org>
16117
16118         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16119         floats problem. I've left it commented out because it's not quite
16120         correct.  It should also test that the current object is a table or
16121         figure inset.  But I haven't gotten around to figuring out how to do
16122         that.  I *think* it'll be something like: "table" == inset.type()
16123
16124         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16125         bool.
16126
16127 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16128
16129         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16130         all the citation/databases/styles in the auxilary file.
16131         (run): Rerun latex if there was a babel language error.
16132
16133 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16134
16135         * text.C (Backspace): Preserve the font when changing newline char
16136         with a space.
16137         (BreakParagraph): If the cursor is before a space, delete the space.
16138
16139         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16140
16141 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16142
16143         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16144         new argument (code).
16145         (ChangeCitationsIfUnique): New method.
16146
16147         * paragraph.C (GetPositionOfInset): Handle bibkey.
16148
16149 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16150
16151         * BufferView_pimpl.h: change type of Position::par_pos to
16152         LyXParagraph::size_type.
16153
16154 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16155
16156         * BufferView_pimpl.C (savePosition, restorePosition): Write
16157         messages to minibuffer.
16158
16159 2001-01-28  José Matos  <jamatos@fep.up.pt>
16160
16161         * buffer.C (makeDocBookFile): adds support for document language.
16162         A silly restriction on the name of LatexCommand types where removed.
16163         Added support for CDATA sections, allows to chars unescaped, used
16164         among others in code, to avoid escape < and >.
16165
16166 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16167
16168         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16169         saved positions instrad of a stack. Furthermore, a position is
16170         stored using paragraph id/paragraph position.
16171
16172         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16173         Remove LFUN_REF_BACK.
16174
16175 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16176
16177         * converter.C (dvipdfm_options): New method.
16178
16179 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16180
16181         * vspace.C (isValidLength): Fix for empty input string.
16182
16183 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16184
16185         * LyXAction.C (init): change description of LFUN_FIGURE to
16186         "Insert Graphics"
16187
16188 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16189
16190         * LaTeX.C: add using directive
16191
16192 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16193
16194         * MenuBackend.C (expand): Fix the sorting of the formats.
16195
16196 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16197
16198         * lyx_main.C: tiny error message fix
16199
16200 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16201
16202         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16203         calling fl_initialize(). This fixes the problem with ',' as
16204         decimal separator in text files.
16205
16206 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16207
16208         * trans.C (process): Fix the keymap bug.
16209
16210 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16211
16212         * LaTeX.C (scanAuxFiles): New method. Provides support for
16213         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16214         (scanLogFile) Scan for "run BibTeX" messages.
16215
16216         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16217         OT1 font encoding. Also, load the aecompl package if the ae
16218         package is loaded.
16219
16220         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16221
16222 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16223
16224         * texrow.C (increasePos): turn two error messages into debug
16225         messages.
16226
16227 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16228
16229         * LaTeX.C (scanAux): Handle the \@input macro.
16230         (runBibTeX): Use scanAux().
16231
16232         * language.C (latex_options_): New field.
16233
16234         * LaTeXFeatures.C (getMacros): Add language macros.
16235
16236         * buffer.C (makeLaTeXFile): Small fix.
16237
16238 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16239
16240         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16241
16242         * text2.C: add a using directive.
16243
16244 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16245
16246         * BufferView2.C:
16247         * lyx_gui_misc.h:
16248         * lyxfr1.C:
16249         * lyxfunc.C: kill LyXBell.
16250
16251 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16252
16253         * text.C (IsBoundary): Remove the error message
16254
16255         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16256
16257         * lyxrc.C (setDefaults): Correct initialization value for
16258         font_norm_type.
16259
16260 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16261
16262         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16263         gotoError().
16264
16265         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16266         and GotoNextNote().
16267
16268         * src/LyXAction.C: Added reference-next.
16269
16270         * text.C (InsertChar): Use contains instead of strchr.
16271
16272         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16273
16274 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16275
16276         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16277         alignment commands (when needed).
16278
16279         * text.C (InsertChar): Add ':' to number separator chars.