]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
42b946086b33468d40a29e06cee8fe1f47b727ea
[lyx.git] / src / ChangeLog
1
2 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * text2.C (getSelectionSpan): remove
5         (changeDepth, changeDepthAllowed): adjust
6
7 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
8
9         * Makefile.am (BOOST_LIBS): use boost variables
10
11 2004-12-03  José Matos <jamatos@lyx.org>
12
13         * buffer.C: format up to 238.
14
15 2004-12-03  José Matos  <jamatos@lyx.org>
16
17         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
18
19 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
20
21         * cursor.C (goUpDown): remove call to idxUpDown2
22
23 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
24
25         * tabular.[Ch]: use size_t-like types for cell, row and column
26         indices
27
28 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * lyxfunc.C (getStatus): do not lose previous information when
31         calling BufferView::getStatus; do not set a default "Command
32         disabled" message at the beginning, but just before returning.
33
34 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
35
36         * cursor.h (getStatus): add better comment from src/cursor.C
37
38 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * text3.C (getStatus): return false when the lfun is not handled
41
42 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * broken_headers.h: remove
45
46         * Makefile.am (lyx_SOURCES): remove broken_headers.h
47
48 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
49
50         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
51         offset_ref accessors
52
53         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
54         top_y_, merge fitcursor with update
55         (updateScrollbar, scrollDocView, fitCursor, center, update): new
56         coord scheme
57         (metrics): introduce
58         (workAreaDispatch): adapt to new coord scheme
59         (redoCurrentBuffer): remove
60
61         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
62
63         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
64         CurStatus enum.
65
66         * coordcache.[Ch]: add paragraph cache and helpers
67
68         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
69         adjust everywhere
70
71         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
72         (targetX, setTargetX): introduce
73
74         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
75         baseline -> ascent, as the rest of lyx
76
77         * lyxtext.h: remove redoParagraphs, updateParPositions,
78         fullRebreak, redoParagraphInternal. move dist to anon namespace in
79         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
80         have ascent/descent (ascent is ascent of first par)
81
82         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
83         step of BufferView
84
85         * paragraph.[Ch]: unify dimension handling with the rest of lyx
86
87         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
88
89         * pariterator.C: fix infinite loop introduced in par->pit renaming
90
91         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
92         in insets and LyXText, draw two off-screen paragraphs using
93         NullPainter, and adapt to new coord scheme
94
95         * text.C:
96         * text2.C:
97         * text3.C: adapt lfun handlers to the new coord scheme, which
98         means: there's only guaranteed coord information for onscreen pars
99         plus one above and one below. This implies that one can do search
100         from y coordinates in the range [-1,workHeight]
101
102 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
103
104         * rename a lot of InsetOld to InsetBase
105
106 2004-11-25  Angus Leeming  <leeming@lyx.org>
107
108         * BufferView_pimpl.C:
109         * lyx_cb.C:
110         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
111
112 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
115         call BufferView::getStatus if LCursor::getStatus did nothing
116         (setStatusMessage, getStatusMessage): removed.
117
118         * FuncStatus.C (message): new methods. Used to provide an error
119         message indicating why a command is disabled.
120         (clear, |=, FuncStatus): update for message.
121
122 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * lyxfunc.C (dispatch): always call sendDispatchMessage
125
126 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
127
128         * BufferView.C:
129         * BufferView_pimpl.C:
130         * CutAndPaste.C:
131         * FontIterator.C:
132         * buffer.C:
133         * cursor.C:
134         * cursor_slice.[Ch]:
135         * dociterator.[Ch]:
136         * lyxfind.C:
137         * paragraph_funcs.C:
138         * pariterator.C:
139         * rowpainter.C:
140         * text.C:
141         * text2.C:
142         * text3.C:
143         * undo.C: par->pit renaming
144
145 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
146
147         * tabular.C (cellstruct): use initialization, store a shared_ptr
148         to insettext instead of the insettext directly, adjust to fit.
149         (operator=):  new function
150         (swap): new function
151         (rowstruct): use initialization
152         (columnstruct): use initialization
153         (ltType): use initialization
154
155
156         * lyxlength.h (swap): new function
157
158         * LColor.[Ch] (operator=): use the common semantics
159
160 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * lyxfind.C (findNextChange): update the bufferview after setting
163         the selection.
164
165 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
168         number of InsetOptArgs has already been inserted.
169
170         * output_latex.C (latexOptArgInsets): new method. This outputs all
171         the optarg insets, up to the limit defined in the layout file.
172         (optArgInset): removed
173         (TeXOnePar): call latexOptArgInsets; correctly update texrow
174
175 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * paragraph.C (isLetter): remove special spellchecker-related
178         code; return true also for digits
179         (isWord, isKomma): remove
180
181         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
182         * lyxfind.C (MatchString()): use isLetter instead of isWord
183
184 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
185
186         * pariterator.h (operatir=): comment out un-implemented member
187         function.
188
189         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
190         static cast.
191
192 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
193
194         * lyxfont.h: include LColor.h to satisfy concept checks.
195
196 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
197
198         * pariterator.h: add typdefs for value_type, difference_type,
199         pointer and reference to satisfy concept checks. Also add default
200         constructor for same reason.
201
202         * pariterator.C (operator++): add post-increment operator to
203         satisfy concept checks.
204
205         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
206         checks.
207
208         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
209
210         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
211         checks. Also rename base_type to BaseType to follow naming
212         standard better.
213
214         * FloatList.h: include Floating.h to satisfy concept checks.
215
216 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * lyxfunc.C (getStatus): when the origin of the request is menu or
219         toolbar, and the LyXView does not have focus, do as if there was
220         no buffer (bug 1720)
221
222         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
223         FuncRequest to individual entries of LFUN_SEQUENCE
224
225 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * output_latex.C (TeXOnePar): override runparams.moving_arg
228         according to the needprotect value of the current paragraph (bug
229         1739)
230
231         * paragraph.C (simpleTeXOnePar): no need to override
232         runparams.moving_args here
233
234 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
235
236         * vspace.C: fix off-by-one-error, related to fix #1682
237
238 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
239
240         * lengthcommon.C: a more general fix for bug 1682
241
242 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * text.C (backspace): fix crash
245
246 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * format.[Ch] (getFormatFromFile): new method
249         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
250
251 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
254
255 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * lyxfunc.C (dispatch): remove the verbose argument
258         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
259         instead
260
261         * kbmap.C (defkey): set the origin of func to KEYBOARD
262
263         * MenuBackend.C (MenuItem):
264         * ToolbarBackend.C (add): set the origin of func to UI
265
266         * funcrequest.[Ch]: add origin member, which indicates which part
267         of LyX requests an action
268
269 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
270
271         * converter.C (move): don't lie in the error message
272         * converter.h (isReachable, move): document
273
274 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
275
276         * buffer.C: remove unused using lyx::support::atoi
277         * paragraph_funcs.C: ditto
278
279 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
280
281         * bufferlist.C (exists): use bind and equal_to instead of
282         compare_memfun
283         (getBuffer): ditto
284         * lyxtextclasslist.C (NumberOfClass): ditto
285
286         * cursor.C (insert): use for_each instead of explicit for loop
287
288         * bufferlist.C (getFileNames): use std::transform and
289         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
290
291         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
292         for loop
293
294         * buffer.C (changeLanguage): use for_each instead of explicit for
295         loop
296         (hasParWithID): implement using getParFromID
297
298         * LaTeXFeatures.C: ws change only
299
300         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
301         to cleanup a bit.
302
303         * BufferView_pimpl.C (trackChanges): use for_each instead of
304         expilicit for loop
305
306 2004-11-04  André Pönitz  <poenitz@gmx.net>
307
308         * undo.h:
309         * undo.C (textUndoOrRedo): fix crash when creating undo information.
310
311         * dociterator.C (asDocIterator): use hard assert again.
312
313 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * lyxlength.C (asLatexString): rewrite so that it does not use
316         snprintf anymore
317
318 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * text3.C (specialChar, dispatch): make sure cursor moves to the
321         right after inserting an inset
322
323 2004-11-02  José Matos  <jamatos@lyx.org>
324
325         * output_docbook.C (docbook):
326         * paragraph.C (getID):
327         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
328         garantee that the output is always legal.
329
330         * tabular.C (docbook):
331         * outputprams.[Ch]: remove mixed contents.
332
333 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
334
335         * text2.C (setCounter): prevent endless loop
336
337 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
338
339         * exporter.C (copyFile): use the mover instead of support::copy()
340         * exporter.C (Export): pass format and latex name to copyFile()
341         * exporter.h (addExternalFile): document
342         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
343
344 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
345
346         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
347
348 2004-10-30  José Matos  <jamatos@lyx.org>
349
350         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
351         text and no inset or font change. This allows to use CDATA
352         sections just for the whole paragraph.
353
354 2004-10-30  José Matos  <jamatos@lyx.org>
355
356         * paragraph.C (getFirstWord): remove unused variable.
357
358 2004-10-30  José Matos  <jamatos@lyx.org>
359
360         * paragraph.C (getFirstWord): the content should always be escaped
361         there.
362         (simpleDocBookOnePar):
363         * output_docbook.C (makeEnvironment): replace reference to CDATA
364         to style pass_thru.
365
366 2004-10-30  José Matos  <jamatos@lyx.org>
367
368         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
369
370 2004-10-30  José Matos  <jamatos@lyx.org>
371
372         * output_docbook.C (makeParagraphs):
373         * paragraph.[Ch] (emptyTag): for docbook and company, if the
374         standard paragraph has only a given type of content drop the wrapper.
375
376 2004-10-29  José Matos  <jamatos@lyx.org>
377
378         * output_docbook.C (makeEnvironment):
379         * sgml.C (openTag):
380         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
381
382 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
383
384         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
385         (cleanID): sanitize any id.
386
387 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
388
389         * buffer.C, lyxlex_pimpl.C:
390         * lyxlex_pimpl.C (setFile):
391         s/getExtFromContents/getFormatFromContents/
392
393 2004-10-28  José Matos  <jamatos@lyx.org>
394
395         * output_docbook.C (makeEnvironment): move id to broadest possible
396         scope.
397
398         * sgml.C (openTag): apply substitution of <> for all attributes.
399
400 2004-10-28  José Matos  <jamatos@lyx.org>
401
402         * buffer.C (makeLinuxDocFile, makeDocBookFile):
403         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
404         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
405
406         * sgml.[Ch]: new version for open and closeTag for paragraph and
407         for strings. Now they handle the ids of paragraphs.
408
409 2004-10-26  Angus Leeming  <leeming@lyx.org>
410
411         * Makefile.am: add mover.[Ch].
412
413         * converter.C (convert, move): use the new Movers to move external
414         files to the temp directory.
415
416         * lyx_main.C (init): ensure that the global system_movers data
417         is initialised.
418
419         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
420         preferences file.
421
422         * mover.[Ch]: new files, defining a Mover as a utility to move an
423         external file between directories and, if necessary, manipulate this
424         file using a helper script.
425
426 2004-10-25  José Matos  <jamatos@lyx.org>
427
428         * output_docbook.C (makeCommand): merge two if's that tested the
429         same condition.
430
431 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * sgml.C (escapeString): fix warning in a better way
434
435 2004-10-25  José Matos  <jamatos@lyx.org>
436
437         * sgml.C (escapeString): import the require boosts header file for
438         tie, and avoid a signed unsigned comparison.
439
440 2004-10-25  José Matos  <jamatos@lyx.org>
441
442         * sgml.h: add #include <string>
443
444 2004-10-25  José Matos  <jamatos@lyx.org>
445
446         * sgml.[Ch] (escapeString): new function to escape all the string.
447
448 2004-10-24  José Matos  <jamatos@lyx.org>
449
450         * paragraph.[Ch] (getFirstWord): new function to get the first
451         word. Useful for description.
452         (simpleDocBookOnePar): remove depth argument, add another that
453         says where to start the paragraph.
454
455         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
456         use the new functions to fix cleanly the support for descriptions.
457
458 2004-10-24  José Matos  <jamatos@lyx.org>
459
460         * buffer.C (makeLinuxDocFile, makeDocBookFile):
461         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
462         * output_linuxdoc.C (linuxdocParagraphs):
463         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
464         add buffer as argument.
465
466 2004-10-24  José Matos  <jamatos@lyx.org>
467
468         * output_docbook.C (makeEnvironment, searchEnvironment): place
469         CDATA inside paragraphs and fix scope for listitems.
470
471 2004-10-24  José Matos  <jamatos@lyx.org>
472
473         * output_docbook.C: remove using statement for stack.
474
475 2004-10-23  José Matos  <jamatos@lyx.org>
476
477         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
478         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
479         docbook. The new scheme is recursive and makes use of iterators, the
480         same as latex export works.
481         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
482         directly with the paragraph contents. This code was moved up to
483         output_docbook.C (docbookParagraphs).
484         * sgml.C (openTag, closeTag): removed unneeded newlines.
485         (closeEnvTags) removed.
486
487 2004-10-23  André Pönitz  <poenitz@gmx.net>
488
489         * undo.C (textUndoOrRedo):
490         * dociterator.C (asDocIterator): work around crash
491
492         * cursor.C (getStatus): replace ASSERT by more verbose error message
493           and manual correction of the problem. Should increase stability
494           while providing more sensible information.
495
496 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
499
500         * bufferlist.C (previous, next): new methods
501
502         * lfuns.h:
503         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
504
505 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
506
507         * buffer.C (makeDocBookFile): add dsssl stylesheet control
508         entities to preamble.
509
510 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
511
512         * messages.C (Pimpl): strip off translation context information
513
514 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
517         the cursor is correct (bug 1694)
518
519 2004-10-13  José Matos  <jamatos@lyx.org>
520
521         * output_docbook.C (docbookParagraphs): fix closing tags in the
522         end of the document.
523
524 2004-10-09  José Matos  <jamatos@lyx.org>
525
526         * buffer.C: format up to 237.
527         * bufferparams.C (write): use tostr to convert booleans to strings.
528
529 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
530
531         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
532
533 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
534
535         * LaTeX.C: implement use of babel language in xindy.
536
537 2004-10-05  José Matos  <jamatos@lyx.org>
538
539         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
540         Add new translators to help reading and writing the lyx file.
541
542 2004-10-05  José Matos  <jamatos@lyx.org>
543
544         * ParagraphParameters.C (read):
545         * text.C (readParToken): replace nexToken by more appropriate lex
546         methods.
547
548 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
549
550         * LaTeX.C (runMakeIndex):
551         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
552         (usually 'makeindex') configurable.
553
554         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
555         with a variable rather than with a number.
556
557 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         * output_latex.C (TeXOnePar): make sure font setting is the first
560         thing that gets output (and the last at the end). Should fix bug
561         1404.
562
563 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
564
565         * pch.h: use proper signal include
566
567         * LaTeX.h: Use preferred calling of Boost.Signal
568         * buffer.h: ditto
569
570 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
571
572         * pch.h: dont include <boost/function/function0.hpp>
573
574         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
575
576         * paragraph_pimpl.h: remove usage of ShareContainer
577
578         * paragraph_pimpl.C: remove initialization of ShareContainer.
579
580 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         Fix bug #1666
583
584         * BufferView.C (putSelectionAt): change the semantics when
585         backwards == true: now, this just swaps cursor and anchor wrt the
586         forward case
587
588         * BufferView.h (putSelectionAt): add some documentation
589
590         * lyxfind.C (findBackwards): rewrite using while(). In particular,
591         make sure backwardChar is done at least once (to avoid getting
592         stuck)
593         (findNextChange): use putSelectionAt in the forward direction
594         (operator()): use Paragraph::isWord
595
596 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
597
598         * Spacing.C (set): c_str fix
599
600 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * lyx_cb.C (Reconfigure): quote the name of configure script in
603         case it contains spaces
604
605 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
606
607         * client: new dir
608
609         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
610         (BOOST_LIBS): use top_buildir when looking for the file
611
612 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
613
614         * pch.h: do not use include boost/format.hpp, multiple symbols
615                 will result (gcc bug)
616
617
618 2004-08-23  José Matos  <jamatos@lyx.org>
619
620         * bufferparams.C (readToken): fix reading of the author field.
621
622 2004-08-20  José Matos  <jamatos@lyx.org>
623
624         * lyxrc.C: remove support/translator.h inclusion since it is not used.
625
626 2004-08-20  José Matos  <jamatos@lyx.org>
627
628         * lyxlex.[Ch] (findToken): remove function.
629
630         * ParagraphParameters.C (findToken):
631         * bufferparams.C (findToken): replace call for previous function
632         with local copy. This local function has one more argument, the
633         read string argument.
634
635 2004-08-16  José Matos  <jamatos@lyx.org>
636
637         * ParagraphParameters.C (write):
638         * Spacing.C (writeFile):
639         * bufferparams.C (writeLaTeX):
640         * lyx_cb.C (Reconfigure):
641         * paragraph.C (write):
642         * tabular.C (write): remove unnecessary space at end of line.
643
644
645 2004-08-16  José Matos  <jamatos@lyx.org>
646
647         * text.C (readParagraph): remove debug message.
648
649 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
652         crash
653
654         * output_plaintext.C (asciiParagraph): set depth correctly
655
656         * outputparams.h: add member depth
657
658         * paragraph_funcs.C (ownerPar): remove.
659
660         * text2.C (setCounter): remove first_pit; comment out some
661         non-working code that uses ownerPar
662
663         * BufferView.C (getParentLanguage): remove. Not used anymore, and
664         uses ownerPar
665
666 2004-08-16  José Matos  <jamatos@lyx.org>
667
668         * text.C (readParToken, readParagraph, read): report all unknown tokens.
669         For the same level of importance use the same chanel to report problems.
670         (read): add code to deal with \begin_body and \end_body.
671
672
673 2004-08-15  José Matos  <jamatos@lyx.org>
674
675         * lyxlex.C (getString): fix comment, buffer::readBody is now
676         buffer:readDocument.
677
678         * tex-strings.C (string_papersize): Default -> default,
679         Custom -> custom, for consistency with other options.
680
681 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
682
683         * pch.h: new file
684
685         * Makefile.am: support pch
686
687 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * text.C (readParToken): remove the static LyXFont variable and
690         pass it as a parameter instead. This fixes a nasty bug where an
691         inset will be inserted with a bad font in some situations
692         (readParagraph): adapt
693
694         * text2.C (setCounter): reduce number of calls to pars_[pit]
695
696         * text.C (singleWidth): add an assert, fix a test
697
698         * rowpainter.C (paintText): reduce number of calls to singleWidth
699
700         * paragraph.C (isHfill):
701         (isNewline): ws only
702
703 2004-08-14  André Pönitz  <poenitz@gmx.net>
704
705         * text.C:
706         * text2.C:
707         * rowpainter.C:
708         * lyxtext.h (several functions): use a Paragraph & argument
709         instead of par_type
710
711 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * metricsinfo.h: add a new field ltr_pos to PainterInfo
714
715         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
716
717         * text.C (singleWidth): remove useless test
718
719 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
720
721         * tabular.h: remove bogus comments
722
723         * tabular.C (getDescentOfRow):
724         (isPartOfMultiColumn): add assertions
725
726         * lyxlength.C (inPixels): remove #warning
727
728 2004-08-14  André Pönitz  <poenitz@gmx.net>
729
730         * paragraph.h: inline getChar()
731
732         * BufferView.h: remove unused declarations
733
734 2004-08-14  José Matos  <jamatos@lyx.org>
735
736         * Buffer.[Ch] (readDocument): new name for old readBody.
737         * Buffer.C: new file format, new keywords: \begin_document,
738         \begin_header, \begin_body, \end_body.
739
740         * bufferparams.C (readToken): replace all calls to lex.nextToken
741         by lex.next(). Do the same to eatLine except where really needed.
742
743         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
744         line when writing to the lyx file.
745
746         * output_plaintext.C (asciiParagraph): fix Bibliography style
747         handling.
748
749         * text.C (read): fix end of file handling.
750
751 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * MenuBackend.C (Menu::operator[]): new method to access
754         individual menu items
755         (Menu::hasFunc): new method. search for an item that corresponds
756         to a given func
757         (MenuBackend::specialMenu): new method
758         (MenuBackend::expand): if a special menu has been set, skip
759         entries whose func() appears in this menu
760
761 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
762
763         * text3.C: use Debug::DEBUG a bit more
764
765         * text.C (leftMargin): try to simplify a tiny bit change var x to
766         l_margin. Dont output the wide margins always.
767         (rightMargin): no margin in inner texts
768
769         * rowpainter.h (nestMargin): new func
770         (changebarMargin): new func
771         (rightMargin): new func
772
773         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
774         now functions.
775         (paintLast): ditto
776
777         * factory.C (createInset): modify setDrawFrame
778
779         * cursor.C: use Debug::DEBUG a bit more
780
781 2004-08-14  André Pönitz  <poenitz@gmx.net>
782
783         * coordcache.[Ch]:
784         * Makefile.am: new files to accomodate an 'external' (x,y)-position
785         cache for all insets in (at least partially) visible (top-level)
786         paragraphs.
787
788         * BufferView_pimpl.C: reset external coord cache before every update.
789         This means the coord cache only contains valid entries.
790
791 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
792
793         bug 1096
794         * BufferView_pimpl.C (getInsetByCode): move function out of class
795         and change in to a template in anon namespace. Also fix to do what
796         suits us better.
797
798 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
799
800         bug 1305
801         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
802         of char
803         (breakParagraph): rename par to par_offset and use a local
804         reference. Add code to keep the language over a rebreak.
805         (breakParagraphConservative): rename par to par_offset, use a
806         local reference
807         (mergeParagraph): ditto
808         (outerHook): ditto
809         (isFirstInSequence): ditto
810         (outerFont): rename pit to par_offset
811
812         * paragraph.C: ws change
813         * paragraph.h: ditto
814         * text3.C: ditto
815         * text.C: ditto
816
817 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
820         treatment for ']'
821
822         * paragraph.C (simpleTeXOnePar): when we have a \item with
823         optional argument, enclose the argument with curly brackets (in
824         case it contains a closing square bracket)
825
826         * text2.C (editXY):
827         * text2.C (editXY):
828         * text3.C (checkInsetHit): constify
829
830 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
833         documents (bug 1629)
834
835 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         Fix toggling of collapsable insets with the mouse (bug 1558)
838
839         * lyxfunc.C (dispatch): adapt to LCursor changes
840
841         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
842         make sure that dispatch is not invoked twice
843
844         * cursor.C (needsUpdate): new method
845         (dispatch): return void
846         (result): new method, to access the DispatchResult of the cursor.
847
848 2004-08-13  José Matos  <jamatos@lyx.org>
849
850         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
851
852 2004-08-13  André Pönitz  <poenitz@gmx.net>
853
854         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
855
856         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
857           multiple cells
858
859 2004-08-12  André Pönitz  <poenitz@gmx.net>
860
861         * text3.C: take out the 'cursor right' form insertInset and only
862         do it in those places when it is really needed. Fixes crash on
863         C-m...
864
865 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
866
867         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
868
869         * BufferView_pimpl.C (setBuffer): initialize the current font of
870         the underlying LyXText
871
872 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
873
874         * kbsequence.C (print): use UI native formatting for menu
875         shortcuts
876
877         * text.C (insertChar): call Paragraph::insertChar with a font
878         argument (cosmetic)
879
880         * paragraph.C (insertInset, insertChar): the version that takes a
881         LyXFont argument is now a wrapper around the other one (the
882         opposite used to be true).
883
884         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
885         argument. Font setting is done in Paragraph now.
886
887 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * outputparams.h: add new members intitle and lang.
890
891         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
892         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
893
894 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
895
896         * text3.C (dispatch): remove special handling of button 4 and 5,
897         it is now taken care of in the frontend code.
898
899 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
900
901         * Spacing.h: add <string> (STLPort compile fix)
902
903 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
904
905         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
906
907 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
908
909         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
910         to bool.
911
912         * converter.C (showMessage): inherit from unary_function, make
913         operator() const.
914
915         * buffer.C (writeFile): initialize retval
916
917         * InsetList.h: rename private variable list to list_
918         * InsetList.[Ch]: adjust accordingly.
919
920 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
921
922         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
923         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
924         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
925         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
926         * ParagraphParameters.C, LaTeXFeatures.C: replace
927         "support/std_sstream.h" with <sstream>
928
929 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
930
931         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
932         * lyxsocket.C (LyXServerSocket): ditto
933         (serverCallback): ditto
934
935 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
936
937         * LaTeXFeatures.C: check release date when loading jurabib.
938
939 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
940
941         * lyxserver.C (startPipe): call register_socket_callback
942         (endPipe): call unregister_socket_callback
943
944 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
945
946         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
947         (LyXServerSocket): register the callback
948         (LyXServerSocket): unregister the callback
949         (fd): delete function
950         (serverCallback): improve error checking and setup the callbacks.
951         (dataCallback): change arg to fd.
952         (writeln): new func (copied fro the client socket) used for server
953         write to client.
954         (LyXDataSocket): simplify
955         (~LyXDataSocket): close ann unregiser callback
956         (server): delete function
957         (fd): delete function
958         (readln): small changes, improve some std::string usage
959         (writeln): constify a bit
960
961 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
962
963         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
964         Qt frontend
965
966 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * BufferView_pimpl.C (setBuffer): set the layout combox value only
969         after it has been populated
970
971 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * text2.C (insertInset): move cursor when inserting inset.
974
975 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * kbmap.C (findbindings): a couple of new methods. returns a
978         container of kb_sequence objects. The real work is done by the
979         private recursive version
980         (printbindings): uses findbindings to print out a bracketed list
981         of bindings (renamed from findbinding).
982
983         * MenuBackend.C (binding): use kb_keymap::findbindings
984
985         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
986
987 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
988
989         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
990
991 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
992
993         * paragraph.C (isWord): return true on insets that report
994         isLetter().
995
996         * text.C (getWord): use Paragraph::isWord to decide what is in a
997         word and what is not; fix bug 1609.
998
999 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1000
1001         * tex-strings.C: add "none" to string_paperpackages[], fixes
1002         off-by-one-error in the paperpackage selection.
1003
1004         * lyxlex.[Ch]:
1005         * tex-strings.[Ch]: char const * string[n]
1006         -> char const * const string[]
1007
1008 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1009
1010         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1011         command, return early.
1012
1013 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1014
1015         * debug.h: add DEBUG to enum and fix size of ANY.
1016
1017         * debug.C: add support for Debug::DEBUG
1018         (showTags): cast errorTags.level to unsigned int
1019
1020         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1021         (redoCurrentBuffer): ditto
1022         (updateScrollbar): ditto
1023         * cursor.C (dispatch): ditto
1024         * text2.C (setLayout): ditto
1025         (setFont): ditto
1026         (updateCounters): ditto
1027         (editXY): ditto
1028         (deleteEmptyParagraphMechanism): ditto
1029
1030 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1031
1032         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1033         annotations to cleanup the Makefile slightly.
1034
1035 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * lyxrc.C: do not set user_email to a default value but use empty
1038         instead. The entry used to be translated, which does not work
1039         since at the point where lyxrc is constructed there is no
1040         translation service available
1041
1042         * messages.C (getLocaleDir): remove and use directly
1043         lyx_localedir() instead
1044
1045 2004-06-02  Angus Leeming  <leeming@lyx.org>
1046
1047         Fix crash caused by dereferencing null pointer 'exportdata' in
1048         OutputParams by creating a new ExportData variable on the heap,
1049         storing it in a boost::shared_ptr.
1050         The crash was triggered when generating an Instant Preview
1051         of an external inset.
1052
1053         * Makefile.am: add outputparams.C
1054
1055         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1056         (c-tor): allocate memory to it.
1057
1058         * exporter.C (c-tor): associated changes.
1059
1060 2004-06-01  Angus Leeming  <leeming@lyx.org>
1061
1062         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1063         contains data before calling isInset(0). (Bug 1513.)
1064
1065 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1066
1067         * exporter.C (checkOverwrite): new method
1068         * exporter.C (copyFile): new method
1069         * exporter.C (Export): copy referenced files to the document dir
1070         * exporter.[Ch]: new class ExportedFile
1071         * exporter.[Ch]: new class ExportData. Contains currently the
1072         names of referenced external files
1073         * outputparams.h: add exportdata member.
1074
1075 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1076
1077         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1078         version.C-tmp
1079
1080 2004-05-19  Angus Leeming  <leeming@lyx.org>
1081
1082         * LaTeXFeatures.C:
1083         * ToolbarBackend.C:
1084         * bufferparams.C:
1085         * lyxfunc.C: small changes due to the introduction of namespace
1086         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1087
1088 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1089
1090         * text3.C (dispatch): supress update when only moving the cursor
1091         * cursor.C (selHandle): remove commented code
1092
1093 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1094
1095         * paragraph.C (startTeXParParams): correct column count
1096         * CutAndPaste.C (pasteSelection): remove const_cast
1097         * output_docbook.C (docbookParagraphs): remove const_cast
1098         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1099         const_cast and return ParagraphList::const_iterator
1100         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1101         * output_plaintext.C (writeFileAscii): remove const_cast
1102         * paragraph.[Ch] (simpleTeXOnePar): make const
1103         * paragraph_funcs.C (outerPar): use const iterators
1104         * paragraph_pimpl.C (validate): use const iterators
1105         * text.C (setHeightOfRow): use const iterators
1106
1107 2004-05-17  Angus Leeming  <leeming@lyx.org>
1108
1109         * lfuns.h:
1110         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1111
1112         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1113         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1114         if the citation engine has changed.
1115
1116 2004-05-14  José Matos  <jamatos@lyx.org>
1117
1118         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1119         if the textclass does not provide it. Have it different for sgml and
1120         xml.
1121         support the language of document.
1122         * output_docbook.C (docbookParagraphs):
1123         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1124         first anchor as the id of the paragraph, remove special case code.
1125         * sgml.C (escapeChar): escape only < & >.
1126
1127 2004-05-14  Angus Leeming  <leeming@lyx.org>
1128
1129         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1130         dependencies on src/frontends/controllers/biblio.h. Define a
1131         CiteEngine_enum wrapper class to enable the enum to be forward
1132         declared.
1133
1134 2004-05-12  Angus Leeming  <leeming@lyx.org>
1135
1136         * buffer.C: up LYX_FORMAT to 234.
1137         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1138         use_numerical_citations with a single biblio::CiteEngine cite_engine
1139         variable.
1140         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1141
1142 2004-05-13  José Matos  <jamatos@lyx.org>
1143
1144         * converter.h:
1145         * converter.C (Converter, readFlags): add xml member.
1146         * outputparams.h: add XML flavor.
1147         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1148
1149 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * lyxfunc.C (dispatch):
1152         (getStatus): fix handling of LFUN_SEQUENCE
1153
1154 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1155
1156         * debug.C (showLevel): do not forget the end-of-line marker
1157
1158 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1159
1160         * kbmap.C (read): do not stop parsing a bind file when an error
1161         occurs (bug 1575)
1162
1163 2004-04-29  Angus Leeming  <leeming@lyx.org>
1164
1165         * cursor.C:
1166         * factory.C:
1167         * pariterator.C:
1168         * text2.C: wrap a bunch of #warning statements
1169         inside #ifdef WITH_WARNINGS blocks.
1170
1171 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1172
1173         * buffer.C: increment format to 233.
1174
1175 2004-04-28  Angus Leeming  <leeming@lyx.org>
1176
1177         * BufferView_pimpl.C:
1178         * lyxfunc.C:
1179         * text3.C:
1180         s/updateToolbar()/updateToolbars()/
1181         s/Toolbar.h/Toolbars.h/
1182
1183 2004-04-28  Angus Leeming  <leeming@lyx.org>
1184
1185         * BufferView.[Ch] (c-tor):
1186         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1187         No longer passes these data to the WorkArea generator.
1188
1189 2004-04-28  Angus Leeming  <leeming@lyx.org>
1190
1191         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1192
1193 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1194
1195         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1196
1197 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * output_latex.C (TeXEnvironment): make sure that there is a line
1200         break before \end{foo} for the last paragraph of a document
1201         (TeXOnePar): if the paragraph is at the end of the document (or
1202         inset) and the language has to be reset, then make sure that the
1203         line break is _before_ the language command, not after (fixes bug
1204         1225); also make sure that the language reset command is the first
1205         thing after the paragraph (to ensure proper nesting of
1206         environments and thus fix bug 1404)
1207
1208 2004-04-21  John Levon  <levon@movementarian.org>
1209
1210         * ToolbarBackend.h:
1211         * ToolbarBackend.C: make "name" be a programmatic name
1212         and a gui_name field.
1213
1214         * lyxfunc.C: display the minibuffer on M-x
1215
1216 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1219         (bug 1526)
1220
1221 2004-04-19  Angus Leeming  <leeming@lyx.org>
1222
1223         * BufferView_pimpl.C (setBuffer): changed preview interface.
1224
1225         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1226         possible values.
1227
1228 2004-04-19  John Levon  <levon@movementarian.org>
1229
1230         * BufferView_pimpl.C:
1231         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1232
1233 2004-04-05  Angus Leeming  <leeming@lyx.org>
1234
1235         * text.C (redoParagraphs): add call to updateCounters(), thereby
1236         fixing the missing "Figure #:" label from the caption of a
1237         figure float.
1238
1239 2004-04-13  Angus Leeming  <leeming@lyx.org>
1240
1241         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1242         cursor is clicked out of an inset.
1243
1244 2004-04-13  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1247         than an InsetOld one.
1248
1249 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1250
1251         * format.[Ch]: add editor to Format
1252         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1253         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1254
1255 2004-04-08  André Pönitz  <poenitz@gmx.net>
1256
1257         * metricsinfo.h: remove PainterInfo::width member
1258
1259 2004-04-08  Angus Leeming  <leeming@lyx.org>
1260
1261         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1262         "\providecommand" rather than "\newcommand", thereby preventing
1263         clashes with packages that define "\boldsymbol" themselves.
1264         Eg, beamer.
1265
1266 2004-04-08  Angus Leeming  <leeming@lyx.org>
1267
1268         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1269         thereby squashing an unnecessary warning.
1270
1271 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1272
1273         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1274         setBuffer()
1275
1276 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1277
1278         * BufferView.C (setCursor): call redoParagraph (some insets could
1279         have been opened)
1280         (putSelectionAt): remove the 'double update' trick
1281
1282         * BufferView_pimpl.C (fitCursor): call refreshPar
1283         (workAreaDispatch): remove an uneeded update call
1284         (dispatch): remove some manual update calls
1285
1286         * cursor.[Ch]: remove cached_y_, updatePos
1287         (selHandle): set noUpdate when appropriate
1288
1289         * lyxfunc.C (dispatch): track if we need an update
1290
1291         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1292
1293         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1294         (paintSelection): cheap optimization, do not call cursorX when not
1295         needed
1296         (paintPars): change signature
1297         (refreshPar): add
1298         (paintText): adjust
1299         (paintTextInset): adjust
1300
1301         * text.C: adjust
1302
1303 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * lengthcommon.C: compilation fix: remove explicit array size from
1306         unit_name[] and friends
1307
1308 2004-04-05  Angus Leeming  <leeming@lyx.org>
1309
1310         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1311
1312         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1313         present only for the preferences dialog.
1314         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1315
1316 2004-04-05  Angus Leeming  <leeming@lyx.org>
1317
1318         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1319         to enable the frontends to export changes to lyxrc correctly.
1320
1321         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1322
1323 2004-04-07  André Pönitz  <poenitz@gmx.net>
1324
1325         * cursor.[Ch] (selClear, adjust): remove math
1326
1327         * cursor_slice.C: more agressive assert
1328
1329         * lyxfunc.C:
1330         * BufferView_pimpl.C: rework mouse event dispatch
1331
1332         * dociterator.C:
1333         * paragraph.C:
1334         * text2.C:
1335         * text3.C: adjust
1336
1337 2004-04-05  André Pönitz  <poenitz@gmx.net>
1338
1339         * cursor.[Ch] (valign, halign...): remove unneeded functions
1340
1341 2004-04-05  Angus Leeming  <leeming@lyx.org>
1342
1343         * lyxlength.[Ch] (unit_name et al.): const-correct.
1344
1345 2004-04-05  Angus Leeming  <leeming@lyx.org>
1346
1347         * BufferView_pimpl.C:
1348         * buffer.C:
1349         * counters.C:
1350         * cursor.C:
1351         * lyxfunc.C
1352         * paragraph.C:
1353         * pariterator.C:
1354         * text.C:
1355         * text2.C:
1356         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1357
1358 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1361
1362 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1363
1364         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1365         * BufferView_pimpl.[Ch] (getStatus)
1366         * BufferView.[Ch] (getStatus): add
1367         * lyxfunc.C (getStatus): move lfuns handled in
1368         BufferView::dispatch to te function above
1369         * Cursor.C (setSelection): set selection() = true
1370
1371 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1374
1375 2004-03-31  Angus Leeming  <leeming@lyx.org>
1376
1377         * lyxfunc.C (dispatch): Fall through to the generic
1378         Dialogs::show("preamble").
1379
1380 2004-03-31  Angus Leeming  <leeming@lyx.org>
1381
1382         * lyxfunc.C (dispatch): Fall through to the generic
1383         Dialogs::show("spellchecker").
1384
1385 2004-03-31  Angus Leeming  <leeming@lyx.org>
1386
1387         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1388         preferences dialog.
1389
1390 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1391
1392         * BufferView.C
1393         * cursor.[Ch]
1394         * dociterator.[Ch]:
1395         * insetiterator.[Ch]:
1396         * lyxfind.C:
1397         * lyxfunc.C:
1398         * pariterator.[Ch]:
1399         * text2.C:
1400         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1401
1402 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1403
1404         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1405         insets where we are putting the cursor.
1406
1407 2004-03-31  Angus Leeming  <leeming@lyx.org>
1408
1409         * lfuns.h:
1410         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1411
1412         * lyxrc.[Ch] (read, write): overloaded member functions taking
1413         a std::[io]stream arguments.
1414
1415         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1416
1417 2004-03-31  Angus Leeming  <leeming@lyx.org>
1418
1419         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1420         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1421
1422         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1423         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1424
1425 2004-03-31  Angus Leeming  <leeming@lyx.org>
1426
1427         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1428         the LFUN_ALL_INSETS_TOGGLE code.
1429
1430 2004-03-30  Angus Leeming  <leeming@lyx.org>
1431
1432         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1433         has died. Fall through to the generic Dialogs::show("document").
1434
1435 2004-03-30  Angus Leeming  <leeming@lyx.org>
1436
1437         * lfuns.h:
1438         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1439         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1440
1441         * lyxfunc.C (getStatus, dispatch): define the actions for these
1442         lfuns. Little more than a cut and pste job from ControlDocument.C
1443
1444         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1445
1446 2004-03-30  Angus Leeming  <leeming@lyx.org>
1447
1448         * lfuns.h:
1449         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1450         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1451
1452         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1453         open/closed state of ollapsable insets. Usage:
1454
1455         all-inset-toggle <state> <name>, where
1456         <state> == "open" || "closed" || "toggle" and
1457         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1458
1459         * lyxtext.h, text2.C (toggleInset): removed.
1460
1461         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1462         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1463         now passes LFUN_INSET_TOGGLE to the found inset.
1464
1465         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1466         is now invoked as "all-insets-toggle toggle branch".
1467
1468 2004-03-30  Angus Leeming  <leeming@lyx.org>
1469
1470         * dociterator.C:
1471         * insetiterator.C:
1472         * pariterator.[Ch]: added/corrected header blurb.
1473
1474 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1475
1476         * dociterator.[Ch]: add an inset_ member
1477         (backwardPos): implemented
1478         (backwardPos, forwardPos): use inset_ when the stack is empty.
1479         (doc_iterator_begin, doc_iterator_end): implemented
1480         * pariterator.[Ch]: adjust, add begin, end
1481         * insetiterator.[Ch]: adjust, add begin, end
1482         * cursor.C:
1483         * document.C:
1484         * BufferView.C:
1485         * BufferView_pimpl.C:
1486         * CutAndPaste.C: adjust
1487
1488 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1489
1490         * buffer.C: increment file format to 232.
1491         * LaTeXFeatures.C: add bibtopic package.
1492         * bufferparams.[Ch]: param \use_bibtopic.
1493
1494         * lyxrc.[Ch]: add lyxrc bibtex_command
1495         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1496
1497         * buffer.C: increment file format to 231.
1498
1499 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1500
1501         * dociterator.C: implement forwardPar
1502         * iterators.[Ch]: remove, replaced by
1503         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1504         * BufferView.C:
1505         * BufferView_pimpl.C:
1506         * CutAndPaste.C:
1507         * buffer.C:
1508         * bufferview_funcs.C:
1509         * cursor.C:
1510         * lyxfind.C
1511         * lyxfunc.C
1512         * paragraph_funcs.C
1513         * toc.C:
1514         * Makefile.am: adjust
1515
1516 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1517
1518         * CutAndPaste.C (pasteSelection): fix 2 crashes
1519         (eraseSelection): fix a crash
1520         * paragraph_funcs.C: remove a warning
1521
1522 2004-03-28  Angus Leeming  <leeming@lyx.org>
1523
1524         * lfuns.h:
1525         * LyXAction.C (init): new LFUN_PRINT.
1526
1527         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1528
1529 2004-03-27  Angus Leeming  <leeming@lyx.org>
1530
1531         * lfuns.h:
1532         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1533
1534         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1535
1536 2004-03-27  Angus Leeming  <leeming@lyx.org>
1537
1538         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1539         insetlist always contains non-null pointers to insets.
1540
1541 2004-03-26  Angus Leeming  <leeming@lyx.org>
1542
1543         * src/BufferView_pimpl.C:
1544         * src/CutAndPaste.C:
1545         * src/buffer.C:
1546         * src/iterators.C:
1547         * src/output_plaintext.C:
1548         * src/outputparams.h:
1549         * src/paragraph_funcs.C:
1550         * src/rowpainter.C:
1551         * src/text.C:
1552         * src/text2.C:
1553         * src/frontends/controllers/ControlErrorList.C:
1554         * src/frontends/gtk/FileDialogPrivate.C:
1555         * src/frontends/gtk/GPainter.C:
1556         * src/frontends/gtk/GToolbar.C:
1557         * src/frontends/qt2/QRef.C:
1558         * src/mathed/math_scriptinset.C: squash compiler warnings.
1559
1560 2004-03-26  Angus Leeming  <leeming@lyx.org>
1561
1562         * ispell.C (LaunchIspell::start):
1563         * lyx_cb.C (AutoSaveBuffer::start):
1564         invoke run(DontWait) rather than runNonBlocking().
1565
1566 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1567
1568         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1569
1570 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * kbsequence.C (print): adjust
1573
1574         * kbmap.C (printKeySym): rename and change signature
1575         (printKey): use LyXKeySym::print()
1576
1577 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1578
1579         * undo.C: add using std::advance to compile for stlport
1580
1581 2004-03-24  Angus Leeming  <leeming@lyx.org>
1582
1583         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1584         it leads to a crash when no buffer is present.
1585
1586 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1587             Martin Vermeer  <martin.vermeer@hut.fi>
1588
1589         * lyxfunc.C (dispatch):
1590         * bufferparams.C (readToken): use the new LColor::setColor
1591
1592         * LColor.[Ch] (setColor): new version that takes two strings as
1593         argument and creates a new color entry if necessary
1594
1595 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1596
1597         * buffer.C (makeLaTeXFile): if the main latex file that is
1598         processed is usually a subdocument of some master, then pretend
1599         for a while that it is actually the master
1600
1601 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1602
1603         * buffer.C (getLabelList):
1604         (getBibkeyList): use getMasterBuffer()
1605         (getMasterBuffer): new method. Returns the main document in the
1606         case where one is using included documents.
1607
1608 2004-03-25  André Pönitz  <poenitz@gmx.net>
1609
1610         * Makefile.am:
1611         * iterators.[Ch]:
1612         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1613
1614         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1615
1616         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1617         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1618
1619         * ParameterStruct.h: merge with ParagraphParameters
1620
1621         * lyxtext.h: remove LyXText::parOffset() and getPar()
1622
1623         * text3.C: Remove all 'manual' update calls. We do now one per user
1624         interaction which is completely sufficient.
1625
1626         * Bidi.C:
1627         * BufferView.[Ch]:
1628         * BufferView_pimpl.C:
1629         * FontIterator.[Ch]:
1630         * MenuBackend.C:
1631         * ParagraphParameters.[Ch]:
1632         * buffer.C:
1633         * buffer.h:
1634         * bufferlist.C:
1635         * cursor.[Ch]:
1636         * cursor_slice.[Ch]:
1637         * dociterator.[Ch]:
1638         * errorlist.[Ch]:
1639         * factory.C:
1640         * lfuns.h:
1641         * lyxfind.C:
1642         * lyxfunc.C:
1643         * output_docbook.[Ch]:
1644         * output_latex.[Ch]:
1645         * output_linuxdoc.[Ch]:
1646         * output_plaintext.[Ch]:
1647         * paragraph.[Ch]:
1648         * paragraph_funcs.[Ch]:
1649         * paragraph_pimpl.[Ch]:
1650         * rowpainter.C:
1651         * tabular.[Ch]:
1652         * text.C:
1653         * text2.C:
1654         * toc.C:
1655         * undo.[Ch]: adjust
1656
1657         * frontends/controllers/ControlDocument.C:
1658         * frontends/controllers/ControlErrorList.C:
1659         * frontends/controllers/ControlSpellchecker.C:
1660         * insets/inset.C:
1661         * insets/inset.h:
1662         * insets/insetbase.h:
1663         * insets/insetbibitem.C:
1664         * insets/insetbox.C:
1665         * insets/insetbranch.C:
1666         * insets/insetcaption.C:
1667         * insets/insetcharstyle.C:
1668         * insets/insetcharstyle.h:
1669         * insets/insetcollapsable.C:
1670         * insets/insetcollapsable.h:
1671         * insets/insetert.C:
1672         * insets/insetfloat.C:
1673         * insets/insetfoot.C:
1674         * insets/insetmarginal.C:
1675         * insets/insetnote.C:
1676         * insets/insetoptarg.C:
1677         * insets/insettabular.C:
1678         * insets/insettext.C:
1679         * insets/insettext.h:
1680         * insets/insetwrap.C:
1681         * mathed/math_mboxinset.C:
1682         * mathed/math_nestinset.C:
1683         * mathed/math_scriptinset.C:
1684         * mathed/math_scriptinset.h:
1685         * support/types.h:
1686
1687 2004-03-24  Angus Leeming  <leeming@lyx.org>
1688
1689         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1690         deal with any child processes that have finished but are waiting to
1691         communicate this fact to the rest of LyX.
1692
1693 2004-03-24  Angus Leeming  <leeming@lyx.org>
1694
1695         64-bit compile fixes.
1696
1697         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1698         (c-tor): pass lyx::pos_types rather than ints.
1699
1700         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1701         lyx::pos_type.
1702
1703         * text.C (Delete): compile fix.
1704         (getPar): ensure that function declaration is the same as that in
1705         the header file.
1706
1707 2004-03-23  Angus Leeming  <leeming@lyx.org>
1708
1709         * ispell.C (LaunchIspell):
1710         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1711         a boost::shred_ptr rather than a std::auto_ptr.
1712
1713 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1714
1715         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1716         handle LFUN_FILE_INSERT_*
1717
1718         * lyxrc.C (setDefaults, getDescription, output, read):
1719         * lyxrc.h: remove ps_command
1720
1721 2004-03-22  Angus Leeming  <leeming@lyx.org>
1722
1723         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1724         Ensure that error_handler is processed once only and that all data
1725         is saved before attempting to output any warning messages.
1726
1727         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1728
1729 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1730
1731         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1732
1733 2004-03-19  André Pönitz  <poenitz@gmx.net>
1734
1735         * cursor.[Ch] (reset): take main text inset as argument
1736
1737         * BufferView: adjust
1738         * BufferView_pimpl.C: adjust
1739
1740         * paragraph.[Ch]: fix completely broken operator=()
1741
1742 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1743
1744         * LColor.C (getFromLyXName): make sure that the color name is used
1745         as lowercase.
1746
1747 2004-03-17  Angus Leeming  <leeming@lyx.org>
1748
1749         * lfuns.h:
1750         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1751
1752         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1753         dialog and to kill a forked process.
1754
1755 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1756
1757         * text2.C (setCursorFromCoordinates): fix font problem
1758
1759 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1760
1761         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1762         bogus "rebuild cursor" code
1763
1764 2004-03-11  André Pönitz  <poenitz@gmx.net>
1765
1766         * buffer.[Ch]: use InsetText instead of LyXText as container for
1767         the main lyx text.
1768
1769         * dociterator.[Ch]: drop the BufferView * member which is not needed
1770         anymore after the change to buffer.C
1771
1772         * paragraph_funcs.C:
1773         * text.C:
1774         * text2.C:
1775         * BufferView.[Ch]:
1776         * BufferView_pimpl.[Ch]:
1777         * cursor.[Ch]:
1778         * cursor_slice.[Ch]: adjust
1779
1780         * text3.C: fix bug in mathDispatch
1781
1782 2004-03-08  André Pönitz  <poenitz@gmx.net>
1783
1784         * undo.[Ch]: use 'StableDocumentIterator' as base for
1785         the Undo struct.
1786
1787 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1788
1789         * LaTeXFeatures.C:
1790         * bufferparams.[Ch]: add jurabib support and param.
1791
1792         * LaTeX.C: add FIXME/comment.
1793
1794 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1795
1796         * buffer.C: increment file format to 230.
1797
1798 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * cursor.C (dispatch): avoid infinite loops
1801
1802 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * rowpainter.C (paintSelection): fix x coordinates
1805
1806 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * text.C (rowBreakPoint): fix breaking before displayed insets
1809
1810 2004-03-01  André Pönitz  <poenitz@gmx.net>
1811
1812         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1813
1814         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1815
1816         * Makefile.am:
1817         * BufferView.C:
1818         * BufferView_pimpl.C:
1819         * buffer.C:
1820         * lyxfind.C:
1821         * lyxfunc.C:
1822         * text.C:
1823         * text2.C:
1824         * text3.C: adjust
1825
1826 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * lyxtext.h:
1829         * text.C:
1830         * text2.C:
1831         * rowpainter.C:
1832         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1833         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1834
1835 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * Bidi.[Ch] (computeTables): const correctness
1838         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1839         fill_hfill, fill_label_hfill and x from Row
1840         * lyxtext.h: prepareToPrint returns a RowMetrics
1841         * rowPainter.C: adjust
1842         * text.C (prepareToPrint): use width, not textWidth. adjust
1843         (redoParagraphInternal, cursorX): adjust
1844         * text2.C (getColumnNearX): adjust
1845         (init): put a default value to the top LyXText::width
1846
1847 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1848
1849         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1850
1851 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1852
1853         * lyxtext.h: add FontIterator class
1854
1855         * text.C (FontIterator, operator*, operator->, operator++): add
1856         (rowBreakPoint, setRowWidth): adjust (fixing a
1857         rebreaking bug)
1858
1859 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * BufferView_pimpl.C (workAreaDispatch): allow also
1862         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1863
1864 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * text.C (rowBreakPoint): fix a bug showing with very large insets
1867
1868 2004-02-25  André Pönitz  <poenitz@gmx.net>
1869
1870         * text3.C:
1871         * cursor.[Ch]: move some mathed specific code to mathed
1872
1873 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1874
1875         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1876         use_tempdir in preferences
1877         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1878         tempfile creation
1879         * lyx_main.C: ensure that tempdir is valid
1880         * lyxlex.h: correct typo
1881         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1882         * paragraph.[Ch] (isMultiLingual): make const
1883         * cursor.[Ch] (openable): make const
1884
1885 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1886
1887         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1888
1889 2004-02-20  André Pönitz  <poenitz@gmx.net>
1890
1891         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1892
1893         * cursor.[Ch]: prepare for localized getStatus()
1894
1895         * lyxtext.h:
1896         * tabular.C:
1897         * text.C:
1898         * text2.C:
1899         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1900
1901 2004-02-20  André Pönitz  <poenitz@gmx.net>
1902
1903         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1904
1905 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * text2.C (setCursorFromCoordinates): switch to absolute coords
1908         (cursorUp): adjust
1909         (cursorDown): adjust
1910         * text3.C (dispatch): adjust
1911
1912 2004-02-16  André Pönitz  <poenitz@gmx.net>
1913
1914         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1915           insets/ChangeLog)
1916
1917         * cursor_slice.[Ch]: remove unneeded acessor function
1918
1919         * lyxtext.h: rename rtl() to isRTL()
1920
1921         * rowpainter.C:
1922         * tabular.C:
1923         * text.C:
1924         * text2.C:
1925         * text3.C: adjust
1926
1927 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1928
1929         * rowpainter.C (paintSelection): coord fix
1930
1931 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1932
1933         * Spacing.C: compile fix
1934
1935 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1936
1937         * cursor.C (dispatch): restore current_ before returning
1938
1939 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1940
1941         * text2.C (cursorUp, cursorDown): fix coords
1942         (moveUp): fix crash
1943
1944 2004-02-12  André Pönitz  <poenitz@gmx.net>
1945
1946         * lyxtext.h:
1947         * text.C:
1948         * text2.C:
1949         * text3.C: add LCursor & parameter to most cursor movement functions
1950           remove usage of LyXText::cursorRow() and cursorPar()
1951
1952         * cursor.[Ch]: add textRow() needed members
1953
1954         * BufferView.C:
1955         * BufferView_pimpl.C:
1956         * paragraph.[Ch]:
1957         * BufferView.C:
1958         * BufferView_pimpl.C: adjust
1959
1960 2004-02-11  André Pönitz  <poenitz@gmx.net>
1961
1962         * lyxfunc.C:
1963         * BufferView.[Ch]:
1964         * BufferView_pimpl.C: shift undo/redo handling
1965
1966         * cursor.[Ch]: fix mathed crash
1967
1968         * lyxfind.C:
1969         * lyxtext.h: move selectionAsText to LCursor
1970
1971         * output_latex.C:
1972         * paragraph.C:
1973         * text.C:
1974         * text2.C:
1975         * text3.C: adjust
1976
1977         * rowpainter.C: fix excessive drawing
1978
1979 2004-02-06  André Pönitz  <poenitz@gmx.net>
1980
1981         * BufferView.[Ch]:
1982         * BufferView_pimpl.[Ch]:
1983         * text3.C: move some text specific LFUN handling
1984
1985 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * text3.C (checkInsetHit): adjust coords
1988         * text2.C (getColumnNearX): adjust coords
1989         (edit): adjust coords
1990         * text.C (getRowNearY): add two asserts
1991
1992 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1993
1994         * converter.C:
1995         * format.C: add using std::distance to compile on gcc 2.95/stlport
1996
1997 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1998
1999         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2000
2001 2004-02-04  André Pönitz  <poenitz@gmx.net>
2002
2003         * BufferView.[Ch] (insertInset):
2004         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2005
2006         * text2.C:
2007         * text3.C: adjust
2008
2009 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2010
2011         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2012         on the default clause of the switch
2013         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2014         wasn't catched by LCursor::dispatch
2015
2016 2004-02-03  André Pönitz  <poenitz@gmx.net>
2017
2018         * BufferView.C:
2019         * cursor.[Ch]: some additional asserts
2020
2021         * undo.[Ch]: remove LyXText dependency in interface
2022
2023         * lyxfunc.C: adjust
2024
2025         * lyxtext.h (firstPar, lastPar): remove dead functions
2026
2027         * text.C:
2028         * text2.C:
2029         * text3.C:
2030         * paragraph.[Ch]: adjust
2031
2032 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2033
2034         * lyxfind.C (find): fix argument order in call to ::find
2035
2036 2004-02-02  André Pönitz  <poenitz@gmx.net>
2037
2038         * cursor.[Ch]: remove direct access to anchor
2039
2040         * text.C: remove findText() hack
2041
2042 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * iterators.[Ch] (lockPath): remove in favour of...
2045         * BufferView.[Ch] (setCursor): this addition
2046         * BufferView.C (putSelectionAt): adjust
2047         * undo.C (performUndoOrRedo): adjust
2048         * lyxfunc.C (dispatch): adjust
2049
2050 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * iterators.C (lockPath): add a missing slice
2053         * undo.C (performUndoOrRedo): remove redundant positioning code
2054
2055 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2056
2057         * vc-backend.C (scanMaster): ";" -> ';'
2058
2059 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2060
2061         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2062         std::binary_function
2063
2064         * lyxtextclass.C (compare_name): rename to...
2065         (LayoutNamesEqual): ...this
2066
2067         * lyxlex_pimpl.C (compare_tags): inherit from
2068         std::binary_function, put back into anon namespace
2069
2070         * lyxfind.C (MatchString): inherig from std::binary_function
2071         (findChange): use empty() istead of !size()
2072
2073         * format.C (FormatNamesEqual): new functor
2074         (getFormat): use it
2075         (getNumber): use it
2076         (add): use it
2077         (erase): use it
2078         (setViewer): use it
2079
2080         * converter.C (compare_Converter): rename to...
2081         (ConverterEqual): ...this, and fixup a bit.
2082         (getConverter): use it, and make function const
2083         (getNumber): use it, and make function const
2084         (add): use it
2085         (erase): use it:
2086
2087         * bufferlist.C: add using boost::bind
2088
2089         * MenuBackend.C (MenuNamesEqual): new functor
2090         (hasMenu): use it, and make function const
2091         (hasSubmenu): use nested bind to get rid of compare_memfun.
2092
2093 2004-01-30  André Pönitz  <poenitz@gmx.net>
2094
2095         * BufferView_pimpl.C:
2096         * cursor.C:
2097         * cursor.h:
2098         * cursor_slice.[Ch]:
2099         * lyxfunc.C:
2100         * lyxtext.h:
2101         * paragraph_funcs.C:
2102         * paragraph_funcs.h:
2103         * rowpainter.C:
2104         * text.C:
2105         * text2.C:
2106         * text3.C: move some of the edit(x,y) handling to the insets
2107         some coordinate changes.
2108
2109 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2110
2111         * text.C: add using statements for std::advance and std::distance
2112
2113         * paragraph.C: add using statement for std::distance
2114
2115         * lyxfind.C: add using statement for std::advance
2116
2117         * cursor.C (region): remove std:: from swap
2118         (openable): use nucleus in stead of operator->
2119
2120         * BufferView.C: add using statements for std::distance and std::swap
2121
2122 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2123
2124         * iterators.C: Remove the pimple, move the needed structures to
2125         the header file. Create accessor for the positions stack.
2126         (asPosIterator): remove function
2127
2128         * PosIterator.C (PosIterator): move constructors to top of file
2129         (PosIterator): reimplement the constructor taking a ParIterator in
2130         terms of setFrom.
2131         (setFrom): new function
2132         (operator!=): inline it
2133
2134 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2135
2136         * lyxfind.C (replaceAll): use std::advance
2137
2138         * iterators.h: inherit from std::iterator.
2139
2140         * PosIterator.C (advance, distance): remove
2141         * PosIterator.h: interit from std::iterator.
2142
2143 2004-01-26  André Pönitz  <poenitz@gmx.net>
2144
2145         * BufferView.[Ch]:
2146         * BufferView_pimpl.[Ch]:
2147         * InsetList.[Ch]:
2148         * PosIterator.[Ch]:
2149         * buffer.h:
2150         * bufferview_funcs.C:
2151         * cursor.[Ch]:
2152         * cursor_slice.h:
2153         * factory.[Ch]:
2154         * iterators.[Ch]:
2155         * lyxfind.C:
2156         * lyxfunc.C:
2157         * lyxtext.h:
2158         * output_docbook.C:
2159         * output_latex.C:
2160         * output_linuxdoc.C:
2161         * output_plaintext.C:
2162         * paragraph.[Ch]:
2163         * paragraph_funcs.[Ch]:
2164         * paragraph_pimpl.[Ch]:
2165         * rowpainter.C:
2166         * tabular.C:
2167         * tabular.h:
2168         * text.C:
2169         * text2.C:
2170         * text3.C: more IU:  dumps most of the rest of the mathcursor
2171     implementation into cursor.[Ch]; "globalize" a bit of it.
2172
2173 2004-01-25  Angus Leeming  <leeming@lyx.org>
2174
2175         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2176
2177 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2178
2179         * LaTeXFeatures.h: add nice_ and nice() const
2180         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2181
2182 2004-01-20  André Pönitz  <poenitz@gmx.net>
2183
2184         * BufferView.[Ch]:
2185         * BufferView_pimpl.C:
2186         * PosIterator.C:
2187         * bufferview_funcs.C:
2188         * cursor.[Ch]:
2189         * cursor_slice.[Ch]:
2190         * factory.C:
2191         * iterators.C:
2192         * lyx_cb.C:
2193         * lyxfind.C:
2194         * lyxfunc.C:
2195         * lyxtext.h:
2196         * rowpainter.C:
2197         * text.C:
2198         * text2.C:
2199         * text3.C:
2200         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2201           LCursor and mathcursor parts to LCursor and InsetBase.
2202
2203 2004-01-15  André Pönitz  <poenitz@gmx.net>
2204
2205         * cursor_slice.[Ch]: add a few covienience functions
2206
2207         * funcrequest.[Ch]: remove BufferView * member
2208
2209         * BufferView_pimpl.C:
2210         * cursor.C:
2211         * factory.[Ch]:
2212         * lyxfind.[Ch]:
2213         * lyxfunc.C:
2214         * lyxtext.h:
2215         * text3.C:
2216         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2217
2218 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2219
2220         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2221         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2222
2223 2004-01-13  André Pönitz  <poenitz@gmx.net>
2224
2225         * textcursor.[Ch]:
2226         * lyxtext.h: hide cursor and selection anchor behind accessor function
2227
2228         * BufferView.C:
2229         * BufferView_pimpl.[Ch]:
2230         * PosIterator.C:
2231         * bufferview_funcs.C:
2232         * cursor.h:
2233         * lyxfind.C:
2234         * lyxfunc.C:
2235         * text.C:
2236         * text2.C:
2237         * text3.C:
2238         * undo.C: adjust
2239
2240         * cursor.h:
2241         * cursor_slice.[Ch]: some integer type changes for inset unification
2242
2243         * lyxcursor.[hC]: remove, it's CursorSlice now.
2244
2245         * Makefile.am:
2246         * BufferView_pimpl.[Ch]:
2247         * bufferview_funcs.C:
2248         * cursor_slice.C:
2249         * lyxtext.h:
2250         * text.C:
2251         * text2.C:
2252         * text3.C:
2253         * textcursor.[Ch]: adjust
2254
2255 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2256
2257         * text2.C (undoSpan): add and use
2258         * text.C (breakParagraph): use undoSpan (fix bug 578)
2259         * lyxtext.h: adjust
2260
2261 2004-01-08  Angus Leeming  <leeming@lyx.org>
2262
2263         * BufferView_pimpl.C (MenuInsertLyXFile):
2264         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2265         * lyxfunc.C (menuNew, open, doImport):
2266         FileFilterList change to the FileDialog open and save functions.
2267
2268 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2269
2270         * ShareContainer.h: make isEqual and isUnique adaptable
2271
2272         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2273
2274 2004-01-07  Angus Leeming  <leeming@lyx.org>
2275
2276         * LyXAction.C:
2277         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2278
2279         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2280
2281         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2282         functions replacing find, replace and replaceAll.
2283
2284         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2285         LFUN_WORDFIND(FORWARD|BACKWARD).
2286
2287 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * text.C (breakParagraph): remove an outdated #warning
2290
2291 2004-01-07  André Pönitz  <poenitz@gmx.net>
2292
2293         * lyxfind.C: somewhat clearer logic
2294
2295         * text.C: prevent crash in cursorX on unitialized row cache
2296
2297 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * lyxcursor.[Ch] (operator>): add
2300         * textcursor.C (selStart, selEnd): use std::min and std::max
2301
2302 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2303
2304         * Chktex.C: include boost/format.hpp
2305
2306 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2307
2308         * InsetList.C: replace functor MathcIt with adaptable functor
2309         InsetTablePosLess
2310         (insetIterator): modify accordingly
2311
2312         * BranchList.h: move the BranchNamesEqual functor here from...
2313         * BranchList.C: ... to here
2314
2315         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2316         SameName and match.
2317         (add): replace a finding loop with std::find_if.
2318
2319 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2320
2321         * output_docbook.C: moving LatexParam functionality into
2322         .layout files
2323
2324 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2325
2326         * buffer.C: increment format to 229.
2327
2328 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2329
2330         * LaTeXFeatures.C:
2331         * lyx_sty.[Ch]: remove minipageindent_def
2332
2333         * LyXAction.C:
2334         * factory.C:
2335         * lfuns.h:
2336         * lyxfunc.C:
2337         * text3.C: remove LFUN_INSET_MINIPAGE
2338
2339 2003-12-28  Angus Leeming  <leeming@lyx.org>
2340
2341         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2342
2343 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * text2.C (setParagraph): fix off-by-one crash
2346
2347 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2348
2349         * output_docbook.C: header stuff for AGU
2350
2351 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2352
2353         * text2.C (redoCursor): remove
2354         * text.C:
2355         * text3.C:
2356         * BufferView_pimpl.C: remove calls to redoCursor and
2357         setCursor(cursor.par(), cursor.pos()) all around
2358
2359 2003-12-15  Angus Leeming  <leeming@lyx.org>
2360
2361         * buffer.C: up the format to 228.
2362
2363 2003-12-15  André Pönitz  <poenitz@gmx.net>
2364
2365         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2366         slices
2367
2368         * Makefile.am:
2369
2370         * BufferView_pimpl.C:
2371         * cursor.[Ch]:
2372         * lyxcursor.[Ch]:
2373         * rowpainter.[Ch]:
2374         * lyxtext.h:
2375         * text.C:
2376         * text2.C:
2377         * text3.C: adjust
2378
2379 2003-12-15  Angus Leeming  <leeming@lyx.org>
2380
2381         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2382         than getFromGUIName to manipulate the color.
2383
2384 2003-12-14  Angus Leeming  <leeming@lyx.org>
2385
2386         * BranchList.[Ch]: minimize the API.
2387         (Branch::getBranch, getColor): now return a 'const &'.
2388         (Branch::setSelected) now returns a bool set to true if the
2389         selection status changes.
2390         (BranchList::clear, size, getColor, setColor, setSelected,
2391         allBranches, allSelected, separator): removed.
2392         (BranchList::find): new functions, returning the Branch with
2393         the given name.
2394         (BranchList::add, remove): return a bool indicating that
2395         the operation was successful.
2396
2397         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2398         new InsetBranch::isBranchSlected member function.
2399
2400         * LColor.[Ch]: mimimize the API.
2401         (fill): renamed as addColor and made private.
2402         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2403         versions of these functions taking a string arg have been removed.
2404
2405         * bufferparams.C (readToken):
2406         * lyxfunc.C (dispatch):
2407         * lyxrc.C (read): changes due to the altered BranchList and
2408         LColor APIs.
2409
2410         * factory.C (createInset, readInset): changes due to altered
2411         InsetBranch c-tor.
2412
2413 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2414
2415         * factory.C:
2416         * lyxfunc.C: remove insetminipage. "minipage-insert"
2417         now produces a frameless minipage box inset.
2418
2419 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2420
2421         * textcursor.[Ch] (selStart,selEnd): add new methods
2422         remove selection::start, end, use LyXCursor::operator<
2423         * lyxcursor.[Ch] (operator<): add
2424         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2425         * BufferView.[Ch] (unsetXSel): add
2426         * text2.C (clearSelection): use unsetXSel,adjust
2427         * text.C: adjust
2428         * text3.C: adjust
2429         * rowpainter.C: adjust
2430         * bufferview_funcs.C (put_selection_at): adjust
2431
2432 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * BufferView_pimpl.C: small coord. correction
2435
2436 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2439         dragging over the splash screen.
2440
2441 2003-12-11  Angus Leeming  <leeming@lyx.org>
2442
2443         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2444         as it is now handled in LyXText::dispatch.
2445
2446         * text3.C (doInsertInset): remove a level of nesting.
2447
2448 2003-12-11  Angus Leeming  <leeming@lyx.org>
2449
2450         * factory.C (createInset): changes due to the changed interface to
2451         InsetCommandMailer::string2params.
2452
2453 2003-12-10  Angus Leeming  <leeming@lyx.org>
2454
2455         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2456         'dialog-show-new-inset <inset name>'
2457
2458 2003-12-10  Angus Leeming  <leeming@lyx.org>
2459
2460         * buffer.C: up the format to 227.
2461
2462         * factory.C: the box inset is now identified simply by 'Box'.
2463
2464 2003-12-10  Angus Leeming  <leeming@lyx.org>
2465
2466         * buffer.C: up the format to 226.
2467
2468         * factory.C: the note inset is now identified simply by 'Note'.
2469
2470 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2473         when a pit is enough. Standarize a couple of loops.
2474
2475 2003-12-05  Angus Leeming  <leeming@lyx.org>
2476
2477         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2478         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2479         data to the re-worked "log" dialog.
2480
2481 2003-12-03  André Pönitz  <poenitz@gmx.net>
2482
2483         * PosIterator.C:
2484         * iterators.C:
2485         * lyxtext.h:
2486         * output_latex.C:
2487         * paragraph_funcs.C:
2488         * text.C:
2489         * text2.C: use Inset::getText instead of Inset::getParagraph
2490
2491 2003-12-03  André Pönitz  <poenitz@gmx.net>
2492
2493         * buffer.[Ch]:
2494         * lyxtext.h:
2495         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2496         InsetText::read() as LyXText::read()
2497
2498 2003-12-02  Angus Leeming  <leeming@lyx.org>
2499
2500         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2501         type. Add a comment in the implementation that the function uses
2502         the stream's bad() function rather than fail() as the std::streams
2503         would do.
2504
2505 2003-12-02  André Pönitz  <poenitz@gmx.net>
2506
2507         * lyxlex.[Ch]: make interface more similar to std::stream
2508
2509         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2510
2511 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2512
2513         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2514
2515 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2516
2517         * vspace.[Ch]: remove VSpace::NONE
2518
2519 2003-12-01  André Pönitz  <poenitz@gmx.net>
2520
2521         * buffer.[Ch]:
2522         * lyxtext.h: move ParagraphList member to LyXText
2523         rename LyXText::ownerParagraphs to LyXText::paragraph
2524
2525         * CutAndPaste.C:
2526         * bufferview_funcs.C:
2527         * iterators.[Ch]:
2528         * lyx_cb.C:
2529         * paragraph.C:
2530         * rowpainter.C:
2531         * tabular.C:
2532         * text.C:
2533         * text2.C:
2534         * text3.C: adjust
2535
2536         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2537
2538         * undo.C: fix cursor positioning
2539
2540 2003-12-01  John Levon  <levon@movementarian.org>
2541
2542         * BufferView_pimpl.C: fix a crash on exit with
2543         a buffer open
2544
2545 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2546
2547         * BranchList.C: fix setSelected() method.
2548
2549 2003-11-28  André Pönitz  <poenitz@gmx.net>
2550
2551         * ParagraphParameters.[Ch]:
2552         * ParameterStruct.h: remove space above/below from Paragraph to
2553          InsetVSpace
2554
2555         * BufferView_pimpl.C:
2556         * factory.C:
2557         * lyxfunc.C:
2558         * lyxtext.h:
2559         * output_latex.C:
2560         * paragraph.C:
2561         * paragraph_funcs.C:
2562         * rowpainter.[Ch]:
2563         * text.C:
2564         * text2.C:
2565         * text3.C: adjust
2566
2567 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2568
2569         * factory.C: Syntax change for CharStyles
2570
2571 2003-11-28  André Pönitz  <poenitz@gmx.net>
2572
2573         * BufferView.[Ch]:
2574         * BufferView.[Ch]:
2575         * buffer.[Ch]:
2576         * buffer.[Ch]: move LyXText member
2577
2578 2003-11-28  André Pönitz  <poenitz@gmx.net>
2579
2580         * BufferView.[Ch]: make LyXText * text a private member
2581
2582         * BufferView_pimpl.C:
2583         * cursor.C:
2584         * iterators.C:
2585         * lyx_cb.C:
2586         * lyxfind.C:
2587         * lyxtext.h:
2588         * rowpainter.[Ch]:
2589         * text.C:
2590         * text2.C:
2591         * undo.C: adjust
2592
2593         * output_plaintext.C: cleanup
2594
2595 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2596
2597         * buffer.C:
2598         * lyxtextclass.[Ch]: parametrize SGML document header
2599
2600 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2601
2602         * converter.[Ch]:
2603         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2604         getFlavor().
2605
2606 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2607
2608         * text2.C (setFont): rework using PosIterator (no more recursive)
2609         (setCharFont): no more needed
2610         (setLayout): no more selection cursors fiddling (done by redoCursor)
2611         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2612         destroy remaining ones)
2613
2614 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2615
2616         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2617         * lyxtext.h: ditto
2618         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2619         selection cursors
2620         * lyxfunc.C: adjust
2621         * text3.C: adjust + re-allow multi par depth changes
2622         * textcursor.C: simplify a bit
2623
2624 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2625
2626         * src/buffer.C:
2627         * src/lyxlayout.C:
2628         * src/lyxlayout.h:
2629         * src/lyxtext.h:
2630         * src/output_docbook.C:
2631         * src/output_latex.C:
2632         * src/paragraph.C:
2633         * src/paragraph.h:
2634         * src/sgml.C:
2635         * src/sgml.h:
2636         * src/text2.C: Introducing a number of tags parametrizing various
2637         XML formats that we may want to support
2638
2639 2003-11-25  André Pönitz  <poenitz@gmx.net>
2640
2641         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2642
2643         * lyxtext.h (leftMargin/rightMargin): simplify interface
2644
2645         * rowpainter.C:
2646         * text.C:
2647         * text2.C:
2648         * text3.C: adjust
2649
2650 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2651
2652         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2653         master file to any child files. Fixes bug 546.
2654
2655 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2656
2657         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2658
2659 2003-11-24  André Pönitz  <poenitz@gmx.net>
2660
2661         * rowpainter.C: simplification
2662
2663         * text2.C (updateCounters): remove call to redoParagraph on
2664         changed labels as this is far too expensive.
2665
2666 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * converter.C (convert): fix a crash: this function gets
2669         called with buffer == 0 from importer code.
2670
2671 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2672
2673         * text3.C (cursorPrevious): make sure that we do not compare
2674         iterators form different containers.
2675         (cursorNext): ditto
2676
2677         * rowpainter.C (paintSelection): make sure that we do not compare
2678         iterators from different containers.
2679
2680         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2681         iterators from different ParagraphList containers.
2682         [NEXT] ditto
2683
2684         * text2.C (LyXText): change order of initialization slightly
2685         (operator=): new function. copy all variables except cache_par_
2686         (moveUp): make sure that we do not compare iterators from
2687         different ParagraphList constainers.
2688         (moveDown): ditto
2689
2690         * text.C (firstPar): new function
2691         (lastPar): new function
2692         (endPar): new function
2693
2694         * lyxtext.h: move things around and group public functions, public
2695         variables, private functions, private variables
2696
2697 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2698
2699         * factory.C: change call to InsetERT constructor to avoid
2700         additional invocation of method status
2701         * text2.C (toggleInset): remove redundant update() call
2702         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2703         instead of a Bufferview pointer
2704
2705 2003-11-21  André Pönitz  <poenitz@gmx.net>
2706
2707         * rowpainter.C: simplification
2708
2709 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2710
2711         * text3.C (dispatch): make possible to extend a word/row selection
2712         with the mouse
2713
2714 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2715
2716         * lyxtext.h: x0_,y0_ -> xo_,yo_
2717         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2718         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2719         * rowpainter.C (paintRows): paint full paragraphs
2720
2721 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2722
2723         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2724         screen coordinates)
2725
2726 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2727
2728         * lyxtext.h: add x0_, y0_
2729         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2730         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2731
2732 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2733
2734         * text2.C (setCursorIntern): move the x_target update here *
2735         * text3.C: change some bv() to true/false in calls to
2736         cursorUp/Down/Right/Left
2737         * cursor.C: use helper function.
2738
2739 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2740
2741         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2742         * paragraph_funcs.[Ch]: correct comment
2743         * rowpainter.C: do not paint selections away from bv->cursor()
2744         Fix a long standing selection painting bug.
2745         * text3.C: generalize mouse-selection code to LyXTexts other that
2746         top one
2747         * textcursor.C: do not use y coords if we can use par offsets
2748
2749 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2752         cursor position after e.g. inset insert)
2753
2754 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2755
2756         * lyxfind.C (replace): adjust to locking removal + some
2757         code simplification
2758
2759 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2760
2761         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2762         of the path
2763
2764 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2765
2766         * lyxlayout.[Ch]:
2767         * output_docbook.C: XML sanitation: new layout
2768         parameters InnerTag and CommandDepth
2769
2770 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2771
2772         * BufferView_pimpl.C:
2773         * factory.C:
2774         * text3.C: Fix the insertion and modification of button-style
2775         insets
2776
2777 2003-11-13  André Pönitz  <poenitz@gmx.net>
2778
2779         * InsetList.[Ch]: remove deleteLyXText
2780
2781         * paragraph.[Ch]: cache beginOfBody position
2782
2783         * Bidi.C:
2784         * text.C:
2785         * text2.C:
2786         * text3.C: remove superfluous update() calls
2787
2788         * vspace.C: cleanup
2789
2790 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2791
2792         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2793         * BufferView.C (fitLockedInsetCursor): remove
2794         * cursor.[Ch] (getDim): add
2795         * text.C (getRowNearY): add faster version
2796         * text3.C: remove some update calls
2797
2798 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2799
2800         * LaTeXFeatures.C:
2801         * LyXAction.C:
2802         * MenuBackend.C:
2803         * MenuBackend.h:
2804         * dispatchresult.h:
2805         * factory.C:
2806         * lfuns.h:
2807         * lyxfunc.C:
2808         * lyxtextclass.C:
2809         * lyxtextclass.h:
2810         * text3.C: The Character Style /XML short element patch.
2811
2812 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2813
2814         * text3.C:
2815         * factory.C: Small step to solving 'unable to insert some insets'
2816         problem
2817
2818 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * cursor.[Ch] (updatePos): new function for updating the y
2821         position of the tip inset
2822         * bufferview_funcs.C (put_selection_at):
2823         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2824
2825 2003-11-11  André Pönitz  <poenitz@gmx.net>
2826
2827         * text.C: remove big comment on invalid Paragraph pointers as it is
2828         not valid anymore
2829
2830 2003-11-11  André Pönitz  <poenitz@gmx.net>
2831
2832         * text_funcs.[Ch]: merge with ...
2833
2834         * text.C: ... this
2835
2836         * lyxtext.h:
2837         * text2.C:
2838         * text3.C: adjust
2839
2840         * Makefile.am: remove text_funcs.[Ch]
2841
2842 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * cursor.C (getPos): return absolute cached y coord
2845
2846         * BufferView_pimpl.C (fitCursor): new simplistic code
2847         (workAreaDispatch): add a fitCursor call
2848
2849 2003-11-10  André Pönitz  <poenitz@gmx.net>
2850
2851         * BufferView.[Ch]:
2852         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2853
2854 2003-11-10  André Pönitz  <poenitz@gmx.net>
2855
2856         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2857         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2858         indicate that the cursor needs to leave an inset
2859
2860         * lyxtext.h: remove inset locking
2861
2862         * cursor.[Ch]: re-implement functionality provided by inset locking
2863
2864         * BufferView.[Ch]:
2865         * BufferView_pimpl.[Ch]:
2866         * LyXAction.C:
2867         * bufferview_funcs.[Ch]:
2868         * factory.C:
2869         * funcrequest.[Ch]:
2870         * iterators.C:
2871         * lyx_cb.C:
2872         * lyxfind.C:
2873         * lyxfunc.C:
2874         * text.C:
2875         * text2.C:
2876         * text3.C:
2877         * undo.C: adjust
2878
2879 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * PosIterator.[Ch]: replace the stack with a vector, add inset
2882         accesor
2883         * iterators.[C]: adjust
2884
2885 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2886
2887         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2888         replaced
2889         * paragraph_funcs.C (readParToken): put the correct id in the
2890         error item, not the id of the top paragraph
2891
2892 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2893
2894         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2895         * bufferview_funcs.C (put_selection_at): use the above
2896
2897 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2898
2899         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2900
2901 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * output_linuxdoc.h:
2904         * output_plaintext.h:
2905         * output.h:
2906         * output_docbook.h: add #include statements
2907
2908 2003-11-05  José Matos  <jamatos@lyx.org>
2909
2910         * output_docbook.[Ch]:
2911         * output_latex.[Ch]:
2912         * output_linuxdoc.[Ch]:
2913         * output_plaintext.[Ch]: New files for output formats.
2914         * output.[Ch]: New file for helper functions.
2915
2916         * buffer.[Ch]:
2917         * paragraph_funcs.[Ch]: output functions moved to new files.
2918
2919         * outputparams.h: rename of latexrunparams.h
2920
2921         * LaTeX.[Ch]:
2922         * buffer.[Ch]:
2923         * bufferlist.[Ch]:
2924         * converter.[Ch]:
2925         * exporter.C:
2926         * paragraph.[Ch]:
2927         * paragraph_funcs.[Ch]:
2928         * paragraph_pimpl.[Ch]:
2929         * tabular.[Ch]: rename ascii to plaintext
2930         and LatexRunParams to OutputParams.
2931
2932 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2933
2934         * iterators.[Ch] (text): require bv argument
2935         * undo.C (recordUndo):
2936         * lyxfunc.C (dispatch):
2937         * bufferview_funcs.C (put_selection_at): adjust
2938
2939 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2940
2941         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2942
2943 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2946         nestings
2947
2948 2003-11-04  André Pönitz  <poenitz@gmx.net>
2949
2950         * cursor.[Ch]: restructure
2951
2952         * BufferView.[Ch]:
2953         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2954
2955         * iterators.[Ch] (asCursor): remove
2956
2957         * lfuns.h: remove LFUN_INSET_EDIT
2958
2959         * lyxfunc.C:
2960         * tabular.C:
2961         * text.C:
2962         * text2.C:
2963         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2964
2965 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2966
2967         * lyxfind.[Ch]: complete overhaul
2968         * BufferView_pimpl.C:
2969         * lyxfunc.C: adjust
2970         * paragraph.[Ch] (insert): add
2971
2972 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2973
2974         * BufferView.[Ch]:
2975         * lyxtext.h:
2976         * text.C: remove dead spellcheck code
2977
2978 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * dispatchresult.h: add a val setter
2981
2982         * cursor.C (dispatch): use a tempvar for data_[i]
2983
2984 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2985
2986         * PosIterator.[Ch]: compile fix
2987
2988 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * text.C (cursorPar): deactivate the cursor cache
2991
2992 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2993
2994         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2995
2996 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2997
2998         * text3.C (dispatch): adjust for new DisptchResult semantics.
2999
3000         * lyxfunc.C (dispatch): handle update when return from
3001         Cursor::dispatch, adjust for new DispatchResult semantics.
3002
3003         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3004         DispatchResult(true) mean to not update. Add class functions for
3005         setting dispatched and update, as well as reading.
3006
3007         * cursor.C (dispatch): don't handle update here
3008
3009 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3012         * trans_mgr.C: adjust
3013
3014         * paragraph_funcs.C (readParToken): exception safety
3015
3016         * lyxvc.h: store the vcs pointer in a scoped_ptr
3017         * lyxvc.C: adjust
3018
3019         * lyxsocket.C (serverCallback): exception safety
3020
3021         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3022
3023         * ispell.C (clone): make it return a auto_ptr
3024
3025         * factory.C (createInset): exception safety
3026         (readInset): exception safety
3027
3028         * bufferlist.C (newBuffer): exception safety
3029
3030         * Thesaurus.C (Thesaurus): use initialization for aik_
3031
3032         * MenuBackend.C (expandToc): exception safety.
3033
3034 2003-11-03  André Pönitz  <poenitz@gmx.net>
3035
3036         * buffer.C:
3037         * buffer.h:
3038         * bufferview_funcs.C: remove getInsetFromId()
3039
3040         * lyxcursor.[Ch]:
3041         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3042
3043         * lyxfunc.C:
3044         * text2.C:
3045         * text3.C: adjust
3046
3047 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * PosIterator.C (distance, advance): new
3050         * bufferview_funcs.[Ch] (put_selection_at): new
3051         * iterators.[Ch] (lockPath): new
3052
3053 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * iterators.[Ch] (asPosIterator): added
3056         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3057         * PosIterator.[Ch]: added
3058
3059 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * text3.C:
3062         * lyxfunc.C:
3063         * cursor.C (dispatch):
3064         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3065
3066         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3067         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3068         contructor, add a class function dispatched. Remove operator>=
3069
3070 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * debug.C: only use the default constructor for debugstream
3073         (lyxerr) here.
3074
3075         * main.C (main): include debug.h and setup the lyxerr streambuf
3076         here.
3077
3078 2003-10-31  José Matos  <jamatos@lyx.org>
3079
3080         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3081
3082         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3083         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3084         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3085         * paragraph_pimpl.C (simpleTeXSpecialC):
3086         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3087         add LatexRunParams argument.
3088
3089         * exporter.C (Export): change call accordingly.
3090
3091         * latexrunparams.h: add new member to take care of the other backends.
3092 2003-10-30  José Matos  <jamatos@lyx.org>
3093
3094         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3095         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3096         factorise code for paragraph output.
3097         * buffer.[Ch]:
3098         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3099         move functions.
3100
3101 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * text3.C (dispatch):
3104         * lyxfunc.C (dispatch):
3105         * cursor.C (dispatch):
3106         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3107
3108         * dispatchresult.h: make the dispatch_result_t ctor explicit
3109
3110 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3111
3112         * sgml.[Ch]:
3113         * buffer.C: small refactoring of docbook stuff
3114
3115 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3116
3117         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3118         meaning.
3119
3120 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3123         operator dispatch_result_t, and operators for == != and >=
3124
3125         * cursor.C (dispatch): adjust for operator dispatch_result_t
3126         removal. comment out call to update
3127
3128         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3129
3130 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3131
3132         * text3.C:
3133         * text2.C:
3134         * text.C:
3135         * lyxtext.h:
3136         * lyxfunc.C:
3137         * cursor.C:
3138         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3139         (dispatch):
3140
3141         * dispatchresult.h: new file, DispatchResult broken out of
3142         insets/insetbase.h
3143
3144         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3145
3146 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3147
3148         * text.C (rowBreakPoint): put a hack inside #if 0
3149
3150 2003-10-28  André Pönitz  <poenitz@gmx.net>
3151
3152         * lyxtext.h:
3153         * metricsinfo.C:
3154         * paragraph_funcs.C:
3155         * rowpainter.C:
3156         * text.C:
3157         * text2.C: general cleanup (lots of small stuff)
3158
3159 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3160
3161         * text2.C (cursorEnd): simple fix to the "end key goes to one
3162         before the end on last row" bug
3163
3164 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3165
3166         * text.C (backspace): fix the "zombie characters"
3167
3168 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3169
3170         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3171
3172 2003-10-27  André Pönitz  <poenitz@gmx.net>
3173
3174         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3175
3176         * factory.C: handle new InsetPagebreak, InsetLine
3177
3178         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3179         and move handling into new InsetPagebreak, InsetLine
3180
3181         * BufferView_pimpl.C:
3182         * LyXAction.C:
3183         * ParagraphParameters.C:
3184         * ParameterStruct.h:
3185         * lyxfunc.C:
3186         * lyxtext.h:
3187         * paragraph.C:
3188         * paragraph.h:
3189         * paragraph_funcs.C:
3190         * paragraph_pimpl.C:
3191         * rowpainter.C:
3192         * text.C:
3193         * text2.C:
3194         * text3.C: adjust
3195
3196 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3197
3198         * text.C:
3199         * lyxrow_funcs.[Ch]:
3200         * Bidi.C:
3201         * paragraph.C:
3202         * lyxtext.h:
3203         * rowpainter.C:
3204         * text2.C:
3205         * text3.C: remove lastPos uses in favour of Row::endpos
3206
3207 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * undo.C (performUndoOrRedo): fix two crashes by setting a
3210         cursor by hand and reordering some calls. Use bv->lockInset instead
3211         of inset->edit because the latter loses cursor information
3212
3213 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3214
3215         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3216         by Martin
3217         (rowBreakPoint): fix width. change point to point + 1.
3218         Add a missing check.
3219
3220 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3221
3222         * MenuBackend.C:
3223         * lyxfunc.C: fix (at least partly) the problems
3224         with the Nav menu and headers inside branch insets
3225         reported by Kayvan
3226
3227 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * paragraph.C (getChar): add strong asserts
3230
3231         * lyxrow_funcs.C (lastPos): remove hideous hack
3232
3233         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3234         (fill): adjust to that (avoid an infinite loop)
3235
3236 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3237
3238         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3239
3240 2003-10-23  André Pönitz  <poenitz@gmx.net>
3241
3242         * RowList_fwd.h: change list<> to vector<> to gain speed
3243         after suggestion from Alfredo
3244
3245 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3246
3247         * lyxtext.h: move the bidi stuff from here...
3248         * text.C: and here
3249         * text2.C: and here
3250         * Bidi.[Ch]: ... to here
3251
3252 2003-10-23  André Pönitz  <poenitz@gmx.net>
3253
3254         * lyxtext.h:
3255         * text.C (isLastRow, isFirstRow): new functions
3256
3257         * paragraph.h: new width cache member
3258
3259         * rowpainter.C: replace RowList::iterator with Row & where possible
3260
3261         * lyxfunc.C: replace several view()->text with a single call
3262
3263         * toc.C: fix 'unused' warning
3264
3265 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3266
3267         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3268         when woring with stream::pos_type
3269         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3270
3271 2003-10-22  André Pönitz  <poenitz@gmx.net>
3272
3273         * lyxtext.h:
3274         * text.C: use Row & instead of RowList::iterator
3275
3276         * lyxrow.h: rename end() to endpos()
3277
3278         * rowpainter.C:
3279         * text.C:
3280         * text2.C: adjust
3281
3282 2003-10-22  Angus Leeming  <leeming@lyx.org>
3283
3284         * buffer.[Ch] (fully_loaded): new member function, returning true
3285         only when the file has been loaded fully.
3286         Used to prevent the premature generation of previews and by the
3287         citation inset to prevent computation of the natbib-style label.
3288
3289         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3290         templates are all set up.
3291
3292         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3293
3294 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3295
3296         * text.C: fixed an "oops" in the "is a bit silly"
3297         bug fix
3298
3299 2003-10-21  André Pönitz  <poenitz@gmx.net>
3300
3301         * FuncStatus.[Ch]: small stuff, whitespace
3302
3303         * lyxfont.[Ch]: operator<<() for debug reasons
3304
3305         * lyxfunc.C:
3306         * lyxrow_funcs.C:
3307         * lyxtext.h: whitespace, spelling
3308
3309         * paragraph.C: naming of variables
3310
3311         * text.C:
3312         * text2.C: small stuff
3313
3314
3315 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3316
3317         * text.C: (1) finish off the inset display() work;
3318         (2) fix the "is a bit silly" bug (accessing char
3319         past end of par).
3320
3321 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3322
3323         * text.C: re-introduce display() for insets, fixing the
3324         various bugs (stretch of line above, math inset
3325         positioning, ...)
3326
3327 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3328
3329         * text.C (rightMargin): remove spurious semicolon
3330
3331         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3332         1415)
3333
3334 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3335
3336         * text3.C: fix one crash due to wrong cursor def
3337
3338 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3339
3340         * vc-backend.C (scanMaster): make the regex static
3341
3342         * LaTeX.C (scanAuxFile): make the regexs static
3343
3344         * text3.C (doInsertInset, dispatch, dispatch):
3345         * text2.C (cursorUp, cursorDown):
3346         * text.C (selectNextWordToSpellcheck):
3347         * BufferView_pimpl.C (dispatch):
3348         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3349
3350 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3351
3352         * lyxsocket.C: include <cerrno>
3353
3354 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3355
3356         * lyxfunc.C (dispatch): remove textcache stuff
3357
3358         * bufferlist.C (release): remove textcache stuff
3359         (closeAll): ditto
3360
3361         * TextCache.C: delete file
3362         * TextCache.h: delete file
3363
3364         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3365
3366         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3367         delete of the bv_->text.
3368         (resizeCurrentBuffer): remove texcache stuff
3369         (workAreaResize): ditto
3370
3371 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3374         action.
3375
3376 2003-10-16  André Pönitz  <poenitz@gmx.net>
3377
3378         * lyxrow.[Ch]:
3379         * paragraph.h:
3380         * rowpainter.C:
3381         * text.C:
3382         * text2.C:
3383         * text3.C: speed up by storing y positions per paragraph plus per-row
3384         offset instead of having a 'full' y position in the row.
3385
3386 2003-10-15  André Pönitz  <poenitz@gmx.net>
3387
3388         * iterators.[Ch]:
3389         * iterators.[Ch]:
3390         * undo.[Ch]: make undo aware of inner insets
3391
3392 2003-10-14  Angus Leeming  <leeming@lyx.org>
3393
3394         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3395         static member functions LyX::ref() and LyX::cref.
3396         (lastfiles): new accessor functions for the new lastfiles_ member var.
3397         (addLyXView, views_): add a new LyXView to the list of views_.
3398         (updateInset): loop over all LyXViews to call their own updateInset
3399         member function, returning a pointer to the Buffer owning the inset.
3400
3401         * BufferView_pimpl.C (loadLyXFile):
3402         * MenuBackend.C (expandLastfiles):
3403         * bufferlist.C (MenuWrite, QuitLyX):
3404         lastfiles is no longer a global variable.
3405         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3406
3407         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3408         static function. Access through LyX::cref().emergencyCleanup().
3409
3410 2003-10-14  André Pönitz  <poenitz@gmx.net>
3411
3412         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3413
3414         * undo.[Ch]: restoring part of 'undo in insets'
3415
3416         * Makefile.am:
3417         * undo_funcs.[Ch]: merge with undo.[Ch]
3418
3419         * tabular.C: small cleansing stuff
3420
3421 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3422
3423         * paragraph_funcs.C (readParToken): report unknown insets as error
3424         boxes. Use the outer paragraph as location (also for unknown
3425         tokens).
3426
3427         * factory.C (readInset): do not abort on reading an unknown inset.
3428         Eat it and return 0.
3429
3430 2003-10-13  Angus Leeming  <leeming@lyx.org>
3431
3432         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3433
3434         * lyxrc.C: displayTranslator is now a function,
3435         declared in GraphicsTypes.h.
3436
3437 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3438
3439         * format.C: new placeholder $$a to pass the socket address.
3440
3441         * bufferlist.[Ch]: new function getBufferFromTmp.
3442
3443         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3444           files in the temporary dir.
3445
3446 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3447
3448         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3449
3450         * Makefile.am: add lyxsocket.[Ch].
3451
3452         * lyx_main.C (error_handler): handle SIGPIPE.
3453
3454 2003-10-13  André Pönitz  <poenitz@gmx.net>
3455
3456         * BufferView_pimpl.C:
3457         * lyxtext.h:
3458         * text.C:
3459         * text2.C:
3460         * text3.C:
3461         * undo_funcs.[Ch]: use paroffset_type instead of
3462           ParagraphList::iterators to prevent multiple conversion
3463           (and get a more robust interface)
3464
3465 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3466
3467         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3468         * lyxtext.h: ditto
3469         * text3.C (dispatch): ditto
3470
3471 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3472
3473         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3474         move the onlyfile, use onlyfile instead of foundfile in a couple
3475         of places.
3476
3477         * DepTable.C (update): flush the error stream a bit more
3478
3479 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * lyxserver.C (callback): adjust
3482
3483         * lyxfunc.C (getStatus): add a missing brace in commented code
3484         (ensureBufferClean): reindent
3485         (dispatch): delete version taking a string
3486
3487 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * LaTeX.C (deplog): move found file handlig from here...
3490         (handleFoundFile): .. to new function here.
3491         (deplog): make sure to discover several files mentioned on the
3492         same log line.
3493
3494 2003-10-10  André Pönitz  <poenitz@gmx.net>
3495
3496         * lyxfunc.C:
3497         * lyxtext.h:
3498         * tabular.C:
3499         * text.C:
3500         * text2.C:
3501         * text3.C: fix some of the tabular crashes
3502
3503 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3504
3505         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3506
3507         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3508
3509 2003-10-09  André Pönitz  <poenitz@gmx.net>
3510
3511         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3512
3513         * BufferView.C:
3514         * BufferView_pimpl.C:
3515         * bufferview_funcs.C:
3516         * lyx_cb.C:
3517         * lyxcursor.C:
3518         * lyxfind.C:
3519         * lyxfunc.C:
3520         * lyxtext.h:
3521         * text.C:
3522         * text2.C:
3523         * text3.C:
3524         * text_funcs.[Ch]:
3525         * textcursor.[Ch]:
3526         * undo_funcs.C: adjust
3527
3528 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3529
3530         * text2.C (incrementItemDepth): new function, use a backtracking
3531         algorithm to discover the correct item depth.
3532         (resetEnumCounterIfNeeded): new function, use a backtracking
3533         algorithm to discover if counter reset is needed.
3534         (setCounter): use them. Simplify a bit. Add different labels for
3535         different item depths for itemize.
3536
3537         * paragraph.C (Paragraph): remove initialization of enumdepth
3538         (operator=): ditto
3539
3540         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3541         enumerate and itemize. Change the type of itemdepth to signed char.
3542
3543 2003-10-08  André Pönitz  <poenitz@gmx.net>
3544
3545         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3546           thing assignable.
3547         * text.C:
3548         * text2.C: adjust
3549
3550         * tabular.[Ch]: fix crash after 'row-insert'
3551
3552 2003-10-08  Angus Leeming  <leeming@lyx.org>
3553
3554         Fix doxygen warnings.
3555
3556         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3557         Remove CutAndPaste:: prefix from header file declaration.
3558
3559         * LColor.h (fill): remove LColor:: prefix from declaration.
3560
3561         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3562         use lyx::depth_type rather than Paragraph::depth_type so that
3563         header file and .C file match.
3564
3565         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3566
3567         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3568         * aspell.C: \file aspell_local.C -> \file aspell.C
3569         * gettext.C: \file gettext.C -> \file src/gettext.C
3570         * gettext.h: \file gettext.h -> \file src/gettext.h
3571         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3572         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3573         * text.C: \file text.C -> \file src/text.C
3574
3575         * toc.C: move comment so that doxygen is not confused.
3576
3577 2003-10-07  Angus Leeming  <leeming@lyx.org>
3578
3579         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3580
3581 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3582
3583         * aspell.C:
3584         * aspell_local.h: add forgotten std::string's.
3585
3586 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3587
3588         * LaTeXFeatures.C:
3589         * LyXAction.C:
3590         * factory.C:
3591         * lfuns.h:
3592         * lyxfunc.C:
3593         * text3.C: The Box patch. Fancybox support, minipage, parbox
3594
3595 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3596
3597         * CutAndPaste.h:
3598         * DepTable.h:
3599         * FloatList.h:
3600         * LaTeXFeatures.h:
3601         * ParagraphParameters.h:
3602         * TextCache.h:
3603         * Thesaurus.h:
3604         * bufferlist.h:
3605         * exporter.h:
3606         * importer.h:
3607         * lastfiles.h:
3608         * lyxfind.h:
3609         * lyxfont.h:
3610         * lyxlex.h:
3611         * lyxtextclasslist.h:
3612         * messages.h:
3613         * paragraph.h:
3614         * paragraph_pimpl.C:
3615         * textcursor.h: add <string> and other small fixes to make Lars'
3616         std::string patch compile with STLport.
3617
3618 2003-10-06  Angus Leeming  <leeming@lyx.org>
3619
3620         * LColor.h: Add missing #include <string>.
3621
3622 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * All most all file in all subdirs: Make <string> be the prefered
3625         way of getting to std::string, add using declarations.
3626
3627 2003-10-06  André Pönitz  <poenitz@gmx.net>
3628
3629         * metricsinfo.C: initialize LyXFont before changing attribute.
3630         (fixes the 'math in \emph is upright' bug)
3631
3632 2003-10-06  André Pönitz  <poenitz@gmx.net>
3633
3634         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3635
3636 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3637
3638         * graph.C:
3639         * paragraph_pimpl.C: Small fixes to build using STLport
3640
3641 2003-10-02  André Pönitz  <poenitz@gmx.net>
3642
3643         * lyxfunc.C:
3644         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3645
3646 2003-10-01  André Pönitz  <poenitz@gmx.net>
3647
3648         * factory.C: assert early
3649
3650 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * lyx_main.C: remove the global debug object
3653
3654         * debug.h: adjust for new debugstream
3655
3656         * debug.C: adjust for new debugstream and keep the global debug
3657         object here.
3658
3659 2003-09-22  Angus Leeming  <leeming@lyx.org>
3660
3661         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3662         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3663         an incomplete class LyXFont.
3664
3665 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3666
3667         * factory.C: bug fix in branches
3668
3669 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * lyxfunc.C (processKeySym): adjust
3672         (dispatch): adjust
3673         (dispatch): change arg name from ev to func, adjust
3674         (sendDispatchMessage): ditto
3675
3676         * lyx_main.C (defaultKeyBindings): adjust keybindings
3677         (deadKeyBindings): ditto
3678
3679         * kbsequence.C (addkey): return a FuncRequest
3680
3681         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3682
3683         * kbmap.C (bind): take a FuncRequest as arg, adjust
3684         (read): adjust
3685         (lookup): adjust
3686         (defkey): change to take a FuncRequest as arg, adjust
3687         (findbinding): take a FuncRequest as arg, adjust.
3688
3689         * funcrequest.h (operator=): added
3690
3691         * funcrequest.C (FuncRequest): default kb_action changed from
3692         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3693
3694         * buffer.C (dispatch): simplify
3695         (dispatch): adjust to take a FuncRequest as arg, adjust
3696
3697         * boost.C (assertion_failed): change assertion message slightly
3698
3699         * ToolbarBackend.C (read): simplify
3700
3701         * MenuBackend.C (binding): adjust call to findbinding, add a
3702         message if no binding is found.
3703         (read): simplify
3704         (expandToc): correct by adding a empty FuncRequest
3705
3706         * LyXAction.C: include <boost/assert.hpp>
3707         (isPseudoAction): delete function
3708         (LookupFunc): change name to...
3709         (lookupFunc): this. change return type to FuncRequest.
3710         (getActionName): take kb_action as arg, simplify
3711         (funcHasFlag): add an assert, simplify.
3712
3713 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * toc.C (action): return a FuncRequest, simplify
3716
3717         * lyxfunc.C (processKeySym): adjust
3718         (getStatus): delete version that takes an int.
3719         (getStatus): adjust
3720         (dispatch): delete version that takes action as int
3721         (dispatch): adjust
3722         (sendDispatchMessage): simplify and adjust
3723
3724         * funcrequest.C (getArg): take unsigned int as arg
3725
3726         * ToolbarBackend.C (read): adjust
3727         (add): delete version that takes func as a string.
3728         (getIton): take a FuncRequest as arg
3729
3730         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3731         action.
3732
3733         * MenuBackend.C (MenuItem): add a new construct that only takes a
3734         Kind, simplify the constructor use for submenus.
3735         (add): adjust
3736         (expandLastfiles): adjust
3737         (expandDocuments): adjust
3738         (expandFormats): adjust
3739         (expandFloatListInsert): adjust
3740         (expandFloatInsert): adjust
3741         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3742
3743         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3744         Remove class variables lyx_pseudo_map and lyx_arg_map
3745
3746         * LyXAction.C (searchActionArg): delete function
3747         (getPseudoAction): delete function
3748         (retrieveActionArg): delete function
3749         (LookupFunc): make it return kb_action, simplify.
3750         (getActionName): simplify
3751
3752         * factory.C (createInset): fix new bug
3753
3754 2003-09-19  Angus Leeming  <leeming@lyx.org>
3755
3756         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3757         masterFilename_ parameter in the include inset.
3758
3759         * factory.C (createInset): changes due to the changes to InsetInclude.
3760
3761 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3762
3763         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3764
3765 2003-09-18  Angus Leeming  <leeming@lyx.org>
3766
3767         * buffer.C:
3768         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3769         Inset::fillWithBibKeys.
3770         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3771
3772 2003-09-18  Angus Leeming  <leeming@lyx.org>
3773
3774         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3775         variables.
3776         (ctor): pass and store a 'Buffer const &'
3777         (buffer): new member function.
3778
3779         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3780         '*this' to the LaTeXFeatures ctor.
3781
3782 2003-09-18  Angus Leeming  <leeming@lyx.org>
3783
3784         * LColor.h:
3785         * lyxfont.C:
3786         * lyxfont.h:
3787         * lyxtext.h:
3788         * text.C: rename EnumLColor as LColor_color.
3789
3790 2003-09-18  Angus Leeming  <leeming@lyx.org>
3791
3792         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3793         remove #include "insets/insetbase.h" from cursor.h.
3794
3795 2003-09-18  Angus Leeming  <leeming@lyx.org>
3796
3797         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3798         InsetOld_code to remove #include "inset.h".
3799
3800         * iterators.C: add #include "insets/inset.h"
3801
3802 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3803
3804         * BufferView.C: remove more locking stuff that apparently doesn't
3805         do anything sensible.
3806
3807 2003-09-16  André Pönitz  <poenitz@gmx.net>
3808
3809         * paragraph.[Ch]:
3810         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3811           performance boost.
3812
3813 2003-09-16  Angus Leeming  <leeming@lyx.org>
3814
3815         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3816
3817         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3818         arg/return type.
3819
3820         * paragraph.h: remove #include "lyxfont.h". Forward declare
3821         LyXFont_size.
3822
3823 2003-09-16  Angus Leeming  <leeming@lyx.org>
3824
3825         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3826         of support/textutils.h.
3827         (isWord): move the contents of support/textutils.h's IsWordChar here.
3828
3829         * buffer.C:
3830         * lyxfind.C:
3831         * rowpainter.C:
3832         * text.C:
3833         * text2.C: add #include "paragraph.h".
3834
3835         * rowpainter.C:
3836         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3837
3838 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * main.C:
3841         * lyx_main.C:
3842         * lyx_cb.C:
3843         * buffer.C:
3844         * LaTeX.C: use namespace alias for lyx::support::os
3845
3846 2003-09-16  Angus Leeming  <leeming@lyx.org>
3847
3848         * bufferparams.C:
3849         * bufferview_funcs.C:
3850         * factory.C:
3851         * lyxfunc.C:
3852         * paragraph_pimpl.C:
3853         * rowpainter.C:
3854         * text.C: add #include "LColor.h".
3855
3856 2003-09-16  Angus Leeming  <leeming@lyx.org>
3857
3858         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3859         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3860         return LyXFont &.
3861         Store the FontBits::color variable as an int rather than as an
3862         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3863         file.
3864
3865         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3866         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3867         string calls together.
3868
3869         * lyxrc.C: add #include "LColor.h".
3870
3871 2003-09-15  Angus Leeming  <leeming@lyx.org>
3872
3873         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3874         a cow_ptr.
3875
3876 2003-09-15  Angus Leeming  <leeming@lyx.org>
3877
3878         * LColor.h: add an EnumLColor wrapper for LColor::color.
3879
3880         * lyxfont.[Ch] (color, setColor, realColor):
3881         * lyxtext.h, text.C (backgroundColor):
3882         pass EnumLColor args to/from the functions, rather than LColor::color
3883         ones.
3884
3885         * lyxfont.h:
3886         * lyxtext.h: forward declare EnumLColor.
3887
3888         * lyx_main.C: add #include "LColor.h".
3889
3890 2003-09-15  Angus Leeming  <leeming@lyx.org>
3891
3892         * .cvsignore: add lyx-gtk.
3893
3894 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * Chktex.C
3897         * LaTeX.C
3898         * LaTeXFeatures.C
3899         * ParagraphParameters.C
3900         * Spacing.C
3901         * buffer.C
3902         * bufferparams.C
3903         * bufferview_funcs.C
3904         * chset.C
3905         * counters.C
3906         * funcrequest.C
3907         * lyxfont.C
3908         * lyxgluelength.C
3909         * lyxlength.C
3910         * paragraph.C
3911         * paragraph_funcs.C
3912         * text3.C
3913         * vc-backend.C: remove usage of STRCONV
3914
3915 2003-09-15  Angus Leeming  <leeming@lyx.org>
3916
3917         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3918         explicitly define the color passed to the painter.
3919
3920 2003-09-15  Angus Leeming  <leeming@lyx.org>
3921
3922         * bufferparams.C (BufferParams): reorder member initializers to avoid
3923         compiler warning.
3924
3925 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3928         * text.C (updateRowPositions): remove an unusual nop
3929
3930 2003-09-12  André Pönitz  <poenitz@gmx.net>
3931
3932         * BufferView_pimpl.C:
3933         * Bullet.C:
3934         * layout.h:
3935         * lyxfunc.C:
3936         * lyxlayout.[Ch]:
3937         * lyxtextclass.C:
3938         * rowpainter.C:
3939         * text.C:
3940         * text2.C:
3941         * Counters.[Ch]: finish the 'automatic counters' job
3942
3943 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3944
3945         * aspell.C: include <boost/assert.cpp> (compile fix)
3946
3947 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3948
3949         * boost.C (assertion_failed): use lyx::support::abort instead of
3950         assert.
3951
3952 2003-09-10  Angus Leeming  <leeming@lyx.org>
3953
3954         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3955         with their _fwd progeny.
3956
3957 2003-09-09  Angus Leeming  <leeming@lyx.org>
3958
3959         134 files throughtout the source tree: replace 'using namespace abc;'
3960         directives with the appropriate 'using abc::xyz;' declarations.
3961
3962 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3963
3964         * boost.C (emergencyCleanup): moved here from LAssert.c
3965         (assertion_failed): new function, called by BOOST_ASSERT
3966
3967         * several files: change Assert to BOOST_ASSERT
3968
3969 2003-09-09  Angus Leeming  <leeming@lyx.org>
3970
3971         * buffer.[Ch]: Add an Impl class and move Buffer's member
3972         variables into it. As a result move several header files out of
3973         buffer.h.
3974
3975         Add header files to lots of .C files all over the tree as a result.
3976
3977 2003-09-09  Angus Leeming  <leeming@lyx.org>
3978
3979         * buffer.[Ch]: make Buffer's member variables private. Add
3980         accessor functions.
3981
3982         Lots of changes all over the tree as a result.
3983
3984 2003-09-08  Angus Leeming  <leeming@lyx.org>
3985
3986         * graph.C: #include <config.h>.
3987
3988 2003-09-08  Angus Leeming  <leeming@lyx.org>
3989
3990         * BranchList.C:
3991         * BufferView.C:
3992         * BufferView_pimpl.C:
3993         * CutAndPaste.C:
3994         * DepTable.C:
3995         * LaTeX.C:
3996         * LaTeXFeatures.C:
3997         * LyXAction.C:
3998         * MenuBackend.C:
3999         * TextCache.C:
4000         * aspell.C:
4001         * buffer.C:
4002         * bufferlist.C:
4003         * changes.C:
4004         * chset.C:
4005         * converter.C:
4006         * counters.C:
4007         * debug.C:
4008         * graph.C:
4009         * ispell.C:
4010         * lyx_cb.C:
4011         * lyxfind.C:
4012         * lyxfunc.C:
4013         * lyxlex_pimpl.C:
4014         * lyxrc.C:
4015         * lyxrow.C:
4016         * paragraph.C:
4017         * rowpainter.C:
4018         * texrow.C:
4019         * text.C:
4020         * text2.C:
4021         * toc.C: remove redundant using directives.
4022
4023 2003-09-07  Angus Leeming  <leeming@lyx.org>
4024
4025         * LaTeXFeatures.h: remove #include "support/types.h".
4026         * ToolbarBackend.h: remove #include <algorithm>.
4027         * changes.h: remove #include <ctime>.
4028         * debug.h: remove #include <iosfwd>.
4029         * graph.h: remove #include "support/std_string.h".
4030         * lyx_main.h: remove #include <csignal>.
4031         * lyxlex_pimpl.h: remove #include <fstream>.
4032         * sgml.h: remove #include <algorithm>, <utility>.
4033         * toc.h: remove #include "support/std_ostream.h".
4034         Add #include <iosfwd>.
4035
4036 2003-09-07  Angus Leeming  <leeming@lyx.org>
4037
4038         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4039
4040         * converter.h: forward declare LatexRunParams.
4041         * encoding.h: remove #include "lyxrc.h".
4042         * lyxtext.h: remove #include "LColor.h".
4043         * lyxtextclass.h: remove #include "support/types.h".
4044         * trans.h: remove #include "tex-accent.h".
4045         * trans_mgr.h: remove #include "tex-accent.h".
4046         * insets/inset.h: remove #include "support/types.h", <vector>.
4047         * insets/insetcollapsable.h: remove #include "LColor.h".
4048         * insets/insetinclude.h: remove #include "dimension.h".
4049         * insets/insetlatexaccent.h: remove #include "dimension.h".
4050         * insets/insetoptarg.h:: remove #include "insettext.h".
4051         * insets/insettext.h: remove #include "dimension.h",
4052         <boost/shared_ptr.hpp>
4053
4054         * insets/renderers.h: add #include "dimension.h".
4055         * insets/updatableinset.h: add #include "support/types.h".
4056
4057         * many .C files: Associated changes.
4058
4059 2003-09-06  Angus Leeming  <leeming@lyx.org>
4060
4061         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4062         one, inside testInvariant.
4063
4064         * PrinterParams.C: new file.
4065         * PrinterParams.[Ch]: move the function bodies out of line.
4066
4067 2003-09-06  Angus Leeming  <leeming@lyx.org>
4068
4069         * ParagraphParameters.h: forward declare ParameterStruct rather than
4070         including its header file.
4071         (depth): moved out-of-line.
4072
4073 2003-09-06  Angus Leeming  <leeming@lyx.org>
4074
4075         * BufferView_pimpl.h:
4076         * kbmap.h:
4077         * kbsequence.h:
4078         * lyxfunc.h: forward declare LyXKeySym rather than
4079         #include "frontends/LyXKeySym.h".
4080
4081         * BufferView_pimpl.C:
4082         * kbmap.C:
4083         * kbsequence.C:
4084         * lyxfunc.C: associated changes.
4085
4086 2003-09-06  Angus Leeming  <leeming@lyx.org>
4087
4088         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4089         As a result, can remove the #include "insets/inset.h" from BufferView.h
4090
4091 2003-09-06  Angus Leeming  <leeming@lyx.org>
4092
4093         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4094         As a result, can remove the #include "insets/inset.h" from BufferView.h
4095
4096 2003-09-06  Angus Leeming  <leeming@lyx.org>
4097
4098         * buffer_funcs.C:
4099         * buffer.h:
4100         * bufferlist.C:
4101         * BufferView.C:
4102         * bufferview_funcs.C:
4103         * BufferView_pimpl.C:
4104         * CutAndPaste.C:
4105         * lyx_cb.C:
4106         * lyxfunc.C:
4107         * paragraph.h:
4108         * ParagraphParameters.C:
4109         * tabular.C:
4110         * text3.C:
4111         * toc.C:
4112         * undo_funcs.C:
4113         * frontends/controllers/ControlDocument.C:
4114         * insets/insetcaption.C: rearrange the #includes into some sort of
4115         coherent order.
4116
4117         * buffer.h: remove #includes ErrorList.h, undo.h
4118
4119 2003-09-06  Angus Leeming  <leeming@lyx.org>
4120
4121         * support/types.h: add a 'depth_type' typedef, used to store the
4122         nesting depth of a paragraph.
4123
4124         * paragraph.h:
4125         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4126         defining explicitly.
4127
4128         * buffer.h:
4129         * paragraph_funcs.h:
4130         * ParagraphParameters.h:
4131         * sgml.h: use lyx::depth_type rather than Paragraph or
4132         ParameterStruct's depth_type.
4133
4134         * buffer.h
4135         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4136
4137         * BufferView.C:
4138         * BufferView_pimpl.C:
4139         * CutAndPaste.C:
4140         * ParagraphParameters.C:
4141         * buffer_funcs.C:
4142         * bufferlist.C:
4143         * bufferview_funcs.C:
4144         * lyx_cb.C:
4145         * lyxfunc.C:
4146         * tabular.C:
4147         * text3.C:
4148         * toc.C:
4149         * undo_funcs.C:
4150         * frontends/LyXView.C:
4151         * frontends/controllers/ControlDocument.C:
4152         * frontends/controllers/ControlErrorList.C:
4153         * insets/insetbibitem.C:
4154         * insets/insetbranch.C:
4155         * insets/insetcaption.C:
4156         * insets/insetcollapsable.C:
4157         * insets/insetenv.C:
4158         * insets/insetert.C:
4159         * insets/insetfloat.C:
4160         * insets/insetfoot.C:
4161         * insets/insetfootlike.C:
4162         * insets/insetnewline.C:
4163         * insets/insetquotes.C:
4164         * insets/insettabular.C:
4165         * insets/insettext.C:
4166         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4167
4168         * frontends/controllers/ControlChanges.C: #include "changes.h".
4169
4170 2003-09-06  Angus Leeming  <leeming@lyx.org>
4171
4172         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4173         than #including paragraph.h.
4174
4175         * ParagraphList.h:
4176         * RowList.h: deleted. Superfluous.
4177
4178         * CutAndPaste.h:
4179         * iterators.h:
4180         * lyxcursor.h:
4181         * lyxtext.h:
4182         * text_funcs.h:
4183         * undo.h:
4184         * undo_funcs.h:
4185         * insets/inset.h:
4186         * insets/insettext.h: use ParagraphList_fwd.h rather than
4187         ParagraphList.h.
4188
4189         * paragraph.h: don't forward declare ParagraphList.
4190
4191         * buffer.h:
4192         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4193         rather than ParagraphList.h. paragraph.h is still needed for the
4194         Paragraph::depth_type parameters.
4195
4196         * textcursor.h: enable it to compile stand-alone in light of the
4197         above changes.
4198
4199         * bufferview_funcs.C:
4200         * iterators.C:
4201         * lyxfunc.C:
4202         * lyxrow_funcs.C:
4203         * paragraph.C:
4204         * rowpainter.C:
4205         * text.C:
4206         * text2.C:
4207         * text3.C:
4208         * text_funcs.C:
4209         * textcursor.C:
4210         * undo.C:
4211         * frontends/controllers/ControlParagraph.C:
4212         * frontends/controllers/ControlTabular.C:
4213         * insets/insetmarginal.C:
4214         * insets/insetminipage.C:
4215         * insets/insetnote.C:
4216         * insets/insetoptarg.C: add header files needed to compile again.
4217
4218 2003-09-06  Angus Leeming  <leeming@lyx.org>
4219
4220         * RowList_fwd.h: new file, forward-declaring Row rather than
4221         #including lyxrow.h.
4222
4223         * lyxrow_funcs.h:
4224         * lyxtext.h:
4225         * paragraph.h:
4226         * insets/insettext.h: use it instead of RowList.h
4227
4228         * bufferview_funcs.C:
4229         * lyxfunc.C:
4230         * lyxrow_funcs.C:
4231         * paragraph.C:
4232         * rowpainter.C:
4233         * text.C:
4234         * text2.C:
4235         * text3.C: #include "RowList.h".
4236
4237 2003-09-05  Angus Leeming  <leeming@lyx.org>
4238
4239         * factory.C (createInset):
4240         * vspace.C (c-tor): replace sscanf call with an istringstream.
4241         * ispell.C: re-add missing HP/UX headers.
4242         * lyxserver.C: re-add missing  os2 headers.
4243
4244 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4245
4246         * BranchList.C:
4247         * graph.C:
4248         * ispell.C:
4249         * lastfiles.C:
4250         * lyx_cb.C:
4251         * lyxserver.C:
4252         * texrow.C:
4253         * text3.C: re-add missing system headers, needed for 2.95.2.
4254
4255 2003-09-05  Angus Leeming  <leeming@lyx.org>
4256
4257         Changes most place everywhere due to the removal of using directives
4258         from support/std_sstream.h.
4259
4260 2003-09-05  Angus Leeming  <leeming@lyx.org>
4261
4262         Replace LString.h with support/std_string.h,
4263         Lsstream.h with support/std_sstream.h,
4264         support/LIstream.h with support/std_istream.h,
4265         support/LOstream.h with support/std_ostream.h.
4266
4267         Changes resulting throughout the tree.
4268
4269 2003-09-05  Angus Leeming  <leeming@lyx.org>
4270
4271         * sgml.h: ensure that the header file can be compiled stand-alone.
4272         * *.C: strip out redundant #includes. (320 in total.)
4273
4274 2003-09-04  Angus Leeming  <leeming@lyx.org>
4275
4276         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4277         here (from getPackages).
4278
4279         * debug.[Ch]: add a new EXTERNAL tag.
4280
4281 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4282
4283         * text2.C (cursorEnd): simplify
4284         (setCursor): adjust
4285         (getColumnNearX): adjust
4286
4287         * text.C (computeBidiTables): adjust
4288         (fill): adjust
4289
4290         * rowpainter.C (paintChars): adjust
4291         (paintSelection): adjust
4292         (paintChangeBar): adjust
4293         (paintText): adjust
4294
4295         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4296         lastPos instead.
4297         (numberOfSeparators): adjust
4298
4299 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4300
4301         * LyXAction.C:
4302         * box.[Ch]:
4303         * lfuns.h:
4304         * lyxfunc.C:
4305         * text3.C: Restricts the mouse click functionality
4306         of insets like bibtex, include, toc and floatlist to the visible
4307         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4308         up the dialogs. Cursor has to be in front of the inset (i.e.
4309         start of row) for this to function.
4310
4311 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4312
4313         * bufferview_funcs.C (currentState): output row information
4314
4315 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4316
4317         * bufferview_funcs.C (currentState): output paragraph position
4318
4319 2003-09-04  Angus Leeming  <leeming@lyx.org>
4320
4321         * FloatList.h: move out #include "Floating.h".
4322         * LaTeX.h: move out #include "DepTable.h".
4323         * LyXAction.h: move out #include "funcrequest.h".
4324         * buffer.h: move out #include "author.h", "iterators.h".
4325         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4326         * lyx_main.h: move out #include "errorlist.h".
4327         * lyxfunc.h: move out #include "FuncStatus.h".
4328         * lyxtext: move out #include "lyxcursor.h".
4329         * paragraph_pimpl.h: move out #include "counters.h".
4330
4331 2003-09-03  Angus Leeming  <leeming@lyx.org>
4332
4333         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4334         preamble_snippets list, enabling us to add snippets to the preamble
4335         only if the snippet was not there already.
4336
4337 2003-09-04  Angus Leeming  <leeming@lyx.org>
4338
4339         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4340
4341 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4344         update
4345
4346 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4347
4348         * BranchList.C: point fix, earlier forgotten
4349
4350 2003-09-02  Angus Leeming  <leeming@lyx.org>
4351
4352         * box.C (contains): renamed from 'contained' after a fantastic
4353         amount of hot air.
4354
4355 2003-09-02  John Levon  <levon@movementarian.org>
4356
4357         * BufferView.C:
4358         * lyxcursor.h:
4359         * lyxcursor.C:
4360         * lyxfunc.C:
4361         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4362
4363 2003-09-02  John Levon  <levon@movementarian.org>
4364
4365         * text2.C: simplification of cursorEnd(), including partial
4366         fix for bug 1376
4367
4368 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * buffer.C (readFile): add a space
4371
4372 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4375
4376 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * buffer.C (readFile): new function, take a filename and a
4379         ParagraphList::iterator
4380         (readFile): adjust
4381         (readFile): adjust, make it private. don't use setStream, make
4382         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4383         always contain the filename.
4384
4385         * BufferView.C (insertLyXFile): simplify and make it work for
4386         gzipped files.
4387
4388 2003-08-30  John Levon  <levon@movementarian.org>
4389
4390         * Makefile.am: fix dist (from Kayvan)
4391
4392 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * most files: change to use const Buffer refs
4395
4396 2003-08-27  André Pönitz  <poenitz@gmx.net>
4397
4398         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4399         on top of ownerPar().
4400
4401 2003-08-27  John Levon  <levon@movementarian.org>
4402
4403         * funcrequest.C: properly initialise POD members
4404
4405 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4406
4407         * lyxtext.h (top_y): move top_y from here
4408         * text.C:
4409         * text2.C:
4410         * text3.C:
4411         * BufferView.[Ch]:
4412         * BufferView_pimpl.[Ch]: to here
4413         * frontends/screen.C:
4414         * insets/insettabular.C:
4415         * insets/insettext.C: adjust
4416         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4417
4418 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4419
4420         * BufferView.[Ch]:
4421         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4422
4423 2003-08-26  André Pönitz  <poenitz@gmx.net>
4424
4425         * paragraph_func.[Ch] (outerPar): new function
4426
4427         * paragraph.C:
4428         * paragraph_funcs.C:
4429         * paragraph_funcs.h:
4430         * paragraph_pimpl.C:
4431         * text2.C: remove Inset::par_owner
4432
4433 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4434
4435         * lyxrow_funcs.C:
4436         * lyxtext.h:
4437         * text.C:
4438         * text2.C: eliminates the needFullRow/display() stuff
4439         altogether, putting the logic in metrics/draw in the insets.
4440
4441 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * text2.C (redoParagraphInternal, redoParagraphs):
4444         * text.C (redoParagraph): add a call to updateRowPositions at the
4445         end of each 'metrics-like' call. Remove all others.
4446         (getRow): remove the 'y-computing' version.
4447         (getRowNearY): do not compute nor return the real y. Solve the
4448         'y < 0' problem and simplify.
4449
4450 2003-08-22  Angus Leeming  <leeming@lyx.org>
4451
4452         * *.[Ch]: clean-up of licence and author blurbs.
4453         Also move config.h out of a few .h files and into a few .C files.
4454
4455 2003-08-22  André Pönitz  <poenitz@gmx.net>
4456
4457         * lyxrow.[Ch]: add x_ and *fill_ members
4458
4459         * lyxtext.h:
4460         * text.C:
4461         * rowpainter.C:
4462         * text2.C: adjust/remove prepareToPrint() calls
4463
4464 2003-08-22  André Pönitz  <poenitz@gmx.net>
4465
4466         * lyxrow.[Ch]: add  end_ member
4467
4468         * lyxrow_funcs.C: use LyXRow::end_
4469
4470         * lyxtext.h (singleWidth): add LyXFont parameter
4471
4472         * rowpainter.C:
4473         * text2.C: adjust LyXText::singleWidth() calls
4474
4475         * text.C (redoParagraph): simplify row breaking logic
4476
4477
4478 2003-08-19  André Pönitz  <poenitz@gmx.net>
4479
4480         * funcrequest.C: initialize button_ member
4481
4482         * text3.C:
4483         * rowpainter.[Ch]: interface consolidation
4484
4485 2003-08-18  André Pönitz  <poenitz@gmx.net>
4486
4487         * BufferView.C:
4488         * BufferView_pimpl.C:
4489         * lyxfind.C:
4490         * paragraph_funcs.C:
4491         * rowpainter.C:
4492         * text3.C: remove LyXScreen::draw() and fitCursor calls
4493
4494         * BranchList.h: remove spurious semicolons
4495
4496         * MenuBackend.C: fix branchlist related crash
4497
4498 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4499
4500         * BranchList.[Ch]:
4501         * InsetList.[Ch]:
4502         * LColor.[Ch]:
4503         * LyXAction.C:
4504         * Makefile.am:
4505         * MenuBackend.[Ch]:
4506         * bufferparams.[Ch]:
4507         * factory.C:
4508         * lfuns.h:
4509         * lyxfunc.C:
4510         * text3.C: implements the 'branch inset'
4511         idea. This allows the output of various versions of a document
4512         from a single source version, selectively outputing or suppressing
4513         output of parts of the text.
4514         This implementation contains a 'branch list editor' in a separate
4515         tab of the document settings dialog. Branches are user definable
4516         and have a "display colour" to distinguish them on-screen.
4517
4518         ColorHandler was somewhat cleaned up.
4519         (1) make possible a dynamically growing LColor list by allowing
4520         the graphic context cache to grow along (vector);
4521         (2) eliminate an IMHO unnecessary step in colour allocation.
4522
4523 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4524
4525         * BufferView_pimpl.C: compile fix
4526
4527 2003-08-15  André Pönitz  <poenitz@gmx.net>
4528
4529         * rowpainter.C: remove extra metrics calls
4530
4531         * lyxtext.h: merge the two constructors into a single one,
4532           pass reference to owner's par list
4533
4534         * BufferView_pimpl.C:
4535         * text.C:
4536         * text2.C: adjust
4537
4538 2003-08-15  André Pönitz  <poenitz@gmx.net>
4539
4540         * lyxrow_funcs.[Ch]:
4541         * lyxtext.h:
4542         * paragraph.h:
4543         * paragraph_funcs.C:
4544         * rowpainter.C:
4545         * text.C:
4546         * text2.C:
4547         * text3.C:
4548         * text_funcs.C: split LyXText::rowlist_ into individual
4549         Paragraph::rows_ chunks
4550
4551         * BufferView.[Ch]:
4552         * BufferView_pimpl.[Ch]:
4553         * lyxfind.C:
4554         * lyxtext.h:
4555         * text3.C: remove toggleSelection()
4556
4557 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4558
4559         * bufferlist.C: beautify two alerts (shorter text of buttons)
4560         * buffer.C: Remove redundant ' ' from message
4561         * tabular.h:
4562         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4563         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4564         rename VALIGN_CENTER to VALIGN_MIDDLE
4565
4566 2003-08-11  André Pönitz  <poenitz@gmx.net>
4567
4568         * lyxtext.h (getPar):
4569         * text.C: new function
4570
4571 2003-08-11  André Pönitz  <poenitz@gmx.net>
4572
4573         * Makefile.am:
4574         * tracer.[Ch]: remove unneeded files
4575
4576         * InsetList.[Ch]: remove resizeInsetsLyXText()
4577
4578         * lyxtext.h:
4579         * text.C:
4580         * text2.C:
4581         * text3.C: merge insertParagraphs() and appendParagraph()
4582         remove breakAgain(), update()
4583
4584         * BufferView_pimpl.[Ch]:
4585         * bufferview_funcs.[Ch]:
4586         * lyxfunc.C:
4587         * paragraph.[Ch]:
4588         * rowpainter.C:
4589         * tabular.C: adjust after text & InsetList changes.
4590
4591 2003-08-08  André Pönitz  <poenitz@gmx.net>
4592
4593         * text.C (insertChar, backspace): replace rowlist fiddling
4594         with rebreak of full par
4595
4596         * lyxtext.h:
4597         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4598         checkParagraph, updateInset): removed
4599
4600 2003-08-07  André Pönitz  <poenitz@gmx.net>
4601
4602         * paragraph.C:
4603         * text3.C: merge some LFUN handlers, remove dead code
4604
4605 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4606
4607         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4608
4609 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * text2.C (DEPM): fix part of bug 1255 and 1256
4612
4613 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4614
4615         * BufferView_pimpl.C (workAreaDispatch): change to use
4616         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4617         that are no mouse related.
4618
4619 2003-08-05  André Pönitz  <poenitz@gmx.net>
4620
4621         * BufferView.[Ch]:
4622         * BufferView_pimpl.[Ch]:
4623         * bufferview_funcs.C:
4624         * text2.C:
4625         * text3.C: rip out "deep update"
4626
4627         * textcursor.[Ch] (last_sel_cursor): remove unused member
4628
4629 2003-08-04  André Pönitz  <poenitz@gmx.net>
4630
4631         * BufferView.[Ch]:
4632         * BufferView_pimpl.[Ch]:
4633         * ParagraphParameters.C:
4634         * bufferview_funcs.C:
4635         * lyx_cb.C:
4636         * lyxfind.C:
4637         * lyxfunc.C:
4638         * text.C:
4639         * text2.C:
4640         * text3.C: replace "complicated" BufferView::update(...) calls with
4641         simpler ones.
4642
4643         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4644
4645 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4646
4647         * Makefile.am (lyx_SOURCES): add paper.h
4648
4649 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4650
4651         * Makefile.am: move things around so that both lyx-qt and
4652         lyx-xforms can be built (according to --with-frontend). Then lyx
4653         is a symbolic link to lyx-[firstfrontend]
4654
4655 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4656
4657         * Always use std::endl with lyxerr
4658
4659 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4660
4661         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4662
4663 2003-08-01  André Pönitz  <poenitz@gmx.net>
4664
4665         * BufferView.[Ch]:
4666         * BufferView_pimpl.[Ch]:
4667         * lyxfunc.C:
4668         * text3.C: merge BufferView::repaint() and BufferView::update()
4669
4670 2003-08-01  José Matos  <jamatos@lyx.org>
4671
4672         * buffer.[Ch]: file_format is no longer a buffer data element.
4673
4674 2003-08-01  André Pönitz  <poenitz@gmx.net>
4675
4676         * BufferView.C:
4677         * lyxtext.h:
4678         * text.C:
4679         * text2.C: make redoParagraph more independent of current cursor
4680
4681         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4682         * text.C:
4683         * text2.C: remove unneeded members
4684
4685 2003-07-30  André Pönitz  <poenitz@gmx.net>
4686
4687         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4688
4689         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4690           create a single function...
4691
4692         * paragraph_funcs.C (moveItem): ... here.
4693
4694         * text.C:
4695           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4696
4697 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * LColor.[Ch]: Add comment and greyedout logical colors.
4700
4701 2003-07-30  André Pönitz  <poenitz@gmx.net>
4702
4703         * tabular.C: don't use Assert too heavily. This crashes where it
4704           shouldn't
4705
4706 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4707
4708         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4709         is disabled (bug 1232)
4710
4711 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4712
4713         * factory.C: limited 'arg' scope
4714
4715 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4716
4717         * factory.C: fixed Note submenu issues
4718
4719 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4720
4721         * factory.C: submenu for Note/Comment/Greyedout
4722
4723 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4724
4725         * lyx_main.C (LyX):
4726         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4727
4728 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4729
4730         * LaTeXFeatures.C:
4731         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4732         greyedout. Patch provided by Jürgen Spitzmüller.
4733
4734 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4735
4736         * kbmap.C (read): fix error message when reading bind files
4737
4738 2003-07-29  Angus Leeming  <leeming@lyx.org>
4739
4740         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4741         certainly does not do what it purports to do. I am doing it, and
4742         us, a favour by killing it.
4743
4744 2003-07-28  José Matos  <jamatos@lyx.org>
4745
4746         * buffer.C (readBody, do_writeFile):
4747         * paragraph.C(readParagraph): \end_document replaces \the_end.
4748
4749 2003-07-29  André Pönitz  <poenitz@gmx.net>
4750
4751         * BufferView.[Ch]:
4752         * BufferView_pimpl.[Ch]:
4753         * lyxfunc.C:
4754         * text2.C:
4755         * text3.C:
4756         * textcursor.[Ch]: remove toggleToggle & Co
4757
4758 2003-07-28  José Matos  <jamatos@fep.up.pt>
4759
4760         * buffer.C (readParagraph):
4761         * params_func (readParToken, readParagraph):
4762         * paragraph.C (write): \layout -> \begin_layout.
4763
4764 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * lyxlex_pimpl.C (setFile): clean up slightly.
4767
4768         * bufferparams.h: add compressed var
4769
4770         * buffer_funcs.C (readFile): adjust for LyXLex change
4771         (newFile): ditto + simplify
4772
4773         * buffer.C (writeFile): handle writing of compressed files
4774
4775         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4776         Check if the file is compressed and set a bufferparm if so.
4777
4778         * Makefile.am (lyx_LDADD): remove explicit -lz
4779
4780 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4781
4782         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4783         makeDocBookFile): put the real LyX version in the first line of
4784         the file
4785
4786         * version.h:
4787         * version.C.in: remove lyx_docversion
4788
4789         * tabular.C (write_attribute): add a template-based version to
4790         write enums properly
4791
4792 2003-07-28  André Pönitz  <poenitz@gmx.net>
4793
4794         * lyxtext.h:
4795         * text.C:
4796         * text2.C:
4797         * text3.C: use doubles again for x-coordinates. They are needed.
4798
4799 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * messages.C (getLocaleDir): use lyx_localedir()
4802
4803         * lyxlex_pimpl.C (setFile): compress stuff
4804
4805         * buffer.C (writeFile): add some compression stuff
4806         (do_writeFile): new func, dont call expliti close... will this
4807         breake anything?
4808
4809         * Makefile.am (lyx_LDADD): add -lz
4810
4811 2003-07-28  José Matos  <jamatos@fep.up.pt>
4812
4813         * buffer.C: increment file format.
4814         * paragraph_funcs (readParagraph, readParToken):
4815         * paragraph.C (readParagraph): add \end_layout.
4816
4817 2003-07-27  Angus Leeming  <leeming@lyx.org>
4818
4819         * Makefile.am: remove special casing for configure-time setting of
4820         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4821
4822         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4823         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4824
4825 2003-07-26  André Pönitz  <poenitz@gmx.net>
4826
4827         * paragraph_func.[Ch]:
4828         * paragraph.C (realizeFont): inline it whereever it is used
4829
4830         * rowpainter.C:
4831         * text.C:
4832         * text2.C:
4833         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4834
4835
4836 2003-07-26  André Pönitz  <poenitz@gmx.net>
4837
4838         *       lyxtext.h:
4839         * text.C:
4840         * text2.C: get rid of LyXText::need_break_row
4841
4842 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * toc.[Ch]: put namespace toc inside namespace lyx
4845
4846         * MenuBackend.C (expandToc2): adjust for lyx::toc
4847         (expandToc): ditto
4848
4849         * lyxfunc.C (dispatch): adjust for lyx::find
4850
4851         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4852         lyx::find instead. Reorganize a bit.
4853         (LyXReplace): rename to replace
4854         (LyXFind): rename to find
4855
4856         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4857         (dispatch): ditto
4858
4859 2003-07-26  André Pönitz  <poenitz@gmx.net>
4860
4861         * text.C (setHeightOfRow): restrict scope of temporary variable
4862
4863         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4864           code (never has been used?)
4865
4866 2003-07-27  Asger Alstrup  <alstrup@local>
4867
4868         * text.C (fill): Optimise algorithm to exploit that we can reuse
4869         the LyXFont for many characters.
4870         (setHeightOfRow): Same thing.
4871         (rowBreakPoint): Same thing.
4872
4873 2003-07-26  Asger Alstrup  <alstrup@local>
4874
4875         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4876
4877         * text.C (singleWidth): Spurious font copying in hot-spot
4878         singleWidth avoided. Reorder tests for arabic for efficiency.
4879
4880         * text.C (fill): handle empty paragraphs better.
4881
4882 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4883
4884         * ispell.C:
4885         * encoding.h: add includes
4886
4887         * lyxrc.C: remove reading of bind files
4888
4889         * lyx_main.C (init): setup bindings and menus only if we have a
4890         gui.
4891
4892         * kbmap.C (read): new method. Do the actual reading of bind
4893         files.
4894
4895         * converter.C (dvipdfm_options):
4896         * bufferparams.C:
4897         * lyxrc.C (read):
4898         (output): adapt PAPER_* enums.
4899
4900         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4901
4902         * bufferparams.h: remove paper-related enums from there
4903
4904         * paper.h: New file. A trivial header file to hold paper-related
4905         enums. It should later expand to contain many paper-related
4906         horrors access.
4907
4908         * lyxrc.C: declare extern displayTranslator
4909
4910 2003-07-27  José Matos  <jamatos@fep.up.pt>
4911
4912         * tabular.[Ch] (linuxdoc): add support for tables and figures
4913         (linuxdoc).
4914
4915 2003-07-27  José Matos  <jamatos@fep.up.pt>
4916
4917         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4918         consistency in both functions.
4919         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4920
4921 2003-07-26  Asger Alstrup  <alstrup@local>
4922
4923         * rowpainter.C (paintRows): Change algorithm to work directly on
4924         the insets rather than asking every character in the document
4925         whether its an inset.
4926
4927 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * buffer.C (openFileWrite): factorize some code
4930
4931 2003-07-26  Angus Leeming  <leeming@lyx.org>
4932
4933         * lyx_cb.C:
4934         * lyx_main.[Ch]: replace occurances of system_tempdir with
4935         os::getTmpDir().
4936
4937 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * rename Inset to InsetOld
4940
4941 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4942
4943         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4944         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4945         which I think is a bit clearer. EDIT is gone, since it was
4946         premature optimisation, and broken for mathed anyway.
4947         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4948         with cursor positioning in insets as well (math insets still do not
4949         work, but that's a different story anyway.) It mysteriously
4950         crashes sometimes with undo in the first paragraph, but I'm fairly
4951         confident that this is a compiler bug.
4952
4953 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * paragraph.C (Paragraph): adjust for new clone return type
4956         (operator==): ditto
4957         (copyIntoMinibuffer): ditto
4958
4959 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4960
4961         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4962         by not having a special case, and always doing a full rebreak of
4963         the document after undo.
4964
4965 2003-07-23  Angus Leeming  <leeming@lyx.org>
4966
4967         * factory.C (createInset): InsetExternal::setParams now takes a
4968         Buffer const * arg.
4969
4970 2003-07-23  Angus Leeming  <leeming@lyx.org>
4971
4972         * factory.C (createInset): changed interface to the external and
4973         graphics mailers' string2params functions.
4974
4975 2003-07-23  Angus Leeming  <leeming@lyx.org>
4976
4977         * factory.C (createInset): pass a
4978         Buffer const * parameter to InsetExternalMailer's string2params.
4979
4980 2003-07-22  John Levon  <levon@movementarian.org>
4981
4982         * Thesaurus.h: include the right aiksaurus header
4983
4984 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4985
4986         * MenuBackend.C (expand): check menu shortcuts unconditionally
4987
4988 2003-07-21  Angus Leeming  <leeming@lyx.org>
4989
4990         * factory.C (createInset): pass a
4991         buffer_path parameter to InsetGraphicsMailer's string2params.
4992
4993 2003-07-21  Angus Leeming  <leeming@lyx.org>
4994
4995         * BufferView_pimpl.C (buffer):
4996         * buffer.C (d-tor):
4997         * lyx_main.C (LyX):
4998         * lyxfunc.C (dispatch):
4999         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5000         rather than the grfx shortcut.
5001
5002 2003-07-21  André Pönitz  <poenitz@gmx.net>
5003
5004         * rowpainter.C: remove unused variables
5005
5006         * tabular_funcs.C:
5007         * tabular_funcs.h: move to tabular.C
5008         * Makefile.am: adjust
5009
5010         * tabular.[Ch]: basic optical cleaning
5011
5012         * author.h: pass references, not values
5013
5014 2003-07-18  André Pönitz  <poenitz@gmx.net>
5015
5016         * lyxtext.h:
5017         * metricsinfo.C:
5018         * metricsinfo.h:
5019         * rowpainter.C:
5020         * text.C:
5021         * text2.C:
5022         * text3.C: two-phase drawing for InsetText and InsetTabular
5023         some float -> int changes.
5024
5025 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * lyx_main.C: fix the fix
5028
5029 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * lyx_main.C: fix a crash in batch mode if no files specified
5032         * converter.C: ws
5033
5034 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * format.[Ch] (papersize): moved to BufferParams
5037         * converter.[Ch] (dvips_options): moved to BufferParams
5038         (dvipdfm_options): moved to anon namespace
5039         * bufferparams.[Ch]: added above functions.
5040
5041 2003-07-17  André Pönitz  <poenitz@gmx.net>
5042
5043         * lyxtext.h:
5044         * rowpainter.C:
5045         * text2.C: don't call inset->update() anymore
5046
5047         * metricsinfo.[Ch]: add convenience constructor
5048
5049 2003-07-16  André Pönitz  <poenitz@gmx.net>
5050
5051         * lyxcursor.[Ch]:
5052         * lyxfunc.[Ch]:
5053         * text.C:
5054         * text2.C: replace the LyXCursor::irow_ member with
5055          on-demand computation of the value
5056
5057 2003-07-16  John Levon  <levon@movementarian.org>
5058
5059         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5060
5061 2003-07-15  André Pönitz  <poenitz@gmx.net>
5062
5063         * text.C:
5064         * text2.C: remove no more needed refresh_row
5065
5066 2003-07-15  André Pönitz  <poenitz@gmx.net>
5067
5068         * lyxtext.h:
5069         * rowpainter.C:
5070         * text2.C:
5071         * text3.C: refresh_status tristate -> need_update bool
5072
5073 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * lyxtext.h (init): remove reinit argument (act as if always true)
5076         * text2.C: adjust to that
5077
5078 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5079
5080         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5081         * text3.C: use it to delete selections in some cases
5082         (bugs 441, 673, 702, 954).
5083
5084 2003-07-14  André Pönitz  <poenitz@gmx.net>
5085
5086         * rowpainter.[Ch]: reduce interface
5087
5088 2003-07-14  André Pönitz  <poenitz@gmx.net>
5089
5090         * BufferView_pimpl.C:
5091         * text2.C: adjust after removing unused BufferView * argument
5092
5093 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5094
5095         * text2.C (init): fix a crash fired on resize
5096
5097 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * buffer.[Ch]: added new closing signal
5100         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5101         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5102         BufferView::Pimpl via the closing the signal
5103
5104 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5105
5106         * buffer.[Ch]: take out all bv-related from buffer
5107         * BufferView.C:
5108         * BufferView_pimpl.[Ch]: connect to new signals
5109         * CutAndPaste.C: removed useless asserts
5110         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5111         * lyxvc.[Ch]:
5112         * vc-backend.[Ch]:
5113         * lyxfunc.C: moved view-related funciontality from vc here
5114         * paragraph.C: removed outdated comments
5115         * text.C: ws
5116
5117 2003-07-10  André Pönitz  <poenitz@gmx.net>
5118
5119         * BufferView_pimpl.C:
5120         * tabular.h:
5121         * tabular_funcs.C:
5122         * text.C:
5123         * text2.C: remove InsetText::InnerCache, clean up consequences
5124
5125 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5126
5127         * ispell.C: fix two typos in error messages
5128
5129 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5130
5131         * Extend Note inset to other forms of annotation like Comment
5132         and Greyedout. Right button click gives dialog.
5133
5134         Files modified or added (+):
5135
5136         * insetnote.[Ch]
5137         * FormNote.[Ch]      +
5138         * ControlNote.[Ch]   +
5139         * form_note.fd       +
5140         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5141         frontends/controllers
5142         * xforms/Dialogs.C
5143         * factory.C
5144
5145 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5146
5147         * aspell.C: add missing namespace lyx::support
5148
5149 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5150
5151         * BufferView.[Ch] (newFile): Add
5152         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5153         * LaTeX.[Ch] (message): added this signal and use it
5154         * buffer.[Ch] (busy, message): added these signals and use them
5155         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5156         * converter.C:
5157         * exporter.C:
5158         * format.C:
5159         * importer.C: use buffer signals instead of direct bv calling
5160         * lyx_cb.[Ch] (ShowMessage): removed
5161         * lyx_main.C:
5162         * lyxfunc.C:
5163         * paragraph_funcs.C:
5164         * text2.C: use buffer signals
5165
5166 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * introduce namespace lyx::graphics
5169
5170 2003-07-02  André Pönitz  <poenitz@gmx.net>
5171
5172         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5173
5174 2003-07-01  André Pönitz  <poenitz@gmx.net>
5175
5176         * text.C:
5177         * text2.C:
5178         * text3.C:
5179         * text_funcs.[Ch]:
5180         * textcursor.h:
5181         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5182           text*.C to text_func.C
5183
5184 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * introduce namespace lyx::support
5187
5188 2003-06-30  André Pönitz  <poenitz@gmx.net>
5189
5190         * Chktex.C:
5191         * funcrequest.C:
5192         * lyxtext.h:
5193         * text.C: re-enable --with-included-string
5194
5195 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * textcursor.C: add <config.h>
5198
5199         * text.C (getWord): remove const from word_location arg
5200
5201         * lyxvc.C (getLogFile): fix const type order
5202
5203         * lyxtext.h: remove const from word_location arg, add arg name
5204
5205         * lyxlayout.h: currect type on labeltype.
5206
5207         * importer.C: correct \file
5208
5209         * converter.C (intToFormat): use std:: on ret val, ws changes
5210
5211         * bufferlist.h: correct \file
5212
5213         * buffer.C (makeLinuxDocFile): fix const type order
5214         (makeDocBookFile): ditto
5215         (fillWithBibKeys): use std:: on stdlib args.
5216
5217         * CutAndPaste.C: fix authors.
5218         (availableSelections): use std:: on return vector
5219
5220 2003-06-27  André Pönitz  <poenitz@gmx.net>
5221
5222         * BufferView_pimpl.C:
5223         * bufferview_funcs.C:
5224         * lyxcursor.C:
5225         * lyxcursor.h:
5226         * lyxfunc.C:
5227         * lyxtext.h:
5228         * rowpainter.C:
5229         * text.C:
5230         * text2.C:
5231         * text3.C: remove LyXCursor::row_ member
5232
5233         * lyxtext.h:
5234         * text.C: rename fullRebreak() to partialRebreak() and implement
5235           a fullRebreak() that really bereks fully
5236
5237         * textcursor.h: new struct for cursor-related data
5238
5239 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5240
5241         * lyx_main.C (LyX): get full path of document loaded on the
5242         command line
5243
5244 2003-06-26  André Pönitz  <poenitz@gmx.net>
5245
5246         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5247           remove unused/broken operator>,<,>=.
5248
5249         *       text.C: remove only use of broken operator<= in an Assert().
5250
5251 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5252
5253         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5254         moved errorlist_.clear to showErrorList
5255
5256 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5257
5258         * converter.C (scanLog, runLaTeX):
5259         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5260         move the bv->showErrorList call to the callers
5261         * lyxfunc.C: i.e. here...
5262         * text2.C: and here
5263         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5264         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5265         namespace, the second to...
5266         * buffer_funcs (BufferFormat, parseErrors): added
5267         * errorlist.C (ErrorList(TeXErrors const &)): removed
5268
5269 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5270
5271         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5272
5273 2003-06-24  "Garst R. Reese" <reese@isn.net>
5274
5275         * debug.C: fix typo
5276
5277 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5278
5279         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5280
5281         * version.C.in: change docversion to 1.4
5282
5283 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5284
5285         * buffer.C: fix a bug just introduced
5286
5287 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * buffer.[Ch]: added the parseError signal and use it, removed
5290         sgmlError
5291         * BufferView.[Ch] (addError): moved to ...
5292         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5293         to the Buffer::parseError signal to catch (guess what) parse errors
5294         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5295
5296 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5297
5298         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5299         ability to create a buffer and to return an existing one from
5300         the list. Moved these functions to...
5301         * buffer_funcs.[Ch]: added
5302         * BufferView.[Ch] (loadLyXFile): added
5303         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5304         job removed from bufferlist::loadLyXFile.
5305         * buffer.C (setReadOnly): make it work without view
5306         (i.e added an if (users))
5307
5308 2003-06-19  Angus Leeming  <leeming@lyx.org>
5309
5310         * lfuns.h:
5311         * LyXAction.C (init):
5312         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5313         with LFUN_DIALOG_SHOW <name> <data>.
5314
5315 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5316
5317         * CutAndPaste.C (availableSelections): small compilation fix for
5318         ancient (gcc 2.9x) compilers
5319
5320 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * text3.C (cursorNext): add tmp var
5323
5324         * text2.C (updateCounters): for function calling out of for clause
5325         (replaceSelectionWithString): ditto
5326         (insertStringAsParagraphs): ditto
5327         (getColumnNearX): add tmp var
5328         (setCursorFromCoordinates): add tmp var
5329         (cursorDownParagraph): add tmp var
5330         (deleteEmptyParagraphMechanism): add tmp var
5331
5332         * text.C (insertChar): add tmp var
5333
5334         * rowpainter.C (paintDepthBar): add tmp var
5335
5336         * CutAndPaste.C (availableSelections): potentially check all
5337         paragraphs in a cut to fill the shown strings.
5338
5339 2003-06-18  André Pönitz  <poenitz@gmx.net>
5340
5341         * kbmap.[Ch]: use vector<> instead of list<>
5342
5343 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5344
5345         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5346         pasteSelection with index
5347
5348         * text2.C (pasteSelection): modify, call pasteSelection with index
5349
5350         * paragraph.C (asString): reimplement version with no interval to
5351         call the one with interval.
5352
5353         * lyxtext.h: add index arg to pasteSelection
5354
5355         * MenuBackend.C (MenuItem): handle PasteRecent
5356         (Menu::read::Menutags): add md_pasterecent
5357         (read): handle it
5358         (expandPasteRecent): new function
5359         (expand): use it
5360
5361         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5362
5363         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5364         the limited stack
5365         (availableSelections): new function
5366
5367 2003-06-17  Angus Leeming  <leeming@lyx.org>
5368
5369         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5370
5371 2003-06-17  Angus Leeming  <leeming@lyx.org>
5372
5373         * lfuns.h:
5374         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5375
5376         * lyxfunc.C (dispatch): invoke it.
5377
5378 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5379
5380         * iterators.C (operator++, ParPosition): reintroduce some
5381         const_cast for the benefit of older compilers.
5382
5383 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5384
5385         * text3.C (dispatch): do not modify clipboard when doing
5386         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5387         LFUN_DELETE_SKIP on a selection selection
5388
5389 2003-06-16  André Pönitz  <poenitz@gmx.net>
5390
5391         * BufferView.C:
5392         * buffer.C:
5393         * buffer.h:
5394         * paragraph.C:
5395         * tabular.[Ch]: IU of clone() and getLabelList();
5396
5397 2003-06-13  André Pönitz  <poenitz@gmx.net>
5398
5399         * tabular.h: compactification
5400
5401 2003-06-12  André Pönitz  <poenitz@gmx.net>
5402
5403         * tabular.C:
5404         * tabular.h:
5405         * tabular_funcs.h: some renaming plus whitespace
5406
5407 2003-06-12  André Pönitz  <poenitz@gmx.net>
5408
5409         * BufferView.C:
5410         * BufferView_pimpl.C:
5411         * CutAndPaste.C:
5412         * buffer.C:
5413         * iterators.[Ch]:
5414         * lyxfunc.C:
5415         * text.C:
5416         * toc.C: Return a Paragraph & for ParIterator::operator*()
5417
5418 2003-06-11  John Levon  <levon@movementarian.org>
5419
5420         * lyx_main.C:
5421         * ToolbarBackend.h:
5422         * ToolbarBackend.C: add "Toolbars" section and
5423         put the flags there
5424
5425 2003-06-10  Angus Leeming  <leeming@lyx.org>
5426
5427         * lfuns.h:
5428         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5429
5430         * lyxfunc.C (dispatch): invoke it.
5431
5432 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * main.C: protect <ios> with HAVE_IOS
5435         (main): protect sync_with_stdio with HAVE_IOS
5436
5437 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5438
5439         * text2.C (cutSelection): adjust
5440         (pasteSelection): adjust
5441
5442         * messages.C: handle get of empty string
5443
5444         * main.C (main): use sync_with_stdio(false)
5445
5446         * lyxfunc.C (dispatch): adjust
5447
5448         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5449         (WriteAs): remove unneeded BufferView arg.
5450
5451         * bufferparams.h: use correct types on papersize, papersize2 and
5452         paperpackage.
5453
5454         * bufferparams.C (readToken): adjust for type
5455         (writeLaTeX): add missing cases to switch.
5456
5457         * bufferlist.C (quitWriteBuffer): adjust
5458         (close): adjust
5459
5460         * buffer.C (asciiParagraph): remove some commented code.
5461
5462         * CutAndPaste.C: remove current_view extern variable.
5463         (cutSelection): add BufferParams arg.
5464         (eraseSelection): add BufferParams arg.
5465         (pasteSelection): add Buffer const & arg
5466
5467 2003-06-07  John Levon  <levon@movementarian.org>
5468
5469         * buffer.C:
5470         * paragraph_funcs.C:
5471         * paragraph_pimpl.C:
5472         * text.C:
5473         * text2.C:
5474         * paragraph.h:
5475         * paragraph.C: allow InsetERT to freely space lines,
5476         and some consolidation of code
5477
5478 2003-06-06  José Matos  <jamatos@fep.up.pt>
5479
5480         * buffer.C (makeDocBookFile): fix bug #821
5481
5482 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5483
5484         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5485
5486 2003-06-04  Angus Leeming  <leeming@lyx.org>
5487
5488         * buffer.C: bump format to 224.
5489
5490 2003-06-05  André Pönitz  <poenitz@gmx.net>
5491
5492         * text2.C (redoParagraphs): remove two const_cast<>
5493
5494 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5495
5496         * ParagraphList.h: remove last remnants of NO_STD_LIST
5497
5498 2003-06-03  Angus Leeming  <leeming@lyx.org>
5499
5500         * factory.C (createInset): small change to the way InsetExternal's params
5501         are set.
5502
5503 2003-06-04  André Pönitz  <poenitz@gmx.net>
5504
5505         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5506
5507         * paragraph_pimpl.h:
5508         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5509
5510         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5511
5512         * undo_funcs.C: make some simple cases of undo work again
5513
5514 2003-06-03  John Levon  <levon@movementarian.org>
5515
5516         * ispell.C: HPUX doesn't have sys/select.h
5517         (from Albert Chin)
5518
5519 2003-06-03  John Levon  <levon@movementarian.org>
5520
5521         * CutAndPaste.C: update tabular and include inset
5522         buffer references
5523
5524         * buffer.h:
5525         * paragraph.h:
5526         * paragraph.C: remove owningBuffer(), don't pass Buffer
5527         to clone()
5528
5529         * factory.C: insetGraphicsParams changed
5530
5531 2003-06-02  John Levon  <levon@movementarian.org>
5532
5533         * LyXAction.C:
5534         * factory.C:
5535         * lfuns.h:
5536         * lyxfunc.C:
5537         * text3.C: remove insetparent
5538
5539 2003-06-02  John Levon  <levon@movementarian.org>
5540
5541         * buffer.h:
5542         * buffer.C: fix inset_iterator.end(), move out of line
5543         (bug 1149)
5544
5545 2003-06-01  John Levon  <levon@movementarian.org>
5546
5547         * text3.C: use a proper cut/paste when doing inset
5548         insert (from Jürgen Spitzmüller)
5549
5550 2003-06-01  John Levon  <levon@movementarian.org>
5551
5552         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5553
5554 2003-05-30  André Pönitz  <poenitz@gmx.net>
5555
5556         * rowpainter.C: unify second drawing phase
5557
5558 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * trans_mgr.C: remove one case of current_view
5561
5562         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5563
5564         * paragraph_funcs.h: remove paragraph.h include
5565
5566         * paragraph.h: delete NO_STD_LIST stuff
5567
5568         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5569
5570         * buffer.h: remove paragraph.h include
5571
5572         * ParagraphList.C: delete file
5573
5574         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5575
5576         * toc.C (getTocList): adjust
5577
5578         * paragraph_pimpl.C (validate): adjust
5579
5580         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5581
5582         * paragraph.C (Paragraph): adjust
5583         (getPositionOfInset): use const_iterator, adjust
5584         (bibitem): use const_iterator, adjust
5585         (setInsetOwner): adjust
5586
5587         * iterators.C (operator++): adjust
5588
5589         * InsetList.[Ch]: Replace selfmade iterator with standard
5590         vector::iterator also introduce const_iterator. Remove getPos,
5591         getInset and setInset from InsetTable. Adjust accordingly.
5592
5593         * BufferView.C (lockInset): adjust
5594         (ChangeInsets): adjust
5595
5596         * tabular.[Ch]: delete commented same_id functions
5597
5598 2003-05-28  John Levon  <levon@movementarian.org>
5599
5600         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5601
5602 2003-05-28  André Pönitz  <poenitz@gmx.net>
5603
5604         * metricsinfo.[Ch]: remove 'fullredraw' member
5605
5606 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5607
5608         * lyxtextclass.C (operator): remove caching.
5609
5610 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * text3.C: adjust
5613
5614         * text2.C (cursorBottom): adjust
5615         (setCounter): use ParagraphList::find, adjust
5616
5617         * text.C (workWidth): use ParagraphList::find, adjust
5618
5619         * lyxcursor.C (LyXCursor): adjust
5620
5621         * buffer.C (inset_iterator): adjust
5622
5623         * ParagraphList.h: make iterator(value_type) private, make
5624         ParagraphList a friend of iterator.
5625
5626         * ParagraphList.C (find): new function
5627
5628         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5629
5630 2003-05-27  André Pönitz  <poenitz@gmx.net>
5631
5632         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5633
5634 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5635
5636         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5637
5638 2003-05-26  John Levon  <levon@movementarian.org>
5639
5640         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5641
5642 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * remove same_id from function signatures, adjust.
5645
5646 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5649
5650         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5651
5652         * paragraph.C (Paragraph): get rid of same_ids parameter
5653
5654         * ParagraphList.C (insert): adjust
5655         (push_back): adjust
5656
5657 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * paragraph_funcs.C (breakParagraph): adjust
5660         (breakParagraphConservative): adjust
5661
5662         * buffer.C (readParagraph): adjust
5663
5664         * ParagraphList.C (insert): take a reference instead of a pointer
5665         (insert): adjust
5666
5667         * paragraph.[Ch] (id): new function
5668
5669         * bufferlist.C (newFile): adjust
5670
5671         * ParagraphList.C (ParagraphList): adjust
5672         (assign): adjust
5673         (push_back): take a reference instead of a pointer.
5674
5675         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5676
5677         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5678         instead.
5679
5680         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5681         set else use old code.
5682
5683         * ParagraphList.C: remove all NO_NEXT code and only compile this
5684         code of NO_STD_LIST is set.
5685
5686 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5687
5688         * BufferView_pimpl.C:
5689         * TextCache.C:
5690         * TextCache.h:
5691         * bufferlist.C:
5692         * errorlist.h:
5693         * format.C:
5694         * format.h:
5695         * graph.C:
5696         * lyxfunc.C:
5697         * lyxrc.C:
5698         * graphics/GraphicsConverter.C:
5699         * graphics/PreviewLoader.C: header adjustment
5700
5701 2003-05-23  Angus Leeming  <leeming@lyx.org>
5702
5703         * LaTeXFeatures.[Ch] (useBabel): new method.
5704         * bufferparams.C (writeLaTeX): use it.
5705
5706 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * ParagraphList.h (set): remove unused function.
5709
5710 2003-05-23  André Pönitz  <poenitz@gmx.net>
5711
5712         * BufferView.C:
5713         * BufferView_pimpl.C:
5714         * buffer.C:
5715         * buffer.h:
5716         * lyxfunc.C:
5717         * undo_funcs.C: setUndo reworked
5718
5719         * iterators.[Ch]: add access to topmost ParagraphList
5720
5721         * lyxtext.[Ch] (workWidth): add a const
5722
5723 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5724
5725         * texrow.[Ch] (increasePos): remove function
5726         * exporter.C (export): removed unused var and outdated comment
5727
5728 2003-05-23  Angus Leeming  <leeming@lyx.org>
5729
5730         * latexrunparams.h: rename fragile as moving_arg.
5731         * paragraph.C (simpleTeXOnePar): ditto.
5732         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5733
5734 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5737         (createUndo): ditto
5738         (textUndoOrRedo): comment out a currently unused var.
5739
5740         * paragraph.h (NO_NEXT): enable NO_NEXT
5741
5742         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5743
5744         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5745
5746         * exporter.C (Export): adjust for removeAutoInsets removal.
5747
5748         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5749
5750         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5751
5752         * BufferView.[Ch] (removeAutoInsets): delete function
5753
5754 2003-05-22  Angus Leeming  <leeming@lyx.org>
5755
5756         * latexrunparams.h: add a free_spacing variable.
5757
5758         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5759         to pass moving_arg, as the data is stored in runparams.fragile.
5760
5761         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5762         to Inset::latexOptional or to simpleTeXOnePar.
5763
5764         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5765         free_spacing arg to Inset::latexOptional.
5766
5767         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5768         free_spacing arg.
5769
5770 2003-05-22  Angus Leeming  <leeming@lyx.org>
5771
5772         * latexrunparams.h: add fragile and use_babel variables.
5773
5774         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5775         * buffer.C (makeLaTeXFile): store this returned value in
5776         runparams.use_babel, thus passing it to the inset::latex methods.
5777
5778         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5779         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5780
5781         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5782         longer has a fragile arg, as it is stored in runparams.fragile.
5783
5784         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5785         moving_arg parameter as the data is stored in runparams.fragile.
5786
5787         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5788         a fragile parameter as the data is stored in runparams.fragile.
5789
5790 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5793
5794 2003-05-22  Angus Leeming  <leeming@lyx.org>
5795
5796         * latexrunparams.h: add a 'bool nice' which defaults to false.
5797
5798         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5799         now encapsulated within runparams.
5800
5801         * bufferlist.C (updateIncludedTeXfiles):
5802         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5803
5804 2003-05-22  Angus Leeming  <leeming@lyx.org>
5805
5806         * latexrunparams.h: new file containing struct LatexRunParams.
5807         * Makefile.am: add new file.
5808
5809         * LaTeX.[Ch] (c-tor, run):
5810         * buffer.[Ch] (makeLaTeXFile):
5811         * bufferlist.[Ch] (updateIncludedTeXfiles):
5812         * converter.C (convert, scanLog):
5813         * converter.[Ch] (runLaTeX):
5814         * exporter.C (Export):
5815         * paragraph.[Ch] (simpleTeXOnePar):
5816         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5817         * paragraph_funcs.[Ch] (latexParagraphs):
5818         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5819         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5820         pass around a LatexRunParams parameter.
5821
5822 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * paragraph.[Ch]: remove unused constructor
5825
5826         * ParagraphList.C (erase): new function, taking two iterators
5827
5828 2003-05-22  André Pönitz  <poenitz@gmx.net>
5829
5830         * undo_funcs.C: remove duplicated code
5831
5832         * iterator.[Ch]: operator=
5833
5834 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * tabular.C (SetMultiColumn): ws changes
5837
5838         * rowpainter.C (paintFirst): get rid of a ->previous
5839
5840         * lyx_cb.C (getPossibleLabel): parlist simplification
5841
5842         * BufferView.C (ChangeInsets): simplify slightly.
5843
5844 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5845
5846         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5847         * lfuns.h: new LFUN_SPACE
5848         * lyxfunc.C: protected space has a new lfun
5849         * paragraph_funcs.C: read new space insets
5850         * text3.C:
5851         * factory.C: handle new space insets
5852
5853 2003-05-22  André Pönitz  <poenitz@gmx.net>
5854
5855         * BufferView.C:
5856         * BufferView_pimpl.C:
5857         * buffer.[Ch]:
5858         * lyxfunc.C:
5859         * undo_funcs.C: return a ParIterator from getParFromID.
5860
5861         * iterators.[Ch]: add two const's
5862
5863 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5864
5865         * toc.C (getTocList): adjust
5866
5867         * iterators.[Ch]: rework for parlist
5868
5869         * buffer.C (par_iterator_begin): adjust
5870         (par_iterator_end): adjust
5871
5872         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5873
5874         * BufferView.C (removeAutoInsets): adjust
5875         (ChangeInsets): adjust
5876
5877 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5878
5879         * text.C (top_y): fix bug 1110
5880
5881 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5882
5883         * errorlist.[Ch]: added
5884         * buffer.C:
5885         * BufferView.[Ch]:
5886         * BufferView_pimpl.C:
5887         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5888         instead
5889
5890 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * Makefile.am: ensure that lyx is relinked upon changes to the
5893         various "convenience" libs.
5894
5895 2003-05-20  Angus Leeming  <leeming@lyx.org>
5896
5897         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5898         files are compiled in alphabetical order again.
5899
5900         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5901
5902 2003-05-19  Angus Leeming  <leeming@lyx.org>
5903
5904         * gettext.[Ch]: remove "char const * _(char const *)".
5905
5906 2003-05-19  André Pönitz  <poenitz@gmx.net>
5907
5908         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5909
5910         * Makefile.am:
5911         * BufferView.C:
5912         * DepTable.h:
5913         * LaTeXFeatures.C:
5914         * buffer.C:
5915         * lyxfont.C:
5916         * lyxlex.h:
5917         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5918
5919 2003-05-19  André Pönitz  <poenitz@gmx.net>
5920
5921         * buffer.C:
5922         * lyxlayout.[Ch]:
5923         * lyxtextclass.[Ch]:
5924         * paragraph.C:
5925         * paragraph_funcs.[Ch]:
5926         * text2.C:
5927         * text3.C: more insetenv work
5928
5929 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5930
5931         * ParagraphParameters.C (params2string): small bug fixed
5932
5933 2003-05-16  André Pönitz  <poenitz@gmx.net>
5934
5935         * debug.C:
5936         * bufferview_funcs.C: patch from Kornel Benko to prevent
5937           crash when _(...) is called twice in a statement
5938
5939 2003-05-16  André Pönitz  <poenitz@gmx.net>
5940
5941         * BufferView.C:
5942         * lyxfunc.C:
5943         * text.C:
5944         * text2.C:
5945         * text3.C:
5946         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5947
5948 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5949
5950         * lyx_main.C (init): remove spurious static_cast
5951
5952 2003-05-14  André Pönitz  <poenitz@gmx.net>
5953
5954         * BufferView.C: fix format string
5955
5956 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * BufferView.[Ch] (insertErrors): removed
5959         * BufferView.[Ch] (showErrorList): added
5960         * buffer.C (runChkTeX):
5961         * converter.C (scanLog): call showErrorList instead of inserterrors
5962
5963 2003-05-13  André Pönitz  <poenitz@gmx.net>
5964
5965         * BufferView_pimpl.C:
5966         * buffer.C:
5967         * bufferview_func.C:
5968         * MenuBackend.C:
5969         * lyxfunc.C:
5970         * lyxrc.C:
5971         * tex-accent.C:
5972         * text3.C:
5973         * toc.C:
5974         * tabular_funcs.h: tostr() from its own header
5975
5976         * ParagraphParameters.C:
5977         * ToolbarBackend.C:
5978         * bufferparams.C:
5979         * format.C:
5980         * lyxlex_pimpl.C:
5981         * text3.C: STRCONV()
5982
5983 2003-05-12  André Pönitz  <poenitz@gmx.net>
5984
5985         * BufferView.C:
5986         * BufferView_pimpl.C:
5987         * CutAndPaste.C:
5988         * LaTeX.C:
5989         * LaTeXFeatures.C:
5990         * ParagraphParameters.C:
5991         * buffer.C:
5992         * bufferlist.C:
5993         * bufferparams.C:
5994         * bufferview_funcs.C:
5995         * converter.C:
5996         * counters.C:
5997         * debug.C:
5998         * exporter.C:
5999         * format.C:
6000         * importer.C:
6001         * lyx_cb.C:
6002         * lyx_main.C:
6003         * lyxfont.C:
6004         * lyxfunc.C:
6005         * lyxvc.C:
6006         * paragraph.C:
6007         * paragraph_funcs.C:
6008         * tabular.C:
6009         * tabular_funcs.C:
6010         * text2.C:
6011         * text3.C:  boost::format -> bformat  all over the place
6012
6013
6014 2003-05-09  André Pönitz  <poenitz@gmx.net>
6015
6016         * LColor.[Ch]: Pimpl the #include <map> away
6017
6018 2003-05-09  John Levon  <levon@movementarian.org>
6019
6020         * bufferlist.C: never remove emergency saves
6021
6022 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * Makefile.am: better lib building
6025
6026 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6029         instead.
6030         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6031         (simpleTeXSpecialChars): adjust
6032         (simpleTeXSpecialChars): adjust
6033         * paragraph.C (simpleTeXOnePar): adjust
6034         * buffer.C (makeLaTeXFile): adjust
6035
6036         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6037
6038         * text2.C (changeDepth): parlist cleanup
6039         (getColumnNearX): ditto
6040
6041         * rowpainter.C (getLabelFont): parlist cleanup
6042
6043         * bufferlist.C (newFile): parlist cleanup
6044
6045         * CutAndPaste.C (eraseSelection): parlist cleanup
6046
6047         * BufferView_pimpl.C (trackChanges): parlist cleanup
6048         (dispatch): ditto
6049
6050         * BufferView.C (lockInset): parlist cleanup.
6051         (ChangeInsets): ditto
6052
6053 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * CutAndPaste.h: Update file header.
6056
6057         * CutAndPaste.C: Update file header.
6058         Store the parts cut out of the Document in a limited_stack.
6059         (copySelection): adjust
6060         (pasteSelection): new function, takes the index in the limited stack.
6061         (nrOfParagraphs): adjust
6062         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6063         simplify error inset insertion.
6064         (checkPastePossible): adjust
6065
6066 2003-05-06  John Levon  <levon@movementarian.org>
6067
6068         * text2.C: don't cast wrap inset to float
6069
6070 2003-05-05  André Pönitz  <poenitz@gmx.net>
6071
6072         * iterator.C:
6073         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6074
6075         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6076           few naked Paragraph *.
6077
6078 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6079
6080         * bufferparams.C: Output warning if a document with missing
6081         TeX document class is loaded
6082         * exporter.C: Disable TeX exports if the document class is missing
6083         * lyxtextclass.C:
6084         * lyxtextclass.h:
6085         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6086         isTeXClassAvailable()
6087
6088 2003-05-03  John Levon  <levon@movementarian.org>
6089
6090         * BufferView.h:
6091         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6092         explicit cursor show/hide
6093
6094         * BufferView_pimpl.h:
6095         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6096         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6097
6098         * lyxfunc.C: hide cursor before dispatching.
6099
6100         * lyx_cb.C:
6101         * lyxfind.C:
6102         * text.C:
6103         * text3.C: remove explicit cursor hides
6104
6105 2003-05-02  André Pönitz  <poenitz@gmx.net>
6106
6107         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6108
6109         * undo_funcs.C:
6110         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6111           linked lists
6112
6113         * text2.C: tiny whitespace
6114
6115 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * undo_funcs.C: almost only ws changes.
6118
6119         * ParagraphList.C (splice): just return if pl is empty.
6120
6121 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6122
6123         * ParagraphList.C (splice): new function.
6124
6125         * CutAndPaste.C (pasteSelection): use it
6126
6127 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * CutAndPaste.C (pasteSelection): remove the last next and
6130         previous from this file.
6131
6132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * CutAndPaste.C (pasteSelection): more clean up, user proper
6135         ParagraphList functions for pasteing.
6136
6137         * ParagraphList.C (insert): new function, three arg insert
6138
6139 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * ParagraphList.C (insert): new function, three arg insert
6142
6143         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6144         not on paragraphs.
6145
6146 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6147
6148         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6149
6150 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6153
6154 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6157         (copySelection): clean up a bit.
6158         (pasteSelection): use make_pair
6159
6160         * ParagraphList.C (ParagraphList): implement copy constructor
6161         (operator=): implement, base on copy constructor.
6162         (assign): new func
6163
6164         * paragraph.C (erase): return a bool
6165
6166         * paragraph_pimpl.C (erasePos): remove function, move contents...
6167         (erase): ... here. Return a bool.
6168         (erase): call erase instead of erasePos.
6169
6170 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * ParagraphList.h: define PitPosPair
6173         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6174         ParagraphList, fix a bug on pasting multiple pars
6175         * text2.C: change interface to C&P
6176
6177 2003-04-30  André Pönitz  <poenitz@gmx.net>
6178
6179         * undo_func.C: revert part of yesterday's patch 2
6180
6181 2003-04-30  John Levon  <levon@movementarian.org>
6182
6183         * LColor.C: s/tabular/table/
6184
6185 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * text3.C (dispatch): do not convert iterator -> pointer
6188         * undo_funcs.C (setCursorParUndo): ditto
6189         * text_funcs.C (transposeChars): ditto
6190
6191         * text2.C (setLayout): ws changes only
6192
6193         * text.C (breakParagraph): do not convert iterator -> pointer
6194         (insertChar): ditto
6195         (acceptChange): ditto
6196         (rejectChange): ditto
6197         (changeCase): ditto
6198         (Delete): ditto
6199         (backspace): ditto
6200
6201         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6202         pointer
6203
6204 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6205
6206         * text3.C (gotoInset): YABG (yet another bad getChar)
6207
6208 2003-04-29  André Pönitz  <poenitz@gmx.net>
6209
6210         * paragraph.h: make operator= private unimplemented as long as
6211           it is unusable
6212
6213         * ParagraphList.C: whitespace
6214
6215         * paragraph.[Ch]:
6216         * paragraph_pimpl.[Ch]:
6217         * paragraph_funcs.C:
6218         * CutAndPaste.C:
6219         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6220
6221         * text2.C:
6222           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6223
6224 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6225
6226         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6227         * paragraph.[Ch] (erase):
6228         * paragraph_pimpl.[Ch] (erase): change return type and value
6229         * text2.C (cutSelection): some rework
6230
6231 2003-04-28  John Levon  <levon@movementarian.org>
6232
6233         * bufferlist.C: changes for unsaved changes dialog
6234
6235 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * bufferlist.C (newFile): set language (messages_) for new
6238         documents also.
6239
6240         * buffer.C (readFile): ws changes only.
6241
6242 2003-04-28  André Pönitz  <poenitz@gmx.net>
6243
6244         * undo_funcs.C:
6245         * lyxfunc.C:
6246         * buffer.[Ch]:
6247         * BufferView_pimpl.C:
6248         * BufferView.C: getParFromID related ParagraphList::iterator changes
6249
6250 2003-04-28  André Pönitz  <poenitz@gmx.net>
6251
6252         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6253           Changes
6254
6255 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * messages.C: remove one more localedir class variable.
6258
6259 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * messages.C (getLocaleDir): singleton generation function
6262         (Pimpl): use it.
6263         (Messages): add a default constructor.
6264
6265         * main.C (main): do not setup localedir here, do not call
6266         gettext_init.
6267
6268         * gettext.C (_): use it.
6269         (gettext_init): delete funciton
6270
6271 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * gettext.C (getLyXMessages): new singleton generating function.
6274
6275         * buffer.C (updateDocLang): adjust
6276
6277         * Makefile.am (messages.o): add target
6278         (main.o): remove target
6279
6280 2003-04-27  John Levon  <levon@movementarian.org>
6281
6282         * bufferlist.C:
6283         * lyx_cb.C:
6284         * lyxfunc.C:
6285         * lyxvc.C: specify cancel button in Alert::prompt
6286
6287 2003-04-26  John Levon  <levon@movementarian.org>
6288
6289         * text3.C:
6290         * lyxfunc.C:
6291         * lfuns.h:
6292         * LyXAction.C: add LFUN_INSET_SETTINGS
6293
6294         * lyxfunc.C: don't enable tabular-feature when there's
6295         just any locking inset
6296
6297 2003-04-26  John Levon  <levon@movementarian.org>
6298
6299         * bufferlist.C: re-add Cancel to buffer close question
6300
6301         * lyxfunc.C: fix import UI a bit
6302
6303 2003-04-25  John Levon  <levon@movementarian.org>
6304
6305         * gettext.C: remove the broken asserts for now
6306
6307 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6308
6309         * messages.C: make case where setlocale cannot comply work better.
6310
6311         * buffer.C (updateDocLang): new function
6312         (changeLanguage): use it
6313         (readFile): use it
6314
6315         * text2.C (setCounter): use B_ a bit.
6316
6317         * lyxlayout.C (Read): be sure to trim the label strings.
6318
6319         * messages.C (Messages): fix typo in comment
6320
6321         * buffer.C (readFile): set message_ after file is loaded.
6322         (makeDocBookFile): remove double return
6323         (changeLanguage): reset message_ upon language change.
6324         (B_): new func, use this to get translated buffer strings.
6325
6326         * main.C: add myself and Jean Marc as authors.
6327
6328 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * messages.[hC]: pimplify Messages, and three different pimpls to be
6331         used in different circumstances.
6332
6333         * gettext.[Ch]: change for use with new message code.
6334
6335 2003-04-24 André Pönitz <poenitz@gmx.net>
6336
6337         * factory.C: support for eqref
6338
6339 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * messages.[Ch]: add missing char
6342
6343         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6344
6345         * messages.[Ch]: New files
6346
6347 2003-04-18  John Levon  <levon@movementarian.org>
6348
6349         * BufferView.h:
6350         * BufferView.C:
6351         * BufferView_pimpl.C:
6352         * lfuns.h:
6353         * LyXAction.C:
6354         * lyxtext.h:
6355         * text2.C: remove layout-copy/paste (bug 778)
6356
6357 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6358
6359         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6360
6361 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6362
6363         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6364         if they succeed. Act accordingly.
6365
6366 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6367
6368         * text2.C (setCharFont): adjust
6369         (setCounter): adjust
6370         (insertStringAsLines): adjust
6371
6372         * text.C (leftMargin): adjust
6373         (setHeightOfRow): adjust
6374
6375         * rowpainter.C (paintFirst): adjust
6376         (paintLast): adjust
6377
6378         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6379         (outerHook): ditto
6380         (isFirstInSequence): ditto
6381         (getEndLabel): ditto
6382         (outerFont): adjust
6383
6384         * paragraph.C (getParLanguage): comment out some hard stuff.
6385
6386         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6387         (sgmlError): ditto
6388         (simpleDocBookOnePar): ditto
6389         (makeDocBookFile): use ParagraphList::iterator
6390
6391         * CutAndPaste.C (pasteSelection): adjust
6392
6393 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * text2.C (getFont): adjust
6396         (getLayoutFont): adjust
6397         (getLabelFont): adjust
6398
6399         * paragraph_funcs.C (TeXOnePar): adjust
6400
6401         * buffer.C (simpleLinuxDocOnePar): adjust
6402         (simpleDocBookOnePar): adjust
6403
6404         * CutAndPaste.C (pasteSelection): adjust
6405
6406         * BufferView.C (getEncoding): adjust
6407
6408         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6409
6410 2003-04-16  John Levon  <levon@movementarian.org>
6411
6412         * lyxfind.C: use parlist stuff for search/changes
6413
6414 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6417
6418         * text2.C (deleteEmptyParagraphMechanism): adjust
6419
6420         * text2.[Ch] (ownerParagraph): delete func (both of them
6421
6422 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6425
6426 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * ParagraphList.C: prepare for NO_NEXT
6429
6430 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * text2.C (getFont): adjust
6433         (getLayoutFont): adjust
6434         (getLabelFont): adjust
6435
6436         * paragraph.C (getFont): adjust
6437         (getLabelFont): adjust
6438         (getLayoutFont): adjust
6439
6440         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6441
6442 2003-04-15  John Levon  <levon@movementarian.org>
6443
6444         From Angus Leeming
6445
6446         * lyx_main.C: handle Include in .ui files
6447
6448 2003-04-15  John Levon  <levon@movementarian.org>
6449
6450         * MenuBackend.C: make the doc files length shorter
6451
6452         * ToolbarBackend.h:
6453         * ToolbarBackend.C: handle toolbar placement flags,
6454         Minibuffer
6455
6456 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6459         adjust
6460
6461         * paragraph_funcs.C (TeXOnePar): adjust
6462
6463         * paragraph.C (getLabelFont): add outerfont arg, adjust
6464         (getLayoutFont): ditto
6465         (simpleTeXOnePar): adjust
6466
6467         * paragraph_pimpl.C (realizeFont): delete func
6468
6469 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6470
6471         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6472         row argument, constify cur argument.
6473
6474 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6475
6476         * text2.C (getFont): adjust
6477         (getLayoutFont): adjust
6478         (getLabelFont): adjust
6479
6480         * paragraph_funcs.C (TeXOnePar): adjust
6481         (outerFont): new func...
6482         (realizeFont): ...moved out from here, changed this to facilitate
6483         transition
6484
6485         * paragraph.C (getFont): take outerfont as arg, adjust
6486         (simpleTeXOnePar): add outerfont arg, adjust
6487
6488         * buffer.C (simpleLinuxDocOnePar): adjust
6489         (simpleDocBookOnePar): adjust
6490
6491         * CutAndPaste.C (pasteSelection): adjust
6492
6493         * BufferView.C (getEncoding): adjust
6494
6495 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * text2.C (setCharFont): adjust
6498         (setCounter): adjust
6499
6500         * text.C (leftMargin): adjust
6501         (setHeightOfRow): adjust
6502
6503         * rowpainter.C (paintFirst): adjust
6504         (paintLast): adjust
6505
6506         * paragraph_pimpl.C (realizeFont): adjust
6507
6508         * paragraph.C (isFirstInSequence): move from here...
6509         * paragraph_funcs.C (isFirstInSequence): ...to here
6510
6511         * paragraph.C (outerHook): move from here...
6512         * paragraph_funcs.C (outerHook): ...to here
6513
6514         * paragraph.C (depthHook): move from here...
6515         * paragraph_funcs.C (depthHook): ...to here
6516
6517         * paragraph.C (getEndLabel): move from here...
6518         * paragraph_funcs.C (getEndLabel): ...to here
6519
6520         * text2.C (realizeFont): move from here...
6521         * paragraph_funcs.C (realizeFont): ...to here
6522
6523 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6526
6527 2003-04-14  Angus Leeming  <leeming@lyx.org>
6528
6529         * LColor.[Ch]: scrap LColor mathcursor.
6530
6531 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * lyxlex.[Ch] (text): delete function
6534         * trans.C (Load): adjust
6535         * paragraph_funcs.C (readParToken): adjust
6536
6537 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6540         vector<char> instead of a char[].
6541
6542         * lyxlex_pimpl.C (getString): adjust
6543         (next): adjust
6544         (lex): use getString
6545         (eatLine): adjust
6546         (nextToken): adjust
6547
6548         * lyxlex.C (text): use pimpl_->getString()
6549         (getBool): ditto
6550         (findToken): ditto
6551
6552 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6555         (makeFontEntriesLayoutSpecific): temp var for par.size()
6556         (setLayout): temp var for ownerParagraphs().end()
6557         (fullRebreak): temp var for rows().end()
6558         (selectionAsString): temp var for boost::next(startpit), realize
6559         that the while really is a regular for loop.
6560         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6561         setCursor in one place.
6562         (setParagraph): temp vr for ownerParagraphs().end()
6563         (updateCounters): make the while loop a for loop
6564         (cutSelection): temp var for ownerParagraphs().end()
6565         (updateInset): make the do {} while() a regular for loop
6566         (getCursorX): use temp vars
6567         (setCurrentFont): use temp vars
6568         (getColumnNearX): use temp vars
6569
6570 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * text.C (transformChar): use temp var for getChar
6573         (computeBidiTables): use temp var for row->par()
6574         (fill): move temp vars for row->par() and pit->layout() earlier in
6575         the function.
6576         (labelFill): use temp var for row->par()
6577         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6578         asc and desc, realize that pit never changes and that firstpit is
6579         just a duplicate and not needed. Exchange rit->par() with pit in a
6580         lot of places.
6581         (breakAgain): use a temp var for boost::next(rit)
6582         (breakAgainOneRow): ditto
6583         (breakParagraph): use a temp var for rows().begin()
6584         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6585         (cursorRightOneWord): use temp var for cursor.par() and
6586         cursor.pos(), remove usage of tmpcursor.
6587         (cursorLeftOneWord): use temp var for cursor.par() and
6588         cursor.pos() only set cur at end of function.
6589
6590 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * text.C, text2.C: exchange all usage of Paragraph::next with
6593         boost::next(ParagraphList::iterator)
6594
6595         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6596
6597         * text2.C (cursorTop): simplify implementation
6598         (cursorBottom): ditto
6599         (setParagraph): use ParagraphList::iterator
6600         (setCurrentFont): adjust
6601         (getColumnNearX): adjust
6602         (cursorRight): adjust
6603         (cursorLeft): remove usage of Paragraph::previous
6604         (cursorUpParagraph): ditto
6605         (deleteEmptyParagraphMechanism): slight cleanup
6606
6607         * text.C (isBoundary): take a Paragraph const & instead of a
6608         pointer as arg.
6609         (addressBreakPoint): ditto
6610         (leftMargin): remove usage of Paragraph::previous.
6611         (setHeightOfRow): ditto
6612         (cursorLeftOneWord): ditto
6613         (selectNextWordToSpellcheck): ditto
6614         (Delete): ditto
6615         (backspace): ditto
6616         (breakParagraph): remove one usage of Paragraph::next
6617         (redoParagraph): ditto
6618         (acceptChange): ditto
6619         (insertChar): adjust
6620         (rowBreakPoint): adjust
6621
6622         * bufferview_funcs.C (toggleAndShow): adjust
6623
6624 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6625
6626         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6627         methods to access it.
6628         * lyxtext.h:
6629         * text.C: Added updateRowPositions to compute all row positions.
6630         Make top_y and getRowNearY() to use the cached y position
6631
6632 2003-04-11  John Levon  <levon@movementarian.org>
6633
6634         * text.C (rowBreakPoint): reintroduce the labelEnd
6635         checks, code copied from the row fill stuff. Deep voodoo.
6636
6637         * text.C (fill): add a comment and debugging for the
6638         next poor soul.
6639
6640 2003-04-11  John Levon  <levon@movementarian.org>
6641
6642         * text.C: make sure fullrow insets get wrapped to the next line,
6643         even when they're in a manual label
6644
6645 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * text2.C (insertParagraph): make it take ParagraphList::iterator
6648         as arg.
6649         (setLayout): make it return ParagraphList::iterator
6650         (redoParagraphs): ditto
6651         (setCounter): ditto
6652         (checkParagraph): ditto
6653
6654         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6655
6656         * text2.C: adjust several funcs.
6657         (realizeFont): take a ParagraphList::iterator as arg.
6658         (getLayoutFont): ditto
6659         (getLabelFont): ditto
6660         (setCharFont): ditto
6661
6662         * text.C: adjust several funcs.
6663
6664 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6665
6666         * text.C (selectNextWordToSpellcheck): don't accidentally
6667         skip insets
6668
6669 2003-04-10  John Levon  <levon@movementarian.org>
6670
6671         * ToolbarBackend.C (getIcon): special handling for
6672         LFUN_MATH_DELIM
6673
6674 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * text2.C (cursorRight): a getChar assert fixed
6677
6678 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * text2.C (getFont): change to take a ParagraphList::iterator
6681         instead of Paragraph*
6682         Adjust several functions.
6683
6684         * text.C (transformChar): change to take a ParagraphList::iterator
6685         instead of Paragraph*
6686         (singleWidth): ditto
6687         Adjust several functions.
6688
6689         * rowpainter.C: adjust several functions
6690         * rowpainter.h:store a ParagraphList::iterator and not a
6691         Paragraph&.
6692
6693
6694 2003-04-09  John Levon  <levon@movementarian.org>
6695
6696         * lyxfunc.C:
6697         * lfuns.h:
6698         * LyXAction.h:
6699         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6700         and the "help" bits as well
6701
6702 2003-04-09  John Levon  <levon@movementarian.org>
6703
6704         * ToolbarBackend.h:
6705         * ToolbarBackend.C: allow multiple toolbars
6706
6707 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * undo_funcs.C (setCursorParUndo): adjust
6710
6711         * text_funcs.C (transposeChars): adjust
6712
6713         * text3.C (gotoNextInset): adjust
6714         (dispatch): adjust
6715
6716         * text2.C (setLayout): adjust
6717         (changeDepth): adjust
6718         (setFont): adjust
6719         (redoParagraphs): adjust
6720         (selectionAsString): adjust
6721         (setParagraph): adjust
6722         (insertInset): adjust
6723         (cutSelection): adjust
6724         (copySelection): adjust
6725         (pasteSelection): adjust
6726         (insertStringAsLines): adjust
6727         (updateInset): adjust
6728         (setCursor): change to take a ParagraphList::iterator parameter
6729         (setCursorIntern): change to take a ParagraphList::iterator parameter
6730         (setCurrentFont): adjust
6731         (cursorLeft): adjust
6732         (cursorRight): adjust
6733         (deleteEmptyParagraphMechanism): adjust
6734
6735         * text.C (breakParagraph): adjust
6736         (insertChar): adjust
6737         (acceptChange): adjust
6738         (rejectChange): adjust
6739         (selectNextWordToSpellcheck): adjust
6740         (changeCase): adjust
6741         (Delete): adjust
6742         (backspace): adjust
6743
6744         * lyxfind.C (SearchForward): adjust
6745         (SearchBackward): adjust
6746         (nextChange): adjust
6747
6748         * lyxcursor.C (par): adjust
6749
6750         * lyxcursor.h: store a ParagraphList::iterator instead of a
6751         Paragraph*
6752
6753         * lyx_cb.C (getPossibleLabel): adjust
6754
6755         * bufferview_funcs.C (toggleAndShow): adjust
6756
6757         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6758         (dispatch): adjust
6759
6760         * BufferView.C (removeAutoInsets): adjust
6761         (lockedInsetStoreUndo): adjust
6762
6763 2003-04-09  John Levon  <levon@movementarian.org>
6764
6765         * ToolbarBackend.C: try icon without argument
6766         if with argument fails
6767
6768 2003-04-08  John Levon  <levon@movementarian.org>
6769
6770         * ToolbarBackend.h:
6771         * ToolbarBackend.C: add getIcon(), handle tooltip,
6772         and change from "Icon" to "Item".
6773
6774 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6775
6776         * BufferView.C (lockInset): another bad getchar crunched
6777
6778 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6779
6780         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6781         again)
6782
6783 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6784
6785         * lyxfind.C (searchForward, searchBackwards): bug 782
6786
6787 2003-04-07  John Levon  <levon@movementarian.org>
6788
6789         * paragraph.C: remove dead comment
6790
6791         * text.C: remove troublesome depth-fiddling code
6792         in leftMargin() and rightMargin() (bug 1017)
6793
6794         * text.C: fix breaking of rows in nested lists
6795         (bug 1004)
6796
6797         * text2.C (updateCounters): fix up depth values
6798         (bug 1013)
6799
6800 2003-04-07  John Levon  <levon@movementarian.org>
6801
6802         * BufferView_pimpl.C: clear message when doc finishes resizing,
6803         and after a mouse event
6804
6805         * lyxfunc.C: clear message after exiting inset
6806
6807 2003-04-07  John Levon  <levon@movementarian.org>
6808
6809         * bufferview_funcs.C: show math status not outside
6810         status in the statusbar
6811
6812 2003-04-07  John Levon  <levon@movementarian.org>
6813
6814         * lyxfunc.C: note status changed after a depth change
6815
6816 2003-04-04  Angus Leeming  <leeming@lyx.org>
6817
6818         * LaTeX.h: move AuxInfo operator==, != out of line.
6819         Remove LaTeX virtual destructor; nothing derives from it.
6820         Move operator()() out of public area and rename it startscript().
6821         Change protected for private.
6822
6823 2003-04-04  Angus Leeming  <leeming@lyx.org>
6824
6825         * lyxfunc.C:
6826         * text2.C: remove unneeded #includes.
6827
6828 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6829
6830         * text2.C (dEPM): fix the heigth of the next row
6831
6832 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6833
6834         * text.C: squashed an invalid getChar requester + some ws changes
6835
6836 2003-04-03  John Levon  <levon@movementarian.org>
6837
6838         * bufferview_funcs.h:
6839         * bufferview_funcs.C:
6840         * lyxfunc.C:
6841         * lyxtext.h:
6842         * text2.C: make getStatus work for the env depth lfuns
6843
6844 2003-04-03  John Levon  <levon@movementarian.org>
6845
6846         * bufferview_funcs.h:
6847         * bufferview_funcs.C:
6848         * lyxfunc.C:
6849         * lyxtext.h:
6850         * text2.C: parlistize decDepth(), by merging it with incDepth()
6851
6852 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * lyxrow.h: store a ParagraphList::iterator instead of a
6855         Paragraph* and adjust other class functions to suit.
6856
6857         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6858         above.
6859
6860 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6861
6862         * text2.C (setCursor): do not anchor to cursor row for the time being
6863
6864 2003-04-02  John Levon  <levon@movementarian.org>
6865
6866         * LyXAction.C:
6867         * lfuns.h:
6868         * lyx_main.C:
6869         * lyxtext.h:
6870         * text.C:
6871         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6872
6873 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * paragraph.h: make ParagraphList and ParagraphList::iterator
6876         friends of Paragraph.
6877
6878         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6879
6880         * ParagraphList.C: Use the private next_ and previous_ from
6881         Paragraph.
6882
6883 2003-04-01  John Levon  <levon@movementarian.org>
6884
6885         * ToolbarBackend.h:
6886         * ToolbarBackend.C:
6887         * Makefile.am: rename, remove defaults gunk
6888
6889         * MenuBackend.h:
6890         * MenuBackend.C: remove defaults gunk
6891
6892         * Languages.h:
6893         * Languages.C: remove defaults gunk
6894
6895         * lyx_main.h:
6896         * lyx_main.C: error out if files couldn't be found.
6897
6898 2003-04-02  John Levon  <levon@movementarian.org>
6899
6900         * text2.C: make incDepth() use parlist
6901
6902 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * undo_funcs.C (firstUndoParagraph): adjust
6905
6906         * text3.C (gotoInset): adjust
6907         (dispatch): adjust, and rewrite loop.
6908
6909         * text2.C (init): adjust, and rewrite loop.
6910         (redoParagraphs): adjust
6911         (updateInset): adjust, and rewrite loop.
6912         (deleteEmptyParagraphMechanism): adjust
6913
6914         * tabular.C (LyXTabular): adjust
6915         (SetMultiColumn): adjust
6916         (TeXRow): adjust
6917
6918         * lyxtext.[Ch] (ownerParagraph): delete function
6919         (ownerParagraphs): new function returns a ParagraphList.
6920
6921         * BufferView.C (removeAutoInsets): adjust
6922         (insertErrors): adjust
6923         (setCursorFromRow): adjust
6924
6925 2003-04-01  Angus Leeming  <leeming@lyx.org>
6926
6927         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6928         in the frontends.
6929
6930 2003-04-02  John Levon  <levon@movementarian.org>
6931
6932         * lyxtext.h:
6933         * text.C:
6934         * Makefile.am:
6935         * text_funcs.h:
6936         * text_funcs.C: make transposeChars a free function
6937
6938         * lyxrow_funcs.C: remove wrong comment
6939
6940 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * lyxtext.h: adjust
6943         * rowpainter.C: adjust
6944         * text.C: adjust
6945         * text2.C: adjust
6946         * text3.C: adjust
6947
6948         * lyxrow_funcs. [Ch]: new files
6949
6950         * lyxrow.[Ch]: remove next and previous pointers
6951         (next,previous): remove accessor functions
6952         (isParEnd): move to lyxrow_funcs
6953         (lastPos): move to lyxrow_funcs
6954         (nextRowIsAllInset): move to lyxrow_funcs
6955         (lastPrintablePos): move to lyxrow_funcs
6956         (numberOfSeparators): move to lyxrow_funcs
6957         (numberOfHfills): move to lyxrow_funcs
6958         (numberOfLabelHfills): move to lyxrow_funcs
6959         (hfillExpansion): move to lyxrow_funcs
6960
6961         * lyxfunc.C: adjust
6962
6963         * bufferview_funcs.C (toggleAndShow): adjust
6964
6965         * RowList.h: Remove class RowList from file leave just a
6966         std::list<Row>.
6967
6968         * RowList.C: delete file
6969
6970         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6971         and lyxrow_funcs.h
6972
6973 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * text3.C (cursorPrevious): adjust
6976         (cursorNext): adjust
6977         (dispatch): adjust
6978
6979         * text2.C (redoHeightOfParagraph): adjust
6980         (redoDrawingOfParagraph): adjust
6981         (setCursor): adjust
6982
6983         * text.C (breakParagraph): adjust
6984         (insertChar): adjust
6985         (backspace): adjust
6986
6987         * rowpainter.C (RowPainter): adjust
6988         (leftMargin): simplify and adjust
6989         (most rowpainter functions): adjust.
6990
6991         * rowpainter.h: store the row as RowList::iterator not as Row*
6992
6993         * lyxcursor.C (row): taka RowList::iterator as arg
6994         (irow): ditto
6995
6996         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6997         of Row*.
6998
6999 2003-04-01  Angus Leeming  <leeming@lyx.org>
7000
7001         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7002         stuff like bool Bool.
7003
7004 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7005
7006         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7007         rewrite a loop
7008
7009 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7012         RowList::iterator.
7013
7014         * lyxtext.h (rows): drop one version and leve a const variant that
7015         returns a RowList::iterator.
7016
7017 2003-03-31  Angus Leeming  <leeming@lyx.org>
7018
7019         * text.C (fill): ensure that the signature is the same as that in the
7020         header file.
7021
7022 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * text2.C (redoParagraphs): adjust
7025         (updateCounters): adjust
7026         (checkParagraph): adjust
7027         (getColumnNearX): adjust and reformat a bit.
7028
7029         * text.C (top_y): adjust
7030         (workWidth): adjust
7031         (leftMargin): adjust
7032         (prepareToPrint): adjust
7033         (getRow): adjust
7034         (getRowNearY): adjust
7035
7036         * lyxtext.h: make rowlist_ mutable.
7037
7038         * RowList.h: add const_iterator
7039         * RowList.C: adjust for RowList::const_iterator.
7040
7041         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7042         adjust.
7043
7044 2003-03-31  John Levon  <levon@movementarian.org>
7045
7046         * lyxrc.h:
7047         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7048
7049         * lyx_main.C: set default fonts from using lyx_gui funcs
7050
7051         * exporter.C: pdf_mode moved from lyxrc
7052
7053         * lyx_cb.C:
7054         * lyxfunc.C: changes from above
7055
7056 2003-03-31  John Levon  <levon@movementarian.org>
7057
7058         * lyx_main.C: fix to the last fix
7059
7060 2003-03-31  John Levon  <levon@movementarian.org>
7061
7062         * bufferlist.C: "Load original" -> "Load Original"
7063
7064         * converter.C:
7065         * exporter.C:
7066         * importer.C:
7067         * lyx_main.C:
7068         * format.C: more Alert cleanups
7069
7070 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * text2.C (removeParagraph): make it take a RowList::iterator as
7073         arg, adjust.
7074         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7075         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7076
7077         * text.C (anchor_row): make it take a RowList::iterator as arg,
7078         adjust.
7079         (computeBidiTables): make it take a const reference to Row instead
7080         of Row pointer, adjust.
7081         (leftMargin): make it take a RowList::iterator as arg, adjust.
7082         (rowBreakPoint): adjust
7083         (breakAgainOneRow): make it take a RowList::iterator as arg,
7084         adjust.
7085         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7086
7087         * bufferview_funcs.C (toggleAndShow): adjust
7088
7089 2003-03-30  John Levon  <levon@movementarian.org>
7090
7091         * Makefile.am:
7092         * BoostFormat.h:
7093         * boost-inst.C: moved to support
7094
7095         * several files: changes as a result
7096
7097 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * text2.C (LyXText): adjust.
7100         (init): adjust
7101         (removeRow): make it take a RowList::iterator as arg, adjust.
7102         (fullRebreak): adjust
7103         (deleteEmptyParagraphMechanism): adjust
7104         (clearPaint): adjust
7105         (postPaint): adjust
7106
7107         * text.C (top_y): adjust
7108         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7109         (breakAgain): make it take a RowList::iterator as arg, adjust.
7110         (breakParagraph): adjust
7111         (insertChar): adjust
7112         (backspace): adjust
7113
7114         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7115         need_break_row, and refresh_row.
7116
7117         * text3.C (dispatch): adjust
7118
7119         * text2.C (checkParagraph): adjust
7120         (setCursor): adjust
7121         (setCursorFromCoordinates): adjust
7122
7123         * text.C (top_y): adjust
7124         (workWidth): adjust
7125         (getRow): make it return a RowList::iterator, adjust
7126         (getRowNearY): make it return a RowList::iterator, adjust
7127
7128         * text2.C (init): adjust
7129         (insertRow): remove function
7130         (insertParagraph): adjust
7131         (redoParagraphs): adjust
7132         (fullRebreak): adjust
7133         (updateCounters): adjust
7134
7135         * text.C (top_y): rewrite to use RowList iterators.
7136         (top_y): adjust
7137         (setHeightOfRow): rewrite to sue RowList iterators.
7138         (appendParagraph): adjust
7139         (breakAgain): adjust
7140         (breakAgainOneRow): adjust
7141         (breakParagraph): adjust
7142         (getRow): adjust
7143         (getRowNearY): adjust, and remove commented code.
7144
7145         * lyxtext.h (firstRow): delete function
7146         (lastRow): delete function
7147         (rows): new function (const and non-const versions.)
7148         (insertRow): delete function
7149
7150         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7151
7152 2003-03-29  John Levon  <levon@movementarian.org>
7153
7154         * BufferView_pimpl.C: always update scrollbar top
7155         because pasting text when we're anchored could mean we
7156         miss an update altogether
7157
7158 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * text2.C (init): use rowlist_.end() and not 0.
7161         (insertRow): change to take a RowList::iterator as arg, adjust
7162         for this.
7163         (insertParagraph): change to take a RowList::iterator as arg,
7164         adjust for this.
7165         (redoParagraphs): remove some debug msgs.
7166
7167         * text.C (appendParagraph): change to take a RowList::iterator
7168         arg, adjust for this.
7169         (breakAgain): add an assert
7170         (breakAgainOneRow): ditto
7171
7172 2003-03-29  John Levon  <levon@movementarian.org>
7173
7174         * text2.C: do not clear selection after inc/decDepth
7175         (bug 550)
7176
7177 2003-03-29  John Levon  <levon@movementarian.org>
7178
7179         * BufferView.C:
7180         * buffer.C: fix broken strerrors according to Lars
7181
7182 2003-03-29  John Levon  <levon@movementarian.org>
7183
7184         * converters.C: more Alert cleanups
7185
7186 2003-03-29  John Levon  <levon@movementarian.org>
7187
7188         * bufferview_funcs.C: remove pointless Alert
7189
7190         * buffer.C: fix confusing error message when
7191         a template is chmoded 000
7192
7193 2003-03-29  John Levon  <levon@movementarian.org>
7194
7195         * BufferView.C:
7196         * BufferView.h:
7197         * BufferView_pimpl.C: Alert fixes
7198
7199         * Makefile.am:
7200         * tabular.C:
7201         * tabular-old.C: remove unused table compat reading
7202
7203 2003-03-29  John Levon  <levon@movementarian.org>
7204
7205         * BufferView.C:
7206         * buffer.C:
7207         * lyx_cb.h:
7208         * lyx_cb.C: more Alert cleanups
7209
7210         * lyxfunc.C: don't allow chktex if not latex document
7211
7212 2003-03-29  John Levon  <levon@movementarian.org>
7213
7214         * lyx_cb.C:
7215         * BufferView.C:
7216         * buffer.C: warnings pushed down from support/,
7217         kill err_alert
7218
7219 2003-03-29  John Levon  <levon@movementarian.org>
7220
7221         * lyxfunc.C: safety check for C-r (revert)
7222
7223 2003-03-29  John Levon  <levon@movementarian.org>
7224
7225         * bufferlist.h:
7226         * bufferlist.C: several UI fixes using Alert::prompt.
7227         Fix the pointless looping quit code. Fix stupid revert
7228         behaviour (bug 938)
7229
7230         * lyxvc.h:
7231         * lyxvc.C:
7232         * lyx_cb.C: use Alert::prompt
7233
7234         * lyx_main.C: remove a silly question
7235
7236         * lyxfunc.C: remove a couple of silly questions,
7237         use Alert::prompt
7238
7239 2003-03-28  John Levon  <levon@movementarian.org>
7240
7241         * text2.C: fix bug 974 (End on empty par)
7242
7243 2003-03-28  John Levon  <levon@movementarian.org>
7244
7245         * BufferView_pimpl.C:
7246         * LyXAction.C:
7247         * lfuns.h: remove do-nothing math greek lfuns
7248
7249 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * lyxgluelength.h (isValidGlueLength): add default arg on
7252         parameter 2. Remove default arg from friend in class.
7253
7254         * lyxlength.h (isValidLength): add default arg on parameter 2.
7255         Remove default arg from friend in class.
7256
7257         * text2.C (LyXText): adjust, initialize refresh_row.
7258         (init): adjust
7259         (removeRow): adjust
7260         (insertRow): adjust
7261         (insertParagraph): adjst
7262         (redoParagraphs): adjust
7263         (fullRebreak): adjust
7264         (updateCounters): adjust
7265         (deleteEmptyParagraphMechanism): first attempt at fixing a
7266         crashing bug.
7267
7268         * text.C (top_y): adjust
7269         (setHeightOfRow): adjust
7270         (getRow): adjust
7271         (getRowNearY): adjust
7272
7273         * lyxtext.h: include RowList.h
7274         (~LyXText): not needed anymore, deleted.
7275         (firstRow): modify for RowList
7276         (lastRow): new function
7277         Delete firstrow and lastrow class variables, add a Rowlist
7278         rowlist_ class variable.
7279
7280         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7281         paragraph is empty.
7282
7283         * RowList.C (insert): fix case where it == begin().
7284
7285 2003-03-26  Angus Leeming  <leeming@lyx.org>
7286
7287         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7288         the thesaurus dialog.
7289
7290 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7293
7294         * RowList.[Ch]: new files
7295
7296         * ParagraphList.C (erase): handle the case where it == begin
7297         correctly.
7298
7299 2003-03-25  John Levon  <levon@movementarian.org>
7300
7301         * Makefile.am:
7302         * aspell_local.h:
7303         * aspell.C: add new aspell support
7304
7305         * lyxrc.h:
7306         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7307         have it accessible.
7308
7309 2003-03-25  Angus Leeming  <leeming@lyx.org>
7310
7311         * lfuns.h:
7312         * LyXAction.C (init): new LFUN_INSET_INSERT.
7313
7314         * BufferView_pimpl.C (dispatch): split out part of the
7315         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7316
7317         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7318         LFUN_INSET_APPLY.
7319
7320 2003-03-25  Angus Leeming  <leeming@lyx.org>
7321
7322         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7323
7324 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7325
7326         * text2.C:
7327         * text3.C: remove useless row->height(0)
7328
7329 2003-03-25  John Levon  <levon@movementarian.org>
7330
7331         * lyxtext.h:
7332         * text2.C:
7333         * text3.C: rename the refreshing stuff to better names
7334
7335 2003-03-24  John Levon  <levon@movementarian.org>
7336
7337         * BufferView_pimpl.h:
7338         * BufferView_pimpl.C: update layout choice on a mouse
7339         press/release
7340
7341 2003-03-23  John Levon  <levon@movementarian.org>
7342
7343         * Makefile.am: fix commandtags.h reference
7344
7345 2003-03-22  John Levon  <levon@movementarian.org>
7346
7347         * BufferView_pimpl.C:
7348         * lyxtext.h:
7349         * rowpainter.C:
7350         * rowpainter.h:
7351         * text.C:
7352         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7353
7354 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7355
7356         * lyxtext.h:
7357         * text.C: take the rtl methods out of line
7358
7359 2003-03-21 André Pönitz <poenitz@gmx.net>
7360
7361         * metricsinfo.[Ch]: new files containing structures to be passed around
7362         during the two-phase-drawing...
7363
7364 2003-03-21 André Pönitz <poenitz@gmx.net>
7365
7366         * lyxtextclass.C: read 'environment' tag.
7367
7368 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7369
7370         * text2.C (removeRow): fix bug 964
7371
7372 2003-03-20  John Levon  <levon@movementarian.org>
7373
7374         * rowpainter.C:
7375         * text.C:
7376         * text2.C: paint cleanups. Inset::update() dropped font
7377         parameter
7378
7379 2003-03-19  John Levon  <levon@movementarian.org>
7380
7381         * lyxfunc.C: only fitcursor/markDirty if available()
7382
7383 2003-03-19  John Levon  <levon@movementarian.org>
7384
7385         * commandtags.h: rename to ...
7386
7387         * lfuns.h: ... this, and renumber / cleanup
7388
7389 2003-03-19  John Levon  <levon@movementarian.org>
7390
7391         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7392         fit the cursor after an lfun
7393
7394         * BufferView.h:
7395         * BufferView.C:
7396         * BufferView_pimpl.h:
7397         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7398
7399         * LyXAction.C: layout-character should have ReadOnly
7400
7401         * ParagraphParameters.C:
7402         * buffer.C:
7403         * bufferview_funcs.C:
7404         * lyx_cb.C:
7405         * lyxfind.C:
7406         * lyxtext.h:
7407         * text.C:
7408         * text2.C:
7409         * text3.C:
7410         * undo_funcs.C: changes from above
7411
7412 2003-03-18  John Levon  <levon@movementarian.org>
7413
7414         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7415         remove it from update()
7416
7417         * lyxfunc.C: update layout choice after an lfun
7418
7419         * text3.C: remove extra updateLayoutChoice()s
7420
7421 2003-03-18  John Levon  <levon@movementarian.org>
7422
7423         * text.C: top_y change means full repaint, fix
7424         a drawing bug with cursor movement
7425
7426 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7427
7428         * lyxtext.h:
7429         * text.C:
7430         * text2.C: anchor row on setCursor
7431
7432 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7433
7434         * lyxtext.h: remove almost all mutable keywords
7435         * text.C:
7436         * text2.C:
7437         * text3.C: remove const keywords accordingly
7438
7439 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7442         anon namespace
7443         (TeXEnvironment): ditto
7444         (TeXOnePar): ditto
7445
7446 2003-03-17  John Levon  <levon@movementarian.org>
7447
7448         * text.C (rowBreakPoint): remove attempt to fix displayed
7449         math insets inside a manual label
7450
7451 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * lyxtext.h: remove BufferView* as first arg from almost all class
7454         functions.
7455         * other files: adjust.
7456
7457 2003-03-17  John Levon  <levon@movementarian.org>
7458
7459         * lyxtext.h:
7460         * undo_funcs.C:
7461         * text2.C: more paint cleanups
7462
7463         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7464
7465         * rowpainter.h:
7466         * rowpainter.C: remove "smart" background painting code
7467
7468 2003-03-16  John Levon  <levon@movementarian.org>
7469
7470         * lyxtext.h:
7471         * text.C:
7472         * text2.C:
7473         * text3.C: add helper functions for setting refresh_row/y
7474
7475 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7476
7477         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7478         newline inset which *can* get inserted in the pass_thru layouts.
7479         This is primarily for literate documents.
7480
7481 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7482
7483         * buffer.C: increment LYX_FORMAT to 223
7484
7485 2003-03-14 André Pönitz <poenitz@gmx.net>
7486
7487         * textclass.h: prepare for environment handling, ws changes
7488         * lyxlayout.C: read latexheader and latexfooter tags
7489
7490 2003-03-14  John Levon  <levon@movementarian.org>
7491
7492         * text2.C: rewrite ::status() a bit
7493
7494 2003-03-13  John Levon  <levon@movementarian.org>
7495
7496         * lyxtext.h: add some docs
7497
7498 2003-03-13  John Levon  <levon@movementarian.org>
7499
7500         * lyxtext.h:
7501         * text.C:
7502         * text2.C:
7503         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7504
7505 2003-03-13  John Levon  <levon@movementarian.org>
7506
7507         * text3.C: fix appendix redrawing
7508
7509 2003-03-13  John Levon  <levon@movementarian.org>
7510
7511         * text.C (setHeightOfRow):
7512         * rowpainter.h:
7513         * rowpainter.C: make appendix mark have the text
7514           "Appendix" so the user knows what it is
7515
7516         * LColor.h:
7517         * LColor.C: s/appendixline/appendix/ from above
7518
7519 2003-03-13  John Levon  <levon@movementarian.org>
7520
7521         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7522
7523         * text.C: fix a getChar(pos) bug properly
7524
7525 2003-03-13  Angus Leeming  <leeming@lyx.org>
7526
7527         * commandtags.h:
7528         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7529         Probably only temporary. Let's see how things pan out.
7530
7531         * BufferView.C (unlockInset):
7532         * BufferView_pimpl.C (fitCursor):
7533         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7534
7535         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7536         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7537
7538         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7539         new functions that convert ParagraphParameters to and from a string.
7540
7541         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7542         BufferView::Pimpl's dispatch.
7543         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7544
7545 2003-03-13 André Pönitz <poenitz@gmx.net>
7546
7547         * lyxfunc.C:
7548         * text3.C:
7549         * factory.C: make it aware of InsetEnv
7550
7551 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * text2.C (setCursor): never ask for one past last
7554         (setCursor): add some debugging messages.
7555
7556         * text.C (singleWidth): never ask for one past last
7557         (singleWidth): ditto
7558         (leftMargin): ditto
7559         (rightMargin): ditto
7560         (rowBreakPoint): ditto
7561         (setHeightOfRow): ditto
7562         (prepareToPrint): ditto
7563
7564         * rowpainter.C (paintBackground): never ask for one past last
7565         (paintText): never ask for one past last
7566
7567         * paragraph_pimpl.C (getChar): make the assert stricter, never
7568         allow the one past last pos to be taken
7569
7570         * paragraph.C (getChar): ws changes only
7571
7572         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7573         (numberOfSeparators): ditto
7574         (numberOfHfills): ditto
7575
7576 2003-03-12  John Levon  <levon@movementarian.org>
7577
7578         * author.h:
7579         * author.C:
7580         * bufferparams.h:
7581         * bufferparams.C:
7582         * paragraph_funcs.C: fix per-buffer authorlists
7583
7584 2003-03-12  John Levon  <levon@movementarian.org>
7585
7586         * text.C: fix newline in right address
7587
7588 2003-03-12  Angus Leeming  <leeming@lyx.org>
7589
7590         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7591         duplicate those in LyXFunc::dispatch.
7592
7593         * commandtags.h:
7594         * LyXAction.C:
7595         * ToolbarDefaults.C:
7596         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7597         Add LFUN_FONTFREE_UPDATE.
7598
7599         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7600         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7601
7602         * bufferview_func.[Ch]: several new functions to facilliate
7603         transfer of data to and from the character dialog.
7604
7605 2003-03-12  John Levon  <levon@movementarian.org>
7606
7607         * buffer.C:
7608         * paragraph.h:
7609         * paragraph.C:
7610         * paragraph_funcs.C:
7611         * paragraph_pimpl.C:
7612         * sgml.C:
7613         * tabular.C:
7614         * text.C:
7615         * text3.C: remove META_NEWLINE in favour of an inset
7616
7617         * rowpainter.h:
7618         * rowpainter.C: remove paintNewline (done by inset)
7619
7620 2003-03-12  John Levon  <levon@movementarian.org>
7621
7622         * paragraph_pimpl.C: complain about bad getChar()s
7623         for a while at least
7624
7625 2003-03-12  John Levon  <levon@movementarian.org>
7626
7627         * buffer.h:
7628         * buffer.C: move paragraph read into a separate function,
7629         a little renaming to reflect that.
7630
7631         * bufferparams.h:
7632         * bufferparams.C: remove the author_ids map, not necessary now
7633
7634         * factory.h:
7635         * factory.C: moved Buffer::readInset to here
7636
7637         * paragraph_funcs.h:
7638         * paragraph_funcs.C: readParagraph free function moved from
7639         buffer.C
7640
7641         * tabular.C: name change
7642
7643 2003-03-12  John Levon  <levon@movementarian.org>
7644
7645         * buffer.C:
7646         * ParagraphParameters.C: move par params input to
7647         a read() method
7648
7649         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7650         behave like a normal read from the stream wrt reading
7651         a line vs. a \\token
7652
7653 2003-03-12  John Levon  <levon@movementarian.org>
7654
7655         * paragraph.C:
7656         * ParagraphParameters.h:
7657         * ParagraphParameters.C: move output code to a
7658         ::write() method
7659
7660 2003-03-12  John Levon  <levon@movementarian.org>
7661
7662         * BufferView.C (insertLyXFile):
7663         * buffer.h:
7664         * buffer.C:
7665         * tabular.C: use a parlist iterator for creating the
7666           document.
7667
7668 2003-03-12  John Levon  <levon@movementarian.org>
7669
7670         * buffer.C: make current_change static local not
7671           static file-scope
7672
7673 2003-03-12  John Levon  <levon@movementarian.org>
7674
7675         * buffer.C: fix insertStringAsLines for change tracking
7676
7677 2003-03-12  John Levon  <levon@movementarian.org>
7678
7679         * BufferView.C:
7680         * tabular.C:
7681         * buffer.h:
7682         * buffer.C:
7683         * bufferparams.h:
7684         * bufferparams.C: move author list into params. Rename some
7685           functions. Move the header reading into a separate token
7686           loop. Move the header token reading into BufferParams.
7687
7688 2003-03-12  John Levon  <levon@movementarian.org>
7689
7690         * changes.C: put debug inside lyxerr.debugging() checks
7691
7692 2003-03-11 André Pönitz <poenitz@gmx.net>
7693
7694         * factory.C: make it aware of InsetHFill
7695
7696 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7697
7698         * buffer.C (latexParagraphs): move function from here...
7699         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7700         args.
7701
7702 2003-03-10  Angus Leeming  <leeming@lyx.org>
7703
7704         * LyXAction.C (init): fix bug in poplating array with multiple entries
7705         with the same LFUN (spotted by JMarc).
7706
7707 2003-03-10  John Levon  <levon@movementarian.org>
7708
7709         * text.C:
7710         * text2.C: move getColumnNearX() near its
7711         only call site
7712
7713 2003-03-10  John Levon  <levon@movementarian.org>
7714
7715         * text.C: fix break before a minipage
7716
7717 2003-03-10  John Levon  <levon@movementarian.org>
7718
7719         * text.C: fix the last commit
7720
7721 2003-03-09  John Levon  <levon@movementarian.org>
7722
7723         * lyxtext.h:
7724         * text.C:
7725         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7726         bug 365 (don't break before insets unless needed). Don't
7727         return a value > last under any circumstances.
7728
7729 2003-03-09  Angus Leeming  <leeming@lyx.org>
7730
7731         * BufferView_pimpl.C (trackChanges, dispatch): call
7732         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7733
7734 2003-03-09  Angus Leeming  <leeming@lyx.org>
7735
7736         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7737         than Dialogs::showAboutlyx().
7738
7739 2003-03-09  Angus Leeming  <leeming@lyx.org>
7740
7741         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7742         than Dialogs::showTabularCreate().
7743
7744 2003-03-09  John Levon  <levon@movementarian.org>
7745
7746         * lyxtext.h:
7747         * text.C:
7748         * text2.C: 3rd arg to nextBreakPoint was always the same.
7749           Use references.
7750
7751 2003-03-08  John Levon  <levon@movementarian.org>
7752
7753         * lyxrow.C:
7754         * paragraph.C:
7755         * paragraph.h:
7756         * rowpainter.C:
7757         * text.C:
7758         * text2.C: Remove the "main" bit from the "main body"
7759           notion.
7760
7761 2003-03-08  John Levon  <levon@movementarian.org>
7762
7763         * text.C (leftMargin): The left margin of an empty
7764         manual label paragraph should not include the label width
7765         string length.
7766
7767         * text.C (prepareToPrint): don't attempt to measure hfills
7768         for empty manual label paragraphs - the answer should be 0
7769
7770 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * CutAndPaste.C: remove commented code and reindent.
7773
7774 2003-03-08  John Levon  <levon@movementarian.org>
7775
7776         * lyxfunc.h:
7777         * lyxfunc.C: move reloadBuffer()
7778
7779         * BufferView.h:
7780         * BufferView.C: to here
7781
7782         * lyxvc.C: add comment
7783
7784         * vc-backend.h:
7785         * vc-backend.C: call bv->reload() to avoid
7786           getStatus() check on MENURELOAD
7787
7788 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7789
7790         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7791         to an old format .dep file.
7792
7793 2003-03-07  Angus Leeming  <leeming@lyx.org>
7794
7795         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7796         when the LFUN_MOUSE_RELEASE should have been handled by
7797         inset->localDispatch.
7798
7799 2003-03-07  Angus Leeming  <leeming@lyx.org>
7800
7801         * BufferView_pimpl.C (dispatch):
7802         * LyXAction.C (init):
7803         * ToolbarDefaults.C (init):
7804         * commandtags.h:
7805         * lyxfunc.C (getStatus):
7806         remove LFUN_INSET_GRAPHICS.
7807
7808         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7809
7810 2003-03-07  Angus Leeming  <leeming@lyx.org>
7811
7812         * commandtags.h:
7813         * LyXAction.C (init):
7814         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7815
7816         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7817
7818         * commandtags.h:
7819         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7820
7821         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7822         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7823
7824 2003-03-07  Angus Leeming  <leeming@lyx.org>
7825
7826         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7827         remove "ert".
7828
7829 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7830
7831         * ParagraphList.C (front): new function
7832         (back): implement
7833
7834 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7835
7836         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7837         and top_row_offset_. removed var first_y.
7838         * text.C (top_y):
7839         * text2.C (LyXText, removeRow):
7840         * text3.C:
7841         * BufferView_pimpl.C:
7842         use these methods instead of using first_y
7843
7844 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * text2.C (pasteSelection): adjust for checkPastePossible
7847
7848         * CutAndPaste.C: remove Paragraph * buf and replace with
7849         ParagraphList paragraphs.
7850         (DeleteBuffer): delete
7851         (cutSelection): change the tc type to textclass_type
7852         (copySelection): change the tc type to textclass_type
7853         (copySelection): adjust for ParagraphList
7854         (pasteSelection): change the tc type to textclass_type
7855         (pasteSelection): adjust for Paragraphlist
7856         (nrOfParagraphs): simplify for ParagraphList
7857         (checkPastePossible): simplify for ParagraphList
7858         (checkPastePossible): remove unused arg
7859
7860         * ParagraphList.C (insert): handle the case where there are no
7861         paragraphs yet.
7862
7863         * CutAndPaste.h: make CutAndPaste a namespace.
7864
7865         * text3.C (dispatch): adjust
7866
7867         * text.C (breakParagraph): add a ParagraphList as arg
7868
7869         * paragraph_funcs.C (breakParagraph): change to take a
7870         BufferParams and a ParagraphList as args.
7871         (breakParagraphConservative): ditto
7872         (mergeParagraph): ditto
7873         (TeXDeeper): add a ParagraphList arg
7874         (TeXEnvironment): ditto
7875         (TeXOnePar): ditto
7876
7877         * buffer.C (readLyXformat2): adjust
7878         (insertStringAsLines): adjust
7879         (latexParagraphs): adjust
7880
7881         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7882         (cutSelection): adjust
7883         (pasteSelection): adjust
7884
7885         * BufferView_pimpl.C (insertInset): adjust
7886
7887 2003-03-05  Angus Leeming  <leeming@lyx.org>
7888
7889         * commandtags.h:
7890         * LyXAction.C (init):
7891         * BufferView_pimpl.C (dispatch):
7892         * lyxfunc.C (getStatus):
7893         remove LFUN_CHILD_INSERT.
7894
7895         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7896
7897 2003-03-05  Angus Leeming  <leeming@lyx.org>
7898
7899         * commandtags.h:
7900         * LyXAction.C (init):
7901         * src/factory.C (createInset):
7902         * lyxfunc.C (getStatus):
7903         * text3.C (dispatch):
7904         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7905
7906         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7907
7908 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * ParagraphList.C (insert): handle insert right before end()
7911         (erase): fix cases where it can be first or last paragraph.
7912
7913 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7916         Paragraph::next and Paragraph::previous
7917         (TeXOnePar): ditto
7918
7919         * text.C (breakParagraph): adjust
7920
7921         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7922         BufferParams& as arg.
7923         (breakParagraph): use ParagraphList::insert
7924         (breakParagraphConservative): take a Buffer* instead of a
7925         BufferParams& as arg.
7926         (breakParagraphConservative): use ParagraphList::insert.
7927
7928         * buffer.C (insertStringAsLines): un-const it
7929         (insertStringAsLines): adjust
7930
7931         * ParagraphList.C (insert): new function
7932
7933         * CutAndPaste.C (pasteSelection): adjust
7934
7935         * text.C (backspace): adjust
7936
7937         * tabular.C (SetMultiColumn): adjust
7938
7939         * CutAndPaste.C (cutSelection): adjust
7940         (pasteSelection): adjust
7941
7942         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7943         Buffer const * as arg
7944
7945         * ParagraphList.C (erase): new function
7946         * paragraph_funcs.C (mergeParagraph): use it
7947         (mergeParagraph): make it take a Buffer* instead of a
7948         BufferParams* as arg
7949
7950         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7951         as arg
7952         (breakParagraphConservative): ditto
7953
7954         * paragraph.h: remove the breakParagraph friend
7955
7956         * paragraph.C (eraseIntern): new function
7957         (setChange): new function
7958
7959         * paragraph_funcs.C (mergeParagraph): make it take a
7960         ParagraphList::iterator instead of a Paragraph *, adjust
7961         accordingly.
7962
7963         * paragraph.h: move an #endif so that the change tracking stuff
7964         also works in the NO_NEXT case.
7965
7966 2003-03-04  Angus Leeming  <leeming@lyx.org>
7967
7968         * commandtags.h:
7969         * LyXAction.C: new LFUN_INSET_MODIFY.
7970
7971         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7972         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7973
7974 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7975
7976         * several files: ws changes only
7977
7978         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7979         (TeXEnvironment): ditto
7980         (TeXDeeper): ditto
7981
7982         * buffer.C (makeLaTeXFile): adjust
7983         (latexParagraphs): make it take ParagraphList::iterator as args
7984
7985 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * buffer.C (latexParagraphs): adjust
7988
7989         * paragraph.C (TeXOnePar): move function...
7990         (optArgInset): move function...
7991         (TeXEnvironment): move function...
7992         * paragraph_pimpl.C (TeXDeeper): move function...
7993         * paragraph_funcs.C: ...here
7994
7995         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7996
7997 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * buffer.C (readInset): remove compability code for old Figure and
8000         InsetInfo insets
8001
8002 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8003
8004         * buffer.C: ws changes
8005         (readInset):
8006
8007         * BufferView_pimpl.C: ditto
8008         * author.C: ditto
8009         * buffer.h: ditto
8010         * bufferlist.h: ditto
8011         * changes.h: ditto
8012         * lyxfunc.C: ditto
8013
8014 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8015
8016         * converter.[Ch]: split into itself +
8017         * graph.[Ch]
8018         * format.[Ch]
8019         * Makefile.am: += graph.[Ch] + format.[Ch]
8020         * MenuBackend.C
8021         * buffer.C
8022         * exporter.C
8023         * importer.C
8024         * lyx_main.C
8025         * lyxfunc.C
8026         * lyxrc.C: added #include "format.h"
8027
8028 2003-02-27  Angus Leeming  <leeming@lyx.org>
8029
8030         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8031           a label.
8032
8033         * factory.C (createInset): add "label" to the factory.
8034
8035         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8036           string and do no more.
8037
8038 2003-02-27  Angus Leeming  <leeming@lyx.org>
8039
8040         * commandtags.h:
8041         * LyXAction.C (init):
8042         * factory.C (createInset):
8043         * BufferView_pimpl.C (dispatch):
8044           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8045
8046         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8047
8048         * lyxfunc.C (dispatch):
8049         * text3.C (dispatch): pass name to params2string.
8050
8051 2003-02-26  Angus Leeming  <leeming@lyx.org>
8052
8053         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8054           blocks together.
8055           Rearrange the ~includes. Strip out the unnecessary ones.
8056
8057         * factory.C (createInset): reformat.
8058           create new insets for the various LFUN_XYZ_APPLY lfuns.
8059
8060 2003-02-26  John Levon  <levon@movementarian.org>
8061
8062         * lyxrow.h:
8063         * lyxrow.C: add isParStart,isParEnd helpers
8064
8065         * paragraph.h: make isInserted/DeletedText take refs
8066
8067         * paragraph_funcs.h:
8068         * paragraph_funcs.C: remove #if 0'd code
8069
8070         * lyxtext.h:
8071         * text3.C:
8072         * text2.C:
8073         * text.C: use lyxrow helpers above.
8074           Move draw and paint routines to RowPainter.
8075           Make several methods use refs not pointers.
8076           Make backgroundColor() const.
8077           Add markChangeInDraw(), isInInset().
8078           Merge changeRegionCase into changeCase.
8079           Make workWidth() shouldn't-happen code into an Assert.
8080
8081         * rowpainter.h:
8082         * rowpainter.C: new class for painting a row.
8083
8084         * vspace.h:
8085         * vspace.C: make inPixels take a ref
8086
8087 2003-02-26  Angus Leeming  <leeming@lyx.org>
8088
8089         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8090         LFUN_REF_APPLY.
8091
8092 2003-02-25  John Levon  <levon@movementarian.org>
8093
8094         * ispell.C: give the forked command a more accurate name
8095
8096 2003-02-22  John Levon  <levon@movementarian.org>
8097
8098         * toc.h:
8099         * toc.C: make TocItem store an id not a Paragraph *
8100           (bug #913)
8101
8102 2003-02-21  Angus Leeming  <leeming@lyx.org>
8103
8104         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8105           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8106           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8107           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8108           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8109           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8110
8111         * BufferView_pimpl.C (dispatch):
8112         * LyXAction.C (init):
8113         * factory.C (createInset):
8114         * lyxfunc.C (getStatus, dispatch):
8115         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8116
8117 2003-02-21  Angus Leeming  <leeming@lyx.org>
8118
8119         * BufferView_pimpl.C (MenuInsertLyXFile):
8120         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8121         * lyxfunc.C (menuNew, open, doImport):
8122           no longer pass a LyXView & to fileDlg.
8123
8124 2003-02-21  Angus Leeming  <leeming@lyx.org>
8125
8126         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8127         * LyXAction.C: change, BIBKEY to BIBITEM.
8128         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8129         Change InsetBibKey to InsetBibitem.
8130         Change BIBKEY_CODE to BIBITEM_CODE.
8131         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8132         * factory.C: replace insetbib.h with insetbibitem.h.
8133         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8134         * paragraph.C: replace insetbib.h with insetbibitem.h.
8135         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8136         Change bibkey() to bibitem().
8137         * text.C: remove insetbib.h.
8138         * text2.C: replace insetbib.h with insetbibitem.h.
8139         change bibkey() to bibitem().
8140         * text3.C: remove insetbib.h.
8141         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8142
8143 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8144
8145         * lyxrc.C (output): enclose user email in quotes (in case there are
8146         several words)
8147
8148 2003-02-18  John Levon  <levon@movementarian.org>
8149
8150         * buffer.h: add std::
8151
8152 2003-02-17  John Levon  <levon@movementarian.org>
8153
8154         * SpellBase.h:
8155         * ispell.h:
8156         * ispell.C:
8157         * pspell.h:
8158         * pspell.C: reworking. Especially in ispell, a large
8159           number of clean ups and bug fixes.
8160
8161         * lyxfunc.C: fix revert to behave sensibly
8162
8163 2003-02-17 André Pönitz <poenitz@gmx.net>
8164
8165         * LyXAction.C:
8166         * commandtags.h: new LFUN_INSERT_BIBKEY
8167
8168         * layout.h:
8169         * lyxlayout.C:
8170         * buffer.C:
8171         * factory.C:
8172         * text.C:
8173         * text2.C:
8174         * text3.C:
8175         * paragraph.[Ch]:
8176         * paragraph_func.C: remove special bibkey handling
8177
8178 2003-02-17  John Levon  <levon@movementarian.org>
8179
8180         * text.C (Delete): fix case where delete at the end of
8181           the very first paragraph would not merge the pars
8182
8183 2003-02-17  John Levon  <levon@movementarian.org>
8184
8185         * lyxrow.C: fix lastPrintablePos()
8186
8187 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8188
8189         * bufferparams.C (writeLaTeX): add a std:here
8190
8191         * buffer.C: and remove a using directive there
8192
8193 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8194
8195         * buffer.C (makeLaTeXFile): move the code that generates the
8196           preamble...
8197
8198         * bufferparams.C (writeLaTeX): ... in this new method
8199
8200         * LaTeXFeatures.C (getEncodingSet): make const
8201           (getLanguages): make const
8202
8203         * MenuBackend.C (binding): returns the binding associated to this
8204           action
8205           (add): sets the status of each item by calling getStatus. Adds
8206           some intelligence.
8207           (read): add support for OptSubMenu
8208           (expand): remove extra separator at the end of expanded menu
8209
8210 2003-02-15  John Levon  <levon@movementarian.org>
8211
8212         * BufferView.C:
8213         * BufferView_pimpl.C:
8214         * bufferlist.h:
8215         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8216           inset code that had no actual effect. Remove unneeded status
8217           code.
8218
8219 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8220
8221         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8222           in preamble
8223
8224 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8225
8226         * text.C (drawLengthMarker): also draw an arrow marker for
8227           symbolic lengths (medskip...)
8228
8229 2003-02-14  John Levon  <levon@movementarian.org>
8230
8231         * tabular.h:
8232         * tabular.C: better method names
8233
8234 2003-02-14  John Levon  <levon@movementarian.org>
8235
8236         * BufferView_pimpl.C:
8237         * bufferlist.C:
8238         * buffer.C:
8239         * converter.C:
8240         * lyx_cb.C:
8241         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8242           it's a more accurate name. Remove some pointless uses.
8243
8244 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8245
8246         * text2.C (LyXText): change order of initilizers to shut off
8247           warnings
8248
8249 2003-02-14  John Levon  <levon@movementarian.org>
8250
8251         * buffer.C: use ParIterator for getParFromID()
8252
8253         * paragraph.h:
8254         * paragraph.C:
8255         * paragraph_pimpl.h:
8256         * paragraph_pimpl.C: remove unused getParFromID()
8257
8258 2003-02-14  John Levon  <levon@movementarian.org>
8259
8260         * buffer.C: remove some very old #if 0'd parse code
8261
8262 2003-02-13  John Levon  <levon@movementarian.org>
8263
8264         * text.h:
8265         * text.C:
8266         * text2.C: move hfillExpansion(), numberOfSeparators(),
8267           rowLast(), rowLastPrintable(), numberofHfills(),
8268           numberOfLabelHfills() ...
8269
8270         * lyxrow.h:
8271         * lyxrow.C: ... to member functions here.
8272
8273         * paragraph.h:
8274         * paragraph.C:
8275         * lyxtext.h:
8276         * text.C: remove LyXText::beginningOfMainBody(), and call
8277           p->beginningOfMainBody() directly. Move the check for
8278           LABEL_MANUAL into the latter.
8279
8280         * text.h:
8281         * text.C:
8282         * text2.C:
8283         * vspace.C:
8284         * BufferView.h:
8285         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8286
8287         * text.h:
8288         * text.C:
8289         * text2.C:
8290         * text3.C:
8291         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8292           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8293
8294 2003-02-13  John Levon  <levon@movementarian.org>
8295
8296         * CutAndPaste.C: remove debug
8297
8298 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * paragraph.C (asString): remove two unused variables
8301
8302         * lyxtextclass.C (readTitleType):
8303           (Read):
8304           (LyXTextClass): handle new members titletype_ and titlename_
8305
8306         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8307
8308 2003-02-09  John Levon  <levon@movementarian.org>
8309
8310         * buffer.h:
8311         * buffer.C: replace hand-coded list with a map for the dep clean
8312
8313 2003-02-08  John Levon  <levon@movementarian.org>
8314
8315         * LaTeX.C: consolidate code into showRunMessage() helper
8316
8317 2003-02-08  John Levon  <levon@movementarian.org>
8318
8319         * lyxfind.C:
8320         * lyxtext.h:
8321         * text2.C:
8322         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8323           and pass the size in explicitly
8324
8325         * BufferView_pimpl.h:
8326         * BufferView_pimpl.C:
8327         * BufferView.h:
8328         * BufferView.C: add getCurrentChange()
8329
8330         * BufferView_pimpl.h:
8331         * BufferView_pimpl.C: handle change lfuns
8332
8333         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8334           for changes. Mark pasted paragraphs as new.
8335
8336         * support/lyxtime.h:
8337         * support/lyxtime.C:
8338         * DepTable.C: abstract time_t as lyx::time_type
8339
8340         * LColor.h:
8341         * LColor.C: add colours for new text, deleted text, changebars
8342
8343         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8344           package use "usenames" option.
8345
8346         * commandtags.h:
8347         * lyxfunc.C:
8348         * LyXAction.C: add change lfuns
8349
8350         * Makefile.am:
8351         * author.h:
8352         * author.C: author handling
8353
8354         * buffer.h:
8355         * buffer.C: add a per-buffer author list, with first entry as
8356           current author. Handle new .lyx tokens for change tracking. Output
8357           author list to .lyx file. Output dvipost stuff to .tex preamble.
8358           Bump lyx format to 222.
8359
8360         * bufferlist.h:
8361         * bufferlist.C: add setCurrentAuthor() to reset current author details
8362           in all buffers.
8363
8364         * bufferparams.h:
8365         * bufferparams.C: add param for tracking
8366
8367         * bufferview_funcs.C: output change info in minibuffer
8368
8369         * Makefile.am:
8370         * changes.h:
8371         * changes.C: add change-tracking structure
8372
8373         * debug.h:
8374         * debug.C: add CHANGES debug flag
8375
8376         * lyxfind.h:
8377         * lyxfind.C: add code for finding the next change piece
8378
8379         * lyxrc.h:
8380         * lyxrc.C: add user_name and user_email
8381
8382         * lyxrow.h:
8383         * lyxrow.C: add a metric for the top of the text line
8384
8385         * lyxtext.h:
8386         * text.C: implement accept/rejectChange()
8387
8388         * lyxtext.h:
8389         * text.C: paint changebars. Paint new/deleted text in the chosen
8390         colours. Strike through deleted text.
8391
8392         * paragraph.h:
8393         * paragraph.C:
8394         * paragraph_pimpl.h:
8395         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8396           in the current change to the insert functions. Rework erase to
8397           mark text as deleted, adding an eraseIntern() and a range-based
8398           erase(). Implement per-paragraph change lookup and
8399           accept/reject.
8400
8401         * paragraph_funcs.C: Fixup paste for change tracking.
8402
8403         * tabular.C: mark added row/columns as new.
8404
8405         * text.C: fix rowLast() to never return -1. Don't allow
8406           spellchecking of deleted text. Track transpose changes. Don't
8407           allow paragraph break or merge where appropriate.
8408
8409         * text2.C: leave cursor at end of selection after a cut.
8410
8411 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8412
8413         * text.C (getLengthMarkerHeight):
8414         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8415         visible on screen too.
8416
8417 2003-02-07  John Levon  <levon@movementarian.org>
8418
8419         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8420
8421 2003-02-05  Angus Leeming  <leeming@lyx.org>
8422
8423         * lyxserver.C (read_ready): revert my patch of 11 September last year
8424         as it sends PC cpu through the roof. Presumably this means that
8425         the lyxserver will no longer run on an Alpha...
8426
8427 2003-01-30  Angus Leeming  <leeming@lyx.org>
8428
8429         * factory.C (createInset): create an InsetCommandParam of type "index"
8430         and use it to 'do the right thing'.
8431
8432         * text2.C (getStringToIndex): ensure that cursor position is always
8433         reset to the reset_cursor position.
8434
8435 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8436
8437         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8438         disabled.
8439
8440 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8441
8442         * bufferview.C:
8443         * lyxcb.C:
8444         * lyxfunc.C: Output messages with identical spelling, punctuation,
8445         and spaces
8446
8447 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8448
8449         * MenuBackend.C (expandFormats): List only viewable export formats
8450         in "View" menu
8451
8452         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8453         message
8454
8455         * lyxfunc.C (getStatus): Make sure that formats other than
8456         "fax" can also be disabled
8457
8458 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8459
8460         * text3.C (dispatch): put the lfuns that insert insets in 3
8461         groups, and call doInsertInset with appropriate arguments.
8462         (doInsertInset): new function, that creates an inset and inserts
8463         it according to some boolean parameters.
8464
8465 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8466
8467         * buffer.C (readFile): remember to pass on 'par' when calling
8468         readFile recursively.
8469
8470 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8471
8472         * MenuBackend.C (expandFormats): add "..." to import formats.
8473
8474 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8475
8476         * paragraph.C (asString): Remove XForms RTL hacks.
8477
8478 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8479         * buffer.C: fix typo
8480
8481 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8482
8483         * Makefile.am (LIBS): delete var
8484         (lyx_LDADD): add @LIBS@ here instead.
8485
8486 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8487
8488         * Clarify the meaning of "wheel mouse jump"
8489
8490 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8491
8492         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8493         tabular in a float
8494
8495 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8496
8497         * importer.C (Loaders): do not preallocate 3 elements in the
8498         vector, since one ends up with 6 elements otherwise
8499
8500 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8501
8502         * DepTable.C (write): write the file name as last element of the
8503         .dep file (because it may contain spaces)
8504         (read): read info in the right order
8505
8506 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8507
8508         * paragraph_pimpl.C (simpleTeXBlanks):
8509         (simpleTeXSpecialChars):
8510         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8511
8512         * tabular.C (latex): add some missing case statements. Reindent.
8513
8514         * MenuBackend.C (expandToc): remove unused variable.
8515
8516 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8517
8518         * LColor.C:
8519         * LaTeX.C:
8520         * LyXAction.C:
8521         * MenuBackend.C:
8522         * buffer.C:
8523         * exporter.C:
8524         * lyxfunc.C:
8525         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8526         and the like.
8527
8528 2003-01-05  John Levon  <levon@movementarian.org>
8529
8530         * BufferView.h:
8531         * BufferView.C: add getEncoding()
8532
8533         * kbsequence.h:
8534         * kbsequence.C: do not store last keypress
8535
8536         * lyxfunc.h:
8537         * lyxfunc.C: store last keypress here instead. Pass encoding
8538           to getISOEncoded()
8539
8540 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8541
8542         * lyx_main.C (init): remove annoying error message when following
8543         symbolic links (bug #780)
8544
8545 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8546
8547         * text.C (insertChar):
8548         * lyxrc.C (getDescription): remove extra spaces
8549
8550 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8551
8552         * lyxrc.C (getDescription): remove extra spaces
8553
8554 2002-12-20  John Levon  <levon@movementarian.org>
8555
8556         * text3.C: hack fix for page up/down across tall rows
8557
8558 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8559
8560         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8561         not been invoked
8562
8563 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8564
8565         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8566         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8567         thesaurus is not compiled in
8568
8569 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8570
8571         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8572
8573 2002-12-16  Angus Leeming  <leeming@lyx.org>
8574
8575         * lyxrc.[Ch]:
8576         * lyx_main.C (init): remove override_x_deadkeys stuff.
8577
8578 2002-12-12  John Levon  <levon@movementarian.org>
8579
8580         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8581           insert. Only remove shift modifier under strict
8582           circumstances.
8583
8584 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * MenuBackend.C (expandToc): fix crash.
8587
8588 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8589
8590         * MenuBackend.C (expandToc): gettext on float names.
8591
8592 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8593
8594         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8595         implement bool empty() [bug 490]
8596
8597 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8600
8601 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * several files: ws changes
8604
8605 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8606
8607         * text2.C (setCounter): clean up a bit, use boost.format.
8608         (updateCounters): initialize par upon declaration.
8609
8610         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8611         if the layout exists. We do not just store the layout any more.
8612         (SwitchLayoutsBetweenClasses): use boost.format
8613
8614 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8615
8616         * converter.C (convert): if from and to files are the same, use a
8617         temporary files as intermediary
8618
8619 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8620
8621         * commandtags.h:
8622         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8623
8624 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8625
8626         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8627
8628 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8629
8630         * tabular.C (asciiPrintCell): use string(size, char) instead of
8631         explicit loop.
8632
8633         * sgml.C (openTag): fix order of arguments to string constructor
8634         (closeTag): ditto
8635
8636         * lyxfunc.C (dispatch): use boost.format
8637
8638         * lots of files: change "c" -> 'c'
8639
8640 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8641
8642         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8643
8644 2002-11-25  Angus Leeming  <leeming@lyx.org>
8645
8646         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8647
8648         * lyx_main.C (init): compile fix.
8649
8650 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8651
8652         * lyx_cb.C (start): boost.formatify
8653         do not include <iostream>
8654
8655         * lengthcommon.C: ws only
8656
8657         * boost-inst.C,BoostFormat.h: add more explict instantations
8658
8659 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * lots of files: handle USE_BOOST_FORMAT
8662
8663 2002-11-21  John Levon  <levon@movementarian.org>
8664
8665         * pspell.C: fix compile
8666
8667 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8668
8669         * lyxfunc.C (dispatch): use boost::format
8670         (open): ditto
8671         (doImport): ditto
8672
8673         * lyxfont.C (stateText): use boost::format
8674
8675         * lyx_main.C (LyX): use boost::format
8676         (init): ditto
8677         (queryUserLyXDir): ditto
8678         (readRcFile): ditto
8679         (parse_dbg): ditto
8680         (typedef boost::function): use the recommened syntax.
8681
8682         * importer.C (Import): use boost::format
8683
8684         * debug.C (showLevel): use boost::format
8685
8686         * converter.C (view): use boost::format
8687         (convert): ditto
8688         (move): ditto
8689         (scanLog): ditto
8690
8691         * bufferview_funcs.C (currentState): use boost::format
8692
8693         * bufferlist.C (emergencyWrite): use boost::format
8694
8695         * buffer.C (readLyXformat2): use boost::format
8696         (parseSingleLyXformat2Token): ditto
8697
8698         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8699
8700         * LaTeX.C (run): use boost::format
8701
8702         * Chktex.C (scanLogFile): use boost::format
8703
8704         * BufferView_pimpl.C (savePosition): use boost::format
8705         (restorePosition): ditto
8706         (MenuInsertLyXFile): ditto
8707
8708         * BoostFormat.h: help file for explicit instation.
8709
8710 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8711
8712         * tabular.C (latex): Support for block alignment in fixed width
8713         columns.
8714
8715 2002-11-17  John Levon  <levon@movementarian.org>
8716
8717         * BufferView_pimpl.C:
8718         * lyx_cb.C:
8719         * lyxfunc.C: split filedialog into open/save
8720
8721 2002-11-08  Juergen Vigna  <jug@sad.it>
8722
8723         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8724         by my last patch (hopefully).
8725
8726 2002-11-08  John Levon  <levon@movementarian.org>
8727
8728         * iterators.h:
8729         * iterators.C:
8730         * buffer.h:
8731         * buffer.C:
8732         * paragraph.h:
8733         * paragraph.C:
8734         * toc.h:
8735         * toc.C: ParConstIterator, and use it (from Lars)
8736
8737 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8738
8739         * lyxtextclass.[Ch]: revise and add doxygen comments
8740
8741 2002-11-07  John Levon  <levon@movementarian.org>
8742
8743         * text.C: fix progress value for spellchecker
8744
8745         * toc.C: fix navigate menu for insetwrap inside minipage
8746
8747         * paragraph_funcs.C: added FIXME for suspect code
8748
8749 2002-11-07  John Levon  <levon@movementarian.org>
8750
8751         * BufferView_pimpl.C: fix redrawing of insets
8752           on buffer switch
8753
8754 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8755
8756         * text2.C (updateCounters): fix bug 668
8757
8758 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8759
8760         * text3.C (dispatch): Do not make the buffer dirty when moving the
8761         cursor.
8762
8763 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8764
8765         * vc-backend.C: STRCONV
8766         (scanMaster): ditto
8767
8768         * text2.C (setCounter): STRCONV
8769
8770         * paragraph.C (asString): STRCONV
8771
8772         * lyxlength.C (asString): STRCONV
8773         (asLatexString): ditto
8774
8775         * lyxgluelength.C (asString): STRCONV
8776         (asLatexString): ditto
8777
8778         * lyxfunc.C (dispatch): STRCONV
8779         (open): ditto
8780
8781         * lyxfont.C (stateText): STRCONV
8782
8783         * importer.C (Import): STRCONV
8784
8785         * counters.C (labelItem): STRCONV
8786         (numberLabel): ditto
8787         (numberLabel): remove unused ostringstream o
8788
8789         * chset.C: STRCONV
8790         (loadFile): ditto
8791
8792         * bufferview_funcs.C (currentState): STRCONV
8793
8794         * buffer.C (readFile): STRCONV
8795         (asciiParagraph): ditto
8796         (makeLaTeXFile): ditto
8797
8798         * Spacing.C (writeEnvirBegin): STRCONV
8799
8800         * LaTeXFeatures.C (getLanguages): STRCONV
8801         (getPackages): ditto
8802         (getMacros): ditto
8803         (getBabelOptions): ditto
8804         (getTClassPreamble): ditto
8805         (getLyXSGMLEntities): ditto
8806         (getIncludedFiles): ditto
8807
8808         * LaTeX.C: STRCONV
8809         (run): ditto
8810         (scanAuxFile): ditto
8811         (deplog): ditto
8812
8813         * LString.h: add the STRCONV macros
8814
8815         * BufferView_pimpl.C (savePosition): STRCONV
8816         (restorePosition): ditto
8817         (MenuInsertLyXFile): ditto
8818
8819         * vc-backend.C (scanMaster): change from submatch[...] to
8820         submatch.str(...)
8821
8822         * funcrequest.C: include config.h
8823
8824         * factory.C: include config.h
8825
8826         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8827
8828         * box.C: include config.h
8829
8830         * LaTeX.C (scanAuxFile): change from submatch[...] to
8831         submatch.str(...)
8832         (deplog): ditto
8833
8834 2002-10-25  Angus Leeming  <leeming@lyx.org>
8835
8836         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8837
8838         * ispell.[Ch] (setError): new method.
8839         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8840         Use setError() insetead of goto END.
8841
8842         * lyx_cb.C (AutoSave): move out child process into new class
8843         AutoSaveBuffer.
8844
8845 2002-10-30  John Levon  <levon@movementarian.org>
8846
8847         * text3.C: make start appendix undoable
8848
8849 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8850
8851         * lyxlength.C (inPixels): Fix returned value.
8852
8853         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8854         environment.
8855
8856 2002-10-24  Angus Leeming  <leeming@lyx.org>
8857
8858         * lyxgluelength.h: no need to forward declare BufferParams
8859         or BufferView, so don't.
8860
8861 2002-10-21  John Levon  <levon@movementarian.org>
8862
8863         * BufferView.C: menuUndo ->undo, redo
8864
8865         * BufferView.h: document, remove dead, make some methods private
8866
8867         * paragraph_funcs.h:
8868         * paragraph_funcs.C:
8869         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8870
8871         * buffer.h:
8872         * buffer.C:
8873         * sgml.h:
8874         * sgml.C: move sgml open/close tag into sgml.C
8875
8876         * bufferview_funcs.h: unused prototype
8877
8878         * lyxfunc.h:
8879         * lyxfunc.C: remove unused
8880
8881         * lyxtext.h:
8882         * text.C: remove unused
8883
8884 2002-10-21  John Levon  <levon@movementarian.org>
8885
8886         * BufferView.h:
8887         * BufferView.C:
8888         * BufferView_pimpl.h:
8889         * BufferView_pimpl.C: fix mouse wheel handling based on
8890           patch from Darren Freeman
8891
8892 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8893
8894         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8895
8896 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8897
8898         * lyxlength.C (inPixels): Fix hanfling of negative length.
8899         Fix LyXLength::MU case.
8900
8901 2002-10-16  John Levon  <levon@movementarian.org>
8902
8903         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8904
8905 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8906
8907         * converter.C (view): add support for $$i (file name) and $$p
8908         (file path) for the viewer command. If $$i is not specified, then
8909         it is appended to the command (for compatibility with old syntax)
8910
8911 2002-10-14  Juergen Vigna  <jug@sad.it>
8912
8913         * undo_funcs.C (textHandleUndo): alter the order in which the
8914         new undopar is added to the LyXText, as we have to set first
8915         the right prev/next and then add it as otherwise the rebuild of
8916         LyXText is not correct. Also reset the cursor to the right paragraph,
8917         with this IMO we could remove the hack in "redoParagraphs()".
8918
8919 2002-10-09  Angus Leeming  <leeming@lyx.org>
8920
8921         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8922         to turn off an optimisation if a new inset is to be inserted.
8923
8924 2002-10-11 André Pönitz <poenitz@gmx.net>
8925
8926         * lyxtext.h: make some functions public to allow access
8927         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8928
8929 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8930
8931         * text3.C (dispatch): when changing layout, avoid an infinite loop
8932         [bug #652]
8933
8934 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8935
8936         * lyxrc.C (read): treat a viewer or converter command of "none" as
8937         if it were empty.
8938
8939         * MenuBackend.C (expandFormats): for an update, also allow the
8940         formats that are not viewable
8941
8942         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8943         script if it is newer than the lyxrc.defaults in user directory
8944
8945 2002-10-07 André Pönitz <poenitz@gmx.net>
8946
8947         * text.C: Vitaly Lipatov's small i18n fix
8948
8949 2002-09-25  Angus Leeming  <leeming@lyx.org>
8950
8951         * ispell.h: doxygen fix.
8952
8953 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8954
8955         * buffer.h (readFile): Add a new argument to the method, to allow
8956         reading of old-format templates.
8957
8958 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8959
8960         * toc.C (getTocList): Get TOC from InsetWrap.
8961
8962 2002-09-16  John Levon  <levon@movementarian.org>
8963
8964         * lyxfunc.C: check tabular for cut/copy too
8965
8966 2002-09-12  John Levon  <levon@movementarian.org>
8967
8968         * LyXAction.C: tidy
8969
8970         * factory.h:
8971         * factory.C: add header
8972
8973         * paragraph_funcs.h:
8974         * paragraph_funcs.C: cleanup
8975
8976 2002-09-11  John Levon  <levon@movementarian.org>
8977
8978         * PrinterParams.h: odd/even default to true
8979
8980 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8981
8982         * PrinterParams.h: update printer parameters for new xforms dialog
8983
8984 2002-09-11  Angus Leeming  <leeming@lyx.org>
8985
8986         * lyxserver.C (read_ready): re-write to make it more transparent
8987         and to make it work in coherent fashion under Tru64 Unix.
8988
8989 2002-09-11  André Pönitz <poenitz@gmx.net>
8990
8991         * commandtags.h:
8992         * LyXAction.C:
8993         * text3.C: implement LFUN_WORDSEL
8994
8995 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8996
8997         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8998         make floatlist_ a boost::shared_ptr<FloatList>
8999
9000         * lyxtextclass.C: include FloatList.h
9001         (LyXTextClass): initialize floatlist_
9002         (TextClassTags): add TC_NOFLOAT
9003         (Read): match "nofloat" to TC_NOFLOAT and use it.
9004         (readFloat): modify call to floatlist_
9005         (floats): ditto
9006         (floats): ditto
9007
9008         * FloatList.[Ch] (FloatList): remove commented out float
9009         initialization.
9010         (erase): new function
9011
9012 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9013
9014         * MenuBackend.C (expandToc): fix crash when there is no document
9015         open
9016
9017 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9018
9019         * many files: Add insetwrap.
9020
9021 2002-09-09  John Levon  <levon@movementarian.org>
9022
9023         * text2.C: remove confusing and awkward depth wraparound
9024
9025 2002-09-09  John Levon  <levon@movementarian.org>
9026
9027         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9028
9029         * buffer.h:
9030         * buffer.C: remove getIncludeonlyList()
9031
9032         * paragraph.C:
9033         * lyxfunc.C: remove headers
9034
9035 2002-09-09  Juergen Vigna  <jug@sad.it>
9036
9037         * text.C (getColumnNearX): fix form Michael this is most
9038         probably a cut&paste bug.
9039
9040 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9041
9042         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9043
9044         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9045         references, ws changes.
9046
9047         * text2.C (init): update counters after init
9048         (insertParagraph): no need to set counter on idividual paragraphs.
9049         (setCounter): access the counters object in the textclass object
9050         on in the buffer object.
9051         (updateCounters): ditto
9052
9053         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9054         shared_ptr<Counters> to avoid loading counters.h in all
9055         compilation units.
9056         (LyXTextClass): initialize ctrs_
9057         (TextClassTags): add TC_COUNTER, and ...
9058         (Read): use it here.
9059         (CounterTags): new tags
9060         (readCounter): new function
9061         (counters): new funtion
9062         (defaultLayoutName): return a const reference
9063
9064         * counters.C (Counters): remove contructor
9065         (newCounter): remove a couple of unneeded statements.
9066         (newCounter): simplify a bit.
9067         (numberLabel): some small formatting changes.
9068
9069         * buffer.[Ch]: remove all traces of counters, move the Counters
9070         object to the LyXTextClass.
9071
9072 2002-09-06  Alain Castera  <castera@in2p3.fr>
9073
9074         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9075         package to set the horizontal alignment on fixed width columns.
9076
9077         * lyx_sty.C:
9078         * lyx_sty.h: added tabularnewline macro def.
9079
9080         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9081
9082 2002-09-06  John Levon  <levon@movementarian.org>
9083
9084         * LyXAction.C: tooltips for sub/superscript
9085
9086         * MenuBackend.C: a bit more verbose
9087
9088         * lyxfunc.C: tiny clean
9089
9090         * undo_funcs.C: document undo_frozen
9091
9092 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9093
9094         * counters.C (Counters): add missing algorithm counter.
9095
9096         * text2.C (setCounter): lookup the counter with layouts latexname
9097         instead of by section number.
9098         (setCounter): use a hackish way to lookup the correct enum
9099         counter.
9100         a float name->type change
9101         reset enum couners with counter name directly instead of depth value.
9102
9103         * counters.C (Counters): remove the push_backs, change to use the
9104         float type not the float name.
9105         (labelItem): remove unused string, float name->type change
9106
9107         * counters.h: don't include vector, loose the enums and sects vectors
9108
9109 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9110
9111         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9112         (Read): add float->TC_FLOAT to textclassTags
9113         (Read): and handle it in the switch
9114         (readFloat): new function
9115
9116         * FloatList.C (FloatList): comment out the hardcoded float
9117         definitions.
9118
9119         * lyxlayout.h: ws change.
9120
9121 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9122
9123         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9124
9125 2002-09-03  Angus Leeming  <leeming@lyx.org>
9126
9127         * BufferView_pimpl.h: qualified name is not allowed in member
9128         declaration: WorkArea & Pimpl::workarea() const;
9129
9130         * factory.C: added using std::endl directive.
9131
9132         * text3.C: added using std::find and std::vector directives.
9133
9134 2002-08-29  André Pönitz <poenitz@gmx.net>
9135
9136         * lyxtext.h:
9137         * text2.C: remove unused member number_of_rows
9138
9139         * Makefile.am:
9140         * BufferView2.C: remove file, move contents to...
9141         * BufferView.C: ... here
9142
9143         * BufferView_pimpl.C:
9144         * factory.C: move more inset creation to factory
9145
9146         * vspace.C: avoid direct usage of LyXText, ws changes
9147
9148         * BufferView.[Ch]:
9149                 don't provide direct access to WorkArea, use two simple
9150                 acessors haveSelction() and workHeight() instead
9151
9152
9153 2002-08-29  John Levon  <levon@movementarian.org>
9154
9155         * BufferView_pimpl.C (dispatch): do not continue when
9156           no buffer
9157
9158 2002-08-28  André Pönitz <poenitz@gmx.net>
9159
9160         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9161
9162         * BufferView.h:
9163         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9164
9165 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9166
9167         * buffer.C: increment LYX_FORMAT to 221
9168
9169         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9170         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9171
9172         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9173
9174         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9175
9176 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9177
9178         * factory.C (createInset): use LyXTextClass::floats
9179
9180         * MenuBackend.C (expandFloatListInsert):
9181         (expandFloatInsert):
9182         (expandToc):
9183
9184         * text2.C (setCounter):
9185
9186         * LaTeXFeatures.C (useFloat):
9187         (getFloatDefinitions):
9188
9189         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9190
9191         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9192         floatlist_, with accessor floats().
9193
9194         * FloatList.h: remove global FloatList
9195
9196 2002-08-26  André Pönitz <poenitz@gmx.net>
9197
9198         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9199
9200         * BufferView.h:
9201         * BufferView2.C:
9202         * BufferView_pimpl.C:
9203         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9204
9205 2002-08-25  John Levon  <levon@movementarian.org>
9206
9207         * LyXAction.C: fix margin note description
9208
9209 2002-08-24  John Levon  <levon@movementarian.org>
9210
9211         * buffer.C:
9212         * bufferlist.C:
9213         * bufferview_funcs.C:
9214         * lyxfont.C:
9215         * undo_funcs.C: cleanups
9216
9217         * lyxfunc.C: disable CUT/COPY when no selection
9218
9219 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9220
9221         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9222         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9223
9224         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9225         Add backward compatibility to "mono", "gray" and "no".
9226
9227 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9228
9229         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9230         (and file_format >= 200).
9231
9232 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9233
9234         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9235
9236 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9237
9238         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9239
9240 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9241
9242         * BufferView_pimpl.C:
9243         * LyXAction.C:
9244         * buffer.C:
9245         * commandtags.h:
9246         * lyxfunc.C:
9247         * paragraph.[Ch]:
9248         * text2.C:
9249         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9250         inset and code to make it  work with the paragraph code. The inset
9251         can be anywhere in the paragraph, but will only do the expected
9252         thing in LaTeX if the layout file contains the parameter line
9253                         OptionalArgs    1
9254         (or more generally, a nonzero value) for that layout.
9255
9256 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9257
9258         * paragraph.h: remove the declaration of undefined counters class
9259         function.
9260
9261 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9262
9263         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9264         Dr. Richard Hawkins.
9265
9266 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9267
9268         * paragraph_funcs.h: remove some unneeded includes
9269
9270         * text.C (backspace): pasteParagraph now in global scipe
9271
9272         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9273         (pasteSelection): ditto
9274
9275         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9276         * paragraph_funcs.C (pasteParagraph): ... here
9277
9278 2002-08-20  André Pönitz <poenitz@gmx.net>
9279
9280         * commandtags.h: new LFUNs for swapping/copying table row/colums
9281
9282         * LyXAction.C:
9283         * lyxfunc.C: support for new lfuns
9284
9285 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9286
9287         * tabular.C:
9288         * buffer.[Ch]: remove NO_COMPABILITY stuff
9289
9290 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9291
9292         * boost.C (throw_exception): new file, with helper function for
9293         boost compiled without exceptions.
9294
9295         * paragraph.h:
9296         * lyxlength.C:
9297         * buffer.C:
9298         * ParameterStruct.h:
9299         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9300
9301         * bufferlist.C (emergencyWriteAll): use boost bind
9302
9303         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9304
9305         * text.C: include paragraph_funcs.h
9306         (breakParagraph): breakParagraph is now in global scope
9307
9308         * paragraph_funcs.[Ch]: new files
9309
9310         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9311         global scope
9312
9313         * buffer.C: include paragraph_funcs.h
9314         (insertStringAsLines): breakParagraph is now in global scope
9315
9316         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9317         paragraph_funcs.C
9318
9319         * CutAndPaste.C: include paragraph_funcs.h
9320         (cutSelection): breakParagraphConservative is now in global scope
9321         (pasteSelection): ditto
9322
9323         * buffer.h: declare oprator== and operator!= for
9324         Buffer::inset_iterator
9325
9326         * bufferlist.C (emergencyWrite): don't use fmt(...)
9327
9328         * text3.C: add using std::endl
9329
9330         * BufferView.C (moveCursorUpdate): remove default arg
9331
9332 2002-08-20  André Pönitz <poenitz@gmx.net>
9333
9334         * buffer.[Ch]: move inline functions to .C
9335
9336         * BufferView2.C:
9337         * BufferView_pimpl.C:
9338         * text.C:
9339         * buffer.[Ch]: use improved inset_iterator
9340
9341         * buffer.C:
9342         * paragraph.[Ch]: write one paragraph at a time
9343
9344 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9345
9346         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9347         style if style is not specified.
9348
9349 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9350
9351         * text2.C (setCounter): when searching for right label for a
9352         caption, make sure to recurse to parent insets (so that a caption
9353         in a minipage in a figure float works) (bug #568)
9354
9355 2002-08-20  André Pönitz <poenitz@gmx.net>
9356
9357         * text3.C: new file for LyXText::dispatch() and helpers
9358
9359         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9360
9361         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9362
9363 2002-08-19  André Pönitz <poenitz@gmx.net>
9364
9365         * lyxtext.h:
9366         * text.C: new LyXText::dispatch()
9367
9368         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9369
9370 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9371
9372         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9373
9374         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9375         Hebrew text.
9376
9377 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9378
9379         * Makefile.am: use $(variables) instead of @substitutions@
9380
9381 2002-08-15  André Pönitz <poenitz@gmx.net>
9382
9383         * lyxfunc.C:
9384         * BufferView_pimpl.C: streamlining mathed <-> outer world
9385         interaction
9386
9387         * commandtags.h:
9388         * LyXAction.C: remove unused LFUN_MATH
9389
9390 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9391
9392         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9393
9394 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9395
9396         * paragraph.C (Paragraph): reformat a bit
9397         (cutIntoMinibuffer): use builtin InsetList function instad of
9398         doing it manually.
9399         (getInset): ditto
9400
9401         * buffer.C: include boost/bind.hpp, add using std::for_each
9402         (writeFileAscii): use ParagraphList iterators
9403         (validate): use for_each for validate traversal of paragraphs
9404         (getBibkeyList): use ParagraphList iterators
9405         (resizeInsets): use for_each to resizeInsetsLyXText for all
9406         paragraphs.
9407         (getParFromID): use ParagraphList iterators
9408
9409         * BufferView2.C (lockInset): use paragraph list and iterators
9410
9411 2002-08-14  John Levon  <levon@movementarian.org>
9412
9413         * lyxserver.C: remove spurious xforms include
9414
9415 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9416
9417         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9418
9419 2002-08-13  André Pönitz <poenitz@gmx.net>
9420
9421         * LyXAction.[Ch]:
9422         * lyxfunc.C: further cleaning
9423
9424 2002-08-13  André Pönitz <poenitz@gmx.net>
9425
9426         * funcrequest.h: new constructor
9427
9428         * funcrequest.C: move stuff here from .h
9429
9430         * Makefile.am:
9431         * BufferView_pimpl.C:
9432         * LyXAction.C:
9433         * toc.C:
9434         * lyxfunc.C: subsequent changes
9435
9436         * lyxfunc.h: new view() member function
9437
9438         * lyxfunc.C: subsequent changes
9439
9440 2002-08-13  Angus Leeming  <leeming@lyx.org>
9441
9442         * BufferView2.C:
9443         * BufferView_pimpl.C:
9444         * buffer.C:
9445         * converter.C:
9446         * importer.C:
9447         * lyxfunc.C:
9448         * lyxvc.C:
9449         * toc.C:
9450         * vc-backend.C:
9451         changes due to the changed LyXView interface that now returns references
9452         to member variables not pointers.
9453
9454 2002-08-13  Angus Leeming  <leeming@lyx.org>
9455
9456         * WordLangTuple (word, lang_code): return references to strings,
9457         not strings.
9458
9459         * BufferView.h:
9460         * SpellBase.h:
9461         * lyxtext.h: forward-declare WordLangTuple.
9462
9463         * BufferView2.C:
9464         * ispell.C:
9465         * pspell.C:
9466         * text.C: #include "WordLangTuple.h".
9467
9468         * lyxtext.h:
9469         * text.C: (selectNextWordToSpellcheck): constify return type.
9470
9471 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9472
9473         * buffer.C:
9474         * buffer.h:
9475         * lyxtext.h:
9476         * paragraph.C:
9477         * paragraph_pimpl.h:
9478         * text.C:
9479         * text2.C:
9480         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9481         suggested by Angus.
9482         Made updateCounter always count from start of buffer, and removed
9483         second argument (par).
9484         Reverted floats number display to '#'. Perhaps I'll try again when the
9485         code base is sanitized a bit.
9486
9487 2002-08-12  Angus Leeming  <leeming@lyx.org>
9488
9489         * buffer.[Ch] (getLabelList): constify.
9490
9491 2002-08-07  André Pönitz <poenitz@gmx.net>
9492
9493         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9494
9495         * funcrequest.h: extension to keep mouse (x,y) position
9496
9497 2002-08-12  Juergen Vigna  <jug@sad.it>
9498
9499         * BufferView2.C (insertErrors): forbid undo when inserting error
9500         insets.
9501
9502         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9503
9504 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9505
9506         * ParagraphList.[Ch]: new files
9507
9508         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9509
9510         * BufferView2.C (lockInset): ParagraphList changes
9511         * toc.C: ditto
9512         * text2.C: ditto
9513         * bufferlist.C: ditto
9514         * buffer.h: ditto
9515         * buffer.C: ditto
9516
9517 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9518
9519         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9520         unused class variable counter_,
9521
9522         * paragraph.[Ch] (getFirstCounter): delete unused function
9523
9524         * counters.C: include LAssert.h
9525         (reset): add a new function with no arg, change other version to
9526         not have def. arg and to not allow empty arg.
9527
9528         * text2.C (setCounter): remove empty arg from call to Counters::reset
9529
9530 2002-08-11  John Levon  <levon@movementarian.org>
9531
9532         * Makefile.am: add WordLangTuple.h
9533
9534 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9535
9536         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9537         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9538
9539         * insets/insettext.C: InsetList changes
9540
9541         * graphics/GraphicsSupport.C (operator()): InsetList changes
9542
9543         * toc.C (getTocList): InsetList changes
9544
9545         * paragraph_pimpl.[Ch]: InsetList changes
9546
9547         * paragraph.[Ch]: InsetList changes
9548
9549         * buffer.C (inset_iterator): InsetList changes
9550         (setParagraph): ditto
9551         * buffer.h (inset_iterator): ditto
9552         * iterators.C (operator++): ditto
9553         * iterators.h: ditto
9554
9555         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9556
9557         * InsetList.[Ch]: new files, most InsetList handling moved out of
9558         paragraph.C.
9559
9560         * BufferView2.C (removeAutoInsets): InsetList changes
9561         (lockInset): ditto
9562         (ChangeInsets): ditto
9563
9564 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9565
9566         * paragraph_pimpl.h (empty): new function
9567
9568         * paragraph.[Ch] (empty): new function
9569
9570         * other files: use the new Paragraph::empty function
9571
9572 2002-08-09  John Levon  <levon@movementarian.org>
9573
9574         * lyxtext.h: remove unused refresh_height
9575
9576 2002-08-09  John Levon  <levon@movementarian.org>
9577
9578         * Makefile.am:
9579         * sgml.h:
9580         * sgml.C:
9581         * buffer.C:
9582         * paragraph.h:
9583         * paragraph.C: move sgml char escaping out of paragraph
9584
9585         * paragraph.h:
9586         * paragraph.C: remove id setter
9587
9588         * buffer.C:
9589         * paragraph.C:
9590         * paragraph_pimpl.C: remove dead tex_code_break_column
9591
9592         * bufferview_funcs.C: small cleanup
9593
9594         * lyxfunc.C: remove dead proto
9595
9596         * lyxtext.h: make some stuff private. Remove some dead stuff.
9597
9598         * lyxgluelength.C: make as[LyX]String() readable
9599
9600 2002-08-08  John Levon  <levon@movementarian.org>
9601
9602         * LyXAction.h:
9603         * LyXAction.C:
9604         * MenuBackend.C:
9605         * ToolbarDefaults.C:
9606         * lyxfunc.C:
9607         * lyxrc.C:
9608         * toc.C: lyxaction cleanup
9609
9610 2002-08-08  John Levon  <levon@movementarian.org>
9611
9612         * BufferView2.C: small cleanup
9613
9614         * lyxfind.h:
9615         * lyxfind.C: move unnecessary header into the .C
9616
9617 2002-08-08  John Levon  <levon@movementarian.org>
9618
9619         * funcrequest.h: just tedious nonsense
9620
9621         * lyx_main.h:
9622         * lyx_main.C: cleanups
9623
9624         * buffer.C:
9625         * vspace.C: remove dead header lyx_main.h
9626
9627 2002-08-07  Angus Leeming  <leeming@lyx.org>
9628
9629         * Paragraph.[Ch]:
9630         * paragraph_pimpl.h:
9631         Forward declare class Counters in paragraph.h by moving the ctrs member
9632         variable into Paragraph::Pimpl.
9633         (counters): new method, returning a reference to pimpl_->ctrs.
9634
9635         * text2.C: ensuing changes.
9636
9637 2002-08-07  John Levon  <levon@movementarian.org>
9638
9639         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9640
9641         * BufferView_pimpl.C: announce X selection on double/triple
9642           click
9643
9644         * lyx_main.C: use correct bool in batch dispatch
9645
9646         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9647
9648 2002-08-07  André Pönitz <poenitz@gmx.net>
9649
9650         * funcrequest.h: new class to wrap a kb_action and its argument
9651
9652         * BufferView.[Ch]:
9653         * BufferView_pimpl[Ch]:
9654         * LaTeX.C:
9655         * LyXAction.[Ch]:
9656         * lyxfunc.[Ch]:
9657         * lyxrc.C: subsequent changes
9658
9659
9660 2002-08-07  John Levon  <levon@movementarian.org>
9661
9662         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9663           document options change.
9664
9665 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9666
9667         * counters.[Ch]
9668         * text2.C
9669         * paragraph.[Ch]
9670         * makefile.am: move counters functionality over from
9671         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9672
9673 2002-08-06  John Levon  <levon@movementarian.org>
9674
9675         * WordLangTuple.h: new file for word + language code tuple
9676
9677         * SpellBase.h:
9678         * pspell.h:
9679         * pspell.C:
9680         * ispell.h:
9681         * ispell.C:
9682         * lyxtext.h:
9683         * text.C:
9684         * text2.C:
9685         * BufferView.h:
9686         * BufferView2.C: use WordLangTuple
9687
9688         * layout.h:
9689         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9690
9691 2002-08-06  John Levon  <levon@movementarian.org>
9692
9693         * lyx_main.C: fix cmdline batch handling
9694
9695 2002-08-06  André Pönitz <poenitz@gmx.net>
9696
9697         * lyxrc.C: set default for show_banner to true
9698
9699 2002-08-06  John Levon  <levon@movementarian.org>
9700
9701         * pspell.C: fix a crash, and allow new aspell to work
9702
9703 2002-08-06  John Levon  <levon@movementarian.org>
9704
9705         * lyxfunc.C:
9706         * kbmap.C: small cleanup
9707
9708         * vspace.h:
9709         * vspace.C: add const
9710
9711 2002-08-05  John Levon  <levon@movementarian.org>
9712
9713         * LyXAction.C: back to tabular-insert
9714
9715 2002-08-04  John Levon  <levon@movementarian.org>
9716
9717         * BufferView.h:
9718         * BufferView.C: cosmetic change
9719
9720         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9721
9722         * bufferlist.C:
9723         * buffer.h:
9724         * buffer.C:
9725         * lyxcb.h:
9726         * lyxcb.C:
9727         * lyxserver.C:
9728         * lyxvc.C:
9729         * vc-backend.C:
9730         * BufferView2.C: purge all "Lyx" not "LyX" strings
9731
9732         * lyxcursor.h:
9733         * lyxcursor.C: attempt to add some documentation
9734
9735         * lyxfunc.C:
9736         * commandtags.h:
9737         * LyXAction.C:
9738         * ToolbarDefaults.C:
9739         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9740           merge with LFUN_TABULAR_INSERT
9741
9742         * Makefile.am:
9743         * SpellBase.h:
9744         * ispell.h:
9745         * ispell.C:
9746         * pspell.h:
9747         * pspell.C: split up i/pspell implementations into separate
9748           files, many cleanups
9749
9750         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9751
9752         * text2.C: some cleanup
9753
9754         * lyxfunc.C: don't check for isp_command == "none" any more, it
9755           didn't make any sense
9756
9757 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9758
9759         * counters.[Ch]
9760         * text2.C
9761         * paragraph.[Ch]
9762         * makefile.am: move counters functionality over
9763         from text2.C/paragraph.[Ch] to counters.[Ch], and
9764         make proper C++.
9765 2002-08-02  John Levon  <levon@movementarian.org>
9766
9767         * buffer.C: s/lyxconvert/lyx2lyx/
9768
9769 2002-08-02  Angus Leeming  <leeming@lyx.org>
9770
9771         * lyxlex.C: revert John's change as it breaks reading of the user
9772         preamble.
9773
9774 2002-08-02  Angus Leeming  <leeming@lyx.org>
9775
9776         * importer.C (Import):
9777         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9778         changes due to LyXView::view() now returning a boost::shared_ptr.
9779
9780 2002-08-02  John Levon  <levon@movementarian.org>
9781
9782         * lyxlex.C: small cleanup
9783
9784 2002-08-02  John Levon  <levon@movementarian.org>
9785
9786         * text2.C (status): small cleanup, no logic change
9787
9788 2002-08-01  John Levon  <levon@movementarian.org>
9789
9790         * buffer.h:
9791         * buffer.C (writeFile): don't output alerts, caller
9792           handles this
9793
9794         * bufferlist.C:
9795         * lyx_cb.C: from above
9796
9797         * lyxfunc.C: allow to open non-existent files
9798
9799 2002-07-31  John Levon  <levon@movementarian.org>
9800
9801         * lyxserver.C: don't let incidental errors get
9802           in the way (errno)
9803
9804 2002-07-30  John Levon  <levon@movementarian.org>
9805
9806         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9807
9808 2002-07-30  John Levon  <levon@movementarian.org>
9809
9810         * lyxserver.h:
9811         * lyxserver.C: remove I/O callback too
9812
9813 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9816         log.
9817
9818 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9819
9820         * many files: strip,frontStrip -> trim,ltrim,rtrim
9821
9822 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9823
9824         * PrinterParams.h: remove extern containsOnly, and include
9825         support/lstrings.h instead.
9826
9827         * LaTeX.C (scanAuxFile): modify because of strip changes
9828         (deplog): ditto
9829         * buffer.C (makeLaTeXFile): ditto
9830         * bufferparams.C (writeFile): ditt
9831         * lyxfont.C (stateText): ditto
9832         * lyxserver.C (read_ready): ditto
9833         * vc-backend.C (scanMaster): ditto
9834
9835         * BufferView_pimpl.h: ws changes
9836
9837         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9838
9839 2002-07-26  André Pönitz <poenitz@gmx.net>
9840
9841         * kb_sequence.C: remove unnedred usings
9842
9843 2002-07-26  Juergen Vigna  <jug@sad.it>
9844
9845         * lyxfind.C (LyXReplace): we have to check better if the returned
9846         text is not of theLockingInset()->getLockingInset().
9847
9848 2002-07-25  Juergen Vigna  <jug@sad.it>
9849
9850         * lyxfind.C (LyXReplace): don't replace if we don't get the
9851         right LyXText.
9852
9853         * undo_funcs.C (createUndo): remove debugging code.
9854
9855 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9856
9857         * buffer.C (parseSingleLyXformat2Token): Use default placement
9858         when reading old floats.
9859
9860         * FloatList.C (FloatList): Change the default placement of figure
9861         and tables to "tbp".
9862
9863 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * MenuBackend.C: using std::max
9866
9867 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9868
9869         * MenuBackend.C (expandToc):
9870         (expandToc2): code moved from xforms menu frontend. It is now
9871         generic and TOCs are transparent to menu frontends.
9872
9873 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * toc.C (getTocList): protect against buf=0
9876
9877         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9878         Menu as first parameter. Now, this calls itself recursively to
9879         expand a whole tree (this will be useful for TOC handling)
9880         (expandFloatInsert): remove 'wide' version of floats
9881
9882         * MenuBackend.h (submenuname): returns the name of the submenu.
9883         (submenu): returns the submenu itself, provided it has been
9884         created by MenuBackend::expand
9885
9886 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9887
9888         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9889         insets which have noFontChange == true. (bug #172)
9890
9891 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * BufferView_pimpl.C: add connection objects and use them...
9894         (Pimpl): here.
9895
9896 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * MenuBackend.C (expandLastfiles):
9899         (expandDocuments):
9900         (expandFormats):
9901         (expandFloatListInsert):
9902         (expandFloatInsert):
9903         (expand): split expand in parts
9904
9905 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * lyx_gui.C: use lyx_gui::exit()
9908
9909 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * LyXAction.C: show the failing pseudo action
9912
9913 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9914
9915         * buffer.C (readFile): Run the lyxconvert script in order to read
9916         old files.
9917
9918 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * LyXAction.C:
9921         * commandtags.h:
9922         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9923
9924 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9925
9926         * LyXAction.C:
9927         * commandtags.h:
9928         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9929
9930 2002-07-22  Herbert Voss  <voss@lyx.org>
9931
9932         * lengthcommon.C:
9933         * lyxlength.[Ch]: add support for the vertical lengths
9934
9935 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * toc.[Ch]: std:: fixes
9938
9939 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9940
9941         * lyxrc.C: do not include lyx_main.h
9942
9943         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9944         for layouts
9945
9946         * lyxrc.C:
9947         * encoding.C:
9948         * bufferlist.C:
9949         * BufferView2.C: include "lyxlex.h"
9950
9951         * tabular.h:
9952         * bufferparams.h: do not #include "lyxlex.h"
9953
9954         * lyxtextclasslist.C (Add): remove method
9955         (classlist): renamed to classlist_
9956
9957         * paragraph_pimpl.C:
9958         * paragraph.C:
9959         * text2.C:
9960         * CutAndPaste.C:
9961         * bufferview_funcs.C:
9962         * bufferlist.C:
9963         * text.C:
9964         * LaTeXFeatures.C:
9965         * buffer.C:
9966         * toc.C (getTocList): use BufferParams::getLyXTextClass
9967
9968         * toc.C (getTocList): use InsetFloat::addToToc
9969
9970         * toc.[Ch]: new files, containing helper functions to handle table
9971         of contents
9972
9973         * lyxfunc.C (dispatch): no need to remove spaces around command
9974         given as a string
9975         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9976         first command of the sequence; it is not very clever, but I do not
9977         have a better idea, actually
9978
9979         * LyXAction.C (LookupFunc): make sure to remove space at the
9980         beginning and end of the command
9981
9982 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9983
9984         * MenuBackend.C (getMenubar): new method: return the menubar of
9985         this menu set
9986         (read): treat differently reading of menu and menubar (in
9987         particular, the menubar has no name now)
9988         (Menu::menubar): remove
9989
9990         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9991         saving is finished
9992
9993 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9994
9995         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9996         a bibitem inset in a RTL paragraph.
9997
9998 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * paragraph_pimpl.C: constify
10001
10002         * BufferView_pimpl.C:
10003         * LaTeX.C:
10004         * lyxfunc.C: fix dispatch in a nicer way
10005
10006 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * lyxfunc.C (dispatch):
10009         * BufferView_pimpl.C:
10010         * BufferView_pimpl.h:
10011         * BufferView.C:
10012         * BufferView.h: rename Dispatch() to dispatch()
10013
10014         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10015
10016         * lyxlayout.C (Read): honor DependsOn tag
10017
10018         * lyxlayout.[Ch] (depends_on): new method
10019
10020         * version.C.in: update lyx_docversion
10021
10022         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10023
10024         * paragraph.C (validate): remove from here...
10025         * paragraph_pimpl.C (validate): ... and move here
10026         (isTextAt): make it const
10027
10028         * buffer.C (getLists): ws cleanup
10029
10030 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10031
10032         * language.C (read): Use iso8859-1 encoding in latex_lang
10033         (this prevents LyX from crashing when using iso10646-1 encoding).
10034
10035 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * text2.C (toggleInset): if cursor is inside an inset, close the
10038         inset and leave cursor _after_ it
10039
10040 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * lyxfunc.C: move minibuffer completion handling out of here
10043
10044 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10045
10046         * BufferView_pimpl.C:
10047         * LaTeX.C: fix dispatch calls
10048
10049 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10050
10051         * text.C (drawChars): Fix Arabic text rendering.
10052
10053 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10054
10055         * LyXAction.C:
10056         * commandtags.h:
10057         * lyxfunc.C: remove message-push/pop
10058
10059         * lyxserver.C:
10060         * lyxfunc.h:
10061         * lyxfunc.C: rationalise some code by removing verboseDispatch
10062           in favour of a bool argument to dispatch()
10063
10064 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * lyx_main.C (init): make sure to read symlinks as absolute paths
10067
10068 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * lyxfunc.h:
10071         * lyxfunc.C: no need for commandshortcut to be a member
10072
10073 2002-07-15  André Pönitz <poenitz@gmx.net>
10074
10075         * converter.C: add support for $$s (scripts from lib/scripts dir)
10076         * lyx_main.C: white space
10077
10078 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * bufferlist.C:
10081         * lyxrc.h:
10082         * lyxrc.C: remove second exit confirmation
10083
10084 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10085
10086         * BufferView.h:
10087         * BufferView.C:
10088         * BufferView2.C:
10089         * BufferView_pimpl.h:
10090         * BufferView_pimpl.C:
10091         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10092
10093 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * MenuBackend.C (expand): add numeric shortcuts to document menu
10096
10097         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10098
10099 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * lyxfont.C (setLyXFamily):
10102         (setLyXSeries):
10103         (setLyXShape):
10104         (setLyXSize):
10105         (setLyXMisc):
10106         (lyxRead):
10107         * debug.C (value):
10108         * buffer.C (asciiParagraph): use ascii_lowercase
10109
10110 2002-07-15  Mike Fabian  <mfabian@suse.de>
10111
10112         * lyxlex_pimpl.C (search_kw):
10113         * lyxlex.C (getLongString):
10114         * converter.h (operator<):
10115         * converter.C (operator<):
10116         * buffer.C (parseSingleLyXformat2Token):
10117         (asciiParagraph):
10118         * ToolbarDefaults.C (read):
10119         * MenuBackend.C (checkShortcuts):
10120         (read):
10121         * LColor.C (getFromGUIName):
10122         (getFromLyXName): use the compare_ascii_no_case instead of
10123         compare_no_case, because in turkish, 'i' is not the lowercase
10124         version of 'I', and thus turkish locale breaks parsing of tags.
10125
10126 2002-07-16  Angus Leeming  <leeming@lyx.org>
10127
10128         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10129         now takes a Buffer const & argument.
10130
10131 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * BufferView.C (resize): check there's a buffer to resize
10134
10135 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * lyxfunc.C: remove dead code
10138
10139         * lyxserver.h:
10140         * lyxserver.C: use lyx_guii::set_read_callback
10141
10142 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10143
10144         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10145         an inset in a RTL paragraph.
10146
10147 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * lyxfunc.C: repaint after a font size update
10150
10151 2002-07-15  André Pönitz <poenitz@gmx.net>
10152
10153         * lyxlength.C: inBP should be able to return negative values
10154
10155 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * lyxfunc.C: use lyx_gui::update_fonts()
10158
10159 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * lyxfunc.C: use lyx_gui::update_color()
10162
10163 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * bufferlist.C:
10166         * lyxfunc.h:
10167         * lyxfunc.C:
10168         * lyxrc.h:
10169         * lyxrc.C: remove file->new asks for name option, and let
10170           buffer-new take an argument
10171
10172 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * BufferView_pimpl.C: remove unneeded extra repaint()
10175
10176 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * LyXAction.C: allow command-sequence with NoBuffer
10179
10180         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10181
10182 2002-07-10  Angus Leeming  <leeming@lyx.org>
10183
10184         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10185
10186 2002-07-09  Angus Leeming  <leeming@lyx.org>
10187
10188         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10189
10190 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * lengthcommon.h: whitespace
10193
10194         * lyxfunc.C: update scrollbar after goto paragraph
10195
10196         * lyxtext.h: factor out page break drawing, and fix it so
10197           page break/added space paints as selected nicely
10198
10199 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10200
10201         * BufferView_pimpl.C: add FIXMEs, clean up a little
10202
10203 2002-07-09  André Pönitz <poenitz@gmx.net>
10204
10205         * lyxfont.[Ch]: support for wasy symbols
10206
10207 2002-07-08  André Pönitz <poenitz@gmx.net>
10208
10209         * BufferView_pimpl.C: apply John's patch for #93.
10210
10211 2002-07-05  Angus Leeming  <leeming@lyx.org>
10212
10213         * BufferView_pimpl.C (buffer): generate previews if desired.
10214
10215         * LColor.h: add "preview" to the color enum.
10216
10217         * LColor.C (LColor): add a corresponding entry to the items array.
10218
10219         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10220         with this buffer.
10221
10222 2002-07-05  Angus Leeming  <leeming@lyx.org>
10223
10224         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10225         The body of the code is now in the method that is passed an ostream &
10226         rather than a file name.
10227         Pass an additional only_preamble parameter, useful for the forthcoming
10228         preview stuff.
10229
10230 2002-07-03  André Pönitz <poenitz@gmx.net>
10231
10232         * lyxfunc.C: simplify getStatus() a bit for math stuff
10233
10234 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10235
10236         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10237
10238 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10239
10240         * text.C (changeRegionCase): do not change case of all the
10241         document when region ends at paragraph end (bug #461)
10242
10243 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10244
10245         * paragraph.C (startTeXParParams):
10246         (endTeXParParams): add \protect when necessary
10247
10248 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10249
10250         * BufferView_pimpl.C (workAreaExpose): remove warning
10251
10252 2002-06-27  Angus Leeming  <leeming@lyx.org>
10253
10254         * Makefile.am: add lyxlayout_ptr_fwd.h.
10255
10256 2002-06-26  André Pönitz <poenitz@gmx.net>
10257
10258         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10259
10260 2002-06-25  Angus Leeming  <leeming@lyx.org>
10261
10262         * lyxfunc.C (dispatch): Comment out the call to
10263         grfx::GCache::changeDisplay. The method no longer exists now that the
10264         pixmap generation part of the graphics loader has been moved into
10265         InsetGraphics.
10266
10267 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10268
10269         * text2.C: layout as layout
10270
10271         * text.C: layout as layout
10272
10273         * tabular.C (OldFormatRead): layout as layout
10274
10275         * paragraph_pimpl.C (TeXDeeper): layout as layout
10276         (realizeFont): layout as layout
10277
10278         * paragraph.C (writeFile): layout as layout
10279         (validate): layout as layout
10280         (getFont): layout as layout
10281         (getLabelFont): layout as layout
10282         (getLayoutFont): layout as layout
10283         (breakParagraph): layout as layout
10284         (stripLeadingSpaces): layout as layout
10285         (getEndLabel): layout as layout
10286         (getMaxDepthAfter): layout as layout
10287         (applyLayout): layout as layout
10288         (TeXOnePar): layout as layout
10289         (simpleTeXOnePar): layout as layout
10290         (TeXEnvironment): layout as layout
10291         (layout): layout as layout
10292         (layout): layout as layout
10293
10294         * lyxtextclass.C (compare_name): new functor to work with
10295         shared_ptr, layout as layout
10296         (Read): layout as layout
10297         (hasLayout): layout as layout
10298         (operator): layout as layout
10299         (delete_layout): layout as layout
10300         (defaultLayout): layout as layout
10301
10302         * lyxlayout_ptr_fwd.h: new file
10303
10304         * lyxlayout.C (Read): layout as layout
10305
10306         * lyx_cb.C (MenuInsertLabel): layout as layout
10307
10308         * bufferlist.C (newFile): layout as layout
10309
10310         * buffer.C (readLyXformat2): layout as layout
10311         (parseSingleLyXformat2Token): layout as layout
10312         (insertStringAsLines): layout as layout
10313         (asciiParagraph): layout as layout
10314         (latexParagraphs): layout as layout
10315         (makeLinuxDocFile): layout as layout
10316         (simpleLinuxDocOnePar): layout as layout
10317         (makeDocBookFile): layout as layout
10318         (simpleDocBookOnePar): layout as layout
10319         (getLists): layout as layout
10320
10321         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10322
10323         * CutAndPaste.C (cutSelection): layout as layout
10324         (pasteSelection): layout as layout
10325         (SwitchLayoutsBetweenClasses): layout as layout
10326
10327         * BufferView_pimpl.C (Dispatch): layout as layout
10328         (smartQuote): layout as layout
10329
10330         * BufferView2.C (unlockInset): layout as layout
10331
10332 2002-06-24  André Pönitz <poenitz@gmx.net>
10333
10334         * lyxfunc.C: fix #487
10335
10336 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * lyxrc.h:
10339         * lyxrc.C:
10340         * lyxfunc.C: remove display_shortcuts, show_banner
10341
10342 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * Buffer_pimpl.C: oops, update on resize
10345
10346 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * buffer.C:
10349         * converter.C:
10350         * exporter.C:
10351         * lyxfunc.C:
10352         * BufferView.h:
10353         * BufferView.C: use repaint()
10354
10355         * BufferView_pimpl.h:
10356         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10357           as it's a clearer description. Remove superfluous
10358           redraws.
10359
10360 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * text.C: fix bug 488. Not ideal, but getting
10363           getWord() to work properly for the insets that
10364           matter is more difficult ...
10365
10366 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * BufferView_pimpl.C:
10369         * LyXAction.C:
10370         * commandtags.h:
10371         * lyxfunc.C: remove the six million index lyxfuncs to just
10372           one, and DTRT (bug 458)
10373
10374 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * BufferView.h:
10377         * BufferView.C:
10378         * BufferView_pimpl.h:
10379         * BufferView_pimpl.C: clean up resize() stuff,
10380           and unnecessary updateScreen()s
10381
10382 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * BufferView.h:
10385         * BufferView.C:
10386         * BufferView_pimpl.h:
10387         * BufferView_pimpl.C:
10388         * lyxfind.h:
10389         * lyxfind.C:
10390         * minibuffer.C: remove focus management of workarea,
10391           not needed. Use screen's greyOut()
10392
10393 2002-06-17  Herbert Voss  <voss@lyx.org>
10394
10395         * converter.C: (convert) do not post a message, when converting
10396         fails, let the calling function decide what to do in this case
10397
10398 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * lyxfunc.C: tidy up a little
10401
10402 2002-06-16    <alstrup@diku.dk>
10403
10404         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10405         Got rid of FORMS_H_LOCATION include. Now we are
10406         GUII.
10407
10408 2002-06-15  LyX Development team  <lyx@rilke>
10409
10410         * buffer.[Ch] (sgmlOpenTag):
10411         (sgmlCloseTag): Added support for avoiding pernicious mixed
10412         content. Return number of lines written.
10413
10414         (makeLinuxDocFile):
10415         (makeDocBookFile): Fixed calls to sgml*Tag.
10416         Simple white space clean.
10417
10418         (simpleDocBookOnePar): Simple white space clean.
10419
10420         * tabular.[Ch] (docBook): Renamed to docbook and got another
10421         argument to related with the pernicious mixed content.
10422
10423         (docbookRow): Fixed calls for docbook inset method.
10424
10425 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10426
10427         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10428         so it's X11 independent.
10429
10430         * kb*.[Ch]: ditto.
10431
10432         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10433
10434 2002-06-15  Lyx Development team  <lyx@electronia>
10435
10436         * intl.h: Renamed getTrans to getTransManager.
10437
10438 2002-06-14  Angus Leeming  <leeming@lyx.org>
10439
10440         * Makefile.am: nuke forgotten stl_string_fwd.h.
10441
10442 2002-06-12  Angus Leeming  <leeming@lyx.org>
10443
10444         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10445
10446 2002-06-13  Angus Leeming  <leeming@lyx.org>
10447
10448         * LaTeX.C:
10449         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10450
10451 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10452
10453         * kbmap.C (getiso): add support for cyrillic and greek
10454
10455 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10456
10457         * BufferView.h:
10458         * BufferView.C:
10459         * BufferView_pimpl.h:
10460         * BufferView_pimpl.C: move bogus scrolling logic
10461           to xforms
10462
10463 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * lyxfunc.C:
10466         * BufferView_pimpl.C: view->resize() change
10467
10468 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * BufferView_pimpl.C: topCursorVisible
10471           prototype change
10472
10473 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * Makefile.am:
10476         * lyx_gui.h:
10477         * lyx_gui.C: move to frontends/
10478
10479         * main.C:
10480         * lyx_main.h:
10481         * lyx_main.C: changes from above
10482
10483 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * intl.C:
10486         * intl.h:
10487         * kbmap.C:
10488         * kbsequence.C:
10489         * lyx_cb.C:
10490         * lyx_main.C: minor tidy
10491
10492 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * BufferView_pimpl.h:
10495         * BufferView_pimpl.C:
10496         * BufferView.h:
10497         * BufferView.C: make painter() const,
10498           remove dead code
10499
10500         * BufferView2.C: use screen() accessor
10501
10502         * lyx_main.h:
10503         * lyx_main.C: some minor cleanup
10504
10505 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * BufferView_pimpl.h:
10508         * BufferView_pimpl.C: remove enter/leaveView,
10509           use workHeight()
10510
10511 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * BufferView.h:
10514         * BufferView.C:
10515         * BufferView2.C:
10516         * BufferView_pimpl.h:
10517         * BufferView_pimpl.C: only construct screen once,
10518           rename
10519
10520         * lyxrc.C: remove pointless comment
10521
10522 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10523
10524         * BufferView.h:
10525         * BufferView.C: remove active() and belowMouse()
10526
10527         * BufferView_pimpl.h:
10528         * BufferView_pimpl.C: use workarea() not workarea_,
10529           and make it use a scoped_ptr instead
10530
10531 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * lyx_gui.C: add debug message on BadWindow
10534
10535 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10536
10537         * sp_spell.C: fdopen is not part of the C++ standard.
10538
10539         * paragraph.C (InsetIterator): use >= instead of ==
10540
10541 2002-06-07  Angus Leeming  <leeming@lyx.org>
10542
10543         Fixes needed to compile with Compaq cxx 6.5.
10544         * BufferView_pimpl.C:
10545         * DepTable.C:
10546         * buffer.C:
10547         * converter.C:
10548         * encoding.C:
10549         * lyx_gui.C:
10550         * lyx_main.C:
10551         * lyxtextclasslist.C:
10552         * minibuffer.C:
10553         * sp_spell.C:
10554         * tabular_funcs.C:
10555         * vc-backend.C:
10556         all c-library variables have been moved into namespace std. Wrap
10557         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10558
10559         * lyxlength.C:
10560         * tabular-old.C:
10561         * tabular.C:
10562         Add a using std::abs declaration.
10563
10564         * kbmap.h (modifier_pair):
10565         * paragraph.h (InsetTable, InsetList):
10566         * lyxfont.h (FontBits):
10567         type definition made public.
10568
10569         * bufferlist.C (emergencyWriteAll): the compiler complains that
10570         there is more than one possible lyx::class_fun template to choose from.
10571         I re-named the void specialisation as lyx::void_class_fun.
10572
10573         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10574
10575         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10576         the compiler is is unable to find tostr in write_attribute.
10577
10578 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10579
10580         * buffer.C (sgmlError): hide #warning
10581
10582 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10583
10584         * xtl/*: get rid of xtl, which is not in use anyway
10585
10586         * LyXAction.C (init):
10587         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10588         were unimplemented xtl experimentation
10589
10590 2002-06-04  André Pönitz <poenitz@gmx.net>
10591
10592         * lyxfunc.C: disable array operation on simple formulae
10593
10594 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * converter.C: constify a bit
10597
10598 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * lyx_gui.C: check xforms version correctly
10601
10602 2002-04-30  Herbert Voss  <voss@lyx.org>
10603
10604         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10605         "keep" option
10606
10607 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10610           attempt to register it with a VCS)
10611
10612 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10613
10614         * lyx_main.C (init): honor variables LYX_DIR_13x and
10615         LYX_USERDIR_13x
10616
10617 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * buffer.h:
10620         * buffer.C:
10621         * lyx_main.C: fix a crash on bad command line,
10622           and give a useful exit status on error
10623
10624         * lyxfunc.C (doImport): allow -i lyx to work
10625
10626 2002-03-30  André Pönitz <poenitz@gmx.net>
10627
10628         * lyxfunc.C: mathed font changes
10629
10630 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * LaTeX.C:
10633         * importer.h:
10634         * importer.C:
10635         * lyx_sty.h:
10636         * lyx_sty.C:
10637         * lyxlex.C:
10638         * lyxrow.h:
10639         * lyxtext.h:
10640         * paragraph.h:
10641         * paragraph.C:
10642         * texrow.h:
10643         * texrow.C:
10644         * text.C:
10645         * trans_mgr.h: srcdocs, and some minor cleanups
10646
10647 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10650         call getFont all the time)
10651
10652 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10653
10654         * switch from SigC signals to boost::signals
10655
10656 2002-05-29  André Pönitz <poenitz@gmx.net>
10657
10658         * paragraph_pimpl.C (getChar): don't call size() too often...
10659
10660 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * paragraph_pimpl.C (insertChar): do not try to update tables when
10663         appending (pos == size())
10664
10665         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10666         in order to reduce drastically the number of comparisons needed to
10667         parse a large document
10668
10669 2002-05-29  André Pönitz <poenitz@gmx.net>
10670
10671         * text.C:
10672         * text2.C:
10673         * lyxtextclass.C:
10674         * sp_pspell.h:
10675         * textclasslist.[Ch]:
10676         * sp_ispell.h: whitespace change
10677
10678 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10681         lyxaction directly now.
10682
10683 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * trans.C:
10686         * lyxfont.C:
10687         * lyxvc.C: remove unused headers
10688
10689 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * Makefile.am:
10692         * buffer.h:
10693         * undostack.h:
10694         * undostack.C:
10695         * undo_funcs.h:
10696         * undo_funcs.C: some cleanups. Use shared_ptr
10697           and a template for the undo stacks.
10698
10699 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * BufferView_pimpl.h:
10702         * BufferView_pimpl.C:
10703         * kbmap.h:
10704         * kbmap.C:
10705         * kbsequence.h:
10706         * kbsequence.C:
10707         * lyxfunc.h:
10708         * lyxfunc.C:
10709         * text2.C: use key_state/mouse_state
10710
10711 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10712
10713         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10714         and LSubstring
10715
10716         * chset.C: change include order
10717         (loadFile): use boost regex and get rid of LRegex and LSubstring
10718
10719         * Makefile.am (BOOST_LIBS): new variable
10720         (lyx_LDADD): use it
10721
10722         * LaTeX.C: change include order.
10723         (scanAuxFile): use boost regex and get rid of LRegex and
10724         LSubstring
10725         (deplog): ditto
10726
10727 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * ColorHandler.h:
10730         * ColorHandler.C:
10731         * FontInfo.h:
10732         * FontInfo.C: moved to frontends/xforms/
10733
10734         * FontLoader.h:
10735         * FontLoader.C: moved into frontends for GUIIzation
10736
10737         * Makefile.am:
10738         * lyx_gui.C:
10739         * lyxfont.C:
10740         * lyxfunc.C: changes from above
10741
10742 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * LColor.C: remove spurious X include
10745
10746         * BufferView_pimpl.C:
10747         * Makefile.am:
10748         * font.h:
10749         * font.C:
10750         * text.C:
10751         * text2.C: move font metrics to frontends/
10752
10753 2002-05-24  Juergen Vigna  <jug@sad.it>
10754
10755         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10756         setting the undo_cursor.
10757
10758         * ParagraphParameters.h: include local includes first.
10759
10760 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * BufferView_pimpl.C:
10763         * BufferView_pimpl.h:
10764         * Makefile.am:
10765         * WorkArea.h:
10766         * WorkArea.C:
10767         * screen.C: move WorkArea into frontends/
10768
10769         * lyxscreen.h:
10770         * screen.C:
10771         * text.C:
10772         * BufferView.C:
10773         * BufferView2.C: move LyXScreen into frontends/
10774
10775         * lyxlookup.h:
10776         * lyxlookup.C:
10777         * lyx_gui.C: move lyxlookup into frontends/xforms/
10778
10779 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * BufferView2.C:
10782         * BufferView_pimpl.C:
10783         * FontLoader.C:
10784         * LyXView.h:
10785         * LyXView.C:
10786         * Makefile.am:
10787         * WorkArea.C:
10788         * XFormsView.h:
10789         * XFormsView.C:
10790         * buffer.C:
10791         * bufferlist.C:
10792         * bufferview_funcs.C:
10793         * converter.C:
10794         * importer.C:
10795         * lyx_cb.C:
10796         * lyx_gui.C:
10797         * lyx_main.C:
10798         * lyx_find.C:
10799         * lyxfunc.C:
10800         * lyxvc.C:
10801         * minibuffer.C:
10802         * text.C:
10803         * text2.C:
10804         * trans.C:
10805         * vc-backend.C: move LyX/XFormsView into frontends/
10806
10807 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10808
10809         * Makefile.am:
10810         * PainterBase.C:
10811         * PainterBase.h:
10812         * Painter.C:
10813         * Painter.h:
10814         * WorkArea.C:
10815         * WorkArea.h:
10816         * screen.C:
10817         * tabular.C:
10818         * text.C:
10819         * text2.C: move Painter to frontends/
10820
10821 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10822
10823         * buffer.C: comment out some some code that depend upon lyx_format
10824         < 220
10825
10826         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10827         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10828
10829         * buffer.h (NO_COMPABILITY): turn off compability
10830
10831         * ColorHandler.C: include scoped_array.hpp
10832
10833         * font.C: Use more specific smart_ptr header.
10834         * Painter.C: ditto
10835         * gettext.C: ditto
10836         * ShareContainer.h: ditto
10837         * lyx_main.h: ditto
10838         * kbmap.h: ditto
10839         * FontInfo.h: ditto
10840         * BufferView_pimpl.h: ditto
10841         * ColorHandler.h: ditto
10842
10843         * kbmap.C (defkey): change call to shared_ptr::reset
10844
10845 2002-05-21  Juergen Vigna  <jug@sad.it>
10846
10847         * buffer.C (insertErtContents): fix to insert ert asis if it is
10848         non empty. Skip it completely if it contains only whitespaces.
10849
10850 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * BufferView_pimpl.C:
10853         * BufferView2.C: clear selection on paste (bug 393)
10854
10855 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * DepTable.C: include ctime
10858
10859 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10860
10861         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10862
10863 2002-05-14  Juergen Vigna  <jug@sad.it>
10864
10865         * text.C (breakParagraph): fixed function to honor the keepempty
10866         layout in the right maner and also to permit the right breaking
10867         algorithm on empty or non empyt keepempty paragraphs.
10868
10869         * paragraph.C (breakParagraph): we have to check also if the par
10870         is really empty (!size()) for isempty otherwise we do the wrong
10871         paragraph break.
10872
10873 2002-05-10  Juergen Vigna  <jug@sad.it>
10874
10875         * buffer.[Ch] : The following are only changes to the ert
10876         compatibility read reading old LaTeX layout and font stuff and
10877         convert it to ERTInsets.
10878
10879         * buffer.h: added isErtInset().
10880
10881         * buffer.C (struct ErtComp): add a fromlayout bool to check
10882         if we're inside a LaTeX layout.
10883         (isErtInset): new helper function.
10884         (insertErtContents): look for other ert insets before this one
10885         and insert the contents there, so that we don't have subsequent
10886         ERT insets with nothing between them. This way we create only one
10887         inset with multiple paragraphs. Also check if we don't insert only
10888         spaces ' ' as they are ignored anyway afterwards in the .tex file
10889         so if we have only spaces we will ignore this latex part in the
10890         new file.
10891         (parseSingleLyXformat2Token \\layout): better compatibility when
10892         reading layout-latex stuff.
10893         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10894         language tag.
10895         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10896         stuff after reading the inset only get the information back from
10897         the stack.
10898
10899 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10900
10901         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10902
10903         * LaTeXFeatures.C (getBabelOptions): New method.
10904
10905 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10906
10907         * BufferView_pimpl.C (Dispatch): work around missing argument for
10908         'layout'
10909
10910 2002-05-08  Juergen Vigna  <jug@sad.it>
10911
10912         * text.C (leftMargin): handle paragraph leftindent.
10913
10914         * paragraph.C (writeFile): write the new \\leftindent tag.
10915         (validate): handle leftindent code.
10916         (TeXEnvironment): handle paragraphleftindent code again.
10917
10918         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10919
10920         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10921         for paragrap_extra indent code and new token \\leftindent.
10922         (latexParagraphs): handle the leftindent as environment.
10923
10924         * ParameterStruct.h: added leftindent support.
10925
10926         * ParagraphParameters.C (leftIndent): added support functions for
10927         the paragraph left indent.
10928
10929         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10930         more appropriate.
10931
10932 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10933
10934         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10935         inside insetERT.
10936
10937         * text.C (computeBidiTables): No bidi in insetERT.
10938
10939         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10940         in RTL documents.
10941
10942 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10943
10944         * version.C.in: pre 5
10945
10946 2002-05-02  José Matos  <jamatos@fep.up.pt>
10947         * buffer.C (makeDocBookFile): white space changes, add newline to
10948         command styles.
10949         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10950
10951         * tabular.C (docBook): fix typo.
10952
10953 2002-05-03  Juergen Vigna  <jug@sad.it>
10954
10955         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10956         change in LyXText as we can not be sure it was not freed.
10957         (drawOneRow): remove unused code.
10958
10959         * text.C (drawInset): redo the calculation of the need_break_row as
10960         it could have a row which was already freed.
10961         (draw): look at the return value of drawInset and return false if
10962         it also returned false.
10963         (paintRowText): look at the return value of draw and return false if
10964         it also returned false.
10965
10966         * lyxtext.h: added bool return type to drawInset() and draw() so that
10967         if we have a change in the row so that the rowbreak has to be redone
10968         we abort drawing as it will be called again.
10969
10970 2002-05-02  Juergen Vigna  <jug@sad.it>
10971
10972         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10973         a change in the maintext also if we're inside an inset.
10974         (Dispatch): set the cursor again after a break line and after the
10975         screen has been updated as it could be we're in a different row.
10976
10977         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10978         to set the cursor behind the pargraph with > size().
10979         (setCursor): check also for the same paragraph when checking where
10980         to put the cursor if we have a NFR inset.
10981
10982         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10983         parts of layout read further up as it still was in the wrong
10984         position.
10985
10986 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10987
10988         * screen.C (drawFromTo): change sine fullRebreak always return
10989         true.
10990
10991         * buffer.C (parseSingleLyXformat2Token): reindent some
10992
10993         * BufferView_pimpl.C (update): change since fullRebreak always
10994         return true.
10995         (Dispatch): git rid of the last hardcoded "Standard"s.
10996
10997 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10998
10999         * text2.[Ch] (fullRebreak): make it return void now that we always
11000         returned true.
11001
11002 2002-04-30  Juergen Vigna  <jug@sad.it>
11003
11004         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11005         ert compatibility check for "latex" layout.
11006
11007 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11008
11009         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11010         minipages: use col% instead of p%, and also use the current font.
11011         (makeLaTeXFile): Fix use babel condition.
11012         (parseSingleLyXformat2Token): Correct font when reading old floats.
11013
11014 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11015
11016         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11017         inserting list of floats.
11018
11019 2002-04-25  Herbert Voss  <voss@lyx.org>
11020
11021         * MenuBackend.C (expand): don't add the graphics extensions to the
11022         export menu
11023
11024 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11027         non-existing layout, do not complain if it was the default layout
11028         of the original class (bug #342)
11029
11030 2002-04-24  Juergen Vigna  <jug@sad.it>
11031
11032         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11033         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11034
11035 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11036
11037         * buffer.C (getBibkeyList): If using \bibliography, return the
11038         option field with the reference itself. Enables us to provide natbib
11039         support when using \bibliography.
11040
11041 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11042
11043         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11044
11045         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11046         natbib is provided by the LaTeX class.
11047
11048 2002-04-23  Juergen Vigna  <jug@sad.it>
11049
11050         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11051         Wakeup functions.
11052
11053         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11054
11055 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11056
11057         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11058
11059         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11060         ensuremath around textordmasculine, textordfeminine and
11061         textdegree.
11062
11063 2002-04-19  Juergen Vigna  <jug@sad.it>
11064
11065         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11066         reinitializing the buffer otherwise row-dimensions may be wrong.
11067         (update): reset also the selection cursors if they do exits otherwise
11068         their x/y positions may be wrong.
11069
11070         * text2.C (cursorDown): don't enter the inset if we came from a row
11071         above and are one row over the inset.
11072
11073         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11074         really leaving an inset.
11075
11076 2002-04-18  Juergen Vigna  <jug@sad.it>
11077
11078         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11079         of the selected paragraph does not have the selected layout also if
11080         the last one had!
11081
11082         * text2.C (setLayout): fixed bug which did not change last selected
11083         paragraph.
11084
11085         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11086         changed the read and substituted \\end_float with \\end_inset!
11087
11088         * BufferView_pimpl.C (cursorPrevious):
11089         (cursorNext): fixed to make it work with rows heigher than the work
11090         area without moving the cursor only the draw of the row.
11091         (workAreaMotionNotify): fix jumping over high rows.
11092
11093 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11096         Ressler.
11097
11098 2002-04-16  Juergen Vigna  <jug@sad.it>
11099
11100         * text2.C (setCursor): set also the irow().
11101         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11102         (cursorUp):
11103         (cursorDown): support for locking an inset if the x_fix value goes
11104         inside it. That way I can transverse insets too with cursor up/down.
11105
11106         * lyxrow.h: added irow helper function same as other (i) functions.
11107
11108         * BufferView_pimpl.C (cursorPrevious):
11109         (cursorNext): fixed for insets!
11110
11111 2002-04-15  Juergen Vigna  <jug@sad.it>
11112
11113         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11114         position otherwise it is wrong in some cases.
11115
11116         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11117         inside the inset before the call.
11118
11119 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11120
11121         * buffer.[Ch] (getBibkeyList): make it const.
11122
11123 2002-04-12  Juergen Vigna  <jug@sad.it>
11124
11125         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11126
11127         * text2.C (getCursorX): new helper function
11128         (setCursor): compute also ix_
11129         (setCursorFromCoordinates): set also ix.
11130
11131         * lyxcursor.h: added ix_ and helper functions.
11132
11133         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11134
11135         * buffer.C (insertStringAsLines): dont break paragraph if the this
11136         paragraph is inside an inset which does not permit it!
11137
11138         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11139         also with no chars on this paragraph.
11140         (paintRowText): only paint stuff if it's inside the workarea!
11141
11142         * paragraph.C (breakParagraph): honor keepempty flag and break the
11143         paragraph always below not above.
11144
11145         * BufferView2.C (unlockInset): update the paragraph layout on inset
11146         unlock as we changed paragraph in such a case.
11147
11148         * lyxfind.C (LyXFind): clear the former selection if not found!
11149
11150         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11151         again called in insertChar().
11152
11153         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11154         an inset which uses the whole row!
11155         (rightMargin): ditto.
11156         (insertChar): force a rebreak if we inserted an inset!
11157
11158 2002-03-28  Herbert Voss  <voss@lyx.org>
11159
11160         * lyxlength.[Ch]: add inBP() to get the right PS-point
11161         units (BigPoint). With inPixels we have rounding errors
11162
11163 2002-04-11  Juergen Vigna  <jug@sad.it>
11164
11165         * text2.C (setCursorFromCoordinates): set iy to the right value.
11166         (setCursor): add check if row->previous exists!
11167
11168         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11169         an old float_type as this was the case in the old code!
11170
11171         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11172
11173         * BufferView2.C (showLockedInsetCursor): use iy
11174         (fitLockedInsetCursor): ditto
11175
11176         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11177         locked insets as there we have the right value now.
11178
11179         * lyxcursor.C: added iy_ variable and iy functions to set to the
11180         baseline of cursor-y of the locked inset.
11181
11182         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11183         (setCursor): fixed for insets which need a full row.
11184
11185         * text.C (rowLastPrintable): don't ignore the last space when before
11186         an inset which needs a full row.
11187         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11188         as last character of a row when before a inset which needs a full row.
11189
11190 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * version.C.in: update date
11193
11194         * text2.C (fullRebreak): try to always return true and see what
11195         happens...
11196
11197 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * MenuBackend.C (expand): use Floating::listName
11200
11201         * FloatList.C (FloatList): add listName argument to the built-in
11202         floats
11203
11204         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11205         text associated with the float.
11206
11207 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11210
11211 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * ShareContainer.h: add a couple of missing typenames.
11214
11215 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11216
11217         * lyxrc.C (getDescription): use _() correctly rather than N_().
11218
11219 2002-03-28  Herbert Voss  <voss@lyx.org>
11220
11221         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11222         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11223
11224 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11225
11226         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11227         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11228
11229 2002-03-29  Juergen Vigna  <jug@sad.it>
11230
11231         * lyxfunc.C (dispatch): add a missing fitCursor call.
11232
11233         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11234         it was scrolled by a cursor move, so return the bool status.
11235
11236         * BufferView.C (fitCursor): return the bool flag also to the outside
11237         world as this is needed.
11238
11239         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11240
11241         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11242         call the edit() as it is not needed (and wrong) IMO.
11243         (workAreaButtonPress): set the screen_first variable before evt.
11244         unlock the inset as this may change screen_first and then we have
11245         a wrong y position for the click!
11246
11247 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * MenuBackend.C (expand): another translation that I missed
11250
11251 2002-03-28  Juergen Vigna  <jug@sad.it>
11252
11253         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11254
11255         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11256
11257 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11260
11261         * MenuBackend.C (expand): fix export/view/update when there is no
11262         document open.
11263
11264 2002-03-27  Herbert Voss  <voss@lyx.org>
11265
11266         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11267         and text%
11268
11269 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * bufferview_funcs.C (currentState): only show paragraph number
11272         for is DEVEL_VERSION is set.
11273
11274         * lyxfunc.C (dispatch): put warning in INFO channel
11275
11276         * MenuBackend.C (expand): translate the name of floats
11277
11278         * FloatList.C (FloatList): mark the float names for translation
11279
11280         * converter.C (convert): use LibScriptSearch
11281
11282 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11283
11284         * MenuBackend.C (defaults): fix default menu (we might as well get
11285         rid of it...)
11286
11287 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11288
11289         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11290         directory.
11291
11292 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * lyxvc.C: reorder includes.
11295
11296 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11299           properly
11300
11301 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * CutAndPaste.C: change layouts earlier on paste
11304           to avoid crashing when calling getFont()
11305
11306 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11309         irritating #error.
11310
11311 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * WorkArea.C: remove 'Pending' debug message.
11314
11315         * most files: ws cleanup
11316
11317         * buffer.[Ch]: ws changes
11318
11319         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11320
11321 2002-03-21  Juergen Vigna  <jug@sad.it>
11322
11323         * tabular.C (SetMultiColumn): collapse also the contents of the
11324         cells and set the last border right. Added a Buffer const * param.
11325
11326 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11327
11328         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11329         linking or not.
11330
11331 2002-03-19  Juergen Vigna  <jug@sad.it>
11332
11333         * text2.C (clearSelection): reset also xsel_cache.
11334
11335         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11336         where it needs to be called (John tells us to do so too :)
11337         (selectionLost): reset sel_cache.
11338
11339         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11340
11341 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11342
11343         * text2.C (setCursorIntern): put debuging code in INSETS channel
11344
11345 2002-03-19  André Pönitz <poenitz@gmx.net>
11346
11347         * lyxfunc.C: tiny whitespace change
11348
11349 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * ToolbarDefaults.C (init):
11352         * LyXAction.C (init):
11353         * commandtags.h:
11354         * BufferView_pimpl.C (Dispatch):
11355         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11356
11357 2002-03-19  Allan Rae  <rae@lyx.org>
11358
11359         * exporter.C (Export): removeAutoInsets before doing anything else.
11360         While I've just introduced a dependency on BufferView this really is
11361         the best place to clean the buffer otherwise you need to cleanup in
11362         a dozen places before calling export or cleanup in a dozen functions
11363         that export calls.
11364
11365         * converter.C (runLaTeX):
11366         (scanLog): Better handling of removeAutoInsets and screen updates.
11367
11368         * lyxfunc.C (dispatch): small whitespace changes
11369
11370 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * WorkArea.C (C_WorkAreaEvent): return a value.
11373         (event_cb): return 1 if we handled the event, 0 otherwise.
11374
11375         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11376
11377 2002-03-18  Juergen Vigna  <jug@sad.it>
11378
11379         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11380         (GetAdditionalWidth): ditto.
11381         (RightLine): ditto.
11382         (LeftLine): ditto.
11383
11384         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11385         inset if we're there actually (probably not used right now but this
11386         is the direction to go for unifying code).
11387         (paste): disable code to clear the selection.
11388
11389         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11390         inside an InsetText and move the check further up as it is in the
11391         wrong place.
11392
11393         * text2.C (pasteSelection): set a selection over the pasted text.
11394
11395 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11396
11397         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11398         and libgraphics to build on Cygwin.
11399
11400 2002-03-15  Juergen Vigna  <jug@sad.it>
11401
11402         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11403         inserting an Inset into the paragraph. I know this is not the best
11404         fix but we already use current_view in CutAndPaste so we will remove
11405         all of it's using at the same time.
11406
11407         * buffer.C (sgmlError): deactivated function till it is rewritten in
11408         the right mode, now it can create problems.
11409
11410         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11411         before accessing it.
11412
11413 2002-03-14  Juergen Vigna  <jug@sad.it>
11414
11415         * undo_funcs.C (textHandleUndo): do the right thing when updating
11416         the inset after the undo/redo.
11417
11418         * text2.C (setCursor): just some testcode for #44 not ready yet.
11419
11420         * undo_funcs.C (textHandleUndo): set the next() and previous()
11421         pointers of the paragraph to 0 before deleting otherwise we have
11422         problems with the Paragraph::[destructor].
11423
11424         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11425         on a paragraph insertion.
11426
11427 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11428
11429         * buffer.C (asciiParagraph): use += operator for char append to
11430         string.
11431
11432         * paragraph.C (getFontSettings): compare >= not just >
11433         (highestFontInRange): ditto
11434         (setFont): ditto
11435
11436 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * paragraph.C: change several algorithm to be more appripriate for
11439         the problem domain. This is lookip in FontList and in the InsetList.
11440
11441 2002-03-13  André Pönitz <poenitz@gmx.net>
11442
11443         * commandtags.h:
11444         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11445
11446 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * commandtags.h:
11449         * LyXAction.C:
11450         * lyxfunc.C:
11451         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11452
11453 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * Painter.C (display): anon helper function, adjust code for this
11456         change.
11457         (pixmap): remove function.
11458
11459         * Painter.h: remove private display variable.
11460
11461         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11462
11463 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11464
11465         * WorkArea.[Ch]: remove figinset_canvas cruft.
11466
11467 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * lyxtextclass.C (operator): add one item cache optimization.
11470
11471         * bufferlist.h: doxy changes
11472
11473         * bufferlist.C: ws changes
11474
11475         * DepTable.[Ch] (ext_exist): place const in the right spot.
11476
11477         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11478         call resizeInsets.
11479         (workAreaExpose): call resizeInsets when the with BufferView changes.
11480         (Dispatch): adjust for protectedBlank removal
11481         (specialChar): call updateInset if the insert went ok.
11482
11483         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11484         specialChar instead.
11485
11486         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11487
11488         * BufferView.h: doxy change
11489
11490         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11491
11492         * lyxtextclass.C (operator[]): remove non-const version
11493         (defaultLayout): remove non-const version
11494
11495 2002-03-12  Juergen Vigna  <jug@sad.it>
11496
11497         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11498         did resize the LyXText too.
11499
11500         * buffer.C (readLyXformat2): set layout information on newly allocated
11501         paragraphs.
11502
11503         * tabular.C (OldFormatRead): set layout information on the paragraph.
11504
11505 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11506
11507         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11508
11509 2002-03-11  Juergen Vigna  <jug@sad.it>
11510
11511         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11512         plainly wrong.
11513         (resizeCurrentBuffer): force also the insets to resize themselfes.
11514         (moveCursorUpdate): fixed up for InsetText.
11515
11516 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11517
11518         * commandtags.h:
11519         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11520         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11521         value of Dialogs::tooltipsEnabled().
11522         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11523
11524 2002-03-08  Juergen Vigna  <jug@sad.it>
11525
11526         * BufferView_pimpl.C (updateInset): update inset inside inset also
11527         if it isn't inside theLockingInset().
11528
11529 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11530
11531         * buffer.C (asciiParagraph): redo some of the word and line length
11532         handling.
11533         (getLists): look for Caption instead of caption.
11534
11535 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11536
11537         * buffer.C (Buffer): initialize niceFile to true
11538         (makeLaTeXFile):
11539         (makeLinuxDocFile):
11540         (makeDocBookFile): make sure niceFile is true on exit
11541
11542 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11543
11544         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11545
11546 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * LyXSendto.C: remove.
11549         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11550         * lyx_gui.C: remove now-redundant comment.
11551         * ColorHandler.h: remove forward declaration of class WorkArea.
11552         * lyxfunc.C: remove #include "WorkArea.h".
11553
11554 2002-03-07  Juergen Vigna  <jug@sad.it>
11555
11556         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11557         got moved away with the DEPM and also set the inset_owner always
11558         right which before could have been omitted.
11559
11560 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11563         wanted layout is not found.
11564
11565 2002-03-07  Juergen Vigna  <jug@sad.it>
11566
11567         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11568
11569 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11570
11571         * paragraph.C (breakParagraph): use default layout not layout of
11572         prev paragraph.
11573         (Paragraph): clear ParagraphParameters.
11574
11575 2002-03-06  Juergen Vigna  <jug@sad.it>
11576
11577         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11578         otherwise it would not be a valid lenght. Fixed a special case in
11579         the minipage compatibility read where we end the document with a
11580         minipage.
11581
11582         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11583         was set as it could be 0 for InsetTexts first entry.
11584
11585 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * paragraph.C (writeFile): if layout is empty write out
11588         defaultLayoutName().
11589
11590         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11591         file without named layout we set layout to defaultLayoutName().
11592
11593 2002-03-06  Juergen Vigna  <jug@sad.it>
11594
11595         * CutAndPaste.C (copySelection): set layout for new paragraph.
11596
11597         * text.C (prepareToPrint): leave ERT inset left aligned
11598         (leftMargin): don't indent paragraphs inside ERT insets
11599
11600 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * paragraph.C (breakParagraph): dont call clear do the work manually
11603
11604         * paragraph.[Ch] (clear): remove function
11605
11606 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * paragraph.C (Paragraph): dont call clear, the work has already
11609         been done.
11610
11611         * lyxtextclass.C (operator): assert if n is empty
11612
11613         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11614         work manually instead.
11615
11616 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * BufferView_pimpl.C: protect selectionLost against text == 0
11619
11620 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * text.C (breakParagraph): fix a setting layout to '0' problem.
11623
11624 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11625
11626         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11627         final location of file, for the included files, and graphics.
11628
11629 2002-03-05  Juergen Vigna  <jug@sad.it>
11630
11631         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11632
11633 2002-03-04  Juergen Vigna  <jug@sad.it>
11634
11635         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11636
11637         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11638         last column of multicolumn cells.
11639         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11640
11641 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11642
11643         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11644         file if it doesn't go to a temporary file.
11645
11646         * buffer.C (sgmlOpenTag):
11647         (sgmlCloseTag):  remove extra newline insertion.
11648
11649 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * text.C (getRowNearY): comment out debug msg
11652
11653 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11654
11655         * text2.C: first -> first_y
11656
11657         * text.C (getRowNearY): add some attemts at a possible
11658         optimization, not working.
11659
11660         * tabular.[Ch]: add BufferParams to several function so that newly
11661         created paragraph can be initialized to he default layotu for the
11662         buffers textclass.
11663
11664         * tabular-old.C (ReadOld): add buf->params to call of Init
11665
11666         * screen.C: rename text->first to text->first_y
11667
11668         * paragraph.C (breakParagraph): always set layout in the broken
11669         paragraph
11670
11671         * lyxtextclass.C (Read): remove lowercase
11672         (hasLayout): ditto
11673         (operator): ditto
11674         (delete_layout): ditto
11675
11676         * lyxtext.h: rename first -> first_y
11677
11678         * lyxlayout.C (Read): remove lowercase
11679         (name): ditto
11680         (setName): ditto
11681         (obsoleted_by): ditto
11682
11683         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11684
11685         * buffer.C (insertErtContents): add params are to InsetERT
11686         (parseSingleLyXformat2Token): add code to check if a paragraphs
11687         layout really exist.
11688         (parseSingleLyXformat2Token): add params to several inset
11689         constructors
11690         (asciiParagraph): remove lowercase, do the layout comparisons with
11691         no_case
11692
11693         * BufferView_pimpl.C (cursorNext): first -> first_y
11694         (resizeCurrentBuffer): first -> first_y
11695         (updateScrollbar): first -> first_y
11696         (scrollCB): first -> first_y
11697         (workAreaMotionNotify): first -> first_y
11698         (workAreaButtonPress): first -> first_y
11699         (checkInsetHit): first -> first_y
11700         (cursorPrevious): first -> first_y
11701         (cursorNext): first -> first_y
11702         (Dispatch): add buffer_->params to severl inset contructors
11703
11704 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * lyxlayout.C (Read): remove some debug info that I forgot.
11707
11708         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11709         clean up the code slightly.
11710         (makeLinuxDocFile): ditto
11711         (makeDocBookFile): ditto
11712
11713         * text2.C: layout as string
11714
11715         * text.C: layout as string
11716
11717         * paragraph_pimpl.C: layout as string
11718
11719         * paragraph.[Ch]: layout as string
11720
11721         * lyxtextclasslist.[Ch]: layout as string
11722
11723         * lyxtextclass.[Ch]: layout as string
11724
11725         * lyxtext.h: layout as string
11726
11727         * lyxlayout.[Ch]: layout as string
11728
11729         * lyx_cb.C: layout as string
11730
11731         * bufferview_funcs.C: layout as string
11732
11733         * bufferparams.C: layout as string
11734
11735         * buffer.C: layout as string
11736
11737         * LyXView.[Ch]: layout as string
11738
11739         * LaTeXFeatures.[Ch]: layout as string
11740
11741         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11742
11743         * BufferView_pimpl.C: change current_layout to string, remove
11744         lyx::layout_type.
11745         (Dispatch):
11746         (smartQuote):
11747         (insertInset):
11748         (workAreaButtonRelease): layout as string
11749
11750         * BufferView2.C (unlockInset): adjust
11751
11752         * vspace.C (asLatexCommand): use an explict temp variable.
11753
11754 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * Makefile.am: use FRONTEND_*
11757
11758 2002-03-01  Juergen Vigna  <jug@sad.it>
11759
11760         * tabular.C (SetWidthOfMulticolCell): changed to something better
11761         I hope but still work in progress.
11762         (recalculateMulticolumnsOfColumn): renamed function from
11763         recalculateMulticolCells as it is more appropriate now.
11764         (SetWidthOfCell): calculate multicols better.
11765
11766 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767
11768         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11769
11770         * lyxfunc.C (processKeySym): print sequence also if it is
11771         `deleted' (complete)
11772
11773         * kbsequence.C (print): print sequence even if it is deleted
11774         (complete would be a better word, actually).
11775
11776         * lyxfunc.C (dispatch): print complete options after a prefix key
11777
11778         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11779
11780 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11781
11782         * text2.C (setCharFont): eliminate setCharFont code duplication.
11783
11784 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11785
11786         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11787         LFUN_TABULAR_FEATURE (bug #177)
11788
11789 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11790
11791         * Makefile.am: remove figure.h
11792
11793 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11794
11795         * Bufferview_pimpl.C:
11796         * CutAndPasteC:
11797         * LaTeX.C:
11798         * LyXSendto.C:
11799         * buffer.C:
11800         * bufferlist.C:
11801         * converter.C:
11802         * language.C:
11803         * lyxfunc.C:
11804         * lyxvc.C:
11805         * paragraph.C:
11806         * text.C:
11807         * text2.C: remove #include "lyx_gui_misc.h".
11808
11809         * LaTeX.C: added #include <cstdio>
11810
11811 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11814         that the paragraph following this one can have.
11815
11816         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11817
11818         * vspace.C (asLatexCommand): fix bogus gcc warning
11819
11820         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11821
11822 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11823
11824         * text2.C (setLayout): get rid of redundant code
11825
11826 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11827
11828         * text2.C (incDepth): make sure depth cannot be increased beyond
11829         reasonable values.
11830
11831 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11834         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11835
11836         * PainterBase.h (image):
11837         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11838         a LyXImage const *.
11839
11840 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * BufferView.C:
11843         * BufferView.h:
11844         * BufferView_pimpl.C:
11845         * BufferView_pimpl.h:
11846         * LaTeXFeatures.C:
11847         * LyXAction.C:
11848         * LyXView.C:
11849         * Makefile.am:
11850         * UpdateList.h:
11851         * UpdateList.C:
11852         * buffer.C:
11853         * figure.h:
11854         * figureForm.C:
11855         * figureForm.h:
11856         * figure_form.C:
11857         * figure_form.h:
11858         * lyx_cb.C:
11859         * lyx_gui.C:
11860         * lyx_gui_misc.C:
11861         * lyxfunc.C:
11862         * sp_base.h:
11863         * sp_ispell.h:
11864         * sp_pspell.h:
11865         * sp_spell.C: remove fig inset, and the crap house of
11866           cards that follows it
11867
11868 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * Makefile.am:
11871         * lyxserver.C:
11872         * os2_defines.h:
11873         * os2_errortable.h:
11874         * nt_defines.h: move .h into support/
11875
11876         * vms_defines.h: remove
11877
11878         * WorkArea.C: add space in debug output
11879
11880         * text2.C:
11881         * paragraph.C:
11882         * buffer.C: add WITH_WARNINGS
11883
11884         * vc-backend.h:
11885         * vc-backend.C:
11886         * bufferlist.C: s/retrive/retrieve/, add docs
11887
11888         * vspace.h:
11889         * vspace.C:
11890         * kbmap.h:
11891         * lyxlength.h:
11892         * lyxgluelength.h:
11893         * length_common.h:
11894         * chset.h:
11895         * chset.C: add docs
11896
11897         * lyxgui.C: add ID to X error handler
11898
11899         * lyxtestclass.c: fix typo
11900
11901 2002-02-26  Juergen Vigna  <jug@sad.it>
11902
11903         * tabular_funcs.C (write_attribute): changed so that some default
11904         attributes are not written at all.
11905         (getTokenValue): set default values before trying to read the
11906         value so we have the return value always set as default if we don't
11907         find the token we search for.
11908
11909         * tabular.C (Write): write bools as bools not as strings!
11910
11911 2002-02-22  Juergen Vigna  <jug@sad.it>
11912
11913         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11914         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11915
11916         * text.C (leftMargin): don't add an indent for paragraphs inside
11917         tabular cells (fix #208).
11918
11919 2002-02-21  José Matos  <jamatos@fep.up.pt>
11920
11921         * tabular.C (docBook): fixed support for long tables.
11922
11923 2002-02-20  Juergen Vigna  <jug@sad.it>
11924
11925         * text2.C (getFont): get the drawing font of the Inset if this
11926         paragraph is inside an inset (only important for InsetERT for now).
11927
11928         * buffer.C (insertErtContents): use new lanugage params in ERT
11929         constructor.
11930
11931         * CutAndPaste.C: commenting out seemingly uneeded code.
11932
11933 2002-02-19  Allan Rae  <rae@lyx.org>
11934
11935         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11936         Iterators might be simple to use but they also get invalidated.
11937         (removeAutoInsets): renamed saved cursor tracking variables and added
11938         some comments to clarify what everything does.
11939
11940 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11941
11942         * Chktex.C:
11943         * LaTeX.C:
11944         * LyXSendto.C:
11945         * converter.C:
11946         * lyx_cb.C:
11947         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11948         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11949
11950         * lyxfunc.C:
11951         * vc-backend.h: remove #include "support/syscall.h"
11952
11953         * LaTeX.C:
11954         * LyXSendto.C:
11955         * converter.C: rearrange #includes in Lars' approved fashion.
11956
11957         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11958         forward declare class Timeout in the header file.
11959
11960         * XFormsView.C: changes due to the above.
11961
11962         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11963         similar to LyXView.
11964
11965         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11966         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11967
11968 2002-02-18  José Matos  <jamatos@fep.up.pt>
11969
11970         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11971         insets contents.
11972
11973 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11974
11975         * a lot of small ws changes
11976         * add a lot of using std::XXX
11977         * use std construcs some places where approp.
11978         * use some exisint stuff from lyxfunctional where approp.
11979         * Make file changes to use partial linking (lets test this now...)
11980
11981 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11982
11983         * Chktex.C:
11984         * buffer.C:
11985         remove #include "support/syscontr.h" as it's redundant. Always has been.
11986
11987         * Chktex.C:
11988         * LaTeX.C:
11989         * LyXSendto.C:
11990         * converter.C:
11991         * lyx_cb.C:
11992         * vc-backend.C:
11993         change Systemcalls::System to Systemcalls::Wait and
11994         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11995         No change of functionality, just reflects the stripped down Systemcalls
11996         class.
11997
11998 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11999
12000         * debug.[Ch]: add a GRAPHICS type to the enum.
12001
12002 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12003
12004         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12005
12006         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12007         there is an inset.
12008
12009 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12012         match the changes below.
12013
12014         * text2.C (toggleInset): if there is not editable inset at cursor
12015         position, try to see if cursor is _inside_ a collapsable inset
12016         and close it.
12017
12018 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12019
12020         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12021         document menu has a nice checkbox
12022
12023 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * lyxlength.C (asLatexString): change PW to output as percent of
12026         \textwidth.
12027
12028         * lengthcommon.C: change '%' to 't%'
12029
12030         * lyxfunc.C (dispatch): a few comments from Martin
12031
12032 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12033
12034         * WorkArea.h:
12035         * WorkArea.C:
12036         * BufferView_pimpl.h:
12037         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12038           the X selection.
12039
12040 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * vspace.C (inPixels): fix compiler warning
12043
12044 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12045
12046         * lyxfunc.C (getStatus): fix status message for disabled commands.
12047
12048 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * BufferView_pimpl.C: fix crash on close buffer
12051         during selection (#227)
12052
12053 2002-01-27  Herbert Voss  <voss@lyx.org>
12054
12055         * buffer.C: link old Figure to new graphic inset
12056
12057 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * FontLoader.C (getFontinfo): Change the latex font names in order
12060         to match the names of type1inst.
12061
12062 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12065
12066         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12067         (extchanged): ditto
12068         (ext_exist): ditto
12069         (remove_files_with_extension): ditto
12070         (remove_file): ditto
12071         (write): ditto
12072
12073         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12074         document is smaller than the work area height. Do not initialize
12075         static variables to 0.
12076
12077 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12080
12081         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12082         LFUN_LAYOUT_PARAGRAPHS.
12083
12084         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12085         tabular. It is possible to provide a possible cell, which will
12086         typically be the actcell from the corresponding insettabular
12087
12088         * lyxfunc.C (getStatus): small cleanup; disable
12089         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12090         true
12091
12092 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12093
12094         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12095
12096         * paragraph.C (startTeXParParams):
12097         (endTeXParParams): new methods. The LaTeX code to
12098         start/end paragraph formatting
12099         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12100         empty (fixes bug #200)
12101
12102         * vspace.C (inPixels): adapt to the change below
12103         (inPixels): [later] more cleanups (remove unused variables)
12104
12105         * lyxlength.C (inPixels): change to use a width and a height as
12106         parameter.
12107
12108 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12109
12110         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12111         Replaced with \paperwidth
12112
12113         * DepTable.C (insert): add std:: qualifier
12114
12115 2002-01-18  Allan Rae  <rae@lyx.org>
12116
12117         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12118         updated also?
12119
12120         * text.C (drawInset): Turned out I didn't know enough about how
12121         rebreaking worked.  This fixes most of the redraw problems.  I see
12122         an occasional cursor trail when a line is broken now and the cursor
12123         placement can seem out by a few pixels also after a rebreak.
12124
12125 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12126
12127         * buffer.C (parseSingleLyXformat2Token): update because minipage
12128         width is now a LyXLength
12129
12130         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12131
12132         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12133         math insets
12134
12135 2002-01-17  Juergen Vigna  <jug@sad.it>
12136
12137         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12138
12139         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12140         is set correctly and the inset is updated correctly.
12141
12142 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143
12144         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12145         the beginning of the loop.
12146
12147 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * lyxrc.C: improve help for use_scalable_fonts
12150
12151 2002-01-17  Allan Rae  <rae@lyx.org>
12152
12153         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12154
12155 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12156
12157         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12158         make sure to set their inset_owner to the right value (bug #171)
12159
12160 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12161
12162         * DepTable.h
12163         * DepTable.C: Implement mtime checking to reduce time spent doing
12164         CRCs.
12165
12166 2002-01-16  Juergen Vigna  <jug@sad.it>
12167
12168         * tabular.C (GetAdditionalHeight): one of error fixed.
12169
12170         * lyxrc.C (output): small fix in writing use_pspell.
12171
12172 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12173
12174         * sp_base.h: #include LString.h
12175
12176 2002-01-16  Allan Rae  <rae@lyx.org>
12177
12178         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12179         Can someone check this please?
12180
12181         * text.C (drawInset): It was possible that p.row would be removed by
12182         breakAgainOneRow upsetting a few other settings.  There may be another
12183         small tweak possible by setting need_break_row = 0 when p.row has been
12184         removed but I don't know enough about the logic here.
12185
12186 2002-01-15  Allan Rae  <rae@lyx.org>
12187
12188         * text.C (insertChar): removed conditional truism.
12189
12190         * BufferView2.C (removeAutoInsets): More tweaks.
12191         cur_par_prev could be a stray pointer.  Check for trailing empty line
12192         in case last line was cur_par and only had an error inset on it.
12193
12194 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12195
12196         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12197         absolute
12198
12199         * vc-backend.C (most methods):
12200         * exporter.C (Export):
12201         * converter.C (convert):
12202         (runLaTeX):
12203         * LyXSendto.C (SendtoApplyCB):
12204         * lyxfunc.C (dispatch):
12205         (menuNew):
12206         (open):
12207         (doImport):
12208         * lyx_cb.C (AutoSave):
12209         (InsertAsciiFile):
12210         * BufferView_pimpl.C (MenuInsertLyXFile):
12211         * buffer.C (runChktex): use Buffer::filePath().
12212
12213         * buffer.h: rename filename to filename_; rename filepath to
12214         filepath_ and make it private
12215         (filePath): new method
12216
12217         * buffer.C (writeFile): use fileName()
12218         (getLatexName):
12219
12220         * lyx_main.C (init): fix starting  of LyX when the binary is a
12221         link from so,ewhere else.
12222
12223         * minibuffer.C: include <cctype> for isprint
12224
12225 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12226
12227         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12228         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12229         name clash with InsetCollapsable's width function.
12230
12231 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * lastfiles.C: include <iterator>
12234
12235 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12236
12237         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12238         std::count.
12239
12240         * buffer.C (makeLaTeXFile): ditto.
12241         Also make loop operation more transparent.
12242
12243 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12244
12245         * ToolbarDefaults.C: remove trailing comma closing namespace.
12246
12247         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12248
12249         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12250         as in WorkArea.
12251
12252         * trans.C (Load): comment out unused variable, allowed.
12253
12254 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12255
12256         * minibuffer.[Ch] (append_char): new method to recieve input from the
12257         drop-down completion browser. If a key was pressed, then recieve this
12258         char and append it to the existing string.
12259         (peek_event): modify the positioning data passed to the completion
12260         browser so that it can be placed above the minibuffer rather than below.
12261 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * LyXAction.C (init): alloe error-next for readonly documents.
12264
12265         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12266         count.
12267
12268 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12269
12270         * bufferlist.C (readFile): create the buffer _after_ checking that
12271         the file exists.
12272
12273         * lyxfunc.C (verboseDispatch): fix handling of arguments
12274
12275         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12276
12277         * lyxrc.C: use string::erase() instead of initializing to "".
12278
12279
12280 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12281
12282         * BufferView_pimpl.h:
12283         * BufferView_pimpl.C:
12284         * WorkArea.h:
12285         * WorkArea.C:
12286         * text2.C: tell X when we have made a selection for copying
12287
12288 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12289
12290         * BufferView_pimpl.C (MenuInsertLyXFile):
12291         * lyxfunc.C (menuNew):
12292         (open):
12293         (doImport): add shortcuts to directory buttons
12294
12295         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12296         open a float)
12297
12298         * lyxfunc.C (setStatusMessage):
12299         (getStatusMessage): new methods
12300         (getStatus):use setStatusMessage instead of setErrorMessage
12301         (dispatch): when function is disabled, set error message here
12302         [instead of in getStatus previously]
12303
12304         * BufferView_pimpl.C (workAreaButtonRelease): update
12305         toolbar/menubar here too.
12306
12307 2002-01-13  Allan Rae  <rae@lyx.org>
12308
12309         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12310         Now seems indestructible.  Remaining task is to audit all other
12311         code affected by deleteEmptyParagraphMechanism.  One small quirk
12312         left is that an empty document with an error in the preamble can
12313         be made to report an error but no error box appears.  I don't know
12314         where it goes.
12315         (removeAutoInsets): Improved comments.
12316
12317 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * Thesaurus.h:
12320         * Thesaurus.C: update for Aiksaurus 0.14
12321
12322 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * text2.C (firstParagraph): removed member function, all uses
12325         replaces with ownerParagraph
12326         (redoParagraphs): here
12327         (updateInset): here
12328         (toggleAppendix): here
12329         * BufferView2.C (insertErrors): here
12330         (setCursorFromRow): here
12331
12332 2002-01-13  Allan Rae  <rae@lyx.org>
12333
12334         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12335         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12336         There is still a way to segfault this although you may have to do this
12337         multiple times: Have an InsetERT with an unknown command in it.
12338         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12339         <down-arrow>, <Enter> again, View->DVI, BANG!
12340
12341         * text2.C (setCursor):
12342         (deleteEmptyParagraphMechanism):
12343         * lyxtext.h (setCursor):
12344         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12345         Making use of the return value may help fix other bugs.
12346
12347 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12348
12349         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12350
12351         * LyXView.C (updateMenubar): call MenuBar::update here
12352         (updateToolbar): but not here
12353         (showState): do not update toolbar/menubar
12354
12355         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12356         should need to care about that.
12357
12358         * lyxfunc.C (verboseDispatch): simplify a bit
12359         (getStatus): have a version which takes a pseudoaction, and
12360         another which requires a (kb_action,string).
12361
12362         * LyXAction.C (retrieveActionArg): make it work also when action
12363         is not a pseudo-action.
12364         (getActionName): simplify a bit
12365         (helpText):
12366
12367 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12368
12369         * lyxfunc.C (verboseDispatch): new families of methods with
12370         several ways to specify a command and a bool to indicate whether
12371         the command name and shortcut should be displayed in minibuffer
12372         (eventually, we could extend that to a finer bitmask like
12373         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12374         (dispatch): the pristine dispatch command which just, well,
12375         dispatchs! Note it still sets its result to minibuffer; I'm not
12376         sure we want that.
12377
12378         * lyxfunc.h: remove setHintMessage
12379
12380         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12381
12382 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12383
12384         * BufferView_pimpl.C (specialChar): delete new inset if we have
12385         not been able to insert it.
12386
12387         * kbmap.C: revert to using int instead of kb_action, since all we
12388         are dealing with is pseudo-actions.
12389
12390         * LyXAction.C (searchActionArg): change to return int instead of
12391         kb_action, since the result is a pseudoaction.
12392
12393 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12394
12395         * buffer.C (insertErtContents): Fix (partially) the font bug.
12396
12397 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12398
12399         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12400         as the other one is broken on my machine!
12401
12402 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12403
12404         * commandtags.h:
12405         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12406
12407 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12408
12409         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12410         reflect their actual use. Provide compatibility code for older lyxrc
12411         files.
12412
12413         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12414         FL_NORMAL_STYLE.
12415         change names of popup font variables in line with the changes to lyxrc.C
12416
12417 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12418
12419         * buffer.C (asciiParagraph): avoid outputing a word twice after
12420         an inset.
12421
12422         * lyxrc.C (getDescription): document that document_path and
12423         template_path can be empty.
12424
12425 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12426
12427         * LaTeXFeatures.C (getMacros):
12428         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12429
12430         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12431
12432         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12433         getPackages.
12434         (getPackages): rename feature "floats" to "float". Use an array to
12435         iterate over 'simple' features (i.e. just a \usepackage). Add
12436         handling of "amsmath" (renamed from "amsstyle").
12437
12438 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12439
12440         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12441         features list.
12442
12443 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12444
12445         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12446         FuncStaus::FuncStatus & FuncStaus::some_method().
12447
12448 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12449
12450         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12451         of the func_satus stuff. Edited and massaged in various ways by
12452         JMarc.
12453
12454         * lyxfunc.C (getStatus): use FuncStatus
12455
12456 2002-01-08  Juergen Vigna  <jug@sad.it>
12457
12458         * text.C (nextBreakPoint): use function Inset::isChar().
12459
12460         * paragraph.C (TeXOnePar): use function
12461         Inset::forceDefaultParagraphs.
12462
12463         * buffer.C (latexParagraphs): use function
12464         Inset::forceDefaultParagraphs.
12465
12466 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12467
12468         * lyx_gui.C (init): set the style of the menu popups to
12469         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12470
12471 2002-01-07  Juergen Vigna  <jug@sad.it>
12472
12473         * text.C (setHeightOfRow): small fix
12474         (prepareToPrint): don't look at alignment if we don't have the place
12475         for doing it.
12476
12477 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12478
12479         * box.C: New file. Move the Box methods and functions out of box.h,
12480         following Lars' suggestion.
12481
12482 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * box.h: #include "support/LOstream.h", needed for inlined function.
12485
12486         * lyxtextclass.C:
12487         * lyxtextclasslist.C: added some using std declarations.
12488
12489 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * box.h: make signed dimensions to allow insets wider than
12492           the screen (bug #162)
12493
12494         * BufferView_pimpl.C: add some insetHit debug
12495
12496 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * vc-backend.C: add FIXME
12499
12500 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * lyxfunc.C (getStatus): enable code for showing math font status
12503         in toolbar/menu.
12504
12505 2002-01-07  Juergen Vigna  <jug@sad.it>
12506
12507         * text.C (nextBreakPoint): removed debug output not needed anymore.
12508
12509 2002-01-06  Juergen Vigna  <jug@sad.it>
12510
12511         * text.C (nextBreakPoint): fixed up this function we had this bug
12512         since ever but now hopefully we break row better.
12513         (insertChar): we have to check if an inset is the next char as it
12514         could now happen that a large inset is causing a break.
12515
12516 2002-01-05  Juergen Vigna  <jug@sad.it>
12517
12518         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12519         if it doesn't like to be drawed.
12520
12521 2002-01-04  Juergen Vigna  <jug@sad.it>
12522
12523         * BufferView2.C (lockInset): forgot to set a cursor.
12524
12525         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12526
12527 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12528
12529         * FormMathsPanel.C:
12530         * FormMathsPanel.h
12531         * MathsSymbols.C:
12532         * form_maths_panel.C:
12533         * form_maths_panel.h:
12534         * form_maths_panel.fd: implemented sub- and super- buttons in math
12535         panel.
12536
12537         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12538         (or ^ space) to be used as in TeX (req'd by André).
12539
12540         * lyxfunc.C: Allow ^ and _ again to be used both as
12541         super/subscript (mathed) and as themselves (in text).
12542
12543 2002-01-03  Allan Rae  <rae@lyx.org>
12544
12545         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12546         "LyX" or the filename of the current buffer if it has one.  This is a
12547         modified form of John Levon's patch.
12548
12549         * XFormsView.C (setWindowTitle): also set icon title.
12550
12551         * LyXView.h (setWindowTitle): signature changed.
12552         * XFormsView.h (setWindowTitle): ditto.
12553
12554 2002-01-02  Juergen Vigna  <jug@sad.it>
12555
12556         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12557
12558 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * screen.C (topCursorVisible): introduce a temp var for
12561         text->cursor.row(), handle the case where this row is null. (kindo
12562         hachish)
12563
12564         * text2.C (setCursor): add a couple of asserts.
12565
12566         * paragraph.h (inset_iterator): add -> operator
12567
12568         * paragraph.[Ch] (autoDeleteInsets): remove member function
12569
12570         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12571         cursor pos correctly and handle inset deletion by itself.
12572         (insertErrors): move iterator declaration out of for expression
12573
12574         * lyxtextclass.C: add <algorithm>
12575
12576         * Makefile.am: added the new files to sources, removed layout.C
12577
12578         * layout.C: removed file
12579
12580         * layout.h: remove LYX_DUMMY_LAYOUT
12581
12582         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12583         layout.
12584
12585         * lyxlayout.[Ch]:
12586         * lyxtextclass.[Ch]:
12587         * lyxtextclasslist.[Ch]: new files
12588
12589         * include order changes to a lot of files, also changes because of
12590         the six new files.
12591
12592 2001-12-27  Juergen Vigna  <jug@sad.it>
12593
12594         * buffer.C (asciiParagraph): more fixes.
12595
12596         * tabular.C (ascii): make ascii export support export of only the
12597         data separated by a column-delimiter.
12598         (ascii): better support for ascii export.
12599
12600         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12601
12602 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * tabular_funcs.C: use a "using std::getline" instead of the
12605         previous fix from Angus (necessary for cxx + lyxstring)
12606
12607 2001-12-24  Juergen Vigna  <jug@sad.it>
12608
12609         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12610
12611         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12612         problems. First check a minipage also if we have some ert-contents
12613         (not only on par->size(), second set the right depth of the paragraph
12614         on the relink to the root-paragraph-list!
12615
12616         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12617         which then did not anymore update the main paragraphs on undo/redo!
12618
12619 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12620
12621         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12622         code. Support all font-changing funcs (even those which are not in
12623         menu currently). Support for reporting font settings in
12624         mathed (disabled until Andre provides a function on mathed's side).
12625
12626         * func_status.h (toggle): small helper function to set toggle
12627         state on a flag.
12628
12629 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12630
12631         * tabular_funcs.C: getline -> std::getline
12632
12633 2001-12-21  Juergen Vigna  <jug@sad.it>
12634
12635         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12636         accessed and could be 0 (I couldn't generate this but it seems
12637         Michael could!).
12638
12639 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12640
12641         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12642         * tabular_funcs.h: here and include iosfwd
12643
12644 2001-12-20  Juergen Vigna  <jug@sad.it>
12645
12646         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12647         inside inset but undo_par was.
12648
12649 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12650
12651         * Thesaurus.C: always include <config.h> in sources.
12652
12653         * Painter.h:
12654         * lyxlookup.h:
12655         * box.h: do not include <config.h> in header files
12656
12657         * text.C (paintLastRow): remove unused variable
12658
12659         * text.C (transformChar):
12660         (insertChar):
12661         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12662
12663         * Painter.C (text):
12664         * font.C (width): rewrite to use uppercase() instead of
12665         islower/toupper.
12666
12667         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12668
12669 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * lyxfind.C: clean up of find failure position change
12672
12673 2001-12-20  Juergen Vigna  <jug@sad.it>
12674
12675         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12676
12677         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12678         (TeXRow): added to LaTeX a single tabular row.
12679         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12680         (Latex): simplified and finally good LT-h/f support.
12681         (various_functions): just small adaptions for LT-h/f support.
12682
12683         * tabular_funcs.[hC]: added and moved here all not classfunctions
12684         of LyXTabular.
12685
12686 2001-12-19  Juergen Vigna  <jug@sad.it>
12687
12688         * tabular.[Ch]: better support for longtabular options (not finished
12689         yet!)
12690
12691 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * text.C (paintLastRow): use the label font instead of the font of
12694         the last character to compute the size of *_BOX. This makes more
12695         sense and avoids a crash with empty paragraphs.
12696         Use Painter::rectangle to draw EMPTY_BOX.
12697
12698 2001-12-19  Juergen Vigna  <jug@sad.it>
12699
12700         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12701         the paragraphs if the replaced paragraph is not the first one!
12702         Tried to delete not used paragraphs but does not work yet so for
12703         now it's inside #ifdef's and by default off!
12704
12705 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12706
12707         * MenuBackend.C: include "lyx_main.h" instead of declaring
12708         lastfiles (actually was declared as LastFiles* instead of a
12709         scoped_ptr).
12710
12711 2001-12-17  Juergen Vigna  <jug@sad.it>
12712
12713         * tabular.C (AppendColumn): applied John's fix
12714
12715 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * BufferView.h:
12718         * BufferView.C:
12719         * BufferView_pimpl.h:
12720         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12721
12722         * Makefile.am:
12723         * box.h: new start of class for above
12724
12725         * lyxfunc.C: ignore space-only minibuffer dispatches.
12726           Show the command name when it doesn't exist
12727
12728         * minibuffer.C: don't add empty lines to the history
12729
12730         * minibuffer.C: add a space on dropdown completion
12731
12732 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12733
12734         * text.C: fix line above/below drawing in insets
12735
12736 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * lyxlength.C (LyXLength): Initialize private variables.
12739
12740 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12741
12742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12743         when inserting error insets.
12744
12745 2001-12-13  Juergen Vigna  <jug@sad.it>
12746
12747         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12748         actually sometimes the before-paragraph.
12749         (setUndo): don't clear the redostack if we're not actually undoing!
12750
12751 2001-12-06  Juergen Vigna  <jug@sad.it>
12752
12753         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12754         and fixed redoing of main paragraph, so we can use it now ;)
12755
12756         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12757
12758 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12759
12760         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12761         Juergen's request
12762
12763 2001-12-13  André Pönitz <poenitz@gmx.net>
12764
12765         * undostack.[Ch]:
12766         * undo_func.C: minor cleanup
12767
12768 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12769
12770         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12771         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12772         font in urw-fonts package which is marked as -urw-fontspecific and
12773         does not work (incidentally, changing the encoding in the
12774         fonts.dir of this package to -adobe-fontspecific fixes the
12775         problem).
12776
12777         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12778         is a crash when undoing first paragraph (Juergen, please take a
12779         look). THis does not mean the undo fix is wrong, just that it
12780         uncovers problems.
12781
12782         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12783         the (Paragraph*) version when needed instead of duplicating the
12784         code.
12785
12786         * text.C (workWidth): use Inset::parOwner to find out where the
12787         inset has been inserted. This is a huge performance gain for large
12788         documents with lots of insets. If Inset::parOwner is not set, fall
12789         back on the brute force method
12790
12791         * paragraph_pimpl.C (insertInset):
12792         * paragraph.C (Paragraph):
12793         (cutIntoMinibuffer): set parOwner of insets when
12794         inserting/removing them
12795
12796         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12797
12798 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12799
12800         * commandtags.h:
12801         * LyXAction.C:
12802         * lyx_main.C:
12803         * lyxfunc.C:
12804         * mathed/formulabase.C:
12805         * mathed/math_cursor.[Ch]:
12806         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12807
12808
12809 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * lyxlength.[Ch] (operator!=): new function
12812
12813 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * text.C (workWidth): use Inset::parOwner to find out where the
12816         inset has been inserted. This is a huge performance gain for large
12817         documents with lots of insets. If Inset::parOwner is not set, fall
12818         back on the brute force method
12819
12820         * paragraph_pimpl.C (insertInset):
12821         * paragraph.C (Paragraph):
12822         (cutIntoMinibuffer): set parOwner of insets when
12823         inserting/removing them
12824
12825         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12826
12827 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12828
12829         * tabular-old.C (getTokenValue):
12830         * tabular.C (getTokenValue):
12831         (write_attribute): new versions for LyXLength
12832         (everywhere): adjust the use of widths
12833
12834         * tabular.h: change the type of widths from string to LyXLength
12835
12836 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12837
12838         * paragraph.C: fixed missing line number count when exporting
12839         Environments to LaTeX file
12840
12841         * buffer.C: added informational message for checking line numbers.
12842
12843 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12846         paragraph, do the 'double space' part, but not the 'empty
12847         paragraph' one.
12848
12849         * text.C (workWidth): small optimization
12850         (getLengthMarkerHeight): use minimal size for negative lengths.
12851
12852 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12853
12854         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12855
12856         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12857
12858 2001-12-11  André Pönitz <poenitz@gmx.net>
12859
12860         * FontLoader.C:
12861         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12862
12863 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * text2.C: keep selection on a setFont()
12866
12867 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * lyx_cb.C: another bv->text misuse, from insert label
12870
12871 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * kbsequence.h:
12874         * kbsequence.C: re-instate nmodifier mask
12875
12876 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12877
12878         * lyx_main.h: make lyxGUI private.
12879
12880 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * lyxfind.C: place the cursor correctly on failed search
12883
12884 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12885
12886         * text.C (getLengthMarkerHeight): for small heights, the arrows
12887         are not always on top/bottom of the text
12888         (drawLengthMarker): smaller arrows; take the left margin in
12889         account; draw also vfills.
12890         (paintFirstRow):
12891         (paintLastRow): remove special code for vfill and standard spaces,
12892         since everything is handled in drawLengthMarker now.
12893
12894 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * buffer.C (insertErtContents): try to handle font and language
12897         interaction a bit better.g
12898
12899         * ColorHandler.C (updateColor): change the hash to cover the whole
12900         LColor enum, ws cleanup
12901         (getGCLinepars): ditto
12902         (getGCLinepars): only lookup in the linecache once.
12903
12904 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12905
12906         * iterators.C (operator++): Make the iterator more robust
12907
12908         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12909         (John's patch)
12910         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12911
12912 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * lyxtext.h:
12915         * text.C: better added space drawing
12916
12917 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * LyXView.C:
12920         * BufferView2.C: fix layout combo update on inset unlock
12921
12922 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12923
12924         * Makefile.am: don't compile unused files
12925
12926 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12927
12928         * lyxfunc.C:
12929         * commandtags.h:
12930         * LyXAction.C: remove old LFUN_LAYOUTNO
12931
12932 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * paragraph_pimpl.h:
12935         * paragraph_pimpl.C: isTextAt() doesn't need font param
12936
12937 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * lyxlex.h:
12940         * lyxlex.C: little cleanup
12941
12942 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * BufferView_pimpl.C: fix insertAscii for insets
12945
12946 2001-12-05  Juergen Vigna  <jug@sad.it>
12947
12948         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12949         set the right font on the "multi" paragraph paste!
12950
12951 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * trans_decl.h:
12954         * trans_mgr.[Ch]:
12955         * trans.[Ch]:
12956         * lyxgluelength.C:
12957         * lyxlength.C: remove out-commented code.
12958
12959         * BufferView_pimpl:
12960         * CutAndPaste.C:
12961         * DepTable.C:
12962         * buffer.C:
12963         * chset.C:
12964         * lastfiles.C:
12965         * lyxlex.C:
12966         * lyxlex_pimpl.C:
12967         * lyxserver.C:
12968         * screen.C:
12969         * tabular-old.C:
12970         * tabular.C:
12971         * text.C:
12972         * trans_mgr.C:
12973         * vc-backend.C: change "while(" to "while ("
12974
12975         * lyxlength.[Ch]: add zero function to check if length is zero or
12976         not
12977         * lyxgluelength.C: use it
12978
12979 2001-12-05  Allan Rae  <rae@lyx.org>
12980
12981         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12982         Works for 2.95.3, from what I understand of Garst's reports this should
12983         work for other g++ versions.  We're screwed if the abs(int) definition
12984         changed between bugfix releases of gcc.
12985
12986 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12987
12988         * text.C: fix chapter label offset !
12989
12990 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12991
12992         * lyxtext.h:
12993         * text.C: fix hfill at end of line, clean up
12994
12995 2001-12-04  Juergen Vigna  <jug@sad.it>
12996
12997         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12998         that we force an update of the inset and it's owners if neccessary.
12999
13000 2001-12-03  Juergen Vigna  <jug@sad.it>
13001
13002         * text.C (rowLast): simplified code
13003
13004 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * lyxfunc.C: fix show options on timeout
13007
13008 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * screen.C (topCursorVisible): scroll half a page when the cursor
13011         reached top of bottom of screen
13012
13013 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * minibuffer.C: deactivate on loss of focus
13016
13017 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * vspace.[Ch] (operator!=): add operator.
13020
13021 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13022
13023         * BufferView_pimpl.C: refuse to open an inset when
13024         there's a selection.
13025
13026 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13027
13028         * BufferView_pimpl.C: allow to click on RHS of full row insets
13029
13030 2001-11-30  Juergen Vigna  <jug@sad.it>
13031
13032         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13033         insets for undo reasons.
13034
13035 2001-11-28  André Pönitz <poenitz@gmx.net>
13036
13037         * vspace.[Ch]: cosmetical changes
13038
13039 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * LyXAction.h:
13042         * LyXAction.C:
13043         * lyxfunc.h:
13044         * lyxfunc.C:
13045         * kbmap.h:
13046         * kbmap.C:
13047         * lyxrc.C:
13048         * kbsequence.h:
13049         * kbsequence.C: part re-write of old kb code
13050
13051         * Painter.C:
13052         * WorkArea.C: remove Lgb_bug_find_hack
13053
13054 2001-11-30  José Matos <jamatos@fep.up.pt>
13055
13056         * buffer.C (makeDocBookFile): add a comment to point a hack.
13057         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13058         Fixed a double write of labels.
13059
13060 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13061
13062         * LaTeX.C:
13063         * LaTeX.h Fixed bug in LaTeX class where it would not
13064         re-run latex if no depfiles were changed, but the .dvi was removed.
13065
13066 2001-11-28  André Pönitz <poenitz@gmx.net>
13067
13068         * all the files from the change on 2001/11/26:
13069         use lyx::layout_type instead of LyXTextClass::size_type
13070         use lyx::textclass_type instead of LyXTextClassList::size_type
13071
13072 2001-11-29  Juergen Vigna  <jug@sad.it>
13073
13074         * text.C: added support for paragraph::isFreeSpacing()
13075
13076         * buffer.C: same as above
13077
13078         * paragraph.h: inserted isFreeSpacing() function to enable
13079         FreeSpacing inside InsetERT.
13080
13081         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13082         of the paragraph's in the cut/copy buffer to 0!
13083
13084         * text2.C (removeRow): remove the assert as it can!
13085
13086         * lyxtext.h: added helper function firstRow returning firstrow and
13087         made firstrow private again.
13088
13089         * BufferView2.C (lockInset): don't relock if we're already locked!
13090
13091         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13092         the only paragraph.
13093         (removeRow): added Assert::(firstrow)
13094
13095         * debug.C: forgot to add INSETTEXT here.
13096
13097 2001-11-28  Juergen Vigna  <jug@sad.it>
13098
13099         * sp_spell.C (initialize): changed error text to more general
13100         spellchecker command use (not only ispell!)
13101
13102         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13103
13104         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13105
13106 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * vspace.C: initialise lyxgluelength on failure
13109
13110 2001-11-28  Allan Rae  <rae@lyx.org>
13111
13112         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13113         declaration & definition that looks like a function declaration.
13114
13115 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13116
13117         * BufferView2.C (copy):
13118         (copyEnvironment): do not clear the selection when doing a copy.
13119
13120         * text.C (paintFirstRow): compilation fix
13121
13122 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13123
13124         * tabular.C (Latex): correct line count when writing latex.
13125
13126 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * paragraph_pimpl.h:
13129         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13130           bug a bit
13131
13132 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13133
13134         * text.C:
13135         * LColor.h:
13136         * LColor.C: change vfillline->added_space
13137
13138         * text.C: add markers and text for added space
13139
13140         * vspace.C: fix comment
13141
13142 2001-11-28  André Pönitz <poenitz@gmx.net>
13143
13144         * paragraph.C: whitespace changes
13145         * all the other files from the change on 2001/11/26:
13146         change *::pos_type into lyx::pos_type
13147
13148 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13149
13150         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13151         language of the document when inserting error insets.
13152
13153 2001-11-26  André Pönitz <poenitz@gmx.net>
13154
13155         * BufferView_pimpl.[Ch]:
13156         *       CutAndPaste.C:
13157         * buffer.[Ch]:
13158         * lyxcursor.[Ch]:
13159         * lyxfind.C:
13160         * lyxfunc.C:
13161         * lyxrow.[Ch]:
13162         * paragraph.[Ch]:
13163         * paragraph_pimpl.[Ch]:
13164         * sp_spell.C:
13165         * text.C:
13166         * text2.C: reduce header dependencies, introduce type for positions
13167
13168 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * <various>: change to use Alert.h
13171
13172 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13173
13174         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13175         when encountering an unknown token.
13176         (readLyXformat2): Show an error message if there were unknown tokens.
13177
13178 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13179
13180         * BufferView2.C:
13181         * BufferView_pimpl.C:
13182         * buffer.C:
13183         * paragraph.h:
13184         * text.C:
13185         * text2.C: use par->isInset()
13186
13187 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13188
13189         * paragraph_pimpl.h:
13190         * paragraph_pimpl.C: cleanup
13191
13192 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * text2.C (removeRow):
13195         * text.C (setHeightOfRow): remove useless (and costly) call to
13196         getRow.
13197
13198 2001-11-20  Allan Rae  <rae@lyx.org>
13199
13200         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13201         Now need Inset*::checkInsertChar() to return true for appropriate
13202         cases so that the characters in the minibuffer will actually be
13203         inserted.
13204
13205 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * text.C: change the order of the includes.
13208         (workWidth): initialize it at once.
13209         (workWidth): make maxw unsigned
13210         (setHeightOfRow): remove unused variable (inset)
13211         (selectSelectedWord): remove unused variable (inset)
13212         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13213
13214 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13217         server is not running.
13218         (openConnection):
13219         (closeConnection): add debug info when server is disabled.
13220
13221         * ColorHandler.C (getGCForeground): send debug message to GUI
13222         channel.
13223
13224         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13225
13226         * kbmap.C (bind): modify because return conventions of
13227         kb_sequence::parse have changed.
13228
13229         * kbsequence.C (parse): only ignore spaces and not any stupid
13230         control character. This avoids tests like s[i] <= ' ', which are
13231         guaranteed to fail with 8bit characters and signed chars.
13232         Change return code to string::npos when there have been no error
13233         (0 was a bad idea when error is at first character)
13234
13235 2001-11-14  José Matos  <jamatos@fep.up.pt>
13236
13237         * buffer.h:
13238         * buffer.C (simpleDocBookOnePar): removed unused argument.
13239
13240 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13243         insets which are part of a word. Paragraph::isLetter takes care of
13244         that now. Use Paragraph::isInset to identify insets.
13245         (selectSelectedWord): do not test for hyphenation break.
13246
13247         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13248         that protected spaces are considered as spaces.
13249
13250         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13251         Inset::isLetter.
13252
13253 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * lyxserver.h:
13256         * lyxserver.C: fix it. and small cleanup.
13257
13258 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13259
13260         * BufferView_pimpl.C: use inline helpers
13261
13262         * LaTeXFeatures.h:
13263         * LaTeXFeatures.C: fix typos
13264
13265         * Spacing.h:
13266         * Spacing.C: move spacing_string into class
13267
13268         * ToolbarDefaults.C: move stuff into namespace anon
13269
13270         * layout.h: update enum
13271
13272         * lyxfunc.C: use better debug
13273
13274         * minibuffer.h: fix typo
13275
13276         * debug.h:
13277         * debug.C:
13278         * WorkArea.C: add and use Debug::WORKAREA
13279
13280         * lyxtext.h:
13281         * text.C:
13282         * text2.C: code re-organisation, inline helpers
13283
13284 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13285
13286         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13287         std::vector.empty().
13288
13289 2001-11-09  Allan Rae  <rae@lyx.org>
13290
13291         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13292         '\n's after tables.  Tabular and ERT inset work now makes this no
13293         longer necessary.
13294
13295 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13296
13297         * minibuffer.h:
13298         * minibuffer.C: fix crash, improve drop-down completion
13299
13300 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * lyxserver.h:
13303         * lyxserver.C: invalidate fd's when doing endPipe()
13304
13305 2001-11-08  José Matos  <jamatos@fep.up.pt>
13306
13307         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13308         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13309
13310         * paragraph.h:
13311         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13312
13313 2001-11-07  José Matos  <jamatos@fep.up.pt>
13314
13315         * buffer.h:
13316         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13317         const qualifier.
13318
13319         * buffer.C (sgmlOpenTag):
13320         * buffer.C (sgmlCloseTag): removed debug info.
13321
13322         * buffer.h (sgmlOpenTag):
13323         * buffer.h (sgmlCloseTag): made public.
13324
13325 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * buffer.C (saveParamsAsDefaults):
13328         * lyx_cb.C (MenuLayoutSave): remove
13329
13330         * LyXAction.C (init):
13331         * commandtags.h:
13332         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13333
13334 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * buffer.C (setPaperStuff): removed from here...
13337
13338         * bufferparams.C (setPaperStuff): ... and moved there.
13339
13340 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * minibuffer.h:
13343         * minibuffer.C:
13344         * XFormsView.C: add support for drop-down completion
13345
13346 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13347
13348         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13349         commands.
13350
13351 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13354         disabled.
13355
13356 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13357
13358         * lyx_main.C: change ref to known bugs
13359
13360 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13361
13362         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13363         to work around older babel problems.
13364
13365 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13366
13367         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13368
13369 2001-10-24  Juergen Vigna  <jug@sad.it>
13370
13371         * tabular-old.C (ReadOld): below variable changes reflected.
13372
13373         * tabular.[Ch]: added ltType struct for longtable header/footer
13374         defines and changed all instances where they are used. Added
13375         future support for double top/bottom rows.
13376
13377 2001-10-24  José Matos  <jamatos@fep.up.pt>
13378
13379         * buffer.h (docbookHandleCaption):
13380         * buffer.C (docbookHandleCaption): removed unused function.
13381         (makeDocBookFile): moved docbook supported version to v4.1.
13382
13383 2001-10-24  José Matos  <jamatos@fep.up.pt>
13384
13385         * tabular.h:
13386         * tabular.C (docbookRow): new function to export docbook code of a row.
13387         (DocBook): now honors the longtable flags.
13388
13389 2001-10-23  José Matos  <jamatos@fep.up.pt>
13390
13391         * LaTeXFeatures.h:
13392         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13393         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13394
13395         * buffer.C (makeLinuxDocFile):
13396         (makeDocBookFile): reworked the preamble, more clean, and with
13397         support for lyx defined entities. Changed the document declaration
13398         to be more XML friendly.
13399
13400         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13401         if we need to output XML that should be done with a filter.
13402
13403 2001-10-22  Juergen Vigna  <jug@sad.it>
13404
13405         * sp_pspell.h (class PSpell): add alive function needed in the
13406         controller to see if the spellchecker could be started.
13407
13408 2001-10-22  Juergen Vigna  <jug@sad.it>
13409
13410         * buffer.C (insertStringAsLines): modify the font for inserting
13411         chars in certain conditions by calling checkInsertChar(font).
13412
13413 2001-10-19  Juergen Vigna  <jug@sad.it>
13414
13415         * text.C (workWidth): use getRow instead of wrong algorithm.
13416         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13417
13418 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13419
13420         * lyxserver.h:
13421         * lyxserver.C:
13422         * lyx_main.h:
13423         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13424
13425 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * text.C (workWidth): do not search for the exact row when
13428         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13429         optimization for big documents.
13430
13431 2001-10-18  Juergen Vigna  <jug@sad.it>
13432
13433         * text.C (workWidth): new function with added Inset * parameter.
13434
13435 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13436
13437         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13438
13439         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13440         change return type of getColumnNearX.
13441
13442
13443         * text.C (changeRegionCase): use uppercase/lowercase instead of
13444         toupper/tolower.
13445         (leftMargin):
13446         (rightMargin): simplify code by factoring out the uses of
13447         textclasslist.
13448         (labelFill):
13449         (numberOfHfills):
13450         (setHeightOfRow):
13451         (appendParagraph): use Paragraph::size_type
13452
13453 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13454
13455         * vspace.C (asLatexString): add a missing break
13456
13457 2001-10-15  Herbert Voss  <voss@perce.de>
13458
13459         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13460
13461 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13462
13463         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13464         is not available.
13465
13466 2001-10-10  André Pönitz <poenitz@gmx.net>
13467
13468         * lyxfunc.C: removed greek_kb_flag.
13469
13470 2001-10-10  Herbert Voss  <voss@perce.de>
13471
13472         * lyx_main.C: delete global string help_lyxdir.
13473
13474 2001-10-09  Herbert Voss  <voss@perce.de>
13475
13476         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13477
13478         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13479
13480         * lyx_main.C: added global string help_lyxdir.
13481
13482         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13483
13484 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13485
13486         * lyxrc.C (set_font_norm_type): support iso8859-4
13487
13488 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13489
13490         * LaTeX.C (deplog): add another regex for MikTeX
13491
13492 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13493
13494         * lyxrc.C (set_font_norm_type): support iso8859-3
13495
13496 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13499
13500         * LaTeXFeatures.C: remove special case of french and index
13501
13502         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13503         before \begin{document}). This solves several incompatibilities.
13504
13505 2001-10-03  Garst Reese  <reese@isn.net>
13506
13507         * lyx_cb.C: change CheckTex error msg.
13508
13509 2001-10-03  José Matos  <jamatos@fep.up.pt>
13510
13511         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13512
13513 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13514
13515         * .cvsignore: update
13516
13517         * lyx_main.C (commandLineVersionInfo): use new style version info.
13518
13519         * buffer.C (writeFile):
13520         (makeLaTeXFile):
13521         (makeLinuxDocFile):
13522         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13523
13524         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13525
13526         * version.h: update to use stuff in version.C
13527
13528         * version.C.in: new file. Contains version information determined
13529         at compile time. This is a merging of version.h and
13530         version_info.h.in.
13531
13532 2001-10-03  Juergen Vigna  <jug@sad.it>
13533
13534         * BufferView_pimpl.C (update): don't change "dirty" status in
13535         updateInset call.
13536
13537 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * WorkArea.C (c-tor): re-position version string slightly.
13540
13541 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13542
13543         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13544         revert to previous code.
13545
13546         WorkArea.[Ch]: (show, destroySplash): methods removed.
13547
13548         WorkArea.C: rework code so that it's an amalgam of the codes before and
13549         after the splash screen was moved to WorkArea.
13550
13551 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * lyxrc.C (read):
13554         * vspace.C (inPixels):
13555         (lyx_advance):
13556         * kbmap.C (bind):
13557         * buffer.C (insertStringAsLines):
13558         (asciiParagraph): fix types to be large enough
13559
13560         * lyxlex_pimpl.h: change member status from short to int
13561
13562         * layout.h: fix type of endlabeltype
13563
13564         * kbmap.C (bind):
13565         * kbsequence.C (parse): change return type to string::size_type
13566
13567         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13568         variable
13569
13570         * Bullet.C (bulletSize):
13571         (bulletEntry): do not use short ints as parameters
13572
13573         * BufferView2.C (insertLyXFile): change a char to an int.
13574
13575         * WorkArea.C (WorkArea): remove unneeded floats in computation
13576
13577 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13578
13579         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13580
13581         * paragraph.C (asString): Do not ignore newline/hfill chars when
13582         copying to the clipboard.
13583
13584 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13585
13586         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13587         after a multi-line inset.
13588
13589 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13590
13591         * paragraph.C (validate): Set NeedLyXFootnoteCode
13592
13593 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13596         and decrease-error to decrease.
13597
13598 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13599
13600         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13601         it more readable (should be equivalent)
13602
13603 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13604
13605         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13606
13607 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13610         of a cursor (row, etc.) after a character has been deleted
13611         (deleteEmptyParagraphMechanism): call the method above on _all_
13612         cursors held by the LyXText when a double space has been
13613         detected/deleted.
13614
13615 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13616
13617         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13618         pixmap.
13619         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13620
13621         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13622         background. Use greyOut() and the new show() methods to toggle between
13623         the foreground and background. Add code to remove the splash after
13624         its initial showing.
13625
13626         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13627         (create_forms): no longer call Dialogs::showSplash.
13628
13629 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * .cvsignore: add version_info.h
13632
13633 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13634
13635         * version_info.h.in: new file
13636
13637         * Makefile.am: add version_info.h.in
13638
13639         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13640         version_info.h instead of VERSION_INFO
13641
13642 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13643
13644         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13645         The ERT inset now returns string().
13646
13647 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * lyxtext.h, text.C (selectNextWord): renamed as
13650         selectNextWordToSpellcheck.
13651
13652         * text.C (selectNextWordToSpellcheck): Modified to not select
13653         words inside an ERT inset.
13654
13655 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * lyx_cb.C (MenuLayoutSave): change a bit the question
13658
13659         * sp_base.h: include <sys/types.h>
13660
13661 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13662
13663         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13664
13665 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13666
13667         * several files: fix typos in user-visible strings
13668
13669 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * text2.C (pasteSelection): do not set the selection, since it
13672         will be cleared later. Actually, the intent was to fix the way the
13673         selection was set, but I figured rmoving the code was just as good.
13674
13675 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * FontLoader.C (available): Check if font is available without
13678         loading the font.
13679
13680 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13681
13682         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13683
13684 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13685
13686         * lyxrc.[Ch]: added display_graphics variable and associated code.
13687
13688 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * bufferparams.C (hasClassDefaults): new method. Returns true if
13691         the buffer parameters correspond to known class defaults
13692
13693 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13694
13695         * XFormsView.C (show): set minimum size to the main window.
13696
13697 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13698
13699         * text2.C (copySelection):
13700         (cutSelection):
13701         * lyxfind.C (LyXReplace):
13702         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13703         LyXText::selectionAsString.
13704
13705         * paragraph.C (asString): add "label" argument to the second form
13706
13707         * text2.C (selectionAsString): add "label" argument and pass it to
13708         Paragraph::asString.
13709
13710 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * lyx_main.C (commandLineHelp): remove version information
13713
13714 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13715
13716         * lyx_main.C: add -version commandline option
13717
13718 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * paragraph.h: make the optional constructor arg required instead.
13721         some modifications to other files because of this.
13722
13723         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13724
13725         * lyxserver.C (C_LyXComm_callback): make it static
13726
13727         * lyx_main.C (error_handler): make it static
13728
13729         * lyx_gui.C (LyX_XErrHandler): make it static
13730
13731         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13732
13733         * WorkArea.C: make the extern "C" methods static.
13734
13735         * Makefile.am (lyx_LDADD): simplify
13736
13737 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13738
13739         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13740         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13741
13742         * LyXAction.C (init):
13743         * lyxfunc.C (dispatch): associated code removal.
13744
13745 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13746
13747         * lyxfont.h (isSymbolFont): shut off warning
13748
13749         * text.C (setHeightOfRow):
13750         (getVisibleRow): fix crash with empty paragraphs which have a
13751         bottom line
13752
13753 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13754
13755         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13756         code.
13757
13758 2001-09-04  José Matos  <jamatos@fep.up.pt>
13759         * buffer.C
13760         * buffer.h
13761         * tabular.C (docbook): rename docBook method to docbook.
13762
13763 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13764
13765         * Makefile.am: add dependencies to main.o.
13766
13767 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13768
13769         * FontLoader.C (available): Return false if !lyxrc.use_gui
13770
13771 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13772
13773         * FontInfo.C (query):
13774         * converter.C (view):
13775         * importer.C (Import):
13776         * exporter.C (Export): Can not -> cannot.
13777
13778 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * BufferView_pimpl.C: allow to create index inset even if
13781           string is empty
13782
13783 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13784
13785         * buffer.C (getLists): replace boost::tie code with an explicit pair
13786         as boost::tie can break some compilers.
13787
13788         * iterators.h: Added a std:: declaration to the return type of
13789         ParIterator::size.
13790
13791 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13792
13793         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13794           case.
13795
13796 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13797
13798         * iterators.[Ch]: New files. Provide paragraph iterators.
13799
13800         * buffer.C (changeLanguage): Use paragraph iterators.
13801         (isMultiLingual): ditto
13802
13803         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13804
13805 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13806
13807         * FontLoader.C: Support for cmr font.
13808
13809 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13812         (available): New method.
13813
13814         * FontInfo.C (getFontname): Use scalable fonts even when
13815         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13816         found.
13817
13818 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13819
13820         * converter.C (Formats::view): reverted! Incorrect fix.
13821
13822 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13823
13824         * converter.C (Formats::view): only output the -paper option
13825         if the dvi viewer is xdvi, thereby fixing bug #233429.
13826
13827 2001-08-23  Herbert Voss  <voss@perce>
13828
13829         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13830
13831 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13832
13833         * Spacing.h (Spacing): Set space to Default on in the default
13834         constructor.
13835
13836 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * vc-backend.h (RCS::versionString): add RCS to version
13839         (CVS::versionString): add CVS to version
13840
13841         * vc-backend.C (scanMaster): do not add CVS to version.
13842         (scanMaster): do not add RCS to version
13843
13844         * lyxvc.C (versionString): new method
13845
13846         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13847
13848 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13849
13850         * Spacing.C (set): initialize fval
13851
13852 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13853
13854         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13855         " or \.
13856
13857 2001-08-16  Juergen Vigna  <jug@sad.it>
13858
13859         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13860
13861 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * BufferView_pimpl.C:
13864         * figureForm.C:
13865         * lyxtext.h:
13866         * text2.C: setParagraph takes linespacing now
13867
13868 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * LyxAction.C: add internal LFUN_CITATION_INSERT
13871
13872         * LyXView.C: actually apply fix
13873
13874         * bufferlist.C: fix open non-existent file
13875
13876         * lyxfind.C: fix indentation
13877
13878         * lyxfunc.C: remove unneeded assert, fix typo
13879
13880 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13881
13882         * MenuBackend.C: use "Floatname List"
13883
13884 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13885
13886         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13887         when converting LaTeX layout to insetERT.
13888         Generate a non-collapsed float when reading old float
13889
13890 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13891
13892         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13893         ERT insets.
13894
13895 2001-08-13  Juergen Vigna  <jug@sad.it>
13896
13897         * text.C (fill): return 0 instead of 20 as this seems to be the more
13898         correct value.
13899
13900 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13901
13902         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13903         lyxrc.font_norm.
13904
13905 2001-08-13  Juergen Vigna  <jug@sad.it>
13906
13907         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13908         casesensitive off.
13909         (SearchBackward): comment out the unlocking of the inset_owner this
13910         should not be needed!
13911
13912 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13913
13914         * Many files: Remove inherit_language, and add latex_language
13915
13916         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13917         collapsible insets.
13918
13919 2001-08-10  Juergen Vigna  <jug@sad.it>
13920
13921         * text.C (prepareToPrint): fixed hfill-width in draw!
13922
13923         * BufferView2.C (selectLastWord): save the selection cursor as this
13924         now is cleared in the function LyXText::clearSelection!
13925
13926 2001-08-08  Juergen Vigna  <jug@sad.it>
13927
13928         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13929         BACKSPACE type functions.
13930
13931         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13932         is only cutted from the document but not put in the cut-buffer, where
13933         still the old stuff should be.
13934
13935         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13936
13937         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13938
13939         * tabular.C (SetWidthOfCell): fixed special case where the width
13940         was not updated!
13941         (LeftLine): handle '|' in align_special.
13942         (RightLine): ditto
13943         (LeftAlreadyDrawed): ditto
13944         (SetWidthOfCell): ditto
13945
13946 2001-08-07  Juergen Vigna  <jug@sad.it>
13947
13948         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13949
13950 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13951
13952         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13953         * lyxlex.[hC]: ditto
13954
13955 2001-08-06  Juergen Vigna  <jug@sad.it>
13956
13957         * text.C (getVisibleRow): fix up row clearing a bit.
13958
13959 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13960
13961         * minibuffer.C: make sure the X server sees the changes in the input.
13962
13963 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * paragraph.C (getFont): split into...
13966         (getLabelFont): this
13967         (getLayoutFont): and this
13968         * paragraph_pimpl.C (realizeFont): calling this
13969
13970         * text2.C (getFont): split into...
13971         (getLayoutFont): this
13972         (getLabelFont): and this
13973         (realizeFont): all three calling this
13974
13975         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13976         files where used.
13977
13978 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13979
13980         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13981
13982 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13983
13984         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13985         layouts from the Quote inset insertion.
13986
13987 2001-08-03  Juergen Vigna  <jug@sad.it>
13988
13989         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13990
13991         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13992         only if status not is already CHANGED_IN_DRAW (second level).
13993
13994         * text.C (draw): don't set the need_break_row when inside an
13995         InsetText LyXText.
13996
13997 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13998
13999         * buffer.C (parseSingleLyXformat2Token): handle more latex
14000         conversion cases.
14001
14002         * bufferview_funcs.[hC]: change function names to
14003         begin with small char, adjust other files.
14004
14005 2001-08-02  André Pönitz <poenitz@gmx.net>
14006
14007         * lyxfunc.C:
14008         BufferView_pimpl.C: remove broken special code for math-greek
14009
14010 2001-08-02  Juergen Vigna  <jug@sad.it>
14011
14012         * BufferView_pimpl.C (update): redone this function so that we
14013         update the text again if there was a CHANGE_IN_DRAW.
14014
14015         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14016         (drawFromTo): added a new internal bool which is used by draw() and
14017         redraw() function.
14018         (general): some cursor drawing problems fixed.
14019
14020 2001-08-01  Juergen Vigna  <jug@sad.it>
14021
14022         * lyxfind.C (LyXFind): fixed
14023         (SearchForward): ditto
14024         (SearchBackward): ditto
14025
14026         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14027         spurius drawing of the cursor in the main area.
14028
14029         * text2.C (status): small fix which could lead to a segfault!
14030         (clearSelection): remove unneeded BufferView param.
14031
14032 2001-08-01  André Pönitz <poenitz@gmx.net>
14033
14034         * lyxfunc.C: small change due to changed mathed interface
14035
14036 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14039
14040 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14041
14042         * lyxfunc.c: fail gracefully if file doesn't exist
14043
14044         * LyXSendto.C:
14045         * buffer.C:
14046         * lyxfunc.C:
14047         * BufferView_pimpl.C: IsDirWriteable() proto changed
14048
14049         * LyXView.C: fix updateWindowTitle() to store the last title
14050
14051 2001-07-31  Juergen Vigna  <jug@sad.it>
14052
14053         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14054         the font (wrong since using of Paragraph::highestFontInRange).
14055
14056         * paragraph.C (highestFontInRange): added a default_size parameter.
14057
14058         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14059         (setHeightOfRow): reformat
14060
14061 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * converter.[hC] + affected files: move to (inital-char)lowercase
14064         function names.
14065
14066         * ParagraphParameters.C (ParagraphParameters): remove commented code
14067
14068         * PainterBase.[Ch]: remove commented code
14069
14070         * LaTeXFeatures.h: add "bool floats" for float.sty
14071
14072         * LaTeXFeatures.C (LaTeXFeatures): init floats
14073         (require): handle float
14074         (getPackages): do it with floats
14075
14076 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * BufferView_pimpl.C (Dispatch): improve handling of
14079         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14080
14081         * commandtags.h: #include lyxfont.h here temporarily to avoid
14082         keybinding bug.
14083
14084         * bufferlist.h: include LString.h here.
14085
14086 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * text2.C (getStringToIndex): new method.
14089
14090 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14091
14092         * *: Reduced header file dependencies all over.
14093
14094 2001-07-30  Baruch Even  <baruch@lyx.org>
14095
14096         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14097
14098 2001-07-29  Baruch Even  <baruch@lyx.org>
14099
14100         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14101
14102 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14103
14104         * ParameterStruct.h (endif): add a default constructor to make
14105         sure that all variables is initialized.
14106
14107         * ParagraphParameters.C (ParagraphParameters): adjust
14108
14109 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14110
14111         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14112         index; also, check that there is something to index, and that it
14113         does not span over several paragraphs.
14114         (doubleClick): use WHOLE_WORD_STRICT for double click.
14115
14116         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14117
14118         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14119         scheme.
14120
14121 2001-07-26  Baruch Even  <baruch@lyx.org>
14122
14123         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14124         an InsetFig figure, backwards compatible reading of old figure code.
14125
14126 2001-07-27  Juergen Vigna  <jug@sad.it>
14127
14128         * text2.C: font.realize function adaption.
14129
14130         * text.C (draw): add a warnings lyxerr text if needed.
14131
14132         * layout.C: font.realize function adaption.
14133
14134         * language.C: add inherit_language and implement it's handlings
14135
14136         * bufferview_funcs.C (StyleReset): remove language parameter from
14137         font creation (should be language_inherit now).
14138
14139         * bufferparams.C (writeFile): handle ignore_language.
14140
14141         * paragraph.C (getFontSettings): the language has to be resolved
14142         otherwise we have problems in LyXFont!
14143
14144         * lyxfont.C (lyxWriteChanges): added document_language parameter
14145         (update): removed unneeded language parameter
14146
14147         * paragraph.C (validate): fixed wrong output of color-package when
14148         using interface colors for certain fonts in certain environments,
14149         which should not seen as that on the final output.
14150
14151 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * BufferView_pimpl.C:
14154         * Thesaurus.h:
14155         * Thesaurus.C:
14156         * Makefile.am:
14157         * commandtags.h:
14158         * LyXAction.C: add thesaurus support
14159
14160         * lyxfind.h:
14161         * lyxfind.C: add "once" parameter, for thesaurus, to not
14162           move to the next match
14163
14164 2001-07-26  Juergen Vigna  <jug@sad.it>
14165
14166         * lyxfont.C (realize): honor ignore_language too!
14167         (resolved): ditto.
14168
14169         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14170
14171         * text.C (draw): one place more for ignore_language to not draw
14172         itself!
14173
14174 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14175
14176         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14177
14178 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14179
14180         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14181         the minipage conversion problem.
14182
14183 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14186         insert an inset.
14187
14188 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * BufferView.h: don't forward declare WorkArea
14191
14192         * BufferView.C: don't include WorkArea.h
14193
14194 2001-07-25  André Pönitz <poenitz@gmx.net>
14195
14196         * commandtags.h:
14197         * LyXAction.C:
14198         * lyxfunc.C:  new LFUN 'math-space'
14199
14200         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14201
14202 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14203
14204         * text2.C (toggleInset): call open/close
14205
14206 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14207
14208         * lyxfunc.C (dispatch): add debug for the disabled case
14209
14210         * font.C (buttonText): make similar to rectText
14211
14212         * buffer.C (readInset): comment out parsing of insetlist and
14213         insttheorem
14214
14215         * PainterBase.C (rectText): small correction
14216
14217         * BufferView_pimpl.C: comment out insettheorem and insetlist
14218         * LyXAction.C: ditto
14219         * commandtags.h: ditto
14220
14221 2001-07-24  Juergen Vigna  <jug@sad.it>
14222
14223         * text.C (draw): honor the ignore_language.
14224
14225         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14226
14227 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14228
14229         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14230         char inset.
14231
14232 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14233
14234         * lyxtext.h: remove unused (and unimplemented) methods
14235
14236 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14237
14238         * text.C (getVisibleRow): honor background color
14239
14240         * PainterBase.h:
14241         * Painter.h: remove default color argument for fillRectangle
14242
14243         * text.C (backgroundColor): new method
14244
14245 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * text.C (getVisibleRow): adjust
14248
14249         * font.[Ch] (rectText): new method, metrics
14250         (buttonText): new method, metrics
14251
14252         * PainterBase.[hC]: make rectText and buttonText always draw and take
14253         fewer paramteres.
14254
14255 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14256
14257         * ToolbarDefaults.C (read):
14258         * MenuBackend.C (read): allow escaping in all strings
14259
14260         * BufferView_pimpl.C (insertAndEditInset): new method.
14261         (Dispatch): use insertAndEditInset whenever appropriate.
14262
14263         * BufferView_pimpl.C (insertNote): removed
14264
14265         * BufferView_pimpl.C (smartQuote): new method, moved from
14266         BufferView; if an insetquote cannot be inserted, insert a '"'
14267         character instead.
14268
14269         * BufferView2.C: remove insertCorrectQuote();
14270
14271         * lyxfunc.C (getStatus): Add support for all remaingin
14272         inset-insert lfuns.
14273
14274         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14275
14276         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14277         command (necessary to pass " as parameter of self-insert.
14278
14279         * text.C (selectWordWhenUnderCursor):
14280         (selectWord): add word_location parameter
14281         (selectWordWhenUnderCursor): same + remove special code for word
14282         boundary.
14283         (selectNextWord): use kind() to guess type of insetspecialchar,
14284         not latex().
14285
14286         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14287         (insertErtContents): create ert insets as collapsed.
14288         (readInset): better compatibility code for Info inset.
14289
14290 2001-07-20  Juergen Vigna  <jug@sad.it>
14291
14292         * lyxfunc.C (dispatch): use always LyXFind now!
14293
14294         * text2.C (init): add a reinit flag so that the LyXText can be
14295         reinited instead of deleted and reallocated (used in InsetText).
14296
14297         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14298
14299         * text.C: ditto
14300
14301         * text2.C: ditto
14302
14303 2001-07-18  Juergen Vigna  <jug@sad.it>
14304
14305         * text.C (selectNextWord): handle insets inside inset by calling
14306         always the bv->text functions so that we can go up the_locking_inset!
14307
14308         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14309         in strange locations when inside an inset!
14310
14311         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14312         handling to include insets.
14313
14314         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14315
14316 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14317
14318         * LyXAction.C (init):
14319         * commandtags.h:
14320         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14321         LIGATURE_BREAK, since the name is so stupid.
14322
14323 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14324
14325         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14326         InsetInfos.
14327
14328         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14329
14330         * sp_form.[Ch]: remove.
14331
14332         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14333
14334         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14335         InsetInfo.
14336
14337         * src/buffer.C (readInset): ditto.
14338
14339 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14340
14341         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14342         menuSeparator(), endOfSentenceDot(), ldots() and
14343         hyphenationPoint(), which are therefore removed.
14344         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14345
14346         * LyXAction.C (init):
14347         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14348
14349         * paragraph.C (getWord): removed.
14350
14351         * BufferView_pimpl.C (Dispatch): use last word or selection for
14352         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14353
14354         * lyx_main.C (queryUserLyXDir): do not ask before creating
14355         user_dir, except if it has been named explicitely.
14356
14357 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14358
14359         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14360         a document of zero size.
14361
14362 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14363
14364         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14365         approriately in the c-tor and in require().
14366         (getPackages): output the appropriate LaTeX for natbib support.
14367
14368         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14369         variables "use_natbib" and "use_numerical_citations" when reading the
14370         LyX file.
14371         (readInset): read the various natbib cite commands.
14372         (validate): white-space change.
14373
14374         * bufferparams.[Ch]: new variables "bool use_natbib" and
14375         "bool use_numerical_citations".
14376         (writeFile): output them in the LyX file.
14377
14378 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14379
14380         * lyxfunc.C (getStatus): add support for all the inset insertion
14381         commands.
14382
14383         * text2.C (insertInset):
14384         * paragraph.C (insetAllowed):
14385         * BufferView_pimpl.C (insertInset): update to take in account the
14386         renaming of insertInsetAllowed
14387
14388         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14389
14390         * text2.C (getInset): new method. returns inset at cursor position.
14391
14392         * BufferView_pimpl.C (Dispatch): changes because of this.
14393
14394         * LyXAction.C (init): rename open-stuff to inset-toggle.
14395
14396         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14397
14398         * text2.C (toggleInset): renamed from openStuff; use
14399         Inset::open().
14400
14401 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14402
14403         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14404
14405         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14406
14407 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14408
14409         * buffer.C (readLyXformat2): Add filename to the error dialog
14410
14411 2001-07-18  Juergen Vigna  <jug@sad.it>
14412
14413         * tabular.C (GetCellNumber): put an assert here instead of the check!
14414
14415 2001-07-17  Juergen Vigna  <jug@sad.it>
14416
14417         * BufferView_pimpl.C (toggleSelection): adapted too.
14418
14419         * text.C (selectNextWord): adapted for use with insets.
14420         (selectSelectedWord): ditto
14421
14422 2001-07-17  Juergen Vigna  <jug@sad.it>
14423
14424         * sp_spell.C (PSpell): fix initialitation order.
14425
14426 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14427
14428         * paragraph.C: spacing
14429
14430 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14431
14432         * sp_spell.C: repair language selection for pspell
14433
14434 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14435
14436         * lyxfunc.h: change more methods to begin with lower char.
14437
14438 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14439
14440         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14441         for unknown layouts.
14442
14443 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14444
14445         * buffer.C (readLyXformat2): Generate an error dialog if there are
14446         unknown layouts.
14447
14448 2001-07-16  Juergen Vigna  <jug@sad.it>
14449
14450         * sp_spell.C: always compile ISpell part.
14451
14452         * lyxrc.C: added use_pspell entry and it's handling.
14453
14454 2001-07-13  Juergen Vigna  <jug@sad.it>
14455
14456         * sp_spell.C: removed double includes.
14457
14458 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14459
14460         Consistent use of Lsstream.h:
14461         * Lsstream.h: added using std::stringstream for consistencies sake.
14462
14463         * buffer.C: removed using std::stringstream
14464
14465         * lyxfont.C (stateText):
14466         * paragraph.C (asString):
14467         * text.C (selectNextWord, selectSelectedWord):
14468         * text2.C (setCounter):
14469         * vspace.C (asString, asLatexString):
14470         std::ostringstream -> ostringstream.
14471
14472 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14473
14474         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14475         * commandtags.h: add LFUN_HELP_ABOUTLYX
14476         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14477
14478 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14479
14480         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14481         cursorToggle()
14482         * lyx_gui_misc.C: remove spellchecker
14483         * lyxfunc.C: showSpellchecker
14484         * sp_base.h: added
14485         * sp_ispell.h: added
14486         * sp_pspell.h: added
14487         * sp_spell.C: added
14488         * sp_form.[Ch]: removed
14489         * spellchecker.[Ch]: removed
14490
14491 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14492
14493         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14494         is set.
14495         (simpleTeXSpecialChars): Simply print the input character without
14496         any special translation if pass_thru is set.
14497
14498         * layout.h: Added bool pass_thru to layout class for being able to
14499         implement pass through of a paragraph for Literate Programming.
14500
14501         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14502         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14503         * layout.C (Read): add "passthru" to list of layout tags and add
14504         code to set the pass_thru boolean when it is read.
14505
14506 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14507
14508         * trans_decl.h: remove allowed from KmodInfo
14509
14510         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14511         remove allowed code
14512         (Load): adjust
14513
14514         * paragraph_pimpl.C (erase): use boost::prior
14515
14516         * Painter.C (text): use data() instead of c_str() when length is
14517         also provided.
14518         * WorkArea.C (putClipboard): ditto
14519         * font.h (width): ditto
14520
14521         * BufferView2.C: use it-> instead of (*it). for iterators
14522         * texrow.C: ditto
14523         * paragraph_pimpl.C: ditto
14524         * paragraph.C: ditto
14525         * minibuffer.C: ditto
14526         * language.C: ditto
14527         * kbmap.C: ditto
14528         * encoding.C: ditto
14529         * counters.C: ditto
14530         * converter.C: ditto
14531         * chset.C: ditto
14532         * Variables.C: ditto
14533         * TextCache.C: ditto
14534         * MenuBackend.C: ditto
14535         * LyXAction.C: ditto
14536         * LColor.C: ditto
14537         * FloatList.C: ditto
14538         * DepTable.C: ditto
14539         * ColorHandler.C (LyXColorHandler): ditto
14540
14541 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14544
14545         * text2.C (openStuff): reintroduce this method (which had been
14546         nuked in NEW_INSETS frenzy).
14547
14548         * lyxfunc.C (Dispatch): when an action has not been handled, use
14549         its name in the error message, not its number.
14550
14551         * paragraph.C (inInset): change method name to begin with lowercase.
14552
14553         * undo_funcs.C:
14554         * text2.C: updates because of this.
14555
14556 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14557
14558         * ToolbarDefaults.C (add): add spaces in error message
14559
14560 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14561
14562         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14563         (readLyXformat2): rename return_par to first_par, use lyxlex's
14564         pushToken and remove the manual push handling.
14565         (parseSingleLyXformat2Token): add another ert comp. variable:
14566         in_tabular, rename return_par to first_par. handle newlines better
14567
14568 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14571
14572 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14573
14574         * text2.C (getParFromID): removed
14575
14576         * buffer.C (getParFromID): new method moved form lyxtext.
14577         * BufferView2.C (insertErrors): adjust
14578         (setCursorFromRow): adjust
14579         * BufferView_pimpl.C (restorePosition): adjust
14580         * lyxfunc.C (Dispatch): adjust
14581         * undo_funcs.C (textUndo): adjust
14582         (textRedo): adjust
14583         (textHandleUndo): adjust
14584         (textHandleUndo): adjust
14585
14586 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14587
14588         * buffer.C: up' the LYX_FORMAT
14589
14590         * lyxfont.h: turn NO_LATEX on as default
14591
14592         * buffer.C (insertErtContents): new methods of tex style compability.
14593         (parseSingleLyXformat2Token): use it several places.
14594         * tabular.C (OldFormatRead): and here
14595
14596 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14597
14598         * text2.C: remove some commented code.
14599         reindent file.
14600
14601         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14602         * trans.C: changes because of the above.
14603
14604 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14605
14606         * text2.C (setCounter): Fix counters bug with bibliography layout.
14607
14608 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14611         own member functions
14612         (simpleTeXSpecialChars): ditto
14613
14614 2001-07-06  Juergen Vigna  <jug@sad.it>
14615
14616         * a lot of files: changed the access to LyXText::status and the
14617         call of undo-functions.
14618
14619         * undo.[Ch]: added a inset_id to the undo informations.
14620
14621         * undo_funcs.[Ch]: added and moved here all undo functions.
14622
14623         * lyxtext.h: give the status enum a weight, made status_ a private
14624         variable and made accessor functions for it, removed the whole bunch
14625         of undo-functions as they are now in their own file, make some
14626         functions publically available. Added function ownerParagraph with
14627         int parameter.
14628
14629         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14630         made InInset() a const function, added getParFromID() function.
14631
14632         * buffer.[Ch]: added const version for inset_iterator functions,
14633         added getInsetFromID() function.
14634
14635         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14636         changed undo functions for new version.
14637
14638 2001-07-05  Juergen Vigna  <jug@sad.it>
14639
14640         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14641         unknow mechanism does not call the proper constructor but only this
14642         one also if I request the other!?
14643
14644 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14645
14646         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14647
14648         * text2.C (LyXText): use initialization lists.
14649
14650         * lyxtext.h (Selection): initialize set_ and mark_
14651         (init): remove method
14652
14653 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14654
14655         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14656
14657 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14658
14659         * screen.[Ch]: change method names to begin with lowercase
14660
14661         * BufferView_pimpl.C (updateScrollbar): simplify further and
14662         hopefully make it a bit faster.
14663
14664 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14665
14666         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14667         calling directly xforms functions.
14668
14669         * Painter.C (Painter):
14670         * lyx_cb.C (MenuWrite):
14671         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14672         fl_display.
14673
14674         * lyx_gui.C: remove bogus guiruntime extern declaration.
14675
14676 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14677
14678         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14679         in NEW_INSETS
14680         (redoDrawingOfParagraph): ditto
14681         (redoParagraphs): ditto
14682         (cutSelection): don't create a object for CutAndPaste use the
14683         static method directly
14684         (pasteSelection): ditto
14685
14686         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14687         LyXview (+ rename)
14688
14689 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14690
14691         * modifications to some other files because of this.
14692
14693         * Makefile.am (lyx_SOURCES): add XFormsView
14694
14695         * XFormsView.[Ch]: new files
14696
14697         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14698         the main window. Move the gui dependent stuff to XFormsView
14699
14700 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14701
14702         * tabular.C (GetCellInset): update cur_cell also in the row/col
14703         version of this function.
14704
14705         * lyxfunc.C: no need to include figure_form.h here.
14706
14707         * FontLoader.h:
14708         * lyxfunc.h:
14709         * lyxscreen.h:
14710         * text2.C:
14711         * lyxvc.C: no need to include forms.h here.
14712
14713 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14716
14717         * lyxfunc.C (Dispatch):
14718         * Spacing.C (set):
14719         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14720         constructor argument.
14721
14722 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14723
14724         * paragraph.C (Paragraph): dont't clear, and just set layout.
14725         (makeSameLayout): use params's copy contructor.
14726
14727         * ParagraphParameters.[Ch] (makeSame): delete method
14728
14729 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * Variables.[Ch]: fix indentation, rename set to isSet
14732
14733 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14734
14735         * lyxfunc.C (Dispatch): fix typo
14736
14737 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14740         upper_bound.
14741
14742         * bufferlist.C: include assert.h for emergencyWrite().
14743
14744 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14745
14746         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14747           give up at last (bug #425202) !
14748
14749 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14750
14751         * lyx_gui_misc.C:
14752         * sp_form.h:
14753         * sp_form.C:
14754         * spellchecker.h:
14755         * spellchecker.C: strip spellchecker options and bring up
14756           preferences tab instead
14757
14758 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14761         the istringstream constructor
14762
14763 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14764
14765         * paragraph.C (getLayout): fix return value
14766
14767         * paragraph.h: do not declare getLayout as inline.
14768
14769         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14770
14771 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * lyxcursor.h (operator<): new func
14774         (operator>): new func
14775         (operator>=): new func
14776         (operator<=): new func
14777
14778         * text.C (changeCase): use selection.start and selection.end
14779         (changeRegionCase): require from to be <= to. Require par to be a
14780         valid paragraph.
14781
14782         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14783
14784 2001-06-27  Juergen Vigna  <jug@sad.it>
14785
14786         * text.C (cursorLeftOneWord): changed to return the cursor and added
14787         overlay with BufferView * parameter which calls this one.
14788         (getWord): added
14789         (selectWord): use new getWord function.
14790         (changeCase): renamed from changeWordCase as and extended to work
14791         also on selections.
14792
14793         * lyxtext.h: added enum word_location
14794
14795         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14796         changeCase as this operates now also on selections.
14797
14798 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14799
14800         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14801
14802         * many files: send debug output to Debug::INFO instead of
14803         Debug::ANY.
14804
14805         * converter.C (View):
14806         (Convert):
14807         (Move): send debug output to Debug::FILES instead of console.
14808
14809 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14810
14811         * lyxfunc.C (getStatus): use func_status
14812
14813         * func_status.h: new header, describing the results of
14814         LyXFunc::getStatus;
14815
14816         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14817         LFUN_MATH_HALIGN.
14818
14819 2001-06-25  The LyX Project  <jug@sad.it>
14820
14821         * buffer.C (sgmlOpenTag):
14822         (sgmlCloseTag):
14823         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14824
14825 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14826
14827         * text2.C: remove some dead code
14828
14829         * tabular.C (GetCellInset): store the last cell checked (gotten)
14830
14831         * tabular.h: add the helper for the speedup
14832
14833         * lyxtext.h: remove some dead code
14834
14835 2001-06-26  The LyX Project  <Asger>
14836
14837         * paragraph.C: Change export to LaTeX of alignment to
14838         \begin{center} and family for better roundtrip work with reLyX.
14839
14840         * Tune the math drawing a bit.
14841
14842 2001-06-25  The LyX Project  <Asger>
14843
14844         * LColor.C (LColor): New color for math background. New color
14845         for buttons.
14846
14847 2001-06-25  The LyX Project  <jug@sad.it>
14848
14849         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14850
14851         * lyxfunc.C (Open):
14852         * bufferlist.C (newFile): do not restrict to files ending with
14853         .lyx
14854
14855         * BufferView_pimpl.C (MenuInsertLyXFile):
14856
14857 2001-06-24  The LyX Project  <jug@sad.it>
14858
14859         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14860         of compare_no_case
14861
14862 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * lyxtext.h: rename most methods to begin with a small char.
14865         Lots of changes because of this.
14866
14867         * paragraph.C (Paragraph): do not call fitToSize
14868         (erase): call Pimpl::erase
14869         (insertChar): call Pimpl::insertChar
14870         (insertInset): call Pipl::insertInset
14871         (breakParagraph): do not call fitToSize
14872         (breakParagraphConservative): do not call fitToSize
14873         (fitToSize): remove method
14874
14875         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14876
14877 2001-06-24  The LyX Project  <Asger>
14878
14879         * Fix Qt compilation^2
14880
14881 2001-06-24  The LyX Project  <jug@sad.it>
14882
14883         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14884         depthHook(getDepth()-1).
14885
14886         * paragraph.h:
14887         * ParagraphParameters.h:
14888         * ParameterStruct.h: change type of depth to unsigned int ==
14889         depth_type. Many adaptations to other files before of that.
14890
14891 2001-06-24  The LyX Project  <Asger>
14892
14893         * Fix Qt compilation.
14894
14895 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14896
14897         * paragraph.h: renamed several methods to begin with small letter.
14898         several changes to many parts of the code because of this.
14899
14900 2001-06-23  The LyX Project  <jug@sad.it>
14901
14902         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14903         rewritten to discard all double spaces when KeepEmpty is off
14904         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14905         to only handle newlines but not fiddle with spaces and friends.
14906
14907         * lyxfunc.C (MenuNew): when doing 'new from template', use
14908         template_path as default directory
14909
14910 2001-06-23  The LyX Project  <Asger>
14911
14912         * Clean-up of header file includes all over
14913         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14914
14915 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14916
14917         * paragraph.h: renamed from lyxparagraph.h
14918
14919 2001-06-23  Asger  <lyx@violet.home.sad.it>
14920
14921         * Buffer.h: Removed Buffer::resize
14922         * BufferList.h: Removed BufferList::resize
14923         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14924         the document lazily when we change the width, or the font settings.
14925
14926 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14927
14928         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14929
14930 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14931
14932         * buffer.h: remove out of date comment
14933
14934 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14935
14936         * lyxscreen.h:
14937         * screen.C: fix "theoretical" GC leak
14938
14939 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14940
14941         * LaTeX.C (scanAuxFile):
14942         (deplog): remove trailing \r when reading stream (useful under
14943         win32)
14944
14945 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14946
14947         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14948         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14949         and BufferView::theLockingInset(Inset*), so should use them and not
14950         access bv_->text->the_locking_inset directly.
14951
14952         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14953
14954 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14955
14956         * Makefile.am:
14957         * tex-defs.h: remove old unused file
14958
14959 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * BufferView_pimpl.C: fix typo, remove minibuffer message
14962           when buffer has loaded
14963
14964 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * lyxfunc.C (Dispatch): use stringstream
14967         (MenuNew): use stringstream
14968         (Open): use stringstream
14969
14970         * importer.C (Import): use stringstream
14971
14972         * bufferview_funcs.C (CurrentState): use stringstream
14973
14974         * LaTeX.C (run): use stringstream
14975
14976         * BufferView_pimpl.C (savePosition): use stringstream
14977         (restorePosition): use stringstream
14978         (MenuInsertLyXFile): use stringstream
14979
14980 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14981
14982         * BufferView.C:
14983         * Bullet.C:
14984         * ColorHandler.C:
14985         * FontInfo.C:
14986         * FontLoader.C:
14987         * LColor.C:
14988         * LaTeXFeatures.C:
14989         * Painter.C:
14990         * gettext.C:
14991         * lyx_gui_misc.C:
14992         * lyxserver.C:
14993         * vspace.C: removed // -*- C++ -*- as first line.
14994
14995         * lyxfind.h:
14996         * version.h: added // -*- C++ -*- as first line.
14997
14998 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14999
15000         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15001
15002         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15003         of string
15004
15005 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15006
15007         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15008         of floats.
15009
15010 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15011
15012         * gettext.C: include LString.h even when --disable-nls is on.
15013
15014 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15015
15016         * converter.h (Get): changed argument type from int to
15017         FormatList::size_type to avoid unnecessary conversion.
15018
15019         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15020         before using it.
15021
15022 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15023
15024         * gettext.h: include LString.h even when --disable-nls is on.
15025
15026 2001-06-07  Juergen Vigna  <jug@sad.it>
15027
15028         * text.C (BreakAgain): subst spaces with tabs.
15029
15030         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15031         (resizeInsetsLyXText): set force on resizeLyXText.
15032
15033 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034
15035         * gettext.h (gettext_init):
15036         (locale_init): use a real definition instead of a macro
15037
15038 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * Bufferview_pimpl.C:
15041         * LColor.h:
15042         * LColor.C: further lcolor tidies
15043
15044 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * BufferView_pimpl.C (updateScrollbar): simplify.
15047
15048         * BufferView2.C: don't include insets/insetinfo.h, change
15049         prototype for insertInset and call the Pimpl version. let
15050         updateInset call Pimpl version.
15051
15052         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15053         gotoInset to BufferView::Pimpl
15054
15055 2001-06-01  Juergen Vigna  <jug@sad.it>
15056
15057         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15058         inside a LockingInset (is the update needed at all?).
15059
15060 2001-05-31  Juergen Vigna  <jug@sad.it>
15061
15062         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15063         here not the old one otherwise how should we compare it afterwards
15064         if it's the same!
15065
15066 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * lyxfont.C:
15069         * tabular.C:
15070         * tabular-old.C:
15071         * FontInfo.C: bring C functions into global namespace when
15072         necessary
15073
15074 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15075
15076         * LString.h: make sure config.h has been loaded before LString.h.
15077
15078         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15079         (one for each char read by EatLine!).
15080
15081         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15082         variables.
15083
15084 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15085
15086         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15087         to the same as the par we break from
15088
15089 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15092
15093         * MenuBackend.C (expand): also create menu entries for wide
15094         versions of the floats.
15095
15096         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15097
15098         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15099
15100         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15101         frontends/Makefile.am
15102
15103         * text2.C: adjust
15104         * text.C: adjust
15105
15106
15107         * tabular.C (getTokenValue): add std::
15108
15109         * tabular-old.C (getTokenValue): add std::
15110         (getTokenValue): ditto
15111         (getTokenValue): ditto
15112
15113         * screen.C (ToggleSelection): adjust
15114
15115         * lyxtext.h: put selection cursors inside a Selection struct.
15116
15117         * lyxfunc.C (moveCursorUpdate): adjust
15118
15119         * lyxfont.C (latexWriteStartChanges): add std::
15120
15121         * lyxfind.C: adjust
15122
15123         * font.h: delete with(char const *, LyXFont const &)
15124
15125         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15126
15127         * FontInfo.C (getFontname): add std::
15128
15129         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15130         (workAreaButtonPress): adjust
15131         (tripleClick): adjust
15132         (update): adjust
15133         (moveCursorUpdate): adjust
15134         (Dispatch): adjust
15135
15136         * BufferView2.C (gotoInset): adjust
15137
15138 2001-05-30  Juergen Vigna  <jug@sad.it>
15139
15140         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15141         to check pspell I add this as default as I now have new pspell
15142         libraries and they seem to use this.
15143
15144 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15145
15146         * text2.C (CutSelection): make the cursor valid before the call to
15147         ClearSelection.
15148
15149 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15152         relied on 0 terminated strings and other horrors. Bug found due to
15153         the new assert in lyxstring!
15154
15155         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15156         KP_ keys.
15157
15158 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15159
15160         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15161         to latinkeys.bind.
15162
15163         * lyxfunc.C (processKeySym): change method of getting to the
15164         self-insert char.
15165
15166         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15167         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15168         * BufferView_pimpl.[Ch]: here as private methods.
15169
15170 2001-05-28  Juergen Vigna  <jug@sad.it>
15171
15172         * text.C (SetHeightOfRow): added the update() call again as it is
15173         needed to initialize inset dimensions!
15174
15175 2001-05-16  Juergen Vigna  <jug@sad.it>
15176
15177         * text2.C (SetCharFont): Add new function with BufferView * and
15178         bool toggleall parameters for setting insets internal fonts.
15179         (SetFont): Freeze the undo as we may change fonts in Insets and
15180         all this change should be inside only one Undo!
15181
15182         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15183         setting font's in insets as for them we have the SetFont function!
15184
15185 2001-05-15  Juergen Vigna  <jug@sad.it>
15186
15187         * text2.C (ClearSelection): to be sure we REALLY don't have any
15188         selection anymore!
15189
15190         * tabular.C (TeXCellPreamble): fixed the left border problem for
15191         multicolumn cells.
15192
15193 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15194
15195         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15196         dependancy file
15197
15198 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15199
15200         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15201         LFUN_BREAKPARAGRAPH.
15202
15203         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15204         help test to "internal only", similar for LFUN_INSERT_URL
15205
15206         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15207         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15208         auto_region_delete and deadkeys.
15209
15210 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * LColor.h:
15213         * LColor.C: remove some dead entries, tidy a little
15214
15215 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15216
15217         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15218         commented code.
15219         (Dispatch): implement LFUN_ESCAPE
15220
15221         * commandtags.h: add LFUN_ESCAPE
15222
15223         * LyXAction.C (init): add entry for LFUN_ESCAPE
15224
15225         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15226         Remove commented code.
15227         (insertNote): moved here
15228         (open_new_inset): moved here
15229
15230         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15231         BufferView_pimpl
15232
15233 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * kbmap.C (findbinding): clean it up and make it work correctly.
15236
15237         * lyx_main.C (init): do not pass argc and argv as parameters
15238
15239 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15240
15241         * buffer.C: fix path for OS/2 & Win32
15242
15243         * lyx_gui.C:
15244         * lyx_main:
15245         * lyx_main.C: Added os:: class.
15246
15247         * os2_defines.h: update
15248
15249 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15252         better by trying again with reduced state.
15253
15254 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15255
15256         * lyxrc.C (read): print error about invalid key sequence only when
15257         debugging (because not all latinX keysyms are known to some X
15258         servers)
15259
15260         * kbsequence.C (getiso): add a few std:: qualifiers
15261         (getiso): comment out extra return statement.
15262
15263 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15264
15265         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15266         handling.
15267         (Dispatch): enhance the accent inset a bit. (not perfect)
15268
15269 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15272
15273 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15274
15275         * bufferlist.C (emergencyWrite): fix assert() call
15276
15277 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15278
15279         * text.C (InsertChar): Added trivial patch to only send the "you
15280         can not do multiple spaces this way" message once during a
15281         session.
15282
15283 2001-05-08  Baruch Even  <baruch@lyx.org>
15284
15285         * Makefile.am: Changed order of libraries to get LyX to link properly
15286         with the gnome frontend.
15287
15288 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * LaTeXFeatures.h: add a std:: qualifier
15291
15292 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15293
15294         * paragraph.C (String): use stringstream
15295
15296 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15297
15298         * paragraph.C (writeFile): remove footflag arg
15299
15300         * buffer.C (makeLaTeXFile): use stringstream
15301         (latexParagraphs): remove footnot gurba
15302
15303         * LaTeXFeatures.C (getPackages): use stringstream
15304         (getMacros): likewise
15305         (getTClassPreamble): likewise
15306         (getFloatDefinitions): new method
15307
15308         * paragraph.C (writeFile): reindent
15309         (Erase): reindent
15310
15311         * WorkArea.h: revert the xpos + etc changes.
15312
15313         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15314
15315         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15316
15317         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15318         (pasteSelection): likewise
15319         * text2.C (CreateUndo): likewise
15320
15321 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15322
15323         * minibuffer.C (peek_event): temporarily reduce the functionality
15324         of the minibuffer (to allow args on lfuns)
15325
15326         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15327         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15328
15329         * buffer.C (readInset): add compability reading of old float
15330         lists, add reading of new style float list.
15331         (readInset): avoid reevaluation of inscmd.getCmdName()
15332         (getLists): reindent
15333
15334         * MenuBackend.C (MenuItem): implement parsing of
15335         md_floatlistinsert and md_floatinsert.
15336         (expand::LastFiles): move initalizaton of iterators out of loop,
15337         avoid reevaluation.
15338         (expand::Documents): introduce typdedef vector<string> Strings,
15339         and use it.
15340         (expand::ExportFormats): introduce typedef vector<Format const *>
15341         Formats, and use it.
15342         (expand): implement FloatListInsert and FloatInsert.
15343
15344         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15345         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15346         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15347
15348         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15349         handling.
15350         (Dispatch::LFUN_FLOAT_LIST): implement
15351
15352 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15353
15354         * LaTeX.C (run): Fix problem with --export code.
15355
15356 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15357
15358         * BufferView.[Ch] (workarea): removed.
15359         (getClipboard) new method; wrapper for workarea()->getClipboard()
15360
15361         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15362         bug.
15363
15364         * WorkArea.h (width, height, xpos, ypos): These methods all
15365         returned the dimensions of the work_area sub-area of WorkArea,
15366         resulting in a position error if the WorkArea were resized. Now
15367         return the dimensions of the entire WorkArea.
15368
15369         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15370
15371 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * LaTeX.C (deplog): correct the syntax of regex reg1
15374
15375 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * undo.C: remove !NEW_INSETS cruft
15378
15379 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15380
15381         * text2.C: remove !NEW_INSETS cruft
15382
15383         * text.C: remove !NEW_INSETS cruft
15384
15385         * tabular.C: remove !NEW_INSETS cruft
15386
15387         * spellchecker.C: remove !NEW_INSETS cruft
15388
15389         * lyxtext.h: remove !NEW_INSETS cruft
15390
15391         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15392
15393         * lyxfunc.C: remove !NEW_INSETS cruft
15394
15395         * lyxfind.C: remove !NEW_INSETS cruft
15396
15397         * lyx_cb.C: remove !NEW_INSETS cruft
15398
15399         * figureForm.C: remove  !NEW_INSETS cruft
15400
15401         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15402
15403         * buffer.[Ch]: remove !NEW_INSETS cruft
15404
15405         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15406
15407         * CutAndPaste.C: remove !NEW_INSETS cruft
15408
15409         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15410
15411         * BufferView2.C: remove !NEW_INSETS cruft
15412
15413         * BufferView.h: remove !NEW_INSETS cruft
15414
15415 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15416
15417         * Lsstream.h: include LString.h before the sstream headers to
15418         fix problem with gcc 2.95.3 and lyxstring
15419
15420 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15421
15422         * lyx_main.C: add using directives when needed for C functions
15423         declared in std:: namespace.
15424
15425 2001-04-27  Juergen Vigna  <jug@sad.it>
15426
15427         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15428         (SetHeightOfRow): comment out the update call should not be needed!
15429
15430 2001-04-13  Juergen Vigna  <jug@sad.it>
15431
15432         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15433         (LyXTabular): tried to minimize operator= operations (and realized
15434         hopfully Lars wish).
15435
15436 2001-04-27  Juergen Vigna  <jug@sad.it>
15437
15438         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15439
15440 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15441
15442         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15443
15444         * buffer.C (readInset): hack to make listof algorithm work
15445
15446         * BufferView_pimpl.C: hack to make listof algorithm work
15447
15448 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15449
15450         * LyXAction.C: removed all !NEW_INSETS cruft
15451         (init): moved lfun_item in method
15452
15453         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15454
15455 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15456
15457         * BufferView2.C (theLockingInset): white space.
15458
15459 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15460
15461         * minibuffer.C: include <iostream>
15462
15463         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15464
15465         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15466
15467         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15468
15469         * text.[Ch] (TransposeChars): new method
15470
15471 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15472
15473         * call message directly through LyXView instead of through LyXFunc
15474         * BufferView2.C: adjust
15475         * BufferView_pimpl.C: adjust
15476         * FontLoader.C: adjust
15477         * buffer.C: adjust
15478         * bufferview_funcs.C: adjust
15479         * converter.C: adjust
15480         * figureForm.C: adjust
15481         * importer.C: adjust
15482         * lyx_cb.C: adjust
15483         * lyx_gui_misc.C: adjust
15484         * lyxfunc.C: adjust
15485         * lyxvc.C: adjust
15486         * text2.C: adjust
15487         + more files in subdirs
15488
15489         * lyxparagraph.h (size): move up int file
15490         (GetLayout): ditto
15491
15492         * adjust all uses of Assert to lyx::Assert.
15493
15494         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15495         lyxfunctional in namespace lyx
15496         * layout.C (hasLayout): ditto
15497         (GetLayout): ditto
15498         (GetLayout): ditto
15499         (delete_layout): ditto
15500         (NumberOfClass): ditto
15501         * converter.C (GetFormat): ditto
15502         (GetNumber): ditto
15503         (Add): ditto
15504         (Delete): ditto
15505         (SetViewer): ditto
15506         * bufferlist.C (getFileNames): ditto
15507         (emergencyWriteAll): ditto
15508         (exists): ditto
15509         (getBuffer): ditto
15510         * MenuBackend.C (hasSubmenu): ditto
15511         (hasMenu): ditto
15512         (getMenu): ditto
15513         * BufferView_pimpl.C (getInsetByCode): ditto
15514
15515 2001-04-18  Juergen Vigna  <jug@sad.it>
15516
15517         * vspace.C (asLatexString): fixed the 100% problem.
15518
15519 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * lyxfunc.C (Dispatch):
15522         * minibuffer.C:
15523         * minibuffer.h: add a few std:: qualifiers
15524
15525 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * minibuffer.[Ch]: reimplement so that commands is initiated and
15528         run from lyxfunc, simplified som handling, and made the completion
15529         and history code for complete. wip.
15530
15531         * lyxfunc.C (processKeySym): call message
15532         (miniDispatch): new temporary method
15533         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15534         (LFUN_MESSAGE): implement
15535         (LFUN_MESSAGE_PUSH): implement
15536         (LFUN_MESSAGE_POP): implement
15537         (initMiniBuffer): the initial/defualt minibuffer message.
15538
15539         * lyxfont.[Ch]: inline some more getters
15540
15541         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15542
15543         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15544
15545         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15546         (AutoSave): use LFUN_MESSAGE
15547         (Reconfigure): ditto
15548
15549         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15550
15551         * figureForm.C: use LFUN_MESSAGE
15552
15553         * converter.C (runLaTeX): use LFUN_MESSAGE
15554
15555         * bufferview_funcs.C: use LFUN_MESSAGE
15556         (Melt): ditto
15557         (changeDepth): ditto
15558
15559         * bufferparams.h: use boost::
15560
15561         * bufferlist.h: inherit privately from noncopyable
15562
15563         * bufferlist.C (loadLyXFile): remove some commented code.
15564
15565         * buffer.C (runChktex): use LFUN_MESSAGE
15566
15567         * ShareContainer.h: inherit privately from noncopyable
15568
15569         * ParagraphParameters.[hC] (depth): inline it.
15570
15571         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15572         methods.
15573         (message): new method
15574         (messagePush): ditto
15575         (messagePop): ditto
15576         (show): init minibuffer
15577         (showState): direct call
15578
15579         * LaTeX.[Ch]: inherit privately from noncopyable
15580         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15581         instead of WriteStatus.
15582
15583         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15584
15585         * BufferView_pimpl.C (buffer): don't init minibuffer
15586         (workAreaButtonPress): use LFUN_MESSAGE
15587         (workAreaButtonRelease): ditto
15588         (savePosition): ditto
15589         (restorePosition): ditto
15590         (MenuInsertLyXFile): ditto
15591         (workAreaExpose): don't init minibuffer
15592         (update): remove commented code, simplify
15593
15594         * BufferView2.C (openStuff): use LFUN_MESSAGE
15595         (toggleFloat): ditto
15596         (menuUndo): ditto
15597         (menuRedo): ditto
15598         (copyEnvironment): ditto
15599         (pasteEnvironment): ditto
15600         (copy): ditto
15601         (cut): ditto
15602         (paste): ditto
15603         (gotoInset): ditto
15604         (updateInset): remove some commented code
15605
15606         * lastfiles.h: inherit privately from noncopyable
15607         * layout.h: ditto
15608         * lyx_gui.h: ditto
15609         * lyx_main.h: ditto
15610         * lyxlex.h: ditto
15611         * lyxlex_pimpl.h: ditto
15612
15613         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15614         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15615         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15616
15617         * LyXAction.h: inherit privately from noncopyable, add methods
15618         func_begin, func_end, returning iterators to the func map.
15619
15620         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15621         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15622         (func_begin): new method
15623         (func_end): new method
15624
15625         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15626         and not)
15627         (copySelection): ditto
15628         (pasteSelection): ditto
15629
15630         * BufferView.C: whitespace change
15631         * BufferView.h: inherit privately from noncopyable
15632
15633 2001-04-16  Allan Rae  <rae@lyx.org>
15634
15635         * tabular-old.C (l_getline):
15636         * spellchecker.C (sc_check_word):
15637         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15638         an unrecognised preprocessor directive.  So ensure they're wrapped.
15639
15640 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15641
15642         * src/exporter.C (Export): Give an error message when path to file
15643         contains spaces.
15644
15645 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15646
15647         * LaTeX.C (deplog): Always check that foundfile exists.
15648
15649 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * lyx_main.h:
15652         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15653
15654 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * tabular.[Ch] (getLabelList): implement new method
15657
15658         * minibuffer.h: comment ouf setTiimer
15659
15660         * minibuffer.C (ExecutingCB): constify res
15661         (peek_event): constify s
15662         (Set): constify ntext
15663         (Init): constify nicename
15664
15665         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15666
15667         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15668         (savePosition): use two params to Minibuffer::Set
15669         (restorePosition): ditto
15670
15671 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * lyx_main.C: include language.h
15674
15675         * Makefile.am (lyx_main.o): add language.h
15676
15677 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15678
15679         * exporter.C:
15680         * paragraph.C:
15681         * screen.C:
15682         * tabular.C:
15683         * CutAndPaste.C: include gettext.h
15684
15685         * lyxfont.h: remove old hack with ON and OFF.
15686
15687         * lyxparagraph.h:
15688         * lyxfont.h: do not include language.h...
15689
15690         * BufferView2.C:
15691         * LaTeXFeatures.C:
15692         * Painter.C:
15693         * bufferview_funcs.C:
15694         * font.C:
15695         * lyxfont.C:
15696         * text.C:
15697         * text2.C:
15698         * trans_mgr.C:
15699         * paragraph.C: ... but do it here instead
15700
15701 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15704
15705         * tabular.C: small reformat
15706
15707         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15708         NEW_INSETS version
15709         (GetChar): ditto
15710         (BreakParagraph): ditto
15711         (SetOnlyLayout): ditto
15712         (SetLayout): ditto
15713
15714         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15715         with one arg less.
15716
15717         * lastfiles.C: removed most using decl, add std:: where needed
15718
15719         * buffer.C: ws changes
15720
15721         * MenuBackend.C (class compare_format): put into anon namespace
15722         (expand): constify label, names, action, action2
15723         (expand):
15724
15725         * text.C (SingleWidth): constify font
15726         (IsBoundary): constify rtl2
15727         (GetVisibleRow): constify ww
15728
15729         * LaTeX.C (deplog): constify logfile
15730
15731         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15732         start_x, end_x
15733         (workAreaExpose): constify widthChange, heightChange
15734
15735         * lyxrow.C (par): moved
15736         (height): moved
15737         (next): moved
15738         * lyxrow.h: as inlines here
15739
15740         * lyxfont.h (shape): moved from lyxfont.C
15741         (emph): moved from lyxfont.C
15742
15743         * lyxfont.C (LyXFont): use initialization list for all
15744         constructors
15745         (shape): move to lyxfont.h as inline
15746         (emph): move to lyxfont.h as inline
15747
15748
15749 2001-04-04  Juergen Vigna  <jug@sad.it>
15750
15751         * vspace.C: had to include stdio.h for use of sscanf
15752
15753 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15754
15755         * BufferView.h:
15756         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15757         independent of xforms.
15758
15759 2001-04-02  Juergen Vigna  <jug@sad.it>
15760
15761         * spellchecker.C: fixed namespace placing!
15762
15763 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15764
15765         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15766         the LyXParagraph * is 0.
15767
15768 2001-03-29  Juergen Vigna  <jug@sad.it>
15769
15770         * vspace.C: added support for %, c%, p%, l%.
15771         (stringFromUnit): added helper function.
15772         (asLatexString): changed to give right results for the %-values.
15773
15774         * buffer.C: convert the widthp in a width%.
15775
15776 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15777
15778         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15779         figureForm.[Ch].
15780
15781         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15782         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15783
15784         * lyx_cb.[Ch]: see above.
15785
15786         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15787         form1.[Ch].
15788
15789         * form1.[Ch]:
15790         * lyx.[Ch]: replaced by figure_form.[Ch].
15791
15792         * lyx_gui.C:
15793         * lyx_gui_misc.C:
15794         * lyxfunc.C: changed headers associated with above changes.
15795
15796 2001-03-27  Juergen Vigna  <jug@sad.it>
15797
15798         * BufferView_pimpl.C: set the temporary cursor right!
15799
15800 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15801
15802         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15803
15804 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15805
15806         * LString.h: removed "using std::getline"!
15807
15808         * BufferView_pimpl.C (Dispatch): changes due to changes in
15809         InsetInclude::Params.
15810
15811         * buffer.C (tag_name): removed redundant break statements as they were
15812         producing lots of warnings with my compiler.
15813
15814 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15815
15816         * LString.h: add "using std::getline" when using the real <string>.
15817
15818 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15819
15820         * buffer.C: removed bitset usage.
15821         PAR_TAG moved to an anonymous name space.
15822         (tag_name): new funtion, also in the anonymous namespace.
15823         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15824         (makeDocBookFile): clean code. Completed transition from string arrays
15825         to string vectors.
15826         (SimpleDocBookOnePar): code clean.
15827
15828 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15829
15830         * tabular.C: add some comments.
15831
15832 2001-03-22  Juergen Vigna  <jug@sad.it>
15833
15834         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15835         compatibility read a bit and fixed bug with minipage in different
15836         depth.
15837
15838 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15839
15840         * buffer.C (pop_tag): removed.
15841         (push_tag): removed.
15842         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15843         array replaced with vector. Added support for CDATA sections.
15844         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15845         at any nest level.
15846         (makeDocBookFile): XML conformant declaration of CDATA section,
15847         fixed bug related to <emphasis> in the first paragraph char.
15848         (sgmlOpenTag): exclude empty tags.
15849         (sgmlCloseTag): ditto.
15850
15851         * buffer.h (pop_tag): removed.
15852         (push_tag): removed.
15853
15854 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15855
15856         * language.h (Languages): added size_type and size().
15857
15858 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15859
15860         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15861         response on compability reading of minipages. One probliem is that
15862         the old usage of minipages was «flertydig»
15863
15864         * several files here and in subdirs: don't use static at file
15865         scope use anon namespaces instead.
15866
15867 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15868
15869         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15870         LaTeX output. This is necessary for Literate document
15871         processing.
15872
15873 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15874
15875         * buffer.C: insert hfill when needed.
15876
15877         * tabular.C (l_getline): use string::erase, small whitespace change.
15878
15879         * BufferView_pimpl.C: try the anon namespace.
15880         * WorkArea.C: ditto
15881
15882 2001-03-16  Juergen Vigna  <jug@sad.it>
15883
15884         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15885         otherwise it won't open options-dialogs.
15886
15887         * buffer.C: honor pextraWidth(p) on converting minipages.
15888
15889         * tabular.C (l_getline): changed the functions to strip trailing \r.
15890
15891 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15892
15893         * BufferView_pimpl.C:
15894         * minibuffer..C: added "using SigC::slot" declaration.
15895
15896 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15897
15898         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15899
15900         * text2.C: ditto
15901
15902         * text.C: ditto
15903
15904         * paragraph.C: ditto
15905
15906         * lyxtext.h: NO_PEXTRA
15907
15908         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15909
15910         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15911         * ParameterStruct.h: ditto
15912         * ParagraphParameters.h: ditto
15913         * lyxparagraph.h: ditto
15914
15915 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15916
15917         * buffer.C: add compability for minipage alignment.
15918         (latexParagraphs): remove unwanted pextra check.
15919
15920         * several files: remove CXX_WORKING_NAMESPACES
15921
15922         * buffer.C (pop_tag): tie is in namespace boost
15923
15924         * BufferView.h: noncopyable is in namespace boost
15925         * lyxlex.h: ditto
15926         * lyx_main.h: ditto
15927         * lyx_gui.h: ditto
15928         * layout.h: ditto
15929         * lastfiles.h: ditto
15930         * bufferlist.h: ditto
15931         * ShareContainer.h: ditto
15932         * LyXView.h: ditto
15933         * LyXAction.h: ditto
15934         * LaTeX.h: ditto
15935
15936 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15937
15938         * Merging changes from BRANCH_MVC back into HEAD.
15939
15940         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15941
15942 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15943
15944         * BufferView_pimpl.C: change from intl.C
15945
15946         * combox.h:
15947         * combox.C:
15948         * Makefile.am: move combox.*
15949
15950         * form1.h:
15951         * form1.C:
15952         * lyx_gui.C:
15953         * intl.h:
15954         * intl.C: remove dialog (covered by prefs)
15955
15956 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15957
15958         * lyxfunc.C (Dispatch): removed redundant break statement.
15959
15960 2001-03-14  Juergen Vigna  <jug@sad.it>
15961
15962         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15963
15964 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15965
15966         * buffer.C: add hack to fix compability reading of minipages.
15967
15968 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15969
15970         * buffer.C (getLists): Cleanup.
15971
15972 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * lyxfont.C (update): don't honor toggleall on font size.
15975
15976 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15977
15978         * bmtable.c:
15979         * bmtable.h:
15980         * Makefile.am: moved to frontends/xforms/
15981
15982         * lyx_gui_misc.C:
15983         * lyxfunc.C:
15984         * BufferView_pimpl.C: changes for moved mathpanel
15985
15986 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15987
15988         * gettext.h: fix gettext_init() in --disable-nls
15989
15990 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15991
15992         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15993
15994 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15995
15996         * lyx.C:
15997         * lyx.h: strip external form
15998
15999 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16000
16001         * BufferView_pimpl.C: add comment, destroySplash()
16002
16003 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16004
16005         * BufferView_pimpl.C:
16006         * LyXAction.C:
16007         * buffer.C:
16008         * commandtags.h:
16009         * lyxfunc.C: use re-worked insetinclude
16010
16011 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16012
16013         * buffer.C: add using std::stringstream.
16014
16015         * lyx_cb.C: readd using std::ios.
16016
16017         * buffer.C: add using std::map.
16018
16019         * BufferView_pimpl.C: add using std::vector.
16020
16021         * ShareContainer.h: add std:: to swap.
16022
16023         * buffer.h: add some typedefs
16024         * buffer.C (getLists): use them
16025         (getLists): renamed from getTocList.
16026         add a counter for the different float types and use it in the
16027         generated string.
16028         (getLists): use the same counter for the NEW_INSETS and the "non"
16029         NEW_INSETS
16030
16031         * lyx_cb.h: remove unused items, includes, using etc.
16032
16033         * ShareContainer.h: remove some commented code, add more comments
16034         and "documentation".
16035
16036 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16037
16038         * buffer.C (getTocList): make the list also when NEW_INSETS is
16039         defined.
16040
16041         * buffer.h: remove TocType
16042
16043         * buffer.C (getTocList): change to return a map<string,
16044         vector<TocItem> >, implement for dynamic number of list.
16045
16046         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16047         * text2.C (PasteSelection): adjust
16048         * CutAndPaste.C (pasteSelection): adjust
16049
16050         * FloatList.C (FloatList): update from the new_insets branch.
16051         * Floating.[Ch]: ditto
16052         * LaTeXFeatures.C: ditto
16053         * buffer.C: ditto
16054         * lyxlex_pimpl.C: ditto
16055
16056         * paragraph.C (Last): remove when NEW_INSETS is defined.
16057
16058         * other file: changes because of the above.
16059
16060 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16061
16062         * lyxparagraph.h: rename next to next_, previous to previous_,
16063         make them private for NEW_INSETS. Rename Next() to next(),
16064         Previous() to previous().
16065
16066         * other files: changes because of the above.
16067
16068 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16069
16070         * BufferView.h:
16071         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16072         problem.
16073
16074 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16075
16076         * main.C (main): pass lyx_localedir to gettext_init().
16077
16078         * gettext.h: remove locale_init and gettext_init macros
16079
16080         * gettext.C (locale_init): new function
16081         (gettext_init): new function
16082
16083         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16084         setlocale().
16085
16086 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16087
16088         * Moved credits to frontends:
16089         * credits.[Ch]: removed
16090         * credits_form.[Ch]: removed
16091         * lyx_gui_misc.C: remove credits stuff
16092         * Makefile.am:
16093
16094 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16095
16096         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16097
16098         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16099         unneeded destructor.
16100
16101         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16102         a standalone pointer again.
16103
16104         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16105
16106 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16107
16108         * Makefile.am:
16109         * filedlg.h:
16110         * filedlg.C:
16111         * LyXAction.C:
16112         * ToolbarDefaults.C:
16113         * bufferlist.C:
16114         * commandtags.h:
16115         * form1.C:
16116         * form1.h:
16117         * lyx_cb.C:
16118         * lyx_cb.h:
16119         * lyxfunc.h:
16120         * lyxfunc.C:
16121         * BufferView_pimpl.C: use new file dialog in GUII
16122
16123         * lyx_cb.h:
16124         * lyx_cb.C: remove LayoutsCB to Toolbar
16125
16126 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16127
16128         * ShareContainer.h (get): add std:: qualifier
16129
16130 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16131
16132         * ShareContainer.h: define a proper ShareContainer::value_type
16133         type (and use typename to please compaq cxx)
16134
16135 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16136
16137         * lyxparagraph.h: move serveral local vars to
16138         ParameterStruct/ParagraphParameters., use ShareContainer in
16139         FontTable., make vars in FontTable private and add getter and
16140         setter.
16141
16142         * paragraph.C: changes because of the above.
16143
16144         * lyxfont.h: remove copy constructor and copy assignment. (the
16145         default ones is ok), move number inside FontBits. move inlines to
16146         lyxfont.C
16147
16148         * lyxfont.C: add number to initializaton of statics, move several
16149         inlines here. constify several local vars. some whitespace
16150         cleanup. Dont hide outerscope variables.
16151
16152         * Spacing.h: add two new constructors to match the set methods.
16153
16154         * ShareContainer.h: new file, will perhaps be moved to support
16155
16156         * ParameterStruct.h: new file
16157
16158         * ParagraphParameters.h: new file
16159
16160         * ParagraphParameters.C: new file
16161
16162         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16163         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16164
16165         * BufferView_pimpl.C: ParagraphParameter changes.
16166         * buffer.C: Likewise.
16167         * bufferview_funcs.C: Likewise.
16168         * text.C: Likewise.
16169         * text2.C: Likewise.
16170
16171 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16172
16173         * lyxfind.C (LyXReplace): do not redefine default argument in
16174         implementation.
16175         (IsStringInText): ditto
16176         (SearchForward): ditto
16177         (SearchBackward): ditto
16178
16179 2001-03-06  Juergen Vigna  <jug@sad.it>
16180
16181         * lyxfind.C (IsStringInText): put parentes around expressions.
16182
16183 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16184
16185         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16186
16187 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16188
16189         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16190
16191         * stl_string_fwd.h: add comment
16192
16193         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16194
16195         * tabular.h:
16196         * tabular.C: remove unused DocBook methods
16197
16198         * intl.C:
16199         * language.C:
16200         * paragraph.C:
16201         * buffer.C:
16202         killed DO_USE_DEFAULT_LANGUAGE
16203
16204 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * lyx_gui.C: do not include language.h.
16207
16208         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16209         arguments in function implementation.
16210
16211 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16212
16213         * BufferView_pimpl.C: add <ctime>
16214
16215 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16216
16217         * BufferView_pimpl.C: add using std::find_if
16218
16219 2001-02-27  José Matos  <jamatos@fep.up.pt>
16220
16221         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16222         by OnlyPath.
16223
16224 2001-02-11  José Matos  <jamatos@fep.up.pt>
16225
16226         * buffer.C (makeDocBookFile): command styles now have a parameter as
16227         "title" by default.
16228
16229 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16230
16231         * layout_forms.[Ch]: removed
16232         * lyx_cb.[Ch]: out character
16233         * lyx_gui.C: out character
16234         * lyx_gui_misc.C: out character
16235         * bufferview_funcs.C: : out character,
16236         added toggleall as parameter in ToggleAndShow
16237
16238 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16239
16240         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16241
16242         * text2.C (SetCurrentFont): Disable number property at boundary.
16243
16244 2001-02-26  Juergen Vigna  <jug@sad.it>
16245
16246         * lyxfunc.C (getStatus): added a string argument override function so
16247         that this is correctly called from LyXFunc::Dispatch if it contains a
16248         do_not_use_argument which is used!
16249         (Dispatch): added check for "custom" export and call appropriate func.
16250
16251 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16252
16253         * lyxrc.C: Add language_command_local, language_use_babel and
16254         language_global_options.
16255
16256         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16257
16258         * buffer.C (makeLaTeXFile): Use language_use_babel and
16259         language_global_options.
16260
16261 2001-02-23  Juergen Vigna  <jug@sad.it>
16262
16263         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16264         which works with LyXText and putted it inside BufferView. Here now we
16265         only call for that part the BufferView::Dispatch() function.
16266
16267         * BufferView.C (Dispatch): added.
16268
16269         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16270         functions which needs to use a LyXText over from LyXFunc.
16271         (MenuInsertLyXFile): added
16272         (getInsetByCode): added
16273         (moveCursorUpdate): added
16274         (static TEXT): added
16275
16276 2001-02-22  Juergen Vigna  <jug@sad.it>
16277
16278         * BufferView_pimpl.C (update): call a status update to see if LyXText
16279         needs it.
16280
16281 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16282
16283         * vc-backend.C (revert): implement for CVS
16284         (getLog): implement for CVS
16285
16286 2001-02-20  Juergen Vigna  <jug@sad.it>
16287
16288         * text2.C (ClearSelection): added BufferView param for inset_owner call
16289
16290         * lyxfunc.C (TEXT): added this function and use it instead of
16291         directly owner->view()-text of getLyXText().
16292
16293 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16294
16295         * src/layout_forms.C: out preamble
16296         * src/layout_forms.h: out preamble
16297         * src/lyx_cb.C: out preamble
16298         * src/lyx_cb.h: out preamble
16299         * src/lyx_gui.C: out preamble
16300         * src/lyx_gui_misc.C: out preamble
16301         * src/lyxfunc.C: connect with guii preamble
16302
16303 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16304
16305         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16306
16307 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16308
16309         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16310         whether to run bibtex.
16311
16312 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16313
16314         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16315
16316 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16317
16318         * Makefile.am (lyx_SOURCES): removed bibforms.h
16319
16320         * vspace.h: doxygen
16321
16322         * text.C (GetVisibleRow): make several local vars const
16323
16324         * tabular.C: small cleanup.
16325
16326         * lyxserver.C (callback): use compare instead of strncmp
16327
16328         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16329         inlines to after class or to paragraph.C
16330
16331         * lyxfont.h: remove friend operator!=
16332
16333         * converter.h: move friend bool operator< to non friend and after
16334         class def.
16335
16336         * combox.h: small cleanup
16337
16338         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16339         to inlines after class def.
16340
16341         * buffer.C (pop_tag): use string operations instead of strcmp
16342
16343         * bmtable.c: doxygen, small cleanup
16344
16345         * LaTeX.h: remove friend operator==
16346
16347 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16348
16349         * screen.C:
16350         * lyxrc.[Ch]:
16351         * lyxfunc.C:
16352         * lyxfont.[Ch]:
16353         * lyx_cb.C:
16354         * intl.[Ch]:
16355         * commandtags.h:
16356         * buffer.C:
16357         * WorkArea.[Ch]:
16358         * LyXAction.C:
16359         * BufferView_pimpl.C:
16360         * BufferView.[Ch]: remove cruft
16361
16362 2001-02-14  Juergen Vigna  <jug@sad.it>
16363
16364         * lyxfunc.C: removed #if 0 unused code
16365
16366         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16367
16368         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16369
16370         * text2.C (SetSelection): added a BufferView * parameter
16371
16372 2001-02-13  Juergen Vigna  <jug@sad.it>
16373
16374         * lyxfunc.C (Dispatch): fixed protected blank problem.
16375         * BufferView2.C (protectedBlank): added LyxText * parameter.
16376
16377         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16378         (AppendColumn): same as above for column_info.
16379
16380         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16381         (moveCursorUpdate): use a LyXText param for support of InsetText.
16382
16383         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16384         (tripleClick): ditto
16385
16386         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16387
16388         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16389
16390         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16391
16392         * text2.C (SetSelection): set correct update status if inset_owner
16393         (ToggleFree): ditto
16394
16395 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16396
16397         * tabular.C: remove some commented code.
16398
16399 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16400
16401         * BufferView_pimpl.C: call hideSplash()
16402
16403         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16404
16405         * include_form.h:
16406         * bibforms.h: remove
16407
16408         * lyxfunc.C:
16409         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16410           add LFUN_CHILD_CREATE
16411
16412         * counters.h: fix tiny typo
16413
16414         * lyx_cb.C:
16415         * lyx.h:
16416         * lyx_gui.C:
16417         * lyx.C: move splash to frontends/xforms/
16418
16419         * lyx_gui_misc.C: move Include and Bibform to frontends
16420
16421         * lyxvc.h: clarify comment
16422
16423         * vspace.C: tiny housekeeping
16424
16425 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16426
16427         * text.C (PrepareToPrint): RTL Fix.
16428
16429         * paragraph.C (GetUChar): New method.
16430         (String):  Use GetUChar.
16431
16432         * buffer.C (asciiParagraph): Use GetUChar.
16433
16434 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16435
16436         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16437
16438 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16439
16440         * buffer.h:
16441         * buffer.C: rename to getLogName(), handle
16442           build log / latex log nicely
16443
16444 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16445
16446         * MenuBackend.C:
16447         * MenuBackend.h: remove support for reference menuitem type.
16448
16449 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16450
16451         * BufferView_pimpl.C: housekeeping
16452         * BufferView_pimpl.h:
16453         * LyXView.h:
16454         * Makefile.am:
16455         * Timeout.C:
16456         * Timeout.h:
16457         * minibuffer.h: move Timeout GUI-I
16458
16459 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16460
16461         * lyxrc.C (read): Update converters data-structures.
16462
16463 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16464
16465         * LaTeX.h (operator!=): add operator != for Aux_Info
16466
16467 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16468
16469         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16470
16471         * LaTeXLog.C: deleted, useful code moved to Buffer
16472
16473         * buffer.h:
16474         * buffer.C: new function getLatexLogName()
16475
16476         * lyx_gui_misc.C:
16477         * lyx_gui.C:
16478         * lyxvc.C:
16479         * lyxvc.h:
16480         * lyxfunc.C: use frontends for LaTeX and VC logs
16481
16482 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16483
16484         * LaTeX.h: yet another std:: that Allan forgot.
16485
16486         * Variables.C (set): renamed from isset(), because this clashes
16487         with some HP-UX macros (grr).
16488
16489 2001-02-06  Allan Rae  <rae@lyx.org>
16490
16491         * LaTeX.h: Another bug fix.  Missing std:: this time.
16492
16493 2001-02-04  Allan Rae  <rae@lyx.org>
16494
16495         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16496         floats problem. I've left it commented out because it's not quite
16497         correct.  It should also test that the current object is a table or
16498         figure inset.  But I haven't gotten around to figuring out how to do
16499         that.  I *think* it'll be something like: "table" == inset.type()
16500
16501         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16502         bool.
16503
16504 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16507         all the citation/databases/styles in the auxilary file.
16508         (run): Rerun latex if there was a babel language error.
16509
16510 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16511
16512         * text.C (Backspace): Preserve the font when changing newline char
16513         with a space.
16514         (BreakParagraph): If the cursor is before a space, delete the space.
16515
16516         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16517
16518 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16519
16520         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16521         new argument (code).
16522         (ChangeCitationsIfUnique): New method.
16523
16524         * paragraph.C (GetPositionOfInset): Handle bibkey.
16525
16526 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16527
16528         * BufferView_pimpl.h: change type of Position::par_pos to
16529         LyXParagraph::size_type.
16530
16531 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16532
16533         * BufferView_pimpl.C (savePosition, restorePosition): Write
16534         messages to minibuffer.
16535
16536 2001-01-28  José Matos  <jamatos@fep.up.pt>
16537
16538         * buffer.C (makeDocBookFile): adds support for document language.
16539         A silly restriction on the name of LatexCommand types where removed.
16540         Added support for CDATA sections, allows to chars unescaped, used
16541         among others in code, to avoid escape < and >.
16542
16543 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16544
16545         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16546         saved positions instrad of a stack. Furthermore, a position is
16547         stored using paragraph id/paragraph position.
16548
16549         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16550         Remove LFUN_REF_BACK.
16551
16552 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16553
16554         * converter.C (dvipdfm_options): New method.
16555
16556 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16557
16558         * vspace.C (isValidLength): Fix for empty input string.
16559
16560 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16561
16562         * LyXAction.C (init): change description of LFUN_FIGURE to
16563         "Insert Graphics"
16564
16565 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16566
16567         * LaTeX.C: add using directive
16568
16569 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16570
16571         * MenuBackend.C (expand): Fix the sorting of the formats.
16572
16573 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16574
16575         * lyx_main.C: tiny error message fix
16576
16577 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16578
16579         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16580         calling fl_initialize(). This fixes the problem with ',' as
16581         decimal separator in text files.
16582
16583 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16584
16585         * trans.C (process): Fix the keymap bug.
16586
16587 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16588
16589         * LaTeX.C (scanAuxFiles): New method. Provides support for
16590         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16591         (scanLogFile) Scan for "run BibTeX" messages.
16592
16593         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16594         OT1 font encoding. Also, load the aecompl package if the ae
16595         package is loaded.
16596
16597         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16598
16599 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16600
16601         * texrow.C (increasePos): turn two error messages into debug
16602         messages.
16603
16604 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16605
16606         * LaTeX.C (scanAux): Handle the \@input macro.
16607         (runBibTeX): Use scanAux().
16608
16609         * language.C (latex_options_): New field.
16610
16611         * LaTeXFeatures.C (getMacros): Add language macros.
16612
16613         * buffer.C (makeLaTeXFile): Small fix.
16614
16615 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16616
16617         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16618
16619         * text2.C: add a using directive.
16620
16621 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16622
16623         * BufferView2.C:
16624         * lyx_gui_misc.h:
16625         * lyxfr1.C:
16626         * lyxfunc.C: kill LyXBell.
16627
16628 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16629
16630         * text.C (IsBoundary): Remove the error message
16631
16632         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16633
16634         * lyxrc.C (setDefaults): Correct initialization value for
16635         font_norm_type.
16636
16637 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16638
16639         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16640         gotoError().
16641
16642         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16643         and GotoNextNote().
16644
16645         * src/LyXAction.C: Added reference-next.
16646
16647         * text.C (InsertChar): Use contains instead of strchr.
16648
16649         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16650
16651 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16652
16653         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16654         alignment commands (when needed).
16655
16656         * text.C (InsertChar): Add ':' to number separator chars.